MII-Initiative

MII IG Onkologie DE v2025

Systemische Therapie: MedicationStatement

Dieses Profil beschreibt die konkreten Medikationen, die im Rahmen der systemischen Therapie für den oBDS dokumentiert werden.

NameStatusVersionCanonicalBasis
MII_PR_Onko_Systemische_Therapie_Medikationactive2025.1.0https://www.medizininformatik-initiative.de/fhir/ext/modul-onko/StructureDefinition/mii-pr-onko-systemische-therapie-medikationhttps://www.medizininformatik-initiative.de/fhir/core/modul-medikation/StructureDefinition/MedicationStatement

Da im oBDS systemische und abwartende Therapie in einem Feld gruppiert sind, werden die Daten für die systemische und abwartende Therapie sowohl über eine FHIR-Prozedur (systemisch und abwartend) als auch als FHIR-Medikation abgedeckt.

Die Angaben zur systemischen onkologischen Medikation im oBDS wird amit folgenden Datenpunkten Im Medikationsprofil der Systemischen Therapie ist das spezifisch:

  • Start und Ende der Medikation
  • Name des Behandlungsschemas
  • Wirkstoffe (ATC-kodiert)

Konformität

Die vorliegende Profilierung ist kompatibel mit dem Prozedurenprofil der ISiK-Basismodule Stufe 4. https://simplifier.net/isik-medikation-v4/isikmedikationsinformation

Die vorliegende Profilierung ist derzeit nicht kompatibel mit dem EPA MedicationStatement, da dort unter MedicationStatement.medication explizit eine Referenz zu einer Medication-Ressource verlangt, während im vorliegenden Onkologie-MedicationStatement eine Kodierung über ATC präferiert wird. https://simplifier.net/epa-medication/epamedicationstatement

Inhalt

idS Σ0..1string
id0..1string
extensionC0..*Extension
versionIdΣ0..1id
lastUpdatedΣ0..1instant
sourceS Σ0..1uri
profileS Σ0..*canonical(StructureDefinition)
securityΣ0..*CodingBinding
tagΣ0..*Coding
implicitRulesΣ ?!0..1uri
language0..1codeBinding
text0..1Narrative
contained0..*Resource
extensionC0..*Extension
modifierExtension?! C0..*Extension
identifierS Σ0..*Identifier
basedOnS Σ C0..*Reference(CarePlan)
systemischeTherapieS Σ C0..1Reference(MII_PR_Onko_Systemische_Therapie)
statusS Σ ?!1..1codeBinding
statusReason0..*CodeableConcept
id0..1string
extensionC0..*Extension
usageCategoryΣ0..*CodingBindingPattern
contextCodeΣ0..1CodingBindingPattern
textΣ0..1string
medicationReferenceS Σ0..1Reference(MII_PR_Medikation_Medication)
id0..1string
extensionC0..*Extension
id0..1string
extensionC0..*Extension
systemΣ0..1uri
versionΣ0..1string
codeΣ0..1code
displayΣ0..1string
userSelectedΣ0..1boolean
id0..1string
extensionC0..*Extension
systemS Σ1..1uriPattern
versionΣ0..1string
codeS Σ1..1code
displayΣ0..1string
userSelectedΣ0..1boolean
id0..1string
extensionC0..*Extension
systemS Σ1..1uriPattern
versionΣ0..1string
codeS Σ1..1code
displayΣ0..1string
userSelectedΣ0..1boolean
id0..1string
extensionC0..*Extension
systemS Σ1..1uriPattern
versionΣ0..1string
codeS Σ1..1code
displayΣ0..1string
userSelectedΣ0..1boolean
textS Σ0..1string
subjectS Σ C1..1Reference(Patient)
contextS Σ C0..1Reference(Encounter | EpisodeOfCare)
effectiveDateTimeS Σ0..1dateTime
id0..1string
extensionC0..*Extension
startS Σ C0..1dateTime
endS Σ C0..1dateTime
dateAssertedS Σ0..1dateTime
informationSourceS C0..1Reference(Organization | Patient | Practitioner | PractitionerRole | RelatedPerson)
derivedFromC0..*Reference(Resource)
reasonCodeS0..*CodeableConcept
reasonReferenceS C0..*Reference(Condition | DiagnosticReport | Observation)
id0..1string
extensionC0..*Extension
authorReferenceReference(Organization | Patient | Practitioner | RelatedPerson)
authorStringstring
timeΣ0..1dateTime
textS Σ1..1markdown
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
sequenceS Σ0..1integer
textS Σ0..1string
additionalInstructionΣ0..*CodeableConcept
patientInstructionΣ0..1string
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
eventS Σ0..*dateTime
id0..1string
extensionC0..*Extension
id0..1string
extensionC0..*Extension
valueS Σ1..1decimal
comparatorΣ ?!0..1codeBinding
unitS Σ0..1string
systemS Σ C1..1uriPattern
codeS Σ1..1code
id0..1string
extensionC0..*Extension
id0..1string
extensionC0..*Extension
valueS Σ1..1decimal
comparatorΣ ?!0..0codeBinding
unitS Σ0..1string
systemS Σ C1..1uriPattern
codeS Σ1..1code
id0..1string
extensionC0..*Extension
valueS Σ1..1decimal
comparatorΣ ?!0..0codeBinding
unitS Σ0..1string
systemS Σ C1..1uriPattern
codeS Σ1..1code
id0..1string
extensionC0..*Extension
startS Σ C0..1dateTime
endS Σ C0..1dateTime
countS Σ0..1positiveInt
countMaxS Σ0..1positiveInt
durationS Σ0..1decimal
durationMaxS Σ0..1decimal
durationUnitS Σ0..1codeBinding
frequencyS Σ0..1positiveInt
frequencyMaxS Σ0..1positiveInt
periodS Σ0..1decimal
periodMaxS Σ0..1decimal
periodUnitS Σ0..1codeBinding
dayOfWeekS Σ0..*codeBinding
timeOfDayS Σ0..*time
whenS Σ0..*codeBinding
offsetS Σ0..1unsignedInt
codeΣ0..1CodeableConceptBinding
asNeededBooleanS Σ0..1boolean
asNeededCodeableConceptS Σ0..1CodeableConcept
id0..1string
extensionC0..*Extension
id0..1string
extensionC0..*Extension
systemS Σ1..1uriPattern
versionΣ0..1string
codeS Σ1..1code
displayΣ0..1string
userSelectedΣ0..1boolean
textΣ0..1string
id0..1string
extensionC0..*Extension
id0..1string
extensionC0..*Extension
systemS Σ1..1uriPattern
versionΣ0..1string
codeS Σ1..1code
displayΣ0..1string
userSelectedΣ0..1boolean
id0..1string
extensionC0..*Extension
systemS Σ1..1uriPattern
versionΣ0..1string
codeS Σ1..1code
displayΣ0..1string
userSelectedΣ0..1boolean
textΣ0..1string
methodΣ0..1CodeableConcept
id0..1string
extensionC0..*Extension
typeΣ0..1CodeableConcept
id0..1string
extensionC0..*Extension
id0..1string
extensionC0..*Extension
valueS Σ1..1decimal
comparatorΣ ?!0..0codeBinding
unitS Σ0..1string
systemS Σ C1..1uriPattern
codeS Σ1..1code
id0..1string
extensionC0..*Extension
valueS Σ1..1decimal
comparatorΣ ?!0..0codeBinding
unitS Σ0..1string
systemS Σ C1..1uriPattern
codeS Σ1..1code
id0..1string
extensionC0..*Extension
valueS Σ1..1decimal
comparatorΣ ?!0..0codeBinding
unitS Σ0..1string
systemS Σ C1..1uriPattern
codeS Σ1..1code
id0..1string
extensionC0..*Extension
id0..1string
extensionC0..*Extension
valueS Σ1..1decimal
comparatorΣ ?!0..1codeBinding
unitS Σ0..1string
systemS Σ C1..1uriPattern
codeS Σ1..1code
id0..1string
extensionC0..*Extension
valueS Σ1..1decimal
comparatorΣ ?!0..1codeBinding
unitS Σ0..1string
systemS Σ C1..1uriPattern
codeS Σ1..1code
id0..1string
extensionC0..*Extension
id0..1string
extensionC0..*Extension
valueS Σ1..1decimal
comparatorΣ ?!0..0codeBinding
unitS Σ0..1string
systemS Σ C1..1uriPattern
codeS Σ1..1code
id0..1string
extensionC0..*Extension
valueS Σ1..1decimal
comparatorΣ ?!0..0codeBinding
unitS Σ0..1string
systemS Σ C1..1uriPattern
codeS Σ1..1code
id0..1string
extensionC0..*Extension
valueS Σ1..1decimal
comparatorΣ ?!0..0codeBinding
unitS Σ0..1string
systemS Σ C1..1uriPattern
codeS Σ1..1code
id0..1string
extensionC0..*Extension
id0..1string
extensionC0..*Extension
valueS Σ1..1decimal
comparatorΣ ?!0..1codeBinding
unitS Σ0..1string
systemS Σ C1..1uriPattern
codeS Σ1..1code
id0..1string
extensionC0..*Extension
valueS Σ1..1decimal
comparatorΣ ?!0..1codeBinding
unitS Σ0..1string
systemS Σ C1..1uriPattern
codeS Σ1..1code
id0..1string
extensionC0..*Extension
valueS Σ1..1decimal
comparatorΣ ?!0..0codeBinding
unitS Σ0..1string
systemS Σ C1..1uriPattern
codeS Σ1..1code
maxDosePerLifetimeΣ C0..1SimpleQuantity

Medikation der Systemische Therapie. Dieses Profil beschreibt die konkreten Medikationen, die im Rahmen der systemische Therapie für den oBDS dokumentiert werden. Da im oBDS systemische und abwartende Therapie in einem Feld gruppiert sind, werden die Daten für die Systemische und abwartende Therapie sowohl über eine FHIR-Prozedur (systemisch und abwartend) als auch als FHIR-Medikation abgedeckt.

FeldnameKurzbeschreibung
MedicationStatement.effective[x]:effectivePeriod.startStartdatum der systemischen Medikation
MedicationStatement.effective[x]:effectivePeriod.endEnddatum der systemischen Medikation
MedicationStatement.note.textProtokoll
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="mii-pr-onko-systemische-therapie-medikation" />
<extension url="https://www.medizininformatik-initiative.de/fhir/modul-meta/StructureDefinition/mii-ex-meta-license-codeable">
<system value="http://hl7.org/fhir/spdx-license" />
<code value="CC-BY-4.0" />
<display value="Creative Commons Attribution 4.0 International" />
</coding>
</valueCodeableConcept>
</extension>
<url value="https://www.medizininformatik-initiative.de/fhir/ext/modul-onko/StructureDefinition/mii-pr-onko-systemische-therapie-medikation" />
<version value="2025.1.0" />
<name value="MII_PR_Onko_Systemische_Therapie_Medikation" />
<title value="MII PR Onkologie Systemische Therapie Medikation" />
<status value="active" />
<publisher value="Medizininformatik Initiative" />
<system value="url" />
<value value="https://www.medizininformatik-initiative.de" />
</telecom>
</contact>
<description value="Medikation der Systemische Therapie. Dieses Profil beschreibt die konkreten Medikationen, die im Rahmen der systemische Therapie für den oBDS dokumentiert werden. Da im oBDS systemische und abwartende Therapie in einem Feld gruppiert sind, werden die Daten für die Systemische und abwartende Therapie sowohl über eine FHIR-Prozedur (systemisch und abwartend) als auch als FHIR-Medikation abgedeckt." />
<fhirVersion value="4.0.1" />
<identity value="oBDS" />
<name value="Mapping FHIR zu oBDS" />
</mapping>
<kind value="resource" />
<abstract value="false" />
<type value="MedicationStatement" />
<baseDefinition value="https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/StructureDefinition/MedicationStatement" />
<derivation value="constraint" />
<element id="MedicationStatement">
<path value="MedicationStatement" />
<short value="Record of medication being taken by a patient" />
<definition value="A record of a medication that is being consumed by a patient. A MedicationStatement may indicate that the patient may be taking the medication now or has taken the medication in the past or will be taking the medication in the future. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay. The medication information may come from sources such as the patient's memory, from a prescription bottle, or from a list of medications the patient, clinician or other party maintains. \n\nThe primary difference between a medication statement and a medication administration is that the medication administration has complete administration information and is based on actual administration information from the person who administered the medication. A medication statement is often, if not always, less specific. There is no required date/time when the medication was administered, in fact we only know that a source has reported the patient is taking this medication, where details such as time, quantity, or rate or even medication product may be incomplete or missing or less precise. As stated earlier, the medication statement information may come from the patient's memory, from a prescription bottle or from a list of medications the patient, clinician or other party maintains. Medication administration is more formal and is not missing detailed information." />
<comment value="When interpreting a medicationStatement, the value of the status and NotTaken needed to be considered:\nMedicationStatement.status + MedicationStatement.wasNotTaken\nStatus=Active + NotTaken=T = Not currently taking\nStatus=Completed + NotTaken=T = Not taken in the past\nStatus=Intended + NotTaken=T = No intention of taking\nStatus=Active + NotTaken=F = Taking, but not as prescribed\nStatus=Active + NotTaken=F = Taking\nStatus=Intended +NotTaken= F = Will be taking (not started)\nStatus=Completed + NotTaken=F = Taken in past\nStatus=In Error + NotTaken=N/A = In Error." />
<min value="0" />
<max value="*" />
<path value="MedicationStatement" />
<min value="0" />
<max value="*" />
</base>
<key value="dom-2" />
<severity value="error" />
<human value="If the resource is contained in another resource, it SHALL NOT contain nested Resources" />
<expression value="contained.contained.empty()" />
<xpath value="not(parent::f:contained and f:contained)" />
<source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
</constraint>
<key value="dom-4" />
<severity value="error" />
<human value="If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" />
<expression value="contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" />
<xpath value="not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" />
<source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
</constraint>
<key value="dom-3" />
<severity value="error" />
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource" />
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()" />
<xpath value="not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))" />
<source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
</constraint>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice">
<valueBoolean value="true" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation">
<valueMarkdown value="When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." />
</extension>
<key value="dom-6" />
<severity value="warning" />
<human value="A resource should have narrative for robust management" />
<expression value="text.`div`.exists()" />
<xpath value="exists(f:text/h:div)" />
<source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
</constraint>
<key value="dom-5" />
<severity value="error" />
<human value="If a resource is contained in another resource, it SHALL NOT have a security label" />
<expression value="contained.meta.security.empty()" />
<xpath value="not(exists(f:contained/*/f:meta/f:security))" />
<source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
</constraint>
<identity value="rim" />
<map value="Entity. Role, or Act" />
</mapping>
<identity value="workflow" />
<map value="Event" />
</mapping>
<identity value="rim" />
<map value="SubstanceAdministration" />
</mapping>
</element>
<element id="MedicationStatement.id">
<path value="MedicationStatement.id" />
<short value="Logical id of this artifact" />
<definition value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." />
<comment value="The only time that a resource does not have an id is when it is being submitted to the server using a create operation." />
<min value="0" />
<max value="1" />
<path value="Resource.id" />
<min value="0" />
<max value="1" />
</base>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string" />
</extension>
<code value="http://hl7.org/fhirpath/System.String" />
</type>
<mustSupport value="true" />
<isSummary value="true" />
</element>
<element id="MedicationStatement.meta">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.meta" />
<short value="Metadata about the resource" />
<definition value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource." />
<min value="0" />
<max value="1" />
<path value="Resource.meta" />
<min value="0" />
<max value="1" />
</base>
<code value="Meta" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="MedicationStatement.meta.id">
<path value="MedicationStatement.meta.id" />
<representation value="xmlAttr" />
<short value="Unique id for inter-element referencing" />
<definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string" />
</extension>
<code value="http://hl7.org/fhirpath/System.String" />
</type>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="MedicationStatement.meta.extension">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.meta.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="MedicationStatement.meta.versionId">
<path value="MedicationStatement.meta.versionId" />
<short value="Version specific identifier" />
<definition value="The version specific identifier, as it appears in the version portion of the URL. This value changes when the resource is created, updated, or deleted." />
<comment value="The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes." />
<min value="0" />
<max value="1" />
<path value="Meta.versionId" />
<min value="0" />
<max value="1" />
</base>
<code value="id" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="MedicationStatement.meta.lastUpdated">
<path value="MedicationStatement.meta.lastUpdated" />
<short value="When the resource version last changed" />
<definition value="When the resource last changed - e.g. when the version changed." />
<comment value="This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant. This is equivalent to the HTTP Last-Modified and SHOULD have the same value on a [read](http.html#read) interaction." />
<min value="0" />
<max value="1" />
<path value="Meta.lastUpdated" />
<min value="0" />
<max value="1" />
</base>
<code value="instant" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="MedicationStatement.meta.source">
<path value="MedicationStatement.meta.source" />
<short value="Identifies where the resource comes from" />
<definition value="A uri that identifies the source system of the resource. This provides a minimal amount of [Provenance](provenance.html#) information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc." />
<comment value="In the provenance resource, this corresponds to Provenance.entity.what[x]. The exact use of the source (and the implied Provenance.entity.role) is left to implementer discretion. Only one nominated source is allowed; for additional provenance details, a full Provenance resource should be used. \n\nThis element can be used to indicate where the current master source of a resource that has a canonical URL if the resource is no longer hosted at the canonical URL." />
<min value="0" />
<max value="1" />
<path value="Meta.source" />
<min value="0" />
<max value="1" />
</base>
<code value="uri" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="MedicationStatement.meta.profile">
<path value="MedicationStatement.meta.profile" />
<short value="Profiles this resource claims to conform to" />
<definition value="A list of profiles (references to [StructureDefinition](structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](structuredefinition-definitions.html#StructureDefinition.url)." />
<comment value="It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time. The list of profile URLs is a set." />
<min value="0" />
<max value="*" />
<path value="Meta.profile" />
<min value="0" />
<max value="*" />
</base>
<code value="canonical" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/StructureDefinition" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="MedicationStatement.meta.security">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.meta.security" />
<short value="Security Labels applied to this resource" />
<definition value="Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure." />
<comment value="The security labels can be updated without changing the stated version of the resource. The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored." />
<min value="0" />
<max value="*" />
<path value="Meta.security" />
<min value="0" />
<max value="*" />
</base>
<code value="Coding" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="SecurityLabels" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
<valueBoolean value="true" />
</extension>
<strength value="extensible" />
<description value="Security Labels from the Healthcare Privacy and Security Classification System." />
<valueSet value="http://hl7.org/fhir/ValueSet/security-labels" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CE/CNE/CWE subset one of the sets of component 1-3 or 4-6" />
</mapping>
<identity value="rim" />
<map value="CV" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding rdfs:subClassOf dt:CDCoding" />
</mapping>
</element>
<element id="MedicationStatement.meta.tag">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.meta.tag" />
<short value="Tags applied to this resource" />
<definition value="Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource." />
<comment value="The tags can be updated without changing the stated version of the resource. The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored." />
<min value="0" />
<max value="*" />
<path value="Meta.tag" />
<min value="0" />
<max value="*" />
</base>
<code value="Coding" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="Tags" />
</extension>
<strength value="example" />
<description value="Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones"." />
<valueSet value="http://hl7.org/fhir/ValueSet/common-tags" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CE/CNE/CWE subset one of the sets of component 1-3 or 4-6" />
</mapping>
<identity value="rim" />
<map value="CV" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding rdfs:subClassOf dt:CDCoding" />
</mapping>
</element>
<element id="MedicationStatement.implicitRules">
<path value="MedicationStatement.implicitRules" />
<short value="A set of rules under which this content was created" />
<definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc." />
<comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc." />
<min value="0" />
<max value="1" />
<path value="Resource.implicitRules" />
<min value="0" />
<max value="1" />
</base>
<code value="uri" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="true" />
<isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="MedicationStatement.language">
<path value="MedicationStatement.language" />
<short value="Language of the resource content" />
<definition value="The base language in which the resource is written." />
<comment value="Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)." />
<min value="0" />
<max value="1" />
<path value="Resource.language" />
<min value="0" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet">
<valueCanonical value="http://hl7.org/fhir/ValueSet/all-languages" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="Language" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
<valueBoolean value="true" />
</extension>
<strength value="preferred" />
<description value="A human language." />
<valueSet value="http://hl7.org/fhir/ValueSet/languages" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="MedicationStatement.text">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.text" />
<short value="Text summary of the resource, for human interpretation" />
<definition value="A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety." />
<comment value="Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded information is added later." />
<alias value="narrative" />
<alias value="html" />
<alias value="xhtml" />
<alias value="display" />
<min value="0" />
<max value="1" />
<path value="DomainResource.text" />
<min value="0" />
<max value="1" />
</base>
<code value="Narrative" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
<identity value="rim" />
<map value="Act.text?" />
</mapping>
</element>
<element id="MedicationStatement.contained">
<path value="MedicationStatement.contained" />
<short value="Contained, inline Resources" />
<definition value="These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope." />
<comment value="This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels." />
<alias value="inline resources" />
<alias value="anonymous resources" />
<alias value="contained resources" />
<min value="0" />
<max value="*" />
<path value="DomainResource.contained" />
<min value="0" />
<max value="*" />
</base>
<code value="Resource" />
</type>
<identity value="rim" />
<map value="Entity. Role, or Act" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="MedicationStatement.extension">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="DomainResource.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="MedicationStatement.modifierExtension">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.modifierExtension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Extensions that cannot be ignored" />
<definition value="May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="DomainResource.modifierExtension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
<isModifier value="true" />
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="MedicationStatement.identifier">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.identifier" />
<short value="Identifikator">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Identifikator" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="Identifier" />
</extension>
</extension>
</short>
<definition value="Ein Identifikator für den Medikationseintrag">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Ein Identifikator für den Medikationseintrag" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="An identifier for this medication statement" />
</extension>
</extension>
</definition>
<comment value="This is a business identifier, not a resource identifier." />
<min value="0" />
<max value="*" />
<path value="MedicationStatement.identifier" />
<min value="0" />
<max value="*" />
</base>
<code value="Identifier" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CX / EI (occasionally, more often EI maps to a resource id or a URL)" />
</mapping>
<identity value="rim" />
<map value="II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]" />
</mapping>
<identity value="servd" />
<map value="Identifier" />
</mapping>
<identity value="workflow" />
<map value="Event.identifier" />
</mapping>
<identity value="w5" />
<map value="FiveWs.identifier" />
</mapping>
<identity value="rim" />
<map value=".id" />
</mapping>
</element>
<element id="MedicationStatement.basedOn">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.basedOn" />
<short value="Basiert auf">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Basiert auf" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="Based on" />
</extension>
</extension>
</short>
<definition value="Ein Plan oder eine Anforderung, die durch den Medikationseintrag erfüllt wird.">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Ein Plan oder eine Anforderung, die durch den Medikationseintrag erfüllt wird." />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="A plan, proposal or order that is fulfilled in whole or in part by this event." />
</extension>
</extension>
</definition>
<comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
<requirements value="Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon." />
<min value="0" />
<max value="*" />
<path value="MedicationStatement.basedOn" />
<min value="0" />
<max value="*" />
</base>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/CarePlan" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ref-1" />
<severity value="error" />
<human value="SHALL have a contained resource if a local reference is provided" />
<expression value="reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" />
<xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
<source value="http://hl7.org/fhir/StructureDefinition/Reference" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
</mapping>
<identity value="workflow" />
<map value="Event.basedOn" />
</mapping>
<identity value="rim" />
<map value=".outboundRelationship[typeCode=FLFS].target[classCode=SBADM or PROC or PCPR or OBS, moodCode=RQO orPLAN or PRP]" />
</mapping>
</element>
<element id="MedicationStatement.partOf">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.partOf" />
<type value="profile" />
<path value="resolve()" />
</discriminator>
<rules value="open" />
</slicing>
<short value="Teil von">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Teil von" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="Part of" />
</extension>
</extension>
</short>
<definition value="Ein größeres Ereignis, von dem dieses spezielle Ereignis ein Bestandteil oder Schritt ist.">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Ein größeres Ereignis, von dem dieses spezielle Ereignis ein Bestandteil oder Schritt ist." />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="A larger event of which this particular event is a component or step." />
</extension>
</extension>
</definition>
<comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
<requirements value="This should not be used when indicating which resource a MedicationStatement has been derived from. If that is the use case, then MedicationStatement.derivedFrom should be used." />
<min value="1" />
<max value="*" />
<path value="MedicationStatement.partOf" />
<min value="0" />
<max value="*" />
</base>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationAdministration" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationDispense" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationStatement" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Procedure" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ref-1" />
<severity value="error" />
<human value="SHALL have a contained resource if a local reference is provided" />
<expression value="reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" />
<xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
<source value="http://hl7.org/fhir/StructureDefinition/Reference" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
</mapping>
<identity value="workflow" />
<map value="Event.partOf" />
</mapping>
<identity value="rim" />
<map value=".outboundRelationship[typeCode=COMP]/target[classCode=SPLY or SBADM or PROC or OBS,moodCode=EVN]" />
</mapping>
</element>
<element id="MedicationStatement.partOf:systemischeTherapie">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.partOf" />
<sliceName value="systemischeTherapie" />
<short value="Teil von">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Teil von" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="Part of" />
</extension>
</extension>
</short>
<definition value="Ein größeres Ereignis, von dem dieses spezielle Ereignis ein Bestandteil oder Schritt ist.">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Ein größeres Ereignis, von dem dieses spezielle Ereignis ein Bestandteil oder Schritt ist." />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="A larger event of which this particular event is a component or step." />
</extension>
</extension>
</definition>
<comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
<requirements value="This should not be used when indicating which resource a MedicationStatement has been derived from. If that is the use case, then MedicationStatement.derivedFrom should be used." />
<min value="0" />
<max value="1" />
<path value="MedicationStatement.partOf" />
<min value="0" />
<max value="*" />
</base>
<code value="Reference" />
<targetProfile value="https://www.medizininformatik-initiative.de/fhir/ext/modul-onko/StructureDefinition/mii-pr-onko-systemische-therapie" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ref-1" />
<severity value="error" />
<human value="SHALL have a contained resource if a local reference is provided" />
<expression value="reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" />
<xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
<source value="http://hl7.org/fhir/StructureDefinition/Reference" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
</mapping>
<identity value="workflow" />
<map value="Event.partOf" />
</mapping>
<identity value="rim" />
<map value=".outboundRelationship[typeCode=COMP]/target[classCode=SPLY or SBADM or PROC or OBS,moodCode=EVN]" />
</mapping>
</element>
<element id="MedicationStatement.status">
<path value="MedicationStatement.status" />
<short value="Status">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Status" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="Status" />
</extension>
</extension>
</short>
<definition value="aktiv | abgeschlossen | Eingabe fehlerhaft | intendiert | gestoppt | pausiert | unbekannt| nicht eingenommen">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="aktiv | abgeschlossen | Eingabe fehlerhaft | intendiert | gestoppt | pausiert | unbekannt| nicht eingenommen" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken" />
</extension>
</extension>
</definition>
<comment value="MedicationStatement is a statement at a point in time. The status is only representative at the point when it was asserted. The value set for MedicationStatement.status contains codes that assert the status of the use of the medication by the patient (for example, stopped or on hold) as well as codes that assert the status of the medication statement itself (for example, entered in error).\n\nThis element is labeled as a modifier because the status contains codes that mark the resource as not currently valid." />
<min value="1" />
<max value="1" />
<path value="MedicationStatement.status" />
<min value="1" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isModifier value="true" />
<isModifierReason value="This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid" />
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="MedicationStatementStatus" />
</extension>
<strength value="required" />
<description value="A coded concept indicating the current status of a MedicationStatement." />
<valueSet value="http://hl7.org/fhir/ValueSet/medication-statement-status|4.0.1" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="workflow" />
<map value="Event.status" />
</mapping>
<identity value="w5" />
<map value="FiveWs.status" />
</mapping>
<identity value="rim" />
<map value=".statusCode" />
</mapping>
</element>
<element id="MedicationStatement.statusReason">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.statusReason" />
<short value="Reason for current status" />
<definition value="Captures the reason for the current state of the MedicationStatement." />
<comment value="This is generally only used for "exception" statuses such as "not-taken", "on-hold", "cancelled" or "entered-in-error". The reason for performing the event at all is captured in reasonCode, not here." />
<min value="0" />
<max value="*" />
<path value="MedicationStatement.statusReason" />
<min value="0" />
<max value="*" />
</base>
<code value="CodeableConcept" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="MedicationStatementStatusReason" />
</extension>
<strength value="example" />
<description value="A coded concept indicating the reason for the status of the statement." />
<valueSet value="http://hl7.org/fhir/ValueSet/reason-medication-status-codes" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CE/CNE/CWE" />
</mapping>
<identity value="rim" />
<map value="CD" />
</mapping>
<identity value="orim" />
<map value="fhir:CodeableConcept rdfs:subClassOf dt:CD" />
</mapping>
<identity value="workflow" />
<map value="Event.statusReason" />
</mapping>
<identity value="rim" />
<map value=".inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN].reasonCOde" />
</mapping>
</element>
<element id="MedicationStatement.category">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.category" />
<short value="Kategorie">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Kategorie" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="Category" />
</extension>
</extension>
</short>
<definition value="Eine Kategorie, die dem Medikationseintrag zugeordnet ist.">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Eine Kategorie, die dem Medikationseintrag zugeordnet ist." />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="A category assigned to the medication statement." />
</extension>
</extension>
</definition>
<comment value="Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination." />
<min value="0" />
<max value="1" />
<path value="MedicationStatement.category" />
<min value="0" />
<max value="1" />
</base>
<code value="CodeableConcept" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="MedicationStatementCategory" />
</extension>
<strength value="preferred" />
<description value="A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered." />
<valueSet value="http://hl7.org/fhir/ValueSet/medication-statement-category" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CE/CNE/CWE" />
</mapping>
<identity value="rim" />
<map value="CD" />
</mapping>
<identity value="orim" />
<map value="fhir:CodeableConcept rdfs:subClassOf dt:CD" />
</mapping>
<identity value="w5" />
<map value="FiveWs.class" />
</mapping>
<identity value="rim" />
<map value=".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code="type of medication usage"].value" />
</mapping>
</element>
<element id="MedicationStatement.category.id">
<path value="MedicationStatement.category.id" />
<representation value="xmlAttr" />
<short value="Unique id for inter-element referencing" />
<definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string" />
</extension>
<code value="http://hl7.org/fhirpath/System.String" />
</type>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="MedicationStatement.category.extension">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.category.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="MedicationStatement.category.coding">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.category.coding" />
<type value="pattern" />
<path value="$this" />
</discriminator>
<rules value="open" />
</slicing>
<short value="Code defined by a terminology system" />
<definition value="A reference to a code defined by a terminology system." />
<comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true." />
<requirements value="Allows for alternative encodings within a code system, and translations to other code systems." />
<min value="0" />
<max value="*" />
<path value="CodeableConcept.coding" />
<min value="0" />
<max value="*" />
</base>
<code value="Coding" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CE/CNE/CWE subset one of the sets of component 1-3 or 4-6" />
</mapping>
<identity value="rim" />
<map value="CV" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding rdfs:subClassOf dt:CDCoding" />
</mapping>
<identity value="v2" />
<map value="C*E.1-8, C*E.10-22" />
</mapping>
<identity value="rim" />
<map value="union(., ./translation)" />
</mapping>
<identity value="orim" />
<map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" />
</mapping>
</element>
<element id="MedicationStatement.category.coding:usageCategory">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.category.coding" />
<sliceName value="usageCategory" />
<short value="Kategorie Anwendungsbereich">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Kategorie Anwendungsbereich" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="Usage Category" />
</extension>
</extension>
</short>
<definition value="Kategorie, die den Anwendungsbereich des Medikationseintrags beschreibt.">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Kategorie, die den Anwendungsbereich des Medikationseintrags beschreibt." />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="Usage Category for the medication statement." />
</extension>
</extension>
</definition>
<comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true." />
<requirements value="Allows for alternative encodings within a code system, and translations to other code systems." />
<min value="0" />
<max value="*" />
<path value="CodeableConcept.coding" />
<min value="0" />
<max value="*" />
</base>
<code value="Coding" />
</type>
<system value="http://terminology.hl7.org/CodeSystem/medication-statement-category" />
</patternCoding>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isSummary value="true" />
<strength value="required" />
<valueSet value="http://hl7.org/fhir/ValueSet/medication-statement-category" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CE/CNE/CWE subset one of the sets of component 1-3 or 4-6" />
</mapping>
<identity value="rim" />
<map value="CV" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding rdfs:subClassOf dt:CDCoding" />
</mapping>
<identity value="v2" />
<map value="C*E.1-8, C*E.10-22" />
</mapping>
<identity value="rim" />
<map value="union(., ./translation)" />
</mapping>
<identity value="orim" />
<map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" />
</mapping>
</element>
<element id="MedicationStatement.category.coding:contextCode">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.category.coding" />
<sliceName value="contextCode" />
<short value="Kategorie Kontext">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Kategorie Kontext" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="Context Category" />
</extension>
</extension>
</short>
<definition value="ambulanter Kontakt | stationärer Aufenthalt | stationäre Aufnahme | stationäre Entlassung">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="ambulanter Kontakt | stationärer Aufenthalt | stationäre Aufnahme | stationäre Entlassung" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="outpatient contact | inpatient stay | inpatient admission | inpatient discharge" />
</extension>
</extension>
</definition>
<comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true." />
<requirements value="Allows for alternative encodings within a code system, and translations to other code systems." />
<min value="0" />
<max value="1" />
<path value="CodeableConcept.coding" />
<min value="0" />
<max value="*" />
</base>
<code value="Coding" />
</type>
<system value="http://ihe-d.de/CodeSystems/FallkontextBeiDokumentenerstellung" />
</patternCoding>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isSummary value="true" />
<strength value="required" />
<valueSet value="https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/ValueSet/fallkontext" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CE/CNE/CWE subset one of the sets of component 1-3 or 4-6" />
</mapping>
<identity value="rim" />
<map value="CV" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding rdfs:subClassOf dt:CDCoding" />
</mapping>
<identity value="v2" />
<map value="C*E.1-8, C*E.10-22" />
</mapping>
<identity value="rim" />
<map value="union(., ./translation)" />
</mapping>
<identity value="orim" />
<map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" />
</mapping>
</element>
<element id="MedicationStatement.category.text">
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
<valueBoolean value="true" />
</extension>
<path value="MedicationStatement.category.text" />
<short value="Plain text representation of the concept" />
<definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user." />
<comment value="Very often the text is the same as a displayName of one of the codings." />
<requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source." />
<min value="0" />
<max value="1" />
<path value="CodeableConcept.text" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.9. But note many systems use C*E.2 for this" />
</mapping>
<identity value="rim" />
<map value="./originalText[mediaType/code="text/plain"]/data" />
</mapping>
<identity value="orim" />
<map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.medication[x]" />
<type value="type" />
<path value="$this" />
</discriminator>
<rules value="open" />
</slicing>
<short value="Medikation">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Medikation" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="Medication" />
</extension>
</extension>
</short>
<definition value="Das Medikament, welches Gegenstand des Eintrags ist. Code oder Referenz auf Medication-Objekt.">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Medikation, welche Gegenstand des Eintrags ist. Code oder Referenz auf Medication-Objekt." />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="The medication that the statement is about. Code or a reference to a Medication resource." />
</extension>
</extension>
</definition>
<comment value="If only a code is specified, then it needs to be a code for a specific product. If more information is required, then the use of the medication resource is recommended. For example, if you require form or lot number, then you must reference the Medication resource." />
<min value="1" />
<max value="1" />
<path value="MedicationStatement.medication[x]" />
<min value="1" />
<max value="1" />
</base>
<code value="CodeableConcept" />
</type>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Medication" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="MedicationCode" />
</extension>
<strength value="example" />
<description value="A coded concept identifying the substance or product being taken." />
<valueSet value="http://hl7.org/fhir/ValueSet/medication-codes" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="workflow" />
<map value="Event.code" />
</mapping>
<identity value="w5" />
<map value="FiveWs.what[x]" />
</mapping>
<identity value="rim" />
<map value=".participation[typeCode=CSM].role[classCode=ADMM or MANU]" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationReference">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.medication[x]" />
<sliceName value="medicationReference" />
<short value="Medikation Referenz">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Medikation Referenz" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="Medication Reference" />
</extension>
</extension>
</short>
<definition value="Referenz auf ein Medication-Ressource.">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Referenz auf eine Medication-Ressource." />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="Reference to a Medication resource." />
</extension>
</extension>
</definition>
<comment value="If only a code is specified, then it needs to be a code for a specific product. If more information is required, then the use of the medication resource is recommended. For example, if you require form or lot number, then you must reference the Medication resource." />
<min value="0" />
<max value="1" />
<path value="MedicationStatement.medication[x]" />
<min value="1" />
<max value="1" />
</base>
<code value="Reference" />
<targetProfile value="https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/StructureDefinition/Medication" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="workflow" />
<map value="Event.code" />
</mapping>
<identity value="w5" />
<map value="FiveWs.what[x]" />
</mapping>
<identity value="rim" />
<map value=".participation[typeCode=CSM].role[classCode=ADMM or MANU]" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.medication[x]" />
<sliceName value="medicationCodeableConcept" />
<short value="Medikation Code">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Medikation Code" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="Medication code" />
</extension>
</extension>
</short>
<definition value="Code für das Medikament, welches Gegenstand des Eintrags ist.">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Code für das Medikament, welches Gegenstand des Eintrags ist." />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="Code for the medication that the statement is about." />
</extension>
</extension>
</definition>
<comment value="If only a code is specified, then it needs to be a code for a specific product. If more information is required, then the use of the medication resource is recommended. For example, if you require form or lot number, then you must reference the Medication resource." />
<min value="1" />
<max value="1" />
<path value="MedicationStatement.medication[x]" />
<min value="1" />
<max value="1" />
</base>
<code value="CodeableConcept" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="MedicationCode" />
</extension>
<strength value="example" />
<description value="A coded concept identifying the substance or product being taken." />
<valueSet value="http://hl7.org/fhir/ValueSet/medication-codes" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="workflow" />
<map value="Event.code" />
</mapping>
<identity value="w5" />
<map value="FiveWs.what[x]" />
</mapping>
<identity value="rim" />
<map value=".participation[typeCode=CSM].role[classCode=ADMM or MANU]" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept.id">
<path value="MedicationStatement.medication[x].id" />
<representation value="xmlAttr" />
<short value="Unique id for inter-element referencing" />
<definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string" />
</extension>
<code value="http://hl7.org/fhirpath/System.String" />
</type>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept.extension">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.medication[x].extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept.coding">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.medication[x].coding" />
<type value="pattern" />
<path value="$this" />
</discriminator>
<rules value="open" />
</slicing>
<short value="Wirkstoff der systemischen Medikation">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Wirkstoff/ Substanz der systemischen Medikation" />
</extension>
</extension>
</short>
<definition value="Wirkstoff der systemischen onkologischen Medikation. Nach Möglichkeit als ATC-kodiert anzugeben. Wirkstoffe sind einzeln zu kodieren. Kombinationstherapien können über MedicationStatement.partOf in übergeordneten MedicationStatements gruppiert werden - in diesem Fall ist bei jedem Wirkstoff unter `MedicationStatement.note.text` das Kürzel des (z.B. chemotherapeutischen) Protokolls zu hinterlegen.">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Wirkstoff / Substanz der systemischen onkologischen Medikation gemäß 16.4 oBDS 2021." />
</extension>
</extension>
</definition>
<comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true." />
<requirements value="Allows for alternative encodings within a code system, and translations to other code systems." />
<min value="1" />
<max value="*" />
<path value="CodeableConcept.coding" />
<min value="0" />
<max value="*" />
</base>
<code value="Coding" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CE/CNE/CWE subset one of the sets of component 1-3 or 4-6" />
</mapping>
<identity value="rim" />
<map value="CV" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding rdfs:subClassOf dt:CDCoding" />
</mapping>
<identity value="v2" />
<map value="C*E.1-8, C*E.10-22" />
</mapping>
<identity value="rim" />
<map value="union(., ./translation)" />
</mapping>
<identity value="orim" />
<map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept.coding.id">
<path value="MedicationStatement.medication[x].coding.id" />
<representation value="xmlAttr" />
<short value="Unique id for inter-element referencing" />
<definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string" />
</extension>
<code value="http://hl7.org/fhirpath/System.String" />
</type>
<isModifier value="false" />
<isSummary value="false" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept.coding.extension">
<path value="MedicationStatement.medication[x].coding.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
<isModifier value="false" />
<isSummary value="false" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept.coding.system">
<path value="MedicationStatement.medication[x].coding.system" />
<short value="Identity of the terminology system" />
<definition value="The identification of the code system that defines the meaning of the symbol in the code." />
<comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously." />
<requirements value="Need to be unambiguous about the source of the definition of the symbol." />
<min value="0" />
<max value="1" />
<path value="Coding.system" />
<min value="0" />
<max value="1" />
</base>
<code value="uri" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="true" />
<identity value="v2" />
<map value="C*E.3" />
</mapping>
<identity value="rim" />
<map value="./codeSystem" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept.coding.version">
<path value="MedicationStatement.medication[x].coding.version" />
<short value="Version of the system - if relevant" />
<definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
<comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
<min value="0" />
<max value="1" />
<path value="Coding.version" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="true" />
<identity value="v2" />
<map value="C*E.7" />
</mapping>
<identity value="rim" />
<map value="./codeSystemVersion" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept.coding.code">
<path value="MedicationStatement.medication[x].coding.code" />
<short value="Symbol in syntax defined by the system" />
<definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
<requirements value="Need to refer to a particular code in the system." />
<min value="0" />
<max value="1" />
<path value="Coding.code" />
<min value="0" />
<max value="1" />
</base>
<code value="code" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="true" />
<identity value="v2" />
<map value="C*E.1" />
</mapping>
<identity value="rim" />
<map value="./code" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
</mapping>
<identity value="oBDS" />
<map value="16.4" />
<comment value="Systemische Therapie Substanz" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept.coding.display">
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
<valueBoolean value="true" />
</extension>
<path value="MedicationStatement.medication[x].coding.display" />
<short value="Representation defined by the system" />
<definition value="A representation of the meaning of the code in the system, following the rules of the system." />
<requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know the system." />
<min value="0" />
<max value="1" />
<path value="Coding.display" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="true" />
<identity value="v2" />
<map value="C*E.2 - but note this is not well followed" />
</mapping>
<identity value="rim" />
<map value="CV.displayName" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept.coding.userSelected">
<path value="MedicationStatement.medication[x].coding.userSelected" />
<short value="If this coding was chosen directly by the user" />
<definition value="Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)." />
<comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
<requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
<min value="0" />
<max value="1" />
<path value="Coding.userSelected" />
<min value="0" />
<max value="1" />
</base>
<code value="boolean" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="true" />
<identity value="v2" />
<map value="Sometimes implied by being first" />
</mapping>
<identity value="rim" />
<map value="CD.codingRationale" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept.coding:Pharmazentralnummer">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.medication[x].coding" />
<sliceName value="Pharmazentralnummer" />
<short value="PZN Code">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="PZN Code" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="PZN code" />
</extension>
</extension>
</short>
<definition value="Ein Verweis auf einen von der Pharmazentralnummer (PZN) definierten Code">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Ein Verweis auf einen von der Pharmazentralnummer definierten Code" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="A reference to a code defined by Pharmazentralnummer" />
</extension>
</extension>
</definition>
<comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true." />
<requirements value="Allows for alternative encodings within a code system, and translations to other code systems." />
<min value="0" />
<max value="*" />
<path value="CodeableConcept.coding" />
<min value="0" />
<max value="*" />
</base>
<code value="Coding" />
</type>
<system value="http://fhir.de/CodeSystem/ifa/pzn" />
</patternCoding>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<strength value="required" />
<valueSet value="http://fhir.de/ValueSet/ifa/pzn" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CE/CNE/CWE subset one of the sets of component 1-3 or 4-6" />
</mapping>
<identity value="rim" />
<map value="CV" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding rdfs:subClassOf dt:CDCoding" />
</mapping>
<identity value="v2" />
<map value="C*E.1-8, C*E.10-22" />
</mapping>
<identity value="rim" />
<map value="union(., ./translation)" />
</mapping>
<identity value="orim" />
<map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept.coding:Pharmazentralnummer.id">
<path value="MedicationStatement.medication[x].coding.id" />
<representation value="xmlAttr" />
<short value="Unique id for inter-element referencing" />
<definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string" />
</extension>
<code value="http://hl7.org/fhirpath/System.String" />
</type>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept.coding:Pharmazentralnummer.extension">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.medication[x].coding.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept.coding:Pharmazentralnummer.system">
<path value="MedicationStatement.medication[x].coding.system" />
<short value="Identity of the terminology system" />
<definition value="The identification of the code system that defines the meaning of the symbol in the code." />
<comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously." />
<requirements value="Need to be unambiguous about the source of the definition of the symbol." />
<min value="1" />
<max value="1" />
<path value="Coding.system" />
<min value="0" />
<max value="1" />
</base>
<code value="uri" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.3" />
</mapping>
<identity value="rim" />
<map value="./codeSystem" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept.coding:Pharmazentralnummer.version">
<path value="MedicationStatement.medication[x].coding.version" />
<short value="Version of the system - if relevant" />
<definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
<comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
<min value="0" />
<max value="1" />
<path value="Coding.version" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.7" />
</mapping>
<identity value="rim" />
<map value="./codeSystemVersion" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept.coding:Pharmazentralnummer.code">
<path value="MedicationStatement.medication[x].coding.code" />
<short value="Symbol in syntax defined by the system" />
<definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
<comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
<requirements value="Need to refer to a particular code in the system." />
<min value="1" />
<max value="1" />
<path value="Coding.code" />
<min value="0" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.1" />
</mapping>
<identity value="rim" />
<map value="./code" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept.coding:Pharmazentralnummer.display">
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
<valueBoolean value="true" />
</extension>
<path value="MedicationStatement.medication[x].coding.display" />
<short value="Representation defined by the system" />
<definition value="A representation of the meaning of the code in the system, following the rules of the system." />
<comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
<requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know the system." />
<min value="0" />
<max value="1" />
<path value="Coding.display" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.2 - but note this is not well followed" />
</mapping>
<identity value="rim" />
<map value="CV.displayName" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept.coding:Pharmazentralnummer.userSelected">
<path value="MedicationStatement.medication[x].coding.userSelected" />
<short value="If this coding was chosen directly by the user" />
<definition value="Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)." />
<comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
<requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
<min value="0" />
<max value="1" />
<path value="Coding.userSelected" />
<min value="0" />
<max value="1" />
</base>
<code value="boolean" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="Sometimes implied by being first" />
</mapping>
<identity value="rim" />
<map value="CD.codingRationale" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept.coding:atcClassDe">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.medication[x].coding" />
<sliceName value="atcClassDe" />
<short value="ATC Klassifikation deutsche Version">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="ATC Code" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="ATC code" />
</extension>
</extension>
</short>
<definition value="ATC-Codes für Fertigarzneimittel bspw. von Kombiprodukten">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Ein Verweis auf einen von der deutschen Fassung der Anatomisch-Therapeutisch-Chemischen Klassifikation definierten Code" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="A reference to a code defined by the German edition of the Anatomical Therapeutic Chemical classification system" />
</extension>
</extension>
</definition>
<comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true." />
<requirements value="Allows for alternative encodings within a code system, and translations to other code systems." />
<min value="0" />
<max value="*" />
<path value="CodeableConcept.coding" />
<min value="0" />
<max value="*" />
</base>
<code value="Coding" />
</type>
<system value="http://fhir.de/CodeSystem/bfarm/atc" />
</patternCoding>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<strength value="required" />
<valueSet value="http://fhir.de/ValueSet/bfarm/atc" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CE/CNE/CWE subset one of the sets of component 1-3 or 4-6" />
</mapping>
<identity value="rim" />
<map value="CV" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding rdfs:subClassOf dt:CDCoding" />
</mapping>
<identity value="v2" />
<map value="C*E.1-8, C*E.10-22" />
</mapping>
<identity value="rim" />
<map value="union(., ./translation)" />
</mapping>
<identity value="orim" />
<map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept.coding:atcClassDe.id">
<path value="MedicationStatement.medication[x].coding.id" />
<representation value="xmlAttr" />
<short value="Unique id for inter-element referencing" />
<definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string" />
</extension>
<code value="http://hl7.org/fhirpath/System.String" />
</type>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept.coding:atcClassDe.extension">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.medication[x].coding.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept.coding:atcClassDe.system">
<path value="MedicationStatement.medication[x].coding.system" />
<short value="Identity of the terminology system" />
<definition value="The identification of the code system that defines the meaning of the symbol in the code." />
<comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously." />
<requirements value="Need to be unambiguous about the source of the definition of the symbol." />
<min value="1" />
<max value="1" />
<path value="Coding.system" />
<min value="0" />
<max value="1" />
</base>
<code value="uri" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.3" />
</mapping>
<identity value="rim" />
<map value="./codeSystem" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept.coding:atcClassDe.version">
<path value="MedicationStatement.medication[x].coding.version" />
<short value="Version of the system - if relevant" />
<definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
<comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
<min value="0" />
<max value="1" />
<path value="Coding.version" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.7" />
</mapping>
<identity value="rim" />
<map value="./codeSystemVersion" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept.coding:atcClassDe.code">
<path value="MedicationStatement.medication[x].coding.code" />
<short value="Symbol in syntax defined by the system" />
<definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
<comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
<requirements value="Need to refer to a particular code in the system." />
<min value="1" />
<max value="1" />
<path value="Coding.code" />
<min value="0" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.1" />
</mapping>
<identity value="rim" />
<map value="./code" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept.coding:atcClassDe.display">
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
<valueBoolean value="true" />
</extension>
<path value="MedicationStatement.medication[x].coding.display" />
<short value="Representation defined by the system" />
<definition value="A representation of the meaning of the code in the system, following the rules of the system." />
<comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
<requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know the system." />
<min value="0" />
<max value="1" />
<path value="Coding.display" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.2 - but note this is not well followed" />
</mapping>
<identity value="rim" />
<map value="CV.displayName" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept.coding:atcClassDe.userSelected">
<path value="MedicationStatement.medication[x].coding.userSelected" />
<short value="If this coding was chosen directly by the user" />
<definition value="Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)." />
<comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
<requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
<min value="0" />
<max value="1" />
<path value="Coding.userSelected" />
<min value="0" />
<max value="1" />
</base>
<code value="boolean" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="Sometimes implied by being first" />
</mapping>
<identity value="rim" />
<map value="CD.codingRationale" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept.coding:atcClassEn">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.medication[x].coding" />
<sliceName value="atcClassEn" />
<short value="Anatomical Therapeutic Chemical Classification System">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="ATC WHO Code" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="ATC WHO code" />
</extension>
</extension>
</short>
<definition value="ATC Classification International WHO Version">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Ein Verweis auf einen von der WHO Anatomisch-Therapeutisch-Chemischen Klassifikation definierten Code" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="A reference to a code defined by the WHO edition of the Anatomical Therapeutic Chemical classification system" />
</extension>
</extension>
</definition>
<comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true." />
<requirements value="Allows for alternative encodings within a code system, and translations to other code systems." />
<min value="0" />
<max value="*" />
<path value="CodeableConcept.coding" />
<min value="0" />
<max value="*" />
</base>
<code value="Coding" />
</type>
<system value="http://www.whocc.no/atc" />
</patternCoding>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CE/CNE/CWE subset one of the sets of component 1-3 or 4-6" />
</mapping>
<identity value="rim" />
<map value="CV" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding rdfs:subClassOf dt:CDCoding" />
</mapping>
<identity value="v2" />
<map value="C*E.1-8, C*E.10-22" />
</mapping>
<identity value="rim" />
<map value="union(., ./translation)" />
</mapping>
<identity value="orim" />
<map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept.coding:atcClassEn.id">
<path value="MedicationStatement.medication[x].coding.id" />
<representation value="xmlAttr" />
<short value="Unique id for inter-element referencing" />
<definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string" />
</extension>
<code value="http://hl7.org/fhirpath/System.String" />
</type>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept.coding:atcClassEn.extension">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.medication[x].coding.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept.coding:atcClassEn.system">
<path value="MedicationStatement.medication[x].coding.system" />
<short value="Identity of the terminology system" />
<definition value="The identification of the code system that defines the meaning of the symbol in the code." />
<comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously." />
<requirements value="Need to be unambiguous about the source of the definition of the symbol." />
<min value="1" />
<max value="1" />
<path value="Coding.system" />
<min value="0" />
<max value="1" />
</base>
<code value="uri" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.3" />
</mapping>
<identity value="rim" />
<map value="./codeSystem" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept.coding:atcClassEn.version">
<path value="MedicationStatement.medication[x].coding.version" />
<short value="Version of the system - if relevant" />
<definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
<comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
<min value="0" />
<max value="1" />
<path value="Coding.version" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.7" />
</mapping>
<identity value="rim" />
<map value="./codeSystemVersion" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept.coding:atcClassEn.code">
<path value="MedicationStatement.medication[x].coding.code" />
<short value="Symbol in syntax defined by the system" />
<definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
<comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
<requirements value="Need to refer to a particular code in the system." />
<min value="1" />
<max value="1" />
<path value="Coding.code" />
<min value="0" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.1" />
</mapping>
<identity value="rim" />
<map value="./code" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept.coding:atcClassEn.display">
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
<valueBoolean value="true" />
</extension>
<path value="MedicationStatement.medication[x].coding.display" />
<short value="Representation defined by the system" />
<definition value="A representation of the meaning of the code in the system, following the rules of the system." />
<comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
<requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know the system." />
<min value="0" />
<max value="1" />
<path value="Coding.display" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.2 - but note this is not well followed" />
</mapping>
<identity value="rim" />
<map value="CV.displayName" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept.coding:atcClassEn.userSelected">
<path value="MedicationStatement.medication[x].coding.userSelected" />
<short value="If this coding was chosen directly by the user" />
<definition value="Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)." />
<comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
<requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
<min value="0" />
<max value="1" />
<path value="Coding.userSelected" />
<min value="0" />
<max value="1" />
</base>
<code value="boolean" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="Sometimes implied by being first" />
</mapping>
<identity value="rim" />
<map value="CD.codingRationale" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]" />
</mapping>
</element>
<element id="MedicationStatement.medication[x]:medicationCodeableConcept.text">
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
<valueBoolean value="true" />
</extension>
<path value="MedicationStatement.medication[x].text" />
<short value="Plain text representation of the concept" />
<definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user." />
<comment value="Very often the text is the same as a displayName of one of the codings." />
<requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source." />
<min value="0" />
<max value="1" />
<path value="CodeableConcept.text" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.9. But note many systems use C*E.2 for this" />
</mapping>
<identity value="rim" />
<map value="./originalText[mediaType/code="text/plain"]/data" />
</mapping>
<identity value="orim" />
<map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" />
</mapping>
</element>
<element id="MedicationStatement.subject">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.subject" />
<short value="Who is/was taking the medication" />
<definition value="The person, animal or group who is/was taking the medication." />
<comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
<min value="1" />
<max value="1" />
<path value="MedicationStatement.subject" />
<min value="1" />
<max value="1" />
</base>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ref-1" />
<severity value="error" />
<human value="SHALL have a contained resource if a local reference is provided" />
<expression value="reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" />
<xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
<source value="http://hl7.org/fhir/StructureDefinition/Reference" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
</mapping>
<identity value="workflow" />
<map value="Event.subject" />
</mapping>
<identity value="w5" />
<map value="FiveWs.subject[x]" />
</mapping>
<identity value="v2" />
<map value="PID-3-Patient ID List" />
</mapping>
<identity value="rim" />
<map value=".participation[typeCode=SBJ].role[classCode=PAT]" />
</mapping>
<identity value="w5" />
<map value="FiveWs.subject" />
</mapping>
</element>
<element id="MedicationStatement.context">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.context" />
<short value="Kontext">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Kontext" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="Context" />
</extension>
</extension>
</short>
<definition value="Fall oder Kontakt in Verbindung mit dem Medikationseintrag">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Fall oder Kontakt in Verbindung mit dem Medikationseintrag" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="Encounter / Episode associated with MedicationStatement" />
</extension>
</extension>
</definition>
<comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
<min value="0" />
<max value="1" />
<path value="MedicationStatement.context" />
<min value="0" />
<max value="1" />
</base>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Encounter" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ref-1" />
<severity value="error" />
<human value="SHALL have a contained resource if a local reference is provided" />
<expression value="reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" />
<xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
<source value="http://hl7.org/fhir/StructureDefinition/Reference" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
</mapping>
<identity value="workflow" />
<map value="Event.context" />
</mapping>
<identity value="rim" />
<map value=".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN, code="type of encounter or episode"]" />
</mapping>
</element>
<element id="MedicationStatement.effective[x]">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.effective[x]" />
<type value="type" />
<path value="$this" />
</discriminator>
<ordered value="false" />
<rules value="open" />
</slicing>
<short value="Zeitpunkt oder Zeitraum">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Zeitpunkt oder Zeitraum" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="Date or period" />
</extension>
</extension>
</short>
<definition value="Die Zeitspanne, in der angegeben wird, dass der Patient das Medikament eingenommen hat oder einnehmen wird.">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Die Zeitspanne, in der angegeben wird, dass der Patient das Medikament eingenommen hat oder einnehmen wird." />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="The interval of time during which it is being asserted that the patient is/was/will be taking the medication." />
</extension>
</extension>
</definition>
<comment value="This attribute reflects the period over which the patient consumed the medication and is expected to be populated on the majority of Medication Statements. If the medication is still being taken at the time the statement is recorded, the "end" date will be omitted. The date/time attribute supports a variety of dates - year, year/month and exact date. If something more than this is required, this should be conveyed as text." />
<min value="1" />
<max value="1" />
<path value="MedicationStatement.effective[x]" />
<min value="0" />
<max value="1" />
</base>
<code value="dateTime" />
</type>
<code value="Period" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="workflow" />
<map value="Event.occurrence[x]" />
</mapping>
<identity value="w5" />
<map value="FiveWs.done[x]" />
</mapping>
<identity value="rim" />
<map value=".effectiveTime" />
</mapping>
</element>
<element id="MedicationStatement.effective[x]:effectiveDateTime">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.effective[x]" />
<sliceName value="effectiveDateTime" />
<short value="Zeitpunkt">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Zeitpunkt" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="Date time" />
</extension>
</extension>
</short>
<definition value="Der Zeitpunkt, an dem der Patient das Medikament eingenommen hat oder einnehmen wird.">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Der Zeitpunkt, an dem der Patient das Medikament eingenommen hat oder einnehmen wird." />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="The date time when the medication was or will be taken." />
</extension>
</extension>
</definition>
<comment value="This attribute reflects the period over which the patient consumed the medication and is expected to be populated on the majority of Medication Statements. If the medication is still being taken at the time the statement is recorded, the "end" date will be omitted. The date/time attribute supports a variety of dates - year, year/month and exact date. If something more than this is required, this should be conveyed as text." />
<min value="0" />
<max value="1" />
<path value="MedicationStatement.effective[x]" />
<min value="0" />
<max value="1" />
</base>
<code value="dateTime" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="workflow" />
<map value="Event.occurrence[x]" />
</mapping>
<identity value="w5" />
<map value="FiveWs.done[x]" />
</mapping>
<identity value="rim" />
<map value=".effectiveTime" />
</mapping>
</element>
<element id="MedicationStatement.effective[x]:effectivePeriod">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.effective[x]" />
<sliceName value="effectivePeriod" />
<short value="Zeitraum">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Zeitraum" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="Period" />
</extension>
</extension>
</short>
<definition value="Der Zeitraum, in dem der Patient das Medikament eingenommen hat oder einnehmen wird.">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Der Zeitraum, in dem der Patient das Medikament eingenommen hat oder einnehmen wird." />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="The interval of time during which the patient is/was/will be taking the medication." />
</extension>
</extension>
</definition>
<comment value="This attribute reflects the period over which the patient consumed the medication and is expected to be populated on the majority of Medication Statements. If the medication is still being taken at the time the statement is recorded, the "end" date will be omitted. The date/time attribute supports a variety of dates - year, year/month and exact date. If something more than this is required, this should be conveyed as text." />
<min value="0" />
<max value="1" />
<path value="MedicationStatement.effective[x]" />
<min value="0" />
<max value="1" />
</base>
<code value="Period" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="workflow" />
<map value="Event.occurrence[x]" />
</mapping>
<identity value="w5" />
<map value="FiveWs.done[x]" />
</mapping>
<identity value="rim" />
<map value=".effectiveTime" />
</mapping>
</element>
<element id="MedicationStatement.effective[x]:effectivePeriod.id">
<path value="MedicationStatement.effective[x].id" />
<representation value="xmlAttr" />
<short value="Unique id for inter-element referencing" />
<definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string" />
</extension>
<code value="http://hl7.org/fhirpath/System.String" />
</type>
<isModifier value="false" />
<isSummary value="false" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="MedicationStatement.effective[x]:effectivePeriod.extension">
<path value="MedicationStatement.effective[x].extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
<isModifier value="false" />
<isSummary value="false" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="MedicationStatement.effective[x]:effectivePeriod.start">
<path value="MedicationStatement.effective[x].start" />
<short value="Startdatum der systemischen Medikation">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Startdatum der systemischen Medikation" />
</extension>
</extension>
</short>
<definition value="Startdatum der systemischen Medikation gemäß 16.7 oBDS 2021.">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Startdatum der systemischen Medikation gemäß 16.7 oBDS 2021." />
</extension>
</extension>
</definition>
<comment value="If the low element is missing, the meaning is that the low boundary is not known." />
<min value="0" />
<max value="1" />
<path value="Period.start" />
<min value="0" />
<max value="1" />
</base>
<code value="dateTime" />
</type>
<condition value="per-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isModifier value="false" />
<isSummary value="true" />
<identity value="v2" />
<map value="DR.1" />
</mapping>
<identity value="rim" />
<map value="./low" />
</mapping>
</element>
<element id="MedicationStatement.effective[x]:effectivePeriod.end">
<path value="MedicationStatement.effective[x].end" />
<short value="Enddatum der systemischen Medikation">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Enddatum der systemischen Medikation" />
</extension>
</extension>
</short>
<definition value="Enddatum der systemischen Medikation gemäß 16.9 oBDS 2021.">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Enddatum der systemischen Medikation gemäß 16.9 oBDS 2021." />
</extension>
</extension>
</definition>
<comment value="The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has an end value of 2012-02-03." />
<min value="0" />
<max value="1" />
<path value="Period.end" />
<min value="0" />
<max value="1" />
</base>
<code value="dateTime" />
</type>
<meaningWhenMissing value="If the end of the period is missing, it means that the period is ongoing" />
<condition value="per-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isModifier value="false" />
<isSummary value="true" />
<identity value="v2" />
<map value="DR.2" />
</mapping>
<identity value="rim" />
<map value="./high" />
</mapping>
</element>
<element id="MedicationStatement.dateAsserted">
<path value="MedicationStatement.dateAsserted" />
<short value="Datum Bestätigung">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Datum Bestätigung" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="Date asserted" />
</extension>
</extension>
</short>
<definition value="Das Datum, an dem der Medikationseintrag von der Informationsquelle bestätigt wurde.">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Das Datum, an dem der Medikationseintrag von der Informationsquelle bestätigt wurde." />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="The date when the medication statement was asserted by the information source." />
</extension>
</extension>
</definition>
<min value="0" />
<max value="1" />
<path value="MedicationStatement.dateAsserted" />
<min value="0" />
<max value="1" />
</base>
<code value="dateTime" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="w5" />
<map value="FiveWs.recorded" />
</mapping>
<identity value="rim" />
<map value=".participation[typeCode=AUT].time" />
</mapping>
</element>
<element id="MedicationStatement.informationSource">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.informationSource" />
<short value="Informationsquelle">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Informationsquelle" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="Information source" />
</extension>
</extension>
</short>
<definition value="Die Person oder Organisation, die die Information über die Einnahme dieses Medikaments bereitgestellt hat.">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Die Person oder Organisation, die die Information über die Einnahme dieses Medikaments bereitgestellt hat." />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="The person or organization that provided the information about the taking of this medication." />
</extension>
</extension>
</definition>
<comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
<min value="0" />
<max value="1" />
<path value="MedicationStatement.informationSource" />
<min value="0" />
<max value="1" />
</base>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ref-1" />
<severity value="error" />
<human value="SHALL have a contained resource if a local reference is provided" />
<expression value="reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" />
<xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
<source value="http://hl7.org/fhir/StructureDefinition/Reference" />
</constraint>
<mustSupport value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
</mapping>
<identity value="w5" />
<map value="FiveWs.source" />
</mapping>
<identity value="rim" />
<map value=".participation[typeCode=INF].role[classCode=PAT, or codes for Practioner or Related Person (if PAT is the informer, then syntax for self-reported =true)" />
</mapping>
</element>
<element id="MedicationStatement.derivedFrom">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.derivedFrom" />
<short value="Additional supporting information" />
<definition value="Allows linking the MedicationStatement to the underlying MedicationRequest, or to other information that supports or is used to derive the MedicationStatement." />
<comment value="Likely references would be to MedicationRequest, MedicationDispense, Claim, Observation or QuestionnaireAnswers. The most common use cases for deriving a MedicationStatement comes from creating a MedicationStatement from a MedicationRequest or from a lab observation or a claim. it should be noted that the amount of information that is available varies from the type resource that you derive the MedicationStatement from." />
<min value="0" />
<max value="*" />
<path value="MedicationStatement.derivedFrom" />
<min value="0" />
<max value="*" />
</base>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ref-1" />
<severity value="error" />
<human value="SHALL have a contained resource if a local reference is provided" />
<expression value="reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" />
<xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
<source value="http://hl7.org/fhir/StructureDefinition/Reference" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
</mapping>
<identity value="rim" />
<map value=".outboundRelationship[typeCode=SPRT]/target[classCode=ACT,moodCode=EVN]" />
</mapping>
</element>
<element id="MedicationStatement.reasonCode">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.reasonCode" />
<short value="Grund Code">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Grund Code" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="Reason code" />
</extension>
</extension>
</short>
<definition value="Grund für den Medikationseintrag als Code.">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Grund für den Medikationseintrag als Code." />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="Reason for the medication statement as a code." />
</extension>
</extension>
</definition>
<comment value="This could be a diagnosis code. If a full condition record exists or additional detail is needed, use reasonForUseReference." />
<min value="0" />
<max value="*" />
<path value="MedicationStatement.reasonCode" />
<min value="0" />
<max value="*" />
</base>
<code value="CodeableConcept" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="MedicationReason" />
</extension>
<strength value="example" />
<description value="A coded concept identifying why the medication is being taken." />
<valueSet value="http://hl7.org/fhir/ValueSet/condition-code" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CE/CNE/CWE" />
</mapping>
<identity value="rim" />
<map value="CD" />
</mapping>
<identity value="orim" />
<map value="fhir:CodeableConcept rdfs:subClassOf dt:CD" />
</mapping>
<identity value="workflow" />
<map value="Event.reasonCode" />
</mapping>
<identity value="w5" />
<map value="FiveWs.why[x]" />
</mapping>
<identity value="rim" />
<map value=".reasonCode" />
</mapping>
</element>
<element id="MedicationStatement.reasonReference">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.reasonReference" />
<short value="Grund Referenz">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Grund Referenz" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="Reason reference" />
</extension>
</extension>
</short>
<definition value="Grund für den Medikationseintrag als Referenz auf Condition- oder Observation-Ressource.">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Grund für den Medikationseintrag als Referenz auf Condition- oder Observation-Ressource." />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="Condition or observation that supports why the medication is being/was taken" />
</extension>
</extension>
</definition>
<comment value="This is a reference to a condition that is the reason why the medication is being/was taken. If only a code exists, use reasonForUseCode." />
<min value="0" />
<max value="*" />
<path value="MedicationStatement.reasonReference" />
<min value="0" />
<max value="*" />
</base>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Condition" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/DiagnosticReport" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ref-1" />
<severity value="error" />
<human value="SHALL have a contained resource if a local reference is provided" />
<expression value="reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" />
<xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
<source value="http://hl7.org/fhir/StructureDefinition/Reference" />
</constraint>
<mustSupport value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
</mapping>
<identity value="workflow" />
<map value="Event.reasonReference" />
</mapping>
<identity value="w5" />
<map value="FiveWs.why[x]" />
</mapping>
<identity value="rim" />
<map value=".outboundRelationship[typeCode=RSON]/target[classCode=OBS,moodCode=EVN, code="reason for use"].value" />
</mapping>
</element>
<element id="MedicationStatement.note">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.note" />
<short value="Hinweis">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Hinweis" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="Note" />
</extension>
</extension>
</short>
<definition value="Zusätzliche Informationen zum Medikationseintrag als Freitext.">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Zusätzliche Informationen zum Medikationseintrag als Freitext." />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="Additional information about the medication statement as free text." />
</extension>
</extension>
</definition>
<comment value="For systems that do not have structured annotations, they can simply communicate a single annotation with no author or time. This element may need to be included in narrative because of the potential for modifying information. *Annotations SHOULD NOT* be used to communicate "modifying" information that could be computable. (This is a SHOULD because enforcing user behavior is nearly impossible)." />
<min value="0" />
<max value="*" />
<path value="MedicationStatement.note" />
<min value="0" />
<max value="*" />
</base>
<code value="Annotation" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="N/A" />
</mapping>
<identity value="rim" />
<map value="Act" />
</mapping>
<identity value="workflow" />
<map value="Event.note" />
</mapping>
<identity value="rim" />
<map value=".inboundRelationship[typeCode=SUBJ]/source[classCode=OBS,moodCode=EVN,code="annotation"].value" />
</mapping>
</element>
<element id="MedicationStatement.note.id">
<path value="MedicationStatement.note.id" />
<representation value="xmlAttr" />
<short value="Unique id for inter-element referencing" />
<definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string" />
</extension>
<code value="http://hl7.org/fhirpath/System.String" />
</type>
<isModifier value="false" />
<isSummary value="false" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="MedicationStatement.note.extension">
<path value="MedicationStatement.note.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
<isModifier value="false" />
<isSummary value="false" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="MedicationStatement.note.author[x]">
<path value="MedicationStatement.note.author[x]" />
<short value="Individual responsible for the annotation" />
<definition value="The individual responsible for making the annotation." />
<comment value="Organization is used when there's no need for specific attribution as to who made the comment." />
<min value="0" />
<max value="1" />
<path value="Annotation.author[x]" />
<min value="0" />
<max value="1" />
</base>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization" />
</type>
<code value="string" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="true" />
<identity value="v2" />
<map value="N/A" />
</mapping>
<identity value="rim" />
<map value="Act.participant[typeCode=AUT].role" />
</mapping>
</element>
<element id="MedicationStatement.note.time">
<path value="MedicationStatement.note.time" />
<short value="When the annotation was made" />
<definition value="Indicates when this particular annotation was made." />
<min value="0" />
<max value="1" />
<path value="Annotation.time" />
<min value="0" />
<max value="1" />
</base>
<code value="dateTime" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="true" />
<identity value="v2" />
<map value="N/A" />
</mapping>
<identity value="rim" />
<map value="Act.effectiveTime" />
</mapping>
</element>
<element id="MedicationStatement.note.text">
<path value="MedicationStatement.note.text" />
<short value="Protokoll">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Protokoll der systemischen Medikation" />
</extension>
</extension>
</short>
<definition value="Protokoll der systemischen Medikation. Bei Angabe eines Schemas sind alle Wirkstoffe in einzelnen Ressourcen unter MedicationStatement.medication[x] gesondert zu kodieren">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Protokoll der systemischen Medikation gemäß 16.6 oBDS 2021." />
</extension>
</extension>
</definition>
<min value="1" />
<max value="1" />
<path value="Annotation.text" />
<min value="1" />
<max value="1" />
</base>
<code value="markdown" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isModifier value="false" />
<isSummary value="true" />
<identity value="v2" />
<map value="N/A" />
</mapping>
<identity value="rim" />
<map value="Act.text" />
</mapping>
<identity value="oBDS" />
<map value="16.6" />
<comment value="Systemische Therapie Protokoll" />
</mapping>
</element>
<element id="MedicationStatement.dosage">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="trial-use" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.dosage" />
<short value="Dosierung">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Dosierung" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="Dosage" />
</extension>
</extension>
</short>
<definition value="Details zur Dosierung des Medikamentes.">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Details zur Dosierung des Medikamentes." />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="Details of how the medication is/was taken or should be taken." />
</extension>
</extension>
</definition>
<comment value="The dates included in the dosage on a Medication Statement reflect the dates for a given dose. For example, "from November 1, 2016 to November 3, 2016, take one tablet daily and from November 4, 2016 to November 7, 2016, take two tablets daily." It is expected that this specificity may only be populated where the patient brings in their labeled container or where the Medication Statement is derived from a MedicationRequest." />
<min value="0" />
<max value="*" />
<path value="MedicationStatement.dosage" />
<min value="0" />
<max value="*" />
</base>
<code value="Dosage" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="dsg-1" />
<severity value="error" />
<human value="If present, dosage must include free text or structured data" />
<expression value="text.exists() or doseAndRate.exists()" />
<source value="https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/StructureDefinition/MedicationStatement" />
</constraint>
<mustSupport value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value=".outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=INT]" />
</mapping>
<identity value="rim" />
<map value="refer dosageInstruction mapping" />
</mapping>
</element>
<element id="MedicationStatement.dosage.id">
<path value="MedicationStatement.dosage.id" />
<representation value="xmlAttr" />
<short value="Unique id for inter-element referencing" />
<definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string" />
</extension>
<code value="http://hl7.org/fhirpath/System.String" />
</type>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="MedicationStatement.dosage.extension">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.dosage.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="MedicationStatement.dosage.modifierExtension">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.dosage.modifierExtension" />
<short value="Extensions that cannot be ignored even if unrecognized" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
<alias value="extensions" />
<alias value="user content" />
<alias value="modifiers" />
<min value="0" />
<max value="*" />
<path value="BackboneElement.modifierExtension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
<isModifier value="true" />
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="MedicationStatement.dosage.sequence">
<path value="MedicationStatement.dosage.sequence" />
<short value="The order of the dosage instructions" />
<definition value="Indicates the order in which the dosage instructions should be applied or interpreted." />
<comment value="32 bit number; for values larger than this, use decimal" />
<requirements value="If the sequence number of multiple Dosages is the same, then it is implied that the instructions are to be treated as concurrent. If the sequence number is different, then the Dosages are intended to be sequential." />
<min value="0" />
<max value="1" />
<path value="Dosage.sequence" />
<min value="0" />
<max value="1" />
</base>
<code value="integer" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="TQ1-1" />
</mapping>
<identity value="rim" />
<map value=".text" />
</mapping>
</element>
<element id="MedicationStatement.dosage.text">
<path value="MedicationStatement.dosage.text" />
<short value="Free text dosage instructions e.g. SIG" />
<definition value="Free text dosage instructions e.g. SIG." />
<comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
<requirements value="Free text dosage instructions can be used for cases where the instructions are too complex to code. The content of this attribute does not include the name or description of the medication. When coded instructions are present, the free text instructions may still be present for display to humans taking or administering the medication. It is expected that the text instructions will always be populated. If the dosage.timing attribute is also populated, then the dosage.text should reflect the same information as the timing. Additional information about administration or preparation of the medication should be included as text." />
<min value="0" />
<max value="1" />
<path value="Dosage.text" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="RXO-6; RXE-21" />
</mapping>
<identity value="rim" />
<map value=".text" />
</mapping>
</element>
<element id="MedicationStatement.dosage.additionalInstruction">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.dosage.additionalInstruction" />
<short value="Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness"" />
<definition value="Supplemental instructions to the patient on how to take the medication (e.g. "with meals" or"take half to one hour before food") or warnings for the patient about the medication (e.g. "may cause drowsiness" or "avoid exposure of skin to direct sunlight or sunlamps")." />
<comment value="Information about administration or preparation of the medication (e.g. "infuse as rapidly as possibly via intraperitoneal port" or "immediately following drug x") should be populated in dosage.text." />
<requirements value="Additional instruction is intended to be coded, but where no code exists, the element could include text. For example, "Swallow with plenty of water" which might or might not be coded." />
<min value="0" />
<max value="*" />
<path value="Dosage.additionalInstruction" />
<min value="0" />
<max value="*" />
</base>
<code value="CodeableConcept" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="AdditionalInstruction" />
</extension>
<strength value="example" />
<description value="A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery"." />
<valueSet value="http://hl7.org/fhir/ValueSet/additional-instruction-codes" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CE/CNE/CWE" />
</mapping>
<identity value="rim" />
<map value="CD" />
</mapping>
<identity value="orim" />
<map value="fhir:CodeableConcept rdfs:subClassOf dt:CD" />
</mapping>
<identity value="v2" />
<map value="RXO-7" />
</mapping>
<identity value="rim" />
<map value=".text" />
</mapping>
</element>
<element id="MedicationStatement.dosage.patientInstruction">
<path value="MedicationStatement.dosage.patientInstruction" />
<short value="Patient or consumer oriented instructions" />
<definition value="Instructions in terms that are understood by the patient or consumer." />
<comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Dosage.patientInstruction" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="RXO-7" />
</mapping>
<identity value="rim" />
<map value=".text" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.dosage.timing" />
<short value="When medication should be administered" />
<definition value="When medication should be administered." />
<comment value="This attribute might not always be populated while the Dosage.text is expected to be populated. If both are populated, then the Dosage.text should reflect the content of the Dosage.timing." />
<requirements value="The timing schedule for giving the medication to the patient. This data type allows many different expressions. For example: "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013". Sometimes, a rate can imply duration when expressed as total volume / duration (e.g. 500mL/2 hours implies a duration of 2 hours). However, when rate doesn't imply duration (e.g. 250mL/hour), then the timing.repeat.duration is needed to convey the infuse over time period." />
<min value="0" />
<max value="1" />
<path value="Dosage.timing" />
<min value="0" />
<max value="1" />
</base>
<code value="Timing" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="N/A" />
</mapping>
<identity value="rim" />
<map value="QSET<TS> (GTS)" />
</mapping>
<identity value="rim" />
<map value=".effectiveTime" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.id">
<path value="MedicationStatement.dosage.timing.id" />
<representation value="xmlAttr" />
<short value="Unique id for inter-element referencing" />
<definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string" />
</extension>
<code value="http://hl7.org/fhirpath/System.String" />
</type>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.extension">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.dosage.timing.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.modifierExtension">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.dosage.timing.modifierExtension" />
<short value="Extensions that cannot be ignored even if unrecognized" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
<alias value="extensions" />
<alias value="user content" />
<alias value="modifiers" />
<min value="0" />
<max value="*" />
<path value="BackboneElement.modifierExtension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
<isModifier value="true" />
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.event">
<path value="MedicationStatement.dosage.timing.event" />
<short value="When the event occurs" />
<definition value="Identifies specific times when the event occurs." />
<requirements value="In a Medication Administration Record, for instance, you need to take a general specification, and turn it into a precise specification." />
<min value="0" />
<max value="*" />
<path value="Timing.event" />
<min value="0" />
<max value="*" />
</base>
<code value="dateTime" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="QLIST<TS>" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.dosage.timing.repeat" />
<short value="When the event is to occur" />
<definition value="A set of rules that describe when the event is scheduled." />
<requirements value="Many timing schedules are determined by regular repetitions." />
<min value="0" />
<max value="1" />
<path value="Timing.repeat" />
<min value="0" />
<max value="1" />
</base>
<code value="Element" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="tim-9" />
<severity value="error" />
<human value="If there's an offset, there must be a when (and not C, CM, CD, CV)" />
<expression value="offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))" />
<xpath value="not(exists(f:offset)) or exists(f:when)" />
<source value="http://hl7.org/fhir/StructureDefinition/Timing" />
</constraint>
<key value="tim-5" />
<severity value="error" />
<human value="period SHALL be a non-negative value" />
<expression value="period.exists() implies period >= 0" />
<xpath value="f:period/@value >= 0 or not(f:period/@value)" />
<source value="http://hl7.org/fhir/StructureDefinition/Timing" />
</constraint>
<key value="tim-6" />
<severity value="error" />
<human value="If there's a periodMax, there must be a period" />
<expression value="periodMax.empty() or period.exists()" />
<xpath value="not(exists(f:periodMax)) or exists(f:period)" />
<source value="http://hl7.org/fhir/StructureDefinition/Timing" />
</constraint>
<key value="tim-7" />
<severity value="error" />
<human value="If there's a durationMax, there must be a duration" />
<expression value="durationMax.empty() or duration.exists()" />
<xpath value="not(exists(f:durationMax)) or exists(f:duration)" />
<source value="http://hl7.org/fhir/StructureDefinition/Timing" />
</constraint>
<key value="tim-8" />
<severity value="error" />
<human value="If there's a countMax, there must be a count" />
<expression value="countMax.empty() or count.exists()" />
<xpath value="not(exists(f:countMax)) or exists(f:count)" />
<source value="http://hl7.org/fhir/StructureDefinition/Timing" />
</constraint>
<key value="tim-1" />
<severity value="error" />
<human value="if there's a duration, there needs to be duration units" />
<expression value="duration.empty() or durationUnit.exists()" />
<xpath value="not(exists(f:duration)) or exists(f:durationUnit)" />
<source value="http://hl7.org/fhir/StructureDefinition/Timing" />
</constraint>
<key value="tim-10" />
<severity value="error" />
<human value="If there's a timeOfDay, there cannot be a when, or vice versa" />
<expression value="timeOfDay.empty() or when.empty()" />
<xpath value="not(exists(f:timeOfDay)) or not(exists(f:when))" />
<source value="http://hl7.org/fhir/StructureDefinition/Timing" />
</constraint>
<key value="tim-2" />
<severity value="error" />
<human value="if there's a period, there needs to be period units" />
<expression value="period.empty() or periodUnit.exists()" />
<xpath value="not(exists(f:period)) or exists(f:periodUnit)" />
<source value="http://hl7.org/fhir/StructureDefinition/Timing" />
</constraint>
<key value="tim-4" />
<severity value="error" />
<human value="duration SHALL be a non-negative value" />
<expression value="duration.exists() implies duration >= 0" />
<xpath value="f:duration/@value >= 0 or not(f:duration/@value)" />
<source value="http://hl7.org/fhir/StructureDefinition/Timing" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="Implies PIVL or EIVL" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.id">
<path value="MedicationStatement.dosage.timing.repeat.id" />
<representation value="xmlAttr" />
<short value="Unique id for inter-element referencing" />
<definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string" />
</extension>
<code value="http://hl7.org/fhirpath/System.String" />
</type>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.extension">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.dosage.timing.repeat.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.bounds[x]">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.dosage.timing.repeat.bounds[x]" />
<type value="type" />
<path value="$this" />
</discriminator>
<ordered value="false" />
<rules value="open" />
</slicing>
<short value="Length/Range of lengths, or (Start and/or end) limits" />
<definition value="Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule." />
<min value="0" />
<max value="1" />
<path value="Timing.repeat.bounds[x]" />
<min value="0" />
<max value="1" />
</base>
<code value="Duration" />
</type>
<code value="Range" />
</type>
<code value="Period" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="IVL(TS) used in a QSI" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.bounds[x]:boundsDuration">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.dosage.timing.repeat.bounds[x]" />
<sliceName value="boundsDuration" />
<short value="Length/Range of lengths, or (Start and/or end) limits" />
<definition value="Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule." />
<min value="0" />
<max value="1" />
<path value="Timing.repeat.bounds[x]" />
<min value="0" />
<max value="1" />
</base>
<code value="Duration" />
</type>
<system value="http://unitsofmeasure.org" />
</patternDuration>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="IVL(TS) used in a QSI" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.bounds[x]:boundsDuration.id">
<path value="MedicationStatement.dosage.timing.repeat.bounds[x].id" />
<representation value="xmlAttr" />
<short value="Unique id for inter-element referencing" />
<definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string" />
</extension>
<code value="http://hl7.org/fhirpath/System.String" />
</type>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.bounds[x]:boundsDuration.extension">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.dosage.timing.repeat.bounds[x].extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.bounds[x]:boundsDuration.value">
<path value="MedicationStatement.dosage.timing.repeat.bounds[x].value" />
<short value="Numerical value (with implicit precision)" />
<definition value="The value of the measured amount. The value includes an implicit precision in the presentation of the value." />
<comment value="The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)." />
<requirements value="Precision is handled implicitly in almost all cases of measurement." />
<min value="1" />
<max value="1" />
<path value="Quantity.value" />
<min value="0" />
<max value="1" />
</base>
<code value="decimal" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="SN.2 / CQ - N/A" />
</mapping>
<identity value="rim" />
<map value="PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.bounds[x]:boundsDuration.comparator">
<path value="MedicationStatement.dosage.timing.repeat.bounds[x].comparator" />
<short value="< | <= | >= | > - how to understand the value" />
<definition value="How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is "<" , then the real value is < stated value." />
<comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
<requirements value="Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology." />
<min value="0" />
<max value="1" />
<path value="Quantity.comparator" />
<min value="0" />
<max value="1" />
</base>
<code value="code" />
</type>
<meaningWhenMissing value="If there is no comparator, then there is no modification of the value" />
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="true" />
<isModifierReason value="This is labeled as "Is Modifier" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value" />
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="QuantityComparator" />
</extension>
<strength value="required" />
<description value="How the Quantity should be understood and represented." />
<valueSet value="http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="SN.1 / CQ.1" />
</mapping>
<identity value="rim" />
<map value="IVL properties" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.bounds[x]:boundsDuration.unit">
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
<valueBoolean value="true" />
</extension>
<path value="MedicationStatement.dosage.timing.repeat.bounds[x].unit" />
<short value="Unit representation" />
<definition value="A human-readable form of the unit." />
<comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
<requirements value="There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms." />
<min value="0" />
<max value="1" />
<path value="Quantity.unit" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="(see OBX.6 etc.) / CQ.2" />
</mapping>
<identity value="rim" />
<map value="PQ.unit" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.bounds[x]:boundsDuration.system">
<path value="MedicationStatement.dosage.timing.repeat.bounds[x].system" />
<short value="System that defines coded unit form" />
<definition value="The identification of the system that provides the coded form of the unit." />
<comment value="see http://en.wikipedia.org/wiki/Uniform_resource_identifier" />
<requirements value="Need to know the system that defines the coded form of the unit." />
<min value="1" />
<max value="1" />
<path value="Quantity.system" />
<min value="0" />
<max value="1" />
</base>
<code value="uri" />
</type>
<condition value="ele-1" />
<condition value="qty-3" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="(see OBX.6 etc.) / CQ.2" />
</mapping>
<identity value="rim" />
<map value="CO.codeSystem, PQ.translation.codeSystem" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.bounds[x]:boundsDuration.code">
<path value="MedicationStatement.dosage.timing.repeat.bounds[x].code" />
<short value="Coded form of the unit" />
<definition value="A computer processable form of the unit in some unit representation system." />
<comment value="The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system." />
<requirements value="Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest." />
<min value="1" />
<max value="1" />
<path value="Quantity.code" />
<min value="0" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="(see OBX.6 etc.) / CQ.2" />
</mapping>
<identity value="rim" />
<map value="PQ.code, MO.currency, PQ.translation.code" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.dosage.timing.repeat.bounds[x]" />
<sliceName value="boundsRange" />
<short value="Length/Range of lengths, or (Start and/or end) limits" />
<definition value="Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule." />
<min value="0" />
<max value="1" />
<path value="Timing.repeat.bounds[x]" />
<min value="0" />
<max value="1" />
</base>
<code value="Range" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="IVL(TS) used in a QSI" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.id">
<path value="MedicationStatement.dosage.timing.repeat.bounds[x].id" />
<representation value="xmlAttr" />
<short value="Unique id for inter-element referencing" />
<definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string" />
</extension>
<code value="http://hl7.org/fhirpath/System.String" />
</type>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.extension">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.dosage.timing.repeat.bounds[x].extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.low">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.dosage.timing.repeat.bounds[x].low" />
<short value="Low limit" />
<definition value="The low limit. The boundary is inclusive." />
<comment value="If the low element is missing, the low boundary is not known." />
<min value="0" />
<max value="1" />
<path value="Range.low" />
<min value="0" />
<max value="1" />
</base>
<code value="Quantity" />
<profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity" />
</type>
<system value="http://unitsofmeasure.org" />
</patternQuantity>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="qty-3" />
<severity value="error" />
<human value="If a code for the unit is present, the system SHALL also be present" />
<expression value="code.empty() or system.exists()" />
<xpath value="not(exists(f:code)) or exists(f:system)" />
<source value="http://hl7.org/fhir/StructureDefinition/Quantity" />
</constraint>
<key value="sqty-1" />
<severity value="error" />
<human value="The comparator is not used on a SimpleQuantity" />
<expression value="comparator.empty()" />
<xpath value="not(exists(f:comparator))" />
<source value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity" />
</constraint>
<mustSupport value="true" />
<isModifier value="false" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="SN (see also Range) or CQ" />
</mapping>
<identity value="rim" />
<map value="PQ, IVL<PQ>, MO, CO, depending on the values" />
</mapping>
<identity value="v2" />
<map value="NR.1" />
</mapping>
<identity value="rim" />
<map value="./low" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.low.id">
<path value="MedicationStatement.dosage.timing.repeat.bounds[x].low.id" />
<representation value="xmlAttr" />
<short value="Unique id for inter-element referencing" />
<definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string" />
</extension>
<code value="http://hl7.org/fhirpath/System.String" />
</type>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.low.extension">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.dosage.timing.repeat.bounds[x].low.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.low.value">
<path value="MedicationStatement.dosage.timing.repeat.bounds[x].low.value" />
<short value="Numerical value (with implicit precision)" />
<definition value="The value of the measured amount. The value includes an implicit precision in the presentation of the value." />
<comment value="The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)." />
<requirements value="Precision is handled implicitly in almost all cases of measurement." />
<min value="1" />
<max value="1" />
<path value="Quantity.value" />
<min value="0" />
<max value="1" />
</base>
<code value="decimal" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="SN.2 / CQ - N/A" />
</mapping>
<identity value="rim" />
<map value="PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.low.comparator">
<path value="MedicationStatement.dosage.timing.repeat.bounds[x].low.comparator" />
<short value="< | <= | >= | > - how to understand the value" />
<definition value="Not allowed to be used in this context" />
<comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
<requirements value="Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology." />
<min value="0" />
<max value="0" />
<path value="Quantity.comparator" />
<min value="0" />
<max value="1" />
</base>
<code value="code" />
</type>
<meaningWhenMissing value="If there is no comparator, then there is no modification of the value" />
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="true" />
<isModifierReason value="This is labeled as "Is Modifier" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value" />
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="QuantityComparator" />
</extension>
<strength value="required" />
<description value="How the Quantity should be understood and represented." />
<valueSet value="http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="SN.1 / CQ.1" />
</mapping>
<identity value="rim" />
<map value="IVL properties" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.low.unit">
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
<valueBoolean value="true" />
</extension>
<path value="MedicationStatement.dosage.timing.repeat.bounds[x].low.unit" />
<short value="Unit representation" />
<definition value="A human-readable form of the unit." />
<comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
<requirements value="There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms." />
<min value="0" />
<max value="1" />
<path value="Quantity.unit" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="(see OBX.6 etc.) / CQ.2" />
</mapping>
<identity value="rim" />
<map value="PQ.unit" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.low.system">
<path value="MedicationStatement.dosage.timing.repeat.bounds[x].low.system" />
<short value="System that defines coded unit form" />
<definition value="The identification of the system that provides the coded form of the unit." />
<comment value="see http://en.wikipedia.org/wiki/Uniform_resource_identifier" />
<requirements value="Need to know the system that defines the coded form of the unit." />
<min value="1" />
<max value="1" />
<path value="Quantity.system" />
<min value="0" />
<max value="1" />
</base>
<code value="uri" />
</type>
<condition value="ele-1" />
<condition value="qty-3" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="(see OBX.6 etc.) / CQ.2" />
</mapping>
<identity value="rim" />
<map value="CO.codeSystem, PQ.translation.codeSystem" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.low.code">
<path value="MedicationStatement.dosage.timing.repeat.bounds[x].low.code" />
<short value="Coded form of the unit" />
<definition value="A computer processable form of the unit in some unit representation system." />
<comment value="The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system." />
<requirements value="Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest." />
<min value="1" />
<max value="1" />
<path value="Quantity.code" />
<min value="0" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="(see OBX.6 etc.) / CQ.2" />
</mapping>
<identity value="rim" />
<map value="PQ.code, MO.currency, PQ.translation.code" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.high">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.dosage.timing.repeat.bounds[x].high" />
<short value="High limit" />
<definition value="The high limit. The boundary is inclusive." />
<comment value="If the high element is missing, the high boundary is not known." />
<min value="0" />
<max value="1" />
<path value="Range.high" />
<min value="0" />
<max value="1" />
</base>
<code value="Quantity" />
<profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity" />
</type>
<system value="http://unitsofmeasure.org" />
</patternQuantity>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="qty-3" />
<severity value="error" />
<human value="If a code for the unit is present, the system SHALL also be present" />
<expression value="code.empty() or system.exists()" />
<xpath value="not(exists(f:code)) or exists(f:system)" />
<source value="http://hl7.org/fhir/StructureDefinition/Quantity" />
</constraint>
<key value="sqty-1" />
<severity value="error" />
<human value="The comparator is not used on a SimpleQuantity" />
<expression value="comparator.empty()" />
<xpath value="not(exists(f:comparator))" />
<source value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity" />
</constraint>
<mustSupport value="true" />
<isModifier value="false" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="SN (see also Range) or CQ" />
</mapping>
<identity value="rim" />
<map value="PQ, IVL<PQ>, MO, CO, depending on the values" />
</mapping>
<identity value="v2" />
<map value="NR.2" />
</mapping>
<identity value="rim" />
<map value="./high" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.high.id">
<path value="MedicationStatement.dosage.timing.repeat.bounds[x].high.id" />
<representation value="xmlAttr" />
<short value="Unique id for inter-element referencing" />
<definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string" />
</extension>
<code value="http://hl7.org/fhirpath/System.String" />
</type>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.high.extension">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.dosage.timing.repeat.bounds[x].high.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.high.value">
<path value="MedicationStatement.dosage.timing.repeat.bounds[x].high.value" />
<short value="Numerical value (with implicit precision)" />
<definition value="The value of the measured amount. The value includes an implicit precision in the presentation of the value." />
<comment value="The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)." />
<requirements value="Precision is handled implicitly in almost all cases of measurement." />
<min value="1" />
<max value="1" />
<path value="Quantity.value" />
<min value="0" />
<max value="1" />
</base>
<code value="decimal" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="SN.2 / CQ - N/A" />
</mapping>
<identity value="rim" />
<map value="PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.high.comparator">
<path value="MedicationStatement.dosage.timing.repeat.bounds[x].high.comparator" />
<short value="< | <= | >= | > - how to understand the value" />
<definition value="Not allowed to be used in this context" />
<comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
<requirements value="Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology." />
<min value="0" />
<max value="0" />
<path value="Quantity.comparator" />
<min value="0" />
<max value="1" />
</base>
<code value="code" />
</type>
<meaningWhenMissing value="If there is no comparator, then there is no modification of the value" />
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="true" />
<isModifierReason value="This is labeled as "Is Modifier" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value" />
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="QuantityComparator" />
</extension>
<strength value="required" />
<description value="How the Quantity should be understood and represented." />
<valueSet value="http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="SN.1 / CQ.1" />
</mapping>
<identity value="rim" />
<map value="IVL properties" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.high.unit">
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
<valueBoolean value="true" />
</extension>
<path value="MedicationStatement.dosage.timing.repeat.bounds[x].high.unit" />
<short value="Unit representation" />
<definition value="A human-readable form of the unit." />
<comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
<requirements value="There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms." />
<min value="0" />
<max value="1" />
<path value="Quantity.unit" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="(see OBX.6 etc.) / CQ.2" />
</mapping>
<identity value="rim" />
<map value="PQ.unit" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.high.system">
<path value="MedicationStatement.dosage.timing.repeat.bounds[x].high.system" />
<short value="System that defines coded unit form" />
<definition value="The identification of the system that provides the coded form of the unit." />
<comment value="see http://en.wikipedia.org/wiki/Uniform_resource_identifier" />
<requirements value="Need to know the system that defines the coded form of the unit." />
<min value="1" />
<max value="1" />
<path value="Quantity.system" />
<min value="0" />
<max value="1" />
</base>
<code value="uri" />
</type>
<condition value="ele-1" />
<condition value="qty-3" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="(see OBX.6 etc.) / CQ.2" />
</mapping>
<identity value="rim" />
<map value="CO.codeSystem, PQ.translation.codeSystem" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.high.code">
<path value="MedicationStatement.dosage.timing.repeat.bounds[x].high.code" />
<short value="Coded form of the unit" />
<definition value="A computer processable form of the unit in some unit representation system." />
<comment value="The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system." />
<requirements value="Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest." />
<min value="1" />
<max value="1" />
<path value="Quantity.code" />
<min value="0" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="(see OBX.6 etc.) / CQ.2" />
</mapping>
<identity value="rim" />
<map value="PQ.code, MO.currency, PQ.translation.code" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.bounds[x]:boundsPeriod">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.dosage.timing.repeat.bounds[x]" />
<sliceName value="boundsPeriod" />
<short value="Length/Range of lengths, or (Start and/or end) limits" />
<definition value="Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule." />
<min value="0" />
<max value="1" />
<path value="Timing.repeat.bounds[x]" />
<min value="0" />
<max value="1" />
</base>
<code value="Period" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="IVL(TS) used in a QSI" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.bounds[x]:boundsPeriod.id">
<path value="MedicationStatement.dosage.timing.repeat.bounds[x].id" />
<representation value="xmlAttr" />
<short value="Unique id for inter-element referencing" />
<definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string" />
</extension>
<code value="http://hl7.org/fhirpath/System.String" />
</type>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.bounds[x]:boundsPeriod.extension">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.dosage.timing.repeat.bounds[x].extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.bounds[x]:boundsPeriod.start">
<path value="MedicationStatement.dosage.timing.repeat.bounds[x].start" />
<short value="Starting time with inclusive boundary" />
<definition value="The start of the period. The boundary is inclusive." />
<comment value="If the low element is missing, the meaning is that the low boundary is not known." />
<min value="0" />
<max value="1" />
<path value="Period.start" />
<min value="0" />
<max value="1" />
</base>
<code value="dateTime" />
</type>
<condition value="ele-1" />
<condition value="per-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="DR.1" />
</mapping>
<identity value="rim" />
<map value="./low" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.bounds[x]:boundsPeriod.end">
<path value="MedicationStatement.dosage.timing.repeat.bounds[x].end" />
<short value="End time with inclusive boundary, if not ongoing" />
<definition value="The end of the period. If the end of the period is missing, it means no end was known or planned at the time the instance was created. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time." />
<comment value="The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has an end value of 2012-02-03." />
<min value="0" />
<max value="1" />
<path value="Period.end" />
<min value="0" />
<max value="1" />
</base>
<code value="dateTime" />
</type>
<meaningWhenMissing value="If the end of the period is missing, it means that the period is ongoing" />
<condition value="ele-1" />
<condition value="per-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="DR.2" />
</mapping>
<identity value="rim" />
<map value="./high" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.count">
<path value="MedicationStatement.dosage.timing.repeat.count" />
<short value="Number of times to repeat" />
<definition value="A total count of the desired number of repetitions across the duration of the entire timing specification. If countMax is present, this element indicates the lower bound of the allowed range of count values." />
<comment value="If you have both bounds and count, then this should be understood as within the bounds period, until count times happens." />
<requirements value="Repetitions may be limited by end time or total occurrences." />
<min value="0" />
<max value="1" />
<path value="Timing.repeat.count" />
<min value="0" />
<max value="1" />
</base>
<code value="positiveInt" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="PIVL.count" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.countMax">
<path value="MedicationStatement.dosage.timing.repeat.countMax" />
<short value="Maximum number of times to repeat" />
<definition value="If present, indicates that the count is a range - so to perform the action between [count] and [countMax] times." />
<comment value="32 bit number; for values larger than this, use decimal" />
<min value="0" />
<max value="1" />
<path value="Timing.repeat.countMax" />
<min value="0" />
<max value="1" />
</base>
<code value="positiveInt" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="PIVL.count" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.duration">
<path value="MedicationStatement.dosage.timing.repeat.duration" />
<short value="How long when it happens" />
<definition value="How long this thing happens for when it happens. If durationMax is present, this element indicates the lower bound of the allowed range of the duration." />
<comment value="For some events the duration is part of the definition of the event (e.g. IV infusions, where the duration is implicit in the specified quantity and rate). For others, it's part of the timing specification (e.g. exercise)." />
<requirements value="Some activities are not instantaneous and need to be maintained for a period of time." />
<min value="0" />
<max value="1" />
<path value="Timing.repeat.duration" />
<min value="0" />
<max value="1" />
</base>
<code value="decimal" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="PIVL.phase" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.durationMax">
<path value="MedicationStatement.dosage.timing.repeat.durationMax" />
<short value="How long when it happens (Max)" />
<definition value="If present, indicates that the duration is a range - so to perform the action between [duration] and [durationMax] time length." />
<comment value="For some events the duration is part of the definition of the event (e.g. IV infusions, where the duration is implicit in the specified quantity and rate). For others, it's part of the timing specification (e.g. exercise)." />
<requirements value="Some activities are not instantaneous and need to be maintained for a period of time." />
<min value="0" />
<max value="1" />
<path value="Timing.repeat.durationMax" />
<min value="0" />
<max value="1" />
</base>
<code value="decimal" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="PIVL.phase" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.durationUnit">
<path value="MedicationStatement.dosage.timing.repeat.durationUnit" />
<short value="s | min | h | d | wk | mo | a - unit of time (UCUM)" />
<definition value="The units of time for the duration, in UCUM units." />
<comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Timing.repeat.durationUnit" />
<min value="0" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="UnitsOfTime" />
</extension>
<strength value="required" />
<description value="A unit of time (units from UCUM)." />
<valueSet value="http://hl7.org/fhir/ValueSet/units-of-time|4.0.1" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="PIVL.phase.unit" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.frequency">
<path value="MedicationStatement.dosage.timing.repeat.frequency" />
<short value="Event occurs frequency times per period" />
<definition value="The number of times to repeat the action within the specified period. If frequencyMax is present, this element indicates the lower bound of the allowed range of the frequency." />
<comment value="32 bit number; for values larger than this, use decimal" />
<min value="0" />
<max value="1" />
<path value="Timing.repeat.frequency" />
<min value="0" />
<max value="1" />
</base>
<code value="positiveInt" />
</type>
<meaningWhenMissing value="If no frequency is stated, the assumption is that the event occurs once per period, but systems SHOULD always be specific about this" />
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="PIVL.phase" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.frequencyMax">
<path value="MedicationStatement.dosage.timing.repeat.frequencyMax" />
<short value="Event occurs up to frequencyMax times per period" />
<definition value="If present, indicates that the frequency is a range - so to repeat between [frequency] and [frequencyMax] times within the period or period range." />
<comment value="32 bit number; for values larger than this, use decimal" />
<min value="0" />
<max value="1" />
<path value="Timing.repeat.frequencyMax" />
<min value="0" />
<max value="1" />
</base>
<code value="positiveInt" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="PIVL.phase" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.period">
<path value="MedicationStatement.dosage.timing.repeat.period" />
<short value="Event occurs frequency times per period" />
<definition value="Indicates the duration of time over which repetitions are to occur; e.g. to express "3 times per day", 3 would be the frequency and "1 day" would be the period. If periodMax is present, this element indicates the lower bound of the allowed range of the period length." />
<comment value="Do not use an IEEE type floating point type, instead use something that works like a true decimal, with inbuilt precision (e.g. Java BigInteger)" />
<min value="0" />
<max value="1" />
<path value="Timing.repeat.period" />
<min value="0" />
<max value="1" />
</base>
<code value="decimal" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="PIVL.phase" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.periodMax">
<path value="MedicationStatement.dosage.timing.repeat.periodMax" />
<short value="Upper limit of period (3-4 hours)" />
<definition value="If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as "do this once every 3-5 days." />
<comment value="Do not use an IEEE type floating point type, instead use something that works like a true decimal, with inbuilt precision (e.g. Java BigInteger)" />
<min value="0" />
<max value="1" />
<path value="Timing.repeat.periodMax" />
<min value="0" />
<max value="1" />
</base>
<code value="decimal" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="PIVL.phase" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.periodUnit">
<path value="MedicationStatement.dosage.timing.repeat.periodUnit" />
<short value="s | min | h | d | wk | mo | a - unit of time (UCUM)" />
<definition value="The units of time for the period in UCUM units." />
<comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Timing.repeat.periodUnit" />
<min value="0" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="UnitsOfTime" />
</extension>
<strength value="required" />
<description value="A unit of time (units from UCUM)." />
<valueSet value="http://hl7.org/fhir/ValueSet/units-of-time|4.0.1" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="PIVL.phase.unit" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.dayOfWeek">
<path value="MedicationStatement.dosage.timing.repeat.dayOfWeek" />
<short value="mon | tue | wed | thu | fri | sat | sun" />
<definition value="If one or more days of week is provided, then the action happens only on the specified day(s)." />
<comment value="If no days are specified, the action is assumed to happen every day as otherwise specified. The elements frequency and period cannot be used as well as dayOfWeek." />
<min value="0" />
<max value="*" />
<path value="Timing.repeat.dayOfWeek" />
<min value="0" />
<max value="*" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="DayOfWeek" />
</extension>
<strength value="required" />
<valueSet value="http://hl7.org/fhir/ValueSet/days-of-week|4.0.1" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.timeOfDay">
<path value="MedicationStatement.dosage.timing.repeat.timeOfDay" />
<short value="Time of day for action" />
<definition value="Specified time of day for action to take place." />
<comment value="When time of day is specified, it is inferred that the action happens every day (as filtered by dayofWeek) on the specified times. The elements when, frequency and period cannot be used as well as timeOfDay." />
<min value="0" />
<max value="*" />
<path value="Timing.repeat.timeOfDay" />
<min value="0" />
<max value="*" />
</base>
<code value="time" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.when">
<path value="MedicationStatement.dosage.timing.repeat.when" />
<short value="Code for time period of occurrence" />
<definition value="An approximate time period during the day, potentially linked to an event of daily living that indicates when the action should occur." />
<comment value="When more than one event is listed, the event is tied to the union of the specified events." />
<requirements value="Timings are frequently determined by occurrences such as waking, eating and sleep." />
<min value="0" />
<max value="*" />
<path value="Timing.repeat.when" />
<min value="0" />
<max value="*" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="EventTiming" />
</extension>
<strength value="required" />
<description value="Real world event relating to the schedule." />
<valueSet value="http://hl7.org/fhir/ValueSet/event-timing|4.0.1" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="EIVL.event" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.repeat.offset">
<path value="MedicationStatement.dosage.timing.repeat.offset" />
<short value="Minutes from event (before or after)" />
<definition value="The number of minutes from the event. If the event code does not indicate whether the minutes is before or after the event, then the offset is assumed to be after the event." />
<comment value="32 bit number; for values larger than this, use decimal" />
<min value="0" />
<max value="1" />
<path value="Timing.repeat.offset" />
<min value="0" />
<max value="1" />
</base>
<code value="unsignedInt" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="EIVL.offset" />
</mapping>
</element>
<element id="MedicationStatement.dosage.timing.code">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.dosage.timing.code" />
<short value="BID | TID | QID | AM | PM | QD | QOD | +" />
<definition value="A code for the timing schedule (or just text in code.text). Some codes such as BID are ubiquitous, but many institutions define their own additional codes. If a code is provided, the code is understood to be a complete statement of whatever is specified in the structured timing data, and either the code or the data may be used to interpret the Timing, with the exception that .repeat.bounds still applies over the code (and is not contained in the code)." />
<comment value="BID etc. are defined as 'at institutionally specified times'. For example, an institution may choose that BID is "always at 7am and 6pm". If it is inappropriate for this choice to be made, the code BID should not be used. Instead, a distinct organization-specific code should be used in place of the HL7-defined BID code and/or a structured representation should be used (in this case, specifying the two event times)." />
<min value="0" />
<max value="1" />
<path value="Timing.code" />
<min value="0" />
<max value="1" />
</base>
<code value="CodeableConcept" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="TimingAbbreviation" />
</extension>
<strength value="preferred" />
<description value="Code for a known / defined timing pattern." />
<valueSet value="http://hl7.org/fhir/ValueSet/timing-abbreviation" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CE/CNE/CWE" />
</mapping>
<identity value="rim" />
<map value="CD" />
</mapping>
<identity value="orim" />
<map value="fhir:CodeableConcept rdfs:subClassOf dt:CD" />
</mapping>
<identity value="rim" />
<map value="QSC.code" />
</mapping>
</element>
<element id="MedicationStatement.dosage.asNeeded[x]">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.dosage.asNeeded[x]" />
<type value="type" />
<path value="$this" />
</discriminator>
<ordered value="false" />
<rules value="open" />
</slicing>
<short value="Take "as needed" (for x)" />
<definition value="Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept)." />
<comment value="Can express "as needed" without a reason by setting the Boolean = True. In this case the CodeableConcept is not populated. Or you can express "as needed" with a reason by including the CodeableConcept. In this case the Boolean is assumed to be True. If you set the Boolean to False, then the dose is given according to the schedule and is not "prn" or "as needed"." />
<min value="0" />
<max value="1" />
<path value="Dosage.asNeeded[x]" />
<min value="0" />
<max value="1" />
</base>
<code value="boolean" />
</type>
<code value="CodeableConcept" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="MedicationAsNeededReason" />
</extension>
<strength value="example" />
<description value="A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example "pain", "30 minutes prior to sexual intercourse", "on flare-up" etc." />
<valueSet value="http://hl7.org/fhir/ValueSet/medication-as-needed-reason" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="TQ1-9" />
</mapping>
<identity value="rim" />
<map value=".outboundRelationship[typeCode=PRCN].target[classCode=OBS, moodCode=EVN, code="as needed"].value=boolean or codable concept" />
</mapping>
</element>
<element id="MedicationStatement.dosage.asNeeded[x]:asNeededBoolean">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.dosage.asNeeded[x]" />
<sliceName value="asNeededBoolean" />
<short value="Take "as needed" (for x)" />
<definition value="Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept)." />
<comment value="Can express "as needed" without a reason by setting the Boolean = True. In this case the CodeableConcept is not populated. Or you can express "as needed" with a reason by including the CodeableConcept. In this case the Boolean is assumed to be True. If you set the Boolean to False, then the dose is given according to the schedule and is not "prn" or "as needed"." />
<min value="0" />
<max value="1" />
<path value="Dosage.asNeeded[x]" />
<min value="0" />
<max value="1" />
</base>
<code value="boolean" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="TQ1-9" />
</mapping>
<identity value="rim" />
<map value=".outboundRelationship[typeCode=PRCN].target[classCode=OBS, moodCode=EVN, code="as needed"].value=boolean or codable concept" />
</mapping>
</element>
<element id="MedicationStatement.dosage.asNeeded[x]:asNeededCodeableConcept">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.dosage.asNeeded[x]" />
<sliceName value="asNeededCodeableConcept" />
<short value="Take "as needed" (for x)" />
<definition value="Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept)." />
<comment value="Can express "as needed" without a reason by setting the Boolean = True. In this case the CodeableConcept is not populated. Or you can express "as needed" with a reason by including the CodeableConcept. In this case the Boolean is assumed to be True. If you set the Boolean to False, then the dose is given according to the schedule and is not "prn" or "as needed"." />
<min value="0" />
<max value="1" />
<path value="Dosage.asNeeded[x]" />
<min value="0" />
<max value="1" />
</base>
<code value="CodeableConcept" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="MedicationAsNeededReason" />
</extension>
<strength value="example" />
<description value="A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example "pain", "30 minutes prior to sexual intercourse", "on flare-up" etc." />
<valueSet value="http://hl7.org/fhir/ValueSet/medication-as-needed-reason" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="TQ1-9" />
</mapping>
<identity value="rim" />
<map value=".outboundRelationship[typeCode=PRCN].target[classCode=OBS, moodCode=EVN, code="as needed"].value=boolean or codable concept" />
</mapping>
</element>
<element id="MedicationStatement.dosage.site">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.dosage.site" />
<short value="Verabreichungsort">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Verabreichungsort" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="Site of administration" />
</extension>
</extension>
</short>
<definition value="Körperstelle, an der das Medikament verabreicht wurde/wird oder werden soll.">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Körperstelle, an der das Medikament verabreicht wurde/wird oder werden soll." />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="Anatomic site where the medication was/is or should be administered." />
</extension>
</extension>
</definition>
<comment value="If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [bodySite](extension-bodysite.html). May be a summary code, or a reference to a very precise definition of the location, or both." />
<requirements value="A coded specification of the anatomic site where the medication first enters the body." />
<min value="0" />
<max value="1" />
<path value="Dosage.site" />
<min value="0" />
<max value="1" />
</base>
<code value="CodeableConcept" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="MedicationAdministrationSite" />
</extension>
<strength value="example" />
<description value="A coded concept describing the site location the medicine enters into or onto the body." />
<valueSet value="http://hl7.org/fhir/ValueSet/approach-site-codes" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CE/CNE/CWE" />
</mapping>
<identity value="rim" />
<map value="CD" />
</mapping>
<identity value="orim" />
<map value="fhir:CodeableConcept rdfs:subClassOf dt:CD" />
</mapping>
<identity value="v2" />
<map value="RXR-2" />
</mapping>
<identity value="rim" />
<map value=".approachSiteCode" />
</mapping>
</element>
<element id="MedicationStatement.dosage.site.id">
<path value="MedicationStatement.dosage.site.id" />
<representation value="xmlAttr" />
<short value="Unique id for inter-element referencing" />
<definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string" />
</extension>
<code value="http://hl7.org/fhirpath/System.String" />
</type>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="MedicationStatement.dosage.site.extension">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.dosage.site.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="MedicationStatement.dosage.site.coding">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.dosage.site.coding" />
<type value="pattern" />
<path value="$this" />
</discriminator>
<rules value="open" />
</slicing>
<short value="Code defined by a terminology system" />
<definition value="A reference to a code defined by a terminology system." />
<comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true." />
<requirements value="Allows for alternative encodings within a code system, and translations to other code systems." />
<min value="0" />
<max value="*" />
<path value="CodeableConcept.coding" />
<min value="0" />
<max value="*" />
</base>
<code value="Coding" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CE/CNE/CWE subset one of the sets of component 1-3 or 4-6" />
</mapping>
<identity value="rim" />
<map value="CV" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding rdfs:subClassOf dt:CDCoding" />
</mapping>
<identity value="v2" />
<map value="C*E.1-8, C*E.10-22" />
</mapping>
<identity value="rim" />
<map value="union(., ./translation)" />
</mapping>
<identity value="orim" />
<map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" />
</mapping>
</element>
<element id="MedicationStatement.dosage.site.coding:SNOMED">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.dosage.site.coding" />
<sliceName value="SNOMED" />
<short value="SNOMED CT Code">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="SNOMED CT Code" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="SNOMED CT code" />
</extension>
</extension>
</short>
<definition value="Ein Verweis auf einen von SNOMED CT definierten Code">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Ein Verweis auf einen von SNOMED CT definierten Code" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="A reference to a code defined by SNOMED CT" />
</extension>
</extension>
</definition>
<comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true." />
<requirements value="Allows for alternative encodings within a code system, and translations to other code systems." />
<min value="0" />
<max value="*" />
<path value="CodeableConcept.coding" />
<min value="0" />
<max value="*" />
</base>
<code value="Coding" />
</type>
<system value="http://snomed.info/sct" />
</patternCoding>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<strength value="example" />
<description value="target site IPS" />
<valueSet value="http://hl7.org/fhir/uv/ips/ValueSet/target-site-uv-ips" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CE/CNE/CWE subset one of the sets of component 1-3 or 4-6" />
</mapping>
<identity value="rim" />
<map value="CV" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding rdfs:subClassOf dt:CDCoding" />
</mapping>
<identity value="v2" />
<map value="C*E.1-8, C*E.10-22" />
</mapping>
<identity value="rim" />
<map value="union(., ./translation)" />
</mapping>
<identity value="orim" />
<map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" />
</mapping>
</element>
<element id="MedicationStatement.dosage.site.coding:SNOMED.id">
<path value="MedicationStatement.dosage.site.coding.id" />
<representation value="xmlAttr" />
<short value="Unique id for inter-element referencing" />
<definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string" />
</extension>
<code value="http://hl7.org/fhirpath/System.String" />
</type>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="MedicationStatement.dosage.site.coding:SNOMED.extension">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.dosage.site.coding.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="MedicationStatement.dosage.site.coding:SNOMED.system">
<path value="MedicationStatement.dosage.site.coding.system" />
<short value="Identity of the terminology system" />
<definition value="The identification of the code system that defines the meaning of the symbol in the code." />
<comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously." />
<requirements value="Need to be unambiguous about the source of the definition of the symbol." />
<min value="1" />
<max value="1" />
<path value="Coding.system" />
<min value="0" />
<max value="1" />
</base>
<code value="uri" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.3" />
</mapping>
<identity value="rim" />
<map value="./codeSystem" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
</mapping>
</element>
<element id="MedicationStatement.dosage.site.coding:SNOMED.version">
<path value="MedicationStatement.dosage.site.coding.version" />
<short value="Version of the system - if relevant" />
<definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
<comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
<min value="0" />
<max value="1" />
<path value="Coding.version" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.7" />
</mapping>
<identity value="rim" />
<map value="./codeSystemVersion" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
</mapping>
</element>
<element id="MedicationStatement.dosage.site.coding:SNOMED.code">
<path value="MedicationStatement.dosage.site.coding.code" />
<short value="Symbol in syntax defined by the system" />
<definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
<comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
<requirements value="Need to refer to a particular code in the system." />
<min value="1" />
<max value="1" />
<path value="Coding.code" />
<min value="0" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.1" />
</mapping>
<identity value="rim" />
<map value="./code" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
</mapping>
</element>
<element id="MedicationStatement.dosage.site.coding:SNOMED.display">
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
<valueBoolean value="true" />
</extension>
<path value="MedicationStatement.dosage.site.coding.display" />
<short value="Representation defined by the system" />
<definition value="A representation of the meaning of the code in the system, following the rules of the system." />
<comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
<requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know the system." />
<min value="0" />
<max value="1" />
<path value="Coding.display" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.2 - but note this is not well followed" />
</mapping>
<identity value="rim" />
<map value="CV.displayName" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
</mapping>
</element>
<element id="MedicationStatement.dosage.site.coding:SNOMED.userSelected">
<path value="MedicationStatement.dosage.site.coding.userSelected" />
<short value="If this coding was chosen directly by the user" />
<definition value="Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)." />
<comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
<requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
<min value="0" />
<max value="1" />
<path value="Coding.userSelected" />
<min value="0" />
<max value="1" />
</base>
<code value="boolean" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="Sometimes implied by being first" />
</mapping>
<identity value="rim" />
<map value="CD.codingRationale" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]" />
</mapping>
</element>
<element id="MedicationStatement.dosage.site.text">
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
<valueBoolean value="true" />
</extension>
<path value="MedicationStatement.dosage.site.text" />
<short value="Plain text representation of the concept" />
<definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user." />
<comment value="Very often the text is the same as a displayName of one of the codings." />
<requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source." />
<min value="0" />
<max value="1" />
<path value="CodeableConcept.text" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.9. But note many systems use C*E.2 for this" />
</mapping>
<identity value="rim" />
<map value="./originalText[mediaType/code="text/plain"]/data" />
</mapping>
<identity value="orim" />
<map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" />
</mapping>
</element>
<element id="MedicationStatement.dosage.route">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.dosage.route" />
<short value="Verabreichungsweg">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Verabreichungsweg" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="Route of administration" />
</extension>
</extension>
</short>
<definition value="Der Weg, auf dem das Medikament verabreicht wurde/wird oder werden soll.">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Der Weg, auf dem das Medikament verabreicht wurde/wird oder werden soll." />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="How drug was administered or should be administered." />
</extension>
</extension>
</definition>
<comment value="Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination." />
<requirements value="A code specifying the route or physiological path of administration of a therapeutic agent into or onto a patient's body." />
<min value="0" />
<max value="1" />
<path value="Dosage.route" />
<min value="0" />
<max value="1" />
</base>
<code value="CodeableConcept" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="RouteOfAdministration" />
</extension>
<strength value="example" />
<description value="A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject." />
<valueSet value="http://hl7.org/fhir/ValueSet/route-codes" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CE/CNE/CWE" />
</mapping>
<identity value="rim" />
<map value="CD" />
</mapping>
<identity value="orim" />
<map value="fhir:CodeableConcept rdfs:subClassOf dt:CD" />
</mapping>
<identity value="v2" />
<map value="RXR-1" />
</mapping>
<identity value="rim" />
<map value=".routeCode" />
</mapping>
</element>
<element id="MedicationStatement.dosage.route.id">
<path value="MedicationStatement.dosage.route.id" />
<representation value="xmlAttr" />
<short value="Unique id for inter-element referencing" />
<definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string" />
</extension>
<code value="http://hl7.org/fhirpath/System.String" />
</type>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="MedicationStatement.dosage.route.extension">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.dosage.route.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="MedicationStatement.dosage.route.coding">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.dosage.route.coding" />
<type value="pattern" />
<path value="$this" />
</discriminator>
<rules value="open" />
</slicing>
<short value="Code defined by a terminology system" />
<definition value="A reference to a code defined by a terminology system." />
<comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true." />
<requirements value="Allows for alternative encodings within a code system, and translations to other code systems." />
<min value="0" />
<max value="*" />
<path value="CodeableConcept.coding" />
<min value="0" />
<max value="*" />
</base>
<code value="Coding" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CE/CNE/CWE subset one of the sets of component 1-3 or 4-6" />
</mapping>
<identity value="rim" />
<map value="CV" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding rdfs:subClassOf dt:CDCoding" />
</mapping>
<identity value="v2" />
<map value="C*E.1-8, C*E.10-22" />
</mapping>
<identity value="rim" />
<map value="union(., ./translation)" />
</mapping>
<identity value="orim" />
<map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" />
</mapping>
</element>
<element id="MedicationStatement.dosage.route.coding:EDQM">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<path value="MedicationStatement.dosage.route.coding" />
<sliceName value="EDQM" />
<short value="EDQM Code">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="EDQM Code" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="EDQM code" />
</extension>
</extension>
</short>
<definition value="Ein Verweis auf einen durch EDQM Standard Terms definierten Code">
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="de-DE" />
</extension>
<extension url="content">
<valueString value="Ein Verweis auf einen durch EDQM Standard Terms definierten Code" />
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/translation">
<extension url="lang">
<valueCode value="en-US" />
</extension>
<extension url="content">
<valueString value="A reference to a code defined by EDQM Standard Terms" />
</extension>
</extension>
</definition>
<comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true." />
<requirements value="Allows for alternative encodings within a code system, and translations to other code systems." />
<min value="0" />
<max value="1" />
<path value="CodeableConcept.coding" />
<min value="0" />
<max value="*" />
</base>
<code value="Coding" />
</type>
<system value="http://standardterms.edqm.eu" />
</patternCoding>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<mustSupport value="true" />
<isSummary value="true" />
<strength value="preferred" />
<description value="EDQM Standard Terms" />
<valueSet value="http://hl7.org/fhir/uv/ips/ValueSet/medicine-route-of-administration" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CE/CNE/CWE subset one of the sets of component 1-3 or 4-6" />
</mapping>
<identity value="rim" />
<map value="CV" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding rdfs:subClassOf dt:CDCoding" />
</mapping>
<identity value="v2" />
<map value="C*E.1-8, C*E.10-22" />
</mapping>
<identity value="rim" />
<map value="union(., ./translation)" />
</mapping>
<identity value="orim" />
<map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" />
</mapping>
</element>
<element id="MedicationStatement.dosage.route.coding:EDQM.id">
<path value="MedicationStatement.dosage.route.coding.id" />
<representation value="xmlAttr" />
<short value="Unique id for inter-element referencing" />
<definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string" />
</extension>
<code value="http://hl7.org/fhirpath/System.String" />
</type>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="MedicationStatement.dosage.route.coding:EDQM.extension">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<