Class AllergyIntolerance.Reaction
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.AllergyIntolerance.Reaction
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement,ca.uhn.fhir.model.api.IElement,ca.uhn.fhir.model.api.IIdentifiableElement,ca.uhn.fhir.model.api.IResourceBlock,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions,Serializable,org.hl7.fhir.instance.model.api.IBase
- Enclosing class:
- AllergyIntolerance
public static class AllergyIntolerance.Reaction extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: AllergyIntolerance.reaction ()Definition: Details about each adverse reaction event linked to exposure to the identified Substance
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Reaction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CodeableConceptDtaddManifestation()Adds and returns a new value for manifestation ()AllergyIntolerance.ReactionaddManifestation(CodeableConceptDt theValue)Adds a given new value for manifestation ()<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)StringgetCertainty()Gets the value(s) for certainty ().ca.uhn.fhir.model.primitive.BoundCodeDt<AllergyIntoleranceCertaintyEnum>getCertaintyElement()Gets the value(s) for certainty ().StringgetDescription()Gets the value(s) for description ().ca.uhn.fhir.model.primitive.StringDtgetDescriptionElement()Gets the value(s) for description ().CodeableConceptDtgetExposureRoute()Gets the value(s) for exposureRoute ().List<CodeableConceptDt>getManifestation()Gets the value(s) for manifestation ().CodeableConceptDtgetManifestationFirstRep()Gets the first repetition for manifestation (), creating it if it does not already exist.AnnotationDtgetNote()Gets the value(s) for note ().DategetOnset()Gets the value(s) for onset ().ca.uhn.fhir.model.primitive.DateTimeDtgetOnsetElement()Gets the value(s) for onset ().StringgetSeverity()Gets the value(s) for severity ().ca.uhn.fhir.model.primitive.BoundCodeDt<AllergyIntoleranceSeverityEnum>getSeverityElement()Gets the value(s) for severity ().CodeableConceptDtgetSubstance()Gets the value(s) for substance ().booleanisEmpty()AllergyIntolerance.ReactionsetCertainty(AllergyIntoleranceCertaintyEnum theValue)Sets the value(s) for certainty ()AllergyIntolerance.ReactionsetCertainty(ca.uhn.fhir.model.primitive.BoundCodeDt<AllergyIntoleranceCertaintyEnum> theValue)Sets the value(s) for certainty ()AllergyIntolerance.ReactionsetDescription(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for description ()AllergyIntolerance.ReactionsetDescription(String theString)Sets the value for description ()AllergyIntolerance.ReactionsetExposureRoute(CodeableConceptDt theValue)Sets the value(s) for exposureRoute ()AllergyIntolerance.ReactionsetManifestation(List<CodeableConceptDt> theValue)Sets the value(s) for manifestation ()AllergyIntolerance.ReactionsetNote(AnnotationDt theValue)Sets the value(s) for note ()AllergyIntolerance.ReactionsetOnset(ca.uhn.fhir.model.primitive.DateTimeDt theValue)Sets the value(s) for onset ()AllergyIntolerance.ReactionsetOnset(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)Sets the value for onset ()AllergyIntolerance.ReactionsetOnsetWithSecondsPrecision(Date theDate)Sets the value for onset ()AllergyIntolerance.ReactionsetSeverity(AllergyIntoleranceSeverityEnum theValue)Sets the value(s) for severity ()AllergyIntolerance.ReactionsetSeverity(ca.uhn.fhir.model.primitive.BoundCodeDt<AllergyIntoleranceSeverityEnum> theValue)Sets the value(s) for severity ()AllergyIntolerance.ReactionsetSubstance(CodeableConceptDt theValue)Sets the value(s) for substance ()-
Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Constructor Detail
-
Reaction
public Reaction()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
- Specified by:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getSubstance
public CodeableConceptDt getSubstance()
Gets the value(s) for substance (). creating it if it does not exist. Will not returnnull.Definition: Identification of the specific substance considered to be responsible for the Adverse Reaction event. Note: the substance for a specific reaction may be different to the substance identified as the cause of the risk, but must be consistent with it. For instance, it may be a more specific substance (e.g. a brand medication) or a composite substance that includes the identified substance. It must be clinically safe to only process the AllergyIntolerance.substance and ignore the AllergyIntolerance.event.substance
-
setSubstance
public AllergyIntolerance.Reaction setSubstance(CodeableConceptDt theValue)
Sets the value(s) for substance ()Definition: Identification of the specific substance considered to be responsible for the Adverse Reaction event. Note: the substance for a specific reaction may be different to the substance identified as the cause of the risk, but must be consistent with it. For instance, it may be a more specific substance (e.g. a brand medication) or a composite substance that includes the identified substance. It must be clinically safe to only process the AllergyIntolerance.substance and ignore the AllergyIntolerance.event.substance
-
getCertaintyElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<AllergyIntoleranceCertaintyEnum> getCertaintyElement()
Gets the value(s) for certainty (). creating it if it does not exist. Will not returnnull.Definition: Statement about the degree of clinical certainty that the specific substance was the cause of the manifestation in this reaction event
-
getCertainty
public String getCertainty()
Gets the value(s) for certainty (). creating it if it does not exist. This method may returnnull.Definition: Statement about the degree of clinical certainty that the specific substance was the cause of the manifestation in this reaction event
-
setCertainty
public AllergyIntolerance.Reaction setCertainty(ca.uhn.fhir.model.primitive.BoundCodeDt<AllergyIntoleranceCertaintyEnum> theValue)
Sets the value(s) for certainty ()Definition: Statement about the degree of clinical certainty that the specific substance was the cause of the manifestation in this reaction event
-
setCertainty
public AllergyIntolerance.Reaction setCertainty(AllergyIntoleranceCertaintyEnum theValue)
Sets the value(s) for certainty ()Definition: Statement about the degree of clinical certainty that the specific substance was the cause of the manifestation in this reaction event
-
getManifestation
public List<CodeableConceptDt> getManifestation()
Gets the value(s) for manifestation (). creating it if it does not exist. Will not returnnull.Definition: Clinical symptoms and/or signs that are observed or associated with the adverse reaction event
-
setManifestation
public AllergyIntolerance.Reaction setManifestation(List<CodeableConceptDt> theValue)
Sets the value(s) for manifestation ()Definition: Clinical symptoms and/or signs that are observed or associated with the adverse reaction event
-
addManifestation
public CodeableConceptDt addManifestation()
Adds and returns a new value for manifestation ()Definition: Clinical symptoms and/or signs that are observed or associated with the adverse reaction event
-
addManifestation
public AllergyIntolerance.Reaction addManifestation(CodeableConceptDt theValue)
Adds a given new value for manifestation ()Definition: Clinical symptoms and/or signs that are observed or associated with the adverse reaction event
- Parameters:
theValue- The manifestation to add (must not benull)
-
getManifestationFirstRep
public CodeableConceptDt getManifestationFirstRep()
Gets the first repetition for manifestation (), creating it if it does not already exist.Definition: Clinical symptoms and/or signs that are observed or associated with the adverse reaction event
-
getDescriptionElement
public ca.uhn.fhir.model.primitive.StringDt getDescriptionElement()
Gets the value(s) for description (). creating it if it does not exist. Will not returnnull.Definition: Text description about the reaction as a whole, including details of the manifestation if required
-
getDescription
public String getDescription()
Gets the value(s) for description (). creating it if it does not exist. This method may returnnull.Definition: Text description about the reaction as a whole, including details of the manifestation if required
-
setDescription
public AllergyIntolerance.Reaction setDescription(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for description ()Definition: Text description about the reaction as a whole, including details of the manifestation if required
-
setDescription
public AllergyIntolerance.Reaction setDescription(String theString)
Sets the value for description ()Definition: Text description about the reaction as a whole, including details of the manifestation if required
-
getOnsetElement
public ca.uhn.fhir.model.primitive.DateTimeDt getOnsetElement()
Gets the value(s) for onset (). creating it if it does not exist. Will not returnnull.Definition: Record of the date and/or time of the onset of the Reaction
-
getOnset
public Date getOnset()
Gets the value(s) for onset (). creating it if it does not exist. This method may returnnull.Definition: Record of the date and/or time of the onset of the Reaction
-
setOnset
public AllergyIntolerance.Reaction setOnset(ca.uhn.fhir.model.primitive.DateTimeDt theValue)
Sets the value(s) for onset ()Definition: Record of the date and/or time of the onset of the Reaction
-
setOnset
public AllergyIntolerance.Reaction setOnset(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Sets the value for onset ()Definition: Record of the date and/or time of the onset of the Reaction
-
setOnsetWithSecondsPrecision
public AllergyIntolerance.Reaction setOnsetWithSecondsPrecision(Date theDate)
Sets the value for onset ()Definition: Record of the date and/or time of the onset of the Reaction
-
getSeverityElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<AllergyIntoleranceSeverityEnum> getSeverityElement()
Gets the value(s) for severity (). creating it if it does not exist. Will not returnnull.Definition: Clinical assessment of the severity of the reaction event as a whole, potentially considering multiple different manifestations
-
getSeverity
public String getSeverity()
Gets the value(s) for severity (). creating it if it does not exist. This method may returnnull.Definition: Clinical assessment of the severity of the reaction event as a whole, potentially considering multiple different manifestations
-
setSeverity
public AllergyIntolerance.Reaction setSeverity(ca.uhn.fhir.model.primitive.BoundCodeDt<AllergyIntoleranceSeverityEnum> theValue)
Sets the value(s) for severity ()Definition: Clinical assessment of the severity of the reaction event as a whole, potentially considering multiple different manifestations
-
setSeverity
public AllergyIntolerance.Reaction setSeverity(AllergyIntoleranceSeverityEnum theValue)
Sets the value(s) for severity ()Definition: Clinical assessment of the severity of the reaction event as a whole, potentially considering multiple different manifestations
-
getExposureRoute
public CodeableConceptDt getExposureRoute()
Gets the value(s) for exposureRoute (). creating it if it does not exist. Will not returnnull.Definition: Identification of the route by which the subject was exposed to the substance.
-
setExposureRoute
public AllergyIntolerance.Reaction setExposureRoute(CodeableConceptDt theValue)
Sets the value(s) for exposureRoute ()Definition: Identification of the route by which the subject was exposed to the substance.
-
getNote
public AnnotationDt getNote()
Gets the value(s) for note (). creating it if it does not exist. Will not returnnull.Definition: Additional text about the adverse reaction event not captured in other fields
-
setNote
public AllergyIntolerance.Reaction setNote(AnnotationDt theValue)
Sets the value(s) for note ()Definition: Additional text about the adverse reaction event not captured in other fields
-
-