<?xml version="1.0" encoding="UTF-8" ?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:dglws="http://www.medcom.dk/dglws/1.0/xsd" xmlns:medcom="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:medicinecard20120601="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01" xmlns:medicinecard20130601="http://www.dkma.dk/medicinecard/xml.schema/2013/06/01" xmlns:sdsd201206="http://www.sdsd.dk/dgws/2012/06" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01">

    <wsdl:types>
    <xs:schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:def1="http://www.w3.org/2001/XMLSchema" xmlns:ean="http://rep.oio.dk/ean/xml/schemas/2005/01/10/" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://rep.oio.dk/ean/xml/schemas/2005/01/10/">
	<element name="EAN13Identifier" type="ean:EAN13IdentifierType"/>
	<simpleType name="EAN13IdentifierType">
		<restriction base="string">
			<pattern value="\d{13}"/>
		</restriction>
	</simpleType>

	
	<!-- -->
	<element name="EANLocationIdentifier" type="ean:EAN13IdentifierType"/>
</xs:schema>
    <xs:schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:def2="http://www.w3.org/2001/XMLSchema" xmlns:sdsd201008="http://www.sdsd.dk/dgws/2010/08" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.sdsd.dk/dgws/2010/08">
	<element name="NameFormat" type="sdsd201008:NameFormat">
		<annotation>
			<documentation xml:lang="da-DK">Klassifikation af organisations-ider</documentation>
		</annotation>
	</element>
	<simpleType name="NameFormat">
		<restriction base="string">
			<enumeration value="medcom:ynumber"/>
			<enumeration value="medcom:pnumber"/>
			<enumeration value="medcom:skscode"/>
			<enumeration value="medcom:cvrnumber"/>
			<enumeration value="medcom:communalnumber"/>
			<enumeration value="medcom:sor"/>
		</restriction>
	</simpleType>

	<element name="OrgUsingName" type="sdsd201008:OrgUsingName">
		<annotation>
			<documentation xml:lang="da-DK">Det entydige navn på den organisation, hvor brugeren aktuelt befinder sig når webservice kaldet udføres. Navnet på organisationen modsvarer det id der findes i attributten OrgUsingID givet ved klassifikationen angivet i attributten NameFormat i OrgUsingID.</documentation>
		</annotation>
	</element>
	<simpleType name="OrgUsingName">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="200"/>
		</restriction>
	</simpleType>
	
   <element name="OrgResponsibleName" type="sdsd201008:OrgResponsibleName">
		<annotation>
			<documentation xml:lang="da-DK">Det entydige navn på den organisation, der har ansvaret for it-systemet. Det bemærkes, at organisationen meget vel kan være en ikke-sundhedsfaglig organisation der måske endda ikke engang kan identificeres via en klassifikation som CVR som i tilfældet en driftsafdeling i en region. Derfor anvendes der ikke klassifikationer for denne attribut. Udfaldsrummet dikteres alene af leverandøren af afsendersystemet</documentation>
		</annotation>
	</element>
	<simpleType name="OrgResponsibleName">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="200"/>
		</restriction>
	</simpleType>

	<element name="RequestedRole" type="sdsd201008:RequestedRole">
		<annotation>
			<documentation xml:lang="da-DK">Brugerens rolle</documentation>
		</annotation>
	</element>
	<simpleType name="RequestedRole">
		<union memberTypes="sdsd201008:PredefinedRequestedRole sdsd201008:UndefinedRequestedRole"/>
	</simpleType>
	<simpleType name="PredefinedRequestedRole">
		<restriction base="string">
			<enumeration value="Læge"/>
			<enumeration value="Tandlæge"/>
			<enumeration value="Jordemoder"/>
			<enumeration value="Sygeplejerske"/>
			<enumeration value="Social- og sundhedsassistent"/>
			<enumeration value="Social- og sundhedshjælper"/>
			<enumeration value="Sundhedsplejerske"/>
			<enumeration value="Farmaceut"/>
			<enumeration value="Farmakonom"/>
			<enumeration value="Assistent for Læge"/>
			<enumeration value="Assistent for Tandlæge"/>
			<enumeration value="Assistent for Sygeplejerske"/>
			<enumeration value="Assistent for Jordemoder"/>
			<enumeration value="Assistent for Social- og sundhedsassistent"/>
			<enumeration value="Borger"/>
			<enumeration value="Forældermyndighed"/>
			<enumeration value="Værge"/>
			<enumeration value="Web administrator"/>
		</restriction>
	</simpleType>
	<simpleType name="UndefinedRequestedRole">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="200"/>
		</restriction>
	</simpleType>

	
 	<element name="OrgUsingID" type="sdsd201008:OrgUsingID">
		<annotation>
			<documentation xml:lang="da-DK">Det entydige id på den organisation, hvor brugeren aktuelt befinder sig når webservice kaldet udføres. Klassifikationen hvortil id’et hører er angivet i attributten NameFormat.</documentation>
		</annotation>
	</element>
	<simpleType name="OrgUsingIDString">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="200"/>
		</restriction>
	</simpleType>
	<complexType name="OrgUsingID">
		<simpleContent>
			<extension base="sdsd201008:OrgUsingIDString">
				<attribute name="NameFormat" type="sdsd201008:NameFormat" use="required"/>
			</extension>
		</simpleContent>
	</complexType>

	<element name="SystemVersion" type="sdsd201008:SystemVersion">
		<annotation>
			<documentation xml:lang="da-DK">Versionen på afsendersystemet. Ufaldsrummet dikteres alene af leverandøren af afsendersystemet</documentation>
		</annotation>
	</element>
	<simpleType name="SystemVersion">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="200"/>
		</restriction>
	</simpleType>

	<element name="SystemOwnerName" type="sdsd201008:SystemOwnerName">
		<annotation>
			<documentation xml:lang="da-DK">Det entydige navn på leverandøren af afsendersystemet. Udfaldsrummet dikteres via det Centrale Virksomheds Register</documentation>
		</annotation>
	</element>
	<simpleType name="SystemOwnerName">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="200"/>
		</restriction>
	</simpleType>

	<element name="SystemName" type="sdsd201008:SystemName">
		<annotation>
			<documentation xml:lang="da-DK">Navnet på afsendersystemet. Udfaldsrummet dikteres alene af leverandøren af afsendersystemet</documentation>
		</annotation>
	</element>
	<simpleType name="SystemName">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="200"/>
		</restriction>
	</simpleType>
</xs:schema>
    <xs:schema xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema">
	<xs:element name="Timestamp">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="wsu:Created"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="Created" type="xs:dateTime"/>
</xs:schema>
    <xs:schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:def3="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.dkma.dk/medicinecard/xml.schema/2013/06/01" xmlns:medicinecard20120601="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01" xmlns:medicinecard20130601="http://www.dkma.dk/medicinecard/xml.schema/2013/06/01">
      <import namespace="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01"/>
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	<element name="PrescriptionMedication" type="medicinecard20130601:PrescriptionMedicationType">
		<annotation>
			<documentation xml:lang="en-GB">A prescription medication (a medication on a prescription)</documentation>
			<documentation xml:lang="da-DK">En receptordination (en ordination på en recept)</documentation>
		</annotation>
	</element>
	<complexType name="PrescriptionMedicationType">
		<sequence>
			<element name="Identifier" type="medicinecard20120601:PrescriptionMedicationIdentifierType"/>
			<element minOccurs="0" name="OrderedEffectuationIdentifier" type="medicinecard20120601:OrderedEffectuationIdentifierType"/>
			<element name="AuthorisationDateTime" type="medicinecard20120601:AuthorisationDateTimeType"/>
			<element name="Created" type="medicinecard20120601:CreatedWithOptionalAuthorisationIdentifierType"/>
			<element minOccurs="0" name="LatestEffectuationDateTime" type="medicinecard20120601:LatestEffectuationDateTimeType"/>
			<element minOccurs="0" name="TerminatedDateTime" type="medicinecard20120601:TerminatedDateTimeType"/>
			<choice maxOccurs="3" minOccurs="0">
				<element name="DeliveryInformation" type="medicinecard20120601:DeliveryInformationType"/>
				<element name="OrderInstruction" type="medicinecard20120601:OrderInstructionType"/>
			</choice>
			<element minOccurs="0" name="Delivery" type="medicinecard20120601:DeliveryType"/>
			<element minOccurs="0" name="ReimbursementClause" type="medicinecard20120601:ReimbursementClauseType"/>
			<choice>
				<element name="SinglePrescriptionDispensing" type="medicinecard20120601:SinglePrescriptionDispensingType"/>
				<element name="ReiteratedPrescriptionDispensing" type="medicinecard20120601:ReiteratedPrescriptionDispensingType"/>
				<element name="DoseDispensedDispensing" type="medicinecard20120601:DoseDispensedPrescriptionDispensingType"/>
			</choice>
			<element minOccurs="0" name="Indication" type="medicinecard20120601:IndicationType"/>
			<element name="Drug" type="medicinecard20130601:DrugType"/>
			<element name="SubstitutionAllowed" type="medicinecard20120601:SubstitutionAllowedType"/>
			<element minOccurs="0" name="SupplementaryInformation" type="medicinecard20120601:SupplementaryInformationType"/>
			<element minOccurs="0" name="ReceiverEAN" type="medicinecard20120601:ReceiverEANType"/>
			<element name="Status" type="medicinecard20120601:PrescriptionMedicationStatusType"/>
			<element minOccurs="0" name="Deprecated" type="medicinecard20120601:DeprecatedDateTimeType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="Effectuation" type="medicinecard20130601:EffectuationOnPrescriptionMedicationType"/>
		</sequence>
	</complexType>

	
	
	
	
	<element name="CreateEffectuationRequest" type="medicinecard20130601:CreateEffectuationRequestType">
		<annotation>
			<documentation xml:lang="en-GB">Outer container elemenet for a request to add a effecutation</documentation>
			<documentation xml:lang="da-DK">Ydre container-element for en forespørgsel for at tilføje en effektuering</documentation>
		</annotation>
	</element>
	<complexType name="CreateEffectuationRequestType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element minOccurs="0" name="CreatedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ReportedBy" type="medicinecard20120601:ModificatorType"/>
			<element maxOccurs="unbounded" name="DrugMedication" type="medicinecard20130601:CreateEffectuationOnDrugMedicationType"/>
		</sequence>
	</complexType>

	
	
	<element name="EffectuationsOnPrescriptionMedication" type="medicinecard20130601:EffectuationsOnPrescriptionMedicationType">
		<annotation>
			<documentation xml:lang="en-GB">Grouping effectuations on a prescription medication</documentation>
			<documentation xml:lang="da-DK">Grupperer effektueringer på en receptordination</documentation>
		</annotation>
	</element>
	<complexType name="EffectuationsOnPrescriptionMedicationType">
		<sequence>
			<element name="Identifier" type="medicinecard20120601:PrescriptionMedicationIdentifierType"/>
			<element maxOccurs="unbounded" name="Effectuation" type="medicinecard20130601:EffectuationOnPrescriptionMedicationType"/>
		</sequence>
	</complexType>

	
	
	
	
	<element name="DosageWithTranslation" type="medicinecard20130601:DosageWithTranslationType">
		<annotation>
			<documentation xml:lang="en-GB">How often and when the drug should be given</documentation>
			<documentation xml:lang="da-DK">Angivelse af hvor ofte og hvornår et lægemiddel skal gives</documentation>
		</annotation>
	</element>
	<complexType name="DosageWithTranslationType">
		<sequence>
			<choice>
				<element name="Structures" type="medicinecard20130601:DosageStructuresWithTranslationType"/>
				<element name="FreeText" type="medicinecard20120601:DosageFreeTextType"/>
				<element name="AdministrationAccordingToSchemaInLocalSystem" type="medicinecard20120601:AdministrationAccordingToSchemaInLocalSystemType"/>
			</choice>
			<element minOccurs="0" name="Type" type="medicinecard20120601:DosageTypeType"/>
		</sequence>
	</complexType>

	
	
	
	
	<element name="DrugStrength" type="medicinecard20130601:DrugStrengthType">
		<annotation>
			<documentation xml:lang="en-GB">Unit for drug strength, code (LMS15 field 2)</documentation>
			<documentation xml:lang="da-DK">Enhed for lægemiddelstyrke, kode (LMS15 felt 2)</documentation>
		</annotation>
	</element>
	<complexType name="DrugStrengthType">
		<choice>
			<sequence>
				<element name="Value" type="medicinecard20120601:DrugStrengthValueType"/>
				<element name="UnitCode" type="medicinecard20120601:DrugStrengthUnitCodeType"/>
				<element name="UnitText" type="medicinecard20120601:DrugStrengthUnitTextType"/>
				<element minOccurs="0" name="Text" type="medicinecard20120601:DrugStrengthTextType"/>
			</sequence>
			<element name="Text" type="medicinecard20120601:DrugStrengthTextType"/>
		</choice>
		<!-- A convoluted construction for either value+unit, text or both but not neither -->
	</complexType>

	
	
	
	
	
	<element name="SearchEffectuationsResponse" type="medicinecard20130601:SearchEffectuationsResponseType">
		<annotation>
			<documentation xml:lang="en-GB">Response containing effectuations</documentation>
			<documentation xml:lang="da-DK">Svar indeholdende effektueringer</documentation>
		</annotation>
	</element>
	<complexType name="SearchEffectuationsResponseType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="DrugMedicationWithNegativeConsent" type="medicinecard20120601:DrugMedicationWithNegativeConsentType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="DrugMedication" type="medicinecard20130601:EffectuationsOnDrugMedicationType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="PrescriptionMedication" type="medicinecard20130601:EffectuationsOnPrescriptionMedicationType"/>
			<element minOccurs="0" name="MoreAvailable" type="medicinecard20120601:MoreAvailableType"/>
		</sequence>
	</complexType>

	
	
	<element name="GetPrescriptionMedicationResponse" type="medicinecard20130601:GetPrescriptionMedicationResponseType">
		<annotation>
			<documentation xml:lang="en-GB">Outer container elemenet for a response with one or more prescription medications</documentation>
			<documentation xml:lang="da-DK">Ydre container-element for en svar med en eller flere receptordinationer</documentation>
		</annotation>
	</element>
	<complexType name="GetPrescriptionMedicationResponseType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="PrescriptionMedication" type="medicinecard20130601:PrescriptionMedicationType"/>
		</sequence>
	</complexType>

	
	
	
	
	
	
	
	
	
	
	
	
	<element name="DosageStructure" type="medicinecard20130601:DosageStructureType">
		<annotation>
			<documentation xml:lang="en-GB">Description of the dosage times of a treatment</documentation>
			<documentation xml:lang="da-DK">Beskrivelse af doseringstidspunkter for en behandling</documentation>
		</annotation>
	</element>
	<complexType name="DosageStructureType">
		<sequence>
			<choice>
				<element name="IterationInterval" type="medicinecard20120601:DosageTimesIterationIntervalType"/>
				<element name="NotIterated" type="medicinecard20120601:DosageIsNotIteratedType"/>
			</choice>
			<choice>
				<element name="StartDate" type="medicinecard20120601:DosageTimesStartDateType"/>
				<element name="StartDateTime" type="medicinecard20120601:DosageTimesStartDateTimeType"/>
			</choice>
			<choice>
				<element name="EndDate" type="medicinecard20120601:DosageTimesEndDateType"/>
				<element name="EndDateTime" type="medicinecard20120601:DosageTimesEndDateTimeType"/>
				<element name="DosageEndingUndetermined" type="medicinecard20120601:DosageTimesDosageEndingUndeterminedType"/>
			</choice>			
			<element minOccurs="0" name="SupplementaryText" type="medicinecard20120601:DosageSupplementaryTextType"/>
			<choice>
				<!-- A convoluted construction for either AnyDay or one or more Day, or both, bot not neither -->
				<sequence>
					<element name="AnyDay" type="medicinecard20120601:DosageAnyDayType"/>
					<element maxOccurs="unbounded" minOccurs="0" name="Day" type="medicinecard20120601:DosageDayType"/>
				</sequence>
				<element maxOccurs="unbounded" name="Day" type="medicinecard20120601:DosageDayType"/>
			</choice>
		</sequence>
	</complexType>

	
	
	
	
	<element name="Dosage" type="medicinecard20130601:DosageType">
		<annotation>
			<documentation xml:lang="en-GB">How often and when the drug should be given</documentation>
			<documentation xml:lang="da-DK">Angivelse af hvor ofte og hvornår et lægemiddel skal gives</documentation>
		</annotation>
	</element>
	<complexType name="DosageType">
		<sequence>
			<choice>
				<element name="Structures" type="medicinecard20130601:DosageStructuresType"/>
				<element name="FreeText" type="medicinecard20120601:DosageFreeTextType"/>
				<element name="AdministrationAccordingToSchemaInLocalSystem" type="medicinecard20120601:AdministrationAccordingToSchemaInLocalSystemType"/>
			</choice>
			<element minOccurs="0" name="Type" type="medicinecard20120601:DosageTypeType"/>
		</sequence>
	</complexType>

	
	
	
	
	<element name="CreateDrugMedicationRequest" type="medicinecard20130601:CreateDrugMedicationRequestType">
		<annotation>
			<documentation xml:lang="en-GB">Outer container elemenet for a request for a request which creates a new drug prescription</documentation>
			<documentation xml:lang="da-DK">Ydre container-element for en forespørgsel der opretter en ny lægemiddelordination</documentation>
		</annotation>
	</element>
	<complexType name="CreateDrugMedicationRequestType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element minOccurs="0" name="CreatedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ReportedBy" type="medicinecard20120601:ModificatorType"/>
			<element maxOccurs="unbounded" name="DrugMedication" type="medicinecard20130601:CreateDrugMedicationType"/>
		</sequence>
	</complexType>

	
	
	
	
	
	
	
	
	
	
	
	
	<element name="UpdateDrugMedication" type="medicinecard20130601:UpdateDrugMedicationType">
		<annotation>
			<documentation xml:lang="en-GB">An overview of the drug medication (a medication on the medicine card), used for update</documentation>
			<documentation xml:lang="da-DK">En oversigt over lægemiddelordination (en ordination på medicinkortet), til brug ved opdatering</documentation>
		</annotation>
	</element>
	<complexType name="UpdateDrugMedicationType">
		<sequence>
			<element name="Identifier" type="medicinecard20120601:DrugMedicationIdentifierType"/>
			<element minOccurs="0" name="Unwithdraw" type="medicinecard20120601:UnwithdrawDrugMedicationOnUpdateType"/>
			<element minOccurs="0" name="ParentIdentifier" type="medicinecard20120601:DrugMedicationIdentifierType"/>
			<element minOccurs="0" name="ModifiedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ModificationMetadata" type="medicinecard20120601:ModificationMetadataType"/>
			<element minOccurs="0" name="Pause" type="medicinecard20120601:PauseType"/>
			<element minOccurs="0" name="HasNegativeConsent" type="medicinecard20120601:HasNegativeConsentType"/>
			<element name="BeginEndDate" type="medicinecard20120601:CreateOrUpdateDrugMedicationBeginEndDateType"/>
			<element name="Indication" type="medicinecard20120601:IndicationType"/>
			<element name="RouteOfAdministration" type="medicinecard20120601:RouteOfAdministrationType"/>
			<element name="Drug" type="medicinecard20130601:DrugType"/>
			<element name="Dosage" type="medicinecard20130601:DosageType"/>
			<element name="SubstitutionAllowed" type="medicinecard20120601:SubstitutionAllowedType"/>
		</sequence>
	</complexType>

	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	<element name="UpdateMedicineCardRequest" type="medicinecard20130601:UpdateMedicineCardRequestType">
		<annotation>
			<documentation xml:lang="en-GB">Outer container element for a batch request to update a medicine card</documentation>
			<documentation xml:lang="da-DK">Ydre container-element for en batchforespørgsel for at opdatere et medicinkort</documentation>
		</annotation>
	</element>
	<complexType name="UpdateMedicineCardRequestType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element minOccurs="0" name="ModifiedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ReportedBy" type="medicinecard20120601:ModificatorType"/>
			<sequence maxOccurs="unbounded">
				<element minOccurs="0" name="SetMedicineCardReviewed" type="medicinecard20120601:SetMedicineCardReviewedType"/>
				<element minOccurs="0" name="SuspendMedicineCard" type="medicinecard20120601:SuspendMedicineCardType"/>
				<element minOccurs="0" name="ResuspendMedicineCard" type="medicinecard20120601:ResuspendMedicineCardType"/>
				<element minOccurs="0" name="UnsuspendMedicineCard" type="medicinecard20120601:UnsuspendMedicineCardType"/>
				<element minOccurs="0" name="CreateDrugMedication" type="medicinecard20130601:CreateDrugMedicationType"/>
				<element minOccurs="0" name="UpdateDrugMedication" type="medicinecard20130601:UpdateDrugMedicationType"/>
				<element minOccurs="0" name="WithdrawDrugMedication" type="medicinecard20120601:WithdrawDrugMedicationType"/>
				<element minOccurs="0" name="UnwithdrawDrugMedication" type="medicinecard20120601:UnwithdrawDrugMedicationType"/>
				<element minOccurs="0" name="PauseDrugMedication" type="medicinecard20120601:PauseDrugMedicationType"/>
				<element minOccurs="0" name="UnpauseDrugMedication" type="medicinecard20120601:UnpauseDrugMedicationType"/>
				<element minOccurs="0" name="CreatePrescriptionMedication" type="medicinecard20120601:CreatePrescriptionMedicationType"/>
				<element minOccurs="0" name="AttachPrescriptionMedication" type="medicinecard20120601:AttachPrescriptionMedicationType"/>
				<element minOccurs="0" name="DetachPrescriptionMedication" type="medicinecard20120601:DetachPrescriptionMedicationType"/>
				<element minOccurs="0" name="MarkPrescriptionMedicationDeprecated" type="medicinecard20120601:MarkPrescriptionMedicationDeprecatedType"/>
				<element minOccurs="0" name="UnmarkPrescriptionMedicationDeprecated" type="medicinecard20120601:UnmarkPrescriptionMedicationDeprecatedType"/>
				<element minOccurs="0" name="CancelPrescriptionMedication" type="medicinecard20120601:CancelPrescriptionMedicationType"/>
				<element minOccurs="0" name="CreateEffectuationOnDrugMedication" type="medicinecard20130601:CreateEffectuationOnDrugMedicationType"/>
				<element minOccurs="0" name="DeleteEffectuation" type="medicinecard20120601:DeleteEffectuationType"/>
			</sequence>
		</sequence>
	</complexType>

	
	
	
	
	
	
	
	
	
	
	
	
	<element name="Effectuation" type="medicinecard20130601:EffectuationType">
		<annotation>
			<documentation xml:lang="en-GB">The actual effectuation of the drug medication. It could be to administer the drug into the patient or that a doctor hands medication out to the patient</documentation>
			<documentation xml:lang="da-DK">Den faktiske udførelse af lægemiddelordination. Det kan f.eks. være at indgive medicin i patienten, eller at en læge eller apoteket udleverer medicin til patienten</documentation>
		</annotation>
	</element>
	<complexType name="EffectuationType">
		<sequence>
			<element name="Identifier" type="medicinecard20120601:EffectuationIdentifierType"/>
			<element name="DateTime" type="medicinecard20120601:EffectuationDateTimeType"/>
			<element minOccurs="0" name="EffectuationMethod" type="medicinecard20120601:EffectuationMethodType"/>
			<element name="Created" type="medicinecard20120601:CreatedType"/>
			<element minOccurs="0" name="ReportedBy" type="medicinecard20120601:ModificatorType"/>
			<choice>
				<sequence>
					<!-- A drug was effectuated, with the dose and unit below. This overrides whatever is stated as drug and dosage on the prescription or drug medication -->
					<element name="DoseQuantity" type="medicinecard20120601:DoseQuantityType"/>
					<element name="DosageQuantityUnitText" type="medicinecard20120601:DosageQuantityUnitTextType"/>
					<element name="Drug" type="medicinecard20130601:DrugType"/>
				</sequence>
				<sequence>
					<!-- A drug was effectuated, with a drug substituted as below. This overrides whatever is stated as drug on the prescription or drug medication -->
					<element name="Drug" type="medicinecard20130601:DrugType"/>
				</sequence>
				<sequence>
					<!-- A drug was effectuated, one or more packages was given to the patient -->
					<element minOccurs="0" name="PackageQuantity" type="medicinecard20120601:PackageQuantityType"/>
					<element name="PackageNumber" type="medicinecard20120601:PackageNumberType"/>
					<element minOccurs="0" name="PackageSize" type="medicinecard20120601:PackageSizeType"/>
					<element minOccurs="0" name="Drug" type="medicinecard20130601:DrugType"/>
				</sequence>
				<!-- A drug was effectuated, the drug and dosage was given as stated on the drug medication -->
				<element name="IsEffectuatedAccordingToDrugMedication" type="medicinecard20120601:IsEffectuatedAccordingToDrugMedicationType"/>
			</choice>
		</sequence>
	</complexType>

	
	
	
	
	
	
	
	
	
	
	
	
	
	
	<element name="DrugMedication" type="medicinecard20130601:DrugMedicationType">
		<annotation>
			<documentation xml:lang="en-GB">An overview of the drug medication (a medication on the medicine card)</documentation>
			<documentation xml:lang="da-DK">En oversigt over lægemiddelordination (en ordination på medicinkortet)</documentation>
		</annotation>
	</element>
	<complexType name="DrugMedicationType">
		<sequence>
			<element name="Identifier" type="medicinecard20120601:DrugMedicationIdentifierType"/>
			<element name="Version" type="medicinecard20120601:DrugMedicationVersionType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="PreviousVersion" type="medicinecard20120601:DrugMedicationVersionType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="NextVersion" type="medicinecard20120601:DrugMedicationVersionType"/>
			<element minOccurs="0" name="ParentIdentifier" type="medicinecard20120601:DrugMedicationIdentifierType"/>
			<element name="Created" type="medicinecard20120601:CreatedType"/>
			<element minOccurs="0" name="ReportedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="Modified" type="medicinecard20120601:ModifiedType"/>
			<element minOccurs="0" name="Paused" type="medicinecard20120601:PausedType"/>
			<element minOccurs="0" name="Withdrawn" type="medicinecard20120601:WithdrawnType"/>
			<element minOccurs="0" name="HasNegativeConsent" type="medicinecard20120601:HasNegativeConsentType"/>
			<element name="BeginEndDate" type="medicinecard20120601:DrugMedicationBeginEndDateType"/>
			<element name="Indication" type="medicinecard20120601:IndicationType"/>
			<element name="RouteOfAdministration" type="medicinecard20120601:RouteOfAdministrationType"/>
			<element name="Drug" type="medicinecard20130601:DrugType"/>
			<element name="Dosage" type="medicinecard20130601:DosageWithTranslationType"/>
			<element minOccurs="0" name="SubstitutionAllowed" type="medicinecard20120601:SubstitutionAllowedType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="Effectuation" type="medicinecard20130601:EffectuationType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="PrescriptionMedication" type="medicinecard20130601:PrescriptionMedicationType"/>
		</sequence>
	</complexType>

	
	
	
	<element name="EffectuationsOnDrugMedication" type="medicinecard20130601:EffectuationsOnDrugMedicationType">
		<annotation>
			<documentation xml:lang="en-GB">Grouping effectuations on a drug medication</documentation>
			<documentation xml:lang="da-DK">Grupperer effektueringer på en lægemiddelordination</documentation>
		</annotation>
	</element>
	<complexType name="EffectuationsOnDrugMedicationType">
		<sequence>
			<element name="Identifier" type="medicinecard20120601:DrugMedicationIdentifierType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="Effectuation" type="medicinecard20130601:EffectuationType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="PrescriptionMedication" type="medicinecard20130601:EffectuationsOnPrescriptionMedicationType"/>
		</sequence>
	</complexType>

	
	
	<element name="CreateEffectuationOnDrugMedication" type="medicinecard20130601:CreateEffectuationOnDrugMedicationType">
		<annotation>
			<documentation xml:lang="en-GB">Elemenet for adding an effecutation on a drug prescription</documentation>
			<documentation xml:lang="da-DK">Element for en tilføjelse af en effektuering på en lægemiddelordination</documentation>
		</annotation>
	</element>
	<complexType name="CreateEffectuationOnDrugMedicationType">
		<sequence>
			<element name="Identifier" type="medicinecard20120601:DrugMedicationIdentifierType"/>
			<element maxOccurs="unbounded" name="Effectuation" type="medicinecard20130601:CreateEffectuationType"/>
		</sequence>
	</complexType>

	
	
	
	
	
	
	
	
	
	
	
	
	<element name="EffectuationOnPrescriptionMedication" type="medicinecard20130601:EffectuationOnPrescriptionMedicationType">
		<annotation>
			<documentation xml:lang="en-GB">An effectuation on the prescription medication. It has been created by the pharamacy, so there is no doctor element. The possibilities for how the effectuation is done is limited, there is always effectuated one or more packages.</documentation>
		</annotation>
	</element>
	<complexType name="EffectuationOnPrescriptionMedicationType">
		<sequence>
			<element name="Identifier" type="medicinecard20120601:EffectuationIdentifierType"/>
			<element name="DateTime" type="medicinecard20120601:EffectuationDateTimeType"/>
			<element minOccurs="0" name="EffectuationMethod" type="medicinecard20120601:EffectuationMethodType"/>
			<element name="Created" type="medicinecard20120601:CreatedWithoutPersonType"/>
			<element minOccurs="0" name="ReportedBy" type="medicinecard20120601:ModificatorWithoutPersonType"/>
			<element minOccurs="0" name="PackageQuantity" type="medicinecard20120601:PackageQuantityType"/>
			<element name="PackageNumber" type="medicinecard20120601:PackageNumberType"/>
			<element minOccurs="0" name="PackageSize" type="medicinecard20120601:PackageSizeType"/>
			<element minOccurs="0" name="Drug" type="medicinecard20130601:DrugType"/>
		</sequence>
	</complexType>

	
	
	
	
	
	
	
	<element name="Drug" type="medicinecard20130601:DrugType">
		<annotation>
			<documentation xml:lang="en-GB">Drug. A drug is a substance used as treatment or a preventive treatment against diseases. Drugs can be approved and thereby be listed in the Danish Medicines Agency's pricelist ("Takst"), or can be compassionate permit dugs, natural drugs, vitamins, minerals or alike. A drug is an active substance or composed of one or more substances in a particular form and strength. If DrugIdentifier exists the drug is from the Danish Medicines Agency's price list. Alternatively a detailed prescription. The drug structure may contain a list of active substances. The form and strength should be included if available</documentation>
			<documentation xml:lang="da-DK">Lægemiddel. Et lægemiddel er en vare til at behandle eller forebygge sygdomme. Lægemidler er enten godkendt og fremgår dermed af Lægemiddelstyrelsens Takst, eller det kan være tilladelsespræparater, naturlægemidler, vitaminer, minerater el.lign. Et lægemiddel er et aktivt lægemiddelstof eller sammensat af et eller flere lægemiddelstoffer i en bestemt lægemiddelform og lægemiddelstyrke. Hvis DrugIdentifier findes er lægemiddlet fra lægemiddelstyrelsens takst. Alternativt et magistrelt lægemiddel. Lægemiddelstrukturen kan indeholde en række aktive substanser. Lægemidlets form og styrke skal angives, såfremt informationen findes</documentation>
		</annotation>
	</element>
	<complexType name="DrugType">
		<sequence>
			<element minOccurs="0" name="ATC" type="medicinecard20120601:ATCType"/>
			<choice>
				<sequence>
					<element minOccurs="0" name="Identifier" type="medicinecard20120601:DrugIdentifierType"/>
					<element name="Name" type="medicinecard20120601:DrugNameType"/>
				</sequence>
				<element name="DetailedDrugText" type="medicinecard20120601:DetailedDrugTextType"/>
			</choice>
			<element minOccurs="0" name="Form" type="medicinecard20120601:DrugFormType"/>
			<element minOccurs="0" name="Strength" type="medicinecard20130601:DrugStrengthType"/>
			<element minOccurs="0" name="Substances" type="medicinecard20120601:SubstancesType"/>
		</sequence>
	</complexType>

	
	
	
		
	<element name="DosageStructures" type="medicinecard20130601:DosageStructuresType">
		<annotation>
			<documentation xml:lang="en-GB">Description of the dosage times of a treatment</documentation>
			<documentation xml:lang="da-DK">Beskrivelse af doseringstidspunkter for en behandling</documentation>
		</annotation>
	</element>
	<complexType name="DosageStructuresType">
		<sequence>
			<choice>
				<element name="UnitText" type="medicinecard20120601:DosageQuantityUnitTextType"/>
				<element name="UnitTexts" type="medicinecard20120601:DosageQuantityUnitTextsType"/>
			</choice>
			<choice maxOccurs="unbounded">
				<element name="Structure" type="medicinecard20130601:DosageStructureType"/>
				<element name="EmptyStructure" type="medicinecard20130601:EmptyDosageStructureType"/>
			</choice>				
		</sequence>
	</complexType>

	
	
	
	
	
	
	
	
	
	
	
	<element name="CreateEffectuation" type="medicinecard20130601:CreateEffectuationType">
		<annotation>
			<documentation xml:lang="en-GB">Document for creation of a new effectuation of a drug</documentation>
			<documentation xml:lang="da-DK">Dokument til oprettelse af en ny effektuering af et lægemiddel</documentation>
		</annotation>
	</element>
	<complexType name="CreateEffectuationType">
		<sequence>
			<element name="DateTime" type="medicinecard20120601:EffectuationDateTimeType"/>
			<element name="EffectuationMethod" type="medicinecard20120601:EffectuationMethodType"/>
			<element minOccurs="0" name="CreatedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ModificationMetadata" type="medicinecard20120601:ModificationMetadataType"/>
			<choice>
				<sequence>
					<!-- A drug was effectuated, with the dose and unit below. This overrides whatever is stated as drug and dosage on the prescription or drug medication -->
					<element name="DoseQuantity" type="medicinecard20120601:DoseQuantityType"/>
					<element name="DosageQuantityUnitText" type="medicinecard20120601:DosageQuantityUnitTextType"/>
					<element name="Drug" type="medicinecard20130601:DrugType"/>
				</sequence>
				<sequence>
					<!-- A drug was effectuated, with a drug substituted as below. This overrides whatever is stated as drug on the prescription or drug medication -->
					<element name="Drug" type="medicinecard20130601:DrugType"/>
				</sequence>
				<sequence>
					<!-- A drug was effectuated, one or more packages was given to the patient -->
					<element minOccurs="0" name="PackageQuantity" type="medicinecard20120601:PackageQuantityType"/>
					<element name="PackageNumber" type="medicinecard20120601:PackageNumberType"/>
					<element minOccurs="0" name="PackageSize" type="medicinecard20120601:PackageSizeType"/>
					<element minOccurs="0" name="Drug" type="medicinecard20130601:DrugType"/>
				</sequence>
				<!-- A drug was effectuated, the drug and dosage was given as stated on the drug medication -->
				<element name="IsEffectuatedAccordingToDrugMedication" type="medicinecard20120601:IsEffectuatedAccordingToDrugMedicationType"/>
			</choice>
		</sequence>
	</complexType>

	
	
	
			
	<element name="DosageStructuresWithTranslation" type="medicinecard20130601:DosageStructuresWithTranslationType">
		<annotation>
			<documentation xml:lang="en-GB">Description of the dosage times of a treatment</documentation>
			<documentation xml:lang="da-DK">Beskrivelse af doseringstidspunkter for en behandling</documentation>
		</annotation>
	</element>
	<complexType name="DosageStructuresWithTranslationType">
		<sequence>
			<choice>
				<element name="UnitText" type="medicinecard20120601:DosageQuantityUnitTextType"/>
				<element name="UnitTexts" type="medicinecard20120601:DosageQuantityUnitTextsType"/>
			</choice>
			<choice maxOccurs="unbounded">
				<element name="EmptyStructure" type="medicinecard20130601:EmptyDosageStructureType"/>
				<element maxOccurs="unbounded" name="Structure" type="medicinecard20130601:DosageStructureWithTranslationType"/>
			</choice>
			<element minOccurs="0" name="DosageTranslationCombined" type="medicinecard20130601:DosageTranslationType"/>
		</sequence>
	</complexType>

	
	
	
	
	
	
	
	
	
	
	
	
	
	<element name="DosageStructureWithTranslation" type="medicinecard20130601:DosageStructureWithTranslationType">
		<annotation>
			<documentation xml:lang="en-GB">Description of the dosage times of a treatment</documentation>
			<documentation xml:lang="da-DK">Beskrivelse af doseringstidspunkter for en behandling</documentation>
		</annotation>
	</element>
	<complexType name="DosageStructureWithTranslationType">
		<sequence>
			<choice>
				<element name="IterationInterval" type="medicinecard20120601:DosageTimesIterationIntervalType"/>
				<element name="NotIterated" type="medicinecard20120601:DosageIsNotIteratedType"/>
			</choice>
			<choice>
				<element name="StartDate" type="medicinecard20120601:DosageTimesStartDateType"/>
				<element name="StartDateTime" type="medicinecard20120601:DosageTimesStartDateTimeType"/>
			</choice>
			<choice>
				<element name="EndDate" type="medicinecard20120601:DosageTimesEndDateType"/>
				<element name="EndDateTime" type="medicinecard20120601:DosageTimesEndDateTimeType"/>
				<element name="DosageEndingUndetermined" type="medicinecard20120601:DosageTimesDosageEndingUndeterminedType"/>
			</choice>
			<element minOccurs="0" name="SupplementaryText" type="medicinecard20120601:DosageSupplementaryTextType"/>
			<choice>
				<!-- A convoluted construction for either AnyDay or one or more Day, or both, bot not neither -->
				<sequence>
					<element name="AnyDay" type="medicinecard20120601:DosageAnyDayType"/>
					<element maxOccurs="unbounded" minOccurs="0" name="Day" type="medicinecard20120601:DosageDayType"/>
				</sequence>
				<element maxOccurs="unbounded" name="Day" type="medicinecard20120601:DosageDayType"/>
			</choice>
			<element name="DosageTranslation" type="medicinecard20130601:DosageTranslationType"/>
		</sequence>
	</complexType>

	
	
	
	
	<element name="UpdateDrugMedicationRequest" type="medicinecard20130601:UpdateDrugMedicationRequestType">
		<annotation>
			<documentation xml:lang="en-GB">Outer container elemenet for a request for a request which updated an existing drug medication</documentation>
			<documentation xml:lang="da-DK">Ydre container-element for en forespørgsel der opdaterer en eksisterende lægemiddelordination</documentation>
		</annotation>
	</element>
	<complexType name="UpdateDrugMedicationRequestType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element minOccurs="0" name="ModifiedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ReportedBy" type="medicinecard20120601:ModificatorType"/>
			<element maxOccurs="unbounded" name="DrugMedication" type="medicinecard20130601:UpdateDrugMedicationType"/>
		</sequence>
	</complexType>

	
	
	
	
	
	
	
	
	
	
	
	
	
	<element name="CreateDrugMedication" type="medicinecard20130601:CreateDrugMedicationType">
		<annotation>
			<documentation xml:lang="en-GB">Instructions of which drug to use, how much to give (drug dosage), for how long (startdate and enddate), how to administrate it and motivation (indication)</documentation>
			<documentation xml:lang="da-DK">Anvisning af hvilken medicin der skal anvendes (lægemiddel) hvor meget der skal gives (lægemiddeldosering), hvor længe (startdato og slutdato), hvordan den skal tilføres (administrationsvej) og hvorfor (indikation)</documentation>
		</annotation>
	</element>
	<complexType name="CreateDrugMedicationType">
		<sequence>
			<element minOccurs="0" name="ParentIdentifier" type="medicinecard20120601:DrugMedicationIdentifierType"/>
			<element minOccurs="0" name="CreatedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ModificationMetadata" type="medicinecard20120601:ModificationMetadataType"/>
			<element minOccurs="0" name="Pause" type="medicinecard20120601:PauseType"/>
			<element minOccurs="0" name="HasNegativeConsent" type="medicinecard20120601:HasNegativeConsentType"/>
			<element name="BeginEndDate" type="medicinecard20120601:CreateOrUpdateDrugMedicationBeginEndDateType"/>
			<element name="Indication" type="medicinecard20120601:IndicationType"/>
			<element name="RouteOfAdministration" type="medicinecard20120601:RouteOfAdministrationType"/>
			<element name="Drug" type="medicinecard20130601:DrugType"/>
			<element name="Dosage" type="medicinecard20130601:DosageType"/>
			<element name="SubstitutionAllowed" type="medicinecard20120601:SubstitutionAllowedType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="Effectuation" type="medicinecard20130601:CreateEffectuationType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="CreatePrescriptionMedication" type="medicinecard20120601:CreatePrescriptionMedicationType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="AttachPrescriptionMedication" type="medicinecard20120601:PrescriptionMedicationIdentifierType"/>
		</sequence>
	</complexType>

	
	
	
	
	<element name="DosageTranslation" type="medicinecard20130601:DosageTranslationType">
		<annotation>
			<documentation xml:lang="en-GB">Dosage structure translated to text plus a calulated average daily dosage</documentation>
			<documentation xml:lang="da-DK">Dosisstrukturen oversat til tekst samt beregnet gennemsnitlig daglig dosis</documentation>
		</annotation>
	</element>
	<complexType name="DosageTranslationType">
		<sequence>
			<element minOccurs="0" name="ShortText" type="medicinecard20120601:DosageTranslationShortTextType"/>
			<element name="LongText" type="medicinecard20120601:DosageTranslationLongTextType"/>
			<sequence minOccurs="0">
				<choice>
					<element name="AverageDailyDosage" type="medicinecard20120601:DoseQuantityType"/>
					<sequence>
						<element name="MinimalAverageDailyDosage" type="medicinecard20120601:DoseQuantityType"/>
						<element name="MaximalAverageDailyDosage" type="medicinecard20120601:DoseQuantityType"/>
					</sequence>
				</choice>
			</sequence>
		</sequence>
	</complexType>

	
	
	
	
	
	
	
	
	
	
	<element name="MedicineCard" type="medicinecard20130601:MedicineCardType">
		<annotation>
			<documentation xml:lang="en-GB">Virtual card where a patient's medications are documented, except effectuations</documentation>
			<documentation xml:lang="da-DK">Virtuelt kort hvori en patients medicineringer dokumenteres, undtaget effektueringer</documentation>
		</annotation>
	</element>
	<complexType name="MedicineCardType">
		<sequence>
			<element name="Patient" type="medicinecard20120601:PatientType"/>
			<element name="Version" type="medicinecard20120601:MedicineCardVersionType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="PreviousVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="NextVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element minOccurs="0" name="ReportedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="Modified" type="medicinecard20120601:ModifiedType"/>
			<element minOccurs="0" name="Suspended" type="medicinecard20120601:SuspendedType"/>
			<element minOccurs="0" name="Reviewed" type="medicinecard20120601:ReviewedType"/>
			<element minOccurs="0" name="IsInvalid" type="medicinecard20120601:MedicineCardIsInvalidType"/>
			<element minOccurs="0" name="HomeCareSubscription" type="medicinecard20120601:OrganisationType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="DrugMedicationWithNegativeConsent" type="medicinecard20120601:DrugMedicationWithNegativeConsentType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="DrugMedication" type="medicinecard20130601:DrugMedicationType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="PrescriptionMedication" type="medicinecard20130601:PrescriptionMedicationType"/>
		</sequence>
	</complexType>

	
	
	
	
	
	<element name="EmptyDosageStructure" type="medicinecard20130601:EmptyDosageStructureType">
		<annotation>
			<documentation xml:lang="en-GB">Description of an interval in the treatment where the drug is not given</documentation>
			<documentation xml:lang="da-DK">Beskrivelse af en periode i behandlingen hvor lægemidlet ikke gives</documentation>
		</annotation>
	</element>
	<complexType name="EmptyDosageStructureType">
		<sequence>
			<choice>
				<element name="StartDate" type="medicinecard20120601:DosageTimesStartDateType"/>
				<element name="StartDateTime" type="medicinecard20120601:DosageTimesStartDateTimeType"/>
			</choice>
			<choice>
				<element name="EndDate" type="medicinecard20120601:DosageTimesEndDateType"/>
				<element name="EndDateTime" type="medicinecard20120601:DosageTimesEndDateTimeType"/>
				<element name="DosageEndingUndetermined" type="medicinecard20120601:DosageTimesDosageEndingUndeterminedType"/>
			</choice>
		</sequence>
	</complexType>

	
	
	
	<element name="GetDrugMedicationResponse" type="medicinecard20130601:GetDrugMedicationResponseType">
		<annotation>
			<documentation xml:lang="en-GB">Element for a response with one or more drug medications</documentation>
			<documentation xml:lang="da-DK">Element for et svar med en eller flere lægemiddelordinationer</documentation>
		</annotation>
	</element>
	<complexType name="GetDrugMedicationResponseType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="DrugMedicationWithNegativeConsent" type="medicinecard20120601:DrugMedicationWithNegativeConsentType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="DrugMedication" type="medicinecard20130601:DrugMedicationType"/>
		</sequence>
	</complexType>

	
	<element name="GetMedicineCardResponse" type="medicinecard20130601:GetMedicineCardResponseType">
		<annotation>
			<documentation xml:lang="en-GB">Outer container elemenet for a response with a medicinecard</documentation>
			<documentation xml:lang="da-DK">Ydre container-element for en et svar med et medicinkort</documentation>
		</annotation>
	</element>
	<complexType name="GetMedicineCardResponseType">
		<sequence>
			<element maxOccurs="unbounded" name="MedicineCard" type="medicinecard20130601:MedicineCardType"/>
		</sequence>
	</complexType>
</xs:schema>
    <xs:schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:cpr="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/" xmlns:def4="http://www.w3.org/2001/XMLSchema" xmlns:ean="http://rep.oio.dk/ean/xml/schemas/2005/01/10/" xmlns:medicinecard20080601="http://www.dkma.dk/medicinecard/xml.schema/2008/06/01" xmlns:medicinecard20090101="http://www.dkma.dk/medicinecard/xml.schema/2009/01/01" xmlns:xkom="http://rep.oio.dk/xkom.dk/xml/schemas/2006/01/06/" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01" xmlns:medicinecard20120601="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01">
      <import namespace="http://rep.oio.dk/ean/xml/schemas/2005/01/10/"/>
	
	
	
	
	
	
	
	
	
	
	
	
	<element name="UpdateDrugMedication" type="medicinecard20120601:UpdateDrugMedicationType">
		<annotation>
			<documentation xml:lang="en-GB">An overview of the drug medication (a medication on the medicine card), used for update</documentation>
			<documentation xml:lang="da-DK">En oversigt over lægemiddelordination (en ordination på medicinkortet), til brug ved opdatering</documentation>
		</annotation>
	</element>
	<complexType name="UpdateDrugMedicationType">
		<sequence>
			<element name="Identifier" type="medicinecard20120601:DrugMedicationIdentifierType"/>
			<element minOccurs="0" name="Unwithdraw" type="medicinecard20120601:UnwithdrawDrugMedicationOnUpdateType"/>
			<element minOccurs="0" name="ParentIdentifier" type="medicinecard20120601:DrugMedicationIdentifierType"/>
			<element minOccurs="0" name="ModifiedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ModificationMetadata" type="medicinecard20120601:ModificationMetadataType"/>
			<element minOccurs="0" name="Pause" type="medicinecard20120601:PauseType"/>
			<element minOccurs="0" name="HasNegativeConsent" type="medicinecard20120601:HasNegativeConsentType"/>
			<element name="BeginEndDate" type="medicinecard20120601:CreateOrUpdateDrugMedicationBeginEndDateType"/>
			<element name="Indication" type="medicinecard20120601:IndicationType"/>
			<element name="RouteOfAdministration" type="medicinecard20120601:RouteOfAdministrationType"/>
			<element name="Drug" type="medicinecard20120601:DrugType"/>
			<element name="Dosage" type="medicinecard20120601:DosageType"/>
			<element name="SubstitutionAllowed" type="medicinecard20120601:SubstitutionAllowedType"/>
		</sequence>
	</complexType>

	
	<element name="ModificatorWithoutPerson" type="medicinecard20120601:ModificatorWithoutPersonType">
		<annotation>
			<documentation xml:lang="en-GB">Information about an organisation who modified data. Used for modifications on a pharmacy, where no person information is given</documentation>
			<documentation xml:lang="da-DK">Indeholder information omkring en person der ændrede data. Anvendt på ændringer fra apoteket, hvor ingen personinformation medsendes.</documentation>
		</annotation>
	</element>
	<complexType name="ModificatorWithoutPersonType">
		<sequence>
			<element name="Organisation" type="medicinecard20120601:OrganisationType"/>
		</sequence>
	</complexType>

	
	
	
	<element name="Indication" type="medicinecard20120601:IndicationType">
		<annotation>
			<documentation xml:lang="en-GB">Estimated state of health which is used as motivation for a drug prescription</documentation>
			<documentation xml:lang="da-DK">Vurderet helbredstilstand der benyttes som begrundelse for en lægemiddelordination</documentation>
		</annotation>
	</element>
	<complexType name="IndicationType">
		<choice>
			<sequence>
				<element name="Code" type="medicinecard20120601:IndicationCodeType"/>
				<element minOccurs="0" name="Text" type="medicinecard20120601:IndicationTextType"/>
			</sequence>
			<element name="FreeText" type="medicinecard20120601:IndicationFreeTextType"/>
		</choice>
	</complexType>

	
	
	
	
		
	
	
	
	<element name="GetMedicineCardAsPDFRequest" type="medicinecard20120601:GetMedicineCardAsPDFRequestType">
		<annotation>
			<documentation xml:lang="en-GB">Element for a request for a medicinecard returned as PDF</documentation>
			<documentation xml:lang="da-DK">Element for en forespørgsel efter et medicinkort der returneres som PDF</documentation>
		</annotation>
	</element>
	<complexType name="GetMedicineCardAsPDFRequestType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="Version" type="medicinecard20120601:MedicineCardVersionType"/>
			<element name="PrintType" type="medicinecard20120601:PrintTypeType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="DateTime" type="medicinecard20120601:ModifiedDateTimeType"/>
			<element minOccurs="0" name="NegativeConsent" type="medicinecard20120601:NegativeConsentRequestType"/>
		</sequence>
	</complexType>

	
	
	
	
	<element name="CreateDrugMedicationRequest" type="medicinecard20120601:CreateDrugMedicationRequestType">
		<annotation>
			<documentation xml:lang="en-GB">Outer container elemenet for a request for a request which creates a new drug prescription</documentation>
			<documentation xml:lang="da-DK">Ydre container-element for en forespørgsel der opretter en ny lægemiddelordination</documentation>
		</annotation>
	</element>
	<complexType name="CreateDrugMedicationRequestType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element minOccurs="0" name="CreatedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ReportedBy" type="medicinecard20120601:ModificatorType"/>
			<element maxOccurs="unbounded" name="DrugMedication" type="medicinecard20120601:CreateDrugMedicationType"/>
		</sequence>
	</complexType>

	
	
	
	
	
	<element name="SinglePrescriptionDispensing" type="medicinecard20120601:SinglePrescriptionDispensingType">
		<annotation>
			<documentation xml:lang="en-GB">Information dispensing the package once</documentation>
			<documentation xml:lang="da-DK">Information til en enkelt udlevering</documentation>
		</annotation>
	</element>
	<complexType name="SinglePrescriptionDispensingType">
		<sequence>
			<element name="PackageNumber" type="medicinecard20120601:PackageNumberType"/>
			<element minOccurs="0" name="FreeTradePackageSizeText" type="medicinecard20120601:PackageSizeTextType"/>
			<element name="PackageQuantity" type="medicinecard20120601:PackageQuantityType"/>
			<element minOccurs="0" name="DosageCode" type="medicinecard20120601:DosageCodeType"/>
			<element name="DosageText" type="medicinecard20120601:DosageTextType"/>
		</sequence>
	</complexType>

	<element name="DrugStrengthUnitText" type="medicinecard20120601:DrugStrengthUnitTextType">
		<annotation>
			<documentation xml:lang="en-GB">Unit for drug strength, full text (LMS15 field 4)</documentation>
			<documentation xml:lang="da-DK">Enhed for lægemiddelstyrke, lang tekst (LMS15 felt 4)</documentation>
		</annotation>
	</element>
	<simpleType name="DrugStrengthUnitTextType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="50"/>
		</restriction>
	</simpleType>

	
	
	
	<element name="UnmarkPrescriptionMedicationDeprecated" type="medicinecard20120601:UnmarkPrescriptionMedicationDeprecatedType">
		<annotation>
			<documentation xml:lang="en-GB">For use in bulk service: Mark one or more prescription medications as no longer relevant</documentation>
			<documentation xml:lang="da-DK">Til brug i bulk service: Marker at en eller flere receptordinationer ikke længere er relevante</documentation>
		</annotation>
	</element>
	<complexType name="UnmarkPrescriptionMedicationDeprecatedType">
		<sequence>
			<element name="Identifier" type="medicinecard20120601:PrescriptionMedicationIdentifierType"/>
			<element minOccurs="0" name="ModifiedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ModificationMetadata" type="medicinecard20120601:ModificationMetadataType"/>			
		</sequence>
	</complexType>

	<element name="DrugMedicationTreatmentEndDate" type="medicinecard20120601:DrugMedicationTreatmentEndDateType">
		<annotation>
			<documentation xml:lang="en-GB">The date the drug medication ends</documentation>
			<documentation xml:lang="da-DK">Den dato lægemiddelordinationen afsluttes</documentation>
		</annotation>
	</element>
	<simpleType name="DrugMedicationTreatmentEndDateType">
		<restriction base="date">
			<minInclusive value="2000-01-01Z"/>
		</restriction>
	</simpleType>

	
	
	
	<element name="DrugIdentifier" type="medicinecard20120601:DrugIdentifierType">
		<annotation>
			<documentation xml:lang="en-GB">Unique drug identification. For definition in the DKMA price list LMS01 field 1. The format is TTTTNNNNNYY (T=type of drug, N=number, Y=year), e.g. 28101606385</documentation>
			<documentation xml:lang="da-DK">Unik identifikation af lægemiddel. For lægemidler i LMS takst LMS01 felt 1. Formatet er TTTTNNNNNYY (T=type af lægemiddel, N=nummer, Y=år), f.eks. 28101606385</documentation>
		</annotation>
	</element>
	<complexType name="DrugIdentifierType">
		<simpleContent>
			<extension base="medicinecard20120601:DrugIdentifierValueType">
				<attribute name="source" type="medicinecard20120601:DrugIdentifierSourceType" use="required"/>
				<attribute name="date" type="medicinecard20120601:SourceDateType" use="optional"/>
				<attribute name="yearAndWeek" type="medicinecard20120601:SourceYearAndWeekType" use="optional"/>
			</extension>
		</simpleContent>
	</complexType>
	<simpleType name="DrugIdentifierValueType">
		<restriction base="long">
			<minInclusive value="10000000000"/>
			<maxExclusive value="99999999999"/>
		</restriction>
	</simpleType>
	<simpleType name="DrugIdentifierSourceType">
		<union memberTypes="medicinecard20120601:DrugIdentifierPredefinedSourceType medicinecard20120601:UndefinedSourceType"/>
	</simpleType>
	<simpleType name="DrugIdentifierPredefinedSourceType">
		<restriction base="medicinecard20120601:UndefinedSourceType">
			<enumeration value="Medicinpriser"/>
			<enumeration value="Local"/>
		</restriction>
	</simpleType>

	
	
	
	
	
	
	
	
	
	
	
	<element name="Address" type="medicinecard20120601:AddressType"/>
	<complexType name="AddressType">
		<sequence>
			<element minOccurs="0" name="MailDeliverySublocationIdentifier" type="medicinecard20120601:MailDeliverySublocationIdentifierType"/>
			<element name="StreetName" type="medicinecard20120601:StreetNameType"/>
			<element minOccurs="0" name="StreetNameForAddressing" type="medicinecard20120601:StreetNameForAddressingType"/>
			<element name="StreetBuildingIdentifier" type="medicinecard20120601:StreetBuildingIdentifierType"/>
			<element minOccurs="0" name="FloorIdentifier" type="medicinecard20120601:FloorIdentifierType"/>
			<element minOccurs="0" name="SuiteIdentifier" type="medicinecard20120601:SuiteIdentifierType"/>
			<element minOccurs="0" name="DistrictSubdivisionIdentifier" type="medicinecard20120601:DistrictSubdivisionIdentifierType"/>
			<element minOccurs="0" name="PostOfficeBoxIdentifier" type="medicinecard20120601:PostOfficeBoxIdentifierType"/>
			<element name="PostCodeIdentifier" type="medicinecard20120601:PostCodeIdentifierType"/>
			<element name="DistrictName" type="medicinecard20120601:DistrictNameType"/>
			<element minOccurs="0" name="CountryIdentificationCode" type="medicinecard20120601:CountryIdentificationCodeType"/>
		</sequence>
	</complexType>

	<element name="PatientFlag" type="medicinecard20120601:PatientFlagType">
		<annotation>
			<documentation xml:lang="en-GB">Indicates a patient</documentation>
			<documentation xml:lang="da-DK">Markerer patient</documentation>
		</annotation>
	</element>
	<complexType name="PatientFlagType"/>

	<element name="PrintType" type="medicinecard20120601:PrintTypeType">
		<annotation>
			<documentation xml:lang="en-GB">Type of print to return</documentation>
			<documentation xml:lang="da-DK">Type af udskrift der skal returneres</documentation>
		</annotation>
	</element>
	<simpleType name="PrintTypeType">
		<restriction base="string">
			<enumeration value="læge"/>
			<enumeration value="borger"/>
		</restriction>
	</simpleType>

	
	
	<element name="Suspended" type="medicinecard20120601:SuspendedType">
		<annotation>
			<documentation xml:lang="en-GB">Information about who suspended the medicine card, at admission to hospital, including a timestamp when this occurred</documentation>
			<documentation xml:lang="da-DK">Information hvem der suspenderede medicinkortet, ved indlæggelse på sygehus, inklusiv tidspunktet</documentation>
		</annotation>
	</element>
	<complexType name="SuspendedType">
		<sequence>
			<element name="By" type="medicinecard20120601:ModificatorType"/>
			<element name="DateTime" type="medicinecard20120601:SuspendedDateTimeType"/>
		</sequence>
	</complexType>

	
	
	<element name="PatientWithoutCPR" type="medicinecard20120601:PatientWithoutCPRType">
		<annotation>
			<documentation xml:lang="en-GB">Description of the patient</documentation>
			<documentation xml:lang="da-DK">Patientoplysninger</documentation>
		</annotation>
	</element>
	<complexType name="PatientWithoutCPRType">
		<sequence>
			<element name="Person" type="medicinecard20120601:SimplePersonWithoutCPRType"/>
			<element minOccurs="0" name="Address" type="medicinecard20120601:AddressType"/>
		</sequence>
	</complexType>

	
	
	
	
	
	
	
	<element name="PauseDrugMedication" type="medicinecard20120601:PauseDrugMedicationType">
		<annotation>
			<documentation xml:lang="en-GB">Element for a request to pause a drugmedication</documentation>
			<documentation xml:lang="da-DK">Element for en forespørgsel der pauserer en lægemiddelordination</documentation>
		</annotation>
	</element>
	<complexType name="PauseDrugMedicationType">
		<sequence>
			<element name="Identifier" type="medicinecard20120601:DrugMedicationIdentifierType"/>
			<choice minOccurs="0">
				<element name="FromDate" type="medicinecard20120601:PausedFromDateType"/>
				<element name="FromDateTime" type="medicinecard20120601:PausedFromDateTimeType"/>
			</choice>
			<choice minOccurs="0">
				<element name="ToDate" type="medicinecard20120601:PausedToDateType"/>
				<element name="ToDateTime" type="medicinecard20120601:PausedToDateTimeType"/>
			</choice>
			<element minOccurs="0" name="PausedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ModificationMetadata" type="medicinecard20120601:ModificationMetadataType"/>
		</sequence>
	</complexType>

	<element name="ReiterationIntervalUnit" type="medicinecard20120601:ReiterationIntervalUnitType">
		<annotation>
			<documentation xml:lang="en-GB">Unit for re-iteration interval</documentation>
			<documentation xml:lang="da-DK">Enhed for reiterationsinterval</documentation>
		</annotation>
	</element>
	<simpleType name="ReiterationIntervalUnitType">
		<restriction base="string">
			<enumeration value="dage"/>
			<enumeration value="uger"/>
			<enumeration value="måneder"/>
		</restriction>
	</simpleType>

	
	
	<element name="Reviewed" type="medicinecard20120601:ReviewedType">
		<annotation>
			<documentation xml:lang="en-GB">Information about who Reviewed the medicine card, at admission to hospital, including a timestamp when this occurred</documentation>
			<documentation xml:lang="da-DK">Information hvem der evaluerede medicinkortet, ved indlæggelse på sygehus, inklusiv tidspunktet</documentation>
		</annotation>
	</element>
	<complexType name="ReviewedType">
		<sequence>
			<element name="By" type="medicinecard20120601:ModificatorType"/>
			<element name="DateTime" type="medicinecard20120601:ReviewedDateTimeType"/>
		</sequence>
	</complexType>

	<element name="DosageTimesIterationInterval" type="medicinecard20120601:DosageTimesIterationIntervalType">
		<annotation>
			<documentation xml:lang="en-GB">Time interval between iterations for dosage times specified in days</documentation>
			<documentation xml:lang="da-DK">Tidsinterval mellem iterationer for doseringstidspunkter angivet i dage</documentation>
		</annotation>
	</element>
	<simpleType name="DosageTimesIterationIntervalType">
		<restriction base="int">
			<minInclusive value="1"/>
			<maxInclusive value="365"/>
		</restriction>
	</simpleType>

	<element name="DetailedDrugText" type="medicinecard20120601:DetailedDrugTextType">
		<annotation>
			<documentation xml:lang="en-GB">Text describing a detailed drug (a detailed prescription)</documentation>
			<documentation xml:lang="da-DK">Tekst der beskriver et magistrelt lægemiddel</documentation>
		</annotation>
	</element>
	<simpleType name="DetailedDrugTextType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="400"/>
		</restriction>
	</simpleType>

	<element name="EmailAddress" type="medicinecard20120601:EmailAddressType">
		<annotation>
			<documentation xml:lang="da">Email address</documentation>
		</annotation>
	</element>
	<simpleType name="EmailAddressType">
		<restriction base="string">
			<minLength value="6"/>
			<maxLength value="256"/>
		</restriction>
	</simpleType>

	<element name="DrugMedicationTreatmentEndDateTime" type="medicinecard20120601:DrugMedicationTreatmentEndDateTimeType">
		<annotation>
			<documentation xml:lang="en-GB">The date and time the drug medication ends</documentation>
			<documentation xml:lang="da-DK">Dato og tidspunkt lægemiddelordinationen afsluttes</documentation>
		</annotation>
	</element>
	<simpleType name="DrugMedicationTreatmentEndDateTimeType">
		<restriction base="dateTime">
			<minInclusive value="2000-01-01T00:00:00Z"/>
		</restriction>
	</simpleType>

	
	
	
	<element name="SearchEffectuationsRequest" type="medicinecard20120601:SearchEffectuationsRequestType">
		<annotation>
			<documentation xml:lang="en-GB">Element for a request for effectuations
			</documentation>
			<documentation xml:lang="da-DK">Element for en forespørgsel efter effektueringer
			</documentation>
		</annotation>
	</element>
	<complexType name="SearchEffectuationsRequestType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element minOccurs="0" name="FromDateTime" type="medicinecard20120601:EffectuationDateTimeType"/>
			<element minOccurs="0" name="ToDateTime" type="medicinecard20120601:EffectuationDateTimeType"/>
			<element minOccurs="0" name="IncludeEffectuationsOnDrugMedications" type="def4:boolean"/>
			<element minOccurs="0" name="IncludeEffectuationsOnPrescriptionMedicationsOnDrugMedications" type="def4:boolean"/>
			<element minOccurs="0" name="IncludeEffectuationsNotOnDrugMedications" type="def4:boolean"/>
			<element minOccurs="0" name="NegativeConsent" type="medicinecard20120601:NegativeConsentRequestType"/>
		</sequence>
	</complexType>

	<element name="DosageTimesEndDate" type="medicinecard20120601:DosageTimesEndDateType">
		<annotation>
			<documentation xml:lang="en-GB">End date for a set of dosage times</documentation>
			<documentation xml:lang="da-DK">Slutdato for et sæt af doseringstidspunkter</documentation>
		</annotation>
	</element>
	<simpleType name="DosageTimesEndDateType">
		<restriction base="date">
			<minInclusive value="2000-01-01"/>
		</restriction>
	</simpleType>

	
	
	<element name="ResuspendMedicineCard" type="medicinecard20120601:ResuspendMedicineCardType">
		<annotation>
			<documentation xml:lang="en-GB">Information about change of admission to hospital</documentation>
			<documentation xml:lang="da-DK">Information omkring ændring af indlæggelse på sygehus</documentation>
		</annotation>
	</element>
	<complexType name="ResuspendMedicineCardType">
		<sequence>
			<element minOccurs="0" name="SuspendedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ModificationMetadata" type="medicinecard20120601:ModificationMetadataType"/>			
		</sequence>
	</complexType>

	
	
	
	<element name="DosageCode" type="medicinecard20120601:DosageCodeType">
		<annotation>
			<documentation xml:lang="en-GB">Code for dosage. In FMK only used on prescriptions, otherwise structured dosages in the Dosage element is used</documentation>
			<documentation xml:lang="da-DK">Kode for dosering. I FMK kun brugt på recepter, ellers anvendes strukturerede doseringer i Dosage-elementet</documentation>
		</annotation>
	</element>
	<complexType name="DosageCodeType">
		<simpleContent>
			<extension base="medicinecard20120601:DosageCodeValueType">
				<attribute name="source" type="medicinecard20120601:DosageCodeSourceType" use="required"/>
				<attribute name="date" type="medicinecard20120601:SourceDateType" use="optional"/>
				<attribute name="yearAndWeek" type="medicinecard20120601:SourceYearAndWeekType" use="optional"/>
			</extension>
		</simpleContent>
	</complexType>
	<simpleType name="DosageCodeValueType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="8"/>
		</restriction>
	</simpleType>
	<simpleType name="DosageCodeSourceType">
		<union memberTypes="medicinecard20120601:DosageCodePredefinedSourceType medicinecard20120601:UndefinedSourceType"/>
	</simpleType>
	<simpleType name="DosageCodePredefinedSourceType">
		<restriction base="medicinecard20120601:UndefinedSourceType">
			<enumeration value="Medicinpriser"/>
		</restriction>
	</simpleType>

	<element name="LatestEffectuationDateTime" type="medicinecard20120601:LatestEffectuationDateTimeType">
		<annotation>
			<documentation xml:lang="en-GB">The last time the prescription was effectuated</documentation>
			<documentation xml:lang="da-DK">Det seneste tidspunkt der er foretaget en udlevering på receptordinationen</documentation>
		</annotation>
	</element>
	<simpleType name="LatestEffectuationDateTimeType">
		<restriction base="dateTime">
			<minInclusive value="2000-01-01T00:00:00Z"/>
		</restriction>
	</simpleType>

	
	
	
	
	<element name="DosageTranslation" type="medicinecard20120601:DosageTranslationType">
		<annotation>
			<documentation xml:lang="en-GB">Dosage structure translated to text plus a calulated average daily dosage</documentation>
			<documentation xml:lang="da-DK">Dosisstrukturen oversat til tekst samt beregnet gennemsnitlig daglig dosis</documentation>
		</annotation>
	</element>
	<complexType name="DosageTranslationType">
		<sequence>
			<element minOccurs="0" name="ShortText" type="medicinecard20120601:DosageTranslationShortTextType"/>
			<element name="LongText" type="medicinecard20120601:DosageTranslationLongTextType"/>
			<sequence minOccurs="0">
				<choice>
					<element name="AverageDailyDosage" type="medicinecard20120601:DoseQuantityType"/>
					<sequence>
						<element name="MinimalAverageDailyDosage" type="medicinecard20120601:DoseQuantityType"/>
						<element name="MaximalAverageDailyDosage" type="medicinecard20120601:DoseQuantityType"/>
					</sequence>
				</choice>
				<element name="UnitText" type="medicinecard20120601:DosageQuantityUnitTextType"/>
			</sequence>
		</sequence>
	</complexType>

	
	<element name="AnyDosageDay" type="medicinecard20120601:DosageAnyDayType">
		<annotation>
			<documentation xml:lang="en-GB">Group of dosage times for the same day</documentation>
			<documentation xml:lang="da-DK">Gruppering af doseringstidspunkter på samme dag</documentation>
		</annotation>
	</element>
	<complexType name="DosageAnyDayType">
		<sequence>
			<sequence>
				<element maxOccurs="unbounded" name="Dose" type="medicinecard20120601:DoseForAnyDayType"/>
			</sequence>
		</sequence>
	</complexType>

	
	
	
	
	
	
	<element name="DoseDispensedPrescriptionDispensing" type="medicinecard20120601:DoseDispensedPrescriptionDispensingType">
		<annotation>
			<documentation xml:lang="en-GB">Information dispensing the package through dosage dispensing</documentation>
			<documentation xml:lang="da-DK">Information til dosisdispensering</documentation>
		</annotation>
	</element>
	<complexType name="DoseDispensedPrescriptionDispensingType">
		<sequence>
			<element name="PackageNumber" type="medicinecard20120601:PackageNumberType"/>
			<element name="CopyRequired" type="medicinecard20120601:CopyRequiredType"/>
			<element minOccurs="0" name="DosageCode" type="medicinecard20120601:DosageCodeType"/>
			<element name="DosageText" type="medicinecard20120601:DosageTextType"/>
			<element minOccurs="0" name="StartDate" type="medicinecard20120601:DoseDispensingStartDateType"/>
			<element minOccurs="0" name="EndDate" type="medicinecard20120601:DoseDispensingEndDateType"/>
		</sequence>
	</complexType>

	<element name="PrescriptionServerError" type="medicinecard20120601:PrescriptionServerErrorType">
		<annotation>
			<documentation xml:lang="en-GB">Contains information about error ocurred when calling the prescription server </documentation>
			<documentation xml:lang="da-DK">Indeholder information omkring fejl opstået ved kald til receptserveren</documentation>
		</annotation>
	</element>
	<simpleType name="PrescriptionServerErrorType">
		<restriction base="string">
			<minLength value="0"/>
			<maxLength value="300"/>
		</restriction>
	</simpleType>

	
	
	
	<element name="SetMedicineCardReviewedResponse" type="medicinecard20120601:SetMedicineCardReviewedResponseType">
		<annotation>
			<documentation xml:lang="en-GB">Element for a response from a request to set a date and time for a review of the medicine card</documentation>
			<documentation xml:lang="da-DK">Element for et svar fra en forespørgsel til at sætte dato og tid for en medicinkort-gennemgang</documentation>
		</annotation>
	</element>
	<complexType name="SetMedicineCardReviewedResponseType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element minOccurs="0" name="VersionMismatchWarning" type="medicinecard20120601:VersionMismatchWarningType"/>
		</sequence>
	</complexType>

	<element name="DrugMedicationTreatmentEndingUndetermined" type="medicinecard20120601:DrugMedicationTreatmentEndingUndeterminedType">
		<annotation>
			<documentation xml:lang="en-GB">Indicates that the drug medication ending i undetermined, e.g. because the treatment is continuous</documentation>
			<documentation xml:lang="da-DK">Angiver at behandlingen afslutning er uafgjort, f.eks. fordi der er tale om en fast behandling</documentation>
		</annotation>
	</element>
	<complexType name="DrugMedicationTreatmentEndingUndeterminedType"/>

	
	<element name="PrescriptionReplicationStatus" type="medicinecard20120601:PrescriptionReplicationStatusType">
		<annotation>
			<documentation xml:lang="en-GB">Structure containing status for the replication of prescriptions.</documentation>
			<documentation xml:lang="da-DK">En structur der indeholder status for replikeringen af recepter</documentation>
		</annotation>
	</element>
	<complexType name="PrescriptionReplicationStatusType">
		<sequence>
			<element name="LatestReplicationDateTime" type="medicinecard20120601:LatestReplicationDateTimeType"/>
		</sequence>
	</complexType>

	
	
	<element name="DrugMedicationWithNegativeConsent" type="medicinecard20120601:DrugMedicationWithNegativeConsentType">
		<annotation>
			<documentation xml:lang="en-GB">This structure contains drug medication identifiers and version for drug medications with negative consent.</documentation>
			<documentation xml:lang="da-DK">Denne struktur indeholder drug id'er og version for lægemiddelordinationer med negativt samtykke.</documentation>
		</annotation>
	</element>
	<complexType name="DrugMedicationWithNegativeConsentType">
		<sequence>
			<element name="Identifier" type="medicinecard20120601:DrugMedicationIdentifierType"/>
			<element name="Version" type="medicinecard20120601:DrugMedicationVersionType"/>
		</sequence>
	</complexType>

	
	
	
	<element name="Patient" type="medicinecard20120601:PatientType">
		<annotation>
			<documentation xml:lang="en-GB">Description of the patient</documentation>
			<documentation xml:lang="da-DK">Patientoplysninger</documentation>
		</annotation>
	</element>
	<complexType name="PatientType">
		<sequence>
			<element name="Person" type="medicinecard20120601:SimpleCPRPersonType"/>
			<choice minOccurs="0">
				<element name="Address" type="medicinecard20120601:AddressType"/>
				<element name="AddressProtected" type="medicinecard20120601:AddressProtectedType"/>
			</choice>
		</sequence>
	</complexType>

	<element name="SuiteIdentifier" type="medicinecard20120601:SuiteIdentifierType">
		<annotation>
			<documentation>
			Identification which describes the location of a specific entrance door on a floor or level (repos) in the staircase referred to.
			</documentation>
		</annotation>
	</element>
	<simpleType name="SuiteIdentifierType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="4"/>
		</restriction>
	</simpleType>

	
	
	<element name="UnpausedDrugMedication" type="medicinecard20120601:UnpausedDrugMedicationType">
		<annotation>
			<documentation xml:lang="en-GB">Element with IDs returned when a drug medication has been unpaused</documentation>
			<documentation xml:lang="da-DK">Element med IDer returneret når en lægemiddelinformation har fået fjernet er blevet pauseringen</documentation>
		</annotation>
	</element>
	<complexType name="UnpausedDrugMedicationType">
		<sequence>
			<element name="Identifier" type="medicinecard20120601:DrugMedicationIdentifierType"/>
			<element name="Version" type="medicinecard20120601:DrugMedicationVersionType"/>
		</sequence>
	</complexType>

	<element name="IndicationFreeText" type="medicinecard20120601:IndicationFreeTextType">
		<annotation>
			<documentation xml:lang="en-GB">Indication text in free form</documentation>
			<documentation xml:lang="da-DK">Indikationstekst som fritekst</documentation>
		</annotation>
	</element>
	<simpleType name="IndicationFreeTextType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="400"/>
		</restriction>
	</simpleType>

	<element name="IncludePrescriptionMedications" type="medicinecard20120601:IncludePrescriptionMedicationsType">
		<annotation>
			<documentation xml:lang="en-GB">Indicates if the medicine card or the drug medication is to be returned with prescription medications</documentation>
			<documentation xml:lang="da-DK">Angiver hvorvidt medicinkortet eller lægemiddelordinationen skal returneres med receptordinationer.</documentation>
		</annotation>
	</element>
	<simpleType name="IncludePrescriptionMedicationsType">
		<restriction base="boolean"/>
	</simpleType>

	
	<element name="CreatePrescriptionMedicationWithoutCPRResponse" type="medicinecard20120601:CreatePrescriptionMedicationWithoutCPRResponseType">
		<annotation>
			<documentation xml:lang="en-GB">Response document containing one or more responses from creating prescription medications from drug medications</documentation>
			<documentation xml:lang="da-DK">Response-dokument der indeholder en eller flere svar på oprettelse receptordinationer fra lægemiddelordinationer</documentation>
		</annotation>
	</element>
	<complexType name="CreatePrescriptionMedicationWithoutCPRResponseType">
		<sequence>
			<element maxOccurs="unbounded" name="Identifier" type="medicinecard20120601:PrescriptionMedicationIdentifierType"/>
		</sequence>
	</complexType>

	<element name="PackageQuantity" type="medicinecard20120601:PackageQuantityType">
		<annotation>
			<documentation xml:lang="en-GB">Contains the numer of packages</documentation>
			<documentation xml:lang="da-DK">Angiver antallet af pakninger</documentation>
		</annotation>
	</element>
	<simpleType name="PackageQuantityType">
		<restriction base="integer">
			<minInclusive value="1"/>
			<maxInclusive value="9999"/>     
		</restriction>
	</simpleType>

	
	
	
	
	
	
	
	<element name="CreateOrUpdateDrugMedicationBeginEndDate" type="medicinecard20120601:CreateOrUpdateDrugMedicationBeginEndDateType">
		<annotation>
			<documentation xml:lang="en-GB">Indicates a periode where the drug medication is active</documentation>
			<documentation xml:lang="da-DK">Angiver en periode hvor lægemiddelordinationen gælder</documentation>
		</annotation>
	</element>
	<complexType name="CreateOrUpdateDrugMedicationBeginEndDateType">
		<sequence>
			<choice>
				<element name="TreatmentStartDate" type="medicinecard20120601:DrugMedicationTreatmentStartDateType"/>
				<element name="TreatmentStartDateTime" type="medicinecard20120601:DrugMedicationTreatmentStartDateTimeType"/>
				<element name="TreatmentStartedPreviously" type="medicinecard20120601:DrugMedicationTreatmentStartedPreviouslyType"/>
			</choice>
			<choice>
				<element name="TreatmentEndDate" type="medicinecard20120601:DrugMedicationTreatmentEndDateType"/>
				<element name="TreatmentEndDateTime" type="medicinecard20120601:DrugMedicationTreatmentEndDateTimeType"/>
				<element name="TreatmentEndingUndetermined" type="medicinecard20120601:DrugMedicationTreatmentEndingUndeterminedType"/>
			</choice>
		</sequence>
	</complexType>

	
	
	
	
	
	
	
	
	<element name="ReiteratedPrescriptionDispensing" type="medicinecard20120601:ReiteratedPrescriptionDispensingType">
		<annotation>
			<documentation xml:lang="en-GB">Information dispensing the package two or more times</documentation>
			<documentation xml:lang="da-DK">Information til to eller flere udleveringer</documentation>
		</annotation>
	</element>
	<complexType name="ReiteratedPrescriptionDispensingType">
		<sequence>
			<element name="PackageNumber" type="medicinecard20120601:PackageNumberType"/>
			<element minOccurs="0" name="FreeTradePackageSizeText" type="medicinecard20120601:PackageSizeTextType"/>
			<element name="ReiterationNumber" type="medicinecard20120601:ReiterationNumberType"/>
			<element name="ReiterationInterval" type="medicinecard20120601:ReiterationIntervalType"/>
			<element name="ReiterationIntervalUnit" type="medicinecard20120601:ReiterationIntervalUnitType"/>
			<element name="PackageQuantity" type="medicinecard20120601:PackageQuantityType"/>
			<element minOccurs="0" name="DosageCode" type="medicinecard20120601:DosageCodeType"/>
			<element name="DosageText" type="medicinecard20120601:DosageTextType"/>
		</sequence>
	</complexType>

	<element name="DrugMedicationTreatmentStartedPreviously" type="medicinecard20120601:DrugMedicationTreatmentStartedPreviouslyType">
		<annotation>
			<documentation xml:lang="en-GB">Indicates that the drug medication treatment was started at some time before the creating on FMK of the drug medication</documentation>
			<documentation xml:lang="da-DK">Angiver at behandling er startet tidligere end selve oprettelsen af lægemiddeordinationen på FMK</documentation>
		</annotation>
	</element>
	<complexType name="DrugMedicationTreatmentStartedPreviouslyType"/>

	<element name="MedicineCardAsPDF" type="medicinecard20120601:MedicineCardAsPDFType">
		<annotation>
			<documentation xml:lang="en-GB">A medicine card as PDF embedded as BASE64 encoded text</documentation>
			<documentation xml:lang="da-DK">Et medicinkort indlejret som BASE64 encoded tekst</documentation>
		</annotation>
	</element>
	<simpleType name="MedicineCardAsPDFType">
		<restriction base="string"/>
	</simpleType>

	<element name="DosageType" type="medicinecard20120601:DosageTypeType">
		<annotation>
			<documentation xml:lang="en-GB">Gender</documentation>
			<documentation xml:lang="da-DK">Køn</documentation>
		</annotation>
	</element>
	<simpleType name="DosageTypeType">
		<restriction base="string">
			<enumeration value="engangs"/>
			<enumeration value="temporær"/>
			<enumeration value="fast"/>
			<enumeration value="efter behov"/>
			<enumeration value="kombineret"/>
			<enumeration value="ikke angivet"/>
		</restriction>
	</simpleType>

	<element name="PersonNameProtected" type="medicinecard20120601:PersonNameProtectedType">
		<annotation>
			<documentation xml:lang="en-GB">Indicates that the name is protected and not returned</documentation>
			<documentation xml:lang="da-DK">Angiver navnebeskyttelse og at navnet derfor ikke returneres</documentation>
		</annotation>
	</element>
	<complexType name="PersonNameProtectedType"/>

	<element name="DrugStrengthValue" type="medicinecard20120601:DrugStrengthValueType">
		<annotation>
			<documentation xml:lang="en-GB">Drug strength, numerical value (DMA01 field 11)</documentation>
			<documentation xml:lang="da-DK">Lægemiddelstyrke, numerisk værdi (LMS01 felt 11)</documentation>
		</annotation>
	</element>
	<simpleType name="DrugStrengthValueType">
		<restriction base="decimal">
			<fractionDigits value="3"/>
			<totalDigits value="10"/>
			<minInclusive value="0.000"/>
		</restriction>
	</simpleType>

	
	
	
	<element name="GetPermissionsRequest" type="medicinecard20120601:GetPermissionsRequestType">
		<annotation>
			<documentation xml:lang="en-GB">Request the list of Permissions possessed by the caller</documentation>
			<documentation xml:lang="da-DK">Anmodning om en liste indeholdende de rettigheder, der er tildelt kalderen</documentation>
		</annotation>
	</element>
	<complexType name="GetPermissionsRequestType">
		<choice>
			<element ref="medicinecard20120601:GetAllPermissions"/>
			<element ref="medicinecard20120601:GetCallersPermissions"/>
			<element ref="medicinecard20120601:GetCallersPermissionsToPerson"/>
		</choice>
	</complexType>

	<attribute name="SourceDate" type="medicinecard20120601:SourceDateType">
		<annotation>
			<documentation xml:lang="en-GB">Date the source is defined for</documentation>
			<documentation xml:lang="da-DK">Datoen kilden er defineret for</documentation>
		</annotation>
	</attribute>
	<simpleType name="SourceDateType">
		<restriction base="string">
			<pattern value="[1-2][0-9][0-9][0-9]-[0-1][0-9]-[0-3][0-9]"/>
		</restriction>
	</simpleType>

	
	
	
	
	
	<element name="SearchEffectuationsResponse" type="medicinecard20120601:SearchEffectuationsResponseType">
		<annotation>
			<documentation xml:lang="en-GB">Response containing effectuations</documentation>
			<documentation xml:lang="da-DK">Svar indeholdende effektueringer</documentation>
		</annotation>
	</element>
	<complexType name="SearchEffectuationsResponseType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="DrugMedicationWithNegativeConsent" type="medicinecard20120601:DrugMedicationWithNegativeConsentType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="DrugMedication" type="medicinecard20120601:EffectuationsOnDrugMedicationType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="PrescriptionMedication" type="medicinecard20120601:EffectuationsOnPrescriptionMedicationType"/>
			<element minOccurs="0" name="MoreAvailable" type="medicinecard20120601:MoreAvailableType"/>
		</sequence>
	</complexType>

	<element name="AuthorisedHealthcareProfessionalName" type="medicinecard20120601:AuthorisedHealthcareProfessionalNameType">
		<annotation>
			<documentation xml:lang="en-GB">The name of the a authorised healthcare professional, may also contain occupation</documentation>
			<documentation xml:lang="da-DK">Navnet på den ordinerende autoriserede sundhedsperson, kan også indeholde stilling</documentation>
		</annotation>
	</element>
	<simpleType name="AuthorisedHealthcareProfessionalNameType">
		<restriction base="string">
			<maxLength value="200"/>
		</restriction>
	</simpleType>

	<element name="GetCallersPermissions" type="medicinecard20120601:GetCallersPermissionsType">
		<annotation>
			<documentation xml:lang="da-DK">Forespørgsel på rettigheder</documentation>
		</annotation>
	</element>
	<complexType name="GetCallersPermissionsType"/>

	<element name="IsAccordingToNeed" type="medicinecard20120601:IsAccordingToNeedType">
		<annotation>
			<documentation xml:lang="en-GB">AIndicates that the dose is according to need</documentation>
			<documentation xml:lang="da-DK">Angiver at dosen er efter behov</documentation>
		</annotation>
	</element>
	<complexType name="IsAccordingToNeedType"/>

	
	
	
	<element name="AuthorisedHealthcareProfessional" type="medicinecard20120601:AuthorisedHealthcareProfessionalType">
		<annotation>
			<documentation xml:lang="en-GB">Contains authorisation number and name of an authorised healthchare professional</documentation>
			<documentation xml:lang="da-DK">Indeholder autorsationsnummer og navn på en autoriseret sundhedsperson</documentation>
		</annotation>
	</element>
	<complexType name="AuthorisedHealthcareProfessionalType">
		<sequence>
			<element name="AuthorisationIdentifier" type="medicinecard20120601:AuthorisationIdentifierType"/>
			<element name="Name" type="medicinecard20120601:AuthorisedHealthcareProfessionalNameType"/>
			<element minOccurs="0" name="SpecialityCode" type="medicinecard20120601:SpecialityCodeType"/>
		</sequence>
	</complexType>

		
	
	
	<element name="CancelPrescriptionMedication" type="medicinecard20120601:CancelPrescriptionMedicationType">
		<annotation>
			<documentation xml:lang="en-GB">For use in bulk service: Mark one or more prescription medications as invalid</documentation>
			<documentation xml:lang="da-DK">Til brug i bulk service: Marker at en eller flere receptordinationer er ugyldige</documentation>
		</annotation>
	</element>
	<complexType name="CancelPrescriptionMedicationType">
		<sequence>
			<element name="Identifier" type="medicinecard20120601:PrescriptionMedicationIdentifierType"/>
			<element minOccurs="0" name="ModifiedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ModificationMetadata" type="medicinecard20120601:ModificationMetadataType"/>						
		</sequence>
	</complexType>

	<element name="ReimbursementClause" type="medicinecard20120601:ReimbursementClauseType">
		<annotation>
			<documentation xml:lang="en-GB">Reimbursement clause</documentation>
			<documentation xml:lang="da-DK">Tilsudskode på recepten</documentation>
		</annotation>
	</element>
	<simpleType name="ReimbursementClauseType">
		<restriction base="string">
			<enumeration value="klausulbetingelse opfyldt"/>
		</restriction>
	</simpleType>

	
	<element name="ReceiverEAN" type="medicinecard20120601:ReceiverEANType">
		<annotation>
			<documentation xml:lang="en-GB">Receiver EAN number</documentation>
			<documentation xml:lang="da-DK">Modtagerens EAN nummer</documentation>
		</annotation>
	</element>
	<complexType name="ReceiverEANType">
		<sequence>
			<element name="ReceiverEAN" type="ean:EAN13IdentifierType"/>
		</sequence>
	</complexType>

	
	
	
	<element name="SearchWithdrawnDrugMedicationsResponse" type="medicinecard20120601:SearchWithdrawnDrugMedicationsResponseType">
		<annotation>
			<documentation xml:lang="en-GB">Response from a search request for withdrawn drug medcinations</documentation>
			<documentation xml:lang="da-DK">Svar på en søge-forespørgsel efter seponerede lægemiddelordinationer</documentation>
		</annotation>
	</element>
	<complexType name="SearchWithdrawnDrugMedicationsResponseType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="NegativeConsent" type="medicinecard20120601:DrugMedicationWithNegativeConsentType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="Identifier" type="medicinecard20120601:DrugMedicationIdentifierType"/>
		</sequence>
	</complexType>

	
	
	<element name="Withdrawn" type="medicinecard20120601:WithdrawnType">
		<annotation>
			<documentation xml:lang="en-GB">Informations about who, when and why the drug medication was withdrawn</documentation>
			<documentation xml:lang="da-DK">Information om hvem, hvornår og hvorfor lægemiddelordination er seponeret </documentation>
		</annotation>
	</element>
	<complexType name="WithdrawnType">
		<sequence>
			<element name="By" type="medicinecard20120601:ModificatorType"/>
			<element name="DateTime" type="medicinecard20120601:WithdrawnDateTimeType"/>
		</sequence>
	</complexType>

	
	
	
	<element name="PackageNumber" type="medicinecard20120601:PackageNumberType">
		<annotation>
			<documentation xml:lang="en-GB">The package number (DMA02 field 2)</documentation>
			<documentation xml:lang="da-DK">Lægemiddelpakningens varenummer (LMS02 felt 2)</documentation>
		</annotation>
	</element>
	<complexType name="PackageNumberType">
		<simpleContent>
			<extension base="medicinecard20120601:PackageNumberValueType">
				<attribute name="source" type="medicinecard20120601:PackageNumberSourceType" use="required"/>
				<attribute name="date" type="medicinecard20120601:SourceDateType" use="optional"/>
				<attribute name="yearAndWeek" type="medicinecard20120601:SourceYearAndWeekType" use="optional"/>
			</extension>
		</simpleContent>
	</complexType>
	<simpleType name="PackageNumberValueType">
		<restriction base="int">
			<minInclusive value="1"/>
			<maxInclusive value="999999"/>
		</restriction>
	</simpleType>
	<simpleType name="PackageNumberSourceType">
		<union memberTypes="medicinecard20120601:PackageNumberPredefinedSourceType medicinecard20120601:UndefinedSourceType"/>
	</simpleType>
	<simpleType name="PackageNumberPredefinedSourceType">
		<restriction base="medicinecard20120601:UndefinedSourceType">
			<enumeration value="Medicinpriser"/>
			<enumeration value="Frihandelsvare"/>
		</restriction>
	</simpleType>

	<element name="DoseTime" type="medicinecard20120601:DoseTimeType">
		<annotation>
			<documentation xml:lang="en-GB">The actual time of a dosage time</documentation>
			<documentation xml:lang="da-DK">Klokkeslettet for et doseringstidspunkt</documentation>
		</annotation>
	</element>
	<simpleType name="DoseTimeType">
		<union memberTypes="medicinecard20120601:MorningNoonEveningNightDoseTimeType medicinecard20120601:TimeDoseTimeType">
		</union>
	</simpleType>
	<simpleType name="MorningNoonEveningNightDoseTimeType">
		<restriction base="string">
			<enumeration value="morning"/>
			<enumeration value="noon"/>
			<enumeration value="evening"/>
			<enumeration value="night"/>
		</restriction>
	</simpleType>
	<simpleType name="TimeDoseTimeType">
		<restriction base="time"/>
	</simpleType>

	
	
	
	
	
	
	
	<element name="DrugMedicationBeginEndDate" type="medicinecard20120601:DrugMedicationBeginEndDateType">
		<annotation>
			<documentation xml:lang="en-GB">Indicates a periode where the drug medication is active</documentation>
			<documentation xml:lang="da-DK">Angiver en periode hvor lægemiddelordinationen gælder</documentation>
		</annotation>
	</element>
	<complexType name="DrugMedicationBeginEndDateType">
		<sequence>
			<element minOccurs="0" name="CreatedDateTime" type="medicinecard20120601:DrugMedicationCreatedDateTimeType"/>
			<choice>
				<element name="TreatmentStartDate" type="medicinecard20120601:DrugMedicationTreatmentStartDateType"/>
				<element name="TreatmentStartDateTime" type="medicinecard20120601:DrugMedicationTreatmentStartDateTimeType"/>
				<element name="TreatmentStartedPreviously" type="medicinecard20120601:DrugMedicationTreatmentStartedPreviouslyType"/>
			</choice>
			<choice>
				<element name="TreatmentEndDate" type="medicinecard20120601:DrugMedicationTreatmentEndDateType"/>
				<element name="TreatmentEndDateTime" type="medicinecard20120601:DrugMedicationTreatmentEndDateTimeType"/>
				<element name="TreatmentEndingUndetermined" type="medicinecard20120601:DrugMedicationTreatmentEndingUndeterminedType"/>
			</choice>
		</sequence>
	</complexType>

	<element name="RequestedRole" type="medicinecard20120601:RequestedRoleType">
		<annotation>
			<documentation xml:lang="da-DK">Brugerens rolle</documentation>
		</annotation>
	</element>
	<simpleType name="RequestedRoleType">
		<union memberTypes="medicinecard20120601:PredefinedRequestedRole medicinecard20120601:UndefinedRequestedRole"/>
	</simpleType>
	<simpleType name="PredefinedRequestedRole">
		<restriction base="string">
			<enumeration value="Læge"/>
			<enumeration value="Tandlæge"/>
			<enumeration value="Jordemoder"/>
			<enumeration value="Sygeplejerske"/>
			<enumeration value="Social- og sundhedsassistent"/>
			<enumeration value="Social- og sundhedshjælper"/>
			<enumeration value="Sundhedsplejerske"/>
			<enumeration value="Farmaceut"/>
			<enumeration value="Farmakonom"/>
			<enumeration value="Assistent for Læge"/>
			<enumeration value="Assistent for Tandlæge"/>
			<enumeration value="Assistent for Sygeplejerske"/>
			<enumeration value="Assistent for Jordemoder"/>
			<enumeration value="Assistent for Social- og sundhedsassistent"/>
			<enumeration value="Borger"/>
			<enumeration value="Forældermyndighed"/>
			<enumeration value="Værge"/>
			<enumeration value="Web administrator"/>
		</restriction>
	</simpleType>
	<simpleType name="UndefinedRequestedRole">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="200"/>
		</restriction>
	</simpleType>

	<element name="WithdrawnDateTime" type="medicinecard20120601:WithdrawnDateTimeType">
		<annotation>
			<documentation xml:lang="en-GB">Modified date time</documentation>
			<documentation xml:lang="da-DK">Ændringsdato og tid</documentation>
		</annotation>
	</element>
	<simpleType name="WithdrawnDateTimeType">
		<restriction base="dateTime">
			<minInclusive value="2000-01-01T00:00:00Z"/>
		</restriction>
	</simpleType>

	<element name="PausedFromDateTime" type="medicinecard20120601:PausedFromDateTimeType">
		<annotation>
			<documentation xml:lang="en-GB">Paused date time</documentation>
			<documentation xml:lang="da-DK">Pauseringsdato og tid</documentation>
		</annotation>
	</element>
	<simpleType name="PausedFromDateTimeType">
		<restriction base="dateTime">
			<minInclusive value="2000-01-01T00:00:00Z"/>
		</restriction>
	</simpleType>

	<element name="CopyRequired" type="medicinecard20120601:CopyRequiredType">
		<annotation>
			<documentation xml:lang="en-GB">Indicates if the doctor requires a copy of the dosage card</documentation>
			<documentation xml:lang="da-DK">Angiver hvorvidt lægen kræver en kopi af doseringskortet</documentation>
		</annotation>
	</element>
	<simpleType name="CopyRequiredType">
		<restriction base="boolean"/>
	</simpleType>

	
	<element name="GetMedicineCardVersionRequest" type="medicinecard20120601:GetMedicineCardVersionRequestType">
		<annotation>
			<documentation xml:lang="en-GB">Outer container elemenet for a request for a medicinecards version</documentation>
			<documentation xml:lang="da-DK">Ydre container-element for en forespørgsel efter et medicinkorts version</documentation>
		</annotation>
	</element>
	<complexType name="GetMedicineCardVersionRequestType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
		</sequence>
	</complexType>

	
	
	
	
	
	<element name="CancelPrescriptionMedicationRequest" type="medicinecard20120601:CancelPrescriptionMedicationRequestType">
		<annotation>
			<documentation xml:lang="en-GB">Mark one or more prescription medications as invalid</documentation>
			<documentation xml:lang="da-DK">Marker at en eller flere receptordinationer er ugyldige</documentation>
		</annotation>
	</element>
	<complexType name="CancelPrescriptionMedicationRequestType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element minOccurs="0" name="ModifiedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ReportedBy" type="medicinecard20120601:ModificatorType"/>
			<element maxOccurs="unbounded" name="PrescriptionMedication" type="medicinecard20120601:CancelPrescriptionMedicationType"/>
		</sequence>
	</complexType>

	<element name="MoreAvailable" type="medicinecard20120601:MoreAvailableType">
		<annotation>
			<documentation xml:lang="en-GB">A warning of that the resultset has been limited. There are more documents on the server which satisfies the search criteria.</documentation>
			<documentation xml:lang="da-DK">En advarsel om at reslutatet er begrænset, der findes flere dokumenter på serveren der opfylder søgekriterierne.</documentation>
		</annotation>
	</element>
	<complexType name="MoreAvailableType"/>

	<element name="PostCode" type="medicinecard20120601:PostCodeType">
		<annotation>
			<documentation xml:lang="en-GB">Postal code, must match the XML prescription and allow for other post codes than Danish ones</documentation>
			<documentation xml:lang="da-DK">Postnummer, skal passe the XML recepten og tillade andre postnumre end danske</documentation>
		</annotation>
	</element>
	<simpleType name="PostCodeType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="9"/>
		</restriction>
	</simpleType>

	<element name="PausedToDateTime" type="medicinecard20120601:PausedToDateTimeType">
		<annotation>
			<documentation xml:lang="en-GB">Paused date time</documentation>
			<documentation xml:lang="da-DK">Pauseringsdato og tid</documentation>
		</annotation>
	</element>
	<simpleType name="PausedToDateTimeType">
		<restriction base="dateTime">
			<minInclusive value="2000-01-01T00:00:00Z"/>
		</restriction>
	</simpleType>

	<element name="DosageDayNotNumbered" type="medicinecard20120601:DosageDayNotNumberedType">
		<annotation>
			<documentation xml:lang="en-GB">Indicates that the day has no number, e.g. for a plain according-to-need dose. If so the dosage cannot be iterated either</documentation>
			<documentation xml:lang="da-DK">Angiver at dagen ikke har et nummer, f.eks. for en ren PN dosering. I så fald kan doseringen ikke være itereret.</documentation>
		</annotation>
	</element>
	<complexType name="DosageDayNotNumberedType"/>

	
	
	<element name="EffectuationsOnPrescriptionMedication" type="medicinecard20120601:EffectuationsOnPrescriptionMedicationType">
		<annotation>
			<documentation xml:lang="en-GB">Grouping effectuations on a prescription medication</documentation>
			<documentation xml:lang="da-DK">Grupperer effektueringer på en receptordination</documentation>
		</annotation>
	</element>
	<complexType name="EffectuationsOnPrescriptionMedicationType">
		<sequence>
			<element name="Identifier" type="medicinecard20120601:PrescriptionMedicationIdentifierType"/>
			<element maxOccurs="unbounded" name="Effectuation" type="medicinecard20120601:EffectuationOnPrescriptionMedicationType"/>
		</sequence>
	</complexType>

	
	
	
	<element name="DeleteEffectuationResponse" type="medicinecard20120601:DeleteEffectuationResponseType">
		<annotation>
			<documentation xml:lang="en-GB">Outer container elemenet for a delete effecuation response</documentation>
			<documentation xml:lang="da-DK">Ydre container-element for et svar på slet effektueringer</documentation>
		</annotation>
	</element>
	<complexType name="DeleteEffectuationResponseType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element minOccurs="0" name="VersionMismatchWarning" type="medicinecard20120601:VersionMismatchWarningType"/>
		</sequence>
	</complexType>

	
	
	
	
	
	<element name="Delivery" type="medicinecard20120601:DeliveryType">
		<annotation>
			<documentation xml:lang="en-GB">Delivery information</documentation>
			<documentation xml:lang="da-DK">Leveringsinformation</documentation>
		</annotation>
	</element>
	<complexType name="DeliveryType">
		<sequence>
			<element name="Priority" type="medicinecard20120601:DeliveryPriorityType"/>
			<choice minOccurs="0">
				<element name="StreetName" type="medicinecard20120601:StreetNameType"/>
				<element name="PseudoAddress" type="medicinecard20120601:PseudoAddressType"/>
			</choice>
			<element minOccurs="0" name="PostCode" type="medicinecard20120601:PostCodeType"/>
			<element minOccurs="0" name="ContactName" type="medicinecard20120601:ContactNameType"/>
		</sequence>
	</complexType>

	<element name="DosageFreeText" type="medicinecard20120601:DosageFreeTextType">
		<annotation>
			<documentation xml:lang="en-GB">Free text for dosage</documentation>
			<documentation xml:lang="da-DK">Fritekst for dosering</documentation>
		</annotation>
	</element>
	<simpleType name="DosageFreeTextType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="400"/>
		</restriction>
	</simpleType>

	
	
	<element name="NegativeConsentRequest" type="medicinecard20120601:NegativeConsentRequestType">
		<annotation>
			<documentation xml:lang="en-GB">Element indicating a request (also) on data with a negative consent, with a reason for the request.</documentation>
			<documentation xml:lang="da-DK">Element der angiver en forespørges (også) på data med negativt samtykke, men med en årsag for forespørgsel.</documentation>
		</annotation>
	</element>
	<complexType name="NegativeConsentRequestType">
		<choice>
			<element name="ConsentGiven" type="medicinecard20120601:ConsentGivenType"/>
			<element name="ConsentOverridden" type="medicinecard20120601:ConsentOverriddenType"/>
		</choice>
	</complexType>

	
	
	
	<element name="UnmarkPrescriptionMedicationDeprecatedResponse" type="medicinecard20120601:UnmarkPrescriptionMedicationDeprecatedResponseType">
		<annotation>
			<documentation xml:lang="en-GB">Response from service to unmark one or more prescription medications as no longer relevant</documentation>
			<documentation xml:lang="da-DK">Svar fra service til fjern markering af at en eller flere receptordinationer ikke længere er relevante</documentation>
		</annotation>
	</element>
	<complexType name="UnmarkPrescriptionMedicationDeprecatedResponseType">
		<sequence>
			<sequence>
				<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
				<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
				<element minOccurs="0" name="VersionMismatchWarning" type="medicinecard20120601:VersionMismatchWarningType"/>
			</sequence>
		</sequence>
	</complexType>

	<element name="DrugMedicationIdentifier" type="medicinecard20120601:DrugMedicationIdentifierType">
		<annotation>
			<documentation xml:lang="en-GB">Unique identification of the drug medication</documentation>
			<documentation xml:lang="da-DK">Unik identifikation af lægemiddelordinationen</documentation>
		</annotation>
	</element>
	<simpleType name="DrugMedicationIdentifierType">
		<restriction base="long">
			<minInclusive value="1"/>
		</restriction>
	</simpleType>

	
	
	
	<element name="GetDrugMedicationResponse" type="medicinecard20120601:GetDrugMedicationResponseType">
		<annotation>
			<documentation xml:lang="en-GB">Element for a response with one or more drug medications</documentation>
			<documentation xml:lang="da-DK">Element for et svar med en eller flere lægemiddelordinationer</documentation>
		</annotation>
	</element>
	<complexType name="GetDrugMedicationResponseType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>		
			<element maxOccurs="unbounded" minOccurs="0" name="DrugMedicationWithNegativeConsent" type="medicinecard20120601:DrugMedicationWithNegativeConsentType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="DrugMedication" type="medicinecard20120601:DrugMedicationType"/>
		</sequence>
	</complexType>

	
	<element name="TimingList" type="medicinecard20120601:TimingListType">
		<annotation>
			<documentation xml:lang="en-GB">Structure containing a list of elements to keep track of the time consumed between request and response for a web service call. When calling a number of chained web services these should add a TimingElementStructure in the list in the order of return. E.g. if A calls B call C the order must be C, B then A.</documentation>
			<documentation xml:lang="da-DK">En struktur der indeholder en liste af elementer til at spore tidsforbruget mellem request og response på et webservice-kald. Hvis der kaldes en række sammenkædede web services bør disse tilføje et TimingElementStructure i listen i den rækkefølge de returnerer. F.eks. hvis A kalder B som kalder C skal rækkefølgen være C, B og A.</documentation>
		</annotation>
	</element>
	<complexType name="TimingListType">
		<sequence>
			<element maxOccurs="unbounded" name="Timing" type="medicinecard20120601:TimingType"/>
		</sequence>
	</complexType>

	
	
	
	
	<element name="CreateSinglePrescriptionDispensing" type="medicinecard20120601:CreateSinglePrescriptionDispensingType">
		<annotation>
			<documentation xml:lang="en-GB">Information dispensing the package once</documentation>
			<documentation xml:lang="da-DK">Information til en enkelt udlevering</documentation>
		</annotation>
	</element>
	<complexType name="CreateSinglePrescriptionDispensingType">
		<sequence>
			<element name="PackageNumber" type="medicinecard20120601:PackageNumberType"/>
			<element minOccurs="0" name="FreeTradePackageSizeText" type="medicinecard20120601:PackageSizeTextType"/>
			<element name="PackageQuantity" type="medicinecard20120601:PackageQuantityType"/>
			<element name="DosageText" type="medicinecard20120601:DosageTextType"/>
		</sequence>
	</complexType>

	
	
	
	<element name="SuspendMedicineCardResponse" type="medicinecard20120601:SuspendMedicineCardResponseType">
		<annotation>
			<documentation xml:lang="en-GB">Response from a request which marks that the medicine card is suspended</documentation>
			<documentation xml:lang="da-DK">Svar på en forespørgsel der markerer at medicinkortrt er suspenderet</documentation>
		</annotation>
	</element>
	<complexType name="SuspendMedicineCardResponseType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element minOccurs="0" name="VersionMismatchWarning" type="medicinecard20120601:VersionMismatchWarningType"/>
		</sequence>
	</complexType>

	<element name="ConsentDate" type="medicinecard20120601:ConsentDateType">
		<annotation>
			<documentation xml:lang="en-GB">Date for consent</documentation>
			<documentation xml:lang="da-DK">Dato for samtykke</documentation>
		</annotation>
	</element>
	<simpleType name="ConsentDateType">
		<restriction base="date">
			<minInclusive value="2000-01-01Z"/>
		</restriction>
	</simpleType>

	
	
	
	
	<element name="Pause" type="medicinecard20120601:PauseType">
		<annotation>
			<documentation xml:lang="en-GB">Flagging the drug medication is paused</documentation>
			<documentation xml:lang="da-DK">Flag der angiver at lægemiddelordinationen er pauseret</documentation>
		</annotation>
	</element>
	<complexType name="PauseType">
		<sequence>
			<choice minOccurs="0">
				<element name="FromDate" type="medicinecard20120601:PausedFromDateType"/>
				<element name="FromDateTime" type="medicinecard20120601:PausedFromDateTimeType"/>
			</choice>
			<choice minOccurs="0">
				<element name="ToDate" type="medicinecard20120601:PausedToDateType"/>
				<element name="ToDateTime" type="medicinecard20120601:PausedToDateTimeType"/>
			</choice>
		</sequence>
	</complexType>

	<element name="MailDeliverySublocationIdentifier" type="medicinecard20120601:MailDeliverySublocationIdentifierType">
		<annotation>
			<documentation>The given name of a farm, estate, building or dwelling, which is used as a additional postal address identifier.</documentation>
		</annotation>
	</element>
	<simpleType name="MailDeliverySublocationIdentifierType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="34"/>
		</restriction>
	</simpleType>

	
	
	
	<element name="UnwithdrawDrugMedication" type="medicinecard20120601:UnwithdrawDrugMedicationType">
		<annotation>
			<documentation xml:lang="en-GB">Instructions on undo withdraw of drug medications </documentation>
			<documentation xml:lang="da-DK">Anvisning der fjerner en seponering af en eller flere lægemiddelordinationer</documentation>
		</annotation>
	</element>
	<complexType name="UnwithdrawDrugMedicationType">
		<sequence>
			<element name="Identifier" type="medicinecard20120601:DrugMedicationIdentifierType"/>
			<element minOccurs="0" name="ModifiedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ModificationMetadata" type="medicinecard20120601:ModificationMetadataType"/>			
		</sequence>
	</complexType>

	
	
	
	
	
	
	
	<element name="Drug" type="medicinecard20120601:DrugType">
		<annotation>
			<documentation xml:lang="en-GB">Drug. A drug is a substance used as treatment or a preventive treatment against diseases. Drugs can be approved and thereby be listed in the Danish Medicines Agency's pricelist ("Takst"), or can be compassionate permit dugs, natural drugs, vitamins, minerals or alike. A drug is an active substance or composed of one or more substances in a particular form and strength. If DrugIdentifier exists the drug is from the Danish Medicines Agency's price list. Alternatively a detailed prescription. The drug structure may contain a list of active substances. The form and strength should be included if available</documentation>
			<documentation xml:lang="da-DK">Lægemiddel. Et lægemiddel er en vare til at behandle eller forebygge sygdomme. Lægemidler er enten godkendt og fremgår dermed af Lægemiddelstyrelsens Takst, eller det kan være tilladelsespræparater, naturlægemidler, vitaminer, minerater el.lign. Et lægemiddel er et aktivt lægemiddelstof eller sammensat af et eller flere lægemiddelstoffer i en bestemt lægemiddelform og lægemiddelstyrke. Hvis DrugIdentifier findes er lægemiddlet fra lægemiddelstyrelsens takst. Alternativt et magistrelt lægemiddel. Lægemiddelstrukturen kan indeholde en række aktive substanser. Lægemidlets form og styrke skal angives, såfremt informationen findes</documentation>
		</annotation>
	</element>
	<complexType name="DrugType">
		<sequence>
			<element minOccurs="0" name="ATC" type="medicinecard20120601:ATCType"/>
			<choice>
				<sequence>
					<element minOccurs="0" name="Identifier" type="medicinecard20120601:DrugIdentifierType"/>
					<element name="Name" type="medicinecard20120601:DrugNameType"/>
				</sequence>
				<element name="DetailedDrugText" type="medicinecard20120601:DetailedDrugTextType"/>
			</choice>
			<element minOccurs="0" name="Form" type="medicinecard20120601:DrugFormType"/>
			<element minOccurs="0" name="Strength" type="medicinecard20120601:DrugStrengthType"/>
			<element minOccurs="0" name="Substances" type="medicinecard20120601:SubstancesType"/>
		</sequence>
	</complexType>

	
	
	<element name="Timing" type="medicinecard20120601:TimingType">
		<annotation>
			<documentation xml:lang="en-GB">Structure to keep track of the time consumed between request and response for a web service call</documentation>
			<documentation xml:lang="da-DK">En structur til at spore tidsforbruget mellem request og response på et webservice-kald</documentation>
		</annotation>
	</element>
	<complexType name="TimingType">
		<sequence>
			<element name="SystemName" type="medicinecard20120601:SystemNameType"/>
			<element name="ServiceName" type="medicinecard20120601:ServiceNameType"/>
			<element name="TimeInMilliseconds" type="def4:int"/>
		</sequence>
	</complexType>


	
	
	<element name="MarkPrescriptionMedicationDeprecatedResponse" type="medicinecard20120601:MarkPrescriptionMedicationDeprecatedResponseType">
		<annotation>
			<documentation xml:lang="en-GB">Mark the prescription medication as deprecated</documentation>
			<documentation xml:lang="da-DK">Marker receptordinationen som ikke aktuel</documentation>
		</annotation>
	</element>
	<complexType name="MarkPrescriptionMedicationDeprecatedResponseType">
		<sequence>
			<sequence>
				<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
				<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
				<element minOccurs="0" name="VersionMismatchWarning" type="medicinecard20120601:VersionMismatchWarningType"/>
			</sequence>
		</sequence>
	</complexType>

	
	
	<element name="CreatedWithoutPerson" type="medicinecard20120601:CreatedWithoutPersonType">
		<annotation>
			<documentation xml:lang="en-GB">Element containing information about which organisation and possibly doctor who created the document this element is in (e.g. drug medication) as well as the date it ocurred.
This element is used on prescriptions, where the doctor's authorsation identifier might not be given.</documentation>
			<documentation xml:lang="da-DK">Element der indeholder information omkring hvilken organisation og muligvis læge som har oprettet dokumentet elementet befinder sig i (f.eks. lægemiddelordination), desuden datoen dette er sket. 
Dette element anvendes på recepten, hvor lægens autorisationsnummer muligvis ikke er angivet.</documentation>
		</annotation>
	</element>
	<complexType name="CreatedWithoutPersonType">
		<sequence>
			<element name="By" type="medicinecard20120601:ModificatorWithoutPersonType"/>
			<element name="DateTime" type="medicinecard20120601:CreatedDateTimeType"/>
		</sequence>
	</complexType>

	
	
	
	
		
	<element name="Paused" type="medicinecard20120601:PausedType">
		<annotation>
			<documentation xml:lang="en-GB">Element containing information about which organisation and possibly doctor who paused the document this element is in (e.g. drug prescription) as well as the date it ocurred.</documentation>
			<documentation xml:lang="da-DK">Element der indeholder information omkring hvilken organisation og muligvis læge som har pauseret dokumentet elementet befinder sig i (f.eks. lægemiddelordination), desuden datoen dette er sket.</documentation>
		</annotation>
	</element>
	<complexType name="PausedType">
		<sequence>
			<choice minOccurs="0">
				<element name="FromDate" type="medicinecard20120601:PausedFromDateType"/>
				<element name="FromDateTime" type="medicinecard20120601:PausedFromDateTimeType"/>
			</choice>
			<choice minOccurs="0">
				<element name="ToDate" type="medicinecard20120601:PausedToDateType"/>
				<element name="ToDateTime" type="medicinecard20120601:PausedToDateTimeType"/>
			</choice>
			<element name="By" type="medicinecard20120601:ModificatorType"/>
			<element name="DateTime" type="def4:dateTime"/>
		</sequence>
	</complexType>

	
	
	<element name="UnwithdrawnDrugMedication" type="medicinecard20120601:UnwithdrawnDrugMedicationType">
		<annotation>
			<documentation xml:lang="en-GB">Element with IDs returned when a drug medication has undone a withdrawn</documentation>
			<documentation xml:lang="da-DK">Element med IDer returneret når en lægemiddelinformation er blevet af-seponeret</documentation>
		</annotation>
	</element>
	<complexType name="UnwithdrawnDrugMedicationType">
		<sequence>
			<element name="Identifier" type="medicinecard20120601:DrugMedicationIdentifierType"/>
			<element name="Version" type="medicinecard20120601:DrugMedicationVersionType"/>
		</sequence>
	</complexType>

	
	
	<element name="PausedDrugMedication" type="medicinecard20120601:PausedDrugMedicationType">
		<annotation>
			<documentation xml:lang="en-GB">Element with IDs returned when a drug prescription has been paused using a batch request</documentation>
			<documentation xml:lang="da-DK">Element med IDer returneret når en lægemiddelinformation er blevet pauseret via en batchforespørgsel</documentation>
		</annotation>
	</element>
	<complexType name="PausedDrugMedicationType">
		<sequence>
			<element name="Identifier" type="medicinecard20120601:DrugMedicationIdentifierType"/>
			<element name="Version" type="medicinecard20120601:DrugMedicationVersionType"/>
		</sequence>
	</complexType>

	
	
	
	<element name="CreatedEffectuationOnDrugMedication" type="medicinecard20120601:CreatedEffectuationOnDrugMedicationType">
		<annotation>
			<documentation xml:lang="en-GB">Element for an effecutation added on a drug medication</documentation>
			<documentation xml:lang="da-DK">Element for en effektuering tilføjet på en lægemiddelordination</documentation>
		</annotation>
	</element>
	<complexType name="CreatedEffectuationOnDrugMedicationType">
		<sequence>
			<element name="Identifier" type="medicinecard20120601:DrugMedicationIdentifierType"/>
			<element maxOccurs="unbounded" name="EffectuationIdentifier" type="medicinecard20120601:EffectuationIdentifierType"/>
		</sequence>
	</complexType>

	
	
	
	
	
	<element name="MarkPrescriptionMedicationDeprecatedRequest" type="medicinecard20120601:MarkPrescriptionMedicationDeprecatedRequestType">
		<annotation>
			<documentation xml:lang="en-GB">Mark one or more prescription medications as no longer relevant</documentation>
			<documentation xml:lang="da-DK">Marker at en eller flere receptordinationer ikke længere er relevante</documentation>
		</annotation>
	</element>
	<complexType name="MarkPrescriptionMedicationDeprecatedRequestType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element minOccurs="0" name="ModifiedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ReportedBy" type="medicinecard20120601:ModificatorType"/>
			<element maxOccurs="unbounded" name="PrescriptionMedication" type="medicinecard20120601:MarkPrescriptionMedicationDeprecatedType"/>
		</sequence>
	</complexType>

	
	
	
	<element name="CreatePrescriptionMedicationWithoutCPRRequest" type="medicinecard20120601:CreatePrescriptionMedicationWithoutCPRRequestType">
		<annotation>
			<documentation xml:lang="en-GB">Request document containing one or more documents for creating prescription medications from drug medications</documentation>
			<documentation xml:lang="da-DK">Request-dokument der indeholder en eller flere dokumenter til at oprette receptordinationer fra lægemiddelordinationer</documentation>
		</annotation>
	</element>
	<complexType name="CreatePrescriptionMedicationWithoutCPRRequestType">
		<sequence>
			<element name="CreatedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ReportedBy" type="medicinecard20120601:ModificatorType"/>
			<element name="Patient" type="medicinecard20120601:PatientWithoutCPRType"/>
			<element maxOccurs="unbounded" name="PrescriptionMedication" type="medicinecard20120601:UnattachedPrescriptionMedicationType"/>
		</sequence>
	</complexType>

	<element name="OrderInstruction" type="medicinecard20120601:OrderInstructionType">
		<annotation>
			<documentation xml:lang="en-GB">A text line for the order instruction</documentation>
			<documentation xml:lang="da-DK">En linies tekst til ordreinstruktionen</documentation>
		</annotation>
	</element>
	<simpleType name="OrderInstructionType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="70"/>
		</restriction>
	</simpleType>

	
	
	<element name="ActiveSubstance" type="medicinecard20120601:ActiveSubstanceType">
		<annotation>
			<documentation xml:lang="en-GB">Contains information for one active substance</documentation>
			<documentation xml:lang="da-DK">Indeholder information omkring en aktiv substans</documentation>
		</annotation>
	</element>
	<complexType name="ActiveSubstanceType">
		<choice>
			<element minOccurs="0" name="Text" type="medicinecard20120601:ActiveSubstanceTextType"/>
			<element minOccurs="0" name="FreeText" type="medicinecard20120601:ActiveSubstanceFreeTextType"/>
		</choice>
	</complexType>

	<element name="DosageSupplementaryText" type="medicinecard20120601:DosageSupplementaryTextType">
		<annotation>
			<documentation xml:lang="en-GB">Supplementary text for at structured dosage, e.g. "for pain", "with a meal". The supplementary text is not allowed to change the dose amount, e.g. a text like "in every eye" is not allowed.</documentation>
			<documentation xml:lang="da-DK">Supplerende tekst til en struktureret dosering, f.eks. "ved smerter", "i forbindelse med måltid" m.v. Den supplerende tekst må ikke ændre den doserede mængde, f.eks. er en tekst som "i hvert øje" ikke tilladt</documentation>
		</annotation>
	</element>
	<simpleType name="DosageSupplementaryTextType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="100"/>
		</restriction>
	</simpleType>

	<element name="ReiterationInterval" type="medicinecard20120601:ReiterationIntervalType">
		<annotation>
			<documentation xml:lang="en-GB">Contains the numer of days/weeks etc. between re-iterations</documentation>
			<documentation xml:lang="da-DK">Angiver antallet af dage/uger mm. mellem reiterationer</documentation>
		</annotation>
	</element>
	<simpleType name="ReiterationIntervalType">
		<restriction base="integer">
			<minInclusive value="1"/>
		</restriction>
	</simpleType>

	<element name="DosageTimesStartDate" type="medicinecard20120601:DosageTimesStartDateType">
		<annotation>
			<documentation xml:lang="en-GB">Start date for a set of dosage times</documentation>
			<documentation xml:lang="da-UK">Startdato for et sæt af doseringstidspunkter</documentation>
		</annotation>
	</element>
	<simpleType name="DosageTimesStartDateType">
		<restriction base="date">
			<minInclusive value="2000-01-01"/>
		</restriction>
	</simpleType>

	<element name="AddressProtected" type="medicinecard20120601:AddressProtectedType">
		<annotation>
			<documentation xml:lang="en-GB">Indicates that the address is protected and not returned</documentation>
			<documentation xml:lang="da-DK">Angiver adressebeskyttelse og at adressen derfor ikke returneres</documentation>
		</annotation>
	</element>
	<complexType name="AddressProtectedType"/>

	
	
	
	<element name="DoseForAnyDay" type="medicinecard20120601:DoseForAnyDayType">
		<annotation>
			<documentation xml:lang="en-GB">Description of a dose element, when and how much</documentation>
			<documentation xml:lang="da-DK">Beskrivelse af en dosis på et givet stidspunkt, hvornår og hvor meget</documentation>
		</annotation>
	</element>
	<complexType name="DoseForAnyDayType">
		<sequence>
			<element minOccurs="0" name="Time" type="medicinecard20120601:DoseTimeType"/>
			<choice>
				<element name="Quantity" type="medicinecard20120601:DoseQuantityType"/>
				<sequence>
					<element name="MinimalQuantity" type="medicinecard20120601:DoseQuantityType"/>
					<element name="MaximalQuantity" type="medicinecard20120601:DoseQuantityType"/>
				</sequence>
			</choice>
			<element name="IsAccordingToNeed" type="medicinecard20120601:IsAccordingToNeedType"/>
		</sequence>
	</complexType>

	
		
	
	<element name="WithdrawDrugMedication" type="medicinecard20120601:WithdrawDrugMedicationType">
		<annotation>
			<documentation xml:lang="en-GB">A request which withdraws the drug prescription</documentation>
			<documentation xml:lang="da-DK">En forespørgsel der seponerer en lægemiddelordination</documentation>
		</annotation>
	</element>
	<complexType name="WithdrawDrugMedicationType">
		<sequence>
			<element name="Identifier" type="medicinecard20120601:DrugMedicationIdentifierType"/>
			<element minOccurs="0" name="WithdrawnBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ModificationMetadata" type="medicinecard20120601:ModificationMetadataType"/>			
		</sequence>
	</complexType>

	<element name="DoseDispensingStartDate" type="medicinecard20120601:DoseDispensingStartDateType">
		<annotation>
			<documentation xml:lang="en-GB">Start date for dose dispensing</documentation>
			<documentation xml:lang="da-UK">Startdato for dosisdispensering</documentation>
		</annotation>
	</element>
	<simpleType name="DoseDispensingStartDateType">
		<restriction base="date">
			<minInclusive value="2000-01-01"/>
		</restriction>
	</simpleType>

	<element name="ConsentOverridden" type="medicinecard20120601:ConsentOverriddenType">
		<annotation>
			<documentation xml:lang="en-GB">Element indicating that the request is due to obvious general interests or due to significant needs of the patient</documentation>
			<documentation xml:lang="da-DK">Element der angiver at opslage sker som "nødvendig til varetagelse af en åbenbar almen interesse eller af væsentlige hensyn til patienten"</documentation>
		</annotation>
	</element>
	<complexType name="ConsentOverriddenType"/>

	
	
	
	
	
	
	
	
			
	
	
	
	
	<element name="CreateDrugMedication" type="medicinecard20120601:CreateDrugMedicationType">
		<annotation>
			<documentation xml:lang="en-GB">Instructions of which drug to use, how much to give (drug dosage), for how long (startdate and enddate), how to administrate it and motivation (indication)</documentation>
			<documentation xml:lang="da-DK">Anvisning af hvilken medicin der skal anvendes (lægemiddel) hvor meget der skal gives (lægemiddeldosering), hvor længe (startdato og slutdato), hvordan den skal tilføres (administrationsvej) og hvorfor (indikation)</documentation>
		</annotation>
	</element>
	<complexType name="CreateDrugMedicationType">
		<sequence>
			<element minOccurs="0" name="ParentIdentifier" type="medicinecard20120601:DrugMedicationIdentifierType"/>
			<element minOccurs="0" name="CreatedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ModificationMetadata" type="medicinecard20120601:ModificationMetadataType"/>						
			<element minOccurs="0" name="Pause" type="medicinecard20120601:PauseType"/>
			<element minOccurs="0" name="HasNegativeConsent" type="medicinecard20120601:HasNegativeConsentType"/>
			<element name="BeginEndDate" type="medicinecard20120601:CreateOrUpdateDrugMedicationBeginEndDateType"/>
			<element name="Indication" type="medicinecard20120601:IndicationType"/>
			<element name="RouteOfAdministration" type="medicinecard20120601:RouteOfAdministrationType"/>
			<element name="Drug" type="medicinecard20120601:DrugType"/>
			<element name="Dosage" type="medicinecard20120601:DosageType"/>
			<element name="SubstitutionAllowed" type="medicinecard20120601:SubstitutionAllowedType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="Effectuation" type="medicinecard20120601:CreateEffectuationType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="CreatePrescriptionMedication" type="medicinecard20120601:CreatePrescriptionMedicationType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="AttachPrescriptionMedication" type="medicinecard20120601:PrescriptionMedicationIdentifierType"/>
		</sequence>
	</complexType>

	<element name="PersonMiddleName" type="medicinecard20120601:PersonMiddleNameType"/>
	<simpleType name="PersonMiddleNameType">
		<annotation>
			<documentation xml:lang="en-GB">A person's middle name</documentation>
			<documentation xml:lang="da-DK">En persons mellemnavn</documentation>
		</annotation>
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="40"/>
		</restriction>
	</simpleType>

	
	
	
	<element name="EffectuationsOnDrugMedication" type="medicinecard20120601:EffectuationsOnDrugMedicationType">
		<annotation>
			<documentation xml:lang="en-GB">Grouping effectuations on a drug medication</documentation>
			<documentation xml:lang="da-DK">Grupperer effektueringer på en lægemiddelordination</documentation>
		</annotation>
	</element>
	<complexType name="EffectuationsOnDrugMedicationType">
		<sequence>
			<element name="Identifier" type="medicinecard20120601:DrugMedicationIdentifierType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="Effectuation" type="medicinecard20120601:EffectuationType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="PrescriptionMedication" type="medicinecard20120601:EffectuationsOnPrescriptionMedicationType"/>
		</sequence>
	</complexType>

	<attribute name="SourceYearAndWeek" type="medicinecard20120601:SourceYearAndWeekType">
		<annotation>
			<documentation xml:lang="en-GB">Year and week the source is defined for</documentation>
			<documentation xml:lang="da-DK">Årstal og ugenummer kilden er defineret for</documentation>
		</annotation>
	</attribute>
	<simpleType name="SourceYearAndWeekType">
		<restriction base="string">
			<pattern value="[1-2][0-9][0-9][0-9]-(0[1-9]|[1-4][0-9]|5[0-3])"/>
		</restriction>
	</simpleType>

	
	
	
	<element name="UnsuspendMedicineCardResponse" type="medicinecard20120601:UnsuspendMedicineCardResponseType">
		<annotation>
			<documentation xml:lang="en-GB">Response from a request to unsuspend a medicine card</documentation>
			<documentation xml:lang="da-DK">Svar på en forespørgsel om at ophæve suspenderingen af et medicinkort (frigive)</documentation>
		</annotation>
	</element>
	<complexType name="UnsuspendMedicineCardResponseType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element minOccurs="0" name="VersionMismatchWarning" type="medicinecard20120601:VersionMismatchWarningType"/>
		</sequence>
	</complexType>

	<element name="IsEffectuatedAccordingToDrugMedication" type="medicinecard20120601:IsEffectuatedAccordingToDrugMedicationType">
		<annotation>
			<documentation xml:lang="en-GB">Indicates that the effectuation is done as stated on the drug medication, i.e. with the drug and the dose on the drug medication</documentation>
			<documentation xml:lang="da-DK">Angiver at effektueringen er sket som angivet på lægemiddelordinationen, dvs. med det angivne lægemiddel og med den angivne dosis</documentation>
		</annotation>
	</element>
	<complexType name="IsEffectuatedAccordingToDrugMedicationType"/>

	
	
	
	
	<element name="CreateDrugMedicationResponse" type="medicinecard20120601:CreateDrugMedicationResponseType">
		<annotation>
			<documentation xml:lang="en-GB">Outer container elemenet for a response returned on a request which creates a new drug medication</documentation>
			<documentation xml:lang="da-DK">Ydre container-element for et svar returneret på en forespørgsel der opretter en ny lægemiddelordination</documentation>
		</annotation>
	</element>
	<complexType name="CreateDrugMedicationResponseType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element minOccurs="0" name="VersionMismatchWarning" type="medicinecard20120601:VersionMismatchWarningType"/>
			<element maxOccurs="unbounded" name="DrugMedication" type="medicinecard20120601:CreatedDrugMedicationType"/>
		</sequence>
	</complexType>

	
	
	
	
	<element name="GetMedicineCardVersionResponse" type="medicinecard20120601:GetMedicineCardVersionResponseType">
		<annotation>
			<documentation xml:lang="en-GB">Outer container elemenet for a request for a medicinecards version</documentation>
			<documentation xml:lang="da-DK">Ydre container-element for en forespørgsel efter et medicinkorts version</documentation>
		</annotation>
	</element>
	<complexType name="GetMedicineCardVersionResponseType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element minOccurs="0" name="PrescriptionMedicationDateTime" type="medicinecard20120601:PrescriptionMedicationDateTimeType"/>
			<element minOccurs="0" name="PrescriptionServerError" type="medicinecard20120601:PrescriptionServerErrorType"/>
		</sequence>
	</complexType>

	<element name="AddressLine" type="medicinecard20120601:AddressLineType">
		<annotation>
			<documentation xml:lang="en-GB">An address line</documentation>
			<documentation xml:lang="da-DK">Ustruktureret adresselinje</documentation>
		</annotation>
	</element>
	<simpleType name="AddressLineType">
		<restriction base="string"/>
	</simpleType>

	
	
	
	<element name="PackageSizeUnitCode" type="medicinecard20120601:PackageSizeUnitCodeType">
		<annotation>
			<documentation xml:lang="en-GB">Unit for package size, code (LMS15 field 2)</documentation>
			<documentation xml:lang="da-DK">Enhed for pakningsstørrelse, kode (LMS15 felt 2)</documentation>
		</annotation>
	</element>
	<complexType name="PackageSizeUnitCodeType">
		<simpleContent>
			<extension base="medicinecard20120601:PackageSizeUnitCodeValueType">
				<attribute name="source" type="medicinecard20120601:PackageSizeUnitCodeSourceType" use="required"/>
				<attribute name="date" type="medicinecard20120601:SourceDateType" use="optional"/>
				<attribute name="yearAndWeek" type="medicinecard20120601:SourceYearAndWeekType" use="optional"/>
			</extension>
		</simpleContent>
	</complexType>
	<simpleType name="PackageSizeUnitCodeValueType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="3"/>
		</restriction>
	</simpleType>
	<simpleType name="PackageSizeUnitCodeSourceType">
		<union memberTypes="medicinecard20120601:PackageSizeUnitCodePredefinedSourceType medicinecard20120601:UndefinedSourceType"/>
	</simpleType>
	<simpleType name="PackageSizeUnitCodePredefinedSourceType">
		<restriction base="medicinecard20120601:UndefinedSourceType">
			<enumeration value="Medicinpriser"/>
		</restriction>
	</simpleType>

	
	<element name="CreatePrescriptionMedicationForUseInPracticeResponse" type="medicinecard20120601:CreatePrescriptionMedicationForUseInPracticeResponseType">
		<annotation>
			<documentation xml:lang="en-GB">Response document containing one or more responses from creating prescription medications from drug medications</documentation>
			<documentation xml:lang="da-DK">Response-dokument der indeholder en eller flere svar på oprettelse receptordinationer fra lægemiddelordinationer</documentation>
		</annotation>
	</element>
	<complexType name="CreatePrescriptionMedicationForUseInPracticeResponseType">
		<sequence>
			<element maxOccurs="unbounded" name="Identifier" type="medicinecard20120601:PrescriptionMedicationIdentifierType"/>
		</sequence>
	</complexType>

	<element name="PackageSizeValue" type="medicinecard20120601:PackageSizeValueType">
		<annotation>
			<documentation xml:lang="en-GB">Package strength, numerical value (LMS02 field 7)</documentation>
			<documentation xml:lang="da-DK">Pakningsstørrelse, numerisk værdi (LMS02 felt 7)</documentation>
		</annotation>
	</element>
	<simpleType name="PackageSizeValueType">
		<restriction base="decimal">
			<fractionDigits value="2"/>
			<totalDigits value="10"/>
			<minInclusive value="0.00"/>
		</restriction>
	</simpleType>

	
	
	
	
	
	
	
	
	
	
	
	
	<element name="Effectuation" type="medicinecard20120601:EffectuationType">
		<annotation>
			<documentation xml:lang="en-GB">The actual effectuation of the drug medication. It could be to administer the drug into the patient or that a doctor hands medication out to the patient</documentation>
			<documentation xml:lang="da-DK">Den faktiske udførelse af lægemiddelordination. Det kan f.eks. være at indgive medicin i patienten, eller at en læge eller apoteket udleverer medicin til patienten</documentation>
		</annotation>
	</element>
	<complexType name="EffectuationType">
		<sequence>
			<element name="Identifier" type="medicinecard20120601:EffectuationIdentifierType"/>
			<element name="DateTime" type="medicinecard20120601:EffectuationDateTimeType"/>
			<element minOccurs="0" name="EffectuationMethod" type="medicinecard20120601:EffectuationMethodType"/>
			<element name="Created" type="medicinecard20120601:CreatedType"/>
			<element minOccurs="0" name="ReportedBy" type="medicinecard20120601:ModificatorType"/>
			<choice>
				<sequence>
					<!-- A drug was effectuated, with the dose and unit below. This overrides whatever is stated as drug and dosage on the prescription or drug medication -->
					<element name="DoseQuantity" type="medicinecard20120601:DoseQuantityType"/>
					<element name="DosageQuantityUnitText" type="medicinecard20120601:DosageQuantityUnitTextType"/>
					<element name="Drug" type="medicinecard20120601:DrugType"/>
				</sequence>
				<sequence>
					<!-- A drug was effectuated, with a drug substituted as below. This overrides whatever is stated as drug on the prescription or drug medication -->
					<element name="Drug" type="medicinecard20120601:DrugType"/>
				</sequence>
				<sequence>
					<!-- A drug was effectuated, one or more packages was given to the patient -->
					<element minOccurs="0" name="PackageQuantity" type="medicinecard20120601:PackageQuantityType"/>
					<element name="PackageNumber" type="medicinecard20120601:PackageNumberType"/>
					<element minOccurs="0" name="PackageSize" type="medicinecard20120601:PackageSizeType"/>
					<element minOccurs="0" name="Drug" type="medicinecard20120601:DrugType"/>
				</sequence>
				<!-- A drug was effectuated, the drug and dosage was given as stated on the drug medication -->
				<element name="IsEffectuatedAccordingToDrugMedication" type="medicinecard20120601:IsEffectuatedAccordingToDrugMedicationType"/>
			</choice>
		</sequence>
	</complexType>

	<element name="PersonSurname" type="medicinecard20120601:PersonSurnameType"/>
	<simpleType name="PersonSurnameType">
		<annotation>
			<documentation xml:lang="en-GB">A person's surname(s)</documentation>
			<documentation xml:lang="da-DK">En persons efternavn(e)</documentation>
		</annotation>
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="40"/>
		</restriction>
	</simpleType>

	
	
	
	
	<element name="PackageSize" type="medicinecard20120601:PackageSizeType">
		<annotation>
			<documentation xml:lang="en-GB">Package size in strucured form</documentation>
			<documentation xml:lang="da-DK">Pakningsstørrelse på struktureret form</documentation>
		</annotation>
	</element>
	<complexType name="PackageSizeType">
		<choice>
			<sequence>
				<element name="Value" type="medicinecard20120601:PackageSizeValueType"/>
				<element name="UnitCode" type="medicinecard20120601:PackageSizeUnitCodeType"/>
				<element name="UnitText" type="medicinecard20120601:PackageSizeUnitTextType"/>
			</sequence>
			<element name="PackageSizeText" type="medicinecard20120601:PackageSizeTextType"/>
		</choice>
	</complexType>

	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	<element name="DrugMedication" type="medicinecard20120601:DrugMedicationType">
		<annotation>
			<documentation xml:lang="en-GB">An overview of the drug medication (a medication on the medicine card)</documentation>
			<documentation xml:lang="da-DK">En oversigt over lægemiddelordination (en ordination på medicinkortet)</documentation>
		</annotation>
	</element>
	<complexType name="DrugMedicationType">
		<sequence>
			<element name="Identifier" type="medicinecard20120601:DrugMedicationIdentifierType"/>
			<element name="Version" type="medicinecard20120601:DrugMedicationVersionType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="PreviousVersion" type="medicinecard20120601:DrugMedicationVersionType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="NextVersion" type="medicinecard20120601:DrugMedicationVersionType"/>
			<element minOccurs="0" name="ParentIdentifier" type="medicinecard20120601:DrugMedicationIdentifierType"/>
			<element name="Created" type="medicinecard20120601:CreatedType"/>
			<element minOccurs="0" name="ReportedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="Modified" type="medicinecard20120601:ModifiedType"/>
			<element minOccurs="0" name="Paused" type="medicinecard20120601:PausedType"/>
			<element minOccurs="0" name="Withdrawn" type="medicinecard20120601:WithdrawnType"/>
			<element minOccurs="0" name="HasNegativeConsent" type="medicinecard20120601:HasNegativeConsentType"/>
			<element name="BeginEndDate" type="medicinecard20120601:DrugMedicationBeginEndDateType"/>
			<element name="Indication" type="medicinecard20120601:IndicationType"/>
			<element name="RouteOfAdministration" type="medicinecard20120601:RouteOfAdministrationType"/>
			<element name="Drug" type="medicinecard20120601:DrugType"/>
			<element name="Dosage" type="medicinecard20120601:DosageType"/>
			<element minOccurs="0" name="DosageTranslation" type="medicinecard20120601:DosageTranslationType"/>
			<element minOccurs="0" name="SubstitutionAllowed" type="medicinecard20120601:SubstitutionAllowedType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="Effectuation" type="medicinecard20120601:EffectuationType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="PrescriptionMedication" type="medicinecard20120601:PrescriptionMedicationType"/>
		</sequence>
	</complexType>

	
	
	
<!--	<include schemaLocation="Modificator.xsd"/>-->
	
	<element name="AttachOrDetachPrescriptionMedicationRequest" type="medicinecard20120601:AttachOrDetachPrescriptionMedicationRequestType">
		<annotation>
			<documentation xml:lang="en-GB">A request whichs attaches prescription medications to drug medications or detaches prescription medications</documentation>
			<documentation xml:lang="da-DK">En forespørgsel der tilknytter receptordinationer til lægemiddelordinationer eller fjerner tilknytningen</documentation>
		</annotation>
	</element>
	<complexType name="AttachOrDetachPrescriptionMedicationRequestType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element minOccurs="0" name="ModifiedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ReportedBy" type="medicinecard20120601:ModificatorType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="DetachPrescriptionMedication" type="medicinecard20120601:DetachPrescriptionMedicationType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="AttachPrescriptionMedication" type="medicinecard20120601:AttachPrescriptionMedicationType"/>
		</sequence>
	</complexType>

	<element name="IncludeNonRelevantPrescriptionMedications" type="medicinecard20120601:IncludeNonRelevantPrescriptionMedicationsType">
		<annotation>
			<documentation xml:lang="en-GB">Indicates if the medicine card is to be returned with loose prescription medications marked as "non relevant".</documentation>
			<documentation xml:lang="da-DK">Angiver hvorvidt medicinkortet skal returneres med løse receptordinationer markeret som "ikke relevante".</documentation>
		</annotation>
	</element>
	<simpleType name="IncludeNonRelevantPrescriptionMedicationsType">
		<restriction base="boolean"/>
	</simpleType>

	
	<element name="ConsentGiven" type="medicinecard20120601:ConsentGivenType">
		<annotation>
			<documentation xml:lang="en-GB">Element indicating consent is given, and the interval the consent is valid for</documentation>
			<documentation xml:lang="da-DK">Element der angiver at der er givet samtykke, og interval samtykke er gældende, "efter mundtlig eller skriftlig samtykke"</documentation>
		</annotation>
	</element>
	<complexType name="ConsentGivenType">
		<sequence>
			<element name="FromDate" type="medicinecard20120601:ConsentDateType"/> 
			<element name="ToDate" type="medicinecard20120601:ConsentDateType"/> 
		</sequence>
	</complexType>

	
	
	<element name="UpdatedDrugMedication" type="medicinecard20120601:UpdatedDrugMedicationType">
		<annotation>
			<documentation xml:lang="en-GB">Element with IDs returned when a drug prescription has been updated</documentation>
			<documentation xml:lang="da-DK">Element med IDer returneret når en lægemiddelinformation er blevet opdateret</documentation>
		</annotation>
	</element>
	<complexType name="UpdatedDrugMedicationType">
		<sequence>
			<element name="Identifier" type="medicinecard20120601:DrugMedicationIdentifierType"/>
			<element name="Version" type="medicinecard20120601:DrugMedicationVersionType"/>
		</sequence>
	</complexType>

	<element name="PackageSizeUnitText" type="medicinecard20120601:PackageSizeUnitTextType">
		<annotation>
			<documentation xml:lang="en-GB">Unit for package size, full text (LMS15 field 4)</documentation>
			<documentation xml:lang="da-DK">Enhed for pakningsstørrelse, lang tekst (LMS15 felt 4)</documentation>
		</annotation>
	</element>
	<simpleType name="PackageSizeUnitTextType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="50"/>
		</restriction>
	</simpleType>

	<attribute name="Source" type="medicinecard20120601:SourceType">
		<annotation>
			<documentation xml:lang="en-GB">An identification of the source which defines the content</documentation>
			<documentation xml:lang="da-DK">En identifikation af kilden hvor indholdet er derfineret</documentation>
		</annotation>
	</attribute>
	<simpleType name="SourceType">
		<union memberTypes="medicinecard20120601:PredefinedSourceType medicinecard20120601:UndefinedSourceType"/>
	</simpleType>
	<simpleType name="PredefinedSourceType">
		<restriction base="medicinecard20120601:UndefinedSourceType">
			<enumeration value="Chemical Abstract (CAS)"/>
			<enumeration value="DKMA Medicine Prices"/>
			<enumeration value="DA Medicine Prices"/>
			<enumeration value="Local drug assortment"/>
			<enumeration value="FMK dosage quantity unit"/>
			<enumeration value="Local dosage quantity unit"/>
			<enumeration value="SKS"/>
			<enumeration value="Ydernummer"/>
		</restriction>
	</simpleType>
	<simpleType name="UndefinedSourceType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="200"/>
		</restriction>
	</simpleType>

	
	
	
	
	
	
	
		
	
	
	
	
	
	
	
	<element name="UnattachedPrescriptionMedication" type="medicinecard20120601:UnattachedPrescriptionMedicationType">
		<annotation>
			<documentation xml:lang="en-GB">Request document for creating a PrescriptionMedication from a DrugMedication. When used in the service call where the drug medication is created the DrugMedicationIdentifer may be omitted, otherwise it is needed.</documentation>
			<documentation xml:lang="da-DK">Request-dokument til at oprette en receptordination fra en lægemiddelordination. Når dette element anvendes i servicen til oprettelse af en lægemiddelordination udelades DrugMedicationIdentifer, i alle andre tilfælde er det nødvendigt.</documentation>
		</annotation>
	</element>
	<complexType name="UnattachedPrescriptionMedicationType">
		<sequence>
			<element minOccurs="0" name="CreatedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ModificationMetadata" type="medicinecard20120601:ModificationMetadataType"/>			
			<element name="AuthorisationDateTime" type="medicinecard20120601:AuthorisationDateTimeType"/>
			<element minOccurs="0" name="ReceiverOrganisation" type="medicinecard20120601:OrganisationType"/>
			<element name="SystemName" type="medicinecard20120601:SystemNameType"/>
			<choice maxOccurs="3" minOccurs="0">
				<element name="DeliveryInformation" type="medicinecard20120601:DeliveryInformationType"/>
				<element name="OrderInstruction" type="medicinecard20120601:OrderInstructionType"/>
			</choice>
			<element minOccurs="0" name="Delivery" type="medicinecard20120601:DeliveryType"/>
			<element minOccurs="0" name="ReimbursementClause" type="medicinecard20120601:ReimbursementClauseType"/>
			<choice>
				<element name="SinglePrescriptionDispensing" type="medicinecard20120601:CreateSinglePrescriptionDispensingType"/>
				<element name="ReiteratedPrescriptionDispensing" type="medicinecard20120601:CreateReiteratedPrescriptionDispensingType"/>
				<element name="DoseDispensedDispensing" type="medicinecard20120601:CreateDoseDispensedPrescriptionDispensingType"/>
			</choice>
			<element minOccurs="0" name="Indication" type="medicinecard20120601:IndicationType"/>
			<element name="SubstitutionAllowed" type="medicinecard20120601:SubstitutionAllowedType"/>
			<element minOccurs="0" name="SupplementaryInformation" type="medicinecard20120601:SupplementaryInformationType"/>
		</sequence>
	</complexType>

	
	
	<element name="Modified" type="medicinecard20120601:ModifiedType">
		<annotation>
			<documentation xml:lang="en-GB">Element containing information about which organisation and possibly doctor who last modified the document this element is in (e.g. medicine card, drug prescription) as well as the date it ocurred.</documentation>
			<documentation xml:lang="da-DK">Element der indeholder information omkring hvilken organisation og muligvis læge som sidst har ændret dokumentet elementet befinder sig i (f.eks. medicnkort, lægemiddelordination), desuden datoen dette er sket.</documentation>
		</annotation>
	</element>
	<complexType name="ModifiedType">
		<sequence>
			<element name="By" type="medicinecard20120601:ModificatorType"/>
			<element name="DateTime" type="medicinecard20120601:ModifiedDateTimeType"/>
		</sequence>
	</complexType>

	
	
	
	
	<element name="CreatedPrescriptionMedication" type="medicinecard20120601:CreatedPrescriptionMedicationType">
		<annotation>
			<documentation xml:lang="en-GB">Document containing one or more prescriptions medications created on a drug prescription</documentation>
			<documentation xml:lang="da-DK">Dokument der indeholder en eller flere receptordinationer der er oprettet på en lægemiddelordination</documentation>
		</annotation>
	</element>
	<complexType name="CreatedPrescriptionMedicationType">
		<sequence>
			<element name="DrugMedicationIdentifier" type="medicinecard20120601:DrugMedicationIdentifierType"/>
			<element maxOccurs="unbounded" name="PrescriptionMedicationIdentifier" type="medicinecard20120601:PrescriptionMedicationIdentifierType"/>
		</sequence>
	</complexType>

	<element name="OrderedEffectuationIdentifier" type="medicinecard20120601:OrderedEffectuationIdentifierType">
		<annotation>
			<documentation xml:lang="en-GB">Unique identification of an ordered effectuation</documentation>
			<documentation xml:lang="da-DK">Unik identifikation af en bestilt udlevering</documentation>
		</annotation>
	</element>
	<simpleType name="OrderedEffectuationIdentifierType">
		<restriction base="long">
			<minInclusive value="1"/>
		</restriction>
	</simpleType>

	<element name="RouteOfAdministrationText" type="medicinecard20120601:RouteOfAdministrationTextType">
		<annotation>
			<documentation xml:lang="en-GB">Indicates the formulations route of administration. Source "Taksten" LMS 11 field 3</documentation>
			<documentation xml:lang="da-DK">Angiver medicinens administrationsvej. Kilde: Taksten LMS 11 felt 3</documentation>
		</annotation>
	</element>
	<simpleType name="RouteOfAdministrationTextType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="50"/>
		</restriction>
	</simpleType>

	
	
	<element name="WithdrawnDrugMedication" type="medicinecard20120601:WithdrawnDrugMedicationType">
		<annotation>
			<documentation xml:lang="en-GB">Element with IDs returned when a drug medication has been withdrawn</documentation>
			<documentation xml:lang="da-DK">Element med IDer returneret når en lægemiddelinformation er blevet seponeret</documentation>
		</annotation>
	</element>
	<complexType name="WithdrawnDrugMedicationType">
		<sequence>
			<element name="Identifier" type="medicinecard20120601:DrugMedicationIdentifierType"/>
			<element name="Version" type="medicinecard20120601:DrugMedicationVersionType"/>
		</sequence>
	</complexType>

	
	
	<element name="Permission" type="medicinecard20120601:PermissionType">
		<annotation>
			<documentation xml:lang="en-GB">A Permission is the right to perform an action</documentation>
			<documentation xml:lang="da-DK">Permission modellerer retten til at udføre en handling</documentation>
		</annotation>
	</element>
	<simpleType name="PermissionType">
		<union memberTypes="medicinecard20120601:PredefinedPermission medicinecard20120601:UndefinedPermission"/>
	</simpleType>

	
	
	
	
	
	
	
	<element name="CreateReiteratedPrescriptionDispensing" type="medicinecard20120601:CreateReiteratedPrescriptionDispensingType">
		<annotation>
			<documentation xml:lang="en-GB">Information dispensing the package two or more times</documentation>
			<documentation xml:lang="da-DK">Information til to eller flere udleveringer</documentation>
		</annotation>
	</element>
	<complexType name="CreateReiteratedPrescriptionDispensingType">
		<sequence>
			<element name="PackageNumber" type="medicinecard20120601:PackageNumberType"/>
			<element minOccurs="0" name="FreeTradePackageSizeText" type="medicinecard20120601:PackageSizeTextType"/>
			<element name="ReiterationNumber" type="medicinecard20120601:ReiterationNumberType"/>
			<element name="ReiterationInterval" type="medicinecard20120601:ReiterationIntervalType"/>
			<element name="ReiterationIntervalUnit" type="medicinecard20120601:ReiterationIntervalUnitType"/>
			<element name="PackageQuantity" type="medicinecard20120601:PackageQuantityType"/>
			<element name="DosageText" type="medicinecard20120601:DosageTextType"/>
		</sequence>
	</complexType>

	
	
	
	<element name="CreateDoseDispensedPrescriptionDispensing" type="medicinecard20120601:CreateDoseDispensedPrescriptionDispensingType">
		<annotation>
			<documentation xml:lang="en-GB">Information dispensing the package through dosage dispensing</documentation>
			<documentation xml:lang="da-DK">Information til dosisdispensering</documentation>
		</annotation>
	</element>
	<complexType name="CreateDoseDispensedPrescriptionDispensingType">
		<sequence>
			<element name="PackageNumber" type="medicinecard20120601:PackageNumberType"/>
			<element name="CopyRequired" type="medicinecard20120601:CopyRequiredType"/>
			<element name="DosageText" type="medicinecard20120601:DosageTextType"/>
		</sequence>
	</complexType>

	<element name="HasNegativeConsent" type="medicinecard20120601:HasNegativeConsentType">
		<annotation>
			<documentation xml:lang="en-GB">If true this field indicates that the patent has given negative consent.</documentation>
			<documentation xml:lang="da-DK">Såfremt værdien er "true" angives at patienten har givet negativ samtykke.</documentation>
		</annotation>
	</element>
	<complexType name="HasNegativeConsentType"/>

	<element name="PausedFromDate" type="medicinecard20120601:PausedFromDateType">
		<annotation>
			<documentation xml:lang="en-GB">Paused date</documentation>
			<documentation xml:lang="da-DK">Pauseringsdato</documentation>
		</annotation>
	</element>
	<simpleType name="PausedFromDateType">
		<restriction base="date">
			<minInclusive value="2000-01-01Z"/>
		</restriction>
	</simpleType>

	
	
	
	<element name="UnpauseDrugMedication" type="medicinecard20120601:UnpauseDrugMedicationType">
		<annotation>
			<documentation xml:lang="en-GB">Element for a request to remove a pause on a drugmedication</documentation>
			<documentation xml:lang="da-DK">Element for en forespørgsel der fjerner pausering af en lægemiddelordination</documentation>
		</annotation>
	</element>
	<complexType name="UnpauseDrugMedicationType">
		<sequence>
			<element name="Identifier" type="medicinecard20120601:DrugMedicationIdentifierType"/>
			<element minOccurs="0" name="ModifiedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ModificationMetadata" type="medicinecard20120601:ModificationMetadataType"/>			
		</sequence>
	</complexType>

	
	
	<element name="RouteOfAdministration" type="medicinecard20120601:RouteOfAdministrationType">
		<annotation>
			<documentation xml:lang="en-GB">Indicates the route of administration for the drug as code and text</documentation>
			<documentation xml:lang="da-DK">Angiver medicinens administrationsvej som kode og tekst</documentation>
		</annotation>
	</element>
	<complexType name="RouteOfAdministrationType">
		<sequence>
			<element name="Code" type="medicinecard20120601:RouteOfAdministrationCodeType"/>
			<element minOccurs="0" name="Text" type="medicinecard20120601:RouteOfAdministrationTextType"/>
		</sequence>
	</complexType>

	
	
	
	<element name="ATCCode" type="medicinecard20120601:ATCCodeType">
		<annotation>
			<documentation xml:lang="en-GB">Code of the drug ATC group (DMA01 field 15)</documentation>
			<documentation xml:lang="da-DK">Kode for lægemidlets ATC-gruppe  (LMS01 felt 15)</documentation>
		</annotation>
	</element>
	<complexType name="ATCCodeType">
		<simpleContent>
			<extension base="medicinecard20120601:ATCCodeValueType">
				<attribute name="source" type="medicinecard20120601:ATCCodeSourceType" use="required"/>
				<attribute name="date" type="medicinecard20120601:SourceDateType" use="optional"/>
				<attribute name="yearAndWeek" type="medicinecard20120601:SourceYearAndWeekType" use="optional"/>
			</extension>
		</simpleContent>
	</complexType>
	<simpleType name="ATCCodeValueType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="8"/>
		</restriction>
	</simpleType>
	<simpleType name="ATCCodeSourceType">
		<union memberTypes="medicinecard20120601:ATCCodePredefinedSourceType medicinecard20120601:UndefinedSourceType"/>
	</simpleType>
	<simpleType name="ATCCodePredefinedSourceType">
		<restriction base="medicinecard20120601:UndefinedSourceType">
			<enumeration value="Medicinpriser"/>
		</restriction>
	</simpleType>

	<element name="ATCText" type="medicinecard20120601:ATCTextType">
		<annotation>
			<documentation xml:lang="en-GB">Drug ATC group (LMS12 field 8)</documentation>
			<documentation xml:lang="da-DK">Lægemidlets ATC-gruppe (LMS12 felt 8)</documentation>
		</annotation>
	</element>
	<simpleType name="ATCTextType">
		<restriction base="string">
			<maxLength value="72"/>
		</restriction>
	</simpleType>

	<element name="PrescriptionMedicationIdentifier" type="medicinecard20120601:PrescriptionMedicationIdentifierType">
		<annotation>
			<documentation xml:lang="en-GB">Unique identification of a prescription medication</documentation>
			<documentation xml:lang="da-DK">Unik identifikation af en receptordination</documentation>
		</annotation>
	</element>
	<simpleType name="PrescriptionMedicationIdentifierType">
		<restriction base="long">
			<minInclusive value="1"/>
		</restriction>
	</simpleType>

	
	
	
	
	
	
		
	
	
	
	
	<element name="CreateEffectuation" type="medicinecard20120601:CreateEffectuationType">
		<annotation>
			<documentation xml:lang="en-GB">Document for creation of a new effectuation of a drug</documentation>
			<documentation xml:lang="da-DK">Dokument til oprettelse af en ny effektuering af et lægemiddel</documentation>
		</annotation>
	</element>
	<complexType name="CreateEffectuationType">
		<sequence>
			<element name="DateTime" type="medicinecard20120601:EffectuationDateTimeType"/>
			<element name="EffectuationMethod" type="medicinecard20120601:EffectuationMethodType"/>
			<element minOccurs="0" name="CreatedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ModificationMetadata" type="medicinecard20120601:ModificationMetadataType"/>						
			<choice>
				<sequence>
					<!-- A drug was effectuated, with the dose and unit below. This overrides whatever is stated as drug and dosage on the prescription or drug medication -->
					<element name="DoseQuantity" type="medicinecard20120601:DoseQuantityType"/>
					<element name="DosageQuantityUnitText" type="medicinecard20120601:DosageQuantityUnitTextType"/>
					<element name="Drug" type="medicinecard20120601:DrugType"/>
				</sequence>
				<sequence>
					<!-- A drug was effectuated, with a drug substituted as below. This overrides whatever is stated as drug on the prescription or drug medication -->
					<element name="Drug" type="medicinecard20120601:DrugType"/>
				</sequence>
				<sequence>
					<!-- A drug was effectuated, one or more packages was given to the patient -->
					<element minOccurs="0" name="PackageQuantity" type="medicinecard20120601:PackageQuantityType"/>
					<element name="PackageNumber" type="medicinecard20120601:PackageNumberType"/>
					<element minOccurs="0" name="PackageSize" type="medicinecard20120601:PackageSizeType"/>
					<element minOccurs="0" name="Drug" type="medicinecard20120601:DrugType"/>
				</sequence>
				<!-- A drug was effectuated, the drug and dosage was given as stated on the drug medication -->
				<element name="IsEffectuatedAccordingToDrugMedication" type="medicinecard20120601:IsEffectuatedAccordingToDrugMedicationType"/>
			</choice>
		</sequence>
	</complexType>

	<element name="TelephoneNumber" type="medicinecard20120601:TelephoneNumberType">
		<annotation>
			<documentation xml:lang="da">Telefonnummer inkl. internationalt prefix</documentation>
		</annotation>
	</element>
	<simpleType name="TelephoneNumberType">
		<restriction base="string">
			<pattern value="(\+)?[0-9]{3,20}"/>
		</restriction>
	</simpleType>

	
	
	
	
	
	<element name="ModificatorWithOptionalAuthorisationIdentifier" type="medicinecard20120601:ModificatorWithOptionalAuthorisationIdentifierType">
		<annotation>
			<documentation xml:lang="en-GB">Information about a person who modified data</documentation>
			<documentation xml:lang="da-DK">Indeholder information omkring en person der ændrede data</documentation>
		</annotation>
	</element>
	<complexType name="ModificatorWithOptionalAuthorisationIdentifierType">
		<sequence>
			<choice>
				<sequence>
					<element name="AuthorisedHealthcareProfessional" type="medicinecard20120601:AuthorisedHealthcareProfessionalWithOptionalAuthorisationIdentifierType"/>
					<element name="Organisation" type="medicinecard20120601:OrganisationType"/>
				</sequence>
				<element name="Patient" type="medicinecard20120601:PatientFlagType"/>
				<sequence>
					<element name="Other" type="medicinecard20120601:ModificatorPersonType"/>
					<element name="Role" type="medicinecard20120601:RequestedRoleType"/>
					<element minOccurs="0" name="Organisation" type="medicinecard20120601:OrganisationType"/>
				</sequence>
			</choice>
		</sequence>
	</complexType>

	<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType">
		<annotation>
			<documentation xml:lang="en-GB">Version number of a medicine card</documentation>
			<documentation xml:lang="da-DK">Versionsnummer for medicinkort</documentation>
		</annotation>
	</element>
	<simpleType name="MedicineCardVersionType">
		<restriction base="long">
			<minInclusive value="0"/>
		</restriction>
	</simpleType>

	<element name="UnwithdrawDrugMedicationOnUpdate" type="medicinecard20120601:UnwithdrawDrugMedicationOnUpdateType">
		<annotation>
			<documentation xml:lang="en-GB">Indicates that the drug medications is withdrawn and that it is request that its undone before updated </documentation>
			<documentation xml:lang="da-DK">Angiver at en lægemiddelordination skal af-seponeres før den bliver opdateret</documentation>
		</annotation>
	</element>
	<complexType name="UnwithdrawDrugMedicationOnUpdateType"/>

	
	<element name="PredefinedPermission" type="medicinecard20120601:PredefinedPermission">
		<annotation>
			<documentation xml:lang="da-DK">Foruddefineret tilladelse</documentation>
		</annotation>
	</element>
	<simpleType name="PredefinedPermission">
		<restriction base="medicinecard20120601:UndefinedPermission">
			<enumeration value="BorgerOpslag"/>
			<enumeration value="SundhedsfagligOpslag"/>
			<enumeration value="Recept"/>
			<enumeration value="Lægemiddelordination"/>
			<enumeration value="Effektuering"/>
			<enumeration value="Privatmarkering"/>
			<enumeration value="VisPrivatmarkeretVærdispring"/>
			<enumeration value="VisPrivatmarkeretSamtykke"/>
			<enumeration value="Suspendering"/>
			<enumeration value="Afstemning"/>
			<enumeration value="LøsRecept"/>
			<enumeration value="Administration"/>
            <enumeration value="Tilknytning"/>
            <enumeration value="BestilEffektuering"/>
        </restriction>
	</simpleType>

	<element name="VersionMismatchWarning" type="medicinecard20120601:VersionMismatchWarningType">
		<annotation>
			<documentation xml:lang="en-GB">This element will be returned on a request with a wrong medicine card version</documentation>
			<documentation xml:lang="da-DK">Elementet returneres ved en forespørgsel med et forkert medicinkort version</documentation>
		</annotation>
	</element>
	<complexType name="VersionMismatchWarningType"/>

	
	<element name="GetMedicineCardResponse" type="medicinecard20120601:GetMedicineCardResponseType">
		<annotation>
			<documentation xml:lang="en-GB">Outer container elemenet for a response with a medicinecard</documentation>
			<documentation xml:lang="da-DK">Ydre container-element for en et svar med et medicinkort</documentation>
		</annotation>
	</element>
	<complexType name="GetMedicineCardResponseType">
		<sequence>
			<element maxOccurs="unbounded" name="MedicineCard" type="medicinecard20120601:MedicineCardType"/>
		</sequence>
	</complexType>

	<element name="DrugName" type="medicinecard20120601:DrugNameType">
		<annotation>
			<documentation xml:lang="en-GB">Drug name (DMA01 field 6)</documentation>
			<documentation xml:lang="da-DK">Lægemiddelnavn (LMS01 felt 6)</documentation>
		</annotation>
	</element>
	<simpleType name="DrugNameType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="30"/>
		</restriction>
	</simpleType>

	
	
	
	
	<element name="UnpauseDrugMedicationRequest" type="medicinecard20120601:UnpauseDrugMedicationRequestType">
		<annotation>
			<documentation xml:lang="en-GB">Outer container element for a request to remove the pausation of one or more drugmedications</documentation>
			<documentation xml:lang="da-DK">Ydre container-element for en forespørgsel der fjerner pauseringen på en eller flere lægemiddelordinationer</documentation>
		</annotation>
	</element>
	<complexType name="UnpauseDrugMedicationRequestType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element name="ModifiedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ReportedBy" type="medicinecard20120601:ModificatorType"/>
			<element maxOccurs="unbounded" name="DrugMedication" type="medicinecard20120601:UnpauseDrugMedicationType"/>
		</sequence>
	</complexType>

	
	
	
	
	
	<element name="CancelPrescriptionMedicationResponse" type="medicinecard20120601:CancelPrescriptionMedicationResponseType">
		<annotation>
			<documentation xml:lang="en-GB">TODO</documentation>
			<documentation xml:lang="da-DK">TODO</documentation>
		</annotation>
	</element>
	<complexType name="CancelPrescriptionMedicationResponseType">
		<sequence>
			<sequence>
				<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
				<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
				<element minOccurs="0" name="VersionMismatchWarning" type="medicinecard20120601:VersionMismatchWarningType"/>
				<element maxOccurs="unbounded" minOccurs="0" name="PrescriptionMedicationIdentifier" type="medicinecard20120601:PrescriptionMedicationIdentifierType"/>
				<element minOccurs="0" name="PrescriptionServerError" type="medicinecard20120601:PrescriptionServerErrorType"/>
			</sequence>
		</sequence>
	</complexType>

	<element name="StreetName" type="medicinecard20120601:StreetNameType">
		<annotation>
			<documentation xml:lang="en-GB">Street name, must fit into the XML prescription</documentation>
			<documentation xml:lang="da-DK">Gadenavn, skal kunne være i XML recepten</documentation>
		</annotation>
	</element>
	<simpleType name="StreetNameType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="70"/>
		</restriction>
	</simpleType>

	
	
	
	<element name="PersonName" type="medicinecard20120601:PersonNameType"/>
	<complexType name="PersonNameType">
		<sequence>
			<element name="GivenName" type="medicinecard20120601:PersonGivenNameType"/>
			<element minOccurs="0" name="MiddleName" type="medicinecard20120601:PersonMiddleNameType"/>
			<element name="Surname" type="medicinecard20120601:PersonSurnameType"/>
		</sequence>
	</complexType>

		
	
	
	<element name="MarkPrescriptionMedicationDeprecated" type="medicinecard20120601:MarkPrescriptionMedicationDeprecatedType">
		<annotation>
			<documentation xml:lang="en-GB">For use in bulk service: Mark one or more prescription medications as no longer relevant</documentation>
			<documentation xml:lang="da-DK">Til brug i bulk service: Marker at en eller flere receptordinationer ikke længere er relevante</documentation>
		</annotation>
	</element>
	<complexType name="MarkPrescriptionMedicationDeprecatedType">
		<sequence>
			<element name="Identifier" type="medicinecard20120601:PrescriptionMedicationIdentifierType"/>
			<element minOccurs="0" name="ModifiedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ModificationMetadata" type="medicinecard20120601:ModificationMetadataType"/>						
		</sequence>
	</complexType>

	<element name="PrescriptionMedicationDateTime" type="medicinecard20120601:PrescriptionMedicationDateTimeType">
		<annotation>
			<documentation xml:lang="en-GB">Date and time when a prescription mediciation is made</documentation>
			<documentation xml:lang="da-DK">Dato og tid, hvor lægemiddelordinationen er oprettet</documentation>
		</annotation>
	</element>
	<simpleType name="PrescriptionMedicationDateTimeType">
		<restriction base="dateTime">
			<minInclusive value="2000-01-01T00:00:00Z"/>
		</restriction>
	</simpleType>

	<element name="SystemName" type="medicinecard20120601:SystemNameType">
		<annotation>
			<documentation xml:lang="en-GB">Name or description of the computer system sending the document</documentation>
			<documentation xml:lang="da-DK">Navn eller beskrivelse af computersystemet der sender dokumentet</documentation>
		</annotation>
	</element>
	<simpleType name="SystemNameType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="30"/>
		</restriction>
	</simpleType>

	<element name="ReviewedDateTime" type="medicinecard20120601:ReviewedDateTimeType">
		<annotation>
			<documentation xml:lang="en-GB">The date a medicine card was evaluated in a review</documentation>
			<documentation xml:lang="da-DK">Datoen et medicinkort blev evalueret i en medicinkort-gennemgang</documentation>
		</annotation>
	</element>
	<simpleType name="ReviewedDateTimeType">
		<restriction base="dateTime">
			<minInclusive value="2000-01-01T00:00:00Z"/>
		</restriction>
	</simpleType>

	<element name="DosageDayNumber" type="medicinecard20120601:DosageDayNumberType">
		<annotation>
			<documentation xml:lang="en-GB">Day number in the iteration interval for the dosage time</documentation>
			<documentation xml:lang="da-DK">Dag nummer i iterationsintervallet for doseringstidspunktet</documentation>
		</annotation>
	</element>
	<simpleType name="DosageDayNumberType">
		<restriction base="int">
			<minInclusive value="1"/>
		</restriction>
	</simpleType>

	<element name="DrugMedicationCreatedDateTime" type="medicinecard20120601:DrugMedicationCreatedDateTimeType">
		<annotation>
			<documentation xml:lang="en-GB">The date and time the drug medication is started</documentation>
			<documentation xml:lang="da-DK">Dato og tidspunkt lægemiddelordinationen påbegyndes</documentation>
		</annotation>
	</element>
	<simpleType name="DrugMedicationCreatedDateTimeType">
		<restriction base="dateTime">
			<minInclusive value="2000-01-01T00:00:00Z"/>
		</restriction>
	</simpleType>

	<element name="PausedToDate" type="medicinecard20120601:PausedToDateType">
		<annotation>
			<documentation xml:lang="en-GB">Paused date</documentation>
			<documentation xml:lang="da-DK">Pauseringsdato</documentation>
		</annotation>
	</element>
	<simpleType name="PausedToDateType">
		<restriction base="date">
			<minInclusive value="2000-01-01Z"/>
		</restriction>
	</simpleType>

	<element name="CountryIdentificationCode" type="medicinecard20120601:CountryIdentificationCodeType"/>
	<complexType name="CountryIdentificationCodeType">
		<annotation>
			<documentation xml:lang="en-uk">The country code based on the 4 diffent schemes.</documentation>
			<documentation xml:lang="da-dk">Landeidentifikations kode baseret på de 4 forskellige formater.</documentation>
		</annotation>
		<simpleContent>
			<extension base="medicinecard20120601:_CountryIdentificationCodeType">
				<attribute name="scheme" type="medicinecard20120601:_CountryIdentificationSchemeType" use="required"/>
			</extension>
		</simpleContent>
	</complexType>
	<!-- The types below are support types for CountryIdentificationCodeType - must not to used for other purporses. -->
	<!-- Typer nedenfor er støtte typer til CountryIdentificationCodeType - må ikke anvendes til andre formål. -->
	<simpleType name="_CountryIdentificationCodeType">
		<annotation>
			<documentation xml:lang="en-uk">This is a support type for CountryIdentificationCodeType. The pattern is a choice of 4 different patterns for different schems. ISO 3166 standard, alpha 2: [a-z,A-Z]{2}. Eksample "DK" for Danmark. ISO 3166 standard, alpha 3: [a-z,A-Z]{3}. Eksample "DKN" for Danmark. UN Statistics Divisions country codes: [0-9]{3}. Eksample "208" for Danmark AuthorityCode from the Central Office of Civil Registration: [0-9]{4}. Eksample "5100" for Danmark.</documentation>
			<documentation xml:lang="da-dk">Dette er en støttetype til CountryIdentificationCodeType. Det regulære udtryk er et valg for de 4 forskellige regulære udtryk for de forskellige formater. ISO 3166 standard, alpha 2: [a-z,A-Z]{2}. Eksempel "DK" for Danmark. ISO 3166 standard, alpha 3:  [a-z,A-Z]{3}. Eksempel "DKN" for Danmark. UN Statistics Divisions country codes: [0-9]{3}. Eksempel "208" for Danmark AuthorityCode from the Central Office of Civil Registration: [0-9]{4}. Eksempel "5100" for Danmark.</documentation>
		</annotation>
		<restriction base="string">
			<pattern value="[a-z,A-Z]{2}|[a-z,A-Z]{3}|[0-9]{3}|[0-9]{4}"/>
		</restriction>
	</simpleType>
	<simpleType name="_CountryIdentificationSchemeType">
		<annotation>
			<documentation xml:lang="en-uk">This is a support type for CountryIdentificationCodeType.</documentation>
			<documentation xml:lang="da-dk">Dette er en støttetype til CountryIdentificationCodeType.</documentation>
		</annotation>
		<restriction base="string">
			<enumeration value="iso3166-alpha2">
				<annotation>
					<documentation xml:lang="en-uk">This scheme follows the ISO 3166 standard, alpha 2.</documentation>
					<documentation xml:lang="da-dk">Dette format følge ISO 3166 standarden, alpha 2.</documentation>
				</annotation>
			</enumeration>
			<enumeration value="iso3166-alpha3">
				<annotation>
					<documentation xml:lang="en-uk">This scheme follows the ISO 3166 standard, alpha 3.</documentation>
					<documentation xml:lang="da-dk">Dette format følge ISO 3166 standarden, alpha 3.</documentation>
				</annotation>
			</enumeration>
			<enumeration value="un-numeric3">
				<annotation>
					<documentation xml:lang="en-uk">This scheme follows the UN Statistics Divisions country codes.</documentation>
					<documentation xml:lang="da-dk">Dette format følger FNs Statistik Kontor landekoder</documentation>
				</annotation>
			</enumeration>
			<enumeration value="imk">
				<annotation>
					<documentation xml:lang="en-uk">This scheme follows the AuthorityCode from the Central Office of Civil Registration.</documentation>
					<documentation xml:lang="da-dk">Dette format følger MyndighedsKoden fra Det Centrale Personregister</documentation>
				</annotation>
			</enumeration>
		</restriction>
	</simpleType>

	
	
	
	<element name="IndicationCode" type="medicinecard20120601:IndicationCodeType">
		<annotation>
			<documentation xml:lang="en-GB">Indication code (LMS26 field 1)</documentation>
			<documentation xml:lang="da-DK">Indikationskode (LMS26 felt 1)</documentation>
		</annotation>
	</element>
	<complexType name="IndicationCodeType">
		<simpleContent>
			<extension base="medicinecard20120601:IndicationCodeValueType">
				<attribute name="source" type="medicinecard20120601:IndicationCodeSourceType" use="required"/>
				<attribute name="date" type="medicinecard20120601:SourceDateType" use="optional"/>
				<attribute name="yearAndWeek" type="medicinecard20120601:SourceYearAndWeekType" use="optional"/>
			</extension>
		</simpleContent>
	</complexType>
	<simpleType name="IndicationCodeValueType">
		<restriction base="int">
			<minInclusive value="1"/>
			<maxInclusive value="9999999"/>
		</restriction>
	</simpleType>
	<simpleType name="IndicationCodeSourceType">
		<union memberTypes="medicinecard20120601:IndicationCodePredefinedSourceType medicinecard20120601:UndefinedSourceType"/>
	</simpleType>
	<simpleType name="IndicationCodePredefinedSourceType">
		<restriction base="medicinecard20120601:UndefinedSourceType">
			<enumeration value="Medicinpriser"/>
		</restriction>
	</simpleType>

	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	<element name="UpdateMedicineCardRequest" type="medicinecard20120601:UpdateMedicineCardRequestType">
		<annotation>
			<documentation xml:lang="en-GB">Outer container element for a batch request to update a medicine card</documentation>
			<documentation xml:lang="da-DK">Ydre container-element for en batchforespørgsel for at opdatere et medicinkort</documentation>
		</annotation>
	</element>
	<complexType name="UpdateMedicineCardRequestType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element minOccurs="0" name="ModifiedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ReportedBy" type="medicinecard20120601:ModificatorType"/>
			<sequence maxOccurs="unbounded">
				<element minOccurs="0" name="SetMedicineCardReviewed" type="medicinecard20120601:SetMedicineCardReviewedType"/>
				<element minOccurs="0" name="SuspendMedicineCard" type="medicinecard20120601:SuspendMedicineCardType"/>
				<element minOccurs="0" name="ResuspendMedicineCard" type="medicinecard20120601:ResuspendMedicineCardType"/>
				<element minOccurs="0" name="UnsuspendMedicineCard" type="medicinecard20120601:UnsuspendMedicineCardType"/>
				<element minOccurs="0" name="CreateDrugMedication" type="medicinecard20120601:CreateDrugMedicationType"/>
				<element minOccurs="0" name="UpdateDrugMedication" type="medicinecard20120601:UpdateDrugMedicationType"/>
				<element minOccurs="0" name="WithdrawDrugMedication" type="medicinecard20120601:WithdrawDrugMedicationType"/>
				<element minOccurs="0" name="UnwithdrawDrugMedication" type="medicinecard20120601:UnwithdrawDrugMedicationType"/>
				<element minOccurs="0" name="PauseDrugMedication" type="medicinecard20120601:PauseDrugMedicationType"/>
				<element minOccurs="0" name="UnpauseDrugMedication" type="medicinecard20120601:UnpauseDrugMedicationType"/>
				<element minOccurs="0" name="CreatePrescriptionMedication" type="medicinecard20120601:CreatePrescriptionMedicationType"/>
				<element minOccurs="0" name="AttachPrescriptionMedication" type="medicinecard20120601:AttachPrescriptionMedicationType"/>
				<element minOccurs="0" name="DetachPrescriptionMedication" type="medicinecard20120601:DetachPrescriptionMedicationType"/>
				<element minOccurs="0" name="MarkPrescriptionMedicationDeprecated" type="medicinecard20120601:MarkPrescriptionMedicationDeprecatedType"/>
				<element minOccurs="0" name="UnmarkPrescriptionMedicationDeprecated" type="medicinecard20120601:UnmarkPrescriptionMedicationDeprecatedType"/>
				<element minOccurs="0" name="CancelPrescriptionMedication" type="medicinecard20120601:CancelPrescriptionMedicationType"/>
				<element minOccurs="0" name="CreateEffectuationOnDrugMedication" type="medicinecard20120601:CreateEffectuationOnDrugMedicationType"/>
				<element minOccurs="0" name="DeleteEffectuation" type="medicinecard20120601:DeleteEffectuationType"/>
			</sequence>
		</sequence>
	</complexType>

	
	
	<element name="CreatedWithOptionalAuthorisationIdentifier" type="medicinecard20120601:CreatedWithOptionalAuthorisationIdentifierType">
		<annotation>
			<documentation xml:lang="en-GB">Element containing information about which organisation and possibly doctor who created the document this element is in (e.g. drug medication) as well as the date it ocurred.
This element is used on prescriptions, where the doctor's authorsation identifier might not be given.</documentation>
			<documentation xml:lang="da-DK">Element der indeholder information omkring hvilken organisation og muligvis læge som har oprettet dokumentet elementet befinder sig i (f.eks. lægemiddelordination), desuden datoen dette er sket. 
Dette element anvendes på recepten, hvor lægens autorisationsnummer muligvis ikke er angivet.</documentation>
		</annotation>
	</element>
	<complexType name="CreatedWithOptionalAuthorisationIdentifierType">
		<sequence>
			<element name="By" type="medicinecard20120601:ModificatorWithOptionalAuthorisationIdentifierType"/>
			<element name="DateTime" type="medicinecard20120601:CreatedDateTimeType"/>
		</sequence>
	</complexType>

	<element name="DosageIsNotIterated" type="medicinecard20120601:DosageIsNotIteratedType">
		<annotation>
			<documentation xml:lang="en-GB">Indicates that the dosage is not iterated, e.g. a one time dose or a schema for a fixed number of days, which is not repeated</documentation>
			<documentation xml:lang="da-DK">Angiver at doseringen ikke er itereret, f.eks. en engangsdosis eller et skema for et fast antal dage, der ikke gentages</documentation>
		</annotation>
	</element>
	<complexType name="DosageIsNotIteratedType"/>

	
	
	
	<element name="DrugStrengthText" type="medicinecard20120601:DrugStrengthTextType">
		<annotation>
			<documentation xml:lang="en-GB">Drug strength, plain text from (LMS01 field 10), not free text</documentation>
			<documentation xml:lang="da-DK">Lægemiddelstyrke, klar tekst fra (LMS01 felt 10), ikke fritekst</documentation>
		</annotation>
	</element>
	<complexType name="DrugStrengthTextType">
		<simpleContent>
			<extension base="medicinecard20120601:DrugStrengthTextValueType">
				<attribute name="source" type="medicinecard20120601:DrugStrengthTextSourceType" use="required"/>
				<attribute name="date" type="medicinecard20120601:SourceDateType" use="optional"/>
				<attribute name="yearAndWeek" type="medicinecard20120601:SourceYearAndWeekType" use="optional"/>
			</extension>
		</simpleContent>
	</complexType>
	<simpleType name="DrugStrengthTextValueType">
		<restriction base="string">
			<maxLength value="20"/>
		</restriction>
	</simpleType>
	<simpleType name="DrugStrengthTextSourceType">
		<union memberTypes="medicinecard20120601:DrugStrengthTextPredefinedSourceType medicinecard20120601:UndefinedSourceType"/>
	</simpleType>
	<simpleType name="DrugStrengthTextPredefinedSourceType">
		<restriction base="medicinecard20120601:UndefinedSourceType">
			<enumeration value="Medicinpriser"/>
		</restriction>
	</simpleType>

	<element name="DosageText" type="medicinecard20120601:DosageTextType">
		<annotation>
			<documentation xml:lang="en-GB">Dosage text, limited to fit on the XML prescription</documentation>
			<documentation xml:lang="da-DK">Doseringstekst, begrænset til at kunne være på XML recepten</documentation>
		</annotation>
	</element>
	<simpleType name="DosageTextType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="70"/>
		</restriction>
	</simpleType>

	<element name="OrganisationName" type="medicinecard20120601:OrganisationNameType">
		<annotation>
			<documentation xml:lang="en-GB">The name of a organisation which has acted on the medicine card</documentation>
			<documentation xml:lang="da-DK">Navnet paa en organisation der har foretaget en handling paa medicinkortet</documentation>
		</annotation>
	</element>
	<simpleType name="OrganisationNameType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="200"/>
		</restriction>
	</simpleType>

	<element name="PackageSizeText" type="medicinecard20120601:PackageSizeTextType">
		<annotation>
			<documentation xml:lang="en-GB">Package size, clear text from (LMS02 field 6) if from the DKMA price list</documentation>
			<documentation xml:lang="da-DK">Pakningsstørrelse, klartekst fra (LMS02 felt 6) hvis kilden er LMS takst</documentation>
		</annotation>
	</element>
	<simpleType name="PackageSizeTextType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="30"/>
		</restriction>
	</simpleType>

	<element name="EffectuationMethod" type="medicinecard20120601:EffectuationMethodType">
		<annotation>
			<documentation xml:lang="en-GB">Indicates if the drug prescription is administrated into the patient, handed out to the patient or given on a prescription</documentation>
			<documentation xml:lang="da-DK">Angiver, om lægemiddelordinationen er effektueret ved indgivelse, udlevering eller udskrivning af recept</documentation>
		</annotation>
	</element>
	<simpleType name="EffectuationMethodType">
		<restriction base="string">
			<enumeration value="indgivet"/>
			<enumeration value="udleveret"/>
			<enumeration value="en- eller flergangs apoteksudlevering"/>
			<enumeration value="dosisdispenseret apoteksudlevering"/>
		</restriction>
	</simpleType>

	
	
	
	
	<element name="CreatePrescriptionMedicationResponse" type="medicinecard20120601:CreatePrescriptionMedicationResponseType">
		<annotation>
			<documentation xml:lang="en-GB">Response document containing one or more responses from creating prescription medications from drug medications</documentation>
			<documentation xml:lang="da-DK">Response-dokument der indeholder en eller flere svar på oprettelse receptordinationer fra lægemiddelordinationer</documentation>
		</annotation>
	</element>
	<complexType name="CreatePrescriptionMedicationResponseType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element minOccurs="0" name="VersionMismatchWarning" type="medicinecard20120601:VersionMismatchWarningType"/>
			<element maxOccurs="unbounded" name="PrescriptionMedication" type="medicinecard20120601:CreatedPrescriptionMedicationType"/>
		</sequence>
	</complexType>

	
	
	
	
	<element name="DrugStrength" type="medicinecard20120601:DrugStrengthType">
		<annotation>
			<documentation xml:lang="en-GB">Unit for drug strength, code (LMS15 field 2)</documentation>
			<documentation xml:lang="da-DK">Enhed for lægemiddelstyrke, kode (LMS15 felt 2)</documentation>
		</annotation>
	</element>
	<complexType name="DrugStrengthType">
		<choice>
			<sequence>
				<element name="Value" type="medicinecard20120601:DrugStrengthValueType"/>
				<element name="UnitCode" type="medicinecard20120601:DrugStrengthUnitCodeType"/>
				<element name="UnitText" type="medicinecard20120601:DrugStrengthUnitTextType"/>
			</sequence>
			<element name="Text" type="medicinecard20120601:DrugStrengthTextType"/>
		</choice>
	</complexType>

	<element name="DosageTimesEndDateTime" type="medicinecard20120601:DosageTimesEndDateTimeType">
		<annotation>
			<documentation xml:lang="en-GB">End date and time for a set of dosage times</documentation>
			<documentation xml:lang="da-UK">Slutdato og tidspunkt for et sæt af doseringstidspunkter</documentation>
		</annotation>
	</element>
	<simpleType name="DosageTimesEndDateTimeType">
		<restriction base="dateTime">
			<minInclusive value="2000-01-01T00:00:00"/>
		</restriction>
	</simpleType>

	
	
	<element name="UnsuspendMedicineCard" type="medicinecard20120601:UnsuspendMedicineCardType">
		<annotation>
			<documentation xml:lang="en-GB">Information about dischargement from hospital</documentation>
			<documentation xml:lang="da-DK">Information omkring udskrivelse fra sygehus</documentation>
		</annotation>
	</element>
	<complexType name="UnsuspendMedicineCardType">
		<sequence>
			<element minOccurs="0" name="ModifiedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ModificationMetadata" type="medicinecard20120601:ModificationMetadataType"/>			
		</sequence>
	</complexType>

	<element name="DrugMedicationVersion" type="medicinecard20120601:DrugMedicationVersionType">
		<annotation>
			<documentation xml:lang="en-GB">Version number of the drug medication</documentation>
			<documentation xml:lang="da-DK">Lægemiddelordinationens versionsnummer</documentation>
		</annotation>
	</element>
	<simpleType name="DrugMedicationVersionType">
		<restriction base="long">
			<minInclusive value="1"/>
		</restriction>
	</simpleType>

	<element name="DrugMedicationTreatmentStartDateTime" type="medicinecard20120601:DrugMedicationTreatmentStartDateTimeType">
		<annotation>
			<documentation xml:lang="en-GB">The date and time the drug medication is started</documentation>
			<documentation xml:lang="da-DK">Dato og tidspunkt lægemiddelordinationen påbegyndes</documentation>
		</annotation>
	</element>
	<simpleType name="DrugMedicationTreatmentStartDateTimeType">
		<restriction base="dateTime">
			<minInclusive value="1890-01-01T00:00:00"/>
		</restriction>
	</simpleType>

	<element name="GetAllPermissions" type="medicinecard20120601:GetAllPermissionsType">
		<annotation>
			<documentation xml:lang="da-DK">Forespørgsel på rettigheder til person</documentation>
		</annotation>
	</element>
	<complexType name="GetAllPermissionsType"/>

	
	
	
	
	
	
	<element name="Organisation" type="medicinecard20120601:OrganisationType">
		<annotation>
			<documentation xml:lang="en-GB">Describes an organisation.</documentation>
			<documentation xml:lang="da-DK">Beskriver en organisation</documentation>
		</annotation>
	</element>
	<complexType name="OrganisationType">
		<sequence>
			<element name="Name" type="medicinecard20120601:OrganisationNameType"/>
			<element maxOccurs="5" minOccurs="0" name="AddressLine" type="medicinecard20120601:AddressLineType"/>
			<element minOccurs="0" name="TelephoneNumber" type="medicinecard20120601:TelephoneNumberType"/>
			<element minOccurs="0" name="EmailAddress" type="medicinecard20120601:EmailAddressType"/>
			<element name="Type" type="medicinecard20120601:OrganisationTypeType"/>
			<element name="Identifier" type="medicinecard20120601:OrganisationIdentifierType"/>
		</sequence>
	</complexType>

	
		
	
	
	<element name="ResuspendMedicineCardRequest" type="medicinecard20120601:ResuspendMedicineCardRequestType">
		<annotation>
			<documentation xml:lang="en-GB">A request which marks that the medicine card is suspended, the patient has been admitted to hospital</documentation>
			<documentation xml:lang="da-DK">En forespørgsel der markerer at medicinkortet er suspenderet, patienten er indlagt på sygehus</documentation>
		</annotation>
	</element>
	<complexType name="ResuspendMedicineCardRequestType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element name="SuspendedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ReportedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ModificationMetadata" type="medicinecard20120601:ModificationMetadataType"/>
		</sequence>
	</complexType>

	<element name="ModifiedDateTime" type="medicinecard20120601:ModifiedDateTimeType">
		<annotation>
			<documentation xml:lang="en-GB">Modified date time</documentation>
			<documentation xml:lang="da-DK">Ændringsdato og tid</documentation>
		</annotation>
	</element>
	<simpleType name="ModifiedDateTimeType">
		<restriction base="dateTime">
			<minInclusive value="2000-01-01T00:00:00Z"/>
		</restriction>
	</simpleType>

	
	<element name="GetPermissionsResponse" type="medicinecard20120601:GetPermissionsResponseType">
		<annotation>
			<documentation xml:lang="en-GB">Response with the list of Permissions possessed by the caller</documentation>
			<documentation xml:lang="da-DK">Svar på anmodning om listen indeholdende de rettigheder, der er tildelt kalderen</documentation>
		</annotation>
	</element>
	<complexType name="GetPermissionsResponseType">
		<sequence>
			<element maxOccurs="unbounded" minOccurs="0" name="RolesPermissions" type="medicinecard20120601:RolesPermissionsType"/>
		</sequence>
	</complexType>

	<element name="DosageTimesDosageEndingUndetermined" type="medicinecard20120601:DosageTimesDosageEndingUndeterminedType">
		<annotation>
			<documentation xml:lang="en-GB">Indicates that the dosage ending is undetermined, e.g. because the treatment is continuous</documentation>
			<documentation xml:lang="da-DK">Angiver at doseringens afslutning er uafgjort, f.eks. fordi der er tale om en fast behandling</documentation>
		</annotation>
	</element>
	<complexType name="DosageTimesDosageEndingUndeterminedType"/>

	
		
	
	<element name="DeleteEffectuation" type="medicinecard20120601:DeleteEffectuationType">
		<annotation>
			<documentation xml:lang="en-GB">Instructions on deleting an effectuation</documentation>
			<documentation xml:lang="da-DK">Anvisning for sletning af en effetuering</documentation>
		</annotation>
	</element>
	<complexType name="DeleteEffectuationType">
		<sequence>
			<element name="Identifier" type="medicinecard20120601:EffectuationIdentifierType"/>
			<element minOccurs="0" name="ModifiedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ModificationMetadata" type="medicinecard20120601:ModificationMetadataType"/>						
		</sequence>
	</complexType>

	<element name="PersonGivenName" type="medicinecard20120601:PersonGivenNameType">
		<annotation>
			<documentation xml:lang="en-GB">A person's first name(s)</documentation>
			<documentation xml:lang="da-DK">En persons fornavn(e)</documentation>
		</annotation>
	</element>
	<simpleType name="PersonGivenNameType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="50"/>
		</restriction>
	</simpleType>

	
	
	
	<element name="Dose" type="medicinecard20120601:DoseType">
		<annotation>
			<documentation xml:lang="en-GB">Description of a dose element, when and how much</documentation>
			<documentation xml:lang="da-DK">Beskrivelse af en dosis på et givet stidspunkt, hvornår og hvor meget</documentation>
		</annotation>
	</element>
	<complexType name="DoseType">
		<sequence>
			<element minOccurs="0" name="Time" type="medicinecard20120601:DoseTimeType"/>
			<choice>
				<element name="Quantity" type="medicinecard20120601:DoseQuantityType"/>
				<sequence>
					<element name="MinimalQuantity" type="medicinecard20120601:DoseQuantityType"/>
					<element name="MaximalQuantity" type="medicinecard20120601:DoseQuantityType"/>
				</sequence>
			</choice>
			<element minOccurs="0" name="IsAccordingToNeed" type="medicinecard20120601:IsAccordingToNeedType"/>
		</sequence>
	</complexType>

	
	
	
	
	
	
	
	
	
	
	
	
	<element name="EffectuationOnPrescriptionMedication" type="medicinecard20120601:EffectuationOnPrescriptionMedicationType">
		<annotation>
			<documentation xml:lang="en-GB">An effectuation on the prescription medication. It has been created by the pharamacy, so there is no doctor element. The possibilities for how the effectuation is done is limited, there is always effectuated one or more packages.</documentation>
		</annotation>
	</element>
	<complexType name="EffectuationOnPrescriptionMedicationType">
		<sequence>
			<element name="Identifier" type="medicinecard20120601:EffectuationIdentifierType"/>
			<element name="DateTime" type="medicinecard20120601:EffectuationDateTimeType"/>
			<element minOccurs="0" name="EffectuationMethod" type="medicinecard20120601:EffectuationMethodType"/>
			<element name="Created" type="medicinecard20120601:CreatedWithoutPersonType"/>
			<element minOccurs="0" name="ReportedBy" type="medicinecard20120601:ModificatorWithoutPersonType"/>
			<element minOccurs="0" name="PackageQuantity" type="medicinecard20120601:PackageQuantityType"/>
			<element name="PackageNumber" type="medicinecard20120601:PackageNumberType"/>
			<element minOccurs="0" name="PackageSize" type="medicinecard20120601:PackageSizeType"/>
			<element minOccurs="0" name="Drug" type="medicinecard20120601:DrugType"/>
		</sequence>
	</complexType>

	<element name="StreetNameForAddressing" type="medicinecard20120601:StreetNameForAddressingType">
		<annotation>
			<documentation>
			An abbreviation of streetname. The street name for adressing is reported in case the street name is above 20 positions. For names up to 20 positions the street name for addressing is the same as the street name. The street name for adressing is among other things used on items of mail.
 			</documentation>
		</annotation>
	</element>
	<simpleType name="StreetNameForAddressingType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="20"/>
		</restriction>
	</simpleType>

	
	
	
	
	<element name="UnwithdrawDrugMedicationRequest" type="medicinecard20120601:UnwithdrawDrugMedicationRequestType">
		<annotation>
			<documentation xml:lang="en-GB">Outer container element for a request for a request which will undo a withdraw of one or more drug medications</documentation>
			<documentation xml:lang="da-DK">Ydre container-element for en forespørgsel der fjerner en seponering af en eller flere lægemiddelordinationer</documentation>
		</annotation>
	</element>
	<complexType name="UnwithdrawDrugMedicationRequestType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element name="ModifiedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ReportedBy" type="medicinecard20120601:ModificatorType"/>
			<element maxOccurs="unbounded" name="DrugMedication" type="medicinecard20120601:UnwithdrawDrugMedicationType"/>
		</sequence>
	</complexType>

	
	<element name="OrganisationIdentifier" type="medicinecard20120601:OrganisationIdentifierType">
		<annotation>
			<documentation xml:lang="en-GB">Number or code identifying an organisation</documentation>
			<documentation xml:lang="da-DK">Nummer eller kode der identificerer en organisation</documentation>
		</annotation>
	</element>
	<complexType name="OrganisationIdentifierType">
		<simpleContent>
			<extension base="medicinecard20120601:OrganisationIdentifierValueType">
				<attribute name="source" type="medicinecard20120601:OrganisationIdentifierSourceType" use="required"/>
							</extension>
		</simpleContent>
	</complexType>
	<simpleType name="OrganisationIdentifierValueType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="200"/>
		</restriction>
	</simpleType>
	<simpleType name="OrganisationIdentifierSourceType">
		<union memberTypes="medicinecard20120601:OrganisationIdentifierPredefinedSourceType medicinecard20120601:UndefinedSourceType"/>
	</simpleType>
	<simpleType name="OrganisationIdentifierPredefinedSourceType">
		<restriction base="medicinecard20120601:UndefinedSourceType">
			<enumeration value="SKS"/>
			<enumeration value="Yder"/>
			<enumeration value="EAN-Lokationsnummer"/>
			<enumeration value="CVR"/>
			<enumeration value="CVR-P"/>
			<enumeration value="Kommunekode"/>
		</restriction>
	</simpleType>

	
	
	
	<element name="SpecialityCode" type="medicinecard20120601:SpecialityCodeType">
		<annotation>
			<documentation xml:lang="en-GB">The doctors speciality code according to the pricelist's table LMS19</documentation>
			<documentation xml:lang="da-DK">Lægens specialekode ifølge takstens LMS19</documentation>
		</annotation>
	</element>
	<complexType name="SpecialityCodeType">
		<simpleContent>
			<extension base="medicinecard20120601:SpecialityCodeValueType">
				<attribute name="source" type="medicinecard20120601:SpecialityCodeSourceType" use="required"/>
				<attribute name="date" type="medicinecard20120601:SourceDateType" use="optional"/>
				<attribute name="yearAndWeek" type="medicinecard20120601:SourceYearAndWeekType" use="optional"/>
			</extension>
		</simpleContent>
	</complexType>
	<simpleType name="SpecialityCodeValueType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="5"/>
		</restriction>
	</simpleType>
	<simpleType name="SpecialityCodeSourceType">
		<union memberTypes="medicinecard20120601:SpecialityCodePredefinedSourceType medicinecard20120601:UndefinedSourceType"/>
	</simpleType>
	<simpleType name="SpecialityCodePredefinedSourceType">
		<restriction base="medicinecard20120601:UndefinedSourceType">
			<enumeration value="Medicinpriser"/>
		</restriction>
	</simpleType>

	
	
	<element name="RolesPermissions" type="medicinecard20120601:RolesPermissionsType">
		<annotation>
			<documentation xml:lang="en-GB">Permissions for a role</documentation>
			<documentation xml:lang="da-DK">En rolles rettigheder</documentation>
		</annotation>
	</element>
	<complexType name="RolesPermissionsType">
		<sequence>
			<element name="RequestedRole" type="medicinecard20120601:RequestedRoleType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="Permission" type="medicinecard20120601:PermissionType"/>
		</sequence>
	</complexType>

	
	
	
	
	<element name="CreateEffectuationRequest" type="medicinecard20120601:CreateEffectuationRequestType">
		<annotation>
			<documentation xml:lang="en-GB">Outer container elemenet for a request to add a effecutation</documentation>
			<documentation xml:lang="da-DK">Ydre container-element for en forespørgsel for at tilføje en effektuering</documentation>
		</annotation>
	</element>
	<complexType name="CreateEffectuationRequestType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element minOccurs="0" name="CreatedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ReportedBy" type="medicinecard20120601:ModificatorType"/>
			<element maxOccurs="unbounded" name="DrugMedication" type="medicinecard20120601:CreateEffectuationOnDrugMedicationType"/>
		</sequence>
	</complexType>

	
	
	
	
	<element name="CreatePrescriptionMedicationRequest" type="medicinecard20120601:CreatePrescriptionMedicationRequestType">
		<annotation>
			<documentation xml:lang="en-GB">Request document containing one or more documents for creating prescription medications from drug medications</documentation>
			<documentation xml:lang="da-DK">Request-dokument der indeholder en eller flere dokumenter til at oprette receptordinationer fra lægemiddelordinationer</documentation>
		</annotation>
	</element>
	<complexType name="CreatePrescriptionMedicationRequestType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element minOccurs="0" name="CreatedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ReportedBy" type="medicinecard20120601:ModificatorType"/>
			<element maxOccurs="unbounded" name="PrescriptionMedication" type="medicinecard20120601:CreatePrescriptionMedicationType"/>
		</sequence>
	</complexType>

	
	
	
	
	
	
	
	
	
	
	
	
	<element name="DosageStructure" type="medicinecard20120601:DosageStructureType">
		<annotation>
			<documentation xml:lang="en-GB">Description of the dosage times of a treatment</documentation>
			<documentation xml:lang="da-DK">Beskrivelse af doseringstidspunkter for en behandling</documentation>
		</annotation>
	</element>
	<complexType name="DosageStructureType">
		<sequence>
			<choice>
				<element name="IterationInterval" type="medicinecard20120601:DosageTimesIterationIntervalType"/>
				<element name="NotIterated" type="medicinecard20120601:DosageIsNotIteratedType"/>
			</choice>
			<choice>
				<element name="StartDate" type="medicinecard20120601:DosageTimesStartDateType"/>
				<element name="StartDateTime" type="medicinecard20120601:DosageTimesStartDateTimeType"/>
			</choice>
			<choice>
				<element name="EndDate" type="medicinecard20120601:DosageTimesEndDateType"/>
				<element name="EndDateTime" type="medicinecard20120601:DosageTimesEndDateTimeType"/>
				<element name="DosageEndingUndetermined" type="medicinecard20120601:DosageTimesDosageEndingUndeterminedType"/>
			</choice>
			<choice>
				<element name="UnitText" type="medicinecard20120601:DosageQuantityUnitTextType"/>
				<element name="UnitTexts" type="medicinecard20120601:DosageQuantityUnitTextsType"/>
			</choice>
			<element minOccurs="0" name="SupplementaryText" type="medicinecard20120601:DosageSupplementaryTextType"/>
			<choice>
				<!-- A convoluted construction for either AnyDay or one or more Day, or both, bot not neither -->
				<sequence>
					<element name="AnyDay" type="medicinecard20120601:DosageAnyDayType"/>
					<element maxOccurs="unbounded" minOccurs="0" name="Day" type="medicinecard20120601:DosageDayType"/>
				</sequence>
				<element maxOccurs="unbounded" name="Day" type="medicinecard20120601:DosageDayType"/>
			</choice>
		</sequence>
	</complexType>

	
	
	
	<element name="DrugStrengthUnitCode" type="medicinecard20120601:DrugStrengthUnitCodeType">
		<annotation>
			<documentation xml:lang="en-GB">Unit for drug strength, code (LMS15 field 2)</documentation>
			<documentation xml:lang="da-DK">Enhed for lægemiddelstyrke, kode (LMS15 felt 2)</documentation>
		</annotation>
	</element>
	<complexType name="DrugStrengthUnitCodeType">
		<simpleContent>
			<extension base="medicinecard20120601:DrugStrengthUnitCodeValueType">
				<attribute name="source" type="medicinecard20120601:DrugStrengthUnitCodeSourceType" use="required"/>
				<attribute name="date" type="medicinecard20120601:SourceDateType" use="optional"/>
				<attribute name="yearAndWeek" type="medicinecard20120601:SourceYearAndWeekType" use="optional"/>
			</extension>
		</simpleContent>
	</complexType>
	<simpleType name="DrugStrengthUnitCodeValueType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="3"/>
		</restriction>
	</simpleType>
	<simpleType name="DrugStrengthUnitCodeSourceType">
		<union memberTypes="medicinecard20120601:DrugStrengthUnitCodePredefinedSourceType medicinecard20120601:UndefinedSourceType"/>
	</simpleType>
	<simpleType name="DrugStrengthUnitCodePredefinedSourceType">
		<restriction base="medicinecard20120601:UndefinedSourceType">
			<enumeration value="Medicinpriser"/>
		</restriction>
	</simpleType>

	<element name="DosageTranslationShortText" type="medicinecard20120601:DosageTranslationShortTextType">
		<annotation>
			<documentation xml:lang="en-GB">A short text representation of the dosage structure, e.g. "2 stk 3 gange daglig"</documentation>
			<documentation xml:lang="da-DK">En kort teksrepræsentation af doseringsstrukturen, f.eks. "2 stk 3 gange daglig"</documentation>
		</annotation>
	</element>
	<simpleType name="DosageTranslationShortTextType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="70"/>
		</restriction>
	</simpleType>

	
	
	
	<element name="ResuspendMedicineCardResponse" type="medicinecard20120601:ResuspendMedicineCardResponseType">
		<annotation>
			<documentation xml:lang="en-GB">Response from a request which marks that the medicine card is suspended</documentation>
			<documentation xml:lang="da-DK">Svar på en forespørgsel der markerer at medicinkortrt er suspenderet</documentation>
		</annotation>
	</element>
	<complexType name="ResuspendMedicineCardResponseType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element minOccurs="0" name="VersionMismatchWarning" type="medicinecard20120601:VersionMismatchWarningType"/>
		</sequence>
	</complexType>

	
	
	
	
	<element name="WithdrawDrugMedicationResponse" type="medicinecard20120601:WithdrawDrugMedicationResponseType">
		<annotation>
			<documentation xml:lang="en-GB">Outer container elemenet for a response from a for a request which updated an existing drug medication</documentation>
			<documentation xml:lang="da-DK">Ydre container-element for et svar på en forespørgsel der opdaterer en eksisterende lægemiddelordination</documentation>
		</annotation>
	</element>
	<complexType name="WithdrawDrugMedicationResponseType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element minOccurs="0" name="VersionMismatchWarning" type="medicinecard20120601:VersionMismatchWarningType"/>
			<element maxOccurs="unbounded" name="DrugMedication" type="medicinecard20120601:WithdrawnDrugMedicationType"/>
		</sequence>
	</complexType>

	
	<element name="GetCallersPermissionsToPerson" type="medicinecard20120601:GetCallersPermissionsToPersonType">
		<annotation>
			<documentation xml:lang="da-DK">Forespørgsel på rettigheder til person</documentation>
		</annotation>
	</element>
	<complexType name="GetCallersPermissionsToPersonType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
		</sequence>
	</complexType>

	<element name="DeliveryPriority" type="medicinecard20120601:DeliveryPriorityType">
		<annotation>
			<documentation xml:lang="en-GB">Priority for the pharmacy's delivery of the drug</documentation>
			<documentation xml:lang="da-DK">Priorit for apotekets levering af lægemidlet</documentation>
		</annotation>
	</element>
	<simpleType name="DeliveryPriorityType">
		<restriction base="string">
			<enumeration value="send til anden adresse samme dag"/>
			<enumeration value="send til anden adresse pr post"/>
			<enumeration value="send til patientadresse samme dag"/>
			<enumeration value="send til patientadresse pr post"/>
		</restriction>
	</simpleType>

	<element name="LatestReplicationDateTime" type="medicinecard20120601:LatestReplicationDateTimeType">
		<annotation>
			<documentation xml:lang="en-GB">The date and time of the latest replication of prescriptions</documentation>
			<documentation xml:lang="da-DK">Dato og tidspunkt for den sidste replikering af recepter</documentation>
		</annotation>
	</element>
	<simpleType name="LatestReplicationDateTimeType">
		<restriction base="dateTime">
			<minInclusive value="2000-01-01T00:00:00Z"/>
		</restriction>
	</simpleType>

	<element name="ContactName" type="medicinecard20120601:ContactNameType">
		<annotation>
			<documentation xml:lang="en-GB">Other name for delivery of drugs from the pharmacy, e.g. a nursing home</documentation>
			<documentation xml:lang="da-DK">Andet navn for levering af lægemidler fra apoteket, f.eks. et plejehjem</documentation>
		</annotation>
	</element>
	<simpleType name="ContactNameType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="70"/>
		</restriction>
	</simpleType>

	<element name="EffectuationIdentifier" type="medicinecard20120601:EffectuationIdentifierType">
		<annotation>
			<documentation xml:lang="en-GB">Unique identification og the effectuation</documentation>
			<documentation xml:lang="da-DK">Unik identifikation af effektueringen</documentation>
		</annotation>
	</element>
	<simpleType name="EffectuationIdentifierType">
		<restriction base="long">
			<minInclusive value="1"/>
		</restriction>
	</simpleType>

	<element name="PostCodeIdentifier" type="medicinecard20120601:PostCodeIdentifierType">
		<annotation>
			<documentation>The postal departments nationwide postal code.</documentation>
		</annotation>
	</element>
	<simpleType name="PostCodeIdentifierType">
		<restriction base="string">
			<pattern value="[0-9]{4}"/>
		</restriction>
	</simpleType>

	
	
	
	<element name="SearchWithdrawnDrugMedicationsRequest" type="medicinecard20120601:SearchWithdrawnDrugMedicationsRequestType">
		<annotation>
			<documentation xml:lang="en-GB">Element for a search request for withdrawn drug medcinations</documentation>
			<documentation xml:lang="da-DK">Element for en søge-forespørgsel efter seponerede lægemiddelordinationer</documentation>
		</annotation>
	</element>
	<complexType name="SearchWithdrawnDrugMedicationsRequestType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element minOccurs="0" name="DateTime" type="def4:dateTime"/>
			<element minOccurs="0" name="WithdrawnAfterDateTime" type="medicinecard20120601:WithdrawnDateTimeType"/>
			<element minOccurs="0" name="NegativeConsent" type="medicinecard20120601:NegativeConsentRequestType"/>
		</sequence>
	</complexType>

	
	
	
	<element name="GetPrescriptionMedicationRequest" type="medicinecard20120601:GetPrescriptionMedicationRequestType">
		<annotation>
			<documentation xml:lang="en-GB">Element for a request for a prescription medication</documentation>
			<documentation xml:lang="da-DK">Element for en forespørgsel efter en receptordination</documentation>
		</annotation>
	</element>
	<complexType name="GetPrescriptionMedicationRequestType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element maxOccurs="unbounded" name="Identifier" type="medicinecard20120601:PrescriptionMedicationIdentifierType"/>
			<element name="IncludeEffectuations" type="medicinecard20120601:IncludeEffectuationsType"/>
		</sequence>
	</complexType>

	
	
	
	<element name="SimpleCPRPerson" type="medicinecard20120601:SimpleCPRPersonType"/>
	<complexType name="SimpleCPRPersonType">
		<sequence>
			<choice minOccurs="0">
				<element name="Name" type="medicinecard20120601:PersonNameType"/>
				<element name="NameProtected" type="medicinecard20120601:PersonNameProtectedType"/>
			</choice>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
		</sequence>
	</complexType>

	
	
	
	<element name="SimplePersonWithoutCPR" type="medicinecard20120601:SimplePersonWithoutCPRType"/>
	<complexType name="SimplePersonWithoutCPRType">
		<sequence>
			<element name="Name" type="medicinecard20120601:PersonNameType"/>
			<element name="BirthDate" type="medicinecard20120601:BirthDateType"/>
			<element name="Gender" type="medicinecard20120601:GenderType"/>
		</sequence>
	</complexType>

	
	
	<element name="DrugForm" type="medicinecard20120601:DrugFormType">
		<annotation>
			<documentation xml:lang="en-GB">Drug form, code and text</documentation>
			<documentation xml:lang="da-DK">Lægemiddelform, kode og tekst</documentation>
		</annotation>
	</element>
	<complexType name="DrugFormType">
		<sequence>
			<element name="Code" type="medicinecard20120601:DrugFormCodeType"/>
			<element name="Text" type="medicinecard20120601:DrugFormTextType"/>
		</sequence>
	</complexType>

	<element name="TerminatedDateTime" type="medicinecard20120601:TerminatedDateTimeType">
		<annotation>
			<documentation xml:lang="en-GB">The time when the prescription was terminated</documentation>
			<documentation xml:lang="da-DK">Tidspunkt hvor receptordinationen er afsluttet</documentation>
		</annotation>
	</element>
	<simpleType name="TerminatedDateTimeType">
		<restriction base="dateTime">
			<minInclusive value="2000-01-01T00:00:00Z"/>
		</restriction>
	</simpleType>

	<element name="EffectuationDateTime" type="medicinecard20120601:EffectuationDateTimeType">
		<annotation>
			<documentation xml:lang="en-GB">Date and time when the drug prescription is effectuated</documentation>
			<documentation xml:lang="da-DK">Dato og tid, hvor lægemiddelordinationen er effektueret</documentation>
		</annotation>
	</element>
	<simpleType name="EffectuationDateTimeType">
		<restriction base="dateTime">
			<minInclusive value="2000-01-01T00:00:00Z"/>
		</restriction>
	</simpleType>

	
	
	
	
	
	
	
	<element name="GetMedicineCardRequest" type="medicinecard20120601:GetMedicineCardRequestType">
		<annotation>
			<documentation xml:lang="en-GB">Element for a request for a medicinecard</documentation>
			<documentation xml:lang="da-DK">Element for en forespørgsel efter et medicinkort</documentation>
		</annotation>
	</element>
	<complexType name="GetMedicineCardRequestType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="Version" type="medicinecard20120601:MedicineCardVersionType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="DateTime" type="medicinecard20120601:ModifiedDateTimeType"/>
			<element minOccurs="0" name="NegativeConsent" type="medicinecard20120601:NegativeConsentRequestType"/>
			<element name="IncludePrescriptionMedications" type="medicinecard20120601:IncludePrescriptionMedicationsType"/>
			<element name="IncludeEffectuations" type="medicinecard20120601:IncludeEffectuationsType"/>
			<element name="IncludeNonRelevantPrescriptionMedications" type="medicinecard20120601:IncludeNonRelevantPrescriptionMedicationsType"/>
		</sequence>
	</complexType>

	<element name="DoseQuantity" type="medicinecard20120601:DoseQuantityType">
		<annotation>
			<documentation xml:lang="en-GB">Dosage quantity, numerical value (DMA01 field 11)</documentation>
			<documentation xml:lang="da-DK">Medicinmængde, numerisk værdi (LMS01 felt 11)</documentation>
		</annotation>
	</element>
	<simpleType name="DoseQuantityType">
		<restriction base="decimal">
			<minInclusive value="0"/>
			<maxInclusive value="999999999.999999999"/>
			<fractionDigits value="9"/>
			<totalDigits value="18"/>
		</restriction>
	</simpleType>

	<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType">
		<annotation>
			<documentation xml:lang="en-GB">Element for a person identifier, according to the Danish CPR format.</documentation>
			<documentation xml:lang="da-DK">Element for er CPR-nummer</documentation>
		</annotation>
	</element>
	<simpleType name="PersonIdentifierType">
		<restriction base="string">
			<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})"/>
		</restriction>
	</simpleType>

	<element name="DistrictName" type="medicinecard20120601:DistrictNameType">
		<annotation>
			<documentation>
			Declares the name of a postal district in plain text.
The field contains 20 positions, which enables it to fit a window envelope
together with the postal code and one free position in addition. The postal
district is defined by municipalitycode, roadcode, postalcode, housenumber
from/to together with a code, which declares whether the roadsection in
question contains even or uneven housenumbers.
			</documentation>
		</annotation>
	</element>
	<simpleType name="DistrictNameType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="20"/>
		</restriction>
	</simpleType>

	
	
	
	<element name="ActiveSubstanceText" type="medicinecard20120601:ActiveSubstanceTextType">
		<annotation>
			<documentation xml:lang="en-GB">Contains one active substance from LMS 30 field 5</documentation>
			<documentation xml:lang="da-DK">Indeholder en enkelt aktiv substans fra LMS30 felt 5</documentation>
		</annotation>
	</element>
	<complexType name="ActiveSubstanceTextType">
		<simpleContent>
			<extension base="medicinecard20120601:ActiveSubstanceTextValueType">
				<attribute name="source" type="medicinecard20120601:ActiveSubstanceTextSourceType" use="required"/>
				<attribute name="date" type="medicinecard20120601:SourceDateType" use="optional"/>
				<attribute name="yearAndWeek" type="medicinecard20120601:SourceYearAndWeekType" use="optional"/>
			</extension>
		</simpleContent>
	</complexType>
	<simpleType name="ActiveSubstanceTextValueType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="150"/>
		</restriction>
	</simpleType>
	<simpleType name="ActiveSubstanceTextSourceType">
		<union memberTypes="medicinecard20120601:ActiveSubstanceTextPredefinedSourceType medicinecard20120601:UndefinedSourceType"/>
	</simpleType>
	<simpleType name="ActiveSubstanceTextPredefinedSourceType">
		<restriction base="medicinecard20120601:UndefinedSourceType">
			<enumeration value="Chemical Abstract (CAS)"/>
			<enumeration value="Medicinpriser"/>
			<enumeration value="Local"/>
		</restriction>
	</simpleType>

	
	
	
	<element name="DosageQuantityUnitTexts" type="medicinecard20120601:DosageQuantityUnitTextsType">
		<annotation>
			<documentation xml:lang="en-GB">Unit for dosage quantity, singular and plural</documentation>
			<documentation xml:lang="da-DK">Enhed for dosismængde, ental og flertal</documentation>
		</annotation>
	</element>
	<complexType name="DosageQuantityUnitTextsType">
		<sequence>
			<element name="Singular" type="medicinecard20120601:DosageQuantityUnitTextsValueType"/>
			<element name="Plural" type="medicinecard20120601:DosageQuantityUnitTextsValueType"/>
		</sequence>
				<attribute name="source" type="medicinecard20120601:DosageQuantityUnitTextsSourceType" use="required"/>
				<attribute name="date" type="medicinecard20120601:SourceDateType" use="optional"/>
				<attribute name="yearAndWeek" type="medicinecard20120601:SourceYearAndWeekType" use="optional"/>
	</complexType>
	<simpleType name="DosageQuantityUnitTextsValueType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="50"/>
		</restriction>
	</simpleType>
	<simpleType name="DosageQuantityUnitTextsSourceType">
		<union memberTypes="medicinecard20120601:DosageQuantityUnitTextsPredefinedSourceType medicinecard20120601:UndefinedSourceType"/>
	</simpleType>
	<simpleType name="DosageQuantityUnitTextsPredefinedSourceType">
		<restriction base="medicinecard20120601:UndefinedSourceType">
			<enumeration value="Medicinpriser"/>
			<enumeration value="Doseringsforslag"/>
			<enumeration value="Local"/>
		</restriction>
	</simpleType>

	
	
	
	
	<element name="UnsuspendMedicineCardRequest" type="medicinecard20120601:UnsuspendMedicineCardRequestType">
		<annotation>
			<documentation xml:lang="en-GB">A request to unsuspend a medicine card, the patient is discharged from hospital</documentation>
			<documentation xml:lang="da-DK">En forespørgsel om at ophæve suspenderingen af et medicinkort (frigive), patienten udskrivers fra sygehus</documentation>
		</annotation>
	</element>
	<complexType name="UnsuspendMedicineCardRequestType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element name="ModifiedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ReportedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ModificationMetadata" type="medicinecard20120601:ModificationMetadataType"/>			
		</sequence>
	</complexType>

	
	
	
	<element name="DosageQuantityUnitText" type="medicinecard20120601:DosageQuantityUnitTextType">
		<annotation>
			<documentation xml:lang="en-GB">Unit for dosage quantity</documentation>
			<documentation xml:lang="da-DK">Enhed for dosismængde</documentation>
		</annotation>
	</element>
	<complexType name="DosageQuantityUnitTextType">
		<simpleContent>
			<extension base="medicinecard20120601:DosageQuantityUnitTextValueType">
				<attribute name="source" type="medicinecard20120601:DosageQuantityUnitTextSourceType" use="required"/>
				<attribute name="date" type="medicinecard20120601:SourceDateType" use="optional"/>
				<attribute name="yearAndWeek" type="medicinecard20120601:SourceYearAndWeekType" use="optional"/>
			</extension>
		</simpleContent>
	</complexType>
	<simpleType name="DosageQuantityUnitTextValueType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="50"/>
		</restriction>
	</simpleType>
	<simpleType name="DosageQuantityUnitTextSourceType">
		<union memberTypes="medicinecard20120601:DosageQuantityUnitTextPredefinedSourceType medicinecard20120601:UndefinedSourceType"/>
	</simpleType>
	<simpleType name="DosageQuantityUnitTextPredefinedSourceType">
		<restriction base="medicinecard20120601:UndefinedSourceType">
			<enumeration value="Medicinpriser"/>
			<enumeration value="Doseringsforslag"/>
			<enumeration value="Local"/>
		</restriction>
	</simpleType>

	<element name="SubstitutionAllowed" type="medicinecard20120601:SubstitutionAllowedType">
		<annotation>
			<documentation xml:lang="en-GB">Indicates if the pharmacy is allowed to substitute the drug</documentation>
			<documentation xml:lang="da-DK">Angiver hvorvidt apoteket har lov til at foretage substitution af lægemidlet</documentation>
		</annotation>
	</element>
	<simpleType name="SubstitutionAllowedType">
		<restriction base="boolean"/>
	</simpleType>

	
	
	
	
	
	
	
	
	
	
	<element name="MedicineCard" type="medicinecard20120601:MedicineCardType">
		<annotation>
			<documentation xml:lang="en-GB">Virtual card where a patient's medications are documented, except effectuations</documentation>
			<documentation xml:lang="da-DK">Virtuelt kort hvori en patients medicineringer dokumenteres, undtaget effektueringer</documentation>
		</annotation>
	</element>
	<complexType name="MedicineCardType">
		<sequence>
			<element name="Patient" type="medicinecard20120601:PatientType"/>
			<element name="Version" type="medicinecard20120601:MedicineCardVersionType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="PreviousVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="NextVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element minOccurs="0" name="ReportedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="Modified" type="medicinecard20120601:ModifiedType"/>
			<element minOccurs="0" name="Suspended" type="medicinecard20120601:SuspendedType"/>
			<element minOccurs="0" name="Reviewed" type="medicinecard20120601:ReviewedType"/>
			<element minOccurs="0" name="IsInvalid" type="medicinecard20120601:MedicineCardIsInvalidType"/>
			<element minOccurs="0" name="HomeCareSubscription" type="medicinecard20120601:OrganisationType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="DrugMedicationWithNegativeConsent" type="medicinecard20120601:DrugMedicationWithNegativeConsentType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="DrugMedication" type="medicinecard20120601:DrugMedicationType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="PrescriptionMedication" type="medicinecard20120601:PrescriptionMedicationType"/>
		</sequence>
	</complexType>

	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	<element name="PrescriptionMedication" type="medicinecard20120601:PrescriptionMedicationType">
		<annotation>
			<documentation xml:lang="en-GB">A prescription medication (a medication on a prescription)</documentation>
			<documentation xml:lang="da-DK">En receptordination (en ordination på en recept)</documentation>
		</annotation>
	</element>
	<complexType name="PrescriptionMedicationType">
		<sequence>
			<element name="Identifier" type="medicinecard20120601:PrescriptionMedicationIdentifierType"/>
			<element minOccurs="0" name="OrderedEffectuationIdentifier" type="medicinecard20120601:OrderedEffectuationIdentifierType"/>
			<element name="AuthorisationDateTime" type="medicinecard20120601:AuthorisationDateTimeType"/>
			<element name="Created" type="medicinecard20120601:CreatedWithOptionalAuthorisationIdentifierType"/>
			<element minOccurs="0" name="LatestEffectuationDateTime" type="medicinecard20120601:LatestEffectuationDateTimeType"/>
			<element minOccurs="0" name="TerminatedDateTime" type="medicinecard20120601:TerminatedDateTimeType"/>
			<choice maxOccurs="3" minOccurs="0">
				<element name="DeliveryInformation" type="medicinecard20120601:DeliveryInformationType"/>
				<element name="OrderInstruction" type="medicinecard20120601:OrderInstructionType"/>
			</choice>
			<element minOccurs="0" name="Delivery" type="medicinecard20120601:DeliveryType"/>
			<element minOccurs="0" name="ReimbursementClause" type="medicinecard20120601:ReimbursementClauseType"/>
			<choice>
				<element name="SinglePrescriptionDispensing" type="medicinecard20120601:SinglePrescriptionDispensingType"/>
				<element name="ReiteratedPrescriptionDispensing" type="medicinecard20120601:ReiteratedPrescriptionDispensingType"/>
				<element name="DoseDispensedDispensing" type="medicinecard20120601:DoseDispensedPrescriptionDispensingType"/>
			</choice>
			<element minOccurs="0" name="Indication" type="medicinecard20120601:IndicationType"/>
			<element name="Drug" type="medicinecard20120601:DrugType"/>
			<element name="SubstitutionAllowed" type="medicinecard20120601:SubstitutionAllowedType"/>
			<element minOccurs="0" name="SupplementaryInformation" type="medicinecard20120601:SupplementaryInformationType"/>
			<element minOccurs="0" name="ReceiverEAN" type="medicinecard20120601:ReceiverEANType"/>
			<element name="Status" type="medicinecard20120601:PrescriptionMedicationStatusType"/>
			<element minOccurs="0" name="Deprecated" type="medicinecard20120601:DeprecatedDateTimeType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="Effectuation" type="medicinecard20120601:EffectuationOnPrescriptionMedicationType"/>
		</sequence>
	</complexType>

	
	
	
	
	<element name="CreateEffectuationResponse" type="medicinecard20120601:CreateEffectuationResponseType">
		<annotation>
			<documentation xml:lang="en-GB">Outer container elemenet for a response from a request to add a effecutation</documentation>
			<documentation xml:lang="da-DK">Ydre container-element for svaret fraen forespørgsel for at tilføje en effektuering</documentation>
		</annotation>
	</element>
	<complexType name="CreateEffectuationResponseType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element minOccurs="0" name="VersionMismatchWarning" type="medicinecard20120601:VersionMismatchWarningType"/>
			<element maxOccurs="unbounded" name="DrugMedication" type="medicinecard20120601:CreatedEffectuationOnDrugMedicationType"/>
		</sequence>
	</complexType>

	<attribute name="ModificationMetadata" type="medicinecard20120601:ModificationMetadataType">
		<annotation>
			<documentation xml:lang="en-GB">Modification medtadata</documentation>
		</annotation>
	</attribute>
	<simpleType name="ModificationMetadataType">
		<union memberTypes="medicinecard20120601:PredefinedModificationMetadataType medicinecard20120601:BaseModificationMetadataType"/>
	</simpleType>
	<simpleType name="PredefinedModificationMetadataType">
		<restriction base="medicinecard20120601:BaseModificationMetadataType">
			<enumeration value="Override clinical validation"/>
		</restriction>
	</simpleType>
	<simpleType name="BaseModificationMetadataType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="200"/>
		</restriction>
	</simpleType>

	
	
	<element name="Created" type="medicinecard20120601:CreatedType">
		<annotation>
			<documentation xml:lang="en-GB">Element containing information about which organisation and possibly doctor who created the document this element is in (e.g. drug medication) as well as the date it ocurred.</documentation>
			<documentation xml:lang="da-DK">Element der indeholder information omkring hvilken organisation og muligvis læge som har oprettet dokumentet elementet befinder sig i (f.eks. lægemiddelordination), desuden datoen dette er sket.</documentation>
		</annotation>
	</element>
	<complexType name="CreatedType">
		<sequence>
			<element name="By" type="medicinecard20120601:ModificatorType"/>
			<element name="DateTime" type="medicinecard20120601:CreatedDateTimeType"/>
		</sequence>
	</complexType>

	<element name="DistrictSubdivisionIdentifier" type="medicinecard20120601:DistrictSubdivisionIdentifierType">
		<annotation>
			<documentation>
Name of a village, city or subdivision of a city or district, which is determined as a part of the official address specification for a certain street or specific parts of a street, defined by intervals of street building identifiers (da: house numbers). 
      </documentation>
		</annotation>
	</element>
	<simpleType name="DistrictSubdivisionIdentifierType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="34"/>
		</restriction>
	</simpleType>

	<element name="DeprecatedDateTime" type="medicinecard20120601:DeprecatedDateTimeType">
		<annotation>
			<documentation xml:lang="en-GB">Modified date time</documentation>
			<documentation xml:lang="da-DK">Ændringsdato og tid</documentation>
		</annotation>
	</element>
	<simpleType name="DeprecatedDateTimeType">
		<restriction base="dateTime">
			<minInclusive value="2000-01-01T00:00:00Z"/>
		</restriction>
	</simpleType>

	
	<element name="GetMedicineCardAsPDFResponse" type="medicinecard20120601:GetMedicineCardAsPDFResponseType">
		<annotation>
			<documentation xml:lang="en-GB">Outer container elemenet for a response with a medicinecard as PDF</documentation>
			<documentation xml:lang="da-DK">Ydre container-element for en et svar med et medicinkort som PDF</documentation>
		</annotation>
	</element>
	<complexType name="GetMedicineCardAsPDFResponseType">
		<choice>
			<element maxOccurs="unbounded" name="MedicineCard" type="medicinecard20120601:MedicineCardAsPDFType"/>
		</choice>
	</complexType>

	<element name="AuthorisationDateTime" type="medicinecard20120601:AuthorisationDateTimeType">
		<annotation>
			<documentation xml:lang="en-GB">Date and time for authorisation</documentation>
			<documentation xml:lang="da-DK">Dato og tid for autorisation</documentation>
		</annotation>
	</element>
	<simpleType name="AuthorisationDateTimeType">
		<restriction base="dateTime">
			<minInclusive value="2000-01-01T00:00:00Z"/>
		</restriction>
	</simpleType>

	
	
	
	<element name="AuthorisedHealthcareProfessionalWithOptionalAuthorisationIdentifier" type="medicinecard20120601:AuthorisedHealthcareProfessionalWithOptionalAuthorisationIdentifierType">
		<annotation>
			<documentation xml:lang="en-GB">Contains authorisation number and name of an authorised healthchare professional</documentation>
			<documentation xml:lang="da-DK">Indeholder autorsationsnummer og navn på en autoriseret sundhedsperson</documentation>
		</annotation>
	</element>
	<complexType name="AuthorisedHealthcareProfessionalWithOptionalAuthorisationIdentifierType">
		<sequence>
			<element minOccurs="0" name="AuthorisationIdentifier" type="medicinecard20120601:AuthorisationIdentifierType"/>
			<element name="Name" type="medicinecard20120601:AuthorisedHealthcareProfessionalNameType"/>
			<element minOccurs="0" name="SpecialityCode" type="medicinecard20120601:SpecialityCodeType"/>
		</sequence>
	</complexType>

	
			
	
	
	<element name="AttachPrescriptionMedication" type="medicinecard20120601:AttachPrescriptionMedicationType">
		<annotation>
			<documentation xml:lang="en-GB">Contains a drug medication ID and one or more drug prescription IDs which are to be attached</documentation>
			<documentation xml:lang="da-DK">Indeholder et lægemiddelordinations-ID og en eller flere receptordinations-IDer der skal knyttes hertil</documentation>
		</annotation>
	</element>
	<complexType name="AttachPrescriptionMedicationType">
		<sequence>
			<element name="DrugMedicationIdentifier" type="medicinecard20120601:DrugMedicationIdentifierType"/>
			<element maxOccurs="unbounded" name="Identifier" type="medicinecard20120601:PrescriptionMedicationIdentifierType"/>
			<element minOccurs="0" name="ModifiedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ModificationMetadata" type="medicinecard20120601:ModificationMetadataType"/>												
		</sequence>
	</complexType>

	
	
	
	
	<element name="UpdateDrugMedicationRequest" type="medicinecard20120601:UpdateDrugMedicationRequestType">
		<annotation>
			<documentation xml:lang="en-GB">Outer container elemenet for a request for a request which updated an existing drug medication</documentation>
			<documentation xml:lang="da-DK">Ydre container-element for en forespørgsel der opdaterer en eksisterende lægemiddelordination</documentation>
		</annotation>
	</element>
	<complexType name="UpdateDrugMedicationRequestType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element minOccurs="0" name="ModifiedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ReportedBy" type="medicinecard20120601:ModificatorType"/>
			<element maxOccurs="unbounded" name="DrugMedication" type="medicinecard20120601:UpdateDrugMedicationType"/>
		</sequence>
	</complexType>

	
	
	
	
	
	<!--	<element name="Modificator" type="medicinecard20120601:ModificatorType">
		<annotation>
			<documentation xml:lang="en-GB">Information about a person who modified data</documentation>
			<documentation xml:lang="da-DK">Indeholder information omkring en person der ændrede data</documentation>
		</annotation>
	</element> -->
	<complexType name="ModificatorType">
		<sequence>
			<choice>
				<sequence>
					<element name="AuthorisedHealthcareProfessional" type="medicinecard20120601:AuthorisedHealthcareProfessionalType"/>
					<element name="Organisation" type="medicinecard20120601:OrganisationType"/>
				</sequence>
				<element name="Patient" type="medicinecard20120601:PatientFlagType"/>
				<sequence>
					<element name="Other" type="medicinecard20120601:ModificatorPersonType"/>
					<element name="Role" type="medicinecard20120601:RequestedRoleType"/>
					<element minOccurs="0" name="Organisation" type="medicinecard20120601:OrganisationType"/>
				</sequence>
			</choice>
		</sequence>
	</complexType>

	
	
	
	<element name="RouteOfAdministrationCode" type="medicinecard20120601:RouteOfAdministrationCodeType">
		<annotation>
			<documentation xml:lang="en-GB">Indicates the code of the formulations route of administration. Sourcec: "Taksten" LMS11 field 2</documentation>
			<documentation xml:lang="da-DK">Angiver kode for medicinens administrationsvej. Kilde: Taksten, LMS11 felt 2</documentation>
		</annotation>
	</element>
	<complexType name="RouteOfAdministrationCodeType">
		<simpleContent>
			<extension base="medicinecard20120601:RouteOfAdministrationCodeValueType">
				<attribute name="source" type="medicinecard20120601:RouteOfAdministrationSourceType" use="required"/>
				<attribute name="date" type="medicinecard20120601:SourceDateType" use="optional"/>
				<attribute name="yearAndWeek" type="medicinecard20120601:SourceYearAndWeekType" use="optional"/>
			</extension>
		</simpleContent>
	</complexType>
	<simpleType name="RouteOfAdministrationCodeValueType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="2"/>
		</restriction>
	</simpleType>
	<simpleType name="RouteOfAdministrationSourceType">
		<union memberTypes="medicinecard20120601:RouteOfAdministrationPredefinedSourceType medicinecard20120601:UndefinedSourceType"/>
	</simpleType>
	<simpleType name="RouteOfAdministrationPredefinedSourceType">
		<restriction base="medicinecard20120601:UndefinedSourceType">
			<enumeration value="Medicinpriser"/>
		</restriction>
	</simpleType>

	<element name="DrugMedicationTreatmentStartDate" type="medicinecard20120601:DrugMedicationTreatmentStartDateType">
		<annotation>
			<documentation xml:lang="en-GB">The date the drug medication treatment is started</documentation>
			<documentation xml:lang="da-DK">Den dato lægemiddelordinationbehandlingen påbegyndes</documentation>
		</annotation>
	</element>
	<simpleType name="DrugMedicationTreatmentStartDateType">
		<restriction base="date">
			<minInclusive value="1890-01-01"/>
		</restriction>
	</simpleType>

	
	
	
	
	
	
	
	
	
	
	
	
	
	
	<element name="CreatePrescriptionMedication" type="medicinecard20120601:CreatePrescriptionMedicationType">
		<annotation>
			<documentation xml:lang="en-GB">Request document for creating a
				PrescriptionMedication from a DrugMedication. When used in the service call where the
				drug medication is created the DrugMedicationIdentifer may be omitted, otherwise it is
				needed.</documentation>
			<documentation xml:lang="da-DK">Request-dokument til at oprette en
				receptordination fra en lægemiddelordination. Når dette element anvendes i servicen
				til oprettelse af en lægemiddelordination udelades DrugMedicationIdentifer, i alle
				andre tilfælde er det nødvendigt.</documentation>
		</annotation>
	</element>
	<complexType name="CreatePrescriptionMedicationType">
		<sequence>
			<element minOccurs="0" name="DrugMedicationIdentifier" type="medicinecard20120601:DrugMedicationIdentifierType"/>
			<element minOccurs="0" name="OrderedEffectuationIdentifier" type="medicinecard20120601:OrderedEffectuationIdentifierType"/>
			<element minOccurs="0" name="CreatedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ModificationMetadata" type="medicinecard20120601:ModificationMetadataType"/>
			<element name="AuthorisationDateTime" type="medicinecard20120601:AuthorisationDateTimeType"/>
			<element minOccurs="0" name="ReceiverOrganisation" type="medicinecard20120601:OrganisationType"/>
			<element name="SystemName" type="medicinecard20120601:SystemNameType"/>
			<choice maxOccurs="3" minOccurs="0">
				<element name="DeliveryInformation" type="medicinecard20120601:DeliveryInformationType"/>
				<element name="OrderInstruction" type="medicinecard20120601:OrderInstructionType"/>
			</choice>
			<element minOccurs="0" name="Delivery" type="medicinecard20120601:DeliveryType"/>
			<element minOccurs="0" name="ReimbursementClause" type="medicinecard20120601:ReimbursementClauseType"/>
			<choice>
				<element name="SinglePrescriptionDispensing" type="medicinecard20120601:CreateSinglePrescriptionDispensingType"/>
				<element name="ReiteratedPrescriptionDispensing" type="medicinecard20120601:CreateReiteratedPrescriptionDispensingType"/>
				<element name="DoseDispensedDispensing" type="medicinecard20120601:CreateDoseDispensedPrescriptionDispensingType"/>
			</choice>
		</sequence>
	</complexType>

	
	
	<element name="CancelledPrescriptionMedication" type="medicinecard20120601:CancelledPrescriptionMedicationType">
		<annotation>
			<documentation xml:lang="en-GB">For use in bulk service: Result of marking one or more prescription medications as invalid</documentation>
			<documentation xml:lang="da-DK">Til brug i bulk service: Resultat af at markere en eller flere receptordinationer som ugyldige</documentation>
		</annotation>
	</element>
	<complexType name="CancelledPrescriptionMedicationType">
		<sequence>
			<element maxOccurs="unbounded" name="Identifier" type="medicinecard20120601:PrescriptionMedicationIdentifierType"/>
			<element minOccurs="0" name="PrescriptionServerError" type="medicinecard20120601:PrescriptionServerErrorType"/>
		</sequence>
	</complexType>

	
	
	
	
	<element name="UpdateDrugMedicationResponse" type="medicinecard20120601:UpdateDrugMedicationResponseType">
		<annotation>
			<documentation xml:lang="en-GB">Outer container elemenet for a response from a for a request which updated an existing drug medication</documentation>
			<documentation xml:lang="da-DK">Ydre container-element for et svar på en forespørgsel der opdaterer en eksisterende lægemiddelordination</documentation>
		</annotation>
	</element>
	<complexType name="UpdateDrugMedicationResponseType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element minOccurs="0" name="VersionMismatchWarning" type="medicinecard20120601:VersionMismatchWarningType"/>
			<element maxOccurs="unbounded" name="DrugMedication" type="medicinecard20120601:UpdatedDrugMedicationType"/>
		</sequence>
	</complexType>

	
	
	
	
	<element name="PauseDrugMedicationResponse" type="medicinecard20120601:PauseDrugMedicationResponseType">
		<annotation>
			<documentation xml:lang="en-GB">Outer container elemenet for a response on a request to pause a drug prescription</documentation>
			<documentation xml:lang="da-DK">Ydre container-element for et svar på en forespørgsel der pauserer en lægemiddelordination</documentation>
		</annotation>
	</element>
	<complexType name="PauseDrugMedicationResponseType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element minOccurs="0" name="VersionMismatchWarning" type="medicinecard20120601:VersionMismatchWarningType"/>
			<element maxOccurs="unbounded" name="DrugMedication" type="medicinecard20120601:PausedDrugMedicationType"/>
		</sequence>
	</complexType>

	
	
	
	
	
	<element name="UnmarkPrescriptionMedicationDeprecatedRequest" type="medicinecard20120601:UnmarkPrescriptionMedicationDeprecatedRequestType">
		<annotation>
			<documentation xml:lang="en-GB">Unmark one or more prescription medications as no longer relevant</documentation>
			<documentation xml:lang="da-DK">Fjern markering af at en eller flere receptordinationer ikke længere er relevante</documentation>
		</annotation>
	</element>
	<complexType name="UnmarkPrescriptionMedicationDeprecatedRequestType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element minOccurs="0" name="ModifiedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ReportedBy" type="medicinecard20120601:ModificatorType"/>
			<element maxOccurs="unbounded" name="PrescriptionMedication" type="medicinecard20120601:UnmarkPrescriptionMedicationDeprecatedType"/>
		</sequence>
	</complexType>

	<element name="FloorIdentifier" type="medicinecard20120601:FloorIdentifierType">
		<annotation>
			<documentation>
			Identification which describes the floor or level on which a specific entrance door, appartment or suite is placed, in the staircase refered to.
			</documentation>
		</annotation>
	</element>
	<simpleType name="FloorIdentifierType">
		<restriction base="string">
			<pattern value="[1-9]|[1-9][0-9]|KL|ST|kl|st|k[2-9]|K[2-9]"/>
		</restriction>
	</simpleType>

	<element name="IndicationText" type="medicinecard20120601:IndicationTextType">
		<annotation>
			<documentation xml:lang="en-GB">Indication text (LMS26 field 2)</documentation>
			<documentation xml:lang="da-DK">Indikationstekst (LMS26 felt 2)</documentation>
		</annotation>
	</element>
	<simpleType name="IndicationTextType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="78"/>
		</restriction>
	</simpleType>

	<element name="DoseDispensingEndDate" type="medicinecard20120601:DoseDispensingEndDateType">
		<annotation>
			<documentation xml:lang="en-GB">End date for dose dispensing</documentation>
			<documentation xml:lang="da-UK">Slutdato for dosisdispensering</documentation>
		</annotation>
	</element>
	<simpleType name="DoseDispensingEndDateType">
		<restriction base="date">
			<minInclusive value="2000-01-01"/>
		</restriction>
	</simpleType>

	
		
	
	
	<element name="SuspendMedicineCardRequest" type="medicinecard20120601:SuspendMedicineCardRequestType">
		<annotation>
			<documentation xml:lang="en-GB">A request which marks that the medicine card is suspended, the patient has been admitted to hospital</documentation>
			<documentation xml:lang="da-DK">En forespørgsel der markerer at medicinkortet er suspenderet, patienten er indlagt på sygehus</documentation>
		</annotation>
	</element>
	<complexType name="SuspendMedicineCardRequestType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element name="SuspendedBy" type="medicinecard20120601:ModificatorType"/>			
			<element minOccurs="0" name="ReportedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ModificationMetadata" type="medicinecard20120601:ModificationMetadataType"/>
		</sequence>
	</complexType>

	
	<element name="Substances" type="medicinecard20120601:SubstancesType">
		<annotation>
			<documentation xml:lang="en-GB">Contains a number of substances</documentation>
			<documentation xml:lang="da-DK">Indeholder et antal substanser</documentation>
		</annotation>
	</element>
	<complexType name="SubstancesType">
		<sequence maxOccurs="100">
			<element name="ActiveSubstance" type="medicinecard20120601:ActiveSubstanceType"/>
		</sequence>
	</complexType>

	
	
	
	<element name="SetMedicineCardReviewed" type="medicinecard20120601:SetMedicineCardReviewedType">
		<annotation>
			<documentation xml:lang="en-GB">Element for setting a date and time for a review of the medicine card</documentation>
			<documentation xml:lang="da-DK">Element til at sætte dato og tid for en medicinkort-gennemgang</documentation>
		</annotation>
	</element>
	<complexType name="SetMedicineCardReviewedType">
		<sequence>
			<element minOccurs="0" name="ReviewedBy" type="medicinecard20120601:ModificatorType"/>
			<element name="ReviewedDateTime" type="medicinecard20120601:ReviewedDateTimeType"/>
			<element minOccurs="0" name="ModificationMetadata" type="medicinecard20120601:ModificationMetadataType"/>
		</sequence>
	</complexType>

	
	
	<element name="CreatePrescriptionMedicationForUseInPracticeRequest" type="medicinecard20120601:CreatePrescriptionMedicationForUseInPracticeRequestType">
		<annotation>
			<documentation xml:lang="en-GB">Request document containing one or more documents for creating prescription medications from drug medications</documentation>
			<documentation xml:lang="da-DK">Request-dokument der indeholder en eller flere dokumenter til at oprette receptordinationer fra lægemiddelordinationer</documentation>
		</annotation>
	</element>
	<complexType name="CreatePrescriptionMedicationForUseInPracticeRequestType">
		<sequence>
			<element name="CreatedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ReportedBy" type="medicinecard20120601:ModificatorType"/>
			<element maxOccurs="unbounded" name="PrescriptionMedication" type="medicinecard20120601:UnattachedPrescriptionMedicationType"/>
		</sequence>
	</complexType>

	<element name="BirthDate" type="medicinecard20120601:BirthDateType">
		<annotation>
			<documentation xml:lang="en-GB">Birth date</documentation>
			<documentation xml:lang="da-DK">Fødselsdato</documentation>
		</annotation>
	</element>
	<simpleType name="BirthDateType">
		<restriction base="date">	
			<minInclusive value="1890-01-01"/>
		</restriction>
	</simpleType>

	
	
	<element name="AttachOrDetachPrescriptionMedicationResponse" type="medicinecard20120601:AttachOrDetachPrescriptionMedicationResponseType">
		<annotation>
			<documentation xml:lang="en-GB">A response from a request whichs attaches prescription medications to drug medications or detaches prescription medications</documentation>
			<documentation xml:lang="da-DK">Svar fra en forespørgsel der tilknytter receptordinationer til lægemiddelordinationer eller fjerner tilknytningen</documentation>
		</annotation>
	</element>
	<complexType name="AttachOrDetachPrescriptionMedicationResponseType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
		</sequence>
	</complexType>

	
	
	<element name="ATC" type="medicinecard20120601:ATCType">
		<annotation>
			<documentation xml:lang="en-GB">Information about ATC group</documentation>
			<documentation xml:lang="da-DK">Information om ATC gruppe</documentation>
		</annotation>
	</element>
	<complexType name="ATCType">
		<sequence>
			<element name="Code" type="medicinecard20120601:ATCCodeType"/>
			<element name="Text" type="medicinecard20120601:ATCTextType"/>
		</sequence>
	</complexType>

	
	
	
	
	
		
	
	
	<element name="GetDrugMedicationRequest" type="medicinecard20120601:GetDrugMedicationRequestType">
		<annotation>
			<documentation xml:lang="en-GB">Element for a request for a drug medcination</documentation>
			<documentation xml:lang="da-DK">Element for en forespørgsel efter en lægemiddelordination</documentation>
		</annotation>
	</element>
	<complexType name="GetDrugMedicationRequestType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="Identifier" type="medicinecard20120601:DrugMedicationIdentifierType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="IdentifierAndVersion" type="medicinecard20120601:DrugMedicationIdentifierAndVersionType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="IdentifierAndDateTime" type="medicinecard20120601:DrugMedicationIdentifierAndDateTimeType"/>
			<element minOccurs="0" name="NegativeConsent" type="medicinecard20120601:NegativeConsentRequestType"/>
			<element name="IncludePrescriptionMedications" type="medicinecard20120601:IncludePrescriptionMedicationsType"/>
			<element name="IncludeEffectuations" type="medicinecard20120601:IncludeEffectuationsType"/>			
		</sequence>
	</complexType>

	<element name="PseudoAddress" type="medicinecard20120601:PseudoAddressType">
		<annotation>
			<documentation xml:lang="en-GB">Pseudo address, must fit into the XML prescription</documentation>
			<documentation xml:lang="da-DK">Pseudo adresse, skal kunne være i XML recepten</documentation>
		</annotation>
	</element>
	<simpleType name="PseudoAddressType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="70"/>
		</restriction>
	</simpleType>

	
	
	<element name="DrugMedicationIdentifierAndVersion" type="medicinecard20120601:DrugMedicationIdentifierAndVersionType">
		<annotation>
			<documentation xml:lang="en-GB">Contains ID and version number for a drug medication</documentation>
			<documentation xml:lang="da-DK">Indeholder ID og versionsnummer for en lægemiddelordination</documentation>
		</annotation>
	</element>
	<complexType name="DrugMedicationIdentifierAndVersionType">
		<sequence>
			<element name="Identifier" type="medicinecard20120601:DrugMedicationIdentifierType"/>
			<element name="Version" type="medicinecard20120601:DrugMedicationVersionType"/>
		</sequence>
	</complexType>

	<element name="AuthorisationIdentifier" type="medicinecard20120601:AuthorisationIdentifierType">
		<annotation>
			<documentation xml:lang="en-GB">Læges autorisationsnummer</documentation>
			<documentation xml:lang="da-DK">Authorisation identifier of a doctor</documentation>
		</annotation>
	</element>
	<simpleType name="AuthorisationIdentifierType">
		<restriction base="string">
			<length value="5"/>
			<pattern value="([0-9]|(B|C|D|F|G|H|J|K|L|M|N|P|Q|R|S|T|V|W|X|Y|Z)){5}"/>
		</restriction>
	</simpleType>

	<element name="SuspendedDateTime" type="medicinecard20120601:SuspendedDateTimeType">
		<annotation>
			<documentation xml:lang="en-GB">Modified date time</documentation>
			<documentation xml:lang="da-DK">Ændringsdato og tid</documentation>
		</annotation>
	</element>
	<simpleType name="SuspendedDateTimeType">
		<restriction base="dateTime">
			<minInclusive value="2000-01-01T00:00:00Z"/>
		</restriction>
	</simpleType>

	
	
	
	
	<element name="Dosage" type="medicinecard20120601:DosageType">
		<annotation>
			<documentation xml:lang="en-GB">How often and when the drug should be given</documentation>
			<documentation xml:lang="da-DK">Angivelse af hvor ofte og hvornår et lægemiddel skal gives</documentation>
		</annotation>
	</element>
	<complexType name="DosageType">
		<sequence>
			<choice>
				<element name="Structure" type="medicinecard20120601:DosageStructureType"/>
				<element name="FreeText" type="medicinecard20120601:DosageFreeTextType"/>
				<element name="AdministrationAccordingToSchemaInLocalSystem" type="medicinecard20120601:AdministrationAccordingToSchemaInLocalSystemType"/>
			</choice>
			<element minOccurs="0" name="Type" type="medicinecard20120601:DosageTypeType"/>
		</sequence>
	</complexType>

	<element name="ReiterationNumber" type="medicinecard20120601:ReiterationNumberType">
		<annotation>
			<documentation xml:lang="en-GB">Contains the numer of re-iterations</documentation>
			<documentation xml:lang="da-DK">Angiver antallet af reiterationer</documentation>
		</annotation>
	</element>
	<simpleType name="ReiterationNumberType">
		<restriction base="integer">
			<minInclusive value="1"/>
		</restriction>
	</simpleType>

	
	
	
	
	<element name="WithdrawDrugMedicationRequest" type="medicinecard20120601:WithdrawDrugMedicationRequestType">
		<annotation>
			<documentation xml:lang="en-GB">Outer container elemenet for a request for which withdraws the drug medication</documentation>
			<documentation xml:lang="da-DK">Ydre container-element for en forespørgsel der seponerer en lægemiddelordination</documentation>
		</annotation>
	</element>
	<complexType name="WithdrawDrugMedicationRequestType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element name="WithdrawnBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ReportedBy" type="medicinecard20120601:ModificatorType"/>
			<element maxOccurs="unbounded" name="DrugMedication" type="medicinecard20120601:WithdrawDrugMedicationType"/>
		</sequence>
	</complexType>

	
	
	
	
	
	
	
	
	
	
	
	
	<element name="UpdateMedicineCardResponse" type="medicinecard20120601:UpdateMedicineCardResponseType">
		<annotation>
			<documentation xml:lang="en-GB">Outer container elemenet for a batch request to update a medicine card</documentation>
			<documentation xml:lang="da-DK">Ydre container-element for en batchforespørgsel for at opdatere et medicinkort</documentation>
		</annotation>
	</element>
	<complexType name="UpdateMedicineCardResponseType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element minOccurs="0" name="VersionMismatchWarning" type="medicinecard20120601:VersionMismatchWarningType"/>
			<sequence maxOccurs="unbounded">
				<element minOccurs="0" name="CreatedDrugMedication" type="medicinecard20120601:CreatedDrugMedicationType"/>
				<element minOccurs="0" name="UpdatedDrugMedication" type="medicinecard20120601:UpdatedDrugMedicationType"/>
				<element minOccurs="0" name="WithdrawnDrugMedication" type="medicinecard20120601:WithdrawnDrugMedicationType"/>
				<element minOccurs="0" name="UnwithdrawnDrugMedication" type="medicinecard20120601:UnwithdrawnDrugMedicationType"/>
				<element minOccurs="0" name="PausedDrugMedication" type="medicinecard20120601:PausedDrugMedicationType"/>
				<element minOccurs="0" name="UnpausedDrugMedication" type="medicinecard20120601:UnpausedDrugMedicationType"/>
				<element minOccurs="0" name="CreatedPrescriptionMedication" type="medicinecard20120601:CreatedPrescriptionMedicationType"/>
				<element minOccurs="0" name="CreatedEffectuationOnDrugMedication" type="medicinecard20120601:CreatedEffectuationOnDrugMedicationType"/>
				<element minOccurs="0" name="CancelledPrescriptionMedication" type="medicinecard20120601:CancelledPrescriptionMedicationType"/>
			</sequence>
		</sequence>
	</complexType>

	
		
	<element name="SuspendMedicineCard" type="medicinecard20120601:SuspendMedicineCardType">
		<annotation>
			<documentation xml:lang="en-GB">Information about admission to hospital</documentation>
			<documentation xml:lang="da-DK">Information omkring indlæggelse på sygehus</documentation>
		</annotation>
	</element>
	<complexType name="SuspendMedicineCardType">
		<sequence>
			<element minOccurs="0" name="SuspendedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ModificationMetadata" type="medicinecard20120601:ModificationMetadataType"/>			
		</sequence>
	</complexType>

	<element name="UndefinedPermission" type="medicinecard20120601:UndefinedPermission">
		<annotation>
			<documentation xml:lang="da-DK">Ikke foruddefineret tilladelse</documentation>
		</annotation>
	</element>
	<simpleType name="UndefinedPermission">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="200"/>
		</restriction>
	</simpleType>

	
	
	<element name="CreateEffectuationOnDrugMedication" type="medicinecard20120601:CreateEffectuationOnDrugMedicationType">
		<annotation>
			<documentation xml:lang="en-GB">Elemenet for adding an effecutation on a drug prescription</documentation>
			<documentation xml:lang="da-DK">Element for en tilføjelse af en effektuering på en lægemiddelordination</documentation>
		</annotation>
	</element>
	<complexType name="CreateEffectuationOnDrugMedicationType">
		<sequence>
			<element name="Identifier" type="medicinecard20120601:DrugMedicationIdentifierType"/>
			<element maxOccurs="unbounded" name="Effectuation" type="medicinecard20120601:CreateEffectuationType"/>
		</sequence>
	</complexType>

	<element name="AdministrationAccordingToSchemaInLocalSystem" type="medicinecard20120601:AdministrationAccordingToSchemaInLocalSystemType">
		<annotation>
			<documentation xml:lang="en-GB">If the element exists it indicates that the medication is according to schema in a local system</documentation>
			<documentation xml:lang="da-DK">Hvis elementet findes angives at medicinfordeling er skemalagt i eget system</documentation>
		</annotation>
	</element>
	<complexType name="AdministrationAccordingToSchemaInLocalSystemType"/>

	
	
	
	
	<element name="UnpauseDrugMedicationResponse" type="medicinecard20120601:UnpauseDrugMedicationResponseType">
		<annotation>
			<documentation xml:lang="en-GB">Outer container elemenet for a response on a request to unpause a drug medication</documentation>
			<documentation xml:lang="da-DK">Ydre container-element for et svar på en forespørgsel der fjerner pausering af en lægemiddelordination</documentation>
		</annotation>
	</element>
	<complexType name="UnpauseDrugMedicationResponseType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element minOccurs="0" name="VersionMismatchWarning" type="medicinecard20120601:VersionMismatchWarningType"/>
			<element maxOccurs="unbounded" name="DrugMedication" type="medicinecard20120601:UnpausedDrugMedicationType"/>
		</sequence>
	</complexType>

	<element name="DosageTimesStartDateTime" type="medicinecard20120601:DosageTimesStartDateTimeType">
		<annotation>
			<documentation xml:lang="en-GB">Start date and time for a set of dosage times</documentation>
			<documentation xml:lang="da-UK">Startdato og tidspunkt for et sæt af doseringstidspunkter</documentation>
		</annotation>
	</element>
	<simpleType name="DosageTimesStartDateTimeType">
		<restriction base="dateTime">
			<minInclusive value="2000-01-01T00:00:00"/>
		</restriction>
	</simpleType>

	<element name="IncludeEffectuations" type="medicinecard20120601:IncludeEffectuationsType">
		<annotation>
			<documentation xml:lang="en-GB">Indicates if the drug medication or prescription medication is to be returned with prescription effectuations</documentation>
			<documentation xml:lang="da-DK">Angiver hvorvidt lægemiddelordinationen eller receptordinationen skal returneres med effektueringer.</documentation>
		</annotation>
	</element>
	<simpleType name="IncludeEffectuationsType">
		<restriction base="boolean"/>
	</simpleType>

	<element name="MedicineCardIsInvalid" type="medicinecard20120601:MedicineCardIsInvalidType">
		<annotation>
			<documentation xml:lang="en-GB">Marks that the medicine card is invalid</documentation>
			<documentation xml:lang="da-DK">Markerer at medicinkortet er ugyldigt.</documentation>
		</annotation>
	</element>
	<complexType name="MedicineCardIsInvalidType"/>

	
	
	
	<element name="DrugFormCode" type="medicinecard20120601:DrugFormCodeType">
		<annotation>
			<documentation xml:lang="en-GB">Code for drug form. Source: LMS22 field 1</documentation>
			<documentation xml:lang="da-DK">Kode for lægemiddelform. Kilde: LMS22 felt 1</documentation>
		</annotation>
	</element>
	<complexType name="DrugFormCodeType">
		<simpleContent>
			<extension base="medicinecard20120601:DrugFormCodeValueType">
				<attribute name="source" type="medicinecard20120601:DrugFormCodeSourceType" use="required"/>
				<attribute name="date" type="medicinecard20120601:SourceDateType" use="optional"/>
				<attribute name="yearAndWeek" type="medicinecard20120601:SourceYearAndWeekType" use="optional"/>
			</extension>
		</simpleContent>
	</complexType>
	<simpleType name="DrugFormCodeValueType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="7"/>
		</restriction>
	</simpleType>
	<simpleType name="DrugFormCodeSourceType">
		<union memberTypes="medicinecard20120601:DrugFormCodePredefinedSourceType medicinecard20120601:UndefinedSourceType"/>
	</simpleType>
	<simpleType name="DrugFormCodePredefinedSourceType">
		<restriction base="medicinecard20120601:UndefinedSourceType">
			<enumeration value="Medicinpriser"/>
		</restriction>
	</simpleType>

	<element name="OrganisationType" type="medicinecard20120601:OrganisationTypeType">
		<annotation>
			<documentation xml:lang="en-GB">The type of organisation</documentation>
			<documentation xml:lang="da-DK">Typen af organisation</documentation>
		</annotation>
	</element>
	<simpleType name="OrganisationTypeType">
		<union memberTypes="medicinecard20120601:PredefinedOrganisationTypeType medicinecard20120601:UndefinedOrganisationTypeType"/>
	</simpleType>
	<simpleType name="PredefinedOrganisationTypeType">
		<restriction base="medicinecard20120601:UndefinedOrganisationTypeType">
			<enumeration value="Sygehus"/>
			<enumeration value="Yder"/>
			<enumeration value="Apotek"/>
			<enumeration value="Kommune"/>
			<enumeration value="Administrator"/>
		</restriction>
	</simpleType>
	<simpleType name="UndefinedOrganisationTypeType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="100"/>
		</restriction>
	</simpleType>

	
	
	
	
	<element name="CreatedDrugMedication" type="medicinecard20120601:CreatedDrugMedicationType">
		<annotation>
			<documentation xml:lang="en-GB">Element with IDs returned at the creation of a new drug prescription</documentation>
			<documentation xml:lang="da-DK">Element med IDer returneret ved oprettelsen af en ny lægemiddelinformation</documentation>
		</annotation>
	</element>
	<complexType name="CreatedDrugMedicationType">
		<sequence>
			<element name="Identifier" type="medicinecard20120601:DrugMedicationIdentifierType"/>
			<element name="Version" type="medicinecard20120601:DrugMedicationVersionType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="EffectuationIdentifier" type="medicinecard20120601:EffectuationIdentifierType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="PrescriptionMedicationIdentifier" type="medicinecard20120601:PrescriptionMedicationIdentifierType"/>
		</sequence>
	</complexType>

	<element name="DrugFormText" type="medicinecard20120601:DrugFormTextType">
		<annotation>
			<documentation xml:lang="en-GB">Dosage form, originating from LMS22 felt 2 or from LMS01 field 7</documentation>
			<documentation xml:lang="da-DK">Lægemiddelform, enten fra LMS22 felt 2 (lægemiddelform betegnelser) eller fra LMS01 felt 7</documentation>
		</annotation>
	</element>
	<simpleType name="DrugFormTextType">
		<restriction base="string">
			<maxLength value="100"/>
		</restriction>
	</simpleType>

	<element name="ActiveSubstanceFreeText" type="medicinecard20120601:ActiveSubstanceFreeTextType">
		<annotation>
			<documentation xml:lang="en-GB">Contains one active substance as free text</documentation>
			<documentation xml:lang="da-DK">Indeholder en enkelt aktiv substans som fritekst</documentation>
		</annotation>
	</element>
	<simpleType name="ActiveSubstanceFreeTextType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="400"/>
		</restriction>
	</simpleType>

	<element name="StreetBuildingIdentifier" type="medicinecard20120601:StreetBuildingIdentifierType">
		<annotation>
			<documentation>Numeric identification (da: house number ~ 'husnummer') including an optional letter, which identifies a certain access to a building, a plot/piece of land or a plant etc. based on the named road or street which gives access hereto. The identifier is determined in increasing numerical and letter order along the road, normally with even numbers on the right side and odd numbers on the left side of the road.</documentation>
		</annotation>
	</element>
	<simpleType name="StreetBuildingIdentifierType">
		<restriction base="string">
			<pattern value="([1-9]|[1-9][0-9]|[1-9][0-9]{2})|([1-9][A-Z]|[1-9][0-9][A-Z]|[1-9][0-9]{2}[A-Z])"/>
		</restriction>
	</simpleType>

	<element name="SupplementaryInformation" type="medicinecard20120601:SupplementaryInformationType">
		<annotation>
			<documentation xml:lang="en-GB">Free text for dosage</documentation>
			<documentation xml:lang="da-DK">Fritekst for dosering</documentation>
		</annotation>
	</element>
	<simpleType name="SupplementaryInformationType">
		<restriction base="string">
			<maxLength value="70"/>
		</restriction>
	</simpleType>

	
	
		
	<element name="DrugMedicationIdentifierAndDateTime" type="medicinecard20120601:DrugMedicationIdentifierAndDateTimeType">
		<annotation>
			<documentation xml:lang="en-GB">Contains ID and version number for a drug medication</documentation>
			<documentation xml:lang="da-DK">Indeholder ID og versionsnummer for en lægemiddelordination</documentation>
		</annotation>
	</element>
	<complexType name="DrugMedicationIdentifierAndDateTimeType">
		<sequence>
			<element name="Identifier" type="medicinecard20120601:DrugMedicationIdentifierType"/>
			<element name="DateTime" type="medicinecard20120601:ModifiedDateTimeType"/>
		</sequence>
	</complexType>

	<element name="DosageTranslationLongText" type="medicinecard20120601:DosageTranslationLongTextType">
		<annotation>
			<documentation xml:lang="en-GB">A long text representation of the dosage structure</documentation>
			<documentation xml:lang="da-DK">En lang teksrepræsentation af doseringsstrukturen</documentation>
		</annotation>
	</element>
	<simpleType name="DosageTranslationLongTextType">
		<restriction base="string"/>
	</simpleType>

	<element name="DeliveryInformation" type="medicinecard20120601:DeliveryInformationType">
		<annotation>
			<documentation xml:lang="en-GB">A text line for the delivery information</documentation>
			<documentation xml:lang="da-DK">En linies tekst til leveringsinformation</documentation>
		</annotation>
	</element>
	<simpleType name="DeliveryInformationType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="70"/>
		</restriction>
	</simpleType>

		
	
	
	<element name="DetachPrescriptionMedication" type="medicinecard20120601:DetachPrescriptionMedicationType">
		<annotation>
			<documentation xml:lang="en-GB">Contains one or more drug prescription IDs which are to be attached from the drug medications where they currently are detached</documentation>
			<documentation xml:lang="da-DK">Indeholder en eller flere receptordinations-IDer hvor tilknytningen til lægmidlerne skal ophæves</documentation>
		</annotation>
	</element>
	<complexType name="DetachPrescriptionMedicationType">
		<sequence>
			<element maxOccurs="unbounded" name="Identifier" type="medicinecard20120601:PrescriptionMedicationIdentifierType"/>
			<element minOccurs="0" name="ModifiedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ModificationMetadata" type="medicinecard20120601:ModificationMetadataType"/>									
		</sequence>
	</complexType>

	
	
	<element name="GetPrescriptionMedicationResponse" type="medicinecard20120601:GetPrescriptionMedicationResponseType">
		<annotation>
			<documentation xml:lang="en-GB">Outer container elemenet for a response with one or more prescription medications</documentation>
			<documentation xml:lang="da-DK">Ydre container-element for en svar med en eller flere receptordinationer</documentation>
		</annotation>
	</element>
	<complexType name="GetPrescriptionMedicationResponseType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element maxOccurs="unbounded" minOccurs="0" name="PrescriptionMedication" type="medicinecard20120601:PrescriptionMedicationType"/>
		</sequence>
	</complexType>

	
	
	
	
	<element name="SetMedicineCardReviewedRequest" type="medicinecard20120601:SetMedicineCardReviewedRequestType">
		<annotation>
			<documentation xml:lang="en-GB">Element for a request to set a date and time for a review of the medicine card</documentation>
			<documentation xml:lang="da-DK">Element for en forespørgsel til at sætte dato og tid for en medicinkort-gennemgang</documentation>
		</annotation>
	</element>
	<complexType name="SetMedicineCardReviewedRequestType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element name="ModifiedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ReportedBy" type="medicinecard20120601:ModificatorType"/>
			<element name="ReviewedDateTime" type="medicinecard20120601:ReviewedDateTimeType"/>
		</sequence>
	</complexType>

	
	
	<element name="ModificatorPerson" type="medicinecard20120601:ModificatorPersonType"/>
	<complexType name="ModificatorPersonType">
		<sequence>
			<element name="Name" type="medicinecard20120601:PersonNameType"/>
			<element minOccurs="0" name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
		</sequence>
	</complexType>

	<element name="PostOfficeBoxIdentifier" type="medicinecard20120601:PostOfficeBoxIdentifierType">
		<annotation>
			<documentation>
		Declaration of a Post Office Box.
      </documentation>
		</annotation>
	</element>
	<simpleType name="PostOfficeBoxIdentifierType">
		<annotation>
			<documentation>Declaration of a Post Office Box.</documentation>
		</annotation>
		<restriction base="integer">
			<minInclusive value="1"/>
			<maxInclusive value="9999"/>
		</restriction>
	</simpleType>

	
	
	
	
	<element name="DeleteEffectuationRequest" type="medicinecard20120601:DeleteEffectuationRequestType">
		<annotation>
			<documentation xml:lang="en-GB">Request document containing one or more documents for deleting effectuations</documentation>
			<documentation xml:lang="da-DK">Request-dokument der indeholder en eller flere dokumenter til at slette effektueringer</documentation>
		</annotation>
	</element>
	<complexType name="DeleteEffectuationRequestType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element minOccurs="0" name="ModifiedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ReportedBy" type="medicinecard20120601:ModificatorType"/>
			<element maxOccurs="unbounded" name="Effectuation" type="medicinecard20120601:DeleteEffectuationType"/>
		</sequence>
	</complexType>

	
	
	
	<element name="DosageDay" type="medicinecard20120601:DosageDayType">
		<annotation>
			<documentation xml:lang="en-GB">Group of dosage times for the same day</documentation>
			<documentation xml:lang="da-DK">Gruppering af doseringstidspunkter på samme dag</documentation>
		</annotation>
	</element>
	<complexType name="DosageDayType">
		<sequence>
			<element name="Number" type="medicinecard20120601:DosageDayNumberType"/>
			<sequence>
				<element maxOccurs="unbounded" name="Dose" type="medicinecard20120601:DoseType"/>
			</sequence>
		</sequence>
	</complexType>

	
	
	
	
	<element name="UnwithdrawDrugMedicationResponse" type="medicinecard20120601:UnwithdrawDrugMedicationResponseType">
		<annotation>
			<documentation xml:lang="en-GB">Outer container elemenet for a response from an undo a withdraw of drug medications request</documentation>
			<documentation xml:lang="da-DK">Ydre container-element for et svar på en forespørgsel om af-seponering af lægemiddelordinationer</documentation>
		</annotation>
	</element>
	<complexType name="UnwithdrawDrugMedicationResponseType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element minOccurs="0" name="VersionMismatchWarning" type="medicinecard20120601:VersionMismatchWarningType"/>
			<element maxOccurs="unbounded" name="DrugMedication" type="medicinecard20120601:UnwithdrawnDrugMedicationType"/>
		</sequence>
	</complexType>

	
	<element name="OnBehalfOf" type="medicinecard20120601:OnBehalfOfType">
		<annotation>
			<documentation xml:lang="en-GB">Structure containing the autorisation id of the person that is responsible for the operation.</documentation>
			<documentation xml:lang="da-DK">En structur der indeholder autorisationsid'et på den person som er ansvarlig for handlingen.</documentation>
		</annotation>
	</element>
	<complexType name="OnBehalfOfType">
		<sequence>
			<element name="AuthorisationIdentifier" type="medicinecard20120601:AuthorisationIdentifierType"/>
		</sequence>
	</complexType>

	<element name="CreatedDateTime" type="medicinecard20120601:CreatedDateTimeType">
		<annotation>
			<documentation xml:lang="en-GB">Created date time</documentation>
			<documentation xml:lang="da-DK">Oprettelsesdato og tid</documentation>
		</annotation>
	</element>
	<simpleType name="CreatedDateTimeType">
		<restriction base="dateTime">
			<minInclusive value="2000-01-01T00:00:00Z"/>
		</restriction>
	</simpleType>

	<element name="Gender" type="medicinecard20120601:GenderType">
		<annotation>
			<documentation xml:lang="en-GB">Gender</documentation>
			<documentation xml:lang="da-DK">Køn</documentation>
		</annotation>
	</element>
	<simpleType name="GenderType">
		<restriction base="string">
			<enumeration value="female"/>
			<enumeration value="male"/>
		</restriction>
	</simpleType>

	
	
	
	
	<element name="PauseDrugMedicationRequest" type="medicinecard20120601:PauseDrugMedicationRequestType">
		<annotation>
			<documentation xml:lang="en-GB">Outer container element for a request to pause one or more drugmedications</documentation>
			<documentation xml:lang="da-DK">Ydre container-element for en forespørgsel der pauserer en eller flere lægemiddelordinationer</documentation>
		</annotation>
	</element>
	<complexType name="PauseDrugMedicationRequestType">
		<sequence>
			<element name="PersonIdentifier" type="medicinecard20120601:PersonIdentifierType"/>
			<element name="MedicineCardVersion" type="medicinecard20120601:MedicineCardVersionType"/>
			<element name="PausedBy" type="medicinecard20120601:ModificatorType"/>
			<element minOccurs="0" name="ReportedBy" type="medicinecard20120601:ModificatorType"/>
			<element maxOccurs="unbounded" name="DrugMedication" type="medicinecard20120601:PauseDrugMedicationType"/>
		</sequence>
	</complexType>

	<element name="ServiceName" type="medicinecard20120601:ServiceNameType">
		<annotation>
			<documentation xml:lang="en-GB">Name of a service, e.g. "createPrescription"</documentation>
			<documentation xml:lang="da-DK">Systemnamvn, f.eks. "createPrescription"</documentation>
		</annotation>
	</element>
	<simpleType name="ServiceNameType">
		<restriction base="string">
			<minLength value="1"/>
			<maxLength value="40"/>
		</restriction>
	</simpleType>

	<element name="PrescriptionMedicationStatus" type="medicinecard20120601:PrescriptionMedicationStatusType">
		<annotation>
			<documentation xml:lang="en-GB">The status of the prescription medication</documentation>
			<documentation xml:lang="da-DK">Receptens status</documentation>
		</annotation>
	</element>
	<simpleType name="PrescriptionMedicationStatusType">
		<restriction base="string">
			<enumeration value="åben"/>
			<enumeration value="afsluttet"/>
			<enumeration value="annulleret"/>
			<enumeration value="kladde"/>
			<enumeration value="inaktiv"/>
			<enumeration value="delvist udleveret"/>
			<enumeration value="under behandling"/>
			<enumeration value="ugyldig"/>
			<enumeration value="web ekspederet"/>
			<enumeration value="overført til dosiskort"/>
		</restriction>
	</simpleType>
</xs:schema>
    <xs:schema xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <xs:import namespace="http://www.w3.org/2000/09/xmldsig#"/>
      <xs:import namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"/>
	
	
	<xs:element name="Assertion">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="saml:Issuer"/>
				<xs:element ref="saml:Subject"/>
				<xs:element ref="saml:Conditions"/>
				<xs:element maxOccurs="3" ref="saml:AttributeStatement"/>
				<xs:element minOccurs="0" ref="ds:Signature"/>
			</xs:sequence>
			<xs:attribute name="IssueInstant" type="xs:dateTime" use="required"/>
			<xs:attribute name="Version" type="xs:decimal" use="required"/>
			<xs:attribute name="id" type="xs:NCName" use="required"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="Issuer" type="xs:NCName"/>
	<xs:element name="Subject">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="saml:NameID"/>
				<xs:element minOccurs="0" ref="saml:SubjectConfirmation"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="NameID">
		<xs:complexType>
			<xs:simpleContent>
				<xs:extension base="xs:string">
					<xs:attribute name="Format" type="xs:anyURI" use="required"/>
				</xs:extension>
			</xs:simpleContent>
		</xs:complexType>
	</xs:element>
	<xs:element name="SubjectConfirmation">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="saml:ConfirmationMethod"/>
				<xs:element ref="saml:SubjectConfirmationData"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="ConfirmationMethod">
		<xs:simpleType>
			<xs:restriction base="xs:anyURI">
				<xs:enumeration value="urn:oasis:names:tc:SAML:2.0:cm:holder-of-key"/>
			</xs:restriction>
		</xs:simpleType>
	</xs:element>
	<xs:element name="SubjectConfirmationData">
		<xs:complexType>
			<xs:choice>
				<xs:element ref="ds:KeyInfo"/>
				<xs:element ref="wsse:UsernameToken"/>
			</xs:choice>
		</xs:complexType>
	</xs:element>
	<xs:element name="Conditions">
		<xs:complexType>
			<xs:attribute name="NotBefore" type="xs:dateTime" use="required"/>
			<xs:attribute name="NotOnOrAfter" type="xs:dateTime" use="required"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="AttributeStatement">
		<xs:complexType>
			<xs:sequence>
				<xs:element maxOccurs="unbounded" ref="saml:Attribute"/>
			</xs:sequence>
			<xs:attribute name="id" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:NCName">
						<xs:enumeration value="IDCardData"/>
						<xs:enumeration value="UserLog"/>
						<xs:enumeration value="SystemLog"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
		</xs:complexType>
	</xs:element>
	<xs:element name="Attribute">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="saml:AttributeValue"/>
			</xs:sequence>
			<xs:attribute name="Name" type="xs:string" use="required"/>
			<xs:attribute name="NameFormat" type="xs:anyURI"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="AttributeValue" type="xs:string"/>
</xs:schema>
    <xs:schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:def5="http://www.w3.org/2001/XMLSchema" xmlns:sdsd201008="http://www.sdsd.dk/dgws/2010/08" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.sdsd.dk/dgws/2012/06" xmlns:sdsd201206="http://www.sdsd.dk/dgws/2012/06">
      <import namespace="http://www.sdsd.dk/dgws/2010/08"/>
    
    
    
    
    
    
    

    <element name="WhitelistingHeader" type="sdsd201206:WhitelistingHeader">
        <annotation>
            <documentation xml:lang="en-GB">SDSD Whitelisting header.</documentation>
            <documentation xml:lang="da-DK">SDSD Whitelisting header.</documentation>
        </annotation>
    </element>
    <complexType name="WhitelistingHeader">
        <sequence>
           <element maxOccurs="1" minOccurs="1" ref="sdsd201008:SystemOwnerName"/>
           <element maxOccurs="1" minOccurs="1" ref="sdsd201008:SystemName"/>
           <element maxOccurs="1" minOccurs="1" ref="sdsd201008:SystemVersion"/>
           <element maxOccurs="1" minOccurs="1" ref="sdsd201008:OrgResponsibleName"/>
           <element maxOccurs="1" minOccurs="1" ref="sdsd201008:OrgUsingName"/>
           <element maxOccurs="1" minOccurs="1" ref="sdsd201008:OrgUsingID"/>
           <element maxOccurs="1" minOccurs="1" ref="sdsd201008:RequestedRole"/>
        </sequence>
    </complexType>
</xs:schema>
    <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:medcom="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="Linking">
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="1" minOccurs="0" ref="medcom:FlowID"/>
        <xs:element maxOccurs="1" minOccurs="1" ref="medcom:MessageID"/>
        <xs:element maxOccurs="1" minOccurs="0" ref="medcom:InResponseToMessageID"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="FlowID" type="xs:string"/>
  <xs:element name="MessageID" type="xs:string"/>
  <xs:element name="InResponseToMessageID" type="xs:string"/>
  <xs:element name="Priority">
    <xs:simpleType>
      <xs:restriction base="xs:string">
        <xs:enumeration value="AKUT"/>
        <xs:enumeration value="HASTER"/>
        <xs:enumeration value="RUTINE"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:element>
  <xs:element name="RequireNonRepudiationReceipt">
    <xs:simpleType>
      <xs:restriction base="xs:string">
        <xs:enumeration value="yes"/>
        <xs:enumeration value="no"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:element>
  <xs:element name="FlowStatus">
    <xs:simpleType>
      <xs:restriction base="xs:string">
        <xs:enumeration value="flow_running"/>
		<xs:enumeration value="flow_finalized_succesfully"/>
		<xs:enumeration value="syntax_error"/>
		<xs:enumeration value="missing_required_header"/>
		<xs:enumeration value="security_level_failed"/>
		<xs:enumeration value="invalid_username_password"/>
		<xs:enumeration value="invalid_signature"/>
		<xs:enumeration value="invalid_idcard"/>
		<xs:enumeration value="invalid_certificate"/>
		<xs:enumeration value="expired_idcard"/>
		<xs:enumeration value="not_authorized"/>
		<xs:enumeration value="illegal_http_method"/>
		<xs:enumeration value="processing_problem"/>
		<xs:enumeration value="signature_not_supported"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:element>
  <xs:element name="SecurityLevel">
    <xs:simpleType>
      <xs:restriction base="xs:int">
        <xs:enumeration value="1"/>
        <xs:enumeration value="2"/>
        <xs:enumeration value="3"/>
        <xs:enumeration value="4"/>
        <xs:enumeration value="5"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:element>
  <xs:element name="TimeOut">
    <xs:simpleType>
      <xs:restriction base="xs:string">
        <xs:enumeration value="5"/>
        <xs:enumeration value="30"/>
        <xs:enumeration value="480"/>
        <xs:enumeration value="1440"/>
        <xs:enumeration value="unbound"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:element>
  <xs:element name="Header">
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="1" minOccurs="0" ref="medcom:SecurityLevel"/>
        <xs:element maxOccurs="1" minOccurs="0" ref="medcom:TimeOut"/>
        <xs:element maxOccurs="1" minOccurs="1" ref="medcom:Linking"/>
        <xs:element maxOccurs="1" minOccurs="0" ref="medcom:FlowStatus"/>
        <xs:element maxOccurs="1" minOccurs="0" ref="medcom:Priority"/>
        <xs:element maxOccurs="1" minOccurs="0" ref="medcom:RequireNonRepudiationReceipt"/>
      </xs:sequence>
      <!-- Added by SEAL -->
	  <xs:anyAttribute namespace="##other" processContents="lax"/>  
    </xs:complexType>
  </xs:element>
  <xs:element name="FaultCode" type="xs:string"/>
</xs:schema>
    <xs:schema xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <xs:import namespace="urn:oasis:names:tc:SAML:2.0:assertion"/>
      <xs:import namespace="http://www.w3.org/2000/09/xmldsig#"/>
      <xs:import namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"/>
  
  
  
  <xs:element name="Security">
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="1" minOccurs="1" ref="wsu:Timestamp"/>
        <xs:element maxOccurs="1" minOccurs="0" ref="saml:Assertion"/>
        <xs:element maxOccurs="1" minOccurs="0" ref="ds:Signature"/>
      </xs:sequence>
      <xs:attribute name="id" use="optional"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="UsernameToken">
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="1" minOccurs="1" ref="wsse:Username"/>
        <xs:element maxOccurs="1" minOccurs="1" ref="wsse:Password"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="Username" type="xs:NCName"/>
  <xs:element name="Password" type="xs:NCName"/>
</xs:schema>
    <xs:schema xmlns:ds="http://www.w3.org/2000/09/xmldsig#" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.w3.org/2000/09/xmldsig#" xmlns:xs="http://www.w3.org/2001/XMLSchema">
	<xs:element name="Signature">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="ds:SignedInfo"/>
				<xs:element ref="ds:SignatureValue"/>
				<xs:element ref="ds:KeyInfo"/>
			</xs:sequence>
			<xs:attribute name="id" type="xs:NCName" use="required"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="SignedInfo">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="ds:CanonicalizationMethod"/>
				<xs:element ref="ds:SignatureMethod"/>
				<xs:element maxOccurs="unbounded" ref="ds:Reference"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="CanonicalizationMethod">
		<xs:complexType>
			<xs:attribute name="Algorithm" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:anyURI">
						<xs:enumeration value="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
						<xs:enumeration value="http://www.w3.org/2001/10/xml-exc-c14n#"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
		</xs:complexType>
	</xs:element>
	<xs:element name="SignatureMethod">
		<xs:complexType>
			<xs:attribute name="Algorithm" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:anyURI">
						<xs:enumeration value="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
		</xs:complexType>
	</xs:element>
	<xs:element name="Reference">
		<xs:complexType>
			<xs:sequence>
				<xs:element minOccurs="0" ref="ds:Transforms"/>
				<xs:element ref="ds:DigestMethod"/>
				<xs:element ref="ds:DigestValue"/>
			</xs:sequence>
			<xs:attribute name="URI" use="required"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="Transforms">
		<xs:complexType>
			<xs:sequence maxOccurs="unbounded">
				<xs:element name="Transform">
					<xs:complexType>
						<xs:attribute name="Algorithm" use="required"/>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="DigestMethod">
		<xs:complexType>
			<xs:attribute name="Algorithm" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:anyURI">
						<xs:enumeration value="http://www.w3.org/2000/09/xmldsig#sha1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
		</xs:complexType>
	</xs:element>
	<xs:element name="DigestValue" type="xs:base64Binary"/>
	<xs:element name="SignatureValue" type="xs:base64Binary"/>
	<xs:element name="KeyInfo">
		<xs:complexType>
			<xs:choice>
				<xs:element ref="ds:KeyName"/>
				<xs:sequence>
					<xs:element ref="ds:X509Data"/>
				</xs:sequence>
			</xs:choice>
		</xs:complexType>
	</xs:element>
	<xs:element name="KeyName" type="xs:NMTOKEN"/>
	<xs:element name="X509Data">
		<xs:complexType>
			<xs:choice>
				<xs:element ref="ds:X509Certificate"/>
				<xs:element ref="ds:KeyName"/>
			</xs:choice>
		</xs:complexType>
	</xs:element>
	<xs:element name="X509Certificate" type="xs:base64Binary"/>
</xs:schema>
  </wsdl:types>

    <wsdl:message name="SecurityHeader">
        <wsdl:part element="wsse:Security" name="SecurityHeader"/>
    </wsdl:message>

    <wsdl:message name="MedComHeader">
        <wsdl:part element="medcom:Header" name="MedcomHeader"/>
    </wsdl:message>

    <wsdl:message name="WhitelistingHeader">
        <wsdl:part element="sdsd201206:WhitelistingHeader" name="WhitelistingHeader"/>
    </wsdl:message>

    <wsdl:message name="TimingHeader">
        <wsdl:part element="medicinecard20120601:TimingList" name="TimingHeader"/>
    </wsdl:message>

    <wsdl:message name="ReplicationStatusHeader">
        <wsdl:part element="medicinecard20120601:PrescriptionReplicationStatus" name="ReplicationStatusHeader"/>
    </wsdl:message>

    <wsdl:message name="OnBehalfOfHeader">
        <wsdl:part element="medicinecard20120601:OnBehalfOf" name="OnBehalfOfHeader"/>
    </wsdl:message>

    <wsdl:message name="GetMedicineCardRequest_2012_06_01">
        <wsdl:part element="medicinecard20120601:GetMedicineCardRequest" name="GetMedicineCardRequest"/>
    </wsdl:message>
    <wsdl:message name="GetMedicineCardResponse_2012_06_01">
        <wsdl:part element="medicinecard20120601:GetMedicineCardResponse" name="GetMedicineCardResponse"/>
    </wsdl:message>

    <wsdl:message name="GetMedicineCardRequest_2013_06_01">
        <wsdl:part element="medicinecard20120601:GetMedicineCardRequest" name="GetMedicineCardRequest"/>
    </wsdl:message>
    <wsdl:message name="GetMedicineCardResponse_2013_06_01">
        <wsdl:part element="medicinecard20130601:GetMedicineCardResponse" name="GetMedicineCardResponse"/>
    </wsdl:message>

    <wsdl:message name="GetMedicineCardAsPDFRequest_2012_06_01">
        <wsdl:part element="medicinecard20120601:GetMedicineCardAsPDFRequest" name="GetMedicineCardAsPDFRequest"/>
    </wsdl:message>
    <wsdl:message name="GetMedicineCardAsPDFResponse_2012_06_01">
        <wsdl:part element="medicinecard20120601:GetMedicineCardAsPDFResponse" name="GetMedicineCardAsPDFResponse"/>
    </wsdl:message>

    <wsdl:message name="GetMedicineCardVersionRequest_2012_06_01">
        <wsdl:part element="medicinecard20120601:GetMedicineCardVersionRequest" name="GetMedicineCardVersionRequest"/>
    </wsdl:message>
    <wsdl:message name="GetMedicineCardVersionResponse_2012_06_01">
        <wsdl:part element="medicinecard20120601:GetMedicineCardVersionResponse" name="GetMedicineCardVersionResponse"/>
    </wsdl:message>

    <wsdl:message name="UpdateMedicineCardRequest_2012_06_01">
        <wsdl:part element="medicinecard20120601:UpdateMedicineCardRequest" name="UpdateMedicineCardRequest"/>
    </wsdl:message>
    <wsdl:message name="UpdateMedicineCardResponse_2012_06_01">
        <wsdl:part element="medicinecard20120601:UpdateMedicineCardResponse" name="UpdateMedicineCardResponse"/>
    </wsdl:message>

    <wsdl:message name="UpdateMedicineCardRequest_2013_06_01">
        <wsdl:part element="medicinecard20130601:UpdateMedicineCardRequest" name="UpdateMedicineCardRequest"/>
    </wsdl:message>
    <wsdl:message name="UpdateMedicineCardResponse_2013_06_01">
        <wsdl:part element="medicinecard20120601:UpdateMedicineCardResponse" name="UpdateMedicineCardResponse"/>
    </wsdl:message>

    <wsdl:message name="SetMedicineCardReviewedRequest_2012_06_01">
        <wsdl:part element="medicinecard20120601:SetMedicineCardReviewedRequest" name="SetMedicineCardReviewedRequest"/>
    </wsdl:message>
    <wsdl:message name="SetMedicineCardReviewedResponse_2012_06_01">
        <wsdl:part element="medicinecard20120601:SetMedicineCardReviewedResponse" name="SetMedicineCardReviewedResponse"/>
    </wsdl:message>

    <wsdl:message name="GetDrugMedicationRequest_2012_06_01">
        <wsdl:part element="medicinecard20120601:GetDrugMedicationRequest" name="GetDrugMedicationRequest"/>
    </wsdl:message>
    <wsdl:message name="GetDrugMedicationResponse_2012_06_01">
        <wsdl:part element="medicinecard20120601:GetDrugMedicationResponse" name="GetDrugMedicationResponse"/>
    </wsdl:message>

    <wsdl:message name="GetDrugMedicationRequest_2013_06_01">
        <wsdl:part element="medicinecard20120601:GetDrugMedicationRequest" name="GetDrugMedicationRequest"/>
    </wsdl:message>
    <wsdl:message name="GetDrugMedicationResponse_2013_06_01">
        <wsdl:part element="medicinecard20130601:GetDrugMedicationResponse" name="GetDrugMedicationResponse"/>
    </wsdl:message>

    <wsdl:message name="PauseDrugMedicationRequest_2012_06_01">
        <wsdl:part element="medicinecard20120601:PauseDrugMedicationRequest" name="PauseDrugMedicationRequest"/>
    </wsdl:message>
    <wsdl:message name="PauseDrugMedicationResponse_2012_06_01">
        <wsdl:part element="medicinecard20120601:PauseDrugMedicationResponse" name="PauseDrugMedicationResponse"/>
    </wsdl:message>

    <wsdl:message name="CreateDrugMedicationRequest_2012_06_01">
        <wsdl:part element="medicinecard20120601:CreateDrugMedicationRequest" name="CreateDrugMedicationRequest"/>
    </wsdl:message>
    <wsdl:message name="CreateDrugMedicationResponse_2012_06_01">
        <wsdl:part element="medicinecard20120601:CreateDrugMedicationResponse" name="CreateDrugMedicationResponse"/>
    </wsdl:message>

    <wsdl:message name="CreateDrugMedicationRequest_2013_06_01">
        <wsdl:part element="medicinecard20130601:CreateDrugMedicationRequest" name="CreateDrugMedicationRequest"/>
    </wsdl:message>
    <wsdl:message name="CreateDrugMedicationResponse_2013_06_01">
        <wsdl:part element="medicinecard20120601:CreateDrugMedicationResponse" name="CreateDrugMedicationResponse"/>
    </wsdl:message>

    <wsdl:message name="AttachOrDetachPrescriptionMedicationRequest_2012_06_01">
        <wsdl:part element="medicinecard20120601:AttachOrDetachPrescriptionMedicationRequest" name="AttachOrDetachPrescriptionMedicationRequest"/>
    </wsdl:message>
    <wsdl:message name="AttachOrDetachPrescriptionMedicationResponse_2012_06_01">
        <wsdl:part element="medicinecard20120601:AttachOrDetachPrescriptionMedicationResponse" name="AttachOrDetachPrescriptionMedicationResponse"/>
    </wsdl:message>

    <wsdl:message name="CreateEffectuationRequest_2012_06_01">
        <wsdl:part element="medicinecard20120601:CreateEffectuationRequest" name="CreateEffectuationRequest"/>
    </wsdl:message>
    <wsdl:message name="CreateEffectuationResponse_2012_06_01">
        <wsdl:part element="medicinecard20120601:CreateEffectuationResponse" name="CreateEffectuationResponse"/>
    </wsdl:message>

    <wsdl:message name="CreateEffectuationRequest_2013_06_01">
        <wsdl:part element="medicinecard20130601:CreateEffectuationRequest" name="CreateEffectuationRequest"/>
    </wsdl:message>
    <wsdl:message name="CreateEffectuationResponse_2013_06_01">
        <wsdl:part element="medicinecard20120601:CreateEffectuationResponse" name="CreateEffectuationResponse"/>
    </wsdl:message>

    <wsdl:message name="CreatePrescriptionMedicationRequest_2012_06_01">
        <wsdl:part element="medicinecard20120601:CreatePrescriptionMedicationRequest" name="CreatePrescriptionMedicationRequest"/>
    </wsdl:message>
    <wsdl:message name="CreatePrescriptionMedicationResponse_2012_06_01">
        <wsdl:part element="medicinecard20120601:CreatePrescriptionMedicationResponse" name="CreatePrescriptionMedicationResponse"/>
    </wsdl:message>

    <wsdl:message name="SuspendMedicineCardRequest_2012_06_01">
        <wsdl:part element="medicinecard20120601:SuspendMedicineCardRequest" name="SuspendMedicineCardRequest"/>
    </wsdl:message>
    <wsdl:message name="SuspendMedicineCardResponse_2012_06_01">
        <wsdl:part element="medicinecard20120601:SuspendMedicineCardResponse" name="SuspendMedicineCardResponse"/>
    </wsdl:message>

    <wsdl:message name="ResuspendMedicineCardRequest_2012_06_01">
        <wsdl:part element="medicinecard20120601:ResuspendMedicineCardRequest" name="ResuspendMedicineCardRequest"/>
    </wsdl:message>
    <wsdl:message name="ResuspendMedicineCardResponse_2012_06_01">
        <wsdl:part element="medicinecard20120601:ResuspendMedicineCardResponse" name="ResuspendMedicineCardResponse"/>
    </wsdl:message>

    <wsdl:message name="UnsuspendMedicineCardRequest_2012_06_01">
        <wsdl:part element="medicinecard20120601:UnsuspendMedicineCardRequest" name="UnsuspendMedicineCardRequest"/>
    </wsdl:message>
    <wsdl:message name="UnsuspendMedicineCardResponse_2012_06_01">
        <wsdl:part element="medicinecard20120601:UnsuspendMedicineCardResponse" name="UnsuspendMedicineCardResponse"/>
    </wsdl:message>

    <wsdl:message name="GetPrescriptionMedicationRequest_2012_06_01">
        <wsdl:part element="medicinecard20120601:GetPrescriptionMedicationRequest" name="GetPrescriptionMedicationRequest"/>
    </wsdl:message>
    <wsdl:message name="GetPrescriptionMedicationResponse_2012_06_01">
        <wsdl:part element="medicinecard20120601:GetPrescriptionMedicationResponse" name="GetPrescriptionMedicationResponse"/>
    </wsdl:message>

    <wsdl:message name="GetPrescriptionMedicationRequest_2013_06_01">
        <wsdl:part element="medicinecard20120601:GetPrescriptionMedicationRequest" name="GetPrescriptionMedicationRequest"/>
    </wsdl:message>
    <wsdl:message name="GetPrescriptionMedicationResponse_2013_06_01">
        <wsdl:part element="medicinecard20130601:GetPrescriptionMedicationResponse" name="GetPrescriptionMedicationResponse"/>
    </wsdl:message>

    <wsdl:message name="SearchWithdrawnDrugMedicationsRequest_2012_06_01">
        <wsdl:part element="medicinecard20120601:SearchWithdrawnDrugMedicationsRequest" name="SearchWithdrawnDrugMedicationsRequest"/>
    </wsdl:message>
    <wsdl:message name="SearchWithdrawnDrugMedicationsResponse_2012_06_01">
        <wsdl:part element="medicinecard20120601:SearchWithdrawnDrugMedicationsResponse" name="SearchWithdrawnDrugMedicationsResponse"/>
    </wsdl:message>

    <wsdl:message name="UnpauseDrugMedicationRequest_2012_06_01">
        <wsdl:part element="medicinecard20120601:UnpauseDrugMedicationRequest" name="UnpauseDrugMedicationRequest"/>
    </wsdl:message>
    <wsdl:message name="UnpauseDrugMedicationResponse_2012_06_01">
        <wsdl:part element="medicinecard20120601:UnpauseDrugMedicationResponse" name="UnpauseDrugMedicationResponse"/>
    </wsdl:message>

    <wsdl:message name="UpdateDrugMedicationRequest_2012_06_01">
        <wsdl:part element="medicinecard20120601:UpdateDrugMedicationRequest" name="UpdateDrugMedicationRequest"/>
    </wsdl:message>
    <wsdl:message name="UpdateDrugMedicationResponse_2012_06_01">
        <wsdl:part element="medicinecard20120601:UpdateDrugMedicationResponse" name="UpdateDrugMedicationResponse"/>
    </wsdl:message>

    <wsdl:message name="UpdateDrugMedicationRequest_2013_06_01">
        <wsdl:part element="medicinecard20130601:UpdateDrugMedicationRequest" name="UpdateDrugMedicationRequest"/>
    </wsdl:message>
    <wsdl:message name="UpdateDrugMedicationResponse_2013_06_01">
        <wsdl:part element="medicinecard20120601:UpdateDrugMedicationResponse" name="UpdateDrugMedicationResponse"/>
    </wsdl:message>

    <wsdl:message name="WithdrawDrugMedicationRequest_2012_06_01">
        <wsdl:part element="medicinecard20120601:WithdrawDrugMedicationRequest" name="WithdrawDrugMedicationRequest"/>
    </wsdl:message>
    <wsdl:message name="WithdrawDrugMedicationResponse_2012_06_01">
        <wsdl:part element="medicinecard20120601:WithdrawDrugMedicationResponse" name="WithdrawDrugMedicationResponse"/>
    </wsdl:message>

    <wsdl:message name="UnwithdrawDrugMedicationRequest_2012_06_01">
        <wsdl:part element="medicinecard20120601:UnwithdrawDrugMedicationRequest" name="UnwithdrawDrugMedicationRequest"/>
    </wsdl:message>

    <wsdl:message name="UnwithdrawDrugMedicationResponse_2012_06_01">
        <wsdl:part element="medicinecard20120601:UnwithdrawDrugMedicationResponse" name="UnwithdrawDrugMedicationResponse"/>
    </wsdl:message>

    <wsdl:message name="SearchEffectuationsRequest_2012_06_01">
        <wsdl:part element="medicinecard20120601:SearchEffectuationsRequest" name="SearchEffectuationsRequest"/>
    </wsdl:message>
    <wsdl:message name="SearchEffectuationsResponse_2012_06_01">
        <wsdl:part element="medicinecard20120601:SearchEffectuationsResponse" name="SearchEffectuationsResponse"/>
    </wsdl:message>

    <wsdl:message name="SearchEffectuationsRequest_2013_06_01">
        <wsdl:part element="medicinecard20120601:SearchEffectuationsRequest" name="SearchEffectuationsRequest"/>
    </wsdl:message>
    <wsdl:message name="SearchEffectuationsResponse_2013_06_01">
        <wsdl:part element="medicinecard20130601:SearchEffectuationsResponse" name="SearchEffectuationsResponse"/>
    </wsdl:message>

    <wsdl:message name="CreatePrescriptionMedicationForUseInPracticeRequest_2012_06_01">
        <wsdl:part element="medicinecard20120601:CreatePrescriptionMedicationForUseInPracticeRequest" name="CreatePrescriptionMedicationForUseInPracticeRequest"/>
    </wsdl:message>

    <wsdl:message name="CreatePrescriptionMedicationForUseInPracticeResponse_2012_06_01">
        <wsdl:part element="medicinecard20120601:CreatePrescriptionMedicationForUseInPracticeResponse" name="CreatePrescriptionMedicationForUseInPracticeResponse"/>
    </wsdl:message>

    <wsdl:message name="CreatePrescriptionMedicationWithoutCPRRequest_2012_06_01">
        <wsdl:part element="medicinecard20120601:CreatePrescriptionMedicationWithoutCPRRequest" name="CreatePrescriptionMedicationWithoutCPRRequest"/>
    </wsdl:message>
    <wsdl:message name="CreatePrescriptionMedicationWithoutCPRResponse_2012_06_01">
        <wsdl:part element="medicinecard20120601:CreatePrescriptionMedicationWithoutCPRResponse" name="CreatePrescriptionMedicationWithoutCPRResponse"/>
    </wsdl:message>

    <wsdl:message name="DeleteEffectuationRequest_2012_06_01">
        <wsdl:part element="medicinecard20120601:DeleteEffectuationRequest" name="DeleteEffectuationRequest"/>
    </wsdl:message>
    <wsdl:message name="DeleteEffectuationResponse_2012_06_01">
        <wsdl:part element="medicinecard20120601:DeleteEffectuationResponse" name="DeleteEffectuationResponse"/>
    </wsdl:message>

    <wsdl:message name="GetPermissionsRequest_2012_06_01">
        <wsdl:part element="medicinecard20120601:GetPermissionsRequest" name="GetPermissionsRequest"/>
    </wsdl:message>
    <wsdl:message name="GetPermissionsResponse_2012_06_01">
        <wsdl:part element="medicinecard20120601:GetPermissionsResponse" name="GetPermissionsResponse"/>
    </wsdl:message>

    <wsdl:message name="MarkPrescriptionMedicationDeprecatedRequest_2012_06_01">
        <wsdl:part element="medicinecard20120601:MarkPrescriptionMedicationDeprecatedRequest" name="MarkPrescriptionMedicationDeprecatedRequest"/>
    </wsdl:message>
    <wsdl:message name="MarkPrescriptionMedicationDeprecatedResponse_2012_06_01">
        <wsdl:part element="medicinecard20120601:MarkPrescriptionMedicationDeprecatedResponse" name="MarkPrescriptionMedicationDeprecatedResponse"/>
    </wsdl:message>

    <wsdl:message name="UnmarkPrescriptionMedicationDeprecatedRequest_2012_06_01">
        <wsdl:part element="medicinecard20120601:UnmarkPrescriptionMedicationDeprecatedRequest" name="UnmarkPrescriptionMedicationDeprecatedRequest"/>
    </wsdl:message>
    <wsdl:message name="UnmarkPrescriptionMedicationDeprecatedResponse_2012_06_01">
        <wsdl:part element="medicinecard20120601:UnmarkPrescriptionMedicationDeprecatedResponse" name="UnmarkPrescriptionMedicationDeprecatedResponse"/>
    </wsdl:message>

    <wsdl:message name="CancelPrescriptionMedicationRequest_2012_06_01">
        <wsdl:part element="medicinecard20120601:CancelPrescriptionMedicationRequest" name="CancelPrescriptionMedicationRequest"/>
    </wsdl:message>
    <wsdl:message name="CancelPrescriptionMedicationResponse_2012_06_01">
        <wsdl:part element="medicinecard20120601:CancelPrescriptionMedicationResponse" name="CancelPrescriptionMedicationResponse"/>
    </wsdl:message>

    <wsdl:message name="DGWSFault">
        <wsdl:part element="medcom:FaultCode" name="fault"/>
    </wsdl:message>


    <wsdl:portType name="MedicineCardPortType">

        <wsdl:operation name="GetMedicineCard_2012_06_01">
            <wsdl:input message="tns:GetMedicineCardRequest_2012_06_01" name="GetMedicineCardRequest_2012_06_01"/>
            <wsdl:output message="tns:GetMedicineCardResponse_2012_06_01" name="GetMedicineCardResponse_2012_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

        <wsdl:operation name="GetMedicineCard_2013_06_01">
            <wsdl:input message="tns:GetMedicineCardRequest_2013_06_01" name="GetMedicineCardRequest_2013_06_01"/>
            <wsdl:output message="tns:GetMedicineCardResponse_2013_06_01" name="GetMedicineCardResponse_2013_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

        <wsdl:operation name="GetMedicineCardAsPDF_2012_06_01">
            <wsdl:input message="tns:GetMedicineCardAsPDFRequest_2012_06_01" name="GetMedicineCardAsPDFRequest_2012_06_01"/>
            <wsdl:output message="tns:GetMedicineCardAsPDFResponse_2012_06_01" name="GetMedicineCardAsPDFResponse_2012_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

        <wsdl:operation name="GetMedicineCardVersion_2012_06_01">
            <wsdl:input message="tns:GetMedicineCardVersionRequest_2012_06_01" name="GetMedicineCardVersionRequest_2012_06_01"/>
            <wsdl:output message="tns:GetMedicineCardVersionResponse_2012_06_01" name="GetMedicineCardVersionResponse_2012_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

        <wsdl:operation name="UpdateMedicineCard_2012_06_01">
            <wsdl:input message="tns:UpdateMedicineCardRequest_2012_06_01" name="UpdateMedicineCardRequest_2012_06_01"/>
            <wsdl:output message="tns:UpdateMedicineCardResponse_2012_06_01" name="UpdateMedicineCardResponse_2012_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

        <wsdl:operation name="UpdateMedicineCard_2013_06_01">
            <wsdl:input message="tns:UpdateMedicineCardRequest_2013_06_01" name="UpdateMedicineCardRequest_2013_06_01"/>
            <wsdl:output message="tns:UpdateMedicineCardResponse_2013_06_01" name="UpdateMedicineCardResponse_2013_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

        <wsdl:operation name="SetMedicineCardReviewed_2012_06_01">
            <wsdl:input message="tns:SetMedicineCardReviewedRequest_2012_06_01" name="SetMedicineCardReviewedRequest_2012_06_01"/>
            <wsdl:output message="tns:SetMedicineCardReviewedResponse_2012_06_01" name="SetMedicineCardReviewedResponse_2012_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

        <wsdl:operation name="GetDrugMedication_2012_06_01">
            <wsdl:input message="tns:GetDrugMedicationRequest_2012_06_01" name="GetDrugMedicationRequest_2012_06_01"/>
            <wsdl:output message="tns:GetDrugMedicationResponse_2012_06_01" name="GetDrugMedicationResponse_2012_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

        <wsdl:operation name="GetDrugMedication_2013_06_01">
            <wsdl:input message="tns:GetDrugMedicationRequest_2013_06_01" name="GetDrugMedicationRequest_2013_06_01"/>
            <wsdl:output message="tns:GetDrugMedicationResponse_2013_06_01" name="GetDrugMedicationResponse_2013_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

        <wsdl:operation name="PauseDrugMedication_2012_06_01">
            <wsdl:input message="tns:PauseDrugMedicationRequest_2012_06_01" name="PauseDrugMedicationRequest_2012_06_01"/>
            <wsdl:output message="tns:PauseDrugMedicationResponse_2012_06_01" name="PauseDrugMedicationResponse_2012_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

        <wsdl:operation name="CreateDrugMedication_2012_06_01">
            <wsdl:input message="tns:CreateDrugMedicationRequest_2012_06_01" name="CreateDrugMedicationRequest_2012_06_01"/>
            <wsdl:output message="tns:CreateDrugMedicationResponse_2012_06_01" name="CreateDrugMedicationResponse_2012_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

        <wsdl:operation name="CreateDrugMedication_2013_06_01">
            <wsdl:input message="tns:CreateDrugMedicationRequest_2013_06_01" name="CreateDrugMedicationRequest_2013_06_01"/>
            <wsdl:output message="tns:CreateDrugMedicationResponse_2013_06_01" name="CreateDrugMedicationResponse_2013_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

        <wsdl:operation name="AttachOrDetachPrescriptionMedication_2012_06_01">
            <wsdl:input message="tns:AttachOrDetachPrescriptionMedicationRequest_2012_06_01" name="AttachOrDetachPrescriptionMedicationRequest_2012_06_01"/>
            <wsdl:output message="tns:AttachOrDetachPrescriptionMedicationResponse_2012_06_01" name="AttachOrDetachPrescriptionMedicationResponse_2012_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

        <wsdl:operation name="CreateEffectuation_2012_06_01">
            <wsdl:input message="tns:CreateEffectuationRequest_2012_06_01" name="CreateEffectuationRequest_2012_06_01"/>
            <wsdl:output message="tns:CreateEffectuationResponse_2012_06_01" name="CreateEffectuationResponse_2012_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

        <wsdl:operation name="CreateEffectuation_2013_06_01">
            <wsdl:input message="tns:CreateEffectuationRequest_2013_06_01" name="CreateEffectuationRequest_2013_06_01"/>
            <wsdl:output message="tns:CreateEffectuationResponse_2013_06_01" name="CreateEffectuationResponse_2013_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

        <wsdl:operation name="CreatePrescriptionMedication_2012_06_01">
            <wsdl:input message="tns:CreatePrescriptionMedicationRequest_2012_06_01" name="CreatePrescriptionMedicationRequest_2012_06_01"/>
            <wsdl:output message="tns:CreatePrescriptionMedicationResponse_2012_06_01" name="CreatePrescriptionMedicationResponse_2012_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

        <wsdl:operation name="SuspendMedicineCard_2012_06_01">
            <wsdl:input message="tns:SuspendMedicineCardRequest_2012_06_01" name="SuspendMedicineCardRequest_2012_06_01"/>
            <wsdl:output message="tns:SuspendMedicineCardResponse_2012_06_01" name="SuspendMedicineCardResponse_2012_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

        <wsdl:operation name="ResuspendMedicineCard_2012_06_01">
            <wsdl:input message="tns:ResuspendMedicineCardRequest_2012_06_01" name="ResuspendMedicineCardRequest_2012_06_01"/>
            <wsdl:output message="tns:ResuspendMedicineCardResponse_2012_06_01" name="ResuspendMedicineCardResponse_2012_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

        <wsdl:operation name="UnsuspendMedicineCard_2012_06_01">
            <wsdl:input message="tns:UnsuspendMedicineCardRequest_2012_06_01" name="UnsuspendMedicineCardRequest_2012_06_01"/>
            <wsdl:output message="tns:UnsuspendMedicineCardResponse_2012_06_01" name="UnsuspendMedicineCardResponse_2012_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

        <wsdl:operation name="GetPrescriptionMedication_2012_06_01">
            <wsdl:input message="tns:GetPrescriptionMedicationRequest_2012_06_01" name="GetPrescriptionMedicationRequest_2012_06_01"/>
            <wsdl:output message="tns:GetPrescriptionMedicationResponse_2012_06_01" name="GetPrescriptionMedicationResponse_2012_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

        <wsdl:operation name="GetPrescriptionMedication_2013_06_01">
            <wsdl:input message="tns:GetPrescriptionMedicationRequest_2013_06_01" name="GetPrescriptionMedicationRequest_2013_06_01"/>
            <wsdl:output message="tns:GetPrescriptionMedicationResponse_2013_06_01" name="GetPrescriptionMedicationResponse_2013_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

        <wsdl:operation name="SearchWithdrawnDrugMedications_2012_06_01">
            <wsdl:input message="tns:SearchWithdrawnDrugMedicationsRequest_2012_06_01" name="SearchWithdrawnDrugMedicationsRequest_2012_06_01"/>
            <wsdl:output message="tns:SearchWithdrawnDrugMedicationsResponse_2012_06_01" name="SearchWithdrawnDrugMedicationsResponse_2012_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

        <wsdl:operation name="UnpauseDrugMedication_2012_06_01">
            <wsdl:input message="tns:UnpauseDrugMedicationRequest_2012_06_01" name="UnpauseDrugMedicationRequest_2012_06_01"/>
            <wsdl:output message="tns:UnpauseDrugMedicationResponse_2012_06_01" name="UnpauseDrugMedicationResponse_2012_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

        <wsdl:operation name="UpdateDrugMedication_2012_06_01">
            <wsdl:input message="tns:UpdateDrugMedicationRequest_2012_06_01" name="UpdateDrugMedicationRequest_2012_06_01"/>
            <wsdl:output message="tns:UpdateDrugMedicationResponse_2012_06_01" name="UpdateDrugMedicationResponse_2012_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

        <wsdl:operation name="UpdateDrugMedication_2013_06_01">
            <wsdl:input message="tns:UpdateDrugMedicationRequest_2013_06_01" name="UpdateDrugMedicationRequest_2013_06_01"/>
            <wsdl:output message="tns:UpdateDrugMedicationResponse_2013_06_01" name="UpdateDrugMedicationResponse_2013_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

        <wsdl:operation name="WithdrawDrugMedication_2012_06_01">
            <wsdl:input message="tns:WithdrawDrugMedicationRequest_2012_06_01" name="WithdrawDrugMedicationRequest_2012_06_01"/>
            <wsdl:output message="tns:WithdrawDrugMedicationResponse_2012_06_01" name="WithdrawDrugMedicationResponse_2012_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

        <wsdl:operation name="UnwithdrawDrugMedication_2012_06_01">
            <wsdl:input message="tns:UnwithdrawDrugMedicationRequest_2012_06_01" name="UnwithdrawDrugMedicationRequest_2012_06_01"/>
            <wsdl:output message="tns:UnwithdrawDrugMedicationResponse_2012_06_01" name="UnwithdrawDrugMedicationResponse_2012_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

        <wsdl:operation name="SearchEffectuations_2012_06_01">
            <wsdl:input message="tns:SearchEffectuationsRequest_2012_06_01" name="SearchEffectuationsRequest_2012_06_01"/>
            <wsdl:output message="tns:SearchEffectuationsResponse_2012_06_01" name="SearchEffectuationsResponse_2012_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

        <wsdl:operation name="SearchEffectuations_2013_06_01">
            <wsdl:input message="tns:SearchEffectuationsRequest_2013_06_01" name="SearchEffectuationsRequest_2013_06_01"/>
            <wsdl:output message="tns:SearchEffectuationsResponse_2013_06_01" name="SearchEffectuationsResponse_2013_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

        <wsdl:operation name="CreatePrescriptionMedicationForUseInPractice_2012_06_01">
            <wsdl:input message="tns:CreatePrescriptionMedicationForUseInPracticeRequest_2012_06_01" name="CreatePrescriptionMedicationForUseInPracticeRequest_2012_06_01"/>
            <wsdl:output message="tns:CreatePrescriptionMedicationForUseInPracticeResponse_2012_06_01" name="CreatePrescriptionMedicationForUseInPracticeResponse_2012_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

        <wsdl:operation name="CreatePrescriptionMedicationWithoutCPR_2012_06_01">
            <wsdl:input message="tns:CreatePrescriptionMedicationWithoutCPRRequest_2012_06_01" name="CreatePrescriptionMedicationWithoutCPRRequest_2012_06_01"/>
            <wsdl:output message="tns:CreatePrescriptionMedicationWithoutCPRResponse_2012_06_01" name="CreatePrescriptionMedicationWithoutCPRResponse_2012_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

        <wsdl:operation name="DeleteEffectuation_2012_06_01">
            <wsdl:input message="tns:DeleteEffectuationRequest_2012_06_01" name="DeleteEffectuationRequest_2012_06_01"/>
            <wsdl:output message="tns:DeleteEffectuationResponse_2012_06_01" name="DeleteEffectuationResponse_2012_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

        <wsdl:operation name="GetPermissions_2012_06_01">
            <wsdl:input message="tns:GetPermissionsRequest_2012_06_01" name="GetPermissionsRequest_2012_06_01"/>
            <wsdl:output message="tns:GetPermissionsResponse_2012_06_01" name="GetPermissionsResponse_2012_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

        <wsdl:operation name="MarkPrescriptionMedicationDeprecated_2012_06_01">
            <wsdl:input message="tns:MarkPrescriptionMedicationDeprecatedRequest_2012_06_01" name="MarkPrescriptionMedicationDeprecatedRequest_2012_06_01"/>
            <wsdl:output message="tns:MarkPrescriptionMedicationDeprecatedResponse_2012_06_01" name="MarkPrescriptionMedicationDeprecatedResponse_2012_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

        <wsdl:operation name="UnmarkPrescriptionMedicationDeprecated_2012_06_01">
            <wsdl:input message="tns:UnmarkPrescriptionMedicationDeprecatedRequest_2012_06_01" name="UnmarkPrescriptionMedicationDeprecatedRequest_2012_06_01"/>
            <wsdl:output message="tns:UnmarkPrescriptionMedicationDeprecatedResponse_2012_06_01" name="UnmarkPrescriptionMedicationDeprecatedResponse_2012_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

        <wsdl:operation name="CancelPrescriptionMedication_2012_06_01">
            <wsdl:input message="tns:CancelPrescriptionMedicationRequest_2012_06_01" name="CancelPrescriptionMedicationRequest_2012_06_01"/>
            <wsdl:output message="tns:CancelPrescriptionMedicationResponse_2012_06_01" name="CancelPrescriptionMedicationResponse_2012_06_01"/>
            <wsdl:fault message="tns:DGWSFault" name="DGWSFault"/>
        </wsdl:operation>

    </wsdl:portType>


    <wsdl:binding name="MedicineCardBinding" type="tns:MedicineCardPortType">

        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>

        <wsdl:operation name="GetMedicineCard_2012_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01#GetMedicineCard" style="document"/>
            <wsdl:input name="GetMedicineCardRequest_2012_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="GetMedicineCardResponse_2012_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>
        
        <wsdl:operation name="GetMedicineCard_2013_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2013/06/01#GetMedicineCard" style="document"/>
            <wsdl:input name="GetMedicineCardRequest_2013_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="GetMedicineCardResponse_2013_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>        

        <wsdl:operation name="GetMedicineCardAsPDF_2012_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01#GetMedicineCardAsPDF" style="document"/>
            <wsdl:input name="GetMedicineCardAsPDFRequest_2012_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="GetMedicineCardAsPDFResponse_2012_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>

        <wsdl:operation name="GetMedicineCardVersion_2012_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01#GetMedicineCardVersion" style="document"/>
            <wsdl:input name="GetMedicineCardVersionRequest_2012_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="GetMedicineCardVersionResponse_2012_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>

        <wsdl:operation name="UpdateMedicineCard_2012_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01#UpdateMedicineCard" style="document"/>
            <wsdl:input name="UpdateMedicineCardRequest_2012_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="UpdateMedicineCardResponse_2012_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>

        <wsdl:operation name="UpdateMedicineCard_2013_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2013/06/01#UpdateMedicineCard" style="document"/>
            <wsdl:input name="UpdateMedicineCardRequest_2013_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="UpdateMedicineCardResponse_2013_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>

        <wsdl:operation name="SetMedicineCardReviewed_2012_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01#SetMedicineCardReviewed" style="document"/>
            <wsdl:input name="SetMedicineCardReviewedRequest_2012_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="SetMedicineCardReviewedResponse_2012_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>

        <wsdl:operation name="GetDrugMedication_2012_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01#GetDrugMedication" style="document"/>
            <wsdl:input name="GetDrugMedicationRequest_2012_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="GetDrugMedicationResponse_2012_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>

        <wsdl:operation name="GetDrugMedication_2013_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2013/06/01#GetDrugMedication" style="document"/>
            <wsdl:input name="GetDrugMedicationRequest_2013_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="GetDrugMedicationResponse_2013_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation> 

        <wsdl:operation name="PauseDrugMedication_2012_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01#PauseDrugMedication" style="document"/>
            <wsdl:input name="PauseDrugMedicationRequest_2012_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="PauseDrugMedicationResponse_2012_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>

        <wsdl:operation name="CreateDrugMedication_2012_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01#CreateDrugMedication" style="document"/>
            <wsdl:input name="CreateDrugMedicationRequest_2012_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="CreateDrugMedicationResponse_2012_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>

		<wsdl:operation name="CreateDrugMedication_2013_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2013/06/01#CreateDrugMedication" style="document"/>
            <wsdl:input name="CreateDrugMedicationRequest_2013_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="CreateDrugMedicationResponse_2013_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>
        
        <wsdl:operation name="AttachOrDetachPrescriptionMedication_2012_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01#AttachOrDetachPrescriptionMedication" style="document"/>
            <wsdl:input name="AttachOrDetachPrescriptionMedicationRequest_2012_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="AttachOrDetachPrescriptionMedicationResponse_2012_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>

        <wsdl:operation name="CreateEffectuation_2012_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01#CreateEffectuation" style="document"/>
            <wsdl:input name="CreateEffectuationRequest_2012_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="CreateEffectuationResponse_2012_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>

        <wsdl:operation name="CreateEffectuation_2013_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2013/06/01#CreateEffectuation" style="document"/>
            <wsdl:input name="CreateEffectuationRequest_2013_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="CreateEffectuationResponse_2013_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>

        <wsdl:operation name="CreatePrescriptionMedication_2012_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01#CreatePrescriptionMedication" style="document"/>
            <wsdl:input name="CreatePrescriptionMedicationRequest_2012_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="CreatePrescriptionMedicationResponse_2012_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>

        <wsdl:operation name="SuspendMedicineCard_2012_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01#SuspendMedicineCard" style="document"/>
            <wsdl:input name="SuspendMedicineCardRequest_2012_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="SuspendMedicineCardResponse_2012_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>

        <wsdl:operation name="ResuspendMedicineCard_2012_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01#ResuspendMedicineCard" style="document"/>
            <wsdl:input name="ResuspendMedicineCardRequest_2012_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="ResuspendMedicineCardResponse_2012_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>

        <wsdl:operation name="UnsuspendMedicineCard_2012_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01#UnsuspendMedicineCard" style="document"/>
            <wsdl:input name="UnsuspendMedicineCardRequest_2012_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="UnsuspendMedicineCardResponse_2012_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>

        <wsdl:operation name="GetPrescriptionMedication_2012_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01#GetPrescriptionMedication" style="document"/>
            <wsdl:input name="GetPrescriptionMedicationRequest_2012_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="GetPrescriptionMedicationResponse_2012_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>

        <wsdl:operation name="GetPrescriptionMedication_2013_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2013/06/01#GetPrescriptionMedication" style="document"/>
            <wsdl:input name="GetPrescriptionMedicationRequest_2013_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="GetPrescriptionMedicationResponse_2013_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>

        <wsdl:operation name="SearchWithdrawnDrugMedications_2012_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01#SearchWithdrawnDrugMedications" style="document"/>
            <wsdl:input name="SearchWithdrawnDrugMedicationsRequest_2012_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="SearchWithdrawnDrugMedicationsResponse_2012_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>

        <wsdl:operation name="UnpauseDrugMedication_2012_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01#UnpauseDrugMedication" style="document"/>
            <wsdl:input name="UnpauseDrugMedicationRequest_2012_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="UnpauseDrugMedicationResponse_2012_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>

        <wsdl:operation name="UpdateDrugMedication_2012_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01#UpdateDrugMedication" style="document"/>
            <wsdl:input name="UpdateDrugMedicationRequest_2012_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="UpdateDrugMedicationResponse_2012_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>

        <wsdl:operation name="UpdateDrugMedication_2013_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2013/06/01#UpdateDrugMedication" style="document"/>
             <wsdl:input name="UpdateDrugMedicationRequest_2013_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="UpdateDrugMedicationResponse_2013_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>

        <wsdl:operation name="WithdrawDrugMedication_2012_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01#WithdrawDrugMedication" style="document"/>
            <wsdl:input name="WithdrawDrugMedicationRequest_2012_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="WithdrawDrugMedicationResponse_2012_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>

        <wsdl:operation name="SearchEffectuations_2012_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01#SearchEffectuations" style="document"/>
            <wsdl:input name="SearchEffectuationsRequest_2012_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="SearchEffectuationsResponse_2012_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>

        <wsdl:operation name="SearchEffectuations_2013_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2013/06/01#SearchEffectuations" style="document"/>
            <wsdl:input name="SearchEffectuationsRequest_2013_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="SearchEffectuationsResponse_2013_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>

        <wsdl:operation name="UnwithdrawDrugMedication_2012_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01#UnwithdrawDrugMedication" style="document"/>
            <wsdl:input name="UnwithdrawDrugMedicationRequest_2012_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="UnwithdrawDrugMedicationResponse_2012_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>


        <wsdl:operation name="CreatePrescriptionMedicationForUseInPractice_2012_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01#CreatePrescriptionMedicationForUseInPractice" style="document"/>
            <wsdl:input name="CreatePrescriptionMedicationForUseInPracticeRequest_2012_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="CreatePrescriptionMedicationForUseInPracticeResponse_2012_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>

        <wsdl:operation name="CreatePrescriptionMedicationWithoutCPR_2012_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01#CreatePrescriptionMedicationWithoutCPR" style="document"/>
            <wsdl:input name="CreatePrescriptionMedicationWithoutCPRRequest_2012_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="CreatePrescriptionMedicationWithoutCPRResponse_2012_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>

        <wsdl:operation name="DeleteEffectuation_2012_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01#DeleteEffectuation" style="document"/>
            <wsdl:input name="DeleteEffectuationRequest_2012_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="DeleteEffectuationResponse_2012_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>

       <wsdl:operation name="GetPermissions_2012_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01#GetPermissions" style="document"/>
            <wsdl:input name="GetPermissionsRequest_2012_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="GetPermissionsResponse_2012_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>

       <wsdl:operation name="MarkPrescriptionMedicationDeprecated_2012_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01#MarkPrescriptionMedicationDeprecated" style="document"/>
            <wsdl:input name="MarkPrescriptionMedicationDeprecatedRequest_2012_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="MarkPrescriptionMedicationDeprecatedResponse_2012_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>

       <wsdl:operation name="UnmarkPrescriptionMedicationDeprecated_2012_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01#UnmarkPrescriptionMedicationDeprecated" style="document"/>
            <wsdl:input name="UnmarkPrescriptionMedicationDeprecatedRequest_2012_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="UnmarkPrescriptionMedicationDeprecatedResponse_2012_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>

       <wsdl:operation name="CancelPrescriptionMedication_2012_06_01">
            <soap:operation soapAction="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01#CancelPrescriptionMedication" style="document"/>
            <wsdl:input name="CancelPrescriptionMedicationRequest_2012_06_01">
                <soap:header message="tns:SecurityHeader" part="SecurityHeader" use="literal"/>
                <soap:header message="tns:MedComHeader" part="MedcomHeader" use="literal"/>
                <soap:header message="tns:OnBehalfOfHeader" part="OnBehalfOfHeader" use="literal"/>
                <soap:header message="tns:WhitelistingHeader" part="WhitelistingHeader" use="literal" wsdl:required="true"/>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="CancelPrescriptionMedicationResponse_2012_06_01">
                <soap:header message="tns:TimingHeader" part="TimingHeader" use="literal"/>
                <soap:header message="tns:ReplicationStatusHeader" part="ReplicationStatusHeader" use="literal"/>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="DGWSFault">
                <soap:fault name="DGWSFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>
    </wsdl:binding>

    <wsdl:service name="MedicineCard">
        <wsdl:port binding="tns:MedicineCardBinding" name="MedicineCardPort">
            <soap:address location="https://trifork.lms.trifork.com/fmk12/ws/medicinecard"/>
        </wsdl:port>

    </wsdl:service>

</wsdl:definitions>
