Class 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
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 -
Constructor Summary
Constructors Constructor Description AllergyIntoleranceReaction() -
Method Summary
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)
-
Field Details
-
Constructor Details
-
AllergyIntoleranceReaction
public AllergyIntoleranceReaction()
-
-
Method Details
-
getSubstance
Gets the value of the substance property.- Returns:
- possible object is
CodeableConcept
-
setSubstance
Sets the value of the substance property.- Parameters:
value- allowed object isCodeableConcept
-
getCertainty
Gets the value of the certainty property.- Returns:
- possible object is
AllergyIntoleranceCertainty
-
setCertainty
Sets the value of the certainty property.- Parameters:
value- allowed object isAllergyIntoleranceCertainty
-
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
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getOnset
Gets the value of the onset property.- Returns:
- possible object is
DateTime
-
setOnset
Sets the value of the onset property.- Parameters:
value- allowed object isDateTime
-
getSeverity
Gets the value of the severity property.- Returns:
- possible object is
AllergyIntoleranceSeverity
-
setSeverity
Sets the value of the severity property.- Parameters:
value- allowed object isAllergyIntoleranceSeverity
-
getExposureRoute
Gets the value of the exposureRoute property.- Returns:
- possible object is
CodeableConcept
-
setExposureRoute
Sets the value of the exposureRoute property.- Parameters:
value- allowed object isCodeableConcept
-
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
-
withCertainty
-
withManifestation
-
withManifestation
-
withDescription
-
withOnset
-
withSeverity
-
withExposureRoute
-
withNote
-
withNote
-
withModifierExtension
- Overrides:
withModifierExtensionin classBackboneElement
-
withModifierExtension
- Overrides:
withModifierExtensionin classBackboneElement
-
withExtension
- Overrides:
withExtensionin classBackboneElement
-
withExtension
- Overrides:
withExtensionin classBackboneElement
-
withId
- 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
-