<?xml version="1.0" encoding="ISO-8859-1"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
	<xs:element name="CV" type="CV"/>
	<xs:complexType name="CV">
		<xs:annotation>
			<xs:documentation>Coded Value. This is similar to CS but the applicable code set is not constrained by this standard.</xs:documentation>
		</xs:annotation>
		<xs:sequence/>
		<xs:attribute name="codingScheme" use="optional" type="OID">
			<xs:annotation>
				<xs:documentation>An Object Identifier (OID) according to ISO/IEC 8824-1 that uniquely identifies the coding scheme to which the concept and code value belong.  
Example: "106.75.314.67.89.24," may identify the WHO classification of diseases
</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="codingSchemeName" use="optional" type="xs:string">
			<xs:annotation>
				<xs:documentation>A string containing a name of the coding scheme (e.g. "SNOMED CT").</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="codingSchemeVersion" use="optional" type="xs:string">
			<xs:annotation>
				<xs:documentation>A string giving the version of the coding scheme.</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="codeValue" use="required" type="xs:string">
			<xs:annotation>
				<xs:documentation>String containing the value of the code</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="displayName" use="optional" type="xs:string">
			<xs:annotation>
				<xs:documentation>String containing a short, human-readable description of the concept that may be abbreviated for display purposes.</xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:element name="TEXT" type="TEXT"/>
	<xs:complexType name="TEXT">
		<xs:annotation>
			<xs:documentation>A string of indeterminate length: Plain text expressed in a defined language using a defined character set. </xs:documentation>
		</xs:annotation>
		<xs:simpleContent>
			<xs:extension base="xs:string">
				<xs:attribute name="charset" use="optional" type="xs:string">
					<xs:annotation>
						<xs:documentation>Specifies the character set and character encoding used.

The charset shall be identified by an Internet Assigned Numbers Authority (IANA) Charset Registration [http://www.iana.org/assignments/character-sets] in accordance with RFC 2978 [http://www.ietf.org/rfc/rfc2978.txt]. </xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="language" use="optional" type="xs:string">
					<xs:annotation>
						<xs:documentation>Specifies the language of text data. 
Code set defined by ISO 639:1988 (E/F) "Code for the representation of names of languages". 
</xs:documentation>
					</xs:annotation>
				</xs:attribute>
			</xs:extension>
		</xs:simpleContent>
	</xs:complexType>
	<xs:element name="ED" type="ED"/>
	<xs:complexType name="ED">
		<xs:sequence>
			<xs:element name="charset" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Where applicable, specifies the character set and character encoding used. 

The charset shall be identified by an Internet Assigned Numbers Authority (IANA) Charset Registration [http://www.iana.org/assignments/character-sets] in accordance with RFC 2978 [http://www.ietf.org/rfc/rfc2978.txt]. </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="mediaType" type="xs:string">
				<xs:annotation>
					<xs:documentation>Identifies the type of the encapsulated data and identifies a method to interpret or render the data. 

The IANA defined domain of media types is established by the Internet standard RFC 2045 [http://www.ietf.org/rfc/rfc2045.txt] and 2046 [http://www.ietf.org/rfc/rfc2046.txt]. RFC 2046 defines the media type to consist of two parts: a) top level media type, and b) media subtype. However, this International Standard treats the entire media type as one atomic code symbol in the form defined by IANA, i.e., top level type followed by a slash "/" followed by media subtype. Currently defined media types are registered in a database [http://www.iana.org/assignments/media-types/index.html] maintained by IANA.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="language" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>For character based information the language property specifies the human language of the text using ISO 639:1988 (E/F) "Code for the representation of names of languages". 

</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="size" type="xs:integer" minOccurs="0"/>
			<xs:element name="compression" type="CV" minOccurs="0"/>
			<xs:element name="integrityCheck" type="xs:base64Binary" minOccurs="0"/>
			<xs:element name="integrityCheckAlgorithm" type="CV" minOccurs="0"/>
			<xs:element name="thumbnail" type="ED" minOccurs="0"/>
			<xs:element name="alternateString" type="xs:string" minOccurs="0"/>
			<xs:choice>
				<xs:element name="reference" type="xs:anyURI"/>
				<xs:element name="data" type="xs:base64Binary"/>
			</xs:choice>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="NULL_FLAVOUR" type="NULL_FLAVOUR"/>
	<xs:complexType name="NULL_FLAVOUR">
		<xs:simpleContent>
			<xs:extension base="xs:string">
				<xs:attribute name="type" use="optional" type="xs:string"/>
			</xs:extension>
		</xs:simpleContent>
	</xs:complexType>
	<xs:simpleType name="TS">
		<xs:annotation>
			<xs:documentation>Basic or extended representation of date, time or date-and-time as described in ISO 8601:2004.

[CEN 13606:2006] A complete representation of calendar date and time, conforming to ISO 8601
An instant in the lapse of time regarded as dimensionless. Time-points are determined by specifying their position (i.e. their 'distance' in time from the zero-point) in a time oriented reference system. NOTE 1: This data type is described more fully in ISO 8601:2000: Data elements and interchange formats &#8211; Information interchange &#8211; Representation of dates and times. NOTE 2: TimePoint is a family of data types whose values are points in time to various common resolutions: year, month, day, hour, minute, second, and fractions thereof.

</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string"/>
	</xs:simpleType>
	<xs:element name="URI" type="URI"/>
	<xs:complexType name="URI">
		<xs:simpleContent>
			<xs:extension base="xs:anyURI">
				<xs:attribute name="literal" use="optional" type="xs:string"/>
			</xs:extension>
		</xs:simpleContent>
	</xs:complexType>
	<xs:element name="II" type="II"/>
	<xs:complexType name="II">
		<xs:annotation>
			<xs:documentation>The globally unique identity of some object.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="validTime" type="IVL_TS" minOccurs="0">
				<xs:annotation>
					<xs:documentation>If applicable, specifies during what time the identifier is valid.  By default, the identifier is valid indefinitely.  Any specific interval may be undefined on either side indicating unknown effective or expiry time.  
Note: identifiers for information objects in computer systems should not have restricted valid times, but should be globally unique at all times.  The identifier valid time is provided mainly for real- world identifiers, whose maintenance policy may include expiry (e.g., credit card numbers.)
</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="root" use="required" type="OID">
			<xs:annotation>
				<xs:documentation>A unique identifier that guarantees the global uniqueness of the instance identifier. The root alone may be the entire instance identifier, an extension value is not always required.</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="extension" use="optional" type="xs:string">
			<xs:annotation>
				<xs:documentation>The value of the identifier, unique within its assigning authority&#8217;s namespace.</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="assigningAuthorityName" use="optional" type="xs:string">
			<xs:annotation>
				<xs:documentation>A human readable name or mnemonic for the assigning authority.  This name is provided solely for the convenience of unaided humans interpreting an II value.
Note: no automated processing must depend on the assigning authority name to be present in any form.
</xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:simpleType name="OID">
		<xs:annotation>
			<xs:documentation>A globally unique string identifier consisting of numbers and dots guarantees the global uniqueness of the instance identifier. The root alone may be the entire instance identifier; an extension value is not needed.
</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:pattern value="((IKIR)|0|([1-9][0-9]*))(\.(0|([1-9][0-9]*)))*"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:element name="XML" type="XML"/>
	<xs:complexType name="XML">
		<xs:sequence>
			<xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:simpleType name="CHARACTER">
		<xs:restriction base="xs:string">
			<xs:length value="1"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:element name="PERSON" type="PERSON"/>
	<xs:complexType name="PERSON">
		<xs:complexContent>
			<xs:extension base="INDIVIDUAL">
				<xs:sequence/>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:element name="IVL_TS" type="IVL_TS"/>
	<xs:complexType name="IVL_TS">
		<xs:sequence/>
		<xs:attribute name="low" use="optional" type="TS"/>
		<xs:attribute name="high" use="optional" type="TS"/>
		<xs:attribute name="width" use="optional" type="DURATION"/>
		<xs:attribute name="lowClosed" use="optional" type="xs:boolean"/>
		<xs:attribute name="highClosed" use="optional" type="xs:boolean"/>
		<xs:attribute name="literal" use="optional" type="xs:string"/>
	</xs:complexType>
	<xs:element name="EHR_EXTRACT" type="EHR_EXTRACT"/>
	<xs:complexType name="EHR_EXTRACT">
		<xs:sequence>
			<xs:element name="extract_id" type="II" minOccurs="0"/>
			<xs:element name="subject_of_care" type="II"/>
			<xs:element name="ehr_system" type="II"/>
			<xs:element name="ehr_id" type="II"/>
			<xs:element name="authorising_party" type="II" minOccurs="0"/>
			<xs:element name="criteria" type="SET_EXTRACT_CRITERIA" minOccurs="0"/>
			<xs:element name="demographic_extract" type="SET_IDENTIFIED_ENTITY" minOccurs="0"/>
			<xs:element name="all_compositions" type="SET_COMPOSITION" minOccurs="0"/>
			<xs:element name="folders" type="SET_FOLDER" minOccurs="0"/>
		</xs:sequence>
		<xs:attribute name="rm_id" use="required" type="xs:string"/>
		<xs:attribute name="time_created" use="required" type="TS"/>
	</xs:complexType>
	<xs:element name="EXTRACT_CRITERIA" type="EXTRACT_CRITERIA"/>
	<xs:complexType name="EXTRACT_CRITERIA">
		<xs:sequence>
			<xs:element name="time_period" type="IVL_TS" minOccurs="0"/>
			<xs:element name="max_sensitivity" type="xs:integer" minOccurs="0"/>
			<xs:element name="all_versions" type="xs:boolean" minOccurs="0"/>
			<xs:element name="multimedia_included" type="xs:boolean" minOccurs="0"/>
			<xs:element name="archetype_ids" type="SET_STRING" minOccurs="0"/>
			<xs:element name="other_constraints" type="xs:string" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="COMPOSITION" type="COMPOSITION"/>
	<xs:complexType name="COMPOSITION">
		<xs:complexContent>
			<xs:extension base="RECORD_COMPONENT">
				<xs:sequence>
					<xs:element name="committal" type="AUDIT_INFO"/>
					<xs:element name="composer" type="FUNCTIONAL_ROLE" minOccurs="0"/>
					<xs:element name="session_time" type="IVL_TS" minOccurs="0"/>
					<xs:element name="territory" type="xs:string" minOccurs="0">
						<xs:annotation>
							<xs:documentation>Code for the territory in which this COMPOSITION was created, identified by ISO 3166. This will indicate the country under whose laws this COMPOSITION was created.</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="contribution_id" type="II" minOccurs="0"/>
					<xs:element name="other_participations" type="SET_FUNCTIONAL_ROLE" minOccurs="0"/>
					<xs:element name="attestations" type="SET_ATTESTATION_INFO" minOccurs="0"/>
					<xs:element name="content" type="SET_CONTENT" minOccurs="0"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:element name="FOLDER" type="FOLDER"/>
	<xs:complexType name="FOLDER">
		<xs:complexContent>
			<xs:extension base="RECORD_COMPONENT">
				<xs:sequence>
					<xs:element name="sub-folders" type="SET_FOLDER" minOccurs="0"/>
					<xs:element name="attestations" type="SET_ATTESTATION_INFO" minOccurs="0"/>
					<xs:element name="compositions" type="SET_II" minOccurs="0"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:element name="AUDIT_INFO" type="AUDIT_INFO"/>
	<xs:complexType name="AUDIT_INFO">
		<xs:sequence>
			<xs:element name="ehr_system" type="II"/>
			<xs:element name="time_committed" type="TS"/>
			<xs:element name="committer" type="II"/>
			<xs:element name="version_status" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>The medico-legal status of this version of the RECORD_COMPONENT. The code set for this attribute is defined in CEN/TC251/EN13606-3: VERSION_STATUS</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="reason_for_revision" type="CV" minOccurs="0"/>
			<xs:element name="previous_version" type="II" minOccurs="0"/>
			<xs:element name="version_set_id" type="II" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="ATTESTATION_INFO" type="ATTESTATION_INFO"/>
	<xs:complexType name="ATTESTATION_INFO">
		<xs:sequence>
			<xs:element name="time" type="TS"/>
			<xs:element name="reason_for_attestation" type="CV"/>
			<xs:element name="proof" type="ED" minOccurs="0"/>
			<xs:element name="attested_view" type="ED" minOccurs="0"/>
			<xs:element name="target" type="SET_II"/>
			<xs:element name="attester" type="FUNCTIONAL_ROLE" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="FUNCTIONAL_ROLE" type="FUNCTIONAL_ROLE"/>
	<xs:complexType name="FUNCTIONAL_ROLE">
		<xs:sequence>
			<xs:element name="performer" type="II"/>
			<xs:element name="function" type="CV" minOccurs="0"/>
			<xs:element name="description" type="xs:string" minOccurs="0"/>
			<xs:element name="mode" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>The mechanism by which that participation was made e. The code set for this attribute is defined in CEN/TC251/EN13606-3: FUNCTIONAL_ROLE.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="healthcare_facility" type="II" minOccurs="0"/>
			<xs:element name="service_setting" type="CV" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="RECORD_COMPONENT" type="RECORD_COMPONENT"/>
	<xs:complexType name="RECORD_COMPONENT" abstract="true">
		<xs:sequence>
			<xs:element name="rc_id" type="II"/>
			<xs:element name="meaning" type="CV" minOccurs="0"/>
			<xs:element name="sensitivity" type="xs:integer" minOccurs="0"/>
			<xs:element name="synthesised" type="xs:boolean" minOccurs="0"/>
			<xs:element name="orig_parent_ref" type="II" minOccurs="0"/>
			<xs:element name="policy_ids" type="SET_II" minOccurs="0"/>
			<xs:element name="links" type="SET_LINK" minOccurs="0"/>
			<xs:element name="feeder_audit" type="AUDIT_INFO" minOccurs="0"/>
		</xs:sequence>
		<xs:attribute name="name" use="required" type="xs:string">
			<xs:annotation>
				<xs:documentation>&lt;MSZE22800:2007&gt; CEN 13606:2006-ban Text</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="archetype_id" use="optional" type="xs:string"/>
	</xs:complexType>
	<xs:element name="LINK" type="LINK"/>
	<xs:complexType name="LINK">
		<xs:sequence>
			<xs:element name="role" type="CV" minOccurs="0"/>
			<xs:element name="follow_link" type="xs:boolean" minOccurs="0"/>
			<xs:element name="description" type="TEXT" minOccurs="0"/>
			<xs:element name="target" type="SET_II"/>
		</xs:sequence>
		<xs:attribute name="nature" use="required" type="xs:string">
			<xs:annotation>
				<xs:documentation>The general semantic category of the link that is being declared between two RECORD_COMPONENTS. The code set for this attribute is defined in CEN/TC251/EN13606-3.</xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:element name="SET_STRING" type="SET_STRING"/>
	<xs:complexType name="SET_STRING">
		<xs:sequence>
			<xs:element name="string" type="xs:string" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="SET_CONTENT" type="SET_CONTENT"/>
	<xs:complexType name="SET_CONTENT">
		<xs:sequence>
			<xs:choice maxOccurs="unbounded">
				<xs:element name="entry" type="ENTRY"/>
				<xs:element name="section" type="SECTION"/>
			</xs:choice>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="SET_II" type="SET_II"/>
	<xs:complexType name="SET_II">
		<xs:sequence>
			<xs:element name="ii" type="II" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>
</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="SET_ITEM" type="SET_ITEM"/>
	<xs:complexType name="SET_ITEM">
		<xs:sequence>
			<xs:choice maxOccurs="unbounded">
				<xs:element name="cluster" type="CLUSTER"/>
				<xs:element name="element" type="ELEMENT"/>
			</xs:choice>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="IVL_PQ" type="IVL_PQ"/>
	<xs:complexType name="IVL_PQ">
		<xs:sequence>
			<xs:element name="low" type="PQ" minOccurs="0"/>
			<xs:element name="high" type="PQ" minOccurs="0"/>
			<xs:element name="width" type="PQ" minOccurs="0"/>
		</xs:sequence>
		<xs:attribute name="lowClosed" use="optional" type="xs:boolean"/>
		<xs:attribute name="highClosed" use="optional" type="xs:boolean"/>
		<xs:attribute name="literal" use="optional" type="xs:string"/>
	</xs:complexType>
	<xs:element name="RTO" type="RTO"/>
	<xs:complexType name="RTO">
		<xs:sequence>
			<xs:element name="numerator" type="PQ"/>
			<xs:element name="denominator" type="PQ"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="CODED_TEXT" type="CODED_TEXT"/>
	<xs:complexType name="CODED_TEXT">
		<xs:sequence>
			<xs:element name="codedValue" type="CD"/>
			<xs:element name="text" type="TEXT"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="ORD" type="ORD"/>
	<xs:complexType name="ORD">
		<xs:sequence>
			<xs:element name="symbol" type="CODED_TEXT" minOccurs="0"/>
		</xs:sequence>
		<xs:attribute name="value" use="optional" type="xs:integer"/>
	</xs:complexType>
	<xs:simpleType name="DURATION">
		<xs:restriction base="xs:duration"/>
	</xs:simpleType>
	<xs:element name="EIVL" type="EIVL"/>
	<xs:complexType name="EIVL">
		<xs:sequence>
			<xs:element name="event" type="CD"/>
			<xs:element name="offset" type="DURATION"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="PIVL" type="PIVL"/>
	<xs:complexType name="PIVL">
		<xs:sequence>
			<xs:element name="phase" type="IVL_TS" minOccurs="0"/>
			<xs:element name="period" type="DURATION"/>
			<xs:element name="alignment" type="CD" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="CE" type="CE"/>
	<xs:complexType name="CE">
		<xs:complexContent>
			<xs:extension base="CV">
				<xs:sequence>
					<xs:element name="mappings" type="CE" minOccurs="0" maxOccurs="unbounded"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:element name="CR" type="CR"/>
	<xs:complexType name="CR">
		<xs:sequence>
			<xs:element name="role" type="CV"/>
			<xs:element name="qualCode" type="CV"/>
		</xs:sequence>
		<xs:attribute name="inverted" use="optional" type="xs:boolean"/>
	</xs:complexType>
	<xs:simpleType name="BL">
		<xs:restriction base="xs:boolean"/>
	</xs:simpleType>
	<xs:element name="CONTENT" type="CONTENT"/>
	<xs:complexType name="CONTENT" abstract="true">
		<xs:complexContent>
			<xs:extension base="RECORD_COMPONENT">
				<xs:sequence/>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:element name="SECTION" type="SECTION"/>
	<xs:complexType name="SECTION">
		<xs:complexContent>
			<xs:extension base="CONTENT">
				<xs:sequence>
					<xs:element name="members" type="SET_CONTENT" minOccurs="0"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:element name="ENTRY" type="ENTRY"/>
	<xs:complexType name="ENTRY">
		<xs:complexContent>
			<xs:extension base="CONTENT">
				<xs:sequence>
					<xs:element name="subject_of_information_category" type="xs:string" minOccurs="0">
						<xs:annotation>
							<xs:documentation>The relationship category of person or object about whom the information in this ENTRY relates to the subject of care. The code set for this attribute is defined in CEN/TC251/EN13606-3: SUBJECT_CATEGORY. An ENTRY about more than one information subject must be duplicated per subject within the EHR_EXTRACT.</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="subject_of_information" type="RELATED_PARTY" minOccurs="0"/>
					<xs:element name="uncertainty_expressed" type="xs:boolean" minOccurs="0"/>
					<xs:element name="act_id" type="xs:string" minOccurs="0"/>
					<xs:element name="act_status" type="xs:string" minOccurs="0">
						<xs:annotation>
							<xs:documentation>This attribute represents the action state of the ENTRY if it is an activity being managed by an act management or workflow system. The code set for this attribute is defined in CEN/TC251/EN13606-3: ACT_STATUS.
</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="info_provider" type="FUNCTIONAL_ROLE" minOccurs="0"/>
					<xs:element name="other_participations" type="SET_FUNCTIONAL_ROLE" minOccurs="0"/>
					<xs:element name="items" type="SET_ITEM" minOccurs="0"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:element name="RELATED_PARTY" type="RELATED_PARTY"/>
	<xs:complexType name="RELATED_PARTY">
		<xs:sequence>
			<xs:element name="party" type="II" minOccurs="0"/>
		</xs:sequence>
		<xs:attribute name="relationship" use="required" type="xs:string"/>
	</xs:complexType>
	<xs:element name="ITEM" type="ITEM"/>
	<xs:complexType name="ITEM" abstract="true">
		<xs:complexContent>
			<xs:extension base="RECORD_COMPONENT">
				<xs:sequence>
					<xs:element name="emphasis" type="CV" minOccurs="0"/>
					<xs:element name="item_category" type="xs:string" minOccurs="0">
						<xs:annotation>
							<xs:documentation>This attribute value may be used to classify or logically group sub-components of the ITEM data structure, to distinguish core values from the method of investigation, the patient state etc. The code set for this attribute is defined in CEN/TC251/EN13606-3: ITEM_CATEGORY. </xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="obs_time" type="IVL_TS" minOccurs="0"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:element name="CLUSTER" type="CLUSTER"/>
	<xs:complexType name="CLUSTER">
		<xs:complexContent>
			<xs:extension base="ITEM">
				<xs:sequence>
					<xs:element name="parts" type="SET_ITEM" minOccurs="0"/>
				</xs:sequence>
				<xs:attribute name="structure_type" use="optional" type="xs:string">
					<xs:annotation>
						<xs:documentation>This will indicate the time and/or spatial organisation of the data within this CLUSTER. The code set for this attribute is defiend in CEN/TC251/EN13606-3: STRUCTURE_TYPE

&lt;MSZE 22800:2007&gt; CEN 13606:2006-ban kötelezö.Mivel összesen két lehetséges értéke van (List, Table), és a gyakoribb a List, ezért ha nincs megadva, a default=LIST az értelmezése</xs:documentation>
					</xs:annotation>
				</xs:attribute>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:element name="ELEMENT" type="ELEMENT"/>
	<xs:complexType name="ELEMENT">
		<xs:complexContent>
			<xs:extension base="ITEM">
				<xs:sequence>
					<xs:choice>
						<xs:element name="null_flavour" type="NULL_FLAVOUR">
							<xs:annotation>
								<xs:documentation>If no data value is available, this attribute can carry a code to give a reason for there being no value. [CEN TS 14796-2004]</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="boolean" type="xs:boolean">
							<xs:annotation>
								<xs:documentation>[CEN TS 14796-2004.Primitives]</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="bl" type="xs:boolean">
							<xs:annotation>
								<xs:documentation>[CEN TS 14796-2004.Basic]</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="byte" type="xs:byte">
							<xs:annotation>
								<xs:documentation>[CEN TS 14796-2004.Primitives]</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="character" type="CHARACTER">
							<xs:annotation>
								<xs:documentation>[CEN TS 14796-2004.Primitives]</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="double" type="xs:double">
							<xs:annotation>
								<xs:documentation>[CEN TS 14796-2004.Primitives]</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="integer" type="xs:integer">
							<xs:annotation>
								<xs:documentation>[CEN TS 14796-2004.Primitives]</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="real" type="xs:float">
							<xs:annotation>
								<xs:documentation>[CEN TS 14796-2004.Primitives]</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="string" type="xs:string">
							<xs:annotation>
								<xs:documentation>[CEN TS 14796-2004.Primitives]</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="ed" type="ED">
							<xs:annotation>
								<xs:documentation>[CEN TS 14796-2004.Basic]</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="ii" type="II">
							<xs:annotation>
								<xs:documentation>[CEN TS 14796-2004.Basic]</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="oid" type="OID">
							<xs:annotation>
								<xs:documentation>[CEN TS 14796-2004.Basic]</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="uri" type="URI">
							<xs:annotation>
								<xs:documentation>[CEN TS 14796-2004.Basic]</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="cv" type="CV"/>
						<xs:element name="ts" type="TS"/>
						<xs:element name="ivl_ts" type="IVL_TS"/>
						<xs:element name="text" type="TEXT"/>
						<xs:element name="duration" type="DURATION"/>
						<xs:element name="pq" type="PQ"/>
						<xs:element name="ivl_pq" type="IVL_PQ"/>
						<xs:element name="ord" type="ORD"/>
						<xs:element name="rto" type="RTO"/>
						<xs:element name="eivl" type="EIVL"/>
						<xs:element name="pivl" type="PIVL"/>
						<xs:element name="ce" type="CE"/>
						<xs:element name="cd" type="CD"/>
						<xs:element name="coded_text" type="CODED_TEXT"/>
						<xs:element name="xml" type="XML"/>
						<xs:any namespace="##other" processContents="lax"/>
					</xs:choice>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:element name="EXTRACT" type="EXTRACT"/>
	<xs:complexType name="EXTRACT">
		<xs:sequence>
			<xs:element name="extract_id" type="II" minOccurs="0"/>
			<xs:element name="ehr_system" type="II"/>
			<xs:element name="authorising_party" type="II" minOccurs="0"/>
			<xs:element name="criteria" type="SET_EXTRACT_CRITERIA" minOccurs="0"/>
			<xs:element name="demographic_extract" type="SET_IDENTIFIED_ENTITY" minOccurs="0"/>
			<xs:element name="all_compositions" type="SET_COMPOSITION" minOccurs="0"/>
			<xs:element name="folders" type="SET_FOLDER" minOccurs="0"/>
		</xs:sequence>
		<xs:attribute name="rm_id" use="required" type="xs:string"/>
		<xs:attribute name="time_created" use="required" type="TS"/>
	</xs:complexType>
	<xs:element name="SET_IDENTIFIED_ENTITY" type="SET_IDENTIFIED_ENTITY"/>
	<xs:complexType name="SET_IDENTIFIED_ENTITY">
		<xs:sequence>
			<xs:choice maxOccurs="unbounded">
				<xs:element name="software_or_device" type="SOFTWARE_OR_DEVICE"/>
				<xs:element name="organization" type="ORGANISATION"/>
				<xs:element name="person" type="PERSON"/>
				<xs:element name="subject_of_care_person_identification" type="SUBJECT_OF_CARE_PERSON_IDENTIFICATION"/>
				<xs:element name="identified_healthcare_professional" type="IDENTIFIED_HEALTHCARE_PROFESSIONAL"/>
			</xs:choice>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="PROPERTY" type="PROPERTY"/>
	<xs:complexType name="PROPERTY">
		<xs:sequence>
			<xs:choice>
				<xs:element name="null_flavour" type="NULL_FLAVOUR">
					<xs:annotation>
						<xs:documentation>If no data value is available, this attribute can carry a code to give a reason for there being no value. [CEN TS 14796-2004]</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="boolean" type="xs:boolean">
					<xs:annotation>
						<xs:documentation>[CEN TS 14796-2004.Primitives]</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="bl" type="xs:boolean">
					<xs:annotation>
						<xs:documentation>[CEN TS 14796-2004.Basic]</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="byte" type="xs:byte">
					<xs:annotation>
						<xs:documentation>[CEN TS 14796-2004.Primitives]</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="character" type="CHARACTER">
					<xs:annotation>
						<xs:documentation>[CEN TS 14796-2004.Primitives]</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="double" type="xs:double">
					<xs:annotation>
						<xs:documentation>[CEN TS 14796-2004.Primitives]</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="integer" type="xs:integer">
					<xs:annotation>
						<xs:documentation>[CEN TS 14796-2004.Primitives]</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="real" type="xs:float">
					<xs:annotation>
						<xs:documentation>[CEN TS 14796-2004.Primitives]</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="string" type="xs:string">
					<xs:annotation>
						<xs:documentation>[CEN TS 14796-2004.Primitives]</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="ed" type="ED">
					<xs:annotation>
						<xs:documentation>[CEN TS 14796-2004.Basic]</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="ii" type="II">
					<xs:annotation>
						<xs:documentation>[CEN TS 14796-2004.Basic]</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="oid" type="OID">
					<xs:annotation>
						<xs:documentation>[CEN TS 14796-2004.Basic]</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="uri" type="URI">
					<xs:annotation>
						<xs:documentation>[CEN TS 14796-2004.Basic]</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="cv" type="CV"/>
				<xs:element name="ts" type="TS"/>
				<xs:element name="ivl_ts" type="IVL_TS"/>
				<xs:element name="text" type="TEXT"/>
				<xs:element name="duration" type="DURATION"/>
				<xs:element name="pq" type="PQ"/>
				<xs:element name="ivl_pq" type="IVL_PQ"/>
				<xs:element name="ord" type="ORD"/>
				<xs:element name="rto" type="RTO"/>
				<xs:element name="eivl" type="EIVL"/>
				<xs:element name="pivl" type="PIVL"/>
				<xs:element name="ce" type="CE"/>
				<xs:element name="cd" type="CD"/>
				<xs:element name="coded_text" type="CODED_TEXT"/>
				<xs:element name="xml" type="XML"/>
				<xs:any namespace="##other" processContents="lax"/>
			</xs:choice>
		</xs:sequence>
		<xs:attribute name="key" use="required" type="xs:string"/>
	</xs:complexType>
	<xs:element name="SET_EXTRACT_CRITERIA" type="SET_EXTRACT_CRITERIA"/>
	<xs:complexType name="SET_EXTRACT_CRITERIA">
		<xs:sequence>
			<xs:element name="extract_criteria" type="EXTRACT_CRITERIA" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="SET_COMPOSITION" type="SET_COMPOSITION"/>
	<xs:complexType name="SET_COMPOSITION">
		<xs:sequence>
			<xs:element name="composition" type="COMPOSITION" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="SET_FOLDER" type="SET_FOLDER"/>
	<xs:complexType name="SET_FOLDER">
		<xs:sequence>
			<xs:element name="folder" type="FOLDER" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="SET_ATTESTATION_INFO" type="SET_ATTESTATION_INFO"/>
	<xs:complexType name="SET_ATTESTATION_INFO">
		<xs:sequence>
			<xs:element name="attestation_info" type="ATTESTATION_INFO" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="IDENTIFIED_ENTITY" type="IDENTIFIED_ENTITY"/>
	<xs:complexType name="IDENTIFIED_ENTITY" abstract="true">
		<xs:annotation>
			<xs:documentation>Any Identified Party, which may be an Organisation, Person, or Device or Software </xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="extract_id" type="II">
				<xs:annotation>
					<xs:documentation>The unique identifier used consistently within the Extract Package of this EHR_EXTRACT to represent the IDENTIFIED_ENTITY referred to in this Demographics Package.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="id" type="SET_II" minOccurs="0">
				<xs:annotation>
					<xs:documentation>An optional set of identifiers by which this IDENTIFIED_ENTITy may be referenced within EHR Systems, by health services, professional bodies etc, to support demographic matching of this IDENTIFIED_ENTITY by the EHR Recipient.  </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="telecom" type="TELECOM" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="related_entity" type="RELATED_PARTY" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="property" type="PROPERTY" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="TELECOM" type="TELECOM"/>
	<xs:complexType name="TELECOM">
		<xs:annotation>
			<xs:documentation>(Corresponds to GPIC Common Access Group) Locator for some resource (information or services) mediated by telecommunication equipment The responder of a telecom address may be an automatic service that can respond with information (e.g., FTP or HTTP services). In such case a telecom address is a reference to that information accessible through that address. A given telecom address value may have limited validity through time and may be tagged by a use code to indicate under what circumstances a specific telecommunication address may be preferred among a set of alternatives. The telecommunication address is an extension of the Universal Resource Locator (URL) that specifies as an Internet standard RFC 1738. </xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="validTime" type="IVL_TS" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>One or more time range when this telecommunication type is appropriate (e.g. after 18:00)  </xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="use" use="optional" type="xs:string">
			<xs:annotation>
				<xs:documentation>VALUES: HT = home telephone WT = work telephone AS = answering service EC = emergency contact MC = mobile contact PG = pager FX = fax

[MSZE22800:2007] Single code or comma separated list</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="telecomAddress" use="required" type="xs:anyURI">
			<xs:annotation>
				<xs:documentation>The address is a character string whose format is entirely defined by the URL scheme. </xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:element name="ORGANISATION" type="ORGANISATION"/>
	<xs:complexType name="ORGANISATION">
		<xs:annotation>
			<xs:documentation>Information about an organisation (Corresponds to GPIC 2008)</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="IDENTIFIED_ENTITY">
				<xs:sequence>
					<xs:element name="code" type="CV">
						<xs:annotation>
							<xs:documentation>Nature of business or specialty of the organisation Examples: Nursing home, pathology department  </xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="desc" type="xs:string">
						<xs:annotation>
							<xs:documentation>Free text description of the organisation </xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="addr" type="POSTAL_ADDRESS" minOccurs="0" maxOccurs="unbounded"/>
				</xs:sequence>
				<xs:attribute name="name" use="required" type="xs:string">
					<xs:annotation>
						<xs:documentation>A name that is commonly used as a descriptor or label for the organisation  </xs:documentation>
					</xs:annotation>
				</xs:attribute>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:element name="INDIVIDUAL" type="INDIVIDUAL"/>
	<xs:complexType name="INDIVIDUAL" abstract="true">
		<xs:annotation>
			<xs:documentation>General demographic information about a person. (Corresponds to GPIC 2.006) </xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="IDENTIFIED_ENTITY">
				<xs:sequence>
					<xs:element name="name" type="ENTITY_NAME" minOccurs="0" maxOccurs="unbounded"/>
					<xs:element name="addr" type="POSTAL_ADDRESS" minOccurs="0" maxOccurs="unbounded"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:element name="SOFTWARE_OR_DEVICE" type="SOFTWARE_OR_DEVICE"/>
	<xs:complexType name="SOFTWARE_OR_DEVICE">
		<xs:annotation>
			<xs:documentation>Description of a piece of equipment or device. (Corresponds to GPIC 2.055) </xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="IDENTIFIED_ENTITY">
				<xs:sequence>
					<xs:element name="code" type="CV">
						<xs:annotation>
							<xs:documentation>Code used to describe the type of device/equipment </xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="desc" type="xs:string">
						<xs:annotation>
							<xs:documentation>String used to provide details of the device type or additional information to support the coded device type information </xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="version" type="xs:string" minOccurs="0"/>
					<xs:element name="owningOrganisation" type="II" minOccurs="0"/>
				</xs:sequence>
				<xs:attribute name="manufacturerModelName" use="required" type="xs:string">
					<xs:annotation>
						<xs:documentation>Name of the model and possibly its version as designated by the manufacturer </xs:documentation>
					</xs:annotation>
				</xs:attribute>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:element name="IDENTIFIED_HEALTHCARE_PROFESSIONAL" type="IDENTIFIED_HEALTHCARE_PROFESSIONAL"/>
	<xs:complexType name="IDENTIFIED_HEALTHCARE_PROFESSIONAL">
		<xs:annotation>
			<xs:documentation>Provides a means of referencing an identified healthcare professional. (Based on GPIC 2.034 but with a more detailed role association.) </xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="INDIVIDUAL">
				<xs:sequence>
					<xs:element name="role" type="HEALTHCARE_PROFESSIONAL_ROLE" minOccurs="0" maxOccurs="unbounded"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:element name="SUBJECT_OF_CARE_PERSON_IDENTIFICATION" type="SUBJECT_OF_CARE_PERSON_IDENTIFICATION"/>
	<xs:complexType name="SUBJECT_OF_CARE_PERSON_IDENTIFICATION">
		<xs:annotation>
			<xs:documentation>Information about a person that may be used for identification purposes (Corresponds to GPIC 2.015) </xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="INDIVIDUAL">
				<xs:sequence>
					<xs:element name="administrativeGenderCode" type="xs:string">
						<xs:annotation>
							<xs:documentation>Gender of the patient, for administrative purposes (not necessarily for clinical purposes). VALUES: 0 = male 1 = female 2 = intersex 9 = unknown  </xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="mothersName" type="ENTITY_NAME" minOccurs="0"/>
					<xs:element name="birthTime" type="TS">
						<xs:annotation>
							<xs:documentation>Date and time of birth. Note: The birth time may be expressed as a time, date or just a year.  </xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="deceasedTime" type="TS" minOccurs="0">
						<xs:annotation>
							<xs:documentation>Date and time of death</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="birthOrderNumber" type="xs:integer" minOccurs="0">
						<xs:annotation>
							<xs:documentation>For newborn patients in a multiple birth, the order in which this patient was born.</xs:documentation>
						</xs:annotation>
					</xs:element>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:element name="POSTAL_ADDRESS" type="POSTAL_ADDRESS"/>
	<xs:complexType name="POSTAL_ADDRESS">
		<xs:annotation>
			<xs:documentation>Used to represent the mailing, home or business address (Corresponds to GPIC Common Access Group) </xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="postalCode" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>The postal or zip code </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="validTime" type="IVL_TS" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Interval of time associated with the address. Note: The valid time may provide a: - start date/time or - an end date/time or - both</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="addrPart" type="POSTAL_ADDRESS_PART" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
		<xs:attribute name="addressUse" use="optional" type="xs:string">
			<xs:annotation>
				<xs:documentation>One or more codes advising a system or user which address in a set of like addresses to select for a given purpose VALUES: - BIR (birthplace) - H (home) - HP (primary home) - HV (vacation address) - WP (work place) 

[MSZE22800:2007] single code or comma separated list</xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:element name="ENTITY_NAME" type="ENTITY_NAME"/>
	<xs:complexType name="ENTITY_NAME">
		<xs:annotation>
			<xs:documentation>Specifies a name of a person, organisation, place or thing. Examples: "Leonardo da Vinci", "United Nations Organisation", "Eiffel Tower", etc. An entity name may be as simple as a character string or may consist of several entity name parts. The entity name data type is essentially a sequence of entity name part values. </xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="use" type="CV">
				<xs:annotation>
					<xs:documentation>Code representing the purpose/primary use of the name</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="validTime" type="IVL_TS">
				<xs:annotation>
					<xs:documentation>Interval of time associated with the entity name. Note: The valid time may provide a: - start date/time or - an end date/time or - both  </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="namePart" type="ENTITY_NAME_PART" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="HEALTHCARE_PROFESSIONAL_ROLE" type="HEALTHCARE_PROFESSIONAL_ROLE"/>
	<xs:complexType name="HEALTHCARE_PROFESSIONAL_ROLE">
		<xs:annotation>
			<xs:documentation>Describes the role played by the person as a healthcare professional. (Based on the GPICS class of the same name but with the added association to IdentifiedOrganisation) </xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="specialty" type="CV" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Code representing the specialty within which the healthcare professional is operating Examples: dermatology, general medicine  </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="id" type="SET_II" minOccurs="0">
				<xs:annotation>
					<xs:documentation>One or more identifiers for the person acting in this particular role as a healthcare professional. Note A healthcare professional may be associated with different identifiers when operating in different environments. For example, the identifier for Dr Schmidt may be different when she is in her GP surgery than when she is working in an antenatal clinic.  </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="profession" type="CV" minOccurs="0">
				<xs:annotation>
					<xs:documentation>The position or nature of the job carried out by the healthcare professional. Examples: nurse, surgeon, general practitioner  </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="position_or_grade" type="CV" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Job title for the healthcare professional Examples: chief nurse, junior house officer.  </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="scopingOrganisation" type="II" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="POSTAL_ADDRESS_PART" type="POSTAL_ADDRESS_PART"/>
	<xs:complexType name="POSTAL_ADDRESS_PART" mixed="true">
		<xs:annotation>
			<xs:documentation>An address line (Corresponds to GPIC Common Access Group) </xs:documentation>
		</xs:annotation>
		<xs:simpleContent>
			<xs:extension base="xs:string">
				<xs:attribute name="addressLineType" use="optional" type="xs:string">
					<xs:annotation>
						<xs:documentation>VALUES: BNM = boat name CNT = country CPA = county or parish CTY = city/town FNM = flat number HNR = house number HNM = house name POB = post box SAL = street address line STA = state or province STR = street name  </xs:documentation>
					</xs:annotation>
				</xs:attribute>
			</xs:extension>
		</xs:simpleContent>
	</xs:complexType>
	<xs:element name="ENTITY_NAME_PART" type="ENTITY_NAME_PART"/>
	<xs:complexType name="ENTITY_NAME_PART" mixed="true">
		<xs:annotation>
			<xs:documentation>Specifies a part of the name of a person, organisation, place or thing. </xs:documentation>
		</xs:annotation>
		<xs:simpleContent>
			<xs:extension base="xs:string">
				<xs:attribute name="namePartType" use="optional" type="xs:string">
					<xs:annotation>
						<xs:documentation>VALUES: FAM = family GIV = given PFX = prefix SFX = suffix  </xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="namePartQualifier" use="optional" type="xs:string">
					<xs:annotation>
						<xs:documentation>VALUES: AC = academic NB = nobility PR = professional W = prefix (voorvoegsel) BR = birth CL = preferred name IN = initial  </xs:documentation>
					</xs:annotation>
				</xs:attribute>
			</xs:extension>
		</xs:simpleContent>
	</xs:complexType>
	<xs:element name="SET_LINK" type="SET_LINK"/>
	<xs:complexType name="SET_LINK">
		<xs:sequence>
			<xs:element name="link" type="LINK" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="SET_FUNCTIONAL_ROLE" type="SET_FUNCTIONAL_ROLE"/>
	<xs:complexType name="SET_FUNCTIONAL_ROLE">
		<xs:sequence>
			<xs:element name="functional_role" type="FUNCTIONAL_ROLE" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="PQ" type="PQ"/>
	<xs:complexType name="PQ">
		<xs:sequence>
			<xs:element name="property" type="CD" minOccurs="0"/>
		</xs:sequence>
		<xs:attribute name="value" use="required" type="xs:float"/>
		<xs:attribute name="unit" use="required" type="xs:string"/>
		<xs:attribute name="precision" use="optional" type="xs:integer"/>
	</xs:complexType>
	<xs:element name="CD" type="CD"/>
	<xs:complexType name="CD">
		<xs:complexContent>
			<xs:extension base="CE">
				<xs:sequence>
					<xs:element name="qualifiers" type="CR" minOccurs="0" maxOccurs="unbounded"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
</xs:schema>
