Class AllergyIntoleranceReaction
- java.lang.Object
-
- org.hl7.fhir.Element
-
- org.hl7.fhir.BackboneElement
-
- org.hl7.fhir.AllergyIntoleranceReaction
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class AllergyIntoleranceReaction extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance.Java class for AllergyIntolerance.Reaction complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AllergyIntolerance.Reaction"> <complexContent> <extension base="{http://hl7.org/fhir}BackboneElement"> <sequence> <element name="substance" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/> <element name="certainty" type="{http://hl7.org/fhir}AllergyIntoleranceCertainty" minOccurs="0"/> <element name="manifestation" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded"/> <element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="onset" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/> <element name="severity" type="{http://hl7.org/fhir}AllergyIntoleranceSeverity" minOccurs="0"/> <element name="exposureRoute" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/> <element name="note" type="{http://hl7.org/fhir}Annotation" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected AllergyIntoleranceCertaintycertaintyprotected Stringdescriptionprotected CodeableConceptexposureRouteprotected java.util.List<CodeableConcept>manifestationprotected java.util.List<Annotation>noteprotected DateTimeonsetprotected AllergyIntoleranceSeverityseverityprotected CodeableConceptsubstance-
Fields inherited from class org.hl7.fhir.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description AllergyIntoleranceReaction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)AllergyIntoleranceCertaintygetCertainty()Gets the value of the certainty property.StringgetDescription()Gets the value of the description property.CodeableConceptgetExposureRoute()Gets the value of the exposureRoute property.java.util.List<CodeableConcept>getManifestation()Gets the value of the manifestation property.java.util.List<Annotation>getNote()Gets the value of the note property.DateTimegetOnset()Gets the value of the onset property.AllergyIntoleranceSeveritygetSeverity()Gets the value of the severity property.CodeableConceptgetSubstance()Gets the value of the substance property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetCertainty(AllergyIntoleranceCertainty value)Sets the value of the certainty property.voidsetDescription(String value)Sets the value of the description property.voidsetExposureRoute(CodeableConcept value)Sets the value of the exposureRoute property.voidsetOnset(DateTime value)Sets the value of the onset property.voidsetSeverity(AllergyIntoleranceSeverity value)Sets the value of the severity property.voidsetSubstance(CodeableConcept value)Sets the value of the substance property.java.lang.StringtoString()AllergyIntoleranceReactionwithCertainty(AllergyIntoleranceCertainty value)AllergyIntoleranceReactionwithDescription(String value)AllergyIntoleranceReactionwithExposureRoute(CodeableConcept value)AllergyIntoleranceReactionwithExtension(java.util.Collection<Extension> values)AllergyIntoleranceReactionwithExtension(Extension... values)AllergyIntoleranceReactionwithId(java.lang.String value)AllergyIntoleranceReactionwithManifestation(java.util.Collection<CodeableConcept> values)AllergyIntoleranceReactionwithManifestation(CodeableConcept... values)AllergyIntoleranceReactionwithModifierExtension(java.util.Collection<Extension> values)AllergyIntoleranceReactionwithModifierExtension(Extension... values)AllergyIntoleranceReactionwithNote(java.util.Collection<Annotation> values)AllergyIntoleranceReactionwithNote(Annotation... values)AllergyIntoleranceReactionwithOnset(DateTime value)AllergyIntoleranceReactionwithSeverity(AllergyIntoleranceSeverity value)AllergyIntoleranceReactionwithSubstance(CodeableConcept value)-
Methods inherited from class org.hl7.fhir.BackboneElement
getModifierExtension
-
Methods inherited from class org.hl7.fhir.Element
getExtension, getId, setId
-
-
-
-
Field Detail
-
substance
protected CodeableConcept substance
-
certainty
protected AllergyIntoleranceCertainty certainty
-
manifestation
protected java.util.List<CodeableConcept> manifestation
-
description
protected String description
-
onset
protected DateTime onset
-
severity
protected AllergyIntoleranceSeverity severity
-
exposureRoute
protected CodeableConcept exposureRoute
-
note
protected java.util.List<Annotation> note
-
-
Method Detail
-
getSubstance
public CodeableConcept getSubstance()
Gets the value of the substance property.- Returns:
- possible object is
CodeableConcept
-
setSubstance
public void setSubstance(CodeableConcept value)
Sets the value of the substance property.- Parameters:
value- allowed object isCodeableConcept
-
getCertainty
public AllergyIntoleranceCertainty getCertainty()
Gets the value of the certainty property.- Returns:
- possible object is
AllergyIntoleranceCertainty
-
setCertainty
public void setCertainty(AllergyIntoleranceCertainty value)
Sets the value of the certainty property.- Parameters:
value- allowed object isAllergyIntoleranceCertainty
-
getManifestation
public java.util.List<CodeableConcept> getManifestation()
Gets the value of the manifestation property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the manifestation property.For example, to add a new item, do as follows:
getManifestation().add(newItem);Objects of the following type(s) are allowed in the list
CodeableConcept
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getOnset
public DateTime getOnset()
Gets the value of the onset property.- Returns:
- possible object is
DateTime
-
setOnset
public void setOnset(DateTime value)
Sets the value of the onset property.- Parameters:
value- allowed object isDateTime
-
getSeverity
public AllergyIntoleranceSeverity getSeverity()
Gets the value of the severity property.- Returns:
- possible object is
AllergyIntoleranceSeverity
-
setSeverity
public void setSeverity(AllergyIntoleranceSeverity value)
Sets the value of the severity property.- Parameters:
value- allowed object isAllergyIntoleranceSeverity
-
getExposureRoute
public CodeableConcept getExposureRoute()
Gets the value of the exposureRoute property.- Returns:
- possible object is
CodeableConcept
-
setExposureRoute
public void setExposureRoute(CodeableConcept value)
Sets the value of the exposureRoute property.- Parameters:
value- allowed object isCodeableConcept
-
getNote
public java.util.List<Annotation> getNote()
Gets the value of the note property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the note property.For example, to add a new item, do as follows:
getNote().add(newItem);Objects of the following type(s) are allowed in the list
Annotation
-
withSubstance
public AllergyIntoleranceReaction withSubstance(CodeableConcept value)
-
withCertainty
public AllergyIntoleranceReaction withCertainty(AllergyIntoleranceCertainty value)
-
withManifestation
public AllergyIntoleranceReaction withManifestation(CodeableConcept... values)
-
withManifestation
public AllergyIntoleranceReaction withManifestation(java.util.Collection<CodeableConcept> values)
-
withDescription
public AllergyIntoleranceReaction withDescription(String value)
-
withOnset
public AllergyIntoleranceReaction withOnset(DateTime value)
-
withSeverity
public AllergyIntoleranceReaction withSeverity(AllergyIntoleranceSeverity value)
-
withExposureRoute
public AllergyIntoleranceReaction withExposureRoute(CodeableConcept value)
-
withNote
public AllergyIntoleranceReaction withNote(Annotation... values)
-
withNote
public AllergyIntoleranceReaction withNote(java.util.Collection<Annotation> values)
-
withModifierExtension
public AllergyIntoleranceReaction withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withModifierExtension
public AllergyIntoleranceReaction withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withExtension
public AllergyIntoleranceReaction withExtension(Extension... values)
- Overrides:
withExtensionin classBackboneElement
-
withExtension
public AllergyIntoleranceReaction withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classBackboneElement
-
withId
public AllergyIntoleranceReaction withId(java.lang.String value)
- Overrides:
withIdin classBackboneElement
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classBackboneElement
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classBackboneElement
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classBackboneElement
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBackboneElement
-
toString
public java.lang.String toString()
- Overrides:
toStringin classBackboneElement
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classBackboneElement
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classBackboneElement
-
-