{
  "resourceType": "StructureDefinition",
  "id": "zib-OutcomeOfCare",
  "url": "http://nictiz.nl/fhir/StructureDefinition/zib-OutcomeOfCare",
  "version": "1.0.2",
  "name": "Zib OutcomeOfCare",
  "title": "HCIM OutcomeOfCare",
  "status": "active",
  "publisher": "Nictiz",
  "contact": [
    {
      "name": "Nictiz",
      "telecom": [
        {
          "system": "url",
          "value": "https://www.nictiz.nl",
          "use": "work"
        }
      ]
    }
  ],
  "description": "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": "Healthcare results are important parameters for evaluating the patient’s health and monitoring the effectivity of the medical treatment and nursing interventions.",
  "copyright": "CC0",
  "fhirVersion": "3.0.2",
  "mapping": [
    {
      "identity": "hcim-outcomeofcare-v3.1-2017EN",
      "uri": "https://zibs.nl/wiki/OutcomeOfCare-v3.1(2017EN)",
      "name": "HCIM OutcomeOfCare-v3.1(2017EN)"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "DiagnosticReport",
  "baseDefinition": "http://nictiz.nl/fhir/StructureDefinition/zib-TextResult",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "DiagnosticReport",
        "path": "DiagnosticReport",
        "short": "OutcomeOfCare",
        "alias": [
          "UitkomstVanZorg"
        ],
        "constraint": [
          {
            "key": "hicm-outcomeofcare-1",
            "severity": "error",
            "human": "Provide a HealthcareResult text or a reference, not both",
            "expression": "conclusion.empty() or result.empty()"
          }
        ],
        "mapping": [
          {
            "identity": "hcim-outcomeofcare-v3.1-2017EN",
            "map": "NL-CM:13.4.1",
            "comment": "OutcomeOfCare"
          }
        ]
      },
      {
        "id": "DiagnosticReport.extension",
        "path": "DiagnosticReport.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "DiagnosticReport.extension:Intervention",
        "path": "DiagnosticReport.extension",
        "sliceName": "Intervention",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/event-partOf"
          }
        ]
      },
      {
        "id": "DiagnosticReport.extension:Intervention.valueReference:valueReference",
        "path": "DiagnosticReport.extension.valueReference",
        "sliceName": "valueReference",
        "short": "Interventie",
        "definition": "A description of the nursing intervention of which the effectivity is evaluated with the healthcare result.",
        "alias": [
          "Interventie"
        ],
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/zib-NursingIntervention"
          }
        ],
        "mapping": [
          {
            "identity": "hcim-outcomeofcare-v3.1-2017EN",
            "map": "NL-CM:13.4.4",
            "comment": "Interventie"
          }
        ]
      },
      {
        "id": "DiagnosticReport.basedOn",
        "path": "DiagnosticReport.basedOn",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-careplan"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationRequest"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest"
          }
        ]
      },
      {
        "id": "DiagnosticReport.code.coding",
        "path": "DiagnosticReport.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "DiagnosticReport.code.coding:outcomOfCareCode",
        "path": "DiagnosticReport.code.coding",
        "sliceName": "outcomOfCareCode",
        "min": 1,
        "max": "1"
      },
      {
        "id": "DiagnosticReport.code.coding:outcomOfCareCode.system",
        "path": "DiagnosticReport.code.coding.system",
        "min": 1,
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "DiagnosticReport.code.coding:outcomOfCareCode.code",
        "path": "DiagnosticReport.code.coding.code",
        "min": 1,
        "fixedCode": "27574-3"
      },
      {
        "id": "DiagnosticReport.code.coding:outcomOfCareCode.display",
        "path": "DiagnosticReport.code.coding.display",
        "defaultValueString": "Skilled nursing treatment plan Progress note and attainment of goals (narrative)"
      },
      {
        "id": "DiagnosticReport.subject",
        "path": "DiagnosticReport.subject",
        "min": 1
      },
      {
        "id": "DiagnosticReport.result",
        "path": "DiagnosticReport.result",
        "slicing": {
          "discriminator": [
            {
              "type": "profile",
              "path": "resolve()"
            }
          ],
          "rules": "open"
        },
        "max": "1"
      },
      {
        "id": "DiagnosticReport.result:MeasurementValue",
        "path": "DiagnosticReport.result",
        "sliceName": "MeasurementValue",
        "short": "MeasurementValue",
        "definition": "Measurements in which an observation, carried out with a (measuring) tool if possible, is translated to a relevant unit.",
        "alias": [
          "Meetwaarde"
        ],
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/zib-GeneralMeasurement"
          }
        ],
        "mapping": [
          {
            "identity": "hcim-outcomeofcare-v3.1-2017EN",
            "map": "NL-CM:13.4.2",
            "comment": "MeasurementValue"
          }
        ]
      },
      {
        "id": "DiagnosticReport.result:HealthCondition",
        "path": "DiagnosticReport.result",
        "sliceName": "HealthCondition",
        "short": "HealthCondition",
        "definition": "A description of the patient’s health condition in the form of a functional and/or mental status.",
        "alias": [
          "Gezondheidstoestand"
        ],
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/zib-FunctionalOrMentalStatus"
          }
        ],
        "mapping": [
          {
            "identity": "hcim-outcomeofcare-v3.1-2017EN",
            "map": "NL-CM:13.4.3",
            "comment": "HealthCondition"
          }
        ]
      },
      {
        "id": "DiagnosticReport.conclusion",
        "path": "DiagnosticReport.conclusion",
        "short": "HealthcareResult",
        "definition": "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": [
          "Zorgresultaat"
        ],
        "mapping": [
          {
            "identity": "hcim-outcomeofcare-v3.1-2017EN",
            "map": "NL-CM:13.4.5",
            "comment": "HealthcareResult"
          }
        ]
      }
    ]
  }
}