{
  "resourceType": "StructureDefinition",
  "id": "logicalmodel-Atriastrokeriskscore-R4",
  "url": "http://linkehr.com/fhir/logicalmodel-atriastrokeriskscore-R4",
  "identifier": [
    {
      "system": "openEHR-CKM",
      "value": "openEHR-EHR-OBSERVATION.atria_stroke_risk.v0"
    }
  ],
  "version": "0",
  "name": "Atriastrokeriskscore",
  "title": "ATRIA stroke risk score",
  "status": "draft",
  "date": "2024-06-18",
  "publisher": "openEHR",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.veratech.es"
        }
      ]
    }
  ],
  "description": "An assessment tool used to determine the risk of stroke in patients with atrial fibrillation.",
  "purpose": "To record the results for each component parameter and their total sum for the ATRIA stroke risk 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": "ATRIA_stroke_risk_score",
        "path": "ATRIA_stroke_risk_score",
        "short": "ATRIA stroke risk score",
        "definition": "An assessment tool used to determine the risk of stroke in patients with atrial fibrillation.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "ATRIA_stroke_risk_score",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "ATRIA_stroke_risk_score.protocol",
        "path": "ATRIA_stroke_risk_score.protocol",
        "short": "Item tree",
        "definition": "@ internal @",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ATRIA_stroke_risk_score.protocol",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "ATRIA_stroke_risk_score.protocol.Extension",
        "path": "ATRIA_stroke_risk_score.protocol.Extension",
        "short": "Extension",
        "definition": "Additional information required to capture local content or to align with other reference models/formalisms.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "ATRIA_stroke_risk_score.protocol.Extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "ATRIA_stroke_risk_score.Event_Series",
        "path": "ATRIA_stroke_risk_score.Event_Series",
        "short": "Event Series",
        "definition": "@ internal @",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ATRIA_stroke_risk_score.Event_Series",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "ATRIA_stroke_risk_score.Event_Series.Any_event",
        "path": "ATRIA_stroke_risk_score.Event_Series.Any_event",
        "short": "Any event",
        "definition": "*",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ATRIA_stroke_risk_score.Event_Series.Any_event",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "ATRIA_stroke_risk_score.Event_Series.Any_event.data",
        "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data",
        "short": "Tree",
        "definition": "@ internal @",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.History_of_stroke",
        "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.History_of_stroke",
        "short": "History of stroke",
        "definition": "Does the individual have a history of cerebrovascular accident/stroke?",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.History_of_stroke",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.History_of_stroke.value",
        "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.History_of_stroke.value",
        "short": "History of stroke",
        "definition": "Does the individual have a history of cerebrovascular accident/stroke?",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.History_of_stroke.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.Age",
        "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.Age",
        "short": "Age",
        "definition": "What is the age and has the individual ever had a prior stroke?",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.Age",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.Age.value",
        "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.Age.value",
        "short": "Age",
        "definition": "What is the age and has the individual ever had a prior stroke?",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.Age.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.Sex",
        "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.Sex",
        "short": "Sex",
        "definition": "Is the individual male or female?",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.Sex",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.Sex.value",
        "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.Sex.value",
        "short": "Sex",
        "definition": "Is the individual male or female?",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.Sex.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.History_of_diabetes_mellitus",
        "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.History_of_diabetes_mellitus",
        "short": "History of diabetes mellitus",
        "definition": "Does the individual have a history of diabetes mellitus?",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.History_of_diabetes_mellitus",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.History_of_diabetes_mellitus.value",
        "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.History_of_diabetes_mellitus.value",
        "short": "History of diabetes mellitus",
        "definition": "Does the individual have a history of diabetes mellitus?",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.History_of_diabetes_mellitus.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.History_of_congestive_heart_failure",
        "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.History_of_congestive_heart_failure",
        "short": "History of congestive heart failure",
        "definition": "Does the individual have a history of congestive heart failure?",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.History_of_congestive_heart_failure",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.History_of_congestive_heart_failure.value",
        "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.History_of_congestive_heart_failure.value",
        "short": "History of congestive heart failure",
        "definition": "Does the individual have a history of congestive heart failure?",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.History_of_congestive_heart_failure.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.History_of_hypertension",
        "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.History_of_hypertension",
        "short": "History of hypertension",
        "definition": "Does the individual have a history of hypertension?",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.History_of_hypertension",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.History_of_hypertension.value",
        "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.History_of_hypertension.value",
        "short": "History of hypertension",
        "definition": "Does the individual have a history of hypertension?",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.History_of_hypertension.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.Proteinuria",
        "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.Proteinuria",
        "short": "Proteinuria",
        "definition": "Does the individual have proteinuria?",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.Proteinuria",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.Proteinuria.value",
        "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.Proteinuria.value",
        "short": "Proteinuria",
        "definition": "Does the individual have proteinuria?",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.Proteinuria.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.eGFR",
        "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.eGFR",
        "short": "eGFR",
        "definition": "The estimated glomerular filtration rate (based on MDRD equation) or presence of end-stage renal disease (ESRD).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.eGFR",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.eGFR.value",
        "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.eGFR.value",
        "short": "eGFR",
        "definition": "The estimated glomerular filtration rate (based on MDRD equation) or presence of end-stage renal disease (ESRD).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.eGFR.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.Total_score",
        "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.Total_score",
        "short": "Total score",
        "definition": "Sum of points assigned for each of the component parameters.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.Total_score",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.Total_score.value",
        "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.Total_score.value",
        "short": "Total score",
        "definition": "Sum of points assigned for each of the component parameters.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ATRIA_stroke_risk_score.Event_Series.Any_event.data.Total_score.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      }
    ]
  }
}