{
  "resourceType": "StructureDefinition",
  "id": "logicalmodel-Cha2ds2-vascscore-R4",
  "url": "http://linkehr.com/fhir/logicalmodel-cha2ds2-vascscore-R4",
  "identifier": [
    {
      "system": "openEHR-CKM",
      "value": "openEHR-EHR-OBSERVATION.chadsvas_score.v0"
    }
  ],
  "version": "0",
  "name": "Cha2ds2-vascscore",
  "title": "CHA₂DS₂-VASc score",
  "status": "draft",
  "date": "2024-06-18",
  "publisher": "openEHR",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.veratech.es"
        }
      ]
    }
  ],
  "description": "Risk stratification for stroke based on the CHA₂DS₂-VASc score defined by the European Society of Cardiology (ESC) guidelines for management of atrial fibrillation.",
  "purpose": "To record individual CHA₂DS₂-VASc score parameters and total 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": "CHA₂DS₂_VASc_score",
        "path": "CHA₂DS₂_VASc_score",
        "short": "CHA₂DS₂-VASc score",
        "definition": "Risk stratification for stroke based on the CHA₂DS₂-VASc score defined by the European Society of Cardiology (ESC) guidelines for management of atrial fibrillation.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "CHA₂DS₂_VASc_score",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "CHA₂DS₂_VASc_score.protocol",
        "path": "CHA₂DS₂_VASc_score.protocol",
        "short": "Item tree",
        "definition": "@ internal @",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CHA₂DS₂_VASc_score.protocol",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "CHA₂DS₂_VASc_score.protocol.Extension",
        "path": "CHA₂DS₂_VASc_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": "CHA₂DS₂_VASc_score.protocol.Extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "CHA₂DS₂_VASc_score.history",
        "path": "CHA₂DS₂_VASc_score.history",
        "short": "history",
        "definition": "HISTORY",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CHA₂DS₂_VASc_score.history",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "CHA₂DS₂_VASc_score.history.Any_event",
        "path": "CHA₂DS₂_VASc_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": "CHA₂DS₂_VASc_score.history.Any_event",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "CHA₂DS₂_VASc_score.history.Any_event.data",
        "path": "CHA₂DS₂_VASc_score.history.Any_event.data",
        "short": "Tree",
        "definition": "ITEM_TREE",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CHA₂DS₂_VASc_score.history.Any_event.data",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "CHA₂DS₂_VASc_score.history.Any_event.data.Congestive_Heart_Failure",
        "path": "CHA₂DS₂_VASc_score.history.Any_event.data.Congestive_Heart_Failure",
        "short": "Congestive Heart Failure",
        "definition": "ELEMENT",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CHA₂DS₂_VASc_score.history.Any_event.data.Congestive_Heart_Failure",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "CHA₂DS₂_VASc_score.history.Any_event.data.Congestive_Heart_Failure.value",
        "path": "CHA₂DS₂_VASc_score.history.Any_event.data.Congestive_Heart_Failure.value",
        "short": "Congestive Heart Failure",
        "definition": "DvOrdinal",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CHA₂DS₂_VASc_score.history.Any_event.data.Congestive_Heart_Failure.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "CHA₂DS₂_VASc_score.history.Any_event.data.Hypertension",
        "path": "CHA₂DS₂_VASc_score.history.Any_event.data.Hypertension",
        "short": "Hypertension",
        "definition": "ELEMENT",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CHA₂DS₂_VASc_score.history.Any_event.data.Hypertension",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "CHA₂DS₂_VASc_score.history.Any_event.data.Hypertension.value",
        "path": "CHA₂DS₂_VASc_score.history.Any_event.data.Hypertension.value",
        "short": "Hypertension",
        "definition": "DvOrdinal",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CHA₂DS₂_VASc_score.history.Any_event.data.Hypertension.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "CHA₂DS₂_VASc_score.history.Any_event.data.Diabetes",
        "path": "CHA₂DS₂_VASc_score.history.Any_event.data.Diabetes",
        "short": "Diabetes",
        "definition": "ELEMENT",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CHA₂DS₂_VASc_score.history.Any_event.data.Diabetes",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "CHA₂DS₂_VASc_score.history.Any_event.data.Diabetes.value",
        "path": "CHA₂DS₂_VASc_score.history.Any_event.data.Diabetes.value",
        "short": "Diabetes",
        "definition": "DvOrdinal",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CHA₂DS₂_VASc_score.history.Any_event.data.Diabetes.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "CHA₂DS₂_VASc_score.history.Any_event.data.Age",
        "path": "CHA₂DS₂_VASc_score.history.Any_event.data.Age",
        "short": "Age",
        "definition": "ELEMENT",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CHA₂DS₂_VASc_score.history.Any_event.data.Age",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "CHA₂DS₂_VASc_score.history.Any_event.data.Age.value",
        "path": "CHA₂DS₂_VASc_score.history.Any_event.data.Age.value",
        "short": "Age",
        "definition": "DvOrdinal",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CHA₂DS₂_VASc_score.history.Any_event.data.Age.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "CHA₂DS₂_VASc_score.history.Any_event.data.Previous_stroke",
        "path": "CHA₂DS₂_VASc_score.history.Any_event.data.Previous_stroke",
        "short": "Previous stroke",
        "definition": "ELEMENT",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CHA₂DS₂_VASc_score.history.Any_event.data.Previous_stroke",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "CHA₂DS₂_VASc_score.history.Any_event.data.Previous_stroke.value",
        "path": "CHA₂DS₂_VASc_score.history.Any_event.data.Previous_stroke.value",
        "short": "Previous stroke",
        "definition": "DvOrdinal",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CHA₂DS₂_VASc_score.history.Any_event.data.Previous_stroke.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "CHA₂DS₂_VASc_score.history.Any_event.data.Vascular_disease",
        "path": "CHA₂DS₂_VASc_score.history.Any_event.data.Vascular_disease",
        "short": "Vascular disease",
        "definition": "ELEMENT",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CHA₂DS₂_VASc_score.history.Any_event.data.Vascular_disease",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "CHA₂DS₂_VASc_score.history.Any_event.data.Vascular_disease.value",
        "path": "CHA₂DS₂_VASc_score.history.Any_event.data.Vascular_disease.value",
        "short": "Vascular disease",
        "definition": "DvOrdinal",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CHA₂DS₂_VASc_score.history.Any_event.data.Vascular_disease.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "CHA₂DS₂_VASc_score.history.Any_event.data.Gender",
        "path": "CHA₂DS₂_VASc_score.history.Any_event.data.Gender",
        "short": "Gender",
        "definition": "ELEMENT",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CHA₂DS₂_VASc_score.history.Any_event.data.Gender",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "CHA₂DS₂_VASc_score.history.Any_event.data.Gender.value",
        "path": "CHA₂DS₂_VASc_score.history.Any_event.data.Gender.value",
        "short": "Gender",
        "definition": "DvOrdinal",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CHA₂DS₂_VASc_score.history.Any_event.data.Gender.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "CHA₂DS₂_VASc_score.history.Any_event.data.Total_score",
        "path": "CHA₂DS₂_VASc_score.history.Any_event.data.Total_score",
        "short": "Total score",
        "definition": "The total sum of each component parameter for the CHA₂DS₂-VASc score.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CHA₂DS₂_VASc_score.history.Any_event.data.Total_score",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "CHA₂DS₂_VASc_score.history.Any_event.data.Total_score.value",
        "path": "CHA₂DS₂_VASc_score.history.Any_event.data.Total_score.value",
        "short": "Total score",
        "definition": "The total sum of each component parameter for the CHA₂DS₂-VASc score.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CHA₂DS₂_VASc_score.history.Any_event.data.Total_score.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      }
    ]
  }
}