{
  "resourceType": "StructureDefinition",
  "id": "logicalmodel-Adversereactionevent-R4",
  "url": "http://linkehr.com/fhir/logicalmodel-adversereactionevent-R4",
  "identifier": [
    {
      "system": "openEHR-CKM",
      "value": "openEHR-EHR-CLUSTER.adverse_reaction_event.v1"
    }
  ],
  "version": "0",
  "name": "Adversereactionevent",
  "title": "Adverse reaction event",
  "status": "draft",
  "date": "2024-06-18",
  "publisher": "openEHR",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.veratech.es"
        }
      ]
    }
  ],
  "description": "Information about a specific adverse reaction event caused by exposure to a specific substance.",
  "purpose": "To record information about a specific adverse reaction event caused by exposure to a specific substance.",
  "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_event",
        "path": "Adverse_reaction_event",
        "short": "Adverse reaction event",
        "definition": "Information about a specific adverse reaction event caused by exposure to a specific substance.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_event",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_event.Specific_substance",
        "path": "Adverse_reaction_event.Specific_substance",
        "short": "Specific substance",
        "definition": "The substance considered to be responsible for the specific adverse reaction event.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_event.Specific_substance",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Adverse_reaction_event.Specific_substance.value",
        "path": "Adverse_reaction_event.Specific_substance.value",
        "short": "Specific substance",
        "definition": "The substance considered to be responsible for the specific adverse reaction event.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_event.Specific_substance.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_event.Certainty",
        "path": "Adverse_reaction_event.Certainty",
        "short": "Certainty",
        "definition": "The degree of clinical certainty that the 'Manifestation' in this reaction event was caused by exposure to the identified 'Specific substance'.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_event.Certainty",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Adverse_reaction_event.Certainty.value_DV_CODED_TEXT",
        "path": "Adverse_reaction_event.Certainty.value_DV_CODED_TEXT",
        "short": "Certainty",
        "definition": "The degree of clinical certainty that the 'Manifestation' in this reaction event was caused by exposure to the identified 'Specific substance'.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_event.Certainty.value_DV_CODED_TEXT",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_event.Certainty.value_DV_TEXT",
        "path": "Adverse_reaction_event.Certainty.value_DV_TEXT",
        "short": "Certainty",
        "definition": "The degree of clinical certainty that the 'Manifestation' in this reaction event was caused by exposure to the identified 'Specific substance'.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_event.Certainty.value_DV_TEXT",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_event.Manifestation",
        "path": "Adverse_reaction_event.Manifestation",
        "short": "Manifestation",
        "definition": "Clinical symptoms and/or signs that are observed or associated with the adverse reaction.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Adverse_reaction_event.Manifestation",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "Adverse_reaction_event.Manifestation.value",
        "path": "Adverse_reaction_event.Manifestation.value",
        "short": "Manifestation",
        "definition": "Clinical symptoms and/or signs that are observed or associated with the adverse reaction.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_event.Manifestation.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_event.Reaction_description",
        "path": "Adverse_reaction_event.Reaction_description",
        "short": "Reaction description",
        "definition": "Narrative description about the adverse reaction as a whole, including details of the manifestation if required.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_event.Reaction_description",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Adverse_reaction_event.Reaction_description.value",
        "path": "Adverse_reaction_event.Reaction_description.value",
        "short": "Reaction description",
        "definition": "Narrative description about the adverse reaction as a whole, including details of the manifestation if required.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_event.Reaction_description.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_event.Onset_of_reaction",
        "path": "Adverse_reaction_event.Onset_of_reaction",
        "short": "Onset of reaction",
        "definition": "The date and/or time of the onset of the reaction.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_event.Onset_of_reaction",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Adverse_reaction_event.Onset_of_reaction.value",
        "path": "Adverse_reaction_event.Onset_of_reaction.value",
        "short": "Onset of reaction",
        "definition": "The date and/or time of the onset of the reaction.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_event.Onset_of_reaction.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_event.Duration_of_reaction",
        "path": "Adverse_reaction_event.Duration_of_reaction",
        "short": "Duration of reaction",
        "definition": "The total amount of time that the manifestation of the adverse reaction persisted.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_event.Duration_of_reaction",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Adverse_reaction_event.Duration_of_reaction.value",
        "path": "Adverse_reaction_event.Duration_of_reaction.value",
        "short": "Duration of reaction",
        "definition": "The total amount of time that the manifestation of the adverse reaction persisted.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_event.Duration_of_reaction.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Duration"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_event.Severity_of_reaction",
        "path": "Adverse_reaction_event.Severity_of_reaction",
        "short": "Severity of reaction",
        "definition": "Clinical assessment of the severity of the reaction event as a whole, potentially considering multiple different manifestations.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_event.Severity_of_reaction",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Adverse_reaction_event.Severity_of_reaction.value_DV_CODED_TEXT",
        "path": "Adverse_reaction_event.Severity_of_reaction.value_DV_CODED_TEXT",
        "short": "Severity of reaction",
        "definition": "Clinical assessment of the severity of the reaction event as a whole, potentially considering multiple different manifestations.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_event.Severity_of_reaction.value_DV_CODED_TEXT",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_event.Severity_of_reaction.value_DV_TEXT",
        "path": "Adverse_reaction_event.Severity_of_reaction.value_DV_TEXT",
        "short": "Severity of reaction",
        "definition": "Clinical assessment of the severity of the reaction event as a whole, potentially considering multiple different manifestations.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_event.Severity_of_reaction.value_DV_TEXT",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_event.Reaction_details",
        "path": "Adverse_reaction_event.Reaction_details",
        "short": "Reaction details",
        "definition": "Additional details about the adverse reaction.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Adverse_reaction_event.Reaction_details",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_event.Initial_exposure",
        "path": "Adverse_reaction_event.Initial_exposure",
        "short": "Initial exposure",
        "definition": "The date and/or time of the first exposure to the Substance for this Reaction Event.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_event.Initial_exposure",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Adverse_reaction_event.Initial_exposure.value",
        "path": "Adverse_reaction_event.Initial_exposure.value",
        "short": "Initial exposure",
        "definition": "The date and/or time of the first exposure to the Substance for this Reaction Event.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_event.Initial_exposure.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_event.Duration_of_exposure",
        "path": "Adverse_reaction_event.Duration_of_exposure",
        "short": "Duration of exposure",
        "definition": "The total amount of time the individual was exposed to the identified 'Specific substance'.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_event.Duration_of_exposure",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Adverse_reaction_event.Duration_of_exposure.value",
        "path": "Adverse_reaction_event.Duration_of_exposure.value",
        "short": "Duration of exposure",
        "definition": "The total amount of time the individual was exposed to the identified 'Specific substance'.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_event.Duration_of_exposure.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Duration"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_event.Route_of_exposure",
        "path": "Adverse_reaction_event.Route_of_exposure",
        "short": "Route of exposure",
        "definition": "The route by which the subject was exposed to the identified 'Specific substance'.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_event.Route_of_exposure",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Adverse_reaction_event.Route_of_exposure.value",
        "path": "Adverse_reaction_event.Route_of_exposure.value",
        "short": "Route of exposure",
        "definition": "The route by which the subject was exposed to the identified 'Specific substance'.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_event.Route_of_exposure.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_event.Exposure_description",
        "path": "Adverse_reaction_event.Exposure_description",
        "short": "Exposure description",
        "definition": "Narrative description about the exposure to the identified 'Specific substance'.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_event.Exposure_description",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Adverse_reaction_event.Exposure_description.value",
        "path": "Adverse_reaction_event.Exposure_description.value",
        "short": "Exposure description",
        "definition": "Narrative description about the exposure to the identified 'Specific substance'.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_event.Exposure_description.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_event.Exposure_details",
        "path": "Adverse_reaction_event.Exposure_details",
        "short": "Exposure details",
        "definition": "Additional details about exposure to the 'Specific substance'.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Adverse_reaction_event.Exposure_details",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_event.Clinical_management_description",
        "path": "Adverse_reaction_event.Clinical_management_description",
        "short": "Clinical management description",
        "definition": "Narrative description about the clinical management provided.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_event.Clinical_management_description",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Adverse_reaction_event.Clinical_management_description.value",
        "path": "Adverse_reaction_event.Clinical_management_description.value",
        "short": "Clinical management description",
        "definition": "Narrative description about the clinical management provided.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_event.Clinical_management_description.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_event.Clinical_management_details",
        "path": "Adverse_reaction_event.Clinical_management_details",
        "short": "Clinical management details",
        "definition": "Additional structured details about clinical management for this reaction event.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Adverse_reaction_event.Clinical_management_details",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_event.Reporting_details",
        "path": "Adverse_reaction_event.Reporting_details",
        "short": "Reporting details",
        "definition": "Additional structured details required for reporting to regulatory bodies.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Adverse_reaction_event.Reporting_details",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_event.Information_source",
        "path": "Adverse_reaction_event.Information_source",
        "short": "Information source",
        "definition": "Details about the provenance of the information.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Adverse_reaction_event.Information_source",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_event.Supporting_clinical_record_information",
        "path": "Adverse_reaction_event.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_event.Supporting_clinical_record_information",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "Adverse_reaction_event.Supporting_clinical_record_information.value",
        "path": "Adverse_reaction_event.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_event.Supporting_clinical_record_information.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Adverse_reaction_event.Comment",
        "path": "Adverse_reaction_event.Comment",
        "short": "Comment",
        "definition": "Additional narrative about the adverse reaction event not captured in other fields.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_event.Comment",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Adverse_reaction_event.Comment.value",
        "path": "Adverse_reaction_event.Comment.value",
        "short": "Comment",
        "definition": "Additional narrative about the adverse reaction event not captured in other fields.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Adverse_reaction_event.Comment.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      }
    ]
  }
}