<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="gem-erp-sr-log-prescription-request-confirmation" />
  <url value="https://gematik.de/fhir/erp-servicerequest/StructureDefinition/gem-erp-sr-log-prescription-request-confirmation" />
  <version value="1.2.0" />
  <name value="GEM_ERP_SR_LOG_PrescriptionRequest_Confirmation" />
  <title value="Rezeptanforderung_Bestätigung" />
  <status value="active" />
  <experimental value="false" />
  <date value="2025-07-31" />
  <publisher value="gematik GmbH" />
  <description value="Fachliches Modell zur Beschreibung einer Bestätigung einer Rezeptanforderung" />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
    <uri value="ERPServiceRequestPrescriptionRequest" />
    <name value="Rezeptanforderung Bestätigung Fachliches Mapping" />
    <comment value="Mapping des Fachmodells aus GEM_ERP_SR_LOG_PrescriptionRequest_Confirmation auf das FHIR-Modell ERPServiceRequestPrescriptionRequest" />
  </mapping>
  <mapping>
    <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
    <name value="Quelle der Rezeptanforderung Bestätigung Informationen" />
    <comment value="Beschreibt die Quelle der Rezeptanforderung Bestätigung Informatione" />
  </mapping>
  <kind value="logical" />
  <abstract value="false" />
  <type value="https://gematik.de/fhir/erp-servicerequest/StructureDefinition/gem-erp-sr-log-prescription-request-confirmation" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element" />
  <derivation value="specialization" />
  <snapshot>
    <element id="gem-erp-sr-log-prescription-request-confirmation">
      <path value="gem-erp-sr-log-prescription-request-confirmation" />
      <short value="Rezeptanforderung_Bestätigung" />
      <definition value="Fachliches Modell zur Beschreibung einer Bestätigung einer Rezeptanforderung" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="gem-erp-sr-log-prescription-request-confirmation" />
        <min value="0" />
        <max value="*" />
      </base>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="log-prescription-request-confirmation-1" />
        <severity value="error" />
        <human value="Wenn eine Anfrage bestätigt wird (status = 'completed'), muss der E-Rezept Token vorhanden sein." />
        <source value="https://gematik.de/fhir/erp-servicerequest/StructureDefinition/gem-erp-sr-log-prescription-request-confirmation" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.id">
      <path value="gem-erp-sr-log-prescription-request-confirmation.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" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string" />
        </extension>
        <code value="http://hl7.org/fhirpath/System.String" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.extension">
      <path value="gem-erp-sr-log-prescription-request-confirmation.extension" />
      <slicing>
        <discriminator>
          <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="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <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>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten">
      <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="gem-erp-sr-log-prescription-request-confirmation.MetaDaten" />
      <short value="Metadaten im MessageHeader" />
      <definition value="Metadaten im MessageHeader" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Erstellendes PVS" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.id">
      <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.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" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string" />
        </extension>
        <code value="http://hl7.org/fhirpath/System.String" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.extension">
      <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.extension" />
      <slicing>
        <discriminator>
          <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="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <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>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.modifierExtension">
      <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.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.&#xA;&#xA;Modifier 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="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <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" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Empfaenger">
      <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="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Empfaenger" />
      <short value="Empfänger der Nachricht" />
      <definition value="Empfänger der Nachricht" />
      <min value="1" />
      <max value="*" />
      <base>
        <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Empfaenger" />
        <min value="1" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.destination" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Aus initialer Rezeptanforderung" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Empfaenger.id">
      <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Empfaenger.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" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string" />
        </extension>
        <code value="http://hl7.org/fhirpath/System.String" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Empfaenger.extension">
      <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Empfaenger.extension" />
      <slicing>
        <discriminator>
          <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="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <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>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Empfaenger.modifierExtension">
      <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Empfaenger.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.&#xA;&#xA;Modifier 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="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <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" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Empfaenger.KIMAdresse">
      <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Empfaenger.KIMAdresse" />
      <short value="KIM-Adresse des Empfängers" />
      <definition value="KIM-Adresse des Empfängers" />
      <comment value="see http://en.wikipedia.org/wiki/Uniform_resource_identifier" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Empfaenger.KIMAdresse" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="url" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.destination.endpoint" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Aus initialer Rezeptanforderung (KIM Nachricht)" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Empfaenger.TelematikID">
      <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Empfaenger.TelematikID" />
      <short value="Telematik-ID des Absenders" />
      <definition value="Telematik-ID des Absenders" />
      <comment value="see http://en.wikipedia.org/wiki/Uniform_resource_identifier" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Empfaenger.TelematikID" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="url" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.destination.receiver.identifier.value" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Aus initialer Rezeptanforderung" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Absender">
      <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="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Absender" />
      <short value="Absender der Nachricht" />
      <definition value="Absender der Nachricht" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Absender" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.sender" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Erstellendes PVS" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Absender.id">
      <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Absender.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" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string" />
        </extension>
        <code value="http://hl7.org/fhirpath/System.String" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Absender.extension">
      <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Absender.extension" />
      <slicing>
        <discriminator>
          <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="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <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>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Absender.modifierExtension">
      <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Absender.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.&#xA;&#xA;Modifier 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="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <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" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Absender.TelematikID">
      <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Absender.TelematikID" />
      <short value="Telematik-ID des Absenders" />
      <definition value="Telematik-ID des Absenders" />
      <comment value="see http://en.wikipedia.org/wiki/Uniform_resource_identifier" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Absender.TelematikID" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="url" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.sender.identifier.value" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Erstellendes PVS, SMC-B oder HBA Zertifikat" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Absender.Name">
      <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Absender.Name" />
      <short value="Name des Absenders" />
      <definition value="Name des Absenders" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Absender.Name" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.sender.display" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Erstellendes PVS" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem">
      <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="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem" />
      <short value="Absendendes System" />
      <definition value="Absendendes System" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.source" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Erstellendes PVS" />
        <comment value="Automatisiert durch Software gesetzt" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem.id">
      <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem.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" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string" />
        </extension>
        <code value="http://hl7.org/fhirpath/System.String" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem.extension">
      <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem.extension" />
      <slicing>
        <discriminator>
          <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="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <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>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem.modifierExtension">
      <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem.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.&#xA;&#xA;Modifier 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="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <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" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem.Name">
      <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem.Name" />
      <short value="Name des Herstellers des absendenden Systems" />
      <definition value="Name des Herstellers des absendenden Systems" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem.Name" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.source.name" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Erstellendes PVS" />
        <comment value="Automatisiert durch Software gesetzt" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem.Software">
      <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem.Software" />
      <short value="Name der Software des absendenden Systems" />
      <definition value="Name der Software des absendenden Systems" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem.Software" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.source.software" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Erstellendes PVS" />
        <comment value="Automatisiert durch Software gesetzt" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem.Version">
      <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem.Version" />
      <short value="Version des absendenden Systems" />
      <definition value="Version des absendenden Systems" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem.Version" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.source.version" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Erstellendes PVS" />
        <comment value="Automatisiert durch Software gesetzt" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem.EMailKontakt">
      <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem.EMailKontakt" />
      <short value="E-Mail-Kontakt des absendenden Systems" />
      <definition value="E-Mail-Kontakt des absendenden Systems" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem.EMailKontakt" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.source.contact.value" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Erstellendes PVS" />
        <comment value="Automatisiert durch Software gesetzt" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem.Website">
      <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem.Website" />
      <short value="Website des absendenden Systems" />
      <definition value="Website des absendenden Systems" />
      <comment value="see http://en.wikipedia.org/wiki/Uniform_resource_identifier" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem.Website" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="url" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.source.endpoint" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Erstellendes PVS" />
        <comment value="Automatisiert durch Software gesetzt" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.ERezeptToken">
      <path value="gem-erp-sr-log-prescription-request-confirmation.ERezeptToken" />
      <short value="E-Rezept-Token" />
      <definition value="Token der für die Einlösung der Verordnung gebraucht wird. Angabe nach gemSpec_DM_eRp#A_19554. Ein Arzt kann sich entscheiden für eine Anfrage mehrere Rezepte auszustellen, daher ist die Angabe von mehreren Token erlaubt" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="1" />
      <max value="*" />
      <base>
        <path value="gem-erp-sr-log-prescription-request-confirmation.ERezeptToken" />
        <min value="1" />
        <max value="*" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="log-prescription-request-confirmation-1" />
        <severity value="error" />
        <human value="Wenn eine Anfrage bestätigt wird (status = 'completed'), muss der E-Rezept Token vorhanden sein." />
        <source value="https://gematik.de/fhir/erp-servicerequest/StructureDefinition/gem-erp-sr-log-prescription-request-confirmation" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestPrescriptionRequest.extension:EPrescriptionToken" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="E-Rezept-Fachdienst" />
        <comment value="Token lässt sich aus den Informationen des E-Rezept Fachdienstes erzeugen" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Status">
      <path value="gem-erp-sr-log-prescription-request-confirmation.Status" />
      <short value="Status" />
      <definition value="Status der Anforderung. Wird genutzt, um den Bearbeitungsstand einer Anfrage zu verfolgen. Im Falle der Bestätigung der Rezeptanforderung wird eine Anfrage mit dem Status 'completed' geschickt." />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="gem-erp-sr-log-prescription-request-confirmation.Status" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="log-prescription-request-confirmation-1" />
        <severity value="error" />
        <human value="Wenn eine Anfrage bestätigt wird (status = 'completed'), muss der E-Rezept Token vorhanden sein." />
        <source value="https://gematik.de/fhir/erp-servicerequest/StructureDefinition/gem-erp-sr-log-prescription-request-confirmation" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestPrescriptionRequest.status" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="PVS" />
        <comment value="Setzt den Status der Anfrage auf 'completed'" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.VorgangsID">
      <path value="gem-erp-sr-log-prescription-request-confirmation.VorgangsID" />
      <short value="ID des Vorgangs" />
      <definition value="Wird vom initialen Sender gesetzt und muss in der Antwort mitgeführt werden." />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="gem-erp-sr-log-prescription-request-confirmation.VorgangsID" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestPrescriptionRequest.identifier:requestId.value" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Rezeptanforderung" />
        <comment value="VorgangsID aus der initialen Rezeptanforderung" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.VersichertenEinloesung">
      <path value="gem-erp-sr-log-prescription-request-confirmation.VersichertenEinloesung" />
      <short value="Versicherten Einlösung" />
      <definition value="Angabe, ob der Versicherte das E-Rezept selbst einlösen möchte." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="gem-erp-sr-log-prescription-request-confirmation.VersichertenEinloesung" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestPrescriptionRequest.extension:redeemByPatient.valueBoolean" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Rezeptanforderung" />
        <comment value="Aus der initialen Rezeptanforderung" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Freitext">
      <path value="gem-erp-sr-log-prescription-request-confirmation.Freitext" />
      <short value="Freitext" />
      <definition value="Individuelle Nachricht an den Empfänger" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="gem-erp-sr-log-prescription-request-confirmation.Freitext" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestPrescriptionRequest.note" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Nutzer des PVS" />
        <comment value="Abfrage im Moment der Bestätigung" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Anhaenge">
      <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="gem-erp-sr-log-prescription-request-confirmation.Anhaenge" />
      <short value="Anhänge" />
      <definition value="Anhänge zur Bestätigung. Das können PDFs, Bilder oder andere Dokumente sein." />
      <comment value="Werden auf Ebene der KIM-Nachricht angehangen" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="gem-erp-sr-log-prescription-request-confirmation.Anhaenge" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Attachment" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="att-1" />
        <severity value="error" />
        <human value="If the Attachment has data, it SHALL have a contentType" />
        <expression value="data.empty() or contentType.exists()" />
        <xpath value="not(exists(f:data)) or exists(f:contentType)" />
        <source value="http://hl7.org/fhir/StructureDefinition/Attachment" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="ED/RP" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="ED" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Nutzer oder PVS" />
        <comment value="Angabe im Moment der Bestätigung" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Anhaenge.id">
      <path value="gem-erp-sr-log-prescription-request-confirmation.Anhaenge.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" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string" />
        </extension>
        <code value="http://hl7.org/fhirpath/System.String" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Anhaenge.extension">
      <path value="gem-erp-sr-log-prescription-request-confirmation.Anhaenge.extension" />
      <slicing>
        <discriminator>
          <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="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <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>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Anhaenge.contentType">
      <path value="gem-erp-sr-log-prescription-request-confirmation.Anhaenge.contentType" />
      <short value="Mime type of the content, with charset etc." />
      <definition value="Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate." />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <requirements value="Processors of the data need to be able to know how to interpret the data." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Attachment.contentType" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <example>
        <label value="General" />
        <valueCode value="text/plain; charset=UTF-8, image/png" />
      </example>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MimeType" />
        </extension>
        <strength value="required" />
        <description value="The mime type of an attachment. Any valid mime type is allowed." />
        <valueSet value="http://hl7.org/fhir/ValueSet/mimetypes|4.0.1" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="ED.2+ED.3/RP.2+RP.3. Note conversion may be needed if old style values are being used" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./mediaType, ./charset" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Anhaenge.language">
      <path value="gem-erp-sr-log-prescription-request-confirmation.Anhaenge.language" />
      <short value="Human language of the content (BCP-47)" />
      <definition value="The human language of the content. The value can be any valid value according to BCP 47." />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <requirements value="Users need to be able to choose between the languages in a set of attachments." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Attachment.language" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <example>
        <label value="General" />
        <valueCode value="en-AU" />
      </example>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <binding>
        <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>
        <strength value="preferred" />
        <description value="A human language." />
        <valueSet value="http://hl7.org/fhir/ValueSet/languages" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./language" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Anhaenge.data">
      <path value="gem-erp-sr-log-prescription-request-confirmation.Anhaenge.data" />
      <short value="Data inline, base64ed" />
      <definition value="The actual data of the attachment - a sequence of bytes, base64 encoded." />
      <comment value="The base64-encoded data SHALL be expressed in the same character set as the base resource XML or JSON." />
      <requirements value="The data needs to able to be transmitted inline." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Attachment.data" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="base64Binary" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="ED.5" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./data" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Anhaenge.url">
      <path value="gem-erp-sr-log-prescription-request-confirmation.Anhaenge.url" />
      <short value="Uri where the data can be found" />
      <definition value="A location where the data can be accessed." />
      <comment value="If both data and url are provided, the url SHALL point to the same content as the data contains. Urls may be relative references or may reference transient locations such as a wrapping envelope using cid: though this has ramifications for using signatures. Relative URLs are interpreted relative to the service url, like a resource reference, rather than relative to the resource itself. If a URL is provided, it SHALL resolve to actual data." />
      <requirements value="The data needs to be transmitted by reference." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Attachment.url" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="url" />
      </type>
      <example>
        <label value="General" />
        <valueUrl value="http://www.acme.com/logo-small.png" />
      </example>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="RP.1+RP.2 - if they refer to a URL (see v2.6)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./reference/literal" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Anhaenge.size">
      <path value="gem-erp-sr-log-prescription-request-confirmation.Anhaenge.size" />
      <short value="Number of bytes of content (if url provided)" />
      <definition value="The number of bytes of data that make up this attachment (before base64 encoding, if that is done)." />
      <comment value="The number of bytes is redundant if the data is provided as a base64binary, but is useful if the data is provided as a url reference." />
      <requirements value="Representing the size allows applications to determine whether they should fetch the content automatically in advance, or refuse to fetch it at all." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Attachment.size" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="unsignedInt" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A (needs data type R3 proposal)" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Anhaenge.hash">
      <path value="gem-erp-sr-log-prescription-request-confirmation.Anhaenge.hash" />
      <short value="Hash of the data (sha-1, base64ed)" />
      <definition value="The calculated hash of the data using SHA-1. Represented using base64." />
      <comment value="The hash is calculated on the data prior to base64 encoding, if the data is based64 encoded. The hash is not intended to support digital signatures. Where protection against malicious threats a digital signature should be considered, see [Provenance.signature](provenance-definitions.html#Provenance.signature) for mechanism to protect a resource with a digital signature." />
      <requirements value="Included so that applications can verify that the contents of a location have not changed due to technical failures (e.g., storage rot, transport glitch, incorrect version)." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Attachment.hash" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="base64Binary" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".integrityCheck[parent::ED/integrityCheckAlgorithm=&quot;SHA-1&quot;]" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Anhaenge.title">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="gem-erp-sr-log-prescription-request-confirmation.Anhaenge.title" />
      <short value="Label to display in place of the data" />
      <definition value="A label or set of text to display in place of the data." />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <requirements value="Applications need a label to display to a human user in place of the actual data if the data cannot be rendered or perceived by the viewer." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Attachment.title" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <example>
        <label value="General" />
        <valueString value="Official Corporate Logo" />
      </example>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./title/data" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Anhaenge.creation">
      <path value="gem-erp-sr-log-prescription-request-confirmation.Anhaenge.creation" />
      <short value="Date attachment was first created" />
      <definition value="The date that the attachment was first created." />
      <requirements value="This is often tracked as an integrity issue for use of the attachment." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Attachment.creation" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="dateTime" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A (needs data type R3 proposal)" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Anhaenge.Medikationsplan">
      <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="gem-erp-sr-log-prescription-request-confirmation.Anhaenge.Medikationsplan" />
      <short value="Medikationsplan" />
      <definition value="Anhang des Medikationsplans" />
      <comment value="When providing a summary view (for example with Observation.value[x]) Attachment should be represented with a brief display text such as &quot;Signed Procedure Consent&quot;." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="gem-erp-sr-log-prescription-request-confirmation.Anhaenge.Medikationsplan" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Attachment" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="att-1" />
        <severity value="error" />
        <human value="If the Attachment has data, it SHALL have a contentType" />
        <expression value="data.empty() or contentType.exists()" />
        <xpath value="not(exists(f:data)) or exists(f:contentType)" />
        <source value="http://hl7.org/fhir/StructureDefinition/Attachment" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="ED/RP" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="ED" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Nutzer oder PVS" />
        <comment value="Aktualisierung und ggf. automatische Generierung vom PVS" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Anhaenge.weitereAnhaenge">
      <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="gem-erp-sr-log-prescription-request-confirmation.Anhaenge.weitereAnhaenge" />
      <short value="Weitere Anhänge" />
      <definition value="Weitere Anhänge" />
      <comment value="When providing a summary view (for example with Observation.value[x]) Attachment should be represented with a brief display text such as &quot;Signed Procedure Consent&quot;." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="gem-erp-sr-log-prescription-request-confirmation.Anhaenge.weitereAnhaenge" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Attachment" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="att-1" />
        <severity value="error" />
        <human value="If the Attachment has data, it SHALL have a contentType" />
        <expression value="data.empty() or contentType.exists()" />
        <xpath value="not(exists(f:data)) or exists(f:contentType)" />
        <source value="http://hl7.org/fhir/StructureDefinition/Attachment" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="ED/RP" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="ED" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Nutzer oder PVS" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.AenderungVerordnung">
      <path value="gem-erp-sr-log-prescription-request-confirmation.AenderungVerordnung" />
      <short value="Änderung der Verordnung" />
      <definition value="Gibt an, ob das verordnete Arzneimittel von dem angefragten abweicht." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="gem-erp-sr-log-prescription-request-confirmation.AenderungVerordnung" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestPrescriptionRequest.extension:medicationChanged" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Medikation">
      <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="gem-erp-sr-log-prescription-request-confirmation.Medikation" />
      <short value="Medikation" />
      <definition value="Angaben zur Medikation" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="gem-erp-sr-log-prescription-request-confirmation.Medikation" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestPrescriptionRequest.basedOn(ERPServiceRequestMedicationRequest)" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="PVS" />
        <comment value="Informationen aus Verordnungsdatensatz" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Medikation.id">
      <path value="gem-erp-sr-log-prescription-request-confirmation.Medikation.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" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string" />
        </extension>
        <code value="http://hl7.org/fhirpath/System.String" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Medikation.extension">
      <path value="gem-erp-sr-log-prescription-request-confirmation.Medikation.extension" />
      <slicing>
        <discriminator>
          <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="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <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>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Medikation.modifierExtension">
      <path value="gem-erp-sr-log-prescription-request-confirmation.Medikation.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.&#xA;&#xA;Modifier 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="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <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" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Medikation.MedizinischeInformationenAusVerordnung">
      <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="gem-erp-sr-log-prescription-request-confirmation.Medikation.MedizinischeInformationenAusVerordnung" />
      <short value="Medizinische Verordnungsinformationen" />
      <definition value="MedicationRequest und Medication Objekt aus der KBV_Verordnung." />
      <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" />
      <base>
        <path value="gem-erp-sr-log-prescription-request-confirmation.Medikation.MedizinischeInformationenAusVerordnung" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationRequest" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <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>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestMedicationRequest.medicationReference" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="PVS" />
        <comment value="Informationen aus Verordnungsdatensatz (MedicationRequest und Medication)" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Medikation.AnzahlPackungen">
      <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="gem-erp-sr-log-prescription-request-confirmation.Medikation.AnzahlPackungen" />
      <short value="Anzahl der Packungen" />
      <definition value="Anzahl der Packungen" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="gem-erp-sr-log-prescription-request-confirmation.Medikation.AnzahlPackungen" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestMedicationRequest.dispenseRequest.quantity" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Medikation.AnzahlPackungen.id">
      <path value="gem-erp-sr-log-prescription-request-confirmation.Medikation.AnzahlPackungen.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" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string" />
        </extension>
        <code value="http://hl7.org/fhirpath/System.String" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Medikation.AnzahlPackungen.extension">
      <path value="gem-erp-sr-log-prescription-request-confirmation.Medikation.AnzahlPackungen.extension" />
      <slicing>
        <discriminator>
          <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="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <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>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Medikation.AnzahlPackungen.modifierExtension">
      <path value="gem-erp-sr-log-prescription-request-confirmation.Medikation.AnzahlPackungen.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.&#xA;&#xA;Modifier 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="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <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" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Medikation.AnzahlPackungen.Einheit">
      <path value="gem-erp-sr-log-prescription-request-confirmation.Medikation.AnzahlPackungen.Einheit" />
      <short value="Einheit der Menge, fix auf 'Packung' gesetzt" />
      <definition value="Einheit der Menge, fix auf 'Packung' gesetzt" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="gem-erp-sr-log-prescription-request-confirmation.Medikation.AnzahlPackungen.Einheit" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestMedicationRequest.dispenseRequest.quantity.unit" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Medikation.AnzahlPackungen.Wert">
      <path value="gem-erp-sr-log-prescription-request-confirmation.Medikation.AnzahlPackungen.Wert" />
      <short value="Anzahl der Packungen" />
      <definition value="Anzahl der Packungen" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="gem-erp-sr-log-prescription-request-confirmation.Medikation.AnzahlPackungen.Wert" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestMedicationRequest.dispenseRequest.quantity.value" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Medikation.Dosieranweisungen">
      <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="gem-erp-sr-log-prescription-request-confirmation.Medikation.Dosieranweisungen" />
      <short value="Dosieranweisungen" />
      <definition value="Dosieranweisungen, wie sie auch in der Verordnung angegeben sind" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="gem-erp-sr-log-prescription-request-confirmation.Medikation.Dosieranweisungen" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Dosage" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=INT]" />
      </mapping>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestMedicationRequest.dosageInstruction" />
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element id="gem-erp-sr-log-prescription-request-confirmation">
      <path value="gem-erp-sr-log-prescription-request-confirmation" />
      <short value="Rezeptanforderung_Bestätigung" />
      <definition value="Fachliches Modell zur Beschreibung einer Bestätigung einer Rezeptanforderung" />
      <constraint>
        <key value="log-prescription-request-confirmation-1" />
        <severity value="error" />
        <human value="Wenn eine Anfrage bestätigt wird (status = 'completed'), muss der E-Rezept Token vorhanden sein." />
        <source value="https://gematik.de/fhir/erp-servicerequest/StructureDefinition/gem-erp-sr-log-prescription-request-confirmation" />
      </constraint>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten">
      <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten" />
      <short value="Metadaten im MessageHeader" />
      <definition value="Metadaten im MessageHeader" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Erstellendes PVS" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Empfaenger">
      <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Empfaenger" />
      <short value="Empfänger der Nachricht" />
      <definition value="Empfänger der Nachricht" />
      <min value="1" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.destination" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Aus initialer Rezeptanforderung" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Empfaenger.KIMAdresse">
      <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Empfaenger.KIMAdresse" />
      <short value="KIM-Adresse des Empfängers" />
      <definition value="KIM-Adresse des Empfängers" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="url" />
      </type>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.destination.endpoint" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Aus initialer Rezeptanforderung (KIM Nachricht)" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Empfaenger.TelematikID">
      <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Empfaenger.TelematikID" />
      <short value="Telematik-ID des Absenders" />
      <definition value="Telematik-ID des Absenders" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="url" />
      </type>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.destination.receiver.identifier.value" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Aus initialer Rezeptanforderung" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Absender">
      <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Absender" />
      <short value="Absender der Nachricht" />
      <definition value="Absender der Nachricht" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.sender" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Erstellendes PVS" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Absender.TelematikID">
      <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Absender.TelematikID" />
      <short value="Telematik-ID des Absenders" />
      <definition value="Telematik-ID des Absenders" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="url" />
      </type>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.sender.identifier.value" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Erstellendes PVS, SMC-B oder HBA Zertifikat" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Absender.Name">
      <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.Absender.Name" />
      <short value="Name des Absenders" />
      <definition value="Name des Absenders" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.sender.display" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Erstellendes PVS" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem">
      <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem" />
      <short value="Absendendes System" />
      <definition value="Absendendes System" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.source" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Erstellendes PVS" />
        <comment value="Automatisiert durch Software gesetzt" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem.Name">
      <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem.Name" />
      <short value="Name des Herstellers des absendenden Systems" />
      <definition value="Name des Herstellers des absendenden Systems" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.source.name" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Erstellendes PVS" />
        <comment value="Automatisiert durch Software gesetzt" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem.Software">
      <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem.Software" />
      <short value="Name der Software des absendenden Systems" />
      <definition value="Name der Software des absendenden Systems" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.source.software" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Erstellendes PVS" />
        <comment value="Automatisiert durch Software gesetzt" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem.Version">
      <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem.Version" />
      <short value="Version des absendenden Systems" />
      <definition value="Version des absendenden Systems" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.source.version" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Erstellendes PVS" />
        <comment value="Automatisiert durch Software gesetzt" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem.EMailKontakt">
      <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem.EMailKontakt" />
      <short value="E-Mail-Kontakt des absendenden Systems" />
      <definition value="E-Mail-Kontakt des absendenden Systems" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.source.contact.value" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Erstellendes PVS" />
        <comment value="Automatisiert durch Software gesetzt" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem.Website">
      <path value="gem-erp-sr-log-prescription-request-confirmation.MetaDaten.AbsendendesSystem.Website" />
      <short value="Website des absendenden Systems" />
      <definition value="Website des absendenden Systems" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="url" />
      </type>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.source.endpoint" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Erstellendes PVS" />
        <comment value="Automatisiert durch Software gesetzt" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.ERezeptToken">
      <path value="gem-erp-sr-log-prescription-request-confirmation.ERezeptToken" />
      <short value="E-Rezept-Token" />
      <definition value="Token der für die Einlösung der Verordnung gebraucht wird. Angabe nach gemSpec_DM_eRp#A_19554. Ein Arzt kann sich entscheiden für eine Anfrage mehrere Rezepte auszustellen, daher ist die Angabe von mehreren Token erlaubt" />
      <min value="1" />
      <max value="*" />
      <type>
        <code value="string" />
      </type>
      <constraint>
        <key value="log-prescription-request-confirmation-1" />
        <severity value="error" />
        <human value="Wenn eine Anfrage bestätigt wird (status = 'completed'), muss der E-Rezept Token vorhanden sein." />
        <source value="https://gematik.de/fhir/erp-servicerequest/StructureDefinition/gem-erp-sr-log-prescription-request-confirmation" />
      </constraint>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestPrescriptionRequest.extension:EPrescriptionToken" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="E-Rezept-Fachdienst" />
        <comment value="Token lässt sich aus den Informationen des E-Rezept Fachdienstes erzeugen" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Status">
      <path value="gem-erp-sr-log-prescription-request-confirmation.Status" />
      <short value="Status" />
      <definition value="Status der Anforderung. Wird genutzt, um den Bearbeitungsstand einer Anfrage zu verfolgen. Im Falle der Bestätigung der Rezeptanforderung wird eine Anfrage mit dem Status 'completed' geschickt." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <constraint>
        <key value="log-prescription-request-confirmation-1" />
        <severity value="error" />
        <human value="Wenn eine Anfrage bestätigt wird (status = 'completed'), muss der E-Rezept Token vorhanden sein." />
        <source value="https://gematik.de/fhir/erp-servicerequest/StructureDefinition/gem-erp-sr-log-prescription-request-confirmation" />
      </constraint>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestPrescriptionRequest.status" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="PVS" />
        <comment value="Setzt den Status der Anfrage auf 'completed'" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.VorgangsID">
      <path value="gem-erp-sr-log-prescription-request-confirmation.VorgangsID" />
      <short value="ID des Vorgangs" />
      <definition value="Wird vom initialen Sender gesetzt und muss in der Antwort mitgeführt werden." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestPrescriptionRequest.identifier:requestId.value" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Rezeptanforderung" />
        <comment value="VorgangsID aus der initialen Rezeptanforderung" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.VersichertenEinloesung">
      <path value="gem-erp-sr-log-prescription-request-confirmation.VersichertenEinloesung" />
      <short value="Versicherten Einlösung" />
      <definition value="Angabe, ob der Versicherte das E-Rezept selbst einlösen möchte." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="boolean" />
      </type>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestPrescriptionRequest.extension:redeemByPatient.valueBoolean" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Rezeptanforderung" />
        <comment value="Aus der initialen Rezeptanforderung" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Freitext">
      <path value="gem-erp-sr-log-prescription-request-confirmation.Freitext" />
      <short value="Freitext" />
      <definition value="Individuelle Nachricht an den Empfänger" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestPrescriptionRequest.note" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Nutzer des PVS" />
        <comment value="Abfrage im Moment der Bestätigung" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Anhaenge">
      <path value="gem-erp-sr-log-prescription-request-confirmation.Anhaenge" />
      <short value="Anhänge" />
      <definition value="Anhänge zur Bestätigung. Das können PDFs, Bilder oder andere Dokumente sein." />
      <comment value="Werden auf Ebene der KIM-Nachricht angehangen" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Attachment" />
      </type>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Nutzer oder PVS" />
        <comment value="Angabe im Moment der Bestätigung" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Anhaenge.Medikationsplan">
      <path value="gem-erp-sr-log-prescription-request-confirmation.Anhaenge.Medikationsplan" />
      <short value="Medikationsplan" />
      <definition value="Anhang des Medikationsplans" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Attachment" />
      </type>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Nutzer oder PVS" />
        <comment value="Aktualisierung und ggf. automatische Generierung vom PVS" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Anhaenge.weitereAnhaenge">
      <path value="gem-erp-sr-log-prescription-request-confirmation.Anhaenge.weitereAnhaenge" />
      <short value="Weitere Anhänge" />
      <definition value="Weitere Anhänge" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Attachment" />
      </type>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="Nutzer oder PVS" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.AenderungVerordnung">
      <path value="gem-erp-sr-log-prescription-request-confirmation.AenderungVerordnung" />
      <short value="Änderung der Verordnung" />
      <definition value="Gibt an, ob das verordnete Arzneimittel von dem angefragten abweicht." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="boolean" />
      </type>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestPrescriptionRequest.extension:medicationChanged" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Medikation">
      <path value="gem-erp-sr-log-prescription-request-confirmation.Medikation" />
      <short value="Medikation" />
      <definition value="Angaben zur Medikation" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestPrescriptionRequest.basedOn(ERPServiceRequestMedicationRequest)" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="PVS" />
        <comment value="Informationen aus Verordnungsdatensatz" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Medikation.MedizinischeInformationenAusVerordnung">
      <path value="gem-erp-sr-log-prescription-request-confirmation.Medikation.MedizinischeInformationenAusVerordnung" />
      <short value="Medizinische Verordnungsinformationen" />
      <definition value="MedicationRequest und Medication Objekt aus der KBV_Verordnung." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationRequest" />
      </type>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestMedicationRequest.medicationReference" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Bestaetigung-Mapping" />
        <map value="PVS" />
        <comment value="Informationen aus Verordnungsdatensatz (MedicationRequest und Medication)" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Medikation.AnzahlPackungen">
      <path value="gem-erp-sr-log-prescription-request-confirmation.Medikation.AnzahlPackungen" />
      <short value="Anzahl der Packungen" />
      <definition value="Anzahl der Packungen" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestMedicationRequest.dispenseRequest.quantity" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Medikation.AnzahlPackungen.Einheit">
      <path value="gem-erp-sr-log-prescription-request-confirmation.Medikation.AnzahlPackungen.Einheit" />
      <short value="Einheit der Menge, fix auf 'Packung' gesetzt" />
      <definition value="Einheit der Menge, fix auf 'Packung' gesetzt" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestMedicationRequest.dispenseRequest.quantity.unit" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Medikation.AnzahlPackungen.Wert">
      <path value="gem-erp-sr-log-prescription-request-confirmation.Medikation.AnzahlPackungen.Wert" />
      <short value="Anzahl der Packungen" />
      <definition value="Anzahl der Packungen" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestMedicationRequest.dispenseRequest.quantity.value" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-confirmation.Medikation.Dosieranweisungen">
      <path value="gem-erp-sr-log-prescription-request-confirmation.Medikation.Dosieranweisungen" />
      <short value="Dosieranweisungen" />
      <definition value="Dosieranweisungen, wie sie auch in der Verordnung angegeben sind" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Dosage" />
      </type>
      <mapping>
        <identity value="Rezeptanforderung-Bestaetigung-Fachliches-Mapping" />
        <map value="ERPServiceRequestMedicationRequest.dosageInstruction" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>