Class AllergyIntoleranceReaction
- All Implemented Interfaces:
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
FieldsModifier and TypeFieldDescriptionprotected AllergyIntoleranceCertaintyprotected Stringprotected CodeableConceptprotected List<CodeableConcept> protected List<Annotation> protected DateTimeprotected AllergyIntoleranceSeverityprotected CodeableConceptFields inherited from class org.hl7.fhir.BackboneElement
modifierExtension -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) booleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) Gets the value of the certainty property.Gets the value of the description property.Gets the value of the exposureRoute property.Gets the value of the manifestation property.getNote()Gets the value of the note property.getOnset()Gets the value of the onset property.Gets the value of the severity property.Gets the value of the substance property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidSets 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.voidsetManifestation(List<CodeableConcept> value) voidsetNote(List<Annotation> value) voidSets the value of the onset property.voidSets the value of the severity property.voidsetSubstance(CodeableConcept value) Sets the value of the substance property.toString()withDescription(String value) withExposureRoute(CodeableConcept value) withExtension(Collection<Extension> values) withExtension(Extension... values) withManifestation(Collection<CodeableConcept> values) withManifestation(CodeableConcept... values) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withNote(Collection<Annotation> values) withNote(Annotation... values) withSubstance(CodeableConcept value) Methods inherited from class org.hl7.fhir.BackboneElement
getModifierExtension, setModifierExtensionMethods inherited from class org.hl7.fhir.Element
getExtension, getId, setExtension, setId
-
Field Details
-
substance
-
certainty
-
manifestation
-
description
-
onset
-
severity
-
exposureRoute
-
note
-
-
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 Jakarta XML Binding 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 Jakarta XML Binding 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, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) - Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classBackboneElement
-
equals
- 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
- Overrides:
toStringin classBackboneElement
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classBackboneElement
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classBackboneElement
-
setManifestation
-
setNote
-