{
  "resourceType": "StructureDefinition",
  "id": "logicalmodel-Sofascore-R4",
  "url": "http://linkehr.com/fhir/logicalmodel-sofascore-R4",
  "identifier": [
    {
      "system": "openEHR-CKM",
      "value": "openEHR-EHR-OBSERVATION.sofa_score.v0"
    }
  ],
  "version": "0",
  "name": "Sofascore",
  "title": "SOFA score",
  "status": "draft",
  "date": "2024-06-18",
  "publisher": "openEHR",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.veratech.es"
        }
      ]
    }
  ],
  "description": "A scoring system to grade and follow the development of organ dysfunction in six vital organ systems. Previously known as \\\"Sepsis related Organ Failure Assessment\\\".",
  "purpose": "To record the results for each component parameter and their total sum for the SOFA score.",
  "fhirVersion": "4.0.0",
  "mapping": [
    {
      "identity": "openEHR",
      "uri": "http://openehr.org",
      "name": "openEHR Mapping"
    },
    {
      "identity": "openEHR-natural",
      "uri": "http://openehr.org",
      "name": "openEHR natural path"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "StructureDefinition",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Element",
  "snapshot": {
    "element": [
      {
        "id": "SOFA_score",
        "path": "SOFA_score",
        "short": "SOFA score",
        "definition": "A scoring system to grade and follow the development of organ dysfunction in six vital organ systems. Previously known as \\\"Sepsis related Organ Failure Assessment\\\".",
        "min": 1,
        "max": "1",
        "base": {
          "path": "SOFA_score",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "SOFA_score.protocol",
        "path": "SOFA_score.protocol",
        "short": "Item tree",
        "definition": "@ internal @",
        "min": 0,
        "max": "1",
        "base": {
          "path": "SOFA_score.protocol",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "SOFA_score.protocol.Extension",
        "path": "SOFA_score.protocol.Extension",
        "short": "Extension",
        "definition": "Additional information required to extend the model with local content or to align with other reference models or formalisms.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "SOFA_score.protocol.Extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "SOFA_score.Event_Series",
        "path": "SOFA_score.Event_Series",
        "short": "Event Series",
        "definition": "@ internal @",
        "min": 0,
        "max": "1",
        "base": {
          "path": "SOFA_score.Event_Series",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "SOFA_score.Event_Series.Any_event",
        "path": "SOFA_score.Event_Series.Any_event",
        "short": "Any event",
        "definition": "Default, unspecified point in time or interval event which may be explicitly defined in a template or at run-time.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "SOFA_score.Event_Series.Any_event",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "SOFA_score.Event_Series.Any_event.data",
        "path": "SOFA_score.Event_Series.Any_event.data",
        "short": "Tree",
        "definition": "@ internal @",
        "min": 0,
        "max": "1",
        "base": {
          "path": "SOFA_score.Event_Series.Any_event.data",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "SOFA_score.Event_Series.Any_event.data.Respiration",
        "path": "SOFA_score.Event_Series.Any_event.data.Respiration",
        "short": "Respiration",
        "definition": "The ratio between the partial pressure of oxygen (PaO₂) and the fraction of inspired oxygen (FiO₂) is an indicator for a possible dysfunction of the respiratory system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "SOFA_score.Event_Series.Any_event.data.Respiration",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "SOFA_score.Event_Series.Any_event.data.Respiration.value",
        "path": "SOFA_score.Event_Series.Any_event.data.Respiration.value",
        "short": "Respiration",
        "definition": "The ratio between the partial pressure of oxygen (PaO₂) and the fraction of inspired oxygen (FiO₂) is an indicator for a possible dysfunction of the respiratory system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "SOFA_score.Event_Series.Any_event.data.Respiration.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "SOFA_score.Event_Series.Any_event.data.Cardiovascular_system",
        "path": "SOFA_score.Event_Series.Any_event.data.Cardiovascular_system",
        "short": "Cardiovascular system",
        "definition": "The mean arterial pressure (MAP), or the need for vasopressors (VP), (dopamine (DA), adrenaline (A), noradrenaline (NA) or dobutamine) are indicators for a possible dysfunction of the cardiovascular system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "SOFA_score.Event_Series.Any_event.data.Cardiovascular_system",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "SOFA_score.Event_Series.Any_event.data.Cardiovascular_system.value",
        "path": "SOFA_score.Event_Series.Any_event.data.Cardiovascular_system.value",
        "short": "Cardiovascular system",
        "definition": "The mean arterial pressure (MAP), or the need for vasopressors (VP), (dopamine (DA), adrenaline (A), noradrenaline (NA) or dobutamine) are indicators for a possible dysfunction of the cardiovascular system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "SOFA_score.Event_Series.Any_event.data.Cardiovascular_system.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "SOFA_score.Event_Series.Any_event.data.Central_nervous_system",
        "path": "SOFA_score.Event_Series.Any_event.data.Central_nervous_system",
        "short": "Central nervous system",
        "definition": "The Glasgow Coma Scale (GCS) is an indicator for a possible dysfunction of the central nervous system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "SOFA_score.Event_Series.Any_event.data.Central_nervous_system",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "SOFA_score.Event_Series.Any_event.data.Central_nervous_system.value",
        "path": "SOFA_score.Event_Series.Any_event.data.Central_nervous_system.value",
        "short": "Central nervous system",
        "definition": "The Glasgow Coma Scale (GCS) is an indicator for a possible dysfunction of the central nervous system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "SOFA_score.Event_Series.Any_event.data.Central_nervous_system.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "SOFA_score.Event_Series.Any_event.data.Renal_function",
        "path": "SOFA_score.Event_Series.Any_event.data.Renal_function",
        "short": "Renal function",
        "definition": "Creatinine concentration and 24 h urine output (UOP) are indicators for a possible dysfunction of the central nervous system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "SOFA_score.Event_Series.Any_event.data.Renal_function",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "SOFA_score.Event_Series.Any_event.data.Renal_function.value",
        "path": "SOFA_score.Event_Series.Any_event.data.Renal_function.value",
        "short": "Renal function",
        "definition": "Creatinine concentration and 24 h urine output (UOP) are indicators for a possible dysfunction of the central nervous system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "SOFA_score.Event_Series.Any_event.data.Renal_function.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "SOFA_score.Event_Series.Any_event.data.Liver_function",
        "path": "SOFA_score.Event_Series.Any_event.data.Liver_function",
        "short": "Liver function",
        "definition": "Bilirubin concentration is an indicator for a possible dysfunction of the central nervous system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "SOFA_score.Event_Series.Any_event.data.Liver_function",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "SOFA_score.Event_Series.Any_event.data.Liver_function.value",
        "path": "SOFA_score.Event_Series.Any_event.data.Liver_function.value",
        "short": "Liver function",
        "definition": "Bilirubin concentration is an indicator for a possible dysfunction of the central nervous system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "SOFA_score.Event_Series.Any_event.data.Liver_function.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "SOFA_score.Event_Series.Any_event.data.Blood_clotting",
        "path": "SOFA_score.Event_Series.Any_event.data.Blood_clotting",
        "short": "Blood clotting",
        "definition": "Platelets concentration is an indicator for a possible dysfunction of the blood clotting system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "SOFA_score.Event_Series.Any_event.data.Blood_clotting",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "SOFA_score.Event_Series.Any_event.data.Blood_clotting.value",
        "path": "SOFA_score.Event_Series.Any_event.data.Blood_clotting.value",
        "short": "Blood clotting",
        "definition": "Platelets concentration is an indicator for a possible dysfunction of the blood clotting system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "SOFA_score.Event_Series.Any_event.data.Blood_clotting.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "SOFA_score.Event_Series.Any_event.data.Total_score",
        "path": "SOFA_score.Event_Series.Any_event.data.Total_score",
        "short": "Total score",
        "definition": "The total sum of each component parameter for the SOFA score.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "SOFA_score.Event_Series.Any_event.data.Total_score",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "SOFA_score.Event_Series.Any_event.data.Total_score.value",
        "path": "SOFA_score.Event_Series.Any_event.data.Total_score.value",
        "short": "Total score",
        "definition": "The total sum of each component parameter for the SOFA score.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "SOFA_score.Event_Series.Any_event.data.Total_score.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      }
    ]
  }
}