Class AllergyIntolerance
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.dstu2.resource.BaseResource
-
- ca.uhn.fhir.model.dstu2.resource.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
public class AllergyIntolerance extends BaseResource implements ca.uhn.fhir.model.api.IResource
HAPI/FHIR AllergyIntolerance Resource ()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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAllergyIntolerance.ReactionBlock class for child element: AllergyIntolerance.reaction ()
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.rest.gclient.TokenClientParamCATEGORYFluent Client search parameter constant for categorystatic ca.uhn.fhir.rest.gclient.TokenClientParamCRITICALITYFluent Client search parameter constant for criticalitystatic ca.uhn.fhir.rest.gclient.DateClientParamDATEFluent Client search parameter constant for datestatic ca.uhn.fhir.rest.gclient.TokenClientParamIDENTIFIERFluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.IncludeINCLUDE_PATIENTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_RECORDERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_REPORTERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.rest.gclient.DateClientParamLAST_DATEFluent Client search parameter constant for last-datestatic ca.uhn.fhir.rest.gclient.TokenClientParamMANIFESTATIONFluent Client search parameter constant for manifestationstatic ca.uhn.fhir.rest.gclient.DateClientParamONSETFluent Client search parameter constant for onsetstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamPATIENTFluent Client search parameter constant for patientstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamRECORDERFluent Client search parameter constant for recorderstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamREPORTERFluent Client search parameter constant for reporterstatic ca.uhn.fhir.rest.gclient.TokenClientParamROUTEFluent Client search parameter constant for routestatic ca.uhn.fhir.rest.gclient.TokenClientParamSEVERITYFluent Client search parameter constant for severitystatic StringSP_CATEGORYSearch parameter constant for categorystatic StringSP_CRITICALITYSearch parameter constant for criticalitystatic StringSP_DATESearch parameter constant for datestatic StringSP_IDENTIFIERSearch parameter constant for identifierstatic StringSP_LAST_DATESearch parameter constant for last-datestatic StringSP_MANIFESTATIONSearch parameter constant for manifestationstatic StringSP_ONSETSearch parameter constant for onsetstatic StringSP_PATIENTSearch parameter constant for patientstatic StringSP_RECORDERSearch parameter constant for recorderstatic StringSP_REPORTERSearch parameter constant for reporterstatic StringSP_ROUTESearch parameter constant for routestatic StringSP_SEVERITYSearch parameter constant for severitystatic StringSP_STATUSSearch parameter constant for statusstatic StringSP_SUBSTANCESearch parameter constant for substancestatic StringSP_TYPESearch parameter constant for typestatic ca.uhn.fhir.rest.gclient.TokenClientParamSTATUSFluent Client search parameter constant for statusstatic ca.uhn.fhir.rest.gclient.TokenClientParamSUBSTANCEFluent Client search parameter constant for substancestatic ca.uhn.fhir.rest.gclient.TokenClientParamTYPEFluent Client search parameter constant for type-
Fields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID, SP_RES_LANGUAGE
-
-
Constructor Summary
Constructors Constructor Description AllergyIntolerance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdentifierDtaddIdentifier()Adds and returns a new value for identifier ()AllergyIntoleranceaddIdentifier(IdentifierDt theValue)Adds a given new value for identifier ()AllergyIntolerance.ReactionaddReaction()Adds and returns a new value for reaction ()AllergyIntoleranceaddReaction(AllergyIntolerance.Reaction theValue)Adds a given new value for reaction ()<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)StringgetCategory()Gets the value(s) for category ().ca.uhn.fhir.model.primitive.BoundCodeDt<AllergyIntoleranceCategoryEnum>getCategoryElement()Gets the value(s) for category ().StringgetCriticality()Gets the value(s) for criticality ().ca.uhn.fhir.model.primitive.BoundCodeDt<AllergyIntoleranceCriticalityEnum>getCriticalityElement()Gets the value(s) for criticality ().List<IdentifierDt>getIdentifier()Gets the value(s) for identifier ().IdentifierDtgetIdentifierFirstRep()Gets the first repetition for identifier (), creating it if it does not already exist.DategetLastOccurence()Gets the value(s) for lastOccurence ().ca.uhn.fhir.model.primitive.DateTimeDtgetLastOccurenceElement()Gets the value(s) for lastOccurence ().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 ().ResourceReferenceDtgetPatient()Gets the value(s) for patient ().List<AllergyIntolerance.Reaction>getReaction()Gets the value(s) for reaction ().AllergyIntolerance.ReactiongetReactionFirstRep()Gets the first repetition for reaction (), creating it if it does not already exist.DategetRecordedDate()Gets the value(s) for recordedDate ().ca.uhn.fhir.model.primitive.DateTimeDtgetRecordedDateElement()Gets the value(s) for recordedDate ().ResourceReferenceDtgetRecorder()Gets the value(s) for recorder ().ResourceReferenceDtgetReporter()Gets the value(s) for reporter ().StringgetResourceName()StringgetStatus()Gets the value(s) for status ().ca.uhn.fhir.model.primitive.BoundCodeDt<AllergyIntoleranceStatusEnum>getStatusElement()Gets the value(s) for status ().ca.uhn.fhir.context.FhirVersionEnumgetStructureFhirVersionEnum()CodeableConceptDtgetSubstance()Gets the value(s) for substance ().StringgetType()Gets the value(s) for type ().ca.uhn.fhir.model.primitive.BoundCodeDt<AllergyIntoleranceTypeEnum>getTypeElement()Gets the value(s) for type ().booleanisEmpty()AllergyIntolerancesetCategory(AllergyIntoleranceCategoryEnum theValue)Sets the value(s) for category ()AllergyIntolerancesetCategory(ca.uhn.fhir.model.primitive.BoundCodeDt<AllergyIntoleranceCategoryEnum> theValue)Sets the value(s) for category ()AllergyIntolerancesetCriticality(AllergyIntoleranceCriticalityEnum theValue)Sets the value(s) for criticality ()AllergyIntolerancesetCriticality(ca.uhn.fhir.model.primitive.BoundCodeDt<AllergyIntoleranceCriticalityEnum> theValue)Sets the value(s) for criticality ()AllergyIntolerancesetIdentifier(List<IdentifierDt> theValue)Sets the value(s) for identifier ()AllergyIntolerancesetLastOccurence(ca.uhn.fhir.model.primitive.DateTimeDt theValue)Sets the value(s) for lastOccurence ()AllergyIntolerancesetLastOccurence(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)Sets the value for lastOccurence ()AllergyIntolerancesetLastOccurenceWithSecondsPrecision(Date theDate)Sets the value for lastOccurence ()AllergyIntolerancesetNote(AnnotationDt theValue)Sets the value(s) for note ()AllergyIntolerancesetOnset(ca.uhn.fhir.model.primitive.DateTimeDt theValue)Sets the value(s) for onset ()AllergyIntolerancesetOnset(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)Sets the value for onset ()AllergyIntolerancesetOnsetWithSecondsPrecision(Date theDate)Sets the value for onset ()AllergyIntolerancesetPatient(ResourceReferenceDt theValue)Sets the value(s) for patient ()AllergyIntolerancesetReaction(List<AllergyIntolerance.Reaction> theValue)Sets the value(s) for reaction ()AllergyIntolerancesetRecordedDate(ca.uhn.fhir.model.primitive.DateTimeDt theValue)Sets the value(s) for recordedDate ()AllergyIntolerancesetRecordedDate(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)Sets the value for recordedDate ()AllergyIntolerancesetRecordedDateWithSecondsPrecision(Date theDate)Sets the value for recordedDate ()AllergyIntolerancesetRecorder(ResourceReferenceDt theValue)Sets the value(s) for recorder ()AllergyIntolerancesetReporter(ResourceReferenceDt theValue)Sets the value(s) for reporter ()AllergyIntolerancesetStatus(AllergyIntoleranceStatusEnum theValue)Sets the value(s) for status ()AllergyIntolerancesetStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<AllergyIntoleranceStatusEnum> theValue)Sets the value(s) for status ()AllergyIntolerancesetSubstance(CodeableConceptDt theValue)Sets the value(s) for substance ()AllergyIntolerancesetType(AllergyIntoleranceTypeEnum theValue)Sets the value(s) for type ()AllergyIntolerancesetType(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
-
-
-
-
Field Detail
-
SP_SUBSTANCE
public static final String SP_SUBSTANCE
Search parameter constant for substanceDescription:
Type: token
Path: AllergyIntolerance.substance | AllergyIntolerance.reaction.substance
- See Also:
- Constant Field Values
-
SUBSTANCE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam SUBSTANCE
Fluent Client search parameter constant for substanceDescription:
Type: token
Path: AllergyIntolerance.substance | AllergyIntolerance.reaction.substance
-
SP_STATUS
public static final String SP_STATUS
Search parameter constant for statusDescription:
Type: token
Path: AllergyIntolerance.status
- See Also:
- Constant Field Values
-
STATUS
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Fluent Client search parameter constant for statusDescription:
Type: token
Path: AllergyIntolerance.status
-
SP_CRITICALITY
public static final String SP_CRITICALITY
Search parameter constant for criticalityDescription:
Type: token
Path: AllergyIntolerance.criticality
- See Also:
- Constant Field Values
-
CRITICALITY
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CRITICALITY
Fluent Client search parameter constant for criticalityDescription:
Type: token
Path: AllergyIntolerance.criticality
-
SP_TYPE
public static final String SP_TYPE
Search parameter constant for typeDescription:
Type: token
Path: AllergyIntolerance.type
- See Also:
- Constant Field Values
-
TYPE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE
Fluent Client search parameter constant for typeDescription:
Type: token
Path: AllergyIntolerance.type
-
SP_CATEGORY
public static final String SP_CATEGORY
Search parameter constant for categoryDescription:
Type: token
Path: AllergyIntolerance.category
- See Also:
- Constant Field Values
-
CATEGORY
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY
Fluent Client search parameter constant for categoryDescription:
Type: token
Path: AllergyIntolerance.category
-
SP_LAST_DATE
public static final String SP_LAST_DATE
Search parameter constant for last-dateDescription:
Type: date
Path: AllergyIntolerance.lastOccurence
- See Also:
- Constant Field Values
-
LAST_DATE
public static final ca.uhn.fhir.rest.gclient.DateClientParam LAST_DATE
Fluent Client search parameter constant for last-dateDescription:
Type: date
Path: AllergyIntolerance.lastOccurence
-
SP_MANIFESTATION
public static final String SP_MANIFESTATION
Search parameter constant for manifestationDescription:
Type: token
Path: AllergyIntolerance.reaction.manifestation
- See Also:
- Constant Field Values
-
MANIFESTATION
public static final ca.uhn.fhir.rest.gclient.TokenClientParam MANIFESTATION
Fluent Client search parameter constant for manifestationDescription:
Type: token
Path: AllergyIntolerance.reaction.manifestation
-
SP_ONSET
public static final String SP_ONSET
Search parameter constant for onsetDescription:
Type: date
Path: AllergyIntolerance.reaction.onset
- See Also:
- Constant Field Values
-
ONSET
public static final ca.uhn.fhir.rest.gclient.DateClientParam ONSET
Fluent Client search parameter constant for onsetDescription:
Type: date
Path: AllergyIntolerance.reaction.onset
-
SP_SEVERITY
public static final String SP_SEVERITY
Search parameter constant for severityDescription:
Type: token
Path: AllergyIntolerance.reaction.severity
- See Also:
- Constant Field Values
-
SEVERITY
public static final ca.uhn.fhir.rest.gclient.TokenClientParam SEVERITY
Fluent Client search parameter constant for severityDescription:
Type: token
Path: AllergyIntolerance.reaction.severity
-
SP_ROUTE
public static final String SP_ROUTE
Search parameter constant for routeDescription:
Type: token
Path: AllergyIntolerance.reaction.exposureRoute
- See Also:
- Constant Field Values
-
ROUTE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam ROUTE
Fluent Client search parameter constant for routeDescription:
Type: token
Path: AllergyIntolerance.reaction.exposureRoute
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter constant for identifierDescription:
Type: token
Path: AllergyIntolerance.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Fluent Client search parameter constant for identifierDescription:
Type: token
Path: AllergyIntolerance.identifier
-
SP_DATE
public static final String SP_DATE
Search parameter constant for dateDescription:
Type: date
Path: AllergyIntolerance.recordedDate
- See Also:
- Constant Field Values
-
DATE
public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE
Fluent Client search parameter constant for dateDescription:
Type: date
Path: AllergyIntolerance.recordedDate
-
SP_RECORDER
public static final String SP_RECORDER
Search parameter constant for recorderDescription:
Type: reference
Path: AllergyIntolerance.recorder
- See Also:
- Constant Field Values
-
RECORDER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RECORDER
Fluent Client search parameter constant for recorderDescription:
Type: reference
Path: AllergyIntolerance.recorder
-
SP_PATIENT
public static final String SP_PATIENT
Search parameter constant for patientDescription:
Type: reference
Path: AllergyIntolerance.patient
- See Also:
- Constant Field Values
-
PATIENT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Fluent Client search parameter constant for patientDescription:
Type: reference
Path: AllergyIntolerance.patient
-
SP_REPORTER
public static final String SP_REPORTER
Search parameter constant for reporterDescription:
Type: reference
Path: AllergyIntolerance.reporter
- See Also:
- Constant Field Values
-
REPORTER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REPORTER
Fluent Client search parameter constant for reporterDescription:
Type: reference
Path: AllergyIntolerance.reporter
-
INCLUDE_PATIENT
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "AllergyIntolerance:patient".
-
INCLUDE_RECORDER
public static final ca.uhn.fhir.model.api.Include INCLUDE_RECORDER
Constant for fluent queries to be used to add include statements. Specifies the path value of "AllergyIntolerance:recorder".
-
INCLUDE_REPORTER
public static final ca.uhn.fhir.model.api.Include INCLUDE_REPORTER
Constant for fluent queries to be used to add include statements. Specifies the path value of "AllergyIntolerance:reporter".
-
-
Constructor Detail
-
AllergyIntolerance
public AllergyIntolerance()
-
-
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
-
getIdentifier
public List<IdentifierDt> 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
public AllergyIntolerance setIdentifier(List<IdentifierDt> theValue)
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
public IdentifierDt 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
public AllergyIntolerance addIdentifier(IdentifierDt theValue)
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
public IdentifierDt 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
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 Allergy or Intolerance
-
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 Allergy or Intolerance
-
setOnset
public AllergyIntolerance 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 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
-
setOnsetWithSecondsPrecision
public AllergyIntolerance setOnsetWithSecondsPrecision(Date theDate)
Sets the value for onset ()Definition: Record of the date and/or time of the onset of the Allergy or Intolerance
-
getRecordedDateElement
public ca.uhn.fhir.model.primitive.DateTimeDt 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
public Date 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
public AllergyIntolerance setRecordedDate(ca.uhn.fhir.model.primitive.DateTimeDt theValue)
Sets the value(s) 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
-
setRecordedDateWithSecondsPrecision
public AllergyIntolerance setRecordedDateWithSecondsPrecision(Date theDate)
Sets the value for recordedDate ()Definition: Date when the sensitivity was recorded
-
getRecorder
public ResourceReferenceDt 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
public AllergyIntolerance setRecorder(ResourceReferenceDt theValue)
Sets the value(s) for recorder ()Definition: Individual who recorded the record and takes responsibility for its conten
-
getPatient
public ResourceReferenceDt 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
public AllergyIntolerance setPatient(ResourceReferenceDt theValue)
Sets the value(s) for patient ()Definition: The patient who has the allergy or intolerance
-
getReporter
public ResourceReferenceDt 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
public AllergyIntolerance setReporter(ResourceReferenceDt theValue)
Sets the value(s) for reporter ()Definition: The source of the information about the allergy that is recorded
-
getSubstance
public CodeableConceptDt 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
public AllergyIntolerance setSubstance(CodeableConceptDt theValue)
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
public ca.uhn.fhir.model.primitive.BoundCodeDt<AllergyIntoleranceStatusEnum> 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
public String 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
public AllergyIntolerance setStatus(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
-
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
public String 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
public AllergyIntolerance setCriticality(AllergyIntoleranceCriticalityEnum theValue)
Sets the value(s) for criticality ()Definition: Estimate of the potential clinical harm, or seriousness, of the reaction to the identified Substance
-
getTypeElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<AllergyIntoleranceTypeEnum> 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
public String 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
public AllergyIntolerance setType(AllergyIntoleranceTypeEnum theValue)
Sets the value(s) for type ()Definition: Identification of the underlying physiological mechanism for the reaction risk.
-
getCategoryElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<AllergyIntoleranceCategoryEnum> getCategoryElement()
Gets the value(s) for category (). creating it if it does not exist. Will not returnnull.Definition: Category of the identified Substance
-
getCategory
public String 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
public AllergyIntolerance setCategory(AllergyIntoleranceCategoryEnum theValue)
Sets the value(s) for category ()Definition: Category of the identified Substance
-
getLastOccurenceElement
public ca.uhn.fhir.model.primitive.DateTimeDt 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
public Date 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
public AllergyIntolerance setLastOccurence(ca.uhn.fhir.model.primitive.DateTimeDt theValue)
Sets the value(s) 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
-
setLastOccurenceWithSecondsPrecision
public AllergyIntolerance setLastOccurenceWithSecondsPrecision(Date theDate)
Sets the value for lastOccurence ()Definition: Represents the date and/or time of the last known occurrence of a reaction event
-
getNote
public AnnotationDt 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
public AllergyIntolerance setNote(AnnotationDt theValue)
Sets the value(s) for note ()Definition: Additional narrative about the propensity for the Adverse Reaction, not captured in other fields.
-
getReaction
public List<AllergyIntolerance.Reaction> 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
public AllergyIntolerance setReaction(List<AllergyIntolerance.Reaction> theValue)
Sets the value(s) for reaction ()Definition: Details about each adverse reaction event linked to exposure to the identified Substance
-
addReaction
public AllergyIntolerance.Reaction addReaction()
Adds and returns a new value for reaction ()Definition: Details about each adverse reaction event linked to exposure to the identified Substance
-
addReaction
public AllergyIntolerance addReaction(AllergyIntolerance.Reaction theValue)
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
public AllergyIntolerance.Reaction 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
public String getResourceName()
- Specified by:
getResourceNamein interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()
- Specified by:
getStructureFhirVersionEnumin interfaceorg.hl7.fhir.instance.model.api.IBaseResource- Specified by:
getStructureFhirVersionEnumin interfaceca.uhn.fhir.model.api.IResource
-
-