<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="zib-OutcomeOfCare" />
  <url value="http://nictiz.nl/fhir/StructureDefinition/zib-OutcomeOfCare" />
  <version value="1.0.2" />
  <name value="Zib OutcomeOfCare" />
  <title value="HCIM OutcomeOfCare" />
  <status value="active" />
  <publisher value="Nictiz" />
  <contact>
    <name value="Nictiz" />
    <telecom>
      <system value="url" />
      <value value="https://www.nictiz.nl" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="A derived profile on zib-TextResult to represent the the Dutch Health and Care Information models (Dutch: Zorginformatiebouwsteen or ZIB) OutcomeOfCare version 3.1, release 2017. The OutcomeOfCare concept describes the determined status of the patient in terms of a certain problem. Comparing the healthcare result with the treatment objective provides insight into the effectively of the nursing interventions/activities carried out for this problem. It is a part of the nursing process, together with nursing diagnoses/problems, the treatment objective and nursing interventions." />
  <purpose value="Healthcare results are important parameters for evaluating the patient’s health and monitoring the effectivity of the medical treatment and nursing interventions." />
  <copyright value="CC0" />
  <fhirVersion value="3.0.2" />
  <mapping>
    <identity value="hcim-outcomeofcare-v3.1-2017EN" />
    <uri value="https://zibs.nl/wiki/OutcomeOfCare-v3.1(2017EN)" />
    <name value="HCIM OutcomeOfCare-v3.1(2017EN)" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="DiagnosticReport" />
  <baseDefinition value="http://nictiz.nl/fhir/StructureDefinition/zib-TextResult" />
  <derivation value="constraint" />
  <differential>
    <element id="DiagnosticReport">
      <path value="DiagnosticReport" />
      <short value="OutcomeOfCare" />
      <alias value="UitkomstVanZorg" />
      <constraint>
        <key value="hicm-outcomeofcare-1" />
        <severity value="error" />
        <human value="Provide a HealthcareResult text or a reference, not both" />
        <expression value="conclusion.empty() or result.empty()" />
      </constraint>
      <mapping>
        <identity value="hcim-outcomeofcare-v3.1-2017EN" />
        <map value="NL-CM:13.4.1" />
        <comment value="OutcomeOfCare" />
      </mapping>
    </element>
    <element id="DiagnosticReport.extension">
      <path value="DiagnosticReport.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="DiagnosticReport.extension:Intervention">
      <path value="DiagnosticReport.extension" />
      <sliceName value="Intervention" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/StructureDefinition/event-partOf" />
      </type>
    </element>
    <element id="DiagnosticReport.extension:Intervention.valueReference:valueReference">
      <path value="DiagnosticReport.extension.valueReference" />
      <sliceName value="valueReference" />
      <short value="Interventie" />
      <definition value="A description of the nursing intervention of which the effectivity is evaluated with the healthcare result." />
      <alias value="Interventie" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://nictiz.nl/fhir/StructureDefinition/zib-NursingIntervention" />
      </type>
      <mapping>
        <identity value="hcim-outcomeofcare-v3.1-2017EN" />
        <map value="NL-CM:13.4.4" />
        <comment value="Interventie" />
      </mapping>
    </element>
    <element id="DiagnosticReport.basedOn">
      <path value="DiagnosticReport.basedOn" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.nl/fhir/StructureDefinition/nl-core-careplan" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationRequest" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/NutritionOrder" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ProcedureRequest" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ReferralRequest" />
      </type>
    </element>
    <element id="DiagnosticReport.code.coding">
      <path value="DiagnosticReport.code.coding" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="code" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="1" />
    </element>
    <element id="DiagnosticReport.code.coding:outcomOfCareCode">
      <path value="DiagnosticReport.code.coding" />
      <sliceName value="outcomOfCareCode" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="DiagnosticReport.code.coding:outcomOfCareCode.system">
      <path value="DiagnosticReport.code.coding.system" />
      <min value="1" />
      <fixedUri value="http://loinc.org" />
    </element>
    <element id="DiagnosticReport.code.coding:outcomOfCareCode.code">
      <path value="DiagnosticReport.code.coding.code" />
      <min value="1" />
      <fixedCode value="27574-3" />
    </element>
    <element id="DiagnosticReport.code.coding:outcomOfCareCode.display">
      <path value="DiagnosticReport.code.coding.display" />
      <defaultValueString value="Skilled nursing treatment plan Progress note and attainment of goals (narrative)" />
    </element>
    <element id="DiagnosticReport.subject">
      <path value="DiagnosticReport.subject" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.result">
      <path value="DiagnosticReport.result" />
      <slicing>
        <discriminator>
          <type value="profile" />
          <path value="resolve()" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <max value="1" />
    </element>
    <element id="DiagnosticReport.result:MeasurementValue">
      <path value="DiagnosticReport.result" />
      <sliceName value="MeasurementValue" />
      <short value="MeasurementValue" />
      <definition value="Measurements in which an observation, carried out with a (measuring) tool if possible, is translated to a relevant unit." />
      <alias value="Meetwaarde" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://nictiz.nl/fhir/StructureDefinition/zib-GeneralMeasurement" />
      </type>
      <mapping>
        <identity value="hcim-outcomeofcare-v3.1-2017EN" />
        <map value="NL-CM:13.4.2" />
        <comment value="MeasurementValue" />
      </mapping>
    </element>
    <element id="DiagnosticReport.result:HealthCondition">
      <path value="DiagnosticReport.result" />
      <sliceName value="HealthCondition" />
      <short value="HealthCondition" />
      <definition value="A description of the patient’s health condition in the form of a functional and/or mental status." />
      <alias value="Gezondheidstoestand" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://nictiz.nl/fhir/StructureDefinition/zib-FunctionalOrMentalStatus" />
      </type>
      <mapping>
        <identity value="hcim-outcomeofcare-v3.1-2017EN" />
        <map value="NL-CM:13.4.3" />
        <comment value="HealthCondition" />
      </mapping>
    </element>
    <element id="DiagnosticReport.conclusion">
      <path value="DiagnosticReport.conclusion" />
      <short value="HealthcareResult" />
      <definition value="The textual account of the healthcare result. If HealthcareResult cannot be entered as a measurement value or functional/mental status, it can be described as free text in the healthcare result." />
      <alias value="Zorgresultaat" />
      <mapping>
        <identity value="hcim-outcomeofcare-v3.1-2017EN" />
        <map value="NL-CM:13.4.5" />
        <comment value="HealthcareResult" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>