{
  "resourceType": "StructureDefinition",
  "id": "NICE-BodyHeight",
  "meta": {
    "lastUpdated": "2023-10-04T15:03:29.1617497+00:00"
  },
  "url": "https://fhir.stichting-nice.nl/STU3/StructureDefinition/NICE-BodyHeight-2022Q1",
  "name": "NICE-BodyHeight",
  "title": "NICE-BodyHeight",
  "status": "active",
  "date": "2023-10-04T15:33:14.3221484+00:00",
  "publisher": "NICE",
  "contact": [
    {
      "name": "NICE",
      "telecom": [
        {
          "system": "email",
          "value": "vragen@stichting-nice.nl"
        }
      ]
    }
  ],
  "description": "The NICE submission requires the height of the patient at ICU admission in centimeters. If the height is unknown, please make an estimate.",
  "purpose": "A profile derived from the HL7 Vital Signs profile for body height in order to add mappings from the Dutch Health and Care Information models (HCIM; Dutch: Zorginformatiebouwsteen - ZIB) BodyHeight version 3.1, release 2017.",
  "copyright": "CC0",
  "fhirVersion": "3.0.2",
  "mapping": [
    {
      "identity": "NICE-Datadictionary-MDS",
      "uri": "https://www.stichting-nice.nl/dd/#528",
      "name": "NICE-Datadictionary-MDS",
      "comment": "The Minimal Data Set (MDS)"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://nictiz.nl/fhir/StructureDefinition/zib-BodyHeight",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation",
        "path": "Observation",
        "mapping": [
          {
            "identity": "NICE-Datadictionary-MDS",
            "map": "https://www.stichting-nice.nl/dd/#167",
            "comment": "Height"
          }
        ]
      },
      {
        "id": "Observation.extension",
        "path": "Observation.extension",
        "min": 1
      },
      {
        "id": "Observation.extension:Verified",
        "path": "Observation.extension",
        "sliceName": "Verified",
        "short": "Is the instance validated by a medical professional?",
        "definition": "Extension that is used to indicate whether the entire instance has been validated.\r\n\r\nEvery instance shall be validated by a hospital member / datamanager. However, this is not always feasible in case of automated submission of NICE data elements. This extensions shall be used to indicate the validation status of the instance.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "https://fhir.stichting-nice.nl/STU3/StructureDefinition/NICE-Verified-2022Q1"
          }
        ]
      },
      {
        "id": "Observation.status",
        "path": "Observation.status",
        "short": "Value has to be validated (final)",
        "fixedCode": "final"
      },
      {
        "id": "Observation.category.coding.system",
        "path": "Observation.category.coding.system",
        "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category"
      },
      {
        "id": "Observation.category.coding.code",
        "path": "Observation.category.coding.code",
        "fixedCode": "vital-signs"
      },
      {
        "id": "Observation.code.coding:BodyHeightCodeEstimated",
        "path": "Observation.code.coding",
        "sliceName": "BodyHeightCodeEstimated",
        "max": "1"
      },
      {
        "id": "Observation.code.coding:BodyHeightCodeEstimated.system",
        "path": "Observation.code.coding.system",
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Observation.code.coding:BodyHeightCodeEstimated.code",
        "path": "Observation.code.coding.code",
        "fixedCode": "8301-4"
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.stichting-nice.nl/STU3/StructureDefinition/NICE-Patient-2022Q1"
          }
        ]
      },
      {
        "id": "Observation.context",
        "path": "Observation.context",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.stichting-nice.nl/STU3/StructureDefinition/NICE-Encounter-2022Q1"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.effective[x]:effectiveDateTime",
        "path": "Observation.effectiveDateTime",
        "sliceName": "effectiveDateTime",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "Observation.valueQuantity:valueQuantity",
        "path": "Observation.valueQuantity",
        "sliceName": "valueQuantity",
        "minValueQuantity": {
          "value": 40.0,
          "comparator": ">=",
          "unit": "cm"
        },
        "maxValueQuantity": {
          "value": 230.0,
          "comparator": "<=",
          "unit": "cm"
        }
      },
      {
        "id": "Observation.valueQuantity:valueQuantity.value",
        "path": "Observation.valueQuantity.value",
        "minValueDecimal": 40.0,
        "maxValueDecimal": 230.0,
        "constraint": [
          {
            "key": "valueExtremes",
            "severity": "error",
            "human": "Defines the lower bounds and upper bounds of the allowed values for Bodyheight",
            "expression": "Observation.valueQuantity.value >= 40 and Observation.valueQuantity.value <= 230"
          }
        ]
      },
      {
        "id": "Observation.valueQuantity:valueQuantity.unit",
        "path": "Observation.valueQuantity.unit",
        "constraint": [
          {
            "key": "unit-1",
            "severity": "error",
            "human": "Unit type has to be either cm (centimeters) or m (meters)",
            "expression": "hasValue() | \"cm\" xor \"m\""
          }
        ]
      },
      {
        "id": "Observation.method",
        "path": "Observation.method",
        "short": "Was the height estimated?",
        "definition": "Indicates wether the bodyheight was estimated or measured",
        "mustSupport": true
      },
      {
        "id": "Observation.method.coding",
        "path": "Observation.method.coding",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.method.coding.system",
        "path": "Observation.method.coding.system",
        "min": 1,
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "description": "Yes/No HL7 table 0136",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/v2/0136"
          }
        }
      },
      {
        "id": "Observation.method.coding.code",
        "path": "Observation.method.coding.code",
        "min": 1,
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "description": "Yes/No indicator",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/v2-0136"
          }
        }
      }
    ]
  }
}