<?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 PRPA_MT401003UV01.
* Source information:
*     Rendered by: RoseTree 3.0.19
*     Rendered on: 
* HMD was rendered into XML using software provided to HL7 by Beeler Consulting LLC.
 HMD to MIF Transform: $Id: PRPA_MT401003UV01_EE01.xsd,v 1.1 2007/12/12 10:47:52 MS_T\indrek Exp $
  Base transform: $Id: PRPA_MT401003UV01_EE01.xsd,v 1.1 2007/12/12 10:47:52 MS_T\indrek Exp $
  Package Id Conversion: $Id: PRPA_MT401003UV01_EE01.xsd,v 1.1 2007/12/12 10:47:52 MS_T\indrek Exp $
  HTML To MIF markup: $Id: PRPA_MT401003UV01_EE01.xsd,v 1.1 2007/12/12 10:47:52 MS_T\indrek Exp $
 Flat to Serialization Transform: $Id: PRPA_MT401003UV01_EE01.xsd,v 1.1 2007/12/12 10:47:52 MS_T\indrek Exp $
 Fix Names Transform: $Id: PRPA_MT401003UV01_EE01.xsd,v 1.1 2007/12/12 10:47:52 MS_T\indrek Exp $
  Base transform: $Id: PRPA_MT401003UV01_EE01.xsd,v 1.1 2007/12/12 10:47:52 MS_T\indrek Exp $
  Package Id Conversion: $Id: PRPA_MT401003UV01_EE01.xsd,v 1.1 2007/12/12 10:47:52 MS_T\indrek Exp $
*
* Generated by XMLITS version 2.0
*   MIF to XSD Transform $Id: PRPA_MT401003UV01_EE01.xsd,v 1.1 2007/12/12 10:47:52 MS_T\indrek Exp $
*     Package Id Conversion: $Id: PRPA_MT401003UV01_EE01.xsd,v 1.1 2007/12/12 10:47:52 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: PRPA_MT401003UV01_EE01.xsd,v 1.1 2007/12/12 10:47:52 MS_T\indrek Exp $
  Base transform: $Id: PRPA_MT401003UV01_EE01.xsd,v 1.1 2007/12/12 10:47:52 MS_T\indrek Exp $
  Package Id Conversion: $Id: PRPA_MT401003UV01_EE01.xsd,v 1.1 2007/12/12 10:47:52 MS_T\indrek Exp $
  HTML To MIF markup: $Id: PRPA_MT401003UV01_EE01.xsd,v 1.1 2007/12/12 10:47:52 MS_T\indrek Exp $
 Flat to Serialization Transform: $Id: PRPA_MT401003UV01_EE01.xsd,v 1.1 2007/12/12 10:47:52 MS_T\indrek Exp $
 Fix Names Transform: $Id: PRPA_MT401003UV01_EE01.xsd,v 1.1 2007/12/12 10:47:52 MS_T\indrek Exp $
  Base transform: $Id: PRPA_MT401003UV01_EE01.xsd,v 1.1 2007/12/12 10:47:52 MS_T\indrek Exp $
  Package Id Conversion: $Id: PRPA_MT401003UV01_EE01.xsd,v 1.1 2007/12/12 10:47:52 MS_T\indrek Exp $
StaticMifToXsd.xsl version 2.0</xs:documentation>
	</xs:annotation>
	<!-- muudetud kõikide import lausete kataloogi tee -->
	<xs:include schemaLocation="../../../HL7-ORG-V3-2006-NORMATIVE/processable/coreschemas/infrastructureRoot.xsd"/>
	<xs:include schemaLocation="../../../HL7-ORG-V3-2006-NORMATIVE/processable/coreschemas/NarrativeBlock.xsd"/>
	<xs:include schemaLocation="../../../HL7-ORG-V3-2006-NORMATIVE/processable/multicacheschemas/COCT_MT050002UV04.xsd"/>
	<xs:include schemaLocation="../../../HL7-ORG-V3-2006-NORMATIVE/processable/multicacheschemas/COCT_MT090203UV01.xsd"/>
	<xs:include schemaLocation="../../../HL7-ORG-V3-2006-NORMATIVE/processable/multicacheschemas/COCT_MT090103UV01.xsd"/>
	<xs:include schemaLocation="../../../HL7-ORG-V3-2006-NORMATIVE/processable/multicacheschemas/COCT_MT090003UV01.xsd"/>
	<xs:include schemaLocation="../../../HL7-ORG-V3-2006-NORMATIVE/processable/multicacheschemas/COCT_MT040203UV01.xsd"/>
	<xs:include schemaLocation="../../../HL7-ORG-V3-2006-NORMATIVE/processable/multicacheschemas/COCT_MT710000UV01.xsd"/>
	<xs:include schemaLocation="../../../HL7-ORG-V3-2006-NORMATIVE/processable/multicacheschemas/COCT_MT150001UV01.xsd"/>
	<xs:include schemaLocation="../../../HL7-ORG-V3-2006-NORMATIVE/processable/multicacheschemas/COCT_MT020000UV01.xsd"/>
	<xs:include schemaLocation="../../../HL7-ORG-V3-2006-NORMATIVE/processable/multicacheschemas/COCT_MT120104.xsd"/>
	<xs:include schemaLocation="../../../HL7-ORG-V3-2006-NORMATIVE/processable/multicacheschemas/COCT_MT470000.xsd"/>
	<xs:include schemaLocation="../../../HL7-ORG-V3-2006-NORMATIVE/processable/multicacheschemas/COCT_MT110001UV01.xsd"/>
	<xs:include schemaLocation="../../../HL7-ORG-V3-2006-NORMATIVE/processable/multicacheschemas/COCT_MT070003UV02.xsd"/>
	<xs:include schemaLocation="../../../HL7-ORG-V3-2006-NORMATIVE/processable/multicacheschemas/COCT_MT010000UV01.xsd"/>
	<xs:complexType name="PRPA_MT401003UV01.AccommodationEvent">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="code" type="CD" minOccurs="0"/>
			<xs:element name="effectiveTime" type="SXCM_TS" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="reasonCode" type="CE" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="classCode" type="ActClass" use="optional" fixed="ACCM"/>
		<xs:attribute name="moodCode" type="ActMood" use="optional" fixed="EVN"/>
	</xs:complexType>
	<xs:complexType name="PRPA_MT401003UV01.Admitter">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="time" type="IVL_TS"/>
			<xs:element name="modeCode" type="CE" minOccurs="0"/>
			<xs:element name="assignedPerson" type="COCT_MT090103UV01.AssignedPerson" nillable="true"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="typeCode" type="ParticipationType" use="optional" fixed="ADM"/>
	</xs:complexType>
	<xs:complexType name="PRPA_MT401003UV01.Attender">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="time" type="IVL_TS"/>
			<xs:element name="modeCode" type="CE" minOccurs="0"/>
			<xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="statusCode" type="CS" minOccurs="0"/>
			<xs:element name="assignedPerson" type="COCT_MT090103UV01.AssignedPerson" nillable="true"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="typeCode" type="ParticipationType" use="optional" fixed="ATND"/>
	</xs:complexType>
	<xs:complexType name="PRPA_MT401003UV01.Authorization">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="consent" type="COCT_MT470000.Consent" nillable="true"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="typeCode" type="ActRelationshipType" use="optional" fixed="AUTH"/>
	</xs:complexType>
	<xs:complexType name="PRPA_MT401003UV01.Component">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="encounter" type="COCT_MT010000UV01.Encounter" nillable="true"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="typeCode" type="ActRelationshipHasComponent" use="optional" default="COMP"/>
		<xs:attribute name="contextControlCode" type="ContextControl" use="optional"/>
		<xs:attribute name="contextConductionInd" type="bl" use="optional"/>
	</xs:complexType>
	<xs:complexType name="PRPA_MT401003UV01.Consultant">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="time" type="IVL_TS" minOccurs="0"/>
			<xs:element name="modeCode" type="CE" minOccurs="0"/>
			<xs:element name="assignedPerson" type="COCT_MT090103UV01.AssignedPerson" nillable="true"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="typeCode" type="ParticipationType" use="optional" fixed="CON"/>
	</xs:complexType>
	<xs:complexType name="PRPA_MT401003UV01.DepartedBy">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="patientTransportation" type="PRPA_MT401003UV01.PatientTransportation" nillable="true"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="typeCode" type="ActRelationshipType" use="optional" fixed="DEP"/>
		<xs:attribute name="contextControlCode" type="ContextControl" use="optional" fixed="OP"/>
		<xs:attribute name="contextConductionInd" type="bl" use="optional" default="true"/>
	</xs:complexType>
	<xs:complexType name="PRPA_MT401003UV01.Discharger">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="time" type="IVL_TS"/>
			<xs:element name="modeCode" type="CE" minOccurs="0"/>
			<xs:element name="assignedPerson" type="COCT_MT090103UV01.AssignedPerson" nillable="true"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="typeCode" type="ParticipationType" use="optional" fixed="DIS"/>
	</xs:complexType>
	<xs:complexType name="PRPA_MT401003UV01.EncounterEvent">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="id" type="II" maxOccurs="unbounded"/>
			<xs:element name="code" type="CD"/>
			<xs:element name="statusCode" type="CS"/>
			<xs:element name="effectiveTime" type="IVL_TS" minOccurs="0"/>
			<xs:element name="activityTime" type="IVL_TS" minOccurs="0"/>
			<xs:element name="priorityCode" type="CE" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="confidentialityCode" type="CE" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="reasonCode" type="CE" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="admissionReferralSourceCode" type="CE" minOccurs="0"/>
			<xs:element name="lengthOfStayQuantity" type="PQ" minOccurs="0"/>
			<xs:element name="dischargeDispositionCode" type="CE" minOccurs="0"/>
			<xs:element name="acuityLevelCode" type="CE" minOccurs="0"/>
			<xs:element name="preAdmitTestInd" type="BL" minOccurs="0"/>
			<xs:element name="specialCourtesiesCode" type="CE" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="specialArrangementCode" type="CE" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="subject" type="PRPA_MT401003UV01.Subject"/>
			<xs:element name="responsibleParty" type="PRPA_MT401003UV01.ResponsibleParty" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="admitter" type="PRPA_MT401003UV01.Admitter" nillable="true" minOccurs="0"/>
			<xs:element name="attender" type="PRPA_MT401003UV01.Attender" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="discharger" type="PRPA_MT401003UV01.Discharger" nillable="true" minOccurs="0"/>
			<xs:element name="referrer" type="PRPA_MT401003UV01.Referrer" nillable="true" minOccurs="0"/>
			<xs:element name="consultant" type="PRPA_MT401003UV01.Consultant" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="notificationContact" type="PRPA_MT401003UV01.NotificationContact" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="location" type="PRPA_MT401003UV01.Location1" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="sequelTo" type="PRPA_MT401003UV01.SequelTo2" nillable="true" minOccurs="0"/>
			<xs:element name="inFulfillmentOf" type="PRPA_MT401003UV01.InFulfillmentOf" nillable="true" minOccurs="0"/>
			<xs:element name="reason" type="PRPA_MT401003UV01.Reason" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="pertinentInformation1" type="PRPA_MT401003UV01.PertinentInformation1" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="pertinentInformation2" type="PRPA_MT401003UV01.PertinentInformation2" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="authorization" type="PRPA_MT401003UV01.Authorization" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="reference" type="PRPA_MT401003UV01.Reference" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="departedBy" type="PRPA_MT401003UV01.DepartedBy" nillable="true" minOccurs="0"/>
			<xs:element name="componentOf" type="PRPA_MT401003UV01.Component" nillable="true" minOccurs="0"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="classCode" type="ActClass" use="optional" fixed="ENC"/>
		<xs:attribute name="moodCode" type="ActMood" use="optional" fixed="EVN"/>
	</xs:complexType>
	<xs:complexType name="PRPA_MT401003UV01.Escort">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="time" type="IVL_TS" minOccurs="0"/>
			<xs:element name="assignedPerson" type="COCT_MT090103UV01.AssignedPerson" nillable="true"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="typeCode" type="ParticipationType" use="optional" fixed="ESC"/>
	</xs:complexType>
	<xs:complexType name="PRPA_MT401003UV01.InFulfillmentOf">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="appointment" type="COCT_MT020000UV01.Appointment" nillable="true"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="typeCode" type="ActRelationshipFulfills" use="optional" default="FLFS"/>
		<xs:attribute name="contextControlCode" type="ContextControl" use="optional" fixed="OP"/>
		<xs:attribute name="contextConductionInd" type="bl" use="optional" default="true"/>
	</xs:complexType>
	<xs:complexType name="PRPA_MT401003UV01.Location1">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="time" type="IVL_TS"/>
			<xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="statusCode" type="CS" minOccurs="0"/>
			<xs:element name="serviceDeliveryLocation" type="PRPA_MT401003UV01.ServiceDeliveryLocation" nillable="true"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="typeCode" type="ParticipationTargetLocation" use="optional" default="LOC"/>
	</xs:complexType>
	<xs:complexType name="PRPA_MT401003UV01.Location2">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="locatedEntity" type="COCT_MT070003UV02.LocatedEntity" nillable="true"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="typeCode" type="ParticipationTargetLocation" use="optional" default="LOC"/>
	</xs:complexType>
	<xs:complexType name="PRPA_MT401003UV01.Location3">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="accommodationEvent" type="PRPA_MT401003UV01.AccommodationEvent" nillable="true"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="typeCode" type="ParticipationTargetLocation" use="optional" default="LOC"/>
	</xs:complexType>
	<xs:complexType name="PRPA_MT401003UV01.NotificationContact">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="notificationParty" type="COCT_MT040203UV01.NotificationParty" nillable="true"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="typeCode" type="ParticipationType" use="optional" fixed="NOT"/>
	</xs:complexType>
	<xs:complexType name="PRPA_MT401003UV01.PatientTransportation">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="code" type="CD" minOccurs="0"/>
			<xs:element name="text" type="ED" minOccurs="0"/>
			<xs:element name="statusCode" type="CS" minOccurs="0" maxOccurs="unbounded"/>
			<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="performer" type="PRPA_MT401003UV01.Performer" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="escort" type="PRPA_MT401003UV01.Escort" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="location" type="PRPA_MT401003UV01.Location2" nillable="true" minOccurs="0"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="classCode" type="ActClass" use="optional" fixed="TRNS"/>
		<xs:attribute name="moodCode" type="x_ActMoodIntentEvent" use="required"/>
	</xs:complexType>
	<xs:complexType name="PRPA_MT401003UV01.Performer">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="time" type="IVL_TS" minOccurs="0"/>
			<xs:element name="assignedPerson" type="COCT_MT090103UV01.AssignedPerson" nillable="true"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="typeCode" type="ParticipationPhysicalPerformer" use="optional" default="PRF"/>
	</xs:complexType>
	<xs:complexType name="PRPA_MT401003UV01.PertinentInformation1">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="priorityNumber" type="INT" minOccurs="0"/>
			<xs:element name="observationDx" type="COCT_MT120104.ObservationDx" nillable="true"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="typeCode" type="ActRelationshipPertains" use="optional" default="PERT"/>
	</xs:complexType>
	<xs:complexType name="PRPA_MT401003UV01.PertinentInformation2">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="valuablesLocation" type="PRPA_MT401003UV01.ValuablesLocation" nillable="true"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="typeCode" type="ActRelationshipPertains" use="optional" default="PERT"/>
	</xs:complexType>
	<xs:complexType name="PRPA_MT401003UV01.Reason">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="encounter" type="COCT_MT010000UV01.Encounter" nillable="true"/>
			<!-- LISATUD ALGUS-->
			<!-- HL7 skeema  laiendamine -->
			<!-- Indrek Ulst, 31.10.2007, lisatud element: PatientCareProvisionRequest -->
			<xs:any namespace="urn:hl7-EE-DL-Ext:v1" minOccurs="0"/>
			<!-- LISATUD LÕPP-->
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="typeCode" type="ActRelationshipReason" use="optional" default="RSON"/>
		<xs:attribute name="contextControlCode" type="ContextControl" use="optional" fixed="OP"/>
		<xs:attribute name="contextConductionInd" type="bl" use="optional" default="true"/>
	</xs:complexType>
	<xs:complexType name="PRPA_MT401003UV01.Reference">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="account" type="COCT_MT110001UV01.Account" nillable="true"/>
			<!-- LISATUD ALGUS-->
			<!-- HL7 skeema  laiendamine -->
			<xs:any namespace="urn:hl7-EE-DL-Ext:v1" minOccurs="0"/>
			<!-- LISATUD LÕPP-->
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="typeCode" type="ActRelationshipType" use="optional" fixed="REFR"/>
	</xs:complexType>
	<xs:complexType name="PRPA_MT401003UV01.Referrer">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="time" type="IVL_TS"/>
			<xs:element name="modeCode" type="CE" minOccurs="0"/>
			<xs:element name="assignedEntity" type="COCT_MT090003UV01.AssignedEntity" nillable="true"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="typeCode" type="ParticipationType" use="optional" fixed="REF"/>
	</xs:complexType>
	<xs:complexType name="PRPA_MT401003UV01.ResponsibleParty">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="time" type="IVL_TS"/>
			<xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="statusCode" type="CS" minOccurs="0"/>
			<xs:element name="assignedOrganization" type="COCT_MT090203UV01.AssignedOrganization" nillable="true"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="typeCode" type="ParticipationType" use="optional" fixed="RESP"/>
	</xs:complexType>
	<xs:complexType name="PRPA_MT401003UV01.SequelTo2">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="encounter" type="COCT_MT010000UV01.Encounter" nillable="true"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="typeCode" type="ActRelationshipSequel" use="optional" default="SEQL"/>
		<xs:attribute name="contextControlCode" type="ContextControl" use="optional" fixed="OP"/>
		<xs:attribute name="contextConductionInd" type="bl" use="optional" default="true"/>
	</xs:complexType>
	<xs:complexType name="PRPA_MT401003UV01.ServiceDeliveryLocation">
		<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="addr" type="AD" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="telecom" type="TEL" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="statusCode" type="CS"/>
			<xs:element name="effectiveTime" type="IVL_TS" minOccurs="0"/>
			<xs:element name="location" type="COCT_MT710000UV01.Place"/>
			<xs:element name="serviceProviderOrganization" type="COCT_MT150001UV01.Organization" nillable="true" minOccurs="0"/>
			<xs:element name="locationOf" type="PRPA_MT401003UV01.Location3" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="classCode" type="RoleClassServiceDeliveryLocation" use="optional" default="SDLOC"/>
	</xs:complexType>
	<xs:complexType name="PRPA_MT401003UV01.Subject">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="patient" type="COCT_MT050002UV04.Patient"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="typeCode" type="ParticipationTargetSubject" use="optional" default="SBJ"/>
		<xs:attribute name="contextControlCode" type="ContextControl" use="optional" fixed="OP"/>
	</xs:complexType>
	<xs:complexType name="PRPA_MT401003UV01.ValuablesLocation">
		<xs:sequence>
			<xs:group ref="InfrastructureRootElements"/>
			<xs:element name="text" type="ED" minOccurs="0"/>
			<xs:element name="value" type="ED" minOccurs="0"/>
		</xs:sequence>
		<xs:attributeGroup ref="InfrastructureRootAttributes"/>
		<xs:attribute name="classCode" type="ActClassObservation" use="optional" default="OBS"/>
		<xs:attribute name="moodCode" type="ActMood" use="optional" fixed="EVN"/>
		<xs:attribute name="negationInd" type="bl" use="optional"/>
	</xs:complexType>
</xs:schema>

