{
  "resourceType": "StructureDefinition",
  "id": "SmartAL-Observation-BodyTemperature",
  "url": "http://alticelabs.com/fhir/StructureDefinition/SmartAL-Observation-BodyTemperature",
  "name": "SmartALObservationBodyTemperature",
  "title": "SmartAL Observation — Body Temperature",
  "status": "active",
  "description": "Body temperature observation (LOINC 8310-5). Value in degrees Celsius.\n\nInterpretation and referenceRange MAY be present when a matching\nObservationDefinition exists — they are enriched automatically by MHR\nat creation time.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://alticelabs.com/fhir/StructureDefinition/SmartAL-Observation-Base",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation.code.coding",
        "path": "Observation.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.code.coding:loinc",
        "path": "Observation.code.coding",
        "sliceName": "loinc",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.code.coding:loinc.system",
        "path": "Observation.code.coding.system",
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Observation.code.coding:loinc.code",
        "path": "Observation.code.coding.code",
        "min": 1,
        "fixedCode": "8310-5"
      },
      {
        "id": "Observation.code.coding:loinc.display",
        "path": "Observation.code.coding.display",
        "fixedString": "Body temperature"
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "min": 1,
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.value[x].value",
        "path": "Observation.value[x].value",
        "min": 1
      },
      {
        "id": "Observation.value[x].unit",
        "path": "Observation.value[x].unit",
        "fixedString": "°C"
      },
      {
        "id": "Observation.value[x].system",
        "path": "Observation.value[x].system",
        "fixedUri": "http://unitsofmeasure.org"
      },
      {
        "id": "Observation.value[x].code",
        "path": "Observation.value[x].code",
        "fixedCode": "Cel"
      }
    ]
  }
}