{
  "resourceType": "StructureDefinition",
  "id": "cf1d7600-102f-4e11-b480-b11101fee45e",
  "meta": {
    "lastUpdated": "2022-03-08T09:50:20.055+00:00"
  },
  "url": "https://fhir.cambio.se/StructureDefinition/ObservationBodyTemperatureLite/v1",
  "version": "1.1.0",
  "name": "ObservationBodyTemperatureLite",
  "status": "active",
  "date": "2021-11-18T09:01:38.1358796+00:00",
  "description": "Cambio Lite profile for communicating the vital parameter, body temperature, between an external system and COSMIC. The profile includes fields for the value of the temperature, contextuel data and meta data.",
  "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/ObservationBodyTemperatureCore/v1",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation.meta",
        "path": "Observation.meta",
        "min": 1
      },
      {
        "id": "Observation.meta.source",
        "path": "Observation.meta.source",
        "mustSupport": true
      },
      {
        "id": "Observation.meta.profile",
        "path": "Observation.meta.profile",
        "min": 1,
        "max": "1"
      },
      {
        "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 | entered in error | cancelled",
        "definition": "The status of the result value. \r\nFHIR - Cambio\r\npreliminary -> unsigned \r\nfinal -> signed and completednonSignable\r\namended -> not supported \r\nentered in error -> invalidated \r\ncancelled -> removed",
        "binding": {
          "strength": "required",
          "description": "Subset of codes providing the status of an observation.",
          "valueSet": "https://cambio.codes/fhir/vs/vital-sign-status/v1"
        }
      },
      {
        "id": "Observation.focus",
        "path": "Observation.focus",
        "max": "0"
      },
      {
        "id": "Observation.issued",
        "path": "Observation.issued",
        "max": "0"
      },
      {
        "id": "Observation.performer",
        "path": "Observation.performer",
        "max": "2",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Practitioner",
              "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
              "http://hl7.org/fhir/StructureDefinition/Organization",
              "http://hl7.org/fhir/StructureDefinition/Patient"
            ]
          }
        ]
      },
      {
        "id": "Observation.performer:patient",
        "path": "Observation.performer",
        "sliceName": "patient",
        "max": "1"
      },
      {
        "id": "Observation.performer:practitioner",
        "path": "Observation.performer",
        "sliceName": "practitioner",
        "max": "1"
      },
      {
        "id": "Observation.performer:organization",
        "path": "Observation.performer",
        "sliceName": "organization",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://commonprofiles.care/StructureDefinition/OrganizationSEVendorLite/v1"
            ]
          }
        ]
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "min": 1
      },
      {
        "id": "Observation.value[x]:valueQuantity",
        "path": "Observation.value[x]",
        "sliceName": "valueQuantity",
        "min": 1
      },
      {
        "id": "Observation.value[x]:valueQuantity.value",
        "path": "Observation.value[x].value",
        "definition": "The value of the measured amount. The value of the body temperature must be within the range of 10.0.. < 50.0.",
        "minValueDecimal": 10,
        "maxValueDecimal": 49.9
      },
      {
        "id": "Observation.value[x]:valueQuantity.unit",
        "path": "Observation.value[x].unit",
        "fixedString": "Cel"
      },
      {
        "id": "Observation.value[x]:valueQuantity.code",
        "path": "Observation.value[x].code",
        "fixedCode": "Cel"
      },
      {
        "id": "Observation.dataAbsentReason",
        "path": "Observation.dataAbsentReason",
        "max": "0"
      },
      {
        "id": "Observation.interpretation",
        "path": "Observation.interpretation",
        "max": "0"
      },
      {
        "id": "Observation.note",
        "path": "Observation.note",
        "max": "0"
      },
      {
        "id": "Observation.bodySite",
        "path": "Observation.bodySite",
        "max": "0"
      },
      {
        "id": "Observation.method",
        "path": "Observation.method",
        "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"
      }
    ]
  }
}