{
  "resourceType": "StructureDefinition",
  "id": "logicalmodel-Causeofdeath-R4",
  "url": "http://linkehr.com/fhir/logicalmodel-causeofdeath-R4",
  "identifier": [
    {
      "system": "openEHR-CKM",
      "value": "openEHR-EHR-EVALUATION.cause_of_death.v1"
    }
  ],
  "version": "0",
  "name": "Causeofdeath",
  "title": "Cause of death",
  "status": "draft",
  "date": "2024-06-18",
  "publisher": "openEHR",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.veratech.es"
        }
      ]
    }
  ],
  "description": "Details about specific diseases, conditions or injuries that caused or contributed to the death of an individual.",
  "purpose": "To record details about specific diseases, conditions or injuries that caused or contributed to the death of an individual.",
  "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": "Cause_of_death",
        "path": "Cause_of_death",
        "short": "Cause of death",
        "definition": "Details about specific diseases, conditions or injuries that caused or contributed to the death of an individual.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Cause_of_death",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Cause_of_death.protocol",
        "path": "Cause_of_death.protocol",
        "short": "Item tree",
        "definition": "@ internal @",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cause_of_death.protocol",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Cause_of_death.protocol.Last_updated",
        "path": "Cause_of_death.protocol.Last_updated",
        "short": "Last updated",
        "definition": "The date when the cause of death was last updated.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cause_of_death.protocol.Last_updated",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Cause_of_death.protocol.Last_updated.value",
        "path": "Cause_of_death.protocol.Last_updated.value",
        "short": "Last updated",
        "definition": "The date when the cause of death was last updated.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cause_of_death.protocol.Last_updated.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Cause_of_death.protocol.Extension",
        "path": "Cause_of_death.protocol.Extension",
        "short": "Extension",
        "definition": "Additional information required to extend the model with local content or to align with other reference models/formalisms.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Cause_of_death.protocol.Extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Cause_of_death.data",
        "path": "Cause_of_death.data",
        "short": "Item tree",
        "definition": "@ internal @",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cause_of_death.data",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Cause_of_death.data.Description",
        "path": "Cause_of_death.data.Description",
        "short": "Description",
        "definition": "Narrative description about the contributing diseases, injuries, conditions and events leading to death.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cause_of_death.data.Description",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Cause_of_death.data.Description.value",
        "path": "Cause_of_death.data.Description.value",
        "short": "Description",
        "definition": "Narrative description about the contributing diseases, injuries, conditions and events leading to death.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cause_of_death.data.Description.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Cause_of_death.data.Direct_cause",
        "path": "Cause_of_death.data.Direct_cause",
        "short": "Direct cause",
        "definition": "The disease, condition or injury that directly led to, or occurred closest to, the time of death.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cause_of_death.data.Direct_cause",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Cause_of_death.data.Direct_cause.value",
        "path": "Cause_of_death.data.Direct_cause.value",
        "short": "Direct cause",
        "definition": "The disease, condition or injury that directly led to, or occurred closest to, the time of death.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cause_of_death.data.Direct_cause.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Cause_of_death.data.Direct_cause_duration",
        "path": "Cause_of_death.data.Direct_cause_duration",
        "short": "Direct cause duration",
        "definition": "The approximate interval from onset of the identified 'Direct cause' to death.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cause_of_death.data.Direct_cause_duration",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Cause_of_death.data.Direct_cause_duration.value_DV_DURATION",
        "path": "Cause_of_death.data.Direct_cause_duration.value_DV_DURATION",
        "short": "Direct cause duration",
        "definition": "The approximate interval from onset of the identified 'Direct cause' to death.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cause_of_death.data.Direct_cause_duration.value_DV_DURATION",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Duration"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Cause_of_death.data.Direct_cause_duration.value_DV_INTERVAL_DV_DURATION_",
        "path": "Cause_of_death.data.Direct_cause_duration.value_DV_INTERVAL_DV_DURATION_",
        "short": "Direct cause duration",
        "definition": "The approximate interval from onset of the identified 'Direct cause' to death.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cause_of_death.data.Direct_cause_duration.value_DV_INTERVAL_DV_DURATION_",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Cause_of_death.data.Direct_cause_duration.value_DV_TEXT",
        "path": "Cause_of_death.data.Direct_cause_duration.value_DV_TEXT",
        "short": "Direct cause duration",
        "definition": "The approximate interval from onset of the identified 'Direct cause' to death.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cause_of_death.data.Direct_cause_duration.value_DV_TEXT",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Cause_of_death.data.Antecedent_cause(s)",
        "path": "Cause_of_death.data.Antecedent_cause(s)",
        "short": "Antecedent cause(s)",
        "definition": "Details about one or more diseases, conditions or injuries in the sequence of events preceding death, recorded in order from most recent onset to the earliest onset.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Cause_of_death.data.Antecedent_cause(s)",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Cause_of_death.data.Antecedent_cause(s).Cause",
        "path": "Cause_of_death.data.Antecedent_cause(s).Cause",
        "short": "Cause",
        "definition": "Identification of an antecedent disease, condition or injury that directly contributed to the 'Direct cause'.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Cause_of_death.data.Antecedent_cause(s).Cause",
          "min": 1,
          "max": "1"
        }
      },
      {
        "id": "Cause_of_death.data.Antecedent_cause(s).Cause.value",
        "path": "Cause_of_death.data.Antecedent_cause(s).Cause.value",
        "short": "Cause",
        "definition": "Identification of an antecedent disease, condition or injury that directly contributed to the 'Direct cause'.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cause_of_death.data.Antecedent_cause(s).Cause.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Cause_of_death.data.Antecedent_cause(s).Order",
        "path": "Cause_of_death.data.Antecedent_cause(s).Order",
        "short": "Order",
        "definition": "Order of onset of the identified 'Antecedent cause' in the sequence of events leading to death.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cause_of_death.data.Antecedent_cause(s).Order",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Cause_of_death.data.Antecedent_cause(s).Order.value_DV_TEXT",
        "path": "Cause_of_death.data.Antecedent_cause(s).Order.value_DV_TEXT",
        "short": "Order",
        "definition": "Order of onset of the identified 'Antecedent cause' in the sequence of events leading to death.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cause_of_death.data.Antecedent_cause(s).Order.value_DV_TEXT",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Cause_of_death.data.Antecedent_cause(s).Order.value_DV_CODED_TEXT",
        "path": "Cause_of_death.data.Antecedent_cause(s).Order.value_DV_CODED_TEXT",
        "short": "Order",
        "definition": "Order of onset of the identified 'Antecedent cause' in the sequence of events leading to death.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cause_of_death.data.Antecedent_cause(s).Order.value_DV_CODED_TEXT",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Cause_of_death.data.Antecedent_cause(s).Duration",
        "path": "Cause_of_death.data.Antecedent_cause(s).Duration",
        "short": "Duration",
        "definition": "The approximate interval from onset of the identified 'Cause' to death.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cause_of_death.data.Antecedent_cause(s).Duration",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Cause_of_death.data.Antecedent_cause(s).Duration.value_DV_TEXT",
        "path": "Cause_of_death.data.Antecedent_cause(s).Duration.value_DV_TEXT",
        "short": "Duration",
        "definition": "The approximate interval from onset of the identified 'Cause' to death.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cause_of_death.data.Antecedent_cause(s).Duration.value_DV_TEXT",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Cause_of_death.data.Antecedent_cause(s).Duration.value_DV_INTERVAL_DV_DURATION_",
        "path": "Cause_of_death.data.Antecedent_cause(s).Duration.value_DV_INTERVAL_DV_DURATION_",
        "short": "Duration",
        "definition": "The approximate interval from onset of the identified 'Cause' to death.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cause_of_death.data.Antecedent_cause(s).Duration.value_DV_INTERVAL_DV_DURATION_",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Cause_of_death.data.Antecedent_cause(s).Duration.value_DV_DURATION",
        "path": "Cause_of_death.data.Antecedent_cause(s).Duration.value_DV_DURATION",
        "short": "Duration",
        "definition": "The approximate interval from onset of the identified 'Cause' to death.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cause_of_death.data.Antecedent_cause(s).Duration.value_DV_DURATION",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Duration"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Cause_of_death.data.Antecedent_cause(s).Duration.value_DV_DATE_TIME",
        "path": "Cause_of_death.data.Antecedent_cause(s).Duration.value_DV_DATE_TIME",
        "short": "Duration",
        "definition": "The approximate interval from onset of the identified 'Cause' to death.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cause_of_death.data.Antecedent_cause(s).Duration.value_DV_DATE_TIME",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Cause_of_death.data.Contributing_conditions",
        "path": "Cause_of_death.data.Contributing_conditions",
        "short": "Contributing conditions",
        "definition": "Details about other significant conditions that may have contributed to the death, but without a causal association.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Cause_of_death.data.Contributing_conditions",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Cause_of_death.data.Contributing_conditions.Condition",
        "path": "Cause_of_death.data.Contributing_conditions.Condition",
        "short": "Condition",
        "definition": "Name of a significant condition that may have contributed to the death, but without a causal association.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Cause_of_death.data.Contributing_conditions.Condition",
          "min": 1,
          "max": "1"
        }
      },
      {
        "id": "Cause_of_death.data.Contributing_conditions.Condition.value",
        "path": "Cause_of_death.data.Contributing_conditions.Condition.value",
        "short": "Condition",
        "definition": "Name of a significant condition that may have contributed to the death, but without a causal association.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cause_of_death.data.Contributing_conditions.Condition.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Cause_of_death.data.Contributing_conditions.Duration",
        "path": "Cause_of_death.data.Contributing_conditions.Duration",
        "short": "Duration",
        "definition": "The approximate interval from onset of the identified 'Condition' to death.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cause_of_death.data.Contributing_conditions.Duration",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Cause_of_death.data.Contributing_conditions.Duration.value_DV_TEXT",
        "path": "Cause_of_death.data.Contributing_conditions.Duration.value_DV_TEXT",
        "short": "Duration",
        "definition": "The approximate interval from onset of the identified 'Condition' to death.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cause_of_death.data.Contributing_conditions.Duration.value_DV_TEXT",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Cause_of_death.data.Contributing_conditions.Duration.value_DV_INTERVAL_DV_DURATION_",
        "path": "Cause_of_death.data.Contributing_conditions.Duration.value_DV_INTERVAL_DV_DURATION_",
        "short": "Duration",
        "definition": "The approximate interval from onset of the identified 'Condition' to death.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cause_of_death.data.Contributing_conditions.Duration.value_DV_INTERVAL_DV_DURATION_",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Cause_of_death.data.Contributing_conditions.Duration.value_DV_DURATION",
        "path": "Cause_of_death.data.Contributing_conditions.Duration.value_DV_DURATION",
        "short": "Duration",
        "definition": "The approximate interval from onset of the identified 'Condition' to death.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cause_of_death.data.Contributing_conditions.Duration.value_DV_DURATION",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Duration"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Cause_of_death.data.Contributing_conditions.Duration.value_DV_DATE_TIME",
        "path": "Cause_of_death.data.Contributing_conditions.Duration.value_DV_DATE_TIME",
        "short": "Duration",
        "definition": "The approximate interval from onset of the identified 'Condition' to death.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cause_of_death.data.Contributing_conditions.Duration.value_DV_DATE_TIME",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Cause_of_death.data.Additional_details",
        "path": "Cause_of_death.data.Additional_details",
        "short": "Additional details",
        "definition": "Additional details about the cause of death.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Cause_of_death.data.Additional_details",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Cause_of_death.data.Comment",
        "path": "Cause_of_death.data.Comment",
        "short": "Comment",
        "definition": "Additional narrative about the cause of death, not captured in other fields.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cause_of_death.data.Comment",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Cause_of_death.data.Comment.value",
        "path": "Cause_of_death.data.Comment.value",
        "short": "Comment",
        "definition": "Additional narrative about the cause of death, not captured in other fields.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cause_of_death.data.Comment.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      }
    ]
  }
}