<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="gem-erp-sr-log-prescription-request-cancellation" />
  <url value="https://gematik.de/fhir/erp-servicerequest/StructureDefinition/gem-erp-sr-log-prescription-request-cancellation" />
  <version value="1.2.0" />
  <name value="GEM_ERP_SR_LOG_PrescriptionRequest_Cancellation" />
  <title value="Rezeptanforderung_Storno" />
  <status value="active" />
  <experimental value="false" />
  <date value="2025-07-31" />
  <publisher value="gematik GmbH" />
  <description value="Fachliches Modell zur Beschreibung einer Stornierung einer Rezeptanforderung seitens der Pflegeeinrichtung." />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="Rezeptanforderung-Stornierung-Fachliches-Mapping" />
    <uri value="ERPServiceRequestPrescriptionRequest" />
    <name value="Rezeptanforderung Stornierung Fachliches Mapping" />
    <comment value="Mapping des Fachmodells aus GEM_ERP_SR_LOG_PrescriptionRequest_Cancellation auf das FHIR-Modell ERPServiceRequestPrescriptionRequest" />
  </mapping>
  <mapping>
    <identity value="Quelle-Rezeptanforderung-Stornierung-Mapping" />
    <name value="Quelle der Rezeptanforderung Stornierung Informationen" />
    <comment value="Beschreibt die Quelle der Rezeptanforderung Stornierung Informatione" />
  </mapping>
  <kind value="logical" />
  <abstract value="false" />
  <type value="https://gematik.de/fhir/erp-servicerequest/StructureDefinition/gem-erp-sr-log-prescription-request-cancellation" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element" />
  <derivation value="specialization" />
  <snapshot>
    <element id="gem-erp-sr-log-prescription-request-cancellation">
      <path value="gem-erp-sr-log-prescription-request-cancellation" />
      <short value="Rezeptanforderung_Storno" />
      <definition value="Fachliches Modell zur Beschreibung einer Stornierung einer Rezeptanforderung seitens der Pflegeeinrichtung." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="gem-erp-sr-log-prescription-request-cancellation" />
        <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>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.id">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-cancellation.extension">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-cancellation.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-cancellation.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-cancellation.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-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Stornierung-Mapping" />
        <map value="Erstellendes PS" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.MetaDaten.id">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-cancellation.MetaDaten.extension">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-cancellation.MetaDaten.modifierExtension">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-cancellation.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-cancellation.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-cancellation.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-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.destination" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Stornierung-Mapping" />
        <map value="Aus initialer Rezeptanforderung" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.MetaDaten.Empfaenger.id">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-cancellation.MetaDaten.Empfaenger.extension">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-cancellation.MetaDaten.Empfaenger.modifierExtension">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-cancellation.MetaDaten.Empfaenger.KIMAdresse">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-cancellation.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-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.destination.endpoint" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Stornierung-Mapping" />
        <map value="Aus initialer Rezeptanforderung" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.MetaDaten.Empfaenger.TelematikID">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-cancellation.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-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.destination.receiver.identifier.value" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Stornierung-Mapping" />
        <map value="Aus initialer Rezeptanforderung" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.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-cancellation.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-cancellation.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-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.sender" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Stornierung-Mapping" />
        <map value="Erstellendes PS" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.MetaDaten.Absender.id">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-cancellation.MetaDaten.Absender.extension">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-cancellation.MetaDaten.Absender.modifierExtension">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-cancellation.MetaDaten.Absender.TelematikID">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-cancellation.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-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.sender.identifier.value" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Stornierung-Mapping" />
        <map value="Erstellendes PS, SMC-B oder HBA Zertifikat" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.MetaDaten.Absender.Name">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-cancellation.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-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.sender.display" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Stornierung-Mapping" />
        <map value="Erstellendes PS" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.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-cancellation.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-cancellation.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-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.source" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Stornierung-Mapping" />
        <map value="Erstellendes PS" />
        <comment value="Automatisiert durch Software gesetzt" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.MetaDaten.AbsendendesSystem.id">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-cancellation.MetaDaten.AbsendendesSystem.extension">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-cancellation.MetaDaten.AbsendendesSystem.modifierExtension">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-cancellation.MetaDaten.AbsendendesSystem.Name">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-cancellation.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-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.source.name" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Stornierung-Mapping" />
        <map value="Erstellendes PS" />
        <comment value="Automatisiert durch Software gesetzt" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.MetaDaten.AbsendendesSystem.Software">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-cancellation.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-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.source.software" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Stornierung-Mapping" />
        <map value="Erstellendes PS" />
        <comment value="Automatisiert durch Software gesetzt" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.MetaDaten.AbsendendesSystem.Version">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-cancellation.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-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.source.version" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Stornierung-Mapping" />
        <map value="Erstellendes PS" />
        <comment value="Automatisiert durch Software gesetzt" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.MetaDaten.AbsendendesSystem.EMailKontakt">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-cancellation.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-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.source.contact.value" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Stornierung-Mapping" />
        <map value="Erstellendes PS" />
        <comment value="Automatisiert durch Software gesetzt" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.MetaDaten.AbsendendesSystem.Website">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-cancellation.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-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.source.endpoint" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Stornierung-Mapping" />
        <map value="Erstellendes PS" />
        <comment value="Automatisiert durch Software gesetzt" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.Status">
      <path value="gem-erp-sr-log-prescription-request-cancellation.Status" />
      <short value="Status" />
      <definition value="Status der Anforderung. Wird genutzt, um den Bearbeitungsstand einer Anfrage zu verfolgen. Im Falle der Storinierung einer Rezeptanforderung wird eine Anfrage mit dem Status 'revoked' erstellt und 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-cancellation.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>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="Rezeptanforderung-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestPrescriptionRequest.status" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Stornierung-Mapping" />
        <map value="PS" />
        <comment value="Setzt den Status der Anfrage auf 'revoked'" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.Grund">
      <path value="gem-erp-sr-log-prescription-request-cancellation.Grund" />
      <short value="Grund der Stornierung" />
      <definition value="Der Grund, warum die Stornierung angegeben wurde kann als Freitext hinterlegt 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-cancellation.Grund" />
        <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-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestPrescriptionRequest.reasonCode.text" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Stornierung-Mapping" />
        <map value="Nutzer des PS" />
        <comment value="Abfrage im Moment der Stornierung" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.VorgangsID">
      <path value="gem-erp-sr-log-prescription-request-cancellation.VorgangsID" />
      <short value="ID des Vorgangs" />
      <definition value="Wird hier genutzt, um die Anfrage die storniert werden soll, zu referenzieren." />
      <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-cancellation.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-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestPrescriptionRequest.identifier:requestId.value" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Stornierung-Mapping" />
        <map value="PS" />
        <comment value="Aus initialer Rezeptanforderung" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.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-cancellation.Medikation" />
      <short value="Medikation" />
      <definition value="Angaben zur Medikation" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="gem-erp-sr-log-prescription-request-cancellation.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-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestPrescriptionRequest.basedOn(ERPServiceRequestMedicationRequest)" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.Medikation.id">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-cancellation.Medikation.extension">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-cancellation.Medikation.modifierExtension">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-cancellation.Medikation.MedikationsReferenz">
      <path value="gem-erp-sr-log-prescription-request-cancellation.Medikation.MedikationsReferenz" />
      <short value="Referenz auf das Medikamentenobjekt" />
      <definition value="Referenz auf das Medikamentenobjekt nach KBV_Verordnung (Freitext, PZN, Wirkstoff, Rezeptur)" />
      <comment value="Folgende Profile aus dem E-Rezept Verordnungsdatensatz sind zulässig: KBV_PR_ERP_Medication_Compounding, KBV_PR_ERP_Medication_FreeText, KBV_PR_ERP_Medication _Ingredient, KBV_PR_ERP_Medication_PZN" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="gem-erp-sr-log-prescription-request-cancellation.Medikation.MedikationsReferenz" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Medication" />
      </type>
      <constraint>
        <key value="dom-2" />
        <severity value="error" />
        <human value="If the resource is contained in another resource, it SHALL NOT contain nested Resources" />
        <expression value="contained.contained.empty()" />
        <xpath value="not(parent::f:contained and f:contained)" />
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
      </constraint>
      <constraint>
        <key value="dom-4" />
        <severity value="error" />
        <human value="If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" />
        <expression value="contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" />
        <xpath value="not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" />
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
      </constraint>
      <constraint>
        <key value="dom-3" />
        <severity value="error" />
        <human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource" />
        <expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()" />
        <xpath value="not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))" />
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
      </constraint>
      <constraint>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice">
          <valueBoolean value="true" />
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation">
          <valueMarkdown value="When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." />
        </extension>
        <key value="dom-6" />
        <severity value="warning" />
        <human value="A resource should have narrative for robust management" />
        <expression value="text.`div`.exists()" />
        <xpath value="exists(f:text/h:div)" />
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
      </constraint>
      <constraint>
        <key value="dom-5" />
        <severity value="error" />
        <human value="If a resource is contained in another resource, it SHALL NOT have a security label" />
        <expression value="contained.meta.security.empty()" />
        <xpath value="not(exists(f:contained/*/f:meta/f:security))" />
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="Entity. Role, or Act" />
      </mapping>
      <mapping>
        <identity value="script10.6" />
        <map value="NewRx/MedicationPrescribed&#xD;-or-&#xD;RxFill/MedicationDispensed&#xD;-or-&#xD;RxHistoryResponse/MedicationDispensed&#xD;-or-&#xD;RxHistoryResponse/MedicationPrescribed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="ManufacturedProduct[classCode=ADMM]" />
      </mapping>
      <mapping>
        <identity value="Rezeptanforderung-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestMedicationRequest.medicationReference" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.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-cancellation.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-cancellation.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-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestMedicationRequest.dispenseRequest.quantity" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.Medikation.AnzahlPackungen.id">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-cancellation.Medikation.AnzahlPackungen.extension">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-cancellation.Medikation.AnzahlPackungen.modifierExtension">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-cancellation.Medikation.AnzahlPackungen.Einheit">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-cancellation.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-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestMedicationRequest.dispenseRequest.quantity.unit" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.Medikation.AnzahlPackungen.Wert">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-cancellation.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-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestMedicationRequest.dispenseRequest.quantity.value" />
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element id="gem-erp-sr-log-prescription-request-cancellation">
      <path value="gem-erp-sr-log-prescription-request-cancellation" />
      <short value="Rezeptanforderung_Storno" />
      <definition value="Fachliches Modell zur Beschreibung einer Stornierung einer Rezeptanforderung seitens der Pflegeeinrichtung." />
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.MetaDaten">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Stornierung-Mapping" />
        <map value="Erstellendes PS" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.MetaDaten.Empfaenger">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.destination" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Stornierung-Mapping" />
        <map value="Aus initialer Rezeptanforderung" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.MetaDaten.Empfaenger.KIMAdresse">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.destination.endpoint" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Stornierung-Mapping" />
        <map value="Aus initialer Rezeptanforderung" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.MetaDaten.Empfaenger.TelematikID">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.destination.receiver.identifier.value" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Stornierung-Mapping" />
        <map value="Aus initialer Rezeptanforderung" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.MetaDaten.Absender">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.sender" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Stornierung-Mapping" />
        <map value="Erstellendes PS" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.MetaDaten.Absender.TelematikID">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.sender.identifier.value" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Stornierung-Mapping" />
        <map value="Erstellendes PS, SMC-B oder HBA Zertifikat" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.MetaDaten.Absender.Name">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.sender.display" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Stornierung-Mapping" />
        <map value="Erstellendes PS" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.MetaDaten.AbsendendesSystem">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.source" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Stornierung-Mapping" />
        <map value="Erstellendes PS" />
        <comment value="Automatisiert durch Software gesetzt" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.MetaDaten.AbsendendesSystem.Name">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.source.name" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Stornierung-Mapping" />
        <map value="Erstellendes PS" />
        <comment value="Automatisiert durch Software gesetzt" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.MetaDaten.AbsendendesSystem.Software">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.source.software" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Stornierung-Mapping" />
        <map value="Erstellendes PS" />
        <comment value="Automatisiert durch Software gesetzt" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.MetaDaten.AbsendendesSystem.Version">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.source.version" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Stornierung-Mapping" />
        <map value="Erstellendes PS" />
        <comment value="Automatisiert durch Software gesetzt" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.MetaDaten.AbsendendesSystem.EMailKontakt">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.source.contact.value" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Stornierung-Mapping" />
        <map value="Erstellendes PS" />
        <comment value="Automatisiert durch Software gesetzt" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.MetaDaten.AbsendendesSystem.Website">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestDispenseRequestHeader.source.endpoint" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Stornierung-Mapping" />
        <map value="Erstellendes PS" />
        <comment value="Automatisiert durch Software gesetzt" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.Status">
      <path value="gem-erp-sr-log-prescription-request-cancellation.Status" />
      <short value="Status" />
      <definition value="Status der Anforderung. Wird genutzt, um den Bearbeitungsstand einer Anfrage zu verfolgen. Im Falle der Storinierung einer Rezeptanforderung wird eine Anfrage mit dem Status 'revoked' erstellt und geschickt." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <mapping>
        <identity value="Rezeptanforderung-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestPrescriptionRequest.status" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Stornierung-Mapping" />
        <map value="PS" />
        <comment value="Setzt den Status der Anfrage auf 'revoked'" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.Grund">
      <path value="gem-erp-sr-log-prescription-request-cancellation.Grund" />
      <short value="Grund der Stornierung" />
      <definition value="Der Grund, warum die Stornierung angegeben wurde kann als Freitext hinterlegt werden." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="Rezeptanforderung-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestPrescriptionRequest.reasonCode.text" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Stornierung-Mapping" />
        <map value="Nutzer des PS" />
        <comment value="Abfrage im Moment der Stornierung" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.VorgangsID">
      <path value="gem-erp-sr-log-prescription-request-cancellation.VorgangsID" />
      <short value="ID des Vorgangs" />
      <definition value="Wird hier genutzt, um die Anfrage die storniert werden soll, zu referenzieren." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="Rezeptanforderung-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestPrescriptionRequest.identifier:requestId.value" />
      </mapping>
      <mapping>
        <identity value="Quelle-Rezeptanforderung-Stornierung-Mapping" />
        <map value="PS" />
        <comment value="Aus initialer Rezeptanforderung" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.Medikation">
      <path value="gem-erp-sr-log-prescription-request-cancellation.Medikation" />
      <short value="Medikation" />
      <definition value="Angaben zur Medikation" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="Rezeptanforderung-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestPrescriptionRequest.basedOn(ERPServiceRequestMedicationRequest)" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.Medikation.MedikationsReferenz">
      <path value="gem-erp-sr-log-prescription-request-cancellation.Medikation.MedikationsReferenz" />
      <short value="Referenz auf das Medikamentenobjekt" />
      <definition value="Referenz auf das Medikamentenobjekt nach KBV_Verordnung (Freitext, PZN, Wirkstoff, Rezeptur)" />
      <comment value="Folgende Profile aus dem E-Rezept Verordnungsdatensatz sind zulässig: KBV_PR_ERP_Medication_Compounding, KBV_PR_ERP_Medication_FreeText, KBV_PR_ERP_Medication _Ingredient, KBV_PR_ERP_Medication_PZN" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Medication" />
      </type>
      <mapping>
        <identity value="Rezeptanforderung-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestMedicationRequest.medicationReference" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.Medikation.AnzahlPackungen">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestMedicationRequest.dispenseRequest.quantity" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.Medikation.AnzahlPackungen.Einheit">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestMedicationRequest.dispenseRequest.quantity.unit" />
      </mapping>
    </element>
    <element id="gem-erp-sr-log-prescription-request-cancellation.Medikation.AnzahlPackungen.Wert">
      <path value="gem-erp-sr-log-prescription-request-cancellation.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-Stornierung-Fachliches-Mapping" />
        <map value="ERPServiceRequestMedicationRequest.dispenseRequest.quantity.value" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>