{
  "resourceType": "StructureDefinition",
  "id": "logicalmodel-Child-pughscore-R4",
  "url": "http://linkehr.com/fhir/logicalmodel-child-pughscore-R4",
  "identifier": [
    {
      "system": "openEHR-CKM",
      "value": "openEHR-EHR-OBSERVATION.child_pugh_score.v0"
    }
  ],
  "version": "0",
  "name": "Child-pughscore",
  "title": "Child-Pugh score",
  "status": "draft",
  "date": "2024-06-18",
  "publisher": "openEHR",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.veratech.es"
        }
      ]
    }
  ],
  "description": "Tool used to assess the prognosis of chronic liver disease, mainly cirrhosis.",
  "purpose": "To record an assessment of prognosis for chronic liver disease.",
  "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": "Child_Pugh_score",
        "path": "Child_Pugh_score",
        "short": "Child-Pugh score",
        "definition": "Tool used to assess the prognosis of chronic liver disease, mainly cirrhosis.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Child_Pugh_score",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Child_Pugh_score.ItemTree",
        "path": "Child_Pugh_score.ItemTree",
        "short": "ItemTree",
        "definition": "@ internal @",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Child_Pugh_score.ItemTree",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Child_Pugh_score.ItemTree.Extension",
        "path": "Child_Pugh_score.ItemTree.Extension",
        "short": "Extension",
        "definition": "Additional information required to capture local content or to align with other reference models/formalisms.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Child_Pugh_score.ItemTree.Extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Child_Pugh_score.History",
        "path": "Child_Pugh_score.History",
        "short": "History",
        "definition": "@ internal @",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Child_Pugh_score.History",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Child_Pugh_score.History.Any_Event",
        "path": "Child_Pugh_score.History.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": "Child_Pugh_score.History.Any_Event",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Child_Pugh_score.History.Any_Event.ItemTree",
        "path": "Child_Pugh_score.History.Any_Event.ItemTree",
        "short": "ItemTree",
        "definition": "@ internal @",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Child_Pugh_score.History.Any_Event.ItemTree",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Child_Pugh_score.History.Any_Event.ItemTree.Total_bilirubin",
        "path": "Child_Pugh_score.History.Any_Event.ItemTree.Total_bilirubin",
        "short": "Total bilirubin",
        "definition": "Score for total bilirubin in micromole per litre.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Child_Pugh_score.History.Any_Event.ItemTree.Total_bilirubin",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Child_Pugh_score.History.Any_Event.ItemTree.Total_bilirubin.value",
        "path": "Child_Pugh_score.History.Any_Event.ItemTree.Total_bilirubin.value",
        "short": "Total bilirubin",
        "definition": "Score for total bilirubin in micromole per litre.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Child_Pugh_score.History.Any_Event.ItemTree.Total_bilirubin.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Child_Pugh_score.History.Any_Event.ItemTree.Serum_albumin",
        "path": "Child_Pugh_score.History.Any_Event.ItemTree.Serum_albumin",
        "short": "Serum albumin",
        "definition": "Score for serum albumin in grams per litre.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Child_Pugh_score.History.Any_Event.ItemTree.Serum_albumin",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Child_Pugh_score.History.Any_Event.ItemTree.Serum_albumin.value",
        "path": "Child_Pugh_score.History.Any_Event.ItemTree.Serum_albumin.value",
        "short": "Serum albumin",
        "definition": "Score for serum albumin in grams per litre.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Child_Pugh_score.History.Any_Event.ItemTree.Serum_albumin.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Child_Pugh_score.History.Any_Event.ItemTree.INR",
        "path": "Child_Pugh_score.History.Any_Event.ItemTree.INR",
        "short": "INR",
        "definition": "Score for INR.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Child_Pugh_score.History.Any_Event.ItemTree.INR",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Child_Pugh_score.History.Any_Event.ItemTree.INR.value",
        "path": "Child_Pugh_score.History.Any_Event.ItemTree.INR.value",
        "short": "INR",
        "definition": "Score for INR.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Child_Pugh_score.History.Any_Event.ItemTree.INR.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Child_Pugh_score.History.Any_Event.ItemTree.Ascites",
        "path": "Child_Pugh_score.History.Any_Event.ItemTree.Ascites",
        "short": "Ascites",
        "definition": "Score for presence of ascites.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Child_Pugh_score.History.Any_Event.ItemTree.Ascites",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Child_Pugh_score.History.Any_Event.ItemTree.Ascites.value",
        "path": "Child_Pugh_score.History.Any_Event.ItemTree.Ascites.value",
        "short": "Ascites",
        "definition": "Score for presence of ascites.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Child_Pugh_score.History.Any_Event.ItemTree.Ascites.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Child_Pugh_score.History.Any_Event.ItemTree.Hepatic_encephalopathy",
        "path": "Child_Pugh_score.History.Any_Event.ItemTree.Hepatic_encephalopathy",
        "short": "Hepatic encephalopathy",
        "definition": "Score for presence of hepatic encephalopathy.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Child_Pugh_score.History.Any_Event.ItemTree.Hepatic_encephalopathy",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Child_Pugh_score.History.Any_Event.ItemTree.Hepatic_encephalopathy.value",
        "path": "Child_Pugh_score.History.Any_Event.ItemTree.Hepatic_encephalopathy.value",
        "short": "Hepatic encephalopathy",
        "definition": "Score for presence of hepatic encephalopathy.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Child_Pugh_score.History.Any_Event.ItemTree.Hepatic_encephalopathy.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Child_Pugh_score.History.Any_Event.ItemTree.Adjusted_bilirubin",
        "path": "Child_Pugh_score.History.Any_Event.ItemTree.Adjusted_bilirubin",
        "short": "Adjusted bilirubin",
        "definition": "Score for total bilirubin if the patient has primary biliary cirrhosis or sclerosing cholangitis.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Child_Pugh_score.History.Any_Event.ItemTree.Adjusted_bilirubin",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Child_Pugh_score.History.Any_Event.ItemTree.Adjusted_bilirubin.value",
        "path": "Child_Pugh_score.History.Any_Event.ItemTree.Adjusted_bilirubin.value",
        "short": "Adjusted bilirubin",
        "definition": "Score for total bilirubin if the patient has primary biliary cirrhosis or sclerosing cholangitis.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Child_Pugh_score.History.Any_Event.ItemTree.Adjusted_bilirubin.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Child_Pugh_score.History.Any_Event.ItemTree.Total_score",
        "path": "Child_Pugh_score.History.Any_Event.ItemTree.Total_score",
        "short": "Total score",
        "definition": "Sum of the individual scores assigned for each of the contributing variables.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Child_Pugh_score.History.Any_Event.ItemTree.Total_score",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Child_Pugh_score.History.Any_Event.ItemTree.Total_score.value",
        "path": "Child_Pugh_score.History.Any_Event.ItemTree.Total_score.value",
        "short": "Total score",
        "definition": "Sum of the individual scores assigned for each of the contributing variables.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Child_Pugh_score.History.Any_Event.ItemTree.Total_score.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Child_Pugh_score.History.Any_Event.ItemTree.Grade",
        "path": "Child_Pugh_score.History.Any_Event.ItemTree.Grade",
        "short": "Grade",
        "definition": "Grading, based on total score.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Child_Pugh_score.History.Any_Event.ItemTree.Grade",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Child_Pugh_score.History.Any_Event.ItemTree.Grade.value",
        "path": "Child_Pugh_score.History.Any_Event.ItemTree.Grade.value",
        "short": "Grade",
        "definition": "Grading, based on total score.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Child_Pugh_score.History.Any_Event.ItemTree.Grade.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      }
    ]
  }
}