<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="nNGM-PR-Response-Befund" />
  <url value="https://ngnm.de/fhir/StructureDefinition/nNGM-PR-Response-Befund" />
  <version value="0.1.0" />
  <name value="nNGM_PR_Response_Befund" />
  <title value="Profile - nNGM - Observation - Response Befund" />
  <status value="active" />
  <publisher value="nNGM Konsortium" />
  <description value="Response Beurteilung nach MTB/DNPM/nNGM" />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="nNGM-Schema" />
    <name value="Response" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Observation" />
  <baseDefinition value="https://www.medizininformatik-initiative.de/fhir/ext/modul-mtb/StructureDefinition/mii-pr-mtb-response-befund" />
  <derivation value="constraint" />
  <differential>
    <element id="Observation.partOf">
      <path value="Observation.partOf" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://uk-koeln.de/fhir/StructureDefinition/Profile-nNGM-Procedure-Systemische-Therapie" />
      </type>
    </element>
    <element id="Observation.focus">
      <path value="Observation.focus" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://uk-koeln.de/fhir/StructureDefinition/Condition/nNGM/FirstDiagnosis" />
      </type>
    </element>
    <element id="Observation.focus.reference">
      <path value="Observation.focus.reference" />
      <mustSupport value="true" />
    </element>
    <element id="Observation.effective[x]:effectiveDateTime">
      <path value="Observation.effective[x]" />
      <sliceName value="effectiveDateTime" />
      <short value="Bestes Ansprechen Datum" />
      <definition value="Bestes Ansprechen Datum" />
      <min value="0" />
      <mapping>
        <identity value="nNGM-Schema" />
        <map value="bestResponseDate" />
        <comment value="bestResponseDate" />
      </mapping>
    </element>
    <element id="Observation.value[x]:valueCodeableConcept">
      <path value="Observation.value[x]" />
      <sliceName value="valueCodeableConcept" />
    </element>
    <element id="Observation.value[x]:valueCodeableConcept.coding">
      <path value="Observation.value[x].coding" />
      <slicing>
        <discriminator>
          <type value="type" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <mustSupport value="true" />
    </element>
    <element id="Observation.value[x]:valueCodeableConcept.coding:oBDS">
      <path value="Observation.value[x].coding" />
      <sliceName value="oBDS" />
      <mapping>
        <identity value="nNGM-Schema" />
        <map value="BestResponse" />
        <comment value="Bestes Ansprechen" />
      </mapping>
    </element>
    <element id="Observation.value[x]:valueCodeableConcept.coding:oBDS.code">
      <path value="Observation.value[x].coding.code" />
      <mapping>
        <identity value="nNGM-Schema" />
        <map value="BestResponse" />
        <comment value="Bestes Ansprechen" />
      </mapping>
    </element>
    <element id="Observation.method">
      <path value="Observation.method" />
      <binding>
        <strength value="required" />
        <valueSet value="http://uk-koeln.de/fhir/ValueSet/nNGM/nngm-vs-response-befund-bestresponseassessmentby" />
      </binding>
    </element>
    <element id="Observation.method.coding">
      <path value="Observation.method.coding" />
      <mustSupport value="true" />
    </element>
    <element id="Observation.method.coding.code">
      <path value="Observation.method.coding.code" />
      <short value="Beurteilungsmethode" />
      <definition value="Beurteilungsmethode RECIST oder RANO" />
      <binding>
        <strength value="required" />
        <valueSet value="http://uk-koeln.de/fhir/ValueSet/nNGM/nngm-vs-response-befund-bestresponseassessmentby" />
      </binding>
      <mapping>
        <identity value="nNGM-Schema" />
        <map value="AssessmentBy" />
        <comment value="Beurteilung nach" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>