{
  "resourceType": "StructureDefinition",
  "id": "logicalmodel-Adversereactionrisk-R4",
  "url": "http://linkehr.com/fhir/logicalmodel-adversereactionrisk-R4",
  "identifier": [
    {
      "system": "openEHR-CKM",
      "value": "openEHR-EHR-EVALUATION.adverse_reaction_risk.v2"
    }
  ],
  "version": "0",
  "name": "Adversereactionrisk",
  "title": "Adverse reaction risk",
  "status": "draft",
  "date": "2024-06-18",
  "publisher": "openEHR",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.veratech.es"
        }
      ]
    }
  ],
  "description": "Clinical assessment of the propensity for an individual to experience a harmful or undesirable physiological response if exposed, or re-exposed, to a substance.",
  "purpose": "To record the clinical assessment of the propensity for an individual to experience an adverse reaction if exposed, or re-exposed, to a specified substance or class of substances.",
  "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": "Adverse_reaction_risk",
        "path": "Adverse_reaction_risk",
        "short": "Adverse reaction risk",
        "definition": "Clinical assessment of the propensity for an individual to experience a harmful or undesirable physiological response if exposed, or re-exposed, to a substance.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_risk.protocol",
        "path": "Adverse_reaction_risk.protocol",
        "short": "Tree",
        "definition": "@ internal @",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.protocol",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_risk.protocol.Last_updated",
        "path": "Adverse_reaction_risk.protocol.Last_updated",
        "short": "Last updated",
        "definition": "Date when the propensity or the reaction event was updated.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.protocol.Last_updated",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Adverse_reaction_risk.protocol.Last_updated.value",
        "path": "Adverse_reaction_risk.protocol.Last_updated.value",
        "short": "Last updated",
        "definition": "Date when the propensity or the reaction event was updated.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.protocol.Last_updated.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_risk.protocol.Supporting_clinical_record_information",
        "path": "Adverse_reaction_risk.protocol.Supporting_clinical_record_information",
        "short": "Supporting clinical record information",
        "definition": "Link to further information about the presentation and findings that exist elsewhere in the health record, including allergy test reports.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Adverse_reaction_risk.protocol.Supporting_clinical_record_information",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "Adverse_reaction_risk.protocol.Supporting_clinical_record_information.value",
        "path": "Adverse_reaction_risk.protocol.Supporting_clinical_record_information.value",
        "short": "Supporting clinical record information",
        "definition": "Link to further information about the presentation and findings that exist elsewhere in the health record, including allergy test reports.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.protocol.Supporting_clinical_record_information.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_risk.protocol.Extension",
        "path": "Adverse_reaction_risk.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": "Adverse_reaction_risk.protocol.Extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_risk.data",
        "path": "Adverse_reaction_risk.data",
        "short": "Tree",
        "definition": "@ internal @",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.data",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_risk.data.Substance",
        "path": "Adverse_reaction_risk.data.Substance",
        "short": "Substance",
        "definition": "Identification of a substance, or substance class, that is considered to put the individual at risk of an adverse reaction event.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.data.Substance",
          "min": 1,
          "max": "1"
        }
      },
      {
        "id": "Adverse_reaction_risk.data.Substance.value",
        "path": "Adverse_reaction_risk.data.Substance.value",
        "short": "Substance",
        "definition": "Identification of a substance, or substance class, that is considered to put the individual at risk of an adverse reaction event.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.data.Substance.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_risk.data.Active_inactive_status",
        "path": "Adverse_reaction_risk.data.Active_inactive_status",
        "short": "Active/inactive status",
        "definition": "Status about whether the adverse reaction risk statement is active or inactive.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.data.Active_inactive_status",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Adverse_reaction_risk.data.Active_inactive_status.value_DV_CODED_TEXT",
        "path": "Adverse_reaction_risk.data.Active_inactive_status.value_DV_CODED_TEXT",
        "short": "Active/inactive status",
        "definition": "Status about whether the adverse reaction risk statement is active or inactive.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.data.Active_inactive_status.value_DV_CODED_TEXT",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_risk.data.Active_inactive_status.value_DV_TEXT",
        "path": "Adverse_reaction_risk.data.Active_inactive_status.value_DV_TEXT",
        "short": "Active/inactive status",
        "definition": "Status about whether the adverse reaction risk statement is active or inactive.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.data.Active_inactive_status.value_DV_TEXT",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_risk.data.Verification_status",
        "path": "Adverse_reaction_risk.data.Verification_status",
        "short": "Verification status",
        "definition": "Assertion about the certainty of the propensity, or potential future risk, of the identified 'Substance' to cause a reaction.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.data.Verification_status",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Adverse_reaction_risk.data.Verification_status.value_DV_CODED_TEXT",
        "path": "Adverse_reaction_risk.data.Verification_status.value_DV_CODED_TEXT",
        "short": "Verification status",
        "definition": "Assertion about the certainty of the propensity, or potential future risk, of the identified 'Substance' to cause a reaction.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.data.Verification_status.value_DV_CODED_TEXT",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_risk.data.Verification_status.value_DV_TEXT",
        "path": "Adverse_reaction_risk.data.Verification_status.value_DV_TEXT",
        "short": "Verification status",
        "definition": "Assertion about the certainty of the propensity, or potential future risk, of the identified 'Substance' to cause a reaction.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.data.Verification_status.value_DV_TEXT",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_risk.data.Criticality",
        "path": "Adverse_reaction_risk.data.Criticality",
        "short": "Criticality",
        "definition": "An indication of the potential for critical system organ damage or life threatening consequence.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.data.Criticality",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Adverse_reaction_risk.data.Criticality.value_DV_CODED_TEXT",
        "path": "Adverse_reaction_risk.data.Criticality.value_DV_CODED_TEXT",
        "short": "Criticality",
        "definition": "An indication of the potential for critical system organ damage or life threatening consequence.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.data.Criticality.value_DV_CODED_TEXT",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_risk.data.Criticality.value_DV_TEXT",
        "path": "Adverse_reaction_risk.data.Criticality.value_DV_TEXT",
        "short": "Criticality",
        "definition": "An indication of the potential for critical system organ damage or life threatening consequence.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.data.Criticality.value_DV_TEXT",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_risk.data.Category",
        "path": "Adverse_reaction_risk.data.Category",
        "short": "Category",
        "definition": "Category of the identified 'Substance'.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.data.Category",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Adverse_reaction_risk.data.Category.value_DV_CODED_TEXT",
        "path": "Adverse_reaction_risk.data.Category.value_DV_CODED_TEXT",
        "short": "Category",
        "definition": "Category of the identified 'Substance'.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.data.Category.value_DV_CODED_TEXT",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_risk.data.Category.value_DV_TEXT",
        "path": "Adverse_reaction_risk.data.Category.value_DV_TEXT",
        "short": "Category",
        "definition": "Category of the identified 'Substance'.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.data.Category.value_DV_TEXT",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_risk.data.Onset_of_last_reaction",
        "path": "Adverse_reaction_risk.data.Onset_of_last_reaction",
        "short": "Onset of last reaction",
        "definition": "The date and/or time of the onset of the last known occurrence of a reaction event.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.data.Onset_of_last_reaction",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Adverse_reaction_risk.data.Onset_of_last_reaction.value_DV_DATE_TIME",
        "path": "Adverse_reaction_risk.data.Onset_of_last_reaction.value_DV_DATE_TIME",
        "short": "Onset of last reaction",
        "definition": "The date and/or time of the onset of the last known occurrence of a reaction event.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.data.Onset_of_last_reaction.value_DV_DATE_TIME",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_risk.data.Onset_of_last_reaction.value_DV_DURATION",
        "path": "Adverse_reaction_risk.data.Onset_of_last_reaction.value_DV_DURATION",
        "short": "Onset of last reaction",
        "definition": "The date and/or time of the onset of the last known occurrence of a reaction event.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.data.Onset_of_last_reaction.value_DV_DURATION",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Duration"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_risk.data.Onset_of_last_reaction.value_DV_INTERVAL_DV_DATE_TIME_",
        "path": "Adverse_reaction_risk.data.Onset_of_last_reaction.value_DV_INTERVAL_DV_DATE_TIME_",
        "short": "Onset of last reaction",
        "definition": "The date and/or time of the onset of the last known occurrence of a reaction event.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.data.Onset_of_last_reaction.value_DV_INTERVAL_DV_DATE_TIME_",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_risk.data.Onset_of_last_reaction.value_DV_INTERVAL_DV_DURATION_",
        "path": "Adverse_reaction_risk.data.Onset_of_last_reaction.value_DV_INTERVAL_DV_DURATION_",
        "short": "Onset of last reaction",
        "definition": "The date and/or time of the onset of the last known occurrence of a reaction event.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.data.Onset_of_last_reaction.value_DV_INTERVAL_DV_DURATION_",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_risk.data.Onset_of_last_reaction.value_DV_TEXT",
        "path": "Adverse_reaction_risk.data.Onset_of_last_reaction.value_DV_TEXT",
        "short": "Onset of last reaction",
        "definition": "The date and/or time of the onset of the last known occurrence of a reaction event.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.data.Onset_of_last_reaction.value_DV_TEXT",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_risk.data.Onset_of_first_reaction",
        "path": "Adverse_reaction_risk.data.Onset_of_first_reaction",
        "short": "Onset of first reaction",
        "definition": "The onset of the first known occurrence of a reaction event.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.data.Onset_of_first_reaction",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Adverse_reaction_risk.data.Onset_of_first_reaction.value_DV_DATE_TIME",
        "path": "Adverse_reaction_risk.data.Onset_of_first_reaction.value_DV_DATE_TIME",
        "short": "Onset of first reaction",
        "definition": "The onset of the first known occurrence of a reaction event.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.data.Onset_of_first_reaction.value_DV_DATE_TIME",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_risk.data.Onset_of_first_reaction.value_DV_DURATION",
        "path": "Adverse_reaction_risk.data.Onset_of_first_reaction.value_DV_DURATION",
        "short": "Onset of first reaction",
        "definition": "The onset of the first known occurrence of a reaction event.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.data.Onset_of_first_reaction.value_DV_DURATION",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Duration"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_risk.data.Onset_of_first_reaction.value_DV_TEXT",
        "path": "Adverse_reaction_risk.data.Onset_of_first_reaction.value_DV_TEXT",
        "short": "Onset of first reaction",
        "definition": "The onset of the first known occurrence of a reaction event.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.data.Onset_of_first_reaction.value_DV_TEXT",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_risk.data.Onset_of_first_reaction.value_DV_INTERVAL_DV_DATE_TIME_",
        "path": "Adverse_reaction_risk.data.Onset_of_first_reaction.value_DV_INTERVAL_DV_DATE_TIME_",
        "short": "Onset of first reaction",
        "definition": "The onset of the first known occurrence of a reaction event.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.data.Onset_of_first_reaction.value_DV_INTERVAL_DV_DATE_TIME_",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_risk.data.Onset_of_first_reaction.value_DV_INTERVAL_DV_DURATION_",
        "path": "Adverse_reaction_risk.data.Onset_of_first_reaction.value_DV_INTERVAL_DV_DURATION_",
        "short": "Onset of first reaction",
        "definition": "The onset of the first known occurrence of a reaction event.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.data.Onset_of_first_reaction.value_DV_INTERVAL_DV_DURATION_",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_risk.data.Reaction_mechanism",
        "path": "Adverse_reaction_risk.data.Reaction_mechanism",
        "short": "Reaction mechanism",
        "definition": "Identification of the underlying physiological mechanism for the adverse reaction.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.data.Reaction_mechanism",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Adverse_reaction_risk.data.Reaction_mechanism.value_DV_CODED_TEXT",
        "path": "Adverse_reaction_risk.data.Reaction_mechanism.value_DV_CODED_TEXT",
        "short": "Reaction mechanism",
        "definition": "Identification of the underlying physiological mechanism for the adverse reaction.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.data.Reaction_mechanism.value_DV_CODED_TEXT",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_risk.data.Reaction_mechanism.value_DV_TEXT",
        "path": "Adverse_reaction_risk.data.Reaction_mechanism.value_DV_TEXT",
        "short": "Reaction mechanism",
        "definition": "Identification of the underlying physiological mechanism for the adverse reaction.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.data.Reaction_mechanism.value_DV_TEXT",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_risk.data.Reaction_event_summary",
        "path": "Adverse_reaction_risk.data.Reaction_event_summary",
        "short": "Reaction event summary",
        "definition": "Summary details about each adverse reaction event linked to exposure to the identified 'Substance'.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Adverse_reaction_risk.data.Reaction_event_summary",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_risk.data.Comment",
        "path": "Adverse_reaction_risk.data.Comment",
        "short": "Comment",
        "definition": "Additional narrative about the propensity for the adverse reaction, not captured in other fields.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.data.Comment",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Adverse_reaction_risk.data.Comment.value",
        "path": "Adverse_reaction_risk.data.Comment.value",
        "short": "Comment",
        "definition": "Additional narrative about the propensity for the adverse reaction, not captured in other fields.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_risk.data.Comment.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      }
    ]
  }
}