Class AllergyIntolerance.Reaction

  • All Implemented Interfaces:
    Visitable
    Enclosing class:
    AllergyIntolerance

    public static class AllergyIntolerance.Reaction
    extends BackboneElement
    Details about each adverse reaction event linked to exposure to the identified substance.
    • Method Detail

      • getSubstance

        public CodeableConcept getSubstance()
        Identification of the specific substance (or pharmaceutical product) considered to be responsible for the Adverse Reaction event. Note: the substance for a specific reaction may be different from the substance identified as the cause of the risk, but it must be consistent with it. For instance, it may be a more specific substance (e.g. a brand medication) or a composite product that includes the identified substance. It must be clinically safe to only process the 'code' and ignore the 'reaction.substance'. If a receiving system is unable to confirm that AllergyIntolerance. reaction.substance falls within the semantic scope of AllergyIntolerance.code, then the receiving system should ignore AllergyIntolerance.reaction.substance.
        Returns:
        An immutable object of type CodeableConcept that may be null.
      • getManifestation

        public java.util.List<CodeableConcept> getManifestation()
        Clinical symptoms and/or signs that are observed or associated with the adverse reaction event.
        Returns:
        An unmodifiable list containing immutable objects of type CodeableConcept that is non-empty.
      • getDescription

        public String getDescription()
        Text description about the reaction as a whole, including details of the manifestation if required.
        Returns:
        An immutable object of type String that may be null.
      • getOnset

        public DateTime getOnset()
        Record of the date and/or time of the onset of the Reaction.
        Returns:
        An immutable object of type DateTime that may be null.
      • getSeverity

        public AllergyIntoleranceSeverity getSeverity()
        Clinical assessment of the severity of the reaction event as a whole, potentially considering multiple different manifestations.
        Returns:
        An immutable object of type AllergyIntoleranceSeverity that may be null.
      • getExposureRoute

        public CodeableConcept getExposureRoute()
        Identification of the route by which the subject was exposed to the substance.
        Returns:
        An immutable object of type CodeableConcept that may be null.
      • getNote

        public java.util.List<Annotation> getNote()
        Additional text about the adverse reaction event not captured in other fields.
        Returns:
        An unmodifiable list containing immutable objects of type Annotation that may be empty.
      • accept

        public void accept​(java.lang.String elementName,
                           int elementIndex,
                           Visitor visitor)
        Description copied from interface: Visitable
        Accept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:
         if (visitor.preVisit(this)) {
             visitor.visitStart(elementName, elementIndex, this);
             if (visitor.visit(elementName, elementIndex, this)) {
                 // visit children
             }
             visitor.visitEnd(elementName, elementIndex, this);
             visitor.postVisit(this);
         }
         
        Specified by:
        accept in interface Visitable
        Specified by:
        accept in class AbstractVisitable
        Parameters:
        elementName - the name of the element in the context of this visit
        elementIndex - the index of the element in a list or -1 if it is not contained within a List
        visitor - the visitor to use
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object