Class AllergyIntolerance
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IResource
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseResource
Definition: Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance.
Requirements: To record a clinical assessment of a propensity, or potential risk to an individual, of an adverse reaction upon future exposure to the specified substance, or class of substance.
Profile Definition: http://hl7.org/fhir/profiles/AllergyIntolerance
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Block class for child element: AllergyIntolerance.reaction () -
Field Summary
Modifier and TypeFieldDescriptionstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for categorystatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for criticalitystatic final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for datestatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for identifierstatic final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for last-datestatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for manifestationstatic final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for onsetstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for patientstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for recorderstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for reporterstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for routestatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for severitystatic final String
Search parameter constant for categorystatic final String
Search parameter constant for criticalitystatic final String
Search parameter constant for datestatic final String
Search parameter constant for identifierstatic final String
Search parameter constant for last-datestatic final String
Search parameter constant for manifestationstatic final String
Search parameter constant for onsetstatic final String
Search parameter constant for patientstatic final String
Search parameter constant for recorderstatic final String
Search parameter constant for reporterstatic final String
Search parameter constant for routestatic final String
Search parameter constant for severitystatic final String
Search parameter constant for statusstatic final String
Search parameter constant for substancestatic final String
Search parameter constant for typestatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for statusstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for substancestatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for typeFields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for identifier ()addIdentifier
(IdentifierDt theValue) Adds a given new value for identifier ()Adds and returns a new value for reaction ()addReaction
(AllergyIntolerance.Reaction theValue) Adds a given new value for reaction ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for category ().ca.uhn.fhir.model.primitive.BoundCodeDt
<AllergyIntoleranceCategoryEnum> Gets the value(s) for category ().Gets the value(s) for criticality ().ca.uhn.fhir.model.primitive.BoundCodeDt
<AllergyIntoleranceCriticalityEnum> Gets the value(s) for criticality ().Gets the value(s) for identifier ().Gets the first repetition for identifier (), creating it if it does not already exist.Gets the value(s) for lastOccurence ().ca.uhn.fhir.model.primitive.DateTimeDt
Gets the value(s) for lastOccurence ().getNote()
Gets the value(s) for note ().getOnset()
Gets the value(s) for onset ().ca.uhn.fhir.model.primitive.DateTimeDt
Gets the value(s) for onset ().Gets the value(s) for patient ().Gets the value(s) for reaction ().Gets the first repetition for reaction (), creating it if it does not already exist.Gets the value(s) for recordedDate ().ca.uhn.fhir.model.primitive.DateTimeDt
Gets the value(s) for recordedDate ().Gets the value(s) for recorder ().Gets the value(s) for reporter ().Gets the value(s) for status ().ca.uhn.fhir.model.primitive.BoundCodeDt
<AllergyIntoleranceStatusEnum> Gets the value(s) for status ().ca.uhn.fhir.context.FhirVersionEnum
Gets the value(s) for substance ().getType()
Gets the value(s) for type ().ca.uhn.fhir.model.primitive.BoundCodeDt
<AllergyIntoleranceTypeEnum> Gets the value(s) for type ().boolean
isEmpty()
setCategory
(AllergyIntoleranceCategoryEnum theValue) Sets the value(s) for category ()setCategory
(ca.uhn.fhir.model.primitive.BoundCodeDt<AllergyIntoleranceCategoryEnum> theValue) Sets the value(s) for category ()Sets the value(s) for criticality ()setCriticality
(ca.uhn.fhir.model.primitive.BoundCodeDt<AllergyIntoleranceCriticalityEnum> theValue) Sets the value(s) for criticality ()setIdentifier
(List<IdentifierDt> theValue) Sets the value(s) for identifier ()setLastOccurence
(ca.uhn.fhir.model.primitive.DateTimeDt theValue) Sets the value(s) for lastOccurence ()setLastOccurence
(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for lastOccurence ()setLastOccurenceWithSecondsPrecision
(Date theDate) Sets the value for lastOccurence ()setNote
(AnnotationDt theValue) Sets the value(s) for note ()setOnset
(ca.uhn.fhir.model.primitive.DateTimeDt theValue) Sets the value(s) for onset ()Sets the value for onset ()setOnsetWithSecondsPrecision
(Date theDate) Sets the value for onset ()setPatient
(ResourceReferenceDt theValue) Sets the value(s) for patient ()setReaction
(List<AllergyIntolerance.Reaction> theValue) Sets the value(s) for reaction ()setRecordedDate
(ca.uhn.fhir.model.primitive.DateTimeDt theValue) Sets the value(s) for recordedDate ()setRecordedDate
(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for recordedDate ()setRecordedDateWithSecondsPrecision
(Date theDate) Sets the value for recordedDate ()setRecorder
(ResourceReferenceDt theValue) Sets the value(s) for recorder ()setReporter
(ResourceReferenceDt theValue) Sets the value(s) for reporter ()setStatus
(AllergyIntoleranceStatusEnum theValue) Sets the value(s) for status ()setStatus
(ca.uhn.fhir.model.primitive.BoundCodeDt<AllergyIntoleranceStatusEnum> theValue) Sets the value(s) for status ()setSubstance
(CodeableConceptDt theValue) Sets the value(s) for substance ()setType
(AllergyIntoleranceTypeEnum theValue) Sets the value(s) for type ()setType
(ca.uhn.fhir.model.primitive.BoundCodeDt<AllergyIntoleranceTypeEnum> theValue) Sets the value(s) for type ()Methods inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toString
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getIdElement, isDeleted, setId, setId
Methods inherited from interface ca.uhn.fhir.model.api.IResource
getContained, getId, getLanguage, getMeta, getResourceMetadata, getText, setId, setLanguage, setResourceMetadata
-
Field Details
-
SP_SUBSTANCE
Search parameter constant for substanceDescription:
Type: token
Path: AllergyIntolerance.substance | AllergyIntolerance.reaction.substance
- See Also:
-
SUBSTANCE
Fluent Client search parameter constant for substanceDescription:
Type: token
Path: AllergyIntolerance.substance | AllergyIntolerance.reaction.substance
-
SP_STATUS
Search parameter constant for statusDescription:
Type: token
Path: AllergyIntolerance.status
- See Also:
-
STATUS
Fluent Client search parameter constant for statusDescription:
Type: token
Path: AllergyIntolerance.status
-
SP_CRITICALITY
Search parameter constant for criticalityDescription:
Type: token
Path: AllergyIntolerance.criticality
- See Also:
-
CRITICALITY
Fluent Client search parameter constant for criticalityDescription:
Type: token
Path: AllergyIntolerance.criticality
-
SP_TYPE
Search parameter constant for typeDescription:
Type: token
Path: AllergyIntolerance.type
- See Also:
-
TYPE
Fluent Client search parameter constant for typeDescription:
Type: token
Path: AllergyIntolerance.type
-
SP_CATEGORY
Search parameter constant for categoryDescription:
Type: token
Path: AllergyIntolerance.category
- See Also:
-
CATEGORY
Fluent Client search parameter constant for categoryDescription:
Type: token
Path: AllergyIntolerance.category
-
SP_LAST_DATE
Search parameter constant for last-dateDescription:
Type: date
Path: AllergyIntolerance.lastOccurence
- See Also:
-
LAST_DATE
Fluent Client search parameter constant for last-dateDescription:
Type: date
Path: AllergyIntolerance.lastOccurence
-
SP_MANIFESTATION
Search parameter constant for manifestationDescription:
Type: token
Path: AllergyIntolerance.reaction.manifestation
- See Also:
-
MANIFESTATION
Fluent Client search parameter constant for manifestationDescription:
Type: token
Path: AllergyIntolerance.reaction.manifestation
-
SP_ONSET
Search parameter constant for onsetDescription:
Type: date
Path: AllergyIntolerance.reaction.onset
- See Also:
-
ONSET
Fluent Client search parameter constant for onsetDescription:
Type: date
Path: AllergyIntolerance.reaction.onset
-
SP_SEVERITY
Search parameter constant for severityDescription:
Type: token
Path: AllergyIntolerance.reaction.severity
- See Also:
-
SEVERITY
Fluent Client search parameter constant for severityDescription:
Type: token
Path: AllergyIntolerance.reaction.severity
-
SP_ROUTE
Search parameter constant for routeDescription:
Type: token
Path: AllergyIntolerance.reaction.exposureRoute
- See Also:
-
ROUTE
Fluent Client search parameter constant for routeDescription:
Type: token
Path: AllergyIntolerance.reaction.exposureRoute
-
SP_IDENTIFIER
Search parameter constant for identifierDescription:
Type: token
Path: AllergyIntolerance.identifier
- See Also:
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription:
Type: token
Path: AllergyIntolerance.identifier
-
SP_DATE
Search parameter constant for dateDescription:
Type: date
Path: AllergyIntolerance.recordedDate
- See Also:
-
DATE
Fluent Client search parameter constant for dateDescription:
Type: date
Path: AllergyIntolerance.recordedDate
-
SP_RECORDER
Search parameter constant for recorderDescription:
Type: reference
Path: AllergyIntolerance.recorder
- See Also:
-
RECORDER
Fluent Client search parameter constant for recorderDescription:
Type: reference
Path: AllergyIntolerance.recorder
-
SP_PATIENT
Search parameter constant for patientDescription:
Type: reference
Path: AllergyIntolerance.patient
- See Also:
-
PATIENT
Fluent Client search parameter constant for patientDescription:
Type: reference
Path: AllergyIntolerance.patient
-
SP_REPORTER
Search parameter constant for reporterDescription:
Type: reference
Path: AllergyIntolerance.reporter
- See Also:
-
REPORTER
Fluent Client search parameter constant for reporterDescription:
Type: reference
Path: AllergyIntolerance.reporter
-
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "AllergyIntolerance:patient". -
INCLUDE_RECORDER
Constant for fluent queries to be used to add include statements. Specifies the path value of "AllergyIntolerance:recorder". -
INCLUDE_REPORTER
Constant for fluent queries to be used to add include statements. Specifies the path value of "AllergyIntolerance:reporter".
-
-
Constructor Details
-
AllergyIntolerance
public AllergyIntolerance()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in 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:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getIdentifier
Gets the value(s) for identifier (). creating it if it does not exist. Will not returnnull
.Definition: This records identifiers associated with this allergy/intolerance concern that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation)
-
setIdentifier
Sets the value(s) for identifier ()Definition: This records identifiers associated with this allergy/intolerance concern that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation)
-
addIdentifier
Adds and returns a new value for identifier ()Definition: This records identifiers associated with this allergy/intolerance concern that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation)
-
addIdentifier
Adds a given new value for identifier ()Definition: This records identifiers associated with this allergy/intolerance concern that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation)
- Parameters:
theValue
- The identifier to add (must not benull
)
-
getIdentifierFirstRep
Gets the first repetition for identifier (), creating it if it does not already exist.Definition: This records identifiers associated with this allergy/intolerance concern that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation)
-
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 Allergy or Intolerance
-
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 Allergy or Intolerance
-
setOnset
Sets the value(s) for onset ()Definition: Record of the date and/or time of the onset of the Allergy or Intolerance
-
setOnsetWithSecondsPrecision
Sets the value for onset ()Definition: Record of the date and/or time of the onset of the Allergy or Intolerance
-
setOnset
public AllergyIntolerance 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 Allergy or Intolerance
-
getRecordedDateElement
Gets the value(s) for recordedDate (). creating it if it does not exist. Will not returnnull
.Definition: Date when the sensitivity was recorded
-
getRecordedDate
Gets the value(s) for recordedDate (). creating it if it does not exist. This method may returnnull
.Definition: Date when the sensitivity was recorded
-
setRecordedDate
Sets the value(s) for recordedDate ()Definition: Date when the sensitivity was recorded
-
setRecordedDateWithSecondsPrecision
Sets the value for recordedDate ()Definition: Date when the sensitivity was recorded
-
setRecordedDate
public AllergyIntolerance setRecordedDate(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for recordedDate ()Definition: Date when the sensitivity was recorded
-
getRecorder
Gets the value(s) for recorder (). creating it if it does not exist. Will not returnnull
.Definition: Individual who recorded the record and takes responsibility for its conten
-
setRecorder
Sets the value(s) for recorder ()Definition: Individual who recorded the record and takes responsibility for its conten
-
getPatient
Gets the value(s) for patient (). creating it if it does not exist. Will not returnnull
.Definition: The patient who has the allergy or intolerance
-
setPatient
Sets the value(s) for patient ()Definition: The patient who has the allergy or intolerance
-
getReporter
Gets the value(s) for reporter (). creating it if it does not exist. Will not returnnull
.Definition: The source of the information about the allergy that is recorded
-
setReporter
Sets the value(s) for reporter ()Definition: The source of the information about the allergy that is recorded
-
getSubstance
Gets the value(s) for substance (). creating it if it does not exist. Will not returnnull
.Definition: Identification of a substance, or a class of substances, that is considered to be responsible for the adverse reaction risk
-
setSubstance
Sets the value(s) for substance ()Definition: Identification of a substance, or a class of substances, that is considered to be responsible for the adverse reaction risk
-
getStatusElement
Gets the value(s) for status (). creating it if it does not exist. Will not returnnull
.Definition: Assertion about certainty associated with the propensity, or potential risk, of a reaction to the identified Substance
-
getStatus
Gets the value(s) for status (). creating it if it does not exist. This method may returnnull
.Definition: Assertion about certainty associated with the propensity, or potential risk, of a reaction to the identified Substance
-
setStatus
public AllergyIntolerance setStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<AllergyIntoleranceStatusEnum> theValue) Sets the value(s) for status ()Definition: Assertion about certainty associated with the propensity, or potential risk, of a reaction to the identified Substance
-
setStatus
Sets the value(s) for status ()Definition: Assertion about certainty associated with the propensity, or potential risk, of a reaction to the identified Substance
-
getCriticalityElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<AllergyIntoleranceCriticalityEnum> getCriticalityElement()Gets the value(s) for criticality (). creating it if it does not exist. Will not returnnull
.Definition: Estimate of the potential clinical harm, or seriousness, of the reaction to the identified Substance
-
getCriticality
Gets the value(s) for criticality (). creating it if it does not exist. This method may returnnull
.Definition: Estimate of the potential clinical harm, or seriousness, of the reaction to the identified Substance
-
setCriticality
public AllergyIntolerance setCriticality(ca.uhn.fhir.model.primitive.BoundCodeDt<AllergyIntoleranceCriticalityEnum> theValue) Sets the value(s) for criticality ()Definition: Estimate of the potential clinical harm, or seriousness, of the reaction to the identified Substance
-
setCriticality
Sets the value(s) for criticality ()Definition: Estimate of the potential clinical harm, or seriousness, of the reaction to the identified Substance
-
getTypeElement
Gets the value(s) for type (). creating it if it does not exist. Will not returnnull
.Definition: Identification of the underlying physiological mechanism for the reaction risk.
-
getType
Gets the value(s) for type (). creating it if it does not exist. This method may returnnull
.Definition: Identification of the underlying physiological mechanism for the reaction risk.
-
setType
public AllergyIntolerance setType(ca.uhn.fhir.model.primitive.BoundCodeDt<AllergyIntoleranceTypeEnum> theValue) Sets the value(s) for type ()Definition: Identification of the underlying physiological mechanism for the reaction risk.
-
setType
Sets the value(s) for type ()Definition: Identification of the underlying physiological mechanism for the reaction risk.
-
getCategoryElement
Gets the value(s) for category (). creating it if it does not exist. Will not returnnull
.Definition: Category of the identified Substance
-
getCategory
Gets the value(s) for category (). creating it if it does not exist. This method may returnnull
.Definition: Category of the identified Substance
-
setCategory
public AllergyIntolerance setCategory(ca.uhn.fhir.model.primitive.BoundCodeDt<AllergyIntoleranceCategoryEnum> theValue) Sets the value(s) for category ()Definition: Category of the identified Substance
-
setCategory
Sets the value(s) for category ()Definition: Category of the identified Substance
-
getLastOccurenceElement
Gets the value(s) for lastOccurence (). creating it if it does not exist. Will not returnnull
.Definition: Represents the date and/or time of the last known occurrence of a reaction event
-
getLastOccurence
Gets the value(s) for lastOccurence (). creating it if it does not exist. This method may returnnull
.Definition: Represents the date and/or time of the last known occurrence of a reaction event
-
setLastOccurence
Sets the value(s) for lastOccurence ()Definition: Represents the date and/or time of the last known occurrence of a reaction event
-
setLastOccurenceWithSecondsPrecision
Sets the value for lastOccurence ()Definition: Represents the date and/or time of the last known occurrence of a reaction event
-
setLastOccurence
public AllergyIntolerance setLastOccurence(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for lastOccurence ()Definition: Represents the date and/or time of the last known occurrence of a reaction event
-
getNote
Gets the value(s) for note (). creating it if it does not exist. Will not returnnull
.Definition: Additional narrative about the propensity for the Adverse Reaction, not captured in other fields.
-
setNote
Sets the value(s) for note ()Definition: Additional narrative about the propensity for the Adverse Reaction, not captured in other fields.
-
getReaction
Gets the value(s) for reaction (). creating it if it does not exist. Will not returnnull
.Definition: Details about each adverse reaction event linked to exposure to the identified Substance
-
setReaction
Sets the value(s) for reaction ()Definition: Details about each adverse reaction event linked to exposure to the identified Substance
-
addReaction
Adds and returns a new value for reaction ()Definition: Details about each adverse reaction event linked to exposure to the identified Substance
-
addReaction
Adds a given new value for reaction ()Definition: Details about each adverse reaction event linked to exposure to the identified Substance
- Parameters:
theValue
- The reaction to add (must not benull
)
-
getReactionFirstRep
Gets the first repetition for reaction (), creating it if it does not already exist.Definition: Details about each adverse reaction event linked to exposure to the identified Substance
-
getResourceName
- Specified by:
getResourceName
in interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
- Specified by:
getStructureFhirVersionEnum
in interfaceorg.hl7.fhir.instance.model.api.IBaseResource
- Specified by:
getStructureFhirVersionEnum
in interfaceca.uhn.fhir.model.api.IResource
-