<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2020 rel. 2 (x64) (http://www.altova.com) by  (Region Midtjylland) -->
<xs:schema xmlns:dkcc="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2003/02/13/" xmlns:cpr="http://rep.oio.dk/cpr.dk/xml/schemas/core/2002/06/28/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://rep.oio.dk/sundcom.dk/medcom.dk/xml/schemas/2007/02/01/" targetNamespace="http://rep.oio.dk/sundcom.dk/medcom.dk/xml/schemas/2007/02/01/" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<!-- Envelope -->
	<xs:complexType name="EnvelopeType">
		<xs:annotation>
			<xs:documentation>Gennerel information om forsendelsen</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Sent" type="DateTimeType"/>
			<xs:element name="Identifier" type="String_1_36"/>
			<xs:element name="AcknowledgementCode" type="AcknowledgementCodeType"/>
		</xs:sequence>
	</xs:complexType>
	<!-- EMessage -->
	<xs:element name="Emessage">
		<xs:annotation>
			<xs:documentation>Indpakningen for en forsendelse</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Envelope" type="EnvelopeType">
					<xs:annotation>
						<xs:documentation>Generelle forsendelses oplysninger</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:sequence maxOccurs="unbounded">
					<xs:group ref="Letters"/>
				</xs:sequence>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<!-- Letters -->
	<xs:group name="Letters">
		<xs:choice>
			<xs:element ref="NegativeReceipt"/>
			<xs:element ref="PositiveReceipt"/>
			<xs:element ref="CardiacArrestPPJReport">
				<xs:annotation>
					<xs:documentation>V2.0.1</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:choice>
	</xs:group>
	<!-- Letter -->
	<xs:complexType name="LetterType">
		<xs:sequence>
			<xs:element name="Identifier" type="String_1_36"/>
			<xs:element name="VersionCode" type="VersionCodeType"/>
			<xs:element name="StatisticalCode" type="String_1_8"/>
			<xs:element name="Authorisation" type="DateTimeType"/>
			<xs:element name="TypeCode" type="TypeCodeType"/>
			<xs:element name="StatusCode" type="StatusCodeType"/>
			<xs:element name="EpisodeOfCareIdentifier" type="String_1_35" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<!-- Negative Receipt -->
	<xs:element name="NegativeReceipt" type="NegativeReceiptType">
		<xs:annotation>
			<xs:documentation>Negativ kvittering</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:complexType name="NegativeReceiptType">
		<xs:annotation>
			<xs:documentation>Definition af en negativ kvittering</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Letter" type="NegativeReceiptLetterType">
				<xs:annotation>
					<xs:documentation>Er en speciel lettertype der er en delmaengde af den generelle LetterType, som begraenses til VersionCode=XC0230Q</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Sender" type="CTRLSenderType"/>
			<xs:element name="Receiver" type="CTRLReceiverType"/>
			<xs:element name="OriginalEmessage">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="OriginalEnvelopeIdentifier" type="String_1_36">
							<xs:annotation>
								<xs:documentation>OriginalKuvertNr</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="OriginalSender" type="CTRLSenderType"/>
						<xs:element name="OriginalReceiver" type="CTRLReceiverType"/>
						<xs:element name="RefuseCode" minOccurs="0">
							<xs:annotation>
								<xs:documentation>TEXTNR</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:enumeration value="ikke_specificeret"/>
									<xs:enumeration value="ukendt_lokationsnummer"/>
									<xs:enumeration value="problem_med_modtagerID"/>
									<xs:enumeration value="problem_med_version"/>
									<xs:enumeration value="syntaksfejl"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="RefuseText" type="BreakableText" minOccurs="0">
							<xs:annotation>
								<xs:documentation>AfvisningsAarsag</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="OriginalLetter" minOccurs="0" maxOccurs="99">
							<xs:complexType>
								<xs:sequence>
									<xs:element name="OriginalLetterIdentifier" type="String_1_36">
										<xs:annotation>
											<xs:documentation>OriginalBrevNr</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="OriginalVersionCode" type="OriginalVersionCodeType"/>
									<xs:element name="RefuseCode" minOccurs="0">
										<xs:annotation>
											<xs:documentation>TEXTNR</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:enumeration value="ikke_specificeret"/>
												<xs:enumeration value="ukendt_lokationsnummer"/>
												<xs:enumeration value="problem_med_modtagerID"/>
												<xs:enumeration value="problem_med_version"/>
												<xs:enumeration value="syntaksfejl"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="RefuseText" type="BreakableText" minOccurs="0">
										<xs:annotation>
											<xs:documentation>AfvisningsAarsag</xs:documentation>
										</xs:annotation>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="NegativeReceiptLetterType">
		<xs:annotation>
			<xs:documentation>Er en speciel lettertype der er en delmaengde af den generelle LetterType, som begraenses til VersionCode=XC0230Q</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Identifier" type="String_1_36">
				<xs:annotation>
					<xs:documentation>BrevNr</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="VersionCode">
				<xs:annotation>
					<xs:documentation>VERSION</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="VersionCodeType">
						<xs:pattern value="XC0230Q"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="StatisticalCode" type="String_1_8">
				<xs:annotation>
					<xs:documentation>BrvStat</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- Positive Receipt -->
	<xs:element name="PositiveReceipt" type="PositiveReceiptType">
		<xs:annotation>
			<xs:documentation>Positiv kvittering</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:complexType name="PositiveReceiptType">
		<xs:annotation>
			<xs:documentation>Definition af en positiv kvittering</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Letter" type="PositiveReceiptLetterType">
				<xs:annotation>
					<xs:documentation>Er en speciel lettertype der er en delmaengde af den generelle LetterType, som begraenses til VersionCode=XC0330Q</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Sender" type="CTRLSenderType"/>
			<xs:element name="Receiver" type="CTRLReceiverType"/>
			<xs:element name="OriginalEmessage">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="OriginalEnvelopeIdentifier" type="String_1_36">
							<xs:annotation>
								<xs:documentation>OriginalKuvertNr</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="OriginalSender" type="CTRLSenderType"/>
						<xs:element name="OriginalReceiver" type="CTRLReceiverType"/>
						<xs:element name="OriginalLetter" minOccurs="0" maxOccurs="99">
							<xs:complexType>
								<xs:sequence>
									<xs:element name="OriginalLetterIdentifier" type="String_1_36">
										<xs:annotation>
											<xs:documentation>OriginalBrevNr</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="OriginalVersionCode" type="OriginalVersionCodeType"/>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="PositiveReceiptLetterType">
		<xs:annotation>
			<xs:documentation>Er en speciel lettertype der er en delmaengde af den generelle LetterType, som begraenses til VersionCode=XC0330Q</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Identifier" type="String_1_36">
				<xs:annotation>
					<xs:documentation>BrevNr</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="VersionCode">
				<xs:annotation>
					<xs:documentation>VERSION</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="VersionCodeType">
						<xs:pattern value="XC0330Q"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="StatisticalCode" type="String_1_8">
				<xs:annotation>
					<xs:documentation>BrvStat</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="Contact" type="ContactType"/>
	<xs:complexType name="ContactType">
		<xs:sequence>
			<xs:element ref="Identifier"/>
			<xs:element ref="IdentifierCode"/>
			<xs:element ref="OrganisationName" minOccurs="0"/>
			<xs:element ref="DepartmentName" minOccurs="0"/>
			<xs:element ref="UnitName" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="CivilRegistrationNumber" type="CivilRegistrationNumberType">
		<xs:annotation>
			<xs:documentation>
				CivilRegistrationNumber (PNR)

				Description: Unique identification of a person

				The Civil Registration System contains: - Data on persons, who after 1968 April 2nd Danish registry of citizens. As for Greenland the corresponding date is 1972 may 1st. - Danish citizens living outside Denmark (who must pay duty and ATP) has also been given a civil registration number. - Civil registration numbers are also assigned for other administrative purposes.


				Value space: The civil registration number consists of two parts. The first part is the valid birthday in the form DDMMYY. The following part is a serial number of four digits. The civil registration number may also hold the value 0000000000. This value is used where the civil registration number is required but unknown.

				Lifecycle: The civil registration number is generated and assigned at birth, entry and change of civil registration number of for administrative reasons. The civil registration number may be assigned via
				hospitals.

				The civil registration number is not to be deleted.

				Remarks: 1994 June 11th the civil registration number was changed according to this description.
			</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:simpleType name="CivilRegistrationNumberType">
		<xs:restriction base="xs:string">
			<xs:pattern value="((((0[1-9]|1[0-9]|2[0-9]|3[0-1])(01|03|05|07|08|10|12))|((0[1-9]|1[0-9]|2[0-9]|30)(04|06|09|11))|((0[1-9]|1[0-9]|2[0-9])(02)))[0-9]{6})|0000000000"/>
		</xs:restriction>
	</xs:simpleType>
	<!-- <xs:simpleType name="StatusCodeType"> <xs:annotation> <xs:documentation>Angiver om det er et nyt brev eller en rettelse til et gammelt.</xs:documentation> </xs:annotation> <xs:restriction base="xs:string"> <xs:enumeration value="nytbrev"/> <xs:enumeration value="rettetbrev"/> </xs:restriction> </xs:simpleType> -->
	<xs:simpleType name="StatusCodeType">
		<xs:annotation>
			<xs:documentation>Angiver om det er et nyt brev eller en rettelse til et gammelt, eller en annullering.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="nytbrev"/>
			<xs:enumeration value="rettetbrev"/>
			<xs:enumeration value="annulleretbrev"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="FormattedTextType" mixed="true">
		<xs:choice minOccurs="0" maxOccurs="unbounded">
			<xs:element ref="Space"/>
			<xs:element ref="Break"/>
			<xs:element ref="Right"/>
			<xs:element ref="Center"/>
			<xs:element ref="Bold"/>
			<xs:element ref="Italic"/>
			<xs:element ref="Underline"/>
			<xs:element ref="FixedFont"/>
		</xs:choice>
	</xs:complexType>
	<xs:element name="FixedFont" type="SimpleFormattedText"/>
	<xs:complexType name="SimpleFormattedText" mixed="true">
		<xs:choice minOccurs="0" maxOccurs="unbounded">
			<xs:element ref="Space"/>
			<xs:element ref="Break"/>
			<xs:element ref="Right"/>
			<xs:element ref="Center"/>
			<xs:element ref="Bold"/>
			<xs:element ref="Italic"/>
			<xs:element ref="Underline"/>
		</xs:choice>
	</xs:complexType>
	<xs:element name="Right" type="BreakableText"/>
	<xs:element name="Center" type="BreakableText"/>
	<xs:element name="Bold" type="BreakableText"/>
	<xs:element name="Italic" type="BreakableText"/>
	<xs:element name="Underline" type="BreakableText"/>
	<xs:complexType name="BreakableText" mixed="true">
		<xs:choice minOccurs="0" maxOccurs="unbounded">
			<xs:element ref="Space"/>
			<xs:element ref="Break"/>
		</xs:choice>
	</xs:complexType>
	<xs:element name="Break">
		<xs:complexType/>
	</xs:element>
	<xs:element name="Space">
		<xs:complexType/>
	</xs:element>
	<xs:simpleType name="AcknowledgementCodeType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="minuspositivkvitt"/>
			<xs:enumeration value="pluspositivkvitt"/>
			<!-- <xs:whiteSpace value="collapse"/> -->
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="VersionCodeType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="XD0133L"/>
			<xs:enumeration value="XD0233L"/>
			<xs:enumeration value="XD0333L"/>
			<xs:enumeration value="XD0533L"/>
			<xs:enumeration value="XD1333L"/>
			<xs:enumeration value="XD9133L"/>
			<xs:enumeration value="XD1431C"/>
			<xs:enumeration value="XD1730C"/>
			<xs:enumeration value="XD2030C"/>
			<xs:enumeration value="XD1930C"/>
			<xs:enumeration value="XH0130R"/>
			<xs:enumeration value="XH0230R"/>
			<xs:enumeration value="XR0130K"/>
			<xs:enumeration value="XR0230M"/>
			<xs:enumeration value="XR0330P"/>
			<xs:enumeration value="XR0430P"/>
			<xs:enumeration value="XLMS015"/>
			<xs:enumeration value="XLMS016"/>
			<xs:enumeration value="XR6031W"/>
			<xs:enumeration value="XC0130Q"/>
			<xs:enumeration value="XC0230Q"/>
			<xs:enumeration value="XC0330Q"/>
			<xs:enumeration value="XQ0130K"/>
			<xs:enumeration value="XQ0230M"/>
			<xs:enumeration value="XQ0330P"/>
			<xs:enumeration value="XQ0430M"/>
			<xs:enumeration value="XA0132Z"/>
			<xs:enumeration value="XB0130X"/>
			<xs:enumeration value="XLA1211203A"/>
			<xs:enumeration value="XLA1251001A"/>
			<xs:enumeration value="XLA1411203A"/>
			<xs:enumeration value="XLA1451001A"/>
			<xs:enumeration value="XLA1651001A"/>
			<xs:enumeration value="XLA2011001A"/>
			<xs:enumeration value="XLA2051001A"/>
			<xs:enumeration value="XLA2111001A"/>
			<xs:enumeration value="XLA2151001A"/>
			<xs:enumeration value="XI0002D"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="IdentifierCodeType">
		<xs:annotation>
			<xs:documentation>Kode for aktør</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="sygehusafdelingsnummer"/>
			<xs:enumeration value="ydernummer"/>
			<xs:enumeration value="lokationsnummer"/>
			<xs:enumeration value="kommunenummer"/>
			<xs:enumeration value="regionskode"/>
			<xs:enumeration value="SORkode"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="DiagnoseTypeCodeType">
		<xs:annotation>
			<xs:documentation>Kode for diagnose typen</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="SKSdiagnosekode"/>
			<xs:enumeration value="uspecificeretkode"/>
			<xs:enumeration value="ICPCkode"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="MedicalSpecialityCodeType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="ikkeklassificeret"/>
			<xs:enumeration value="intern_medicin_sygehus"/>
			<xs:enumeration value="geriatri"/>
			<xs:enumeration value="hepatologi"/>
			<xs:enumeration value="haematologi"/>
			<xs:enumeration value="infektionsmedicin"/>
			<xs:enumeration value="kardiologi"/>
			<xs:enumeration value="med_allergologi"/>
			<xs:enumeration value="med_endokrinologi"/>
			<xs:enumeration value="med_gastroenterologi"/>
			<xs:enumeration value="med_lungesygdomme"/>
			<xs:enumeration value="nefrologi"/>
			<xs:enumeration value="reumatologi"/>
			<xs:enumeration value="dermato_venerologi_sygehus"/>
			<xs:enumeration value="neurologi"/>
			<xs:enumeration value="onkologi"/>
			<xs:enumeration value="kirurgi_sygehus"/>
			<xs:enumeration value="karkirurgi"/>
			<xs:enumeration value="kir_gastroenterologi"/>
			<xs:enumeration value="plastikkirurgi"/>
			<xs:enumeration value="thoraxkirurgi"/>
			<xs:enumeration value="urologi"/>
			<xs:enumeration value="gynaekologi_obstetrik_sygehus"/>
			<xs:enumeration value="neurokirurgi"/>
			<xs:enumeration value="ortopaedisk_kirurgi_sygehus"/>
			<xs:enumeration value="oftalmologi"/>
			<xs:enumeration value="oto_rhino_laryngologi"/>
			<xs:enumeration value="hospitalsodontologi"/>
			<xs:enumeration value="psykiatri_sygehus"/>
			<xs:enumeration value="boerne_ungdomspsykiatri"/>
			<xs:enumeration value="klin_biokemi"/>
			<xs:enumeration value="klin_fys_nuklearmedicin"/>
			<xs:enumeration value="klin_immunologi"/>
			<xs:enumeration value="klin_mikrobiologi"/>
			<xs:enumeration value="klin_neurofysiologi"/>
			<xs:enumeration value="patologisk_anatomi"/>
			<xs:enumeration value="diagnostisk_radiologi"/>
			<xs:enumeration value="klin_farmakologi"/>
			<xs:enumeration value="klin_genetik"/>
			<xs:enumeration value="anaestesiologi_sygehus"/>
			<xs:enumeration value="arbejdsmedicin"/>
			<xs:enumeration value="almen_medicin"/>
			<xs:enumeration value="samfundsmedicin"/>
			<xs:enumeration value="almenlaege_laegevagt"/>
			<xs:enumeration value="oejenlaege"/>
			<xs:enumeration value="oere_naese_halslaege"/>
			<xs:enumeration value="anaestesiologi_praksis"/>
			<xs:enumeration value="roentgen_kbh"/>
			<xs:enumeration value="dermato_venerologi_praksis"/>
			<xs:enumeration value="roentgen"/>
			<xs:enumeration value="reumatologi_fysiurgi"/>
			<xs:enumeration value="gynaekologi_obstetrik_praksis"/>
			<xs:enumeration value="intern_medicin_praksis"/>
			<xs:enumeration value="kirurgi_praksis"/>
			<xs:enumeration value="klinisk_kemi"/>
			<xs:enumeration value="neuromedicin"/>
			<xs:enumeration value="ortopaedisk_kirurgi_praksis"/>
			<xs:enumeration value="patologi "/>
			<xs:enumeration value="plastkirurgi"/>
			<xs:enumeration value="psykiatri_praksis"/>
			<xs:enumeration value="paediatri"/>
			<xs:enumeration value="boernepsykiatri"/>
			<xs:enumeration value="tropemedicin"/>
			<xs:enumeration value="tandlaege"/>
			<xs:enumeration value="fysioterapi"/>
			<xs:enumeration value="kiropraktor"/>
			<xs:enumeration value="briller"/>
			<xs:enumeration value="fodterapi"/>
			<xs:enumeration value="fodbehandlking"/>
			<xs:enumeration value="med_laboratorier"/>
			<xs:enumeration value="omegnslaboratorier"/>
			<xs:enumeration value="psykolog"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TypeCodeType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="XDIS01"/>
			<xs:enumeration value="XDIS02"/>
			<xs:enumeration value="XDIS03"/>
			<xs:enumeration value="XDIS05"/>
			<xs:enumeration value="XDIS13"/>
			<xs:enumeration value="XDIS91"/>
			<xs:enumeration value="XDIS14"/>
			<xs:enumeration value="XDIS17"/>
			<xs:enumeration value="XDIS20"/>
			<xs:enumeration value="XDIS19"/>
			<xs:enumeration value="XREF01"/>
			<xs:enumeration value="XREF02"/>
			<xs:enumeration value="XRPT01"/>
			<xs:enumeration value="XRPT02"/>
			<xs:enumeration value="XRPT03"/>
			<xs:enumeration value="XRPT04"/>
			<xs:enumeration value="XPRE01"/>
			<xs:enumeration value="XPRE60"/>
			<xs:enumeration value="XCONTRL"/>
			<xs:enumeration value="XREQ01"/>
			<xs:enumeration value="XREQ02"/>
			<xs:enumeration value="XREQ03"/>
			<xs:enumeration value="XREQ04"/>
			<xs:enumeration value="XDAO01"/>
			<xs:enumeration value="XBIN01"/>
			<xs:enumeration value="XLA121"/>
			<xs:enumeration value="XLA125"/>
			<xs:enumeration value="XLA141"/>
			<xs:enumeration value="XLA145"/>
			<xs:enumeration value="XLA165"/>
			<xs:enumeration value="XLA201"/>
			<xs:enumeration value="XLA205"/>
			<xs:enumeration value="XLA211"/>
			<xs:enumeration value="XLA215"/>
			<xs:enumeration value="XI0001"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="DiagnoseDescriptionCodeType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="uspec_diagnose"/>
			<xs:enumeration value="henv_diagnose"/>
			<xs:enumeration value="bidiagnose"/>
			<xs:enumeration value="tillaegsdiagnose"/>
			<xs:enumeration value="aktionsdiagnose"/>
			<xs:enumeration value="midlertidig_diagnose"/>
			<xs:enumeration value="forloebsdiagnose"/>
			<xs:enumeration value="operation"/>
			<xs:enumeration value="roentgenundersoegelse"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="EpisodeOfCareStatusCodeType">
		<xs:annotation>
			<xs:documentation>Patient status</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="inaktiv"/>
			<xs:enumeration value="indlagt"/>
			<xs:enumeration value="ambulant"/>
			<xs:enumeration value="doed"/>
			<xs:enumeration value="ambulant_roentgen"/>
			<xs:enumeration value="udskrevet_til_hjemmet"/>
			<xs:enumeration value="udskrevet_til_andet"/>
			<xs:enumeration value="flyttet_til_sygehusafd"/>
			<xs:enumeration value="uoplyst"/>
			<xs:enumeration value="flyttet_til_sygehus"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="EpisodeOfCareStatusCode01Type">
		<xs:annotation>
			<xs:documentation>Patient status</xs:documentation>
		</xs:annotation>
		<xs:restriction base="EpisodeOfCareStatusCodeType">
			<xs:enumeration value="inaktiv"/>
			<xs:enumeration value="indlagt"/>
			<xs:enumeration value="ambulant"/>
			<xs:enumeration value="doed"/>
			<xs:enumeration value="ambulant_roentgen"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="EpisodeOfCareStatusCode02Type">
		<xs:annotation>
			<xs:documentation>Patient status 2</xs:documentation>
		</xs:annotation>
		<xs:restriction base="EpisodeOfCareStatusCodeType">
			<xs:enumeration value="indlagt"/>
			<xs:enumeration value="doed"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="EpisodeOfCareStatusCode03Type">
		<xs:restriction base="EpisodeOfCareStatusCodeType">
			<xs:enumeration value="doed"/>
			<xs:enumeration value="udskrevet_til_hjemmet"/>
			<xs:enumeration value="udskrevet_til_andet"/>
			<xs:enumeration value="flyttet_til_sygehusafd"/>
			<xs:enumeration value="uoplyst"/>
			<xs:enumeration value="flyttet_til_sygehus"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="RelationCodeType">
		<xs:annotation>
			<xs:documentation>Pårørendes relation til patienten</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="uspec_paaroerende"/>
			<xs:enumeration value="mor"/>
			<xs:enumeration value="far"/>
			<xs:enumeration value="barn"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TelephoneCodeType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="privat"/>
			<xs:enumeration value="arbejde"/>
			<xs:enumeration value="mobil"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="PriorityCodeType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="elektiv"/>
			<xs:enumeration value="akut"/>
			<xs:enumeration value="saerlige_forhold"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TransportType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="ingen"/>
			<xs:enumeration value="liggende"/>
			<xs:enumeration value="siddende"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="InformationCodeType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="ustruktureret"/>
			<xs:enumeration value="egen_laege"/>
			<xs:enumeration value="henvisning_modtaget"/>
			<xs:enumeration value="visitering"/>
			<xs:enumeration value="indkaldt"/>
			<xs:enumeration value="indlagt_paa"/>
			<xs:enumeration value="udenamts_kaution"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="OriginalVersionCodeType">
		<xs:annotation>
			<xs:documentation>ORGVERSION</xs:documentation>
		</xs:annotation>
		<xs:restriction base="String_1_7"/>
	</xs:simpleType>
	<xs:element name="NegativeVansReceipt" type="NegativeVansReceiptType">
		<xs:annotation>
			<xs:documentation>Negativ Vans kvittering</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:complexType name="NegativeVansReceiptType">
		<xs:annotation>
			<xs:documentation>Definition af en negativ Vans kvittering</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Letter" type="NegativeVansReceiptLetterType">
				<xs:annotation>
					<xs:documentation>Er en speciel lettertype der er en delmængde af den generelle LetterType, som begrænses til VersionCode=XC0130Q</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Sender" type="CTRLSenderType"/>
			<xs:element name="Receiver" type="CTRLReceiverType"/>
			<xs:element name="OriginalEmessage">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="OriginalEnvelopeIdentifier" type="String_1_36">
							<xs:annotation>
								<xs:documentation>OriginalKuvertNr</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="OriginalSender" type="CTRLSenderType"/>
						<xs:element name="OriginalReceiver" type="CTRLReceiverType"/>
						<xs:element name="RefuseCode" minOccurs="0">
							<xs:annotation>
								<xs:documentation>TEXTNR</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:enumeration value="ikke_specificeret"/>
									<xs:enumeration value="ukendt_lokationsnummer"/>
									<xs:enumeration value="problem_med_modtagerID"/>
									<xs:enumeration value="problem_med_version"/>
									<xs:enumeration value="syntaksfejl"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="RefuseText" type="BreakableText" minOccurs="0">
							<xs:annotation>
								<xs:documentation>AfvisningsAarsag</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="OriginalLetter" minOccurs="0" maxOccurs="99">
							<xs:complexType>
								<xs:sequence>
									<xs:element name="OriginalLetterIdentifier" type="String_1_36">
										<xs:annotation>
											<xs:documentation>OriginalBrevNr</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="OriginalVersionCode" type="OriginalVersionCodeType"/>
									<xs:element name="RefuseCode" minOccurs="0">
										<xs:annotation>
											<xs:documentation>TEXTNR</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:enumeration value="ikke_specificeret"/>
												<xs:enumeration value="ukendt_lokationsnummer"/>
												<xs:enumeration value="problem_med_modtagerID"/>
												<xs:enumeration value="problem_med_version"/>
												<xs:enumeration value="syntaksfejl"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="RefuseText" type="BreakableText" minOccurs="0">
										<xs:annotation>
											<xs:documentation>AfvisningsAarsag</xs:documentation>
										</xs:annotation>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="NegativeVansReceiptLetterType">
		<xs:annotation>
			<xs:documentation>Er en speciel lettertype der er en delmængde af den generelle LetterType, som begrænses til VersionCode=XC0130Q</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Identifier" type="String_1_36">
				<xs:annotation>
					<xs:documentation>BrevNr</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="VersionCode">
				<xs:annotation>
					<xs:documentation>VERSION</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="VersionCodeType">
						<xs:pattern value="XC0130Q"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="StatisticalCode" type="String_1_8">
				<xs:annotation>
					<xs:documentation>BrvStat</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="PostCodeIdentifier" type="PostCodeIdentifierType">
		<xs:annotation>
			<xs:documentation>The postal departments nationwide postal code.</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:simpleType name="PostCodeIdentifierType">
		<xs:restriction base="xs:string">
			<xs:pattern value="[0-9]{4}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:element name="CardiacArrestPPJReport" type="CardiacArrestPPJReportType"/>
	<xs:complexType name="CardiacArrestPPJReportType">
		<xs:sequence>
			<xs:element name="Letter" type="CardiacArrestPPJReportLetterType">
				<xs:annotation>
					<xs:documentation>Kan betragtes som et Letter element, som blot begrænses til VersionCode=XI0002D og TypeCode=XI0001</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Sender"/>
			<xs:element ref="Receiver"/>
			<xs:element name="Patient" type="CardiacArrestPPJReportPatientType"/>
			<xs:element name="Report">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="Event" type="EventType"/>
						<xs:element name="PatientContact">
							<xs:complexType>
								<xs:sequence>
									<xs:element ref="AlternativeIdentifier" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Alternativ number to CPR number</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="JournalIdentifier" type="String_1_36" minOccurs="0"/>
									<xs:element name="Hospital" minOccurs="0">
										<xs:complexType>
											<xs:sequence>
												<xs:element name="HospitalSorCode" type="String_1_20" minOccurs="0"/>
												<xs:element name="HospitalTxt" type="String_1_62" minOccurs="0"/>
											</xs:sequence>
										</xs:complexType>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="Observation">
							<xs:complexType>
								<xs:sequence>
									<xs:element name="ROSCyesNo" type="YesNoType"/>
									<xs:element name="ROSCTime" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Time for observation</xs:documentation>
										</xs:annotation>
										<xs:complexType>
											<xs:complexContent>
												<xs:restriction base="DateTimeType">
													<xs:sequence>
														<xs:element name="Date" type="DateType"/>
														<xs:element name="Time" type="Time_hh_mm"/>
													</xs:sequence>
												</xs:restriction>
											</xs:complexContent>
										</xs:complexType>
									</xs:element>
									<xs:element name="FoundDead" type="YesNoType"/>
									<xs:element name="InitialCardiacRhytm" type="InitialCardiacRhytmType" minOccurs="0"/>
									<xs:element name="ConditionArrivalHospital" type="ConditionArrivalHospitalType" minOccurs="0"/>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="Examinination">
							<xs:complexType>
								<xs:sequence>
									<xs:element name="ECGyesNo" type="YesNoType"/>
									<xs:element name="ECGTime" type="DateTimeType" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Time for examination</xs:documentation>
										</xs:annotation>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="Treatment">
							<xs:complexType>
								<xs:sequence>
									<xs:element name="CardiopulmonaryResuscitation">
										<xs:complexType>
											<xs:sequence>
												<xs:element name="CardiopulmonaryResuscitation" type="YesNoType" nillable="true" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Yes/No
V2.0.1: Nillable og ikke obligatorisk</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="CardiopulmonaryResuscitationEMS" type="YesNoType" nillable="true" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Yes/no
V2.0.1: Nillable og ikke obligatorisk</xs:documentation>
													</xs:annotation>
												</xs:element>
											</xs:sequence>
										</xs:complexType>
									</xs:element>
									<xs:element name="Defibrilation">
										<xs:complexType>
											<xs:sequence>
												<xs:element name="DefibrilationYesNo" type="YesNoType"/>
												<xs:element name="DefibrilationTime" type="DateTimeType" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Time for treatment</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="DefibrilationYesNoEMS" type="YesNoType"/>
												<xs:element name="DefibrilationTimeEMS" type="DateTimeType" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Time for treatment</xs:documentation>
													</xs:annotation>
												</xs:element>
											</xs:sequence>
										</xs:complexType>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CardiacArrestPPJReportLetterType">
		<xs:annotation>
			<xs:documentation>Kan betragtes som en LetterType, som blot begrænses til VersionCode=XD0133L og TypeCode=XDIS01</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:restriction base="LetterType">
				<xs:sequence>
					<xs:element name="Identifier" type="String_1_36"/>
					<xs:element name="VersionCode">
						<xs:simpleType>
							<xs:restriction base="VersionCodeType">
								<xs:pattern value="XI0002D"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:element>
					<xs:element name="StatisticalCode" type="String_1_8"/>
					<xs:element name="Authorisation" type="DateTimeType"/>
					<xs:element name="TypeCode">
						<xs:simpleType>
							<xs:restriction base="TypeCodeType">
								<xs:pattern value="XI0001"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:element>
					<xs:element name="StatusCode" type="StatusCodeType"/>
				</xs:sequence>
			</xs:restriction>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="CardiacArrestPPJReportPatientType">
		<xs:sequence>
			<xs:element ref="CivilRegistrationNumber"/>
			<xs:element ref="PersonSurnameName" minOccurs="0"/>
			<xs:element ref="PersonGivenName" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:simpleType name="ReportTypeType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="debut"/>
			<xs:enumeration value="aarsrapport"/>
		</xs:restriction>
	</xs:simpleType>
	<!-- Smoking -->
	<xs:simpleType name="SmokingStatusType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="ryger_dagligt"/>
			<xs:enumeration value="eksryger"/>
			<xs:enumeration value="aldrig_ryger"/>
			<xs:enumeration value="ryger_lejlighedsvist"/>
		</xs:restriction>
	</xs:simpleType>
	<!-- Urged Smoking Cessation -->
	<xs:complexType name="UrgedSmokingCessationType"/>
	<!-- EXAMINATION -->
	<xs:complexType name="BMIInfoType">
		<xs:annotation>
			<xs:documentation>Kan kun være ja hvis både Height og Weight er angivet</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="ExaminationInfoYNIType"/>
		</xs:complexContent>
	</xs:complexType>
	<xs:element name="ExaminationDate" type="DateWithPrecision"/>
	<xs:complexType name="ExaminationInfoYNUIType">
		<xs:choice>
			<xs:element name="Examinated" type="IrrelevantType"/>
			<xs:sequence>
				<xs:element ref="ExaminationDate"/>
				<xs:element name="ExaminationCode" type="String_1_20" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Skal indberettes med værdien NPU19661 eller NPU19680 efter 2013-02-28</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Value" minOccurs="0">
					<xs:complexType>
						<xs:sequence>
							<xs:choice>
								<xs:choice>
									<xs:element name="GramPer24h">
										<xs:annotation>
											<xs:documentation>Skal ikke indberettes for indberetninger med statusdato efter 2013-02-28</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="Float_x_3">
												<xs:minInclusive value="0"/>
												<xs:maxInclusive value="10"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="MilligramPer24h">
										<xs:annotation>
											<xs:documentation>NPU19680</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:int">
												<xs:minInclusive value="0"/>
												<xs:maxInclusive value="10000"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="MicromolPer24h">
										<xs:annotation>
											<xs:documentation>Skal ikke indberettes for indberetninger med statusdato efter 2013-02-28</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="Float_x_2">
												<xs:minInclusive value="0"/>
												<xs:maxInclusive value="160"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="MicrogramPerMin">
										<xs:annotation>
											<xs:documentation>Skal ikke indberettes for indberetninger med statusdato efter 2013-02-28</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:int">
												<xs:minInclusive value="0"/>
												<xs:maxInclusive value="10000"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
								</xs:choice>
								<xs:choice>
									<xs:element name="MilligramPerGram">
										<xs:annotation>
											<xs:documentation>NPU19661</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:int">
												<xs:minInclusive value="0"/>
												<xs:maxInclusive value="10000"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="MilligramPerMillimol">
										<xs:annotation>
											<xs:documentation>Skal ikke indberettes for indberetninger med statusdato efter 2013-02-28</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="Float_x_1">
												<xs:minInclusive value="0"/>
												<xs:maxInclusive value="1000"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="MicromolPerMillimol">
										<xs:annotation>
											<xs:documentation>Skal ikke indberettes for indberetninger med statusdato efter 2013-02-28</xs:documentation>
											<xs:documentation>NPU03918</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="Float_x_3">
												<xs:minInclusive value="0"/>
												<xs:maxInclusive value="10"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
								</xs:choice>
							</xs:choice>
							<xs:element name="Operator" type="ValueOperatorType" minOccurs="0"/>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="Comment" type="String_1_70" minOccurs="0"/>
			</xs:sequence>
		</xs:choice>
	</xs:complexType>
	<xs:complexType name="ExaminationInfoYNUType"/>
	<xs:complexType name="ExaminationInfoYNIType">
		<xs:sequence>
			<xs:element name="Examinated" type="YesNoIrrelevantType"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ExaminationInfoYNType"/>
	<!-- TREATMENT -->
	<!-- GENERALTYPES -->
	<xs:simpleType name="YesNoUnknownIrrelevantType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="ja"/>
			<xs:enumeration value="nej"/>
			<xs:enumeration value="uoplyst"/>
			<xs:enumeration value="ikke_relevant"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="YesNoUnknownType">
		<xs:restriction base="YesNoUnknownIrrelevantType">
			<xs:enumeration value="ja"/>
			<xs:enumeration value="nej"/>
			<xs:enumeration value="uoplyst"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="YesNoIrrelevantType">
		<xs:restriction base="YesNoUnknownIrrelevantType">
			<xs:enumeration value="ja"/>
			<xs:enumeration value="nej"/>
			<xs:enumeration value="ikke_relevant"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="IrrelevantType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="ikke_relevant"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="YesNoType">
		<xs:restriction base="YesNoUnknownIrrelevantType">
			<xs:enumeration value="ja"/>
			<xs:enumeration value="nej"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="YesType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="ja"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="Float_x_3">
		<xs:restriction base="xs:float">
			<xs:pattern value="\d+(\.\d{1,3})?"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="Float_x_2">
		<xs:restriction base="xs:float">
			<xs:pattern value="\d+(\.\d{1,2})?"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="Float_x_1">
		<xs:restriction base="xs:float">
			<xs:pattern value="\d+(\.\d)?"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="Float_2_1">
		<xs:restriction base="xs:float">
			<xs:pattern value="\d{1,2}(\.\d)?"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="DateWithPrecision">
		<xs:sequence>
			<xs:element name="Date" type="DateType"/>
			<xs:element name="Precision" type="DatePrecisionType"/>
		</xs:sequence>
	</xs:complexType>
	<xs:simpleType name="DateType">
		<xs:restriction base="xs:date">
			<xs:pattern value="[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="DatePrecisionType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="aar"/>
			<xs:enumeration value="aar_maaned"/>
			<xs:enumeration value="aar_maaned_dag"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="DatePrecisionMinYMType">
		<xs:restriction base="DatePrecisionType">
			<xs:enumeration value="aar_maaned"/>
			<xs:enumeration value="aar_maaned_dag"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:element name="Receiver" type="ReceiverType"/>
	<xs:complexType name="ReceiverType">
		<xs:sequence>
			<xs:element ref="EANIdentifier"/>
			<xs:element ref="Identifier"/>
			<xs:element ref="IdentifierCode"/>
			<xs:element ref="OrganisationName" minOccurs="0"/>
			<xs:element ref="DepartmentName" minOccurs="0"/>
			<xs:element ref="UnitName" minOccurs="0"/>
			<xs:element ref="StreetName" minOccurs="0"/>
			<xs:element ref="SuburbName" minOccurs="0"/>
			<xs:element ref="DistrictName" minOccurs="0"/>
			<xs:element ref="PostCodeIdentifier" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CTRLReceiverType">
		<xs:sequence>
			<xs:element ref="EANIdentifier"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="DiagnoseType">
		<xs:sequence>
			<xs:element name="ClassificationCode" type="xs:string"/>
			<xs:element name="DiagnoseDate" type="DateType"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="ClinicalInformation" type="ClinicalInformationType"/>
	<xs:complexType name="ClinicalInformationType">
		<xs:sequence>
			<xs:element name="Signed" type="DateTimeType" minOccurs="0"/>
			<xs:element name="Text01" type="FormattedTextType"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="SimpelDiagnoseType"/>
	<xs:complexType name="QualifiedDiagnoseType">
		<xs:sequence>
			<xs:element name="DiagnoseCode" type="String_1_17"/>
			<xs:element name="DiagnoseTypeCode" type="DiagnoseTypeCodeType"/>
			<xs:element name="DiagnoseText" type="String_1_70"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="XQualifiedDiagnoseType">
		<xs:sequence>
			<xs:element name="DiagnoseCode" type="String_1_17" minOccurs="0"/>
			<xs:element name="DiagnoseTypeCode" type="DiagnoseTypeCodeType"/>
			<xs:element name="DiagnoseText" type="String_1_70"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="QualifiedDiagnoseOrTreatmentType">
		<xs:annotation>
			<xs:documentation>kvalificeret diagnose eller behandling</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="DiagnoseDescriptionCode" type="DiagnoseDescriptionCodeType"/>
			<xs:element name="DiagnoseCode" type="String_1_17" minOccurs="0"/>
			<xs:element name="DiagnoseTypeCode" type="DiagnoseTypeCodeType"/>
			<xs:element name="DiagnoseText" type="String_1_70"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="FullQualifiedDiagnoseOrTreatmentType">
		<xs:annotation>
			<xs:documentation>Fuld kvalificeret diagnose</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="DiagnoseDescriptionCode" type="DiagnoseDescriptionCodeType"/>
			<xs:element name="DiagnoseCode" type="String_1_17"/>
			<xs:element name="DiagnoseTypeCode" type="DiagnoseTypeCodeType"/>
			<xs:element name="DiagnoseText" type="String_1_70"/>
			<xs:element name="DiagnoseDateTime" type="DateTimeType" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="AlternativeIdentifier" type="AlternativeCprType"/>
	<xs:element name="RelationCode" type="RelationCodeType"/>
	<xs:element name="PersonIdentifier" type="String_1_10"/>
	<xs:element name="PersonSurnameName" type="String_1_70"/>
	<xs:element name="PersonGivenName" type="String_1_70"/>
	<xs:element name="OccupancyText" type="String_1_35"/>
	<xs:element name="EpisodeOfCareStatusCode" type="EpisodeOfCareStatusCode01Type"/>
	<xs:element name="EANIdentifier" type="EANIdentifierType"/>
	<xs:element name="Identifier" type="String_1_20"/>
	<xs:element name="IdentifierCode" type="IdentifierCodeType"/>
	<xs:element name="OrganisationName" type="String_1_35"/>
	<xs:element name="DepartmentName" type="String_1_35"/>
	<xs:element name="UnitName" type="String_1_35"/>
	<xs:element name="StreetName" type="String_1_35"/>
	<xs:element name="SuburbName" type="String_1_35"/>
	<xs:element name="DistrictName" type="String_1_35"/>
	<xs:element name="TelephoneCode" type="TelephoneCodeType"/>
	<xs:element name="TelephoneSubscriberIdentifier" type="String_1_25"/>
	<xs:element name="TelefaxSubscriberIdentifier" type="String_1_25"/>
	<xs:element name="EmailIdentifier" type="String_1_35"/>
	<xs:element name="MedicalSpecialityCode" type="MedicalSpecialityCodeType"/>
	<xs:element name="ObjectIdentifier" type="String_1_35"/>
	<xs:element name="ObjectCode" type="ObjectCodeType"/>
	<xs:element name="ObjectExtensionCode" type="ObjectExtensionCodeType"/>
	<xs:element name="OriginalObjectSize" type="xs:positiveInteger"/>
	<xs:element name="AnswerTo">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="EANIdentifier"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="AnalysisCodeType" type="AnalysisCodeTypeType"/>
	<xs:element name="AnalysisCode" type="String_1_8"/>
	<xs:element name="AnalysisCodeResponsible" type="String_1_3"/>
	<xs:element name="Analysis" type="AnalysisType"/>
	<xs:complexType name="AnalysisType">
		<xs:sequence>
			<xs:element ref="AnalysisCode"/>
			<xs:element ref="AnalysisCodeType"/>
			<xs:element ref="AnalysisCodeResponsible"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="AnalysisCompleteType">
		<xs:complexContent>
			<xs:extension base="AnalysisType">
				<xs:sequence>
					<xs:element ref="AnalysisShortName" minOccurs="0"/>
					<xs:element ref="AnalysisCompleteName"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="MicrobiologyAnalysisType">
		<xs:sequence>
			<xs:element name="AnalysisCode" type="String_1_17"/>
			<xs:element ref="AnalysisCodeType"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="AnalysisCompleteName" type="BreakableText"/>
	<xs:element name="AnalysisShortName" type="String_1_35"/>
	<xs:element name="SamplingDateTimeType">
		<xs:simpleType>
			<xs:restriction base="xs:string">
				<xs:enumeration value="faktisk"/>
				<xs:enumeration value="oensket"/>
				<xs:enumeration value=""/>
			</xs:restriction>
		</xs:simpleType>
	</xs:element>
	<xs:element name="SamplingDateTime" type="DateTimeType"/>
	<xs:element name="RequisitionDateTime" type="DateTimeType">
		<xs:annotation>
			<xs:documentation>RekvTid</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="SamplingLocationCode">
		<xs:annotation>
			<xs:documentation>PRKODE</xs:documentation>
		</xs:annotation>
		<xs:simpleType>
			<xs:restriction base="xs:string">
				<xs:enumeration value="rekvirenten"/>
				<xs:enumeration value="laboratoriet"/>
				<xs:enumeration value="patienten"/>
			</xs:restriction>
		</xs:simpleType>
	</xs:element>
	<xs:element name="AnalysisMDSName" type="AnalysisMDSNameType">
		<xs:annotation>
			<xs:documentation>Undersoegelsesnavn:Materiale:Lokalisation</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:complexType name="AnalysisMDSNameType">
		<xs:sequence>
			<xs:element name="Examination" type="String_1_70"/>
			<xs:element name="Material" type="String_1_70" minOccurs="0"/>
			<xs:element name="Location" type="String_1_70" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="MICAnalysisCode" type="String_1_17">
		<xs:annotation>
			<xs:documentation>LabKode</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="RequisitionGroup">
		<xs:annotation>
			<xs:documentation>FTX+AGR</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Identifier" type="String_1_8">
					<xs:annotation>
						<xs:documentation>Rekvisitionsgruppe</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="IdentifierResponsible" type="String_1_3">
					<xs:annotation>
						<xs:documentation>LokalLabOrg</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Name" type="String_1_70">
					<xs:annotation>
						<xs:documentation>RekvisitionsgruppeNavn</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="Order">
		<xs:annotation>
			<xs:documentation>Sorteringsorden</xs:documentation>
		</xs:annotation>
		<xs:simpleType>
			<xs:restriction base="xs:int">
				<xs:minInclusive value="1"/>
				<xs:maxInclusive value="999"/>
			</xs:restriction>
		</xs:simpleType>
	</xs:element>
	<xs:group name="AdressGroup">
		<xs:sequence>
			<xs:element ref="StreetName"/>
			<xs:element ref="SuburbName"/>
			<xs:element ref="DistrictName"/>
			<xs:element ref="PostCodeIdentifier"/>
		</xs:sequence>
	</xs:group>
	<xs:element name="Sender" type="SenderType"/>
	<xs:complexType name="SenderType">
		<xs:sequence>
			<xs:element ref="EANIdentifier"/>
			<xs:element ref="Identifier"/>
			<xs:element ref="IdentifierCode">
				<xs:annotation>
					<xs:documentation>Regionskode kan kun  anvendes for PPJ data</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="OrganisationName"/>
			<xs:element ref="DepartmentName" minOccurs="0"/>
			<xs:element ref="UnitName" minOccurs="0"/>
			<xs:element ref="StreetName" minOccurs="0"/>
			<xs:element ref="SuburbName" minOccurs="0"/>
			<xs:element ref="DistrictName" minOccurs="0"/>
			<xs:element ref="PostCodeIdentifier" minOccurs="0"/>
			<xs:element ref="TelephoneSubscriberIdentifier" minOccurs="0"/>
			<xs:element ref="MedicalSpecialityCode" minOccurs="0"/>
			<xs:element ref="Contact" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CTRLSenderType">
		<xs:sequence>
			<xs:element ref="EANIdentifier">
				<xs:annotation>
					<xs:documentation>Er der for nuværende angivet EAN-nr.  bør dette ændres til et sigende navn, evt. med anvisning af specifik server, fx "Systemleverandørnavn Øst". </xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:simpleType name="AlternativeCprType">
		<xs:annotation>
			<xs:documentation>Erstatnings CPR</xs:documentation>
		</xs:annotation>
		<xs:restriction base="String_1_10"/>
	</xs:simpleType>
	<xs:simpleType name="EANIdentifierType">
		<xs:annotation>
			<xs:documentation>Edifact lokationsnr</xs:documentation>
		</xs:annotation>
		<xs:restriction base="String_1_35"/>
	</xs:simpleType>
	<xs:simpleType name="String_1_3">
		<xs:annotation>
			<xs:documentation>Streng der har 1-3 tegn</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="3"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="String_1_7">
		<xs:annotation>
			<xs:documentation>Streng der har 1-7 tegn</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="7"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="String_1_8">
		<xs:annotation>
			<xs:documentation>Streng der har 1-8 tegn</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="8"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="String_1_10">
		<xs:annotation>
			<xs:documentation>Streng der har 1-10 tegn</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="10"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="String_1_12">
		<xs:annotation>
			<xs:documentation>Streng der har 1-12 tegn</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="12"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="String_1_14">
		<xs:annotation>
			<xs:documentation>Streng der har 1-14 tegn</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="14"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="String_1_16">
		<xs:annotation>
			<xs:documentation>Streng der har 1-16 tegn</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="16"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="String_1_17">
		<xs:annotation>
			<xs:documentation>Streng der har 1-17 tegn</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="17"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="String_1_15">
		<xs:annotation>
			<xs:documentation>Streng der har 1-15 tegn</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="15"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="String_1_18">
		<xs:annotation>
			<xs:documentation>Streng der har 1-18 tegn</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="18"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="String_1_20">
		<xs:annotation>
			<xs:documentation>Streng der har 1-20 tegn</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="20"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="String_1_25">
		<xs:annotation>
			<xs:documentation>Streng der har 1-25 tegn</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="25"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="String_1_35">
		<xs:annotation>
			<xs:documentation>Streng der har 1-35 tegn</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="35"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="String_1_62">
		<xs:annotation>
			<xs:documentation>Streng der har 1-62 tegn</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="62"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="String_1_36">
		<xs:annotation>
			<xs:documentation>Streng der har 1-35 tegn</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="36"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="String_1_70">
		<xs:annotation>
			<xs:documentation>Streng der har 1-70 tegn</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="70"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="String_1_210">
		<xs:annotation>
			<xs:documentation>Streng der har 1-210 tegn</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="210"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="String_1_350">
		<xs:annotation>
			<xs:documentation>Streng der har 1-350 tegn</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="350"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="String_1_1050">
		<xs:annotation>
			<xs:documentation>Streng der har 1-1050 tegn</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="1050"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="String_1_Unbounded">
		<xs:annotation>
			<xs:documentation>Streng der har 1-uendeligt tegn</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="BoolAs_01">
		<xs:annotation>
			<xs:documentation>Boolsk værdi, hvor 1=Sandt og 0=Falsk</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:int">
			<xs:minInclusive value="0"/>
			<xs:maxInclusive value="1"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="Time_hh_mm_ss">
		<xs:annotation>
			<xs:documentation>Tider der er på formen hh:mm:ss</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:pattern value="(([0-1][0-9])|(2[0-3])):[0-5][0-9]:[0-5][0-9]"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="Time_hh_mm">
		<xs:annotation>
			<xs:documentation>Tider der er på formen hh:mm</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:pattern value="(([0-1][0-9])|(2[0-3])):[0-5][0-9]"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="DateTimeType">
		<xs:annotation>
			<xs:documentation>Dato tid</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Date" type="DateType"/>
			<xs:element name="Time" type="Time_hh_mm"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="DateTimeIntervalType">
		<xs:sequence>
			<xs:element name="StartDateTime" type="DateTimeType"/>
			<xs:element name="EndDateTime" type="DateTimeType"/>
		</xs:sequence>
	</xs:complexType>
	<xs:simpleType name="ObjectCodeType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="tekstfil"/>
			<xs:enumeration value="billede"/>
			<xs:enumeration value="program"/>
			<xs:enumeration value="vektor_grafik"/>
			<xs:enumeration value="biosignaler"/>
			<xs:enumeration value="multimedie"/>
			<xs:enumeration value="proprietaert_indhold"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ObjectExtensionCodeType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="pcx"/>
			<xs:enumeration value="tiff"/>
			<xs:enumeration value="jpeg"/>
			<xs:enumeration value="gif"/>
			<xs:enumeration value="bmp"/>
			<xs:enumeration value="png"/>
			<xs:enumeration value="mpg"/>
			<xs:enumeration value="dcm"/>
			<xs:enumeration value="scp"/>
			<xs:enumeration value="txt"/>
			<xs:enumeration value="rtf"/>
			<xs:enumeration value="doc"/>
			<xs:enumeration value="xls"/>
			<xs:enumeration value="wpd"/>
			<xs:enumeration value="exe"/>
			<xs:enumeration value="pdf"/>
			<xs:enumeration value="wav"/>
			<xs:enumeration value="avi"/>
			<xs:enumeration value="mid"/>
			<xs:enumeration value="rmi"/>
			<xs:enumeration value="com"/>
			<xs:enumeration value="zip"/>
			<xs:enumeration value="bin"/>
			<xs:enumeration value="inh"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="AnalysisCodeTypeType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="iupac"/>
			<xs:enumeration value="lokal"/>
		</xs:restriction>
	</xs:simpleType>
	<!-- Value Operator -->
	<xs:simpleType name="ValueOperatorType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="mindre_end"/>
			<xs:enumeration value="stoerre_end"/>
			<xs:enumeration value="lig_med"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="StageType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="stadie_A"/>
			<xs:enumeration value="stadie_B"/>
			<xs:enumeration value="stadie_C"/>
			<xs:enumeration value="stadie_D"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="GOLDType">
		<xs:sequence>
			<xs:element name="Stage" type="StageType"/>
			<xs:element name="GOLDDate" type="DateType"/>
		</xs:sequence>
	</xs:complexType>
	<xs:simpleType name="MRCType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="ingen_aandenoed"/>
			<xs:enumeration value="aandenoed_hastvaerk"/>
			<xs:enumeration value="gaar_langsommere"/>
			<xs:enumeration value="stopper_for_luft"/>
			<xs:enumeration value="kan_ikke_forlade_huset"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="InhalationTechniqueType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="Inhalationsteknik_kontrolleret"/>
			<xs:enumeration value="Inhalationsteknik_ikke_kontrolleret "/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ExercabationCountType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="0"/>
			<xs:enumeration value="1"/>
			<xs:enumeration value="≥ 2"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="LungFunctionExaminatedType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="nej"/>
			<xs:enumeration value="ja"/>
			<xs:enumeration value="ikke_relevant"/>
			<xs:enumeration value="ikke_muligt"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:element name="GPVacatingDate" type="DateType"/>
	<xs:element name="GPTreatmentResponsibility" type="YesNoType"/>
	<xs:simpleType name="ExerciseFrequencyType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="ingen_traening"/>
			<xs:enumeration value="dagligt"/>
			<xs:enumeration value="ugentligt"/>
			<xs:enumeration value="maanedligt"/>
			<xs:enumeration value="undgaar_fysisk_anstrengelse"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="RehabilitationOffersType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="ja_tilbud_modtaget"/>
			<xs:enumeration value="nej_patient_ikke_egnet"/>
			<xs:enumeration value="nej_patient_oensker_ikke"/>
			<xs:enumeration value="nej_anden_aarsag"/>
			<xs:enumeration value="ikke_relevant_gennemfoert_indenfor_2aar"/>
			<xs:enumeration value=""/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="EventType">
		<xs:sequence>
			<xs:element name="EventIdentifier" type="String_1_36"/>
			<xs:element name="EMCCReceiveTime" type="DateTimeType"/>
			<xs:element name="Scene" type="SceneType" minOccurs="0"/>
			<xs:element name="SceneArriveTime" type="DateTimeType" minOccurs="0"/>
			<xs:element name="DoctorInvolved" type="DoctorInvolvedType" minOccurs="0"/>
			<xs:element name="Wittnessed" type="YesNoType" nillable="true" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Yes/No - by anyone
V2.0.1: Nillable og ikke obligatorisk</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="WittnessedEMS" type="YesNoType" nillable="true" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Yes/No - by EMS
V2.0.1: Nillable og ikke obligatorisk</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="DispatchDataType">
		<xs:sequence/>
	</xs:complexType>
	<xs:complexType name="TaskType">
		<xs:sequence>
			<xs:element name="TaskIdentifier" type="String_1_36"/>
			<xs:element name="Resource" type="ResourceType"/>
			<xs:element name="DispatchTime" type="DateTimeType" minOccurs="0"/>
			<xs:element name="DepartSceneTime" type="DateTimeType" minOccurs="0"/>
			<xs:element name="ArriveHospitalTime" type="DateTimeType" minOccurs="0"/>
			<xs:element name="ResourceReleaseTime" type="DateTimeType" minOccurs="0"/>
			<xs:element name="UrgencyLevel" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:enumeration value="A"/>
						<xs:enumeration value="B"/>
						<xs:enumeration value="C"/>
						<xs:enumeration value="D"/>
						<xs:enumeration value="E"/>
						<xs:enumeration value="F"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:simpleType name="CompletionTypeType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="annulleret"/>
			<xs:enumeration value="afsluttet_telefonisk"/>
			<xs:enumeration value="afsluttet_skadested"/>
			<xs:enumeration value="afsluttet_hospital"/>
			<xs:enumeration value="ukendt"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ResourceType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="ingen"/>
			<xs:enumeration value="ambulance_akutbil"/>
			<xs:enumeration value="ambulance_paramediciner"/>
			<xs:enumeration value="paramediciner"/>
			<xs:enumeration value="sygeplejerske"/>
			<xs:enumeration value="akutlaegebil"/>
			<xs:enumeration value="laegehelikopter"/>
			<xs:enumeration value="MTE"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TaskIdType">
		<xs:restriction base="xs:integer"/>
	</xs:simpleType>
	<xs:complexType name="PatientDataType">
		<xs:sequence/>
	</xs:complexType>
	<xs:simpleType name="SceneType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="privat_hjem"/>
			<xs:enumeration value="natur_omraade"/>
			<xs:enumeration value="trafikeret_omraade"/>
			<xs:enumeration value="andet"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="DoctorInvolvedType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="akutbil_laege"/>
			<xs:enumeration value="anden_laege"/>
			<xs:enumeration value="nej"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="InitialCardiacRhytmType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="VT_VF"/>
			<xs:enumeration value="anden_rytme"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ConditionArrivalHospitalType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="genoplivning"/>
			<xs:enumeration value="hjertestop"/>
			<xs:enumeration value="puls_livstegn"/>
			<xs:enumeration value="GCS_over_8"/>
		</xs:restriction>
	</xs:simpleType>
</xs:schema>
