{
  "resourceType": "StructureDefinition",
  "id": "c7b55e0c-827f-4d47-9db6-a4317546b769",
  "meta": {
    "lastUpdated": "2022-03-08T09:15:27.923+00:00"
  },
  "url": "https://fhir.cambio.se/StructureDefinition/ObservationBodyHeightLite/v1",
  "name": "ObservationBodyHeightLite",
  "title": "ObservationBodyHeightLite",
  "status": "draft",
  "date": "2022-02-25T15:51:32.0615262+00:00",
  "description": "Cambio Lite profile for communicating the vital parameter, length of body, birth length or sitting height, between an external system and COSMIC. The profile includes fields for the value of the height measurement, contextuel data and meta data. Both GET and POST operations are supported.",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "sct-concept",
      "uri": "http://snomed.info/conceptdomain",
      "name": "SNOMED CT Concept Domain Binding"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "sct-attr",
      "uri": "http://snomed.org/attributebinding",
      "name": "SNOMED CT Attribute Binding"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "https://fhir.cambio.se/StructureDefinition/ObservationBodyHeightCore/v1",
  "derivation": "constraint",
  "snapshot": {},
  "differential": {
    "element": [
      {
        "id": "Observation.basedOn",
        "path": "Observation.basedOn",
        "max": "0"
      },
      {
        "id": "Observation.partOf",
        "path": "Observation.partOf",
        "max": "0"
      },
      {
        "id": "Observation.status",
        "path": "Observation.status",
        "short": "Preliminary | final | amended | entered in error | cancelled",
        "definition": "The status of th result value. \r\nFHIR - Cambio\r\npreliminary -> unsigned\nfinal -> signed and completednonSignable\nentered in error -> invalidated\ncancelled -> removed\r\namended -> resigned (journal note)",
        "comment": "COSMIC support the statuses mapped to the archetype for the vital sign through CCM REST-API. The Status Amended is supported in Get scenarios when it is mapped from a archetyped attached to a journal note which can be resigned.",
        "binding": {
          "strength": "required",
          "valueSet": "https://cambio.codes/fhir/vs/vital-sign-status/v1"
        }
      },
      {
        "id": "Observation.code.coding",
        "path": "Observation.code.coding",
        "slicing": {
          "rules": "closed"
        },
        "min": 2,
        "max": "2"
      },
      {
        "id": "Observation.code.coding:BodyHeightCodeSct",
        "path": "Observation.code.coding",
        "sliceName": "BodyHeightCodeSct"
      },
      {
        "id": "Observation.code.coding:BodyHeightCodeSct.code",
        "path": "Observation.code.coding.code",
        "definition": "Snomed CT code for Body height (Observable entity)",
        "fixedCode": "1153637007"
      },
      {
        "id": "Observation.code.coding:BirthLengthCodeSct",
        "path": "Observation.code.coding",
        "sliceName": "BirthLengthCodeSct",
        "max": "1"
      },
      {
        "id": "Observation.code.coding:BirthLengthCodeSct.system",
        "path": "Observation.code.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.code.coding:BirthLengthCodeSct.code",
        "path": "Observation.code.coding.code",
        "definition": "Snomed CT code for Birth length (Observable entity).",
        "min": 1,
        "fixedCode": "169886007"
      },
      {
        "id": "Observation.code.coding:SittingHeightCodeSct",
        "path": "Observation.code.coding",
        "sliceName": "SittingHeightCodeSct",
        "max": "1"
      },
      {
        "id": "Observation.code.coding:SittingHeightCodeSct.system",
        "path": "Observation.code.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.code.coding:SittingHeightCodeSct.code",
        "path": "Observation.code.coding.code",
        "definition": "Snomed CT code for Sitting height (Observable entity)",
        "min": 1,
        "fixedCode": "248335006"
      },
      {
        "id": "Observation.subject.identifier.value",
        "path": "Observation.subject.identifier.value",
        "min": 1
      },
      {
        "id": "Observation.focus",
        "path": "Observation.focus",
        "max": "0"
      },
      {
        "id": "Observation.focus.display",
        "path": "Observation.focus.display",
        "fixedString": "Parent"
      },
      {
        "id": "Observation.issued",
        "path": "Observation.issued",
        "max": "0"
      },
      {
        "id": "Observation.performer",
        "path": "Observation.performer",
        "min": 1,
        "max": "2",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Practitioner",
              "http://hl7.org/fhir/StructureDefinition/Organization",
              "http://hl7.org/fhir/StructureDefinition/Patient",
              "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
              "https://fhir.cambio.se/StructureDefinition/PractitionerRoleLiteSe/v1"
            ]
          }
        ]
      },
      {
        "id": "Observation.performer:PractitionerRole",
        "path": "Observation.performer",
        "sliceName": "PractitionerRole",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.cambio.se/StructureDefinition/PractitionerRoleLiteSe/v1"
            ],
            "aggregation": [
              "contained"
            ]
          }
        ]
      },
      {
        "id": "Observation.performer:Practitioner",
        "path": "Observation.performer",
        "sliceName": "Practitioner",
        "max": "1"
      },
      {
        "id": "Observation.performer:Practitioner.identifier",
        "path": "Observation.performer.identifier",
        "min": 1
      },
      {
        "id": "Observation.performer:Practitioner.identifier.system",
        "path": "Observation.performer.identifier.system",
        "definition": "Oid to HSA catalogue"
      },
      {
        "id": "Observation.performer:Practitioner.identifier.value",
        "path": "Observation.performer.identifier.value",
        "definition": "HSA id of the staff"
      },
      {
        "id": "Observation.performer:Patient",
        "path": "Observation.performer",
        "sliceName": "Patient",
        "max": "1"
      },
      {
        "id": "Observation.performer:Organization",
        "path": "Observation.performer",
        "sliceName": "Organization",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://commonprofiles.care/StructureDefinition/OrganizationSEVendorLite/v1"
            ]
          }
        ]
      },
      {
        "id": "Observation.performer:Organization.identifier",
        "path": "Observation.performer.identifier",
        "min": 1
      },
      {
        "id": "Observation.performer:Organization.identifier.system",
        "path": "Observation.performer.identifier.system",
        "definition": "Oid to HSA catalogue"
      },
      {
        "id": "Observation.performer:Organization.identifier.value",
        "path": "Observation.performer.identifier.value",
        "definition": "HSA id of the organization(unit)"
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "slicing": {
          "rules": "open"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.value[x]:valueQuantity",
        "path": "Observation.value[x]",
        "sliceName": "valueQuantity"
      },
      {
        "id": "Observation.value[x]:valueQuantity.value",
        "path": "Observation.value[x].value",
        "definition": "The value of the measured amount. The value of the body height must be within the range of 0.0.. < 1000.0. One digit decimal precision."
      },
      {
        "id": "Observation.value[x]:valueQuantity.unit",
        "path": "Observation.value[x].unit",
        "fixedString": "cm"
      },
      {
        "id": "Observation.value[x]:valueQuantity.code",
        "path": "Observation.value[x].code",
        "fixedCode": "cm"
      },
      {
        "id": "Observation.dataAbsentReason.coding",
        "path": "Observation.dataAbsentReason.coding",
        "max": "1"
      },
      {
        "id": "Observation.dataAbsentReason.coding.system",
        "path": "Observation.dataAbsentReason.coding.system",
        "min": 1,
        "fixedUri": "http://terminology.hl7.org/CodeSystem/data-absent-reason"
      },
      {
        "id": "Observation.dataAbsentReason.coding.code",
        "path": "Observation.dataAbsentReason.coding.code",
        "min": 1,
        "fixedCode": "unsupported"
      },
      {
        "id": "Observation.interpretation",
        "path": "Observation.interpretation",
        "max": "0"
      },
      {
        "id": "Observation.note",
        "path": "Observation.note",
        "max": "1"
      },
      {
        "id": "Observation.bodySite",
        "path": "Observation.bodySite",
        "max": "0"
      },
      {
        "id": "Observation.method",
        "path": "Observation.method",
        "max": "0"
      },
      {
        "id": "Observation.specimen",
        "path": "Observation.specimen",
        "max": "0"
      },
      {
        "id": "Observation.device",
        "path": "Observation.device",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange",
        "path": "Observation.referenceRange",
        "max": "0"
      },
      {
        "id": "Observation.hasMember",
        "path": "Observation.hasMember",
        "max": "0"
      },
      {
        "id": "Observation.derivedFrom",
        "path": "Observation.derivedFrom",
        "max": "0"
      },
      {
        "id": "Observation.component",
        "path": "Observation.component",
        "max": "0"
      }
    ]
  }
}