<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:hl7-org:v3" xmlns:mif="urn:hl7-org:v3/mif" targetNamespace="urn:hl7-org:v3" elementFormDefault="qualified">
	<!--
*****************************************************************************************************************
* XML schema for message type PRSC_MT050101UV01.
* Source information:
*     Rendered by: RoseTree 4.0.6
*     Rendered on: 
* HMD was rendered into XML using software provided to HL7 by Beeler Consulting LLC.
 HMD to MIF Transform: $Id: PRSC_MT050101UV01_EE01.xsd,v 1.1 2007/12/12 10:47:57 MS_T\indrek Exp $
  Base transform: $Id: PRSC_MT050101UV01_EE01.xsd,v 1.1 2007/12/12 10:47:57 MS_T\indrek Exp $
  Package Id Conversion: $Id: PRSC_MT050101UV01_EE01.xsd,v 1.1 2007/12/12 10:47:57 MS_T\indrek Exp $
  HTML To MIF markup: $Id: PRSC_MT050101UV01_EE01.xsd,v 1.1 2007/12/12 10:47:57 MS_T\indrek Exp $
 Flat to Serialization Transform: $Id: PRSC_MT050101UV01_EE01.xsd,v 1.1 2007/12/12 10:47:57 MS_T\indrek Exp $
 Fix Names Transform: $Id: PRSC_MT050101UV01_EE01.xsd,v 1.1 2007/12/12 10:47:57 MS_T\indrek Exp $
  Base transform: $Id: PRSC_MT050101UV01_EE01.xsd,v 1.1 2007/12/12 10:47:57 MS_T\indrek Exp $
  Package Id Conversion: $Id: PRSC_MT050101UV01_EE01.xsd,v 1.1 2007/12/12 10:47:57 MS_T\indrek Exp $
*
* Generated by XMLITS version 2.0
*   MIF to XSD Transform $Id: PRSC_MT050101UV01_EE01.xsd,v 1.1 2007/12/12 10:47:57 MS_T\indrek Exp $
*     Package Id Conversion: $Id: PRSC_MT050101UV01_EE01.xsd,v 1.1 2007/12/12 10:47:57 MS_T\indrek Exp $
*
* Copyright (c) 2002, 2003, 2004, 2005 Health Level Seven. All rights reserved.
*  Redistribution and use in source and binary forms, with or without
*  modification, are permitted provided that the following conditions
*  are met:
*  1. Redistributions of source code must retain the above copyright
*     notice, this list of conditions and the following disclaimer.
*  2. Redistributions in binary form must reproduce the above copyright
*     notice, this list of conditions and the following disclaimer in the
*     documentation and/or other materials provided with the distribution.
*  3. All advertising materials mentioning features or use of this software
*     must display the following acknowledgement:
*       This product includes software developed by Health Level Seven.
*  THIS SOFTWARE IS PROVIDED BY HEALTH LEVEL SEVEN, INC. AND CONTRIBUTORS "AS IS" AND
*  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
*  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
*  ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
*  FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
*  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
*  OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
*  HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
*  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
*  OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
*  SUCH DAMAGE.
*
********************************************************************************************************************
	  -->
	<xs:annotation>
		<xs:documentation>Generated using schema builder version 2.0. Stylesheets:
HMD was rendered into XML using software provided to HL7 by Beeler Consulting LLC.
 HMD to MIF Transform: $Id: PRSC_MT050101UV01_EE01.xsd,v 1.1 2007/12/12 10:47:57 MS_T\indrek Exp $
  Base transform: $Id: PRSC_MT050101UV01_EE01.xsd,v 1.1 2007/12/12 10:47:57 MS_T\indrek Exp $
  Package Id Conversion: $Id: PRSC_MT050101UV01_EE01.xsd,v 1.1 2007/12/12 10:47:57 MS_T\indrek Exp $
  HTML To MIF markup: $Id: PRSC_MT050101UV01_EE01.xsd,v 1.1 2007/12/12 10:47:57 MS_T\indrek Exp $
 Flat to Serialization Transform: $Id: PRSC_MT050101UV01_EE01.xsd,v 1.1 2007/12/12 10:47:57 MS_T\indrek Exp $
 Fix Names Transform: $Id: PRSC_MT050101UV01_EE01.xsd,v 1.1 2007/12/12 10:47:57 MS_T\indrek Exp $
  Base transform: $Id: PRSC_MT050101UV01_EE01.xsd,v 1.1 2007/12/12 10:47:57 MS_T\indrek Exp $
  Package Id Conversion: $Id: PRSC_MT050101UV01_EE01.xsd,v 1.1 2007/12/12 10:47:57 MS_T\indrek Exp $
StaticMifToXsd.xsl version 2.0</xs:documentation>
	</xs:annotation>
	<xs:include schemaLocation="../../../HL7-ORG-V3-2007-01/processable/coreschemas/infrastructureRoot.xsd"/>
	<xs:include schemaLocation="../../../HL7-ORG-V3-2007-01/processable/coreschemas/NarrativeBlock.xsd"/>
	<xs:include schemaLocation="../../../HL7-ORG-V3-2007-01/processable/multicacheschemas/COCT_MT050002UV04.xsd"/>
	<xs:include schemaLocation="../../../HL7-ORG-V3-2007-01/processable/multicacheschemas/COCT_MT090100UV01.xsd"/>
	<xs:include schemaLocation="../../../HL7-ORG-V3-2007-01/processable/multicacheschemas/COCT_MT150000UV02.xsd"/>
	<xs:complexType name="PRSC_MT050101UV01.ActAppointmentRequest">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="id" type="II"/>
			<xs:element name="code" type="CD" minOccurs="0"/>
			<xs:element name="text" type="ED" minOccurs="0"/>
			<xs:element name="statusCode" type="CS" minOccurs="0"/>
			<xs:element name="effectiveTime" type="SXCM_TS" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="priorityCode" type="CE" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="confidentialityCode" type="CE" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="subject" type="PRSC_MT050101UV01.Subject" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="author" type="PRSC_MT050101UV01.Author" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="referencedOrder" type="PRSC_MT050101UV01.ReferencedOrder" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
			<!-- LISATUD ALGUS-->
			<!-- HL7 skeema  laiendamine -->
			<!-- Indrek Ulst, 19.06.2007, lisatud element: billableClinicalService -->
			<xs:any namespace="urn:hl7-EE-DL-Ext:v1" minOccurs="0" maxOccurs="unbounded"/>
			<!-- LISATUD LÕPP-->
			<xs:element name="trigger" type="PRSC_MT050101UV01.Trigger" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="reference" type="PRSC_MT050101UV01.Reference" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="classCode" type="ActClassRoot" use="optional" default="ACT"/>
		<xs:attribute name="moodCode" type="ActMood" use="optional" fixed="ARQ"/>
	</xs:complexType>
	<xs:complexType name="PRSC_MT050101UV01.ActOrder">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="id" type="II"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="classCode" type="ActClassRoot" use="optional" default="ACT"/>
		<xs:attribute name="moodCode" type="ActMood" use="optional" fixed="RQO"/>
	</xs:complexType>
	<xs:complexType name="PRSC_MT050101UV01.Author">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="assignedPerson" type="COCT_MT090100UV01.AssignedPerson" nillable="true"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="typeCode" type="ParticipationType" use="optional" fixed="AUT"/>
	</xs:complexType>
	<xs:complexType name="PRSC_MT050101UV01.Component2">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="resourceSlot" type="PRSC_MT050101UV01.ResourceSlot" nillable="true"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="typeCode" type="ActRelationshipHasComponent" use="optional" default="COMP"/>
	</xs:complexType>
	<xs:complexType name="PRSC_MT050101UV01.Consumable">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="manufacturedProduct" type="PRSC_MT050101UV01.ManufacturedProduct" nillable="true"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="typeCode" type="ParticipationType" use="optional" fixed="CSM"/>
	</xs:complexType>
	<xs:complexType name="PRSC_MT050101UV01.DirectTarget">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="identifiedEntity" type="PRSC_MT050101UV01.IdentifiedEntity" nillable="true"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="typeCode" type="ParticipationTargetDirect" use="optional" default="DIR"/>
	</xs:complexType>
	<xs:complexType name="PRSC_MT050101UV01.IdentifiedEntity">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="code" type="CE" minOccurs="0"/>
			<xs:choice>
				<xs:element name="identifiedPlace" type="PRSC_MT050101UV01.Place" nillable="true" minOccurs="0"/>
				<xs:element name="identifiedResourceGroup" type="PRSC_MT050101UV01.ResourceGroup" nillable="true" minOccurs="0"/>
				<xs:element name="identifiedPerson" type="PRSC_MT050101UV01.Person" nillable="true" minOccurs="0"/>
				<xs:element name="identifiedManufacturedMaterial" type="PRSC_MT050101UV01.ManufacturedMaterial" nillable="true" minOccurs="0"/>
			</xs:choice>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="classCode" type="RoleClass" use="optional" fixed="IDENT"/>
	</xs:complexType>
	<xs:complexType name="PRSC_MT050101UV01.IndirectTarget">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="identifiedEntity" type="PRSC_MT050101UV01.IdentifiedEntity" nillable="true"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="typeCode" type="ParticipationIndirectTarget" use="optional" default="IND"/>
	</xs:complexType>
	<xs:complexType name="PRSC_MT050101UV01.ManufacturedMaterial">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="code" type="CE" minOccurs="0"/>
			<xs:element name="name" type="EN" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="classCode" type="EntityClassManufacturedMaterial" use="optional" default="MMAT"/>
		<xs:attribute name="determinerCode" type="EntityDeterminer" use="optional" fixed="INSTANCE"/>
	</xs:complexType>
	<xs:complexType name="PRSC_MT050101UV01.ManufacturedMaterialKind">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="code" type="CE" minOccurs="0"/>
			<xs:element name="quantity" type="PQ"/>
			<xs:element name="name" type="EN" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="classCode" type="EntityClassManufacturedMaterial" use="optional" default="MMAT"/>
		<xs:attribute name="determinerCode" type="EntityDeterminerDetermined" use="optional" default="KIND"/>
	</xs:complexType>
	<xs:complexType name="PRSC_MT050101UV01.ManufacturedProduct">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="id" type="II" minOccurs="0"/>
			<xs:element name="code" type="CE" minOccurs="0"/>
			<xs:element name="manufacturedMaterialKind" type="PRSC_MT050101UV01.ManufacturedMaterialKind" nillable="true" minOccurs="0"/>
			<xs:element name="manufacturerOrganization" type="COCT_MT150000UV02.Organization" nillable="true" minOccurs="0"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="classCode" type="RoleClassManufacturedProduct" use="optional" default="MANU"/>
	</xs:complexType>
	<xs:complexType name="PRSC_MT050101UV01.Person">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="name" type="EN" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="classCode" type="EntityClass" use="optional" fixed="PSN"/>
		<xs:attribute name="determinerCode" type="EntityDeterminer" use="optional" fixed="INSTANCE"/>
	</xs:complexType>
	<xs:complexType name="PRSC_MT050101UV01.Place">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="code" type="CE" minOccurs="0"/>
			<xs:element name="name" type="EN" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="classCode" type="EntityClassPlace" use="optional" default="PLC"/>
		<xs:attribute name="determinerCode" type="EntityDeterminer" use="optional" fixed="INSTANCE"/>
	</xs:complexType>
	<xs:complexType name="PRSC_MT050101UV01.Reference">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="schedule" type="PRSC_MT050101UV01.Schedule" nillable="true"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="typeCode" type="ActRelationshipType" use="optional" fixed="REFR"/>
	</xs:complexType>
	<xs:complexType name="PRSC_MT050101UV01.ReferencedOrder">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="actOrder" type="PRSC_MT050101UV01.ActOrder" nillable="true"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="typeCode" type="ActRelationshipType" use="optional" fixed="OREF"/>
	</xs:complexType>
	<xs:complexType name="PRSC_MT050101UV01.ResourceGroup">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="code" type="CE" minOccurs="0"/>
			<xs:element name="name" type="EN" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="classCode" type="EntityClass" use="optional" fixed="RGRP"/>
		<xs:attribute name="determinerCode" type="EntityDeterminer" use="optional" fixed="INSTANCE"/>
	</xs:complexType>
	<xs:complexType name="PRSC_MT050101UV01.ResourceSlot">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="id" type="II" minOccurs="0"/>
			<xs:element name="code" type="CD" minOccurs="0"/>
			<xs:element name="statusCode" type="CS"/>
			<xs:element name="effectiveTime" type="SXCM_TS" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="priorityCode" type="CE" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="repeatNumber" type="IVL_INT" minOccurs="0"/>
			<xs:element name="directTarget" type="PRSC_MT050101UV01.DirectTarget" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="classCode" type="ActClassRoot" use="optional" default="ACT"/>
		<xs:attribute name="moodCode" type="cs" use="required"/>
	</xs:complexType>
	<xs:complexType name="PRSC_MT050101UV01.Schedule">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="id" type="II" minOccurs="0"/>
			<xs:element name="code" type="CD" minOccurs="0"/>
			<xs:element name="effectiveTime" type="SXCM_TS" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="repeatNumber" type="IVL_INT" minOccurs="0"/>
			<xs:element name="indirectTarget" type="PRSC_MT050101UV01.IndirectTarget" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="component" type="PRSC_MT050101UV01.Component2" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="classCode" type="ActClassRoot" use="optional" default="ACT"/>
		<xs:attribute name="moodCode" type="cs" use="required"/>
	</xs:complexType>
	<xs:complexType name="PRSC_MT050101UV01.Subject">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="patient" type="COCT_MT050002UV04.Patient" nillable="true"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="typeCode" type="ParticipationTargetSubject" use="optional" default="SBJ"/>
	</xs:complexType>
	<xs:complexType name="PRSC_MT050101UV01.SupplyOrder">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="consumable" type="PRSC_MT050101UV01.Consumable" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="classCode" type="ActClassSupply" use="optional" default="SPLY"/>
		<xs:attribute name="moodCode" type="ActMood" use="optional" fixed="RQO"/>
	</xs:complexType>
	<xs:complexType name="PRSC_MT050101UV01.Trigger">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="supplyOrder" type="PRSC_MT050101UV01.SupplyOrder" nillable="true"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="typeCode" type="ActRelationshipType" use="optional" fixed="TRIG"/>
	</xs:complexType>
</xs:schema>

