Class AllergyIntolerance
- java.lang.Object
-
- org.hl7.fhir.dstu2016may.model.Base
-
- org.hl7.fhir.dstu2016may.model.BaseResource
-
- org.hl7.fhir.dstu2016may.model.Resource
-
- org.hl7.fhir.dstu2016may.model.DomainResource
-
- org.hl7.fhir.dstu2016may.model.AllergyIntolerance
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IAnyResource,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions,org.hl7.fhir.instance.model.api.IBaseResource,org.hl7.fhir.instance.model.api.IDomainResource
public class AllergyIntolerance extends DomainResource
Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAllergyIntolerance.AllergyIntoleranceCategorystatic classAllergyIntolerance.AllergyIntoleranceCategoryEnumFactorystatic classAllergyIntolerance.AllergyIntoleranceCertaintystatic classAllergyIntolerance.AllergyIntoleranceCertaintyEnumFactorystatic classAllergyIntolerance.AllergyIntoleranceCriticalitystatic classAllergyIntolerance.AllergyIntoleranceCriticalityEnumFactorystatic classAllergyIntolerance.AllergyIntoleranceReactionComponentstatic classAllergyIntolerance.AllergyIntoleranceSeveritystatic classAllergyIntolerance.AllergyIntoleranceSeverityEnumFactorystatic classAllergyIntolerance.AllergyIntoleranceStatusstatic classAllergyIntolerance.AllergyIntoleranceStatusEnumFactorystatic classAllergyIntolerance.AllergyIntoleranceTypestatic classAllergyIntolerance.AllergyIntoleranceTypeEnumFactory
-
Field Summary
Fields Modifier and Type Field Description protected Enumeration<AllergyIntolerance.AllergyIntoleranceCategory>categoryCategory of the identified Substance.static ca.uhn.fhir.rest.gclient.TokenClientParamCATEGORYFluent Client search parameter constant for categoryprotected Enumeration<AllergyIntolerance.AllergyIntoleranceCriticality>criticalityEstimate of the potential clinical harm, or seriousness, of the reaction to the identified Substance.static ca.uhn.fhir.rest.gclient.TokenClientParamCRITICALITYFluent Client search parameter constant for criticalitystatic ca.uhn.fhir.rest.gclient.DateClientParamDATEFluent Client search parameter constant for dateprotected List<Identifier>identifierThis 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.static 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-dateprotected DateTimeTypelastOccurenceRepresents the date and/or time of the last known occurrence of a reaction event.static ca.uhn.fhir.rest.gclient.TokenClientParamMANIFESTATIONFluent Client search parameter constant for manifestationprotected List<Annotation>noteAdditional narrative about the propensity for the Adverse Reaction, not captured in other fields.protected DateTimeTypeonsetRecord of the date and/or time of the onset of the Allergy or Intolerance.static ca.uhn.fhir.rest.gclient.DateClientParamONSETFluent Client search parameter constant for onsetprotected ReferencepatientThe patient who has the allergy or intolerance.static ca.uhn.fhir.rest.gclient.ReferenceClientParamPATIENTFluent Client search parameter constant for patientprotected PatientpatientTargetThe actual object that is the target of the reference (The patient who has the allergy or intolerance.)protected List<AllergyIntolerance.AllergyIntoleranceReactionComponent>reactionDetails about each adverse reaction event linked to exposure to the identified Substance.protected DateTimeTyperecordedDateDate when the sensitivity was recorded.protected ReferencerecorderIndividual who recorded the record and takes responsibility for its content.static ca.uhn.fhir.rest.gclient.ReferenceClientParamRECORDERFluent Client search parameter constant for recorderprotected ResourcerecorderTargetThe actual object that is the target of the reference (Individual who recorded the record and takes responsibility for its content.)protected ReferencereporterThe source of the information about the allergy that is recorded.static ca.uhn.fhir.rest.gclient.ReferenceClientParamREPORTERFluent Client search parameter constant for reporterprotected ResourcereporterTargetThe actual object that is the target of the reference (The source of the information about the allergy that is recorded.)static 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: categorystatic StringSP_CRITICALITYSearch parameter: criticalitystatic StringSP_DATESearch parameter: datestatic StringSP_IDENTIFIERSearch parameter: identifierstatic StringSP_LAST_DATESearch parameter: last-datestatic StringSP_MANIFESTATIONSearch parameter: manifestationstatic StringSP_ONSETSearch parameter: onsetstatic StringSP_PATIENTSearch parameter: patientstatic StringSP_RECORDERSearch parameter: recorderstatic StringSP_REPORTERSearch parameter: reporterstatic StringSP_ROUTESearch parameter: routestatic StringSP_SEVERITYSearch parameter: severitystatic StringSP_STATUSSearch parameter: statusstatic StringSP_SUBSTANCESearch parameter: substancestatic StringSP_TYPESearch parameter: typeprotected Enumeration<AllergyIntolerance.AllergyIntoleranceStatus>statusAssertion about certainty associated with the propensity, or potential risk, of a reaction to the identified Substance.static ca.uhn.fhir.rest.gclient.TokenClientParamSTATUSFluent Client search parameter constant for statusprotected CodeableConceptsubstanceIdentification of a substance, or a class of substances, that is considered to be responsible for the adverse reaction risk.static ca.uhn.fhir.rest.gclient.TokenClientParamSUBSTANCEFluent Client search parameter constant for substanceprotected Enumeration<AllergyIntolerance.AllergyIntoleranceType>typeIdentification of the underlying physiological mechanism for the reaction risk.static ca.uhn.fhir.rest.gclient.TokenClientParamTYPEFluent Client search parameter constant for type-
Fields inherited from class org.hl7.fhir.dstu2016may.model.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.dstu2016may.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description AllergyIntolerance()ConstructorAllergyIntolerance(CodeableConcept substance, Reference patient)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setText
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.Resource
copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.BaseResource
getStructureFhirVersionEnum, setId
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.Base
castToActionDefinition, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToModuleMetadata, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
-
-
-
-
Field Detail
-
identifier
protected List<Identifier> identifier
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).
-
status
protected Enumeration<AllergyIntolerance.AllergyIntoleranceStatus> status
Assertion about certainty associated with the propensity, or potential risk, of a reaction to the identified Substance.
-
type
protected Enumeration<AllergyIntolerance.AllergyIntoleranceType> type
Identification of the underlying physiological mechanism for the reaction risk.
-
category
protected Enumeration<AllergyIntolerance.AllergyIntoleranceCategory> category
Category of the identified Substance.
-
criticality
protected Enumeration<AllergyIntolerance.AllergyIntoleranceCriticality> criticality
Estimate of the potential clinical harm, or seriousness, of the reaction to the identified Substance.
-
substance
protected CodeableConcept substance
Identification of a substance, or a class of substances, that is considered to be responsible for the adverse reaction risk.
-
patientTarget
protected Patient patientTarget
The actual object that is the target of the reference (The patient who has the allergy or intolerance.)
-
recordedDate
protected DateTimeType recordedDate
Date when the sensitivity was recorded.
-
recorder
protected Reference recorder
Individual who recorded the record and takes responsibility for its content.
-
recorderTarget
protected Resource recorderTarget
The actual object that is the target of the reference (Individual who recorded the record and takes responsibility for its content.)
-
reporter
protected Reference reporter
The source of the information about the allergy that is recorded.
-
reporterTarget
protected Resource reporterTarget
The actual object that is the target of the reference (The source of the information about the allergy that is recorded.)
-
onset
protected DateTimeType onset
Record of the date and/or time of the onset of the Allergy or Intolerance.
-
lastOccurence
protected DateTimeType lastOccurence
Represents the date and/or time of the last known occurrence of a reaction event.
-
note
protected List<Annotation> note
Additional narrative about the propensity for the Adverse Reaction, not captured in other fields.
-
reaction
protected List<AllergyIntolerance.AllergyIntoleranceReactionComponent> reaction
Details about each adverse reaction event linked to exposure to the identified Substance.
-
SP_STATUS
public static final String SP_STATUS
Search parameter: statusDescription: active | unconfirmed | confirmed | inactive | resolved | refuted | entered-in-error
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: active | unconfirmed | confirmed | inactive | resolved | refuted | entered-in-error
Type: token
Path: AllergyIntolerance.status
-
SP_ONSET
public static final String SP_ONSET
Search parameter: onsetDescription: Date(/time) when manifestations showed
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: Date(/time) when manifestations showed
Type: date
Path: AllergyIntolerance.reaction.onset
-
SP_LAST_DATE
public static final String SP_LAST_DATE
Search parameter: last-dateDescription: Date(/time) of last known occurrence of a reaction
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: Date(/time) of last known occurrence of a reaction
Type: date
Path: AllergyIntolerance.lastOccurence
-
SP_SEVERITY
public static final String SP_SEVERITY
Search parameter: severityDescription: mild | moderate | severe (of event as a whole)
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: mild | moderate | severe (of event as a whole)
Type: token
Path: AllergyIntolerance.reaction.severity
-
SP_TYPE
public static final String SP_TYPE
Search parameter: typeDescription: allergy | intolerance - Underlying mechanism (if known)
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: allergy | intolerance - Underlying mechanism (if known)
Type: token
Path: AllergyIntolerance.type
-
SP_DATE
public static final String SP_DATE
Search parameter: dateDescription: When recorded
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: When recorded
Type: date
Path: AllergyIntolerance.recordedDate
-
SP_REPORTER
public static final String SP_REPORTER
Search parameter: reporterDescription: Source of the information about the allergy
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: Source of the information about the allergy
Type: reference
Path: AllergyIntolerance.reporter
-
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".
-
SP_SUBSTANCE
public static final String SP_SUBSTANCE
Search parameter: substanceDescription: Substance, (or class) considered to be responsible for risk
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: Substance, (or class) considered to be responsible for risk
Type: token
Path: AllergyIntolerance.substance, AllergyIntolerance.reaction.substance
-
SP_CRITICALITY
public static final String SP_CRITICALITY
Search parameter: criticalityDescription: low | high | unable-to-assess
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: low | high | unable-to-assess
Type: token
Path: AllergyIntolerance.criticality
-
SP_CATEGORY
public static final String SP_CATEGORY
Search parameter: categoryDescription: food | medication | environment | other - Category of Substance
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: food | medication | environment | other - Category of Substance
Type: token
Path: AllergyIntolerance.category
-
SP_PATIENT
public static final String SP_PATIENT
Search parameter: patientDescription: Who the sensitivity is for
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: Who the sensitivity is for
Type: reference
Path: AllergyIntolerance.patient
-
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".
-
SP_RECORDER
public static final String SP_RECORDER
Search parameter: recorderDescription: Who recorded the sensitivity
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: Who recorded the sensitivity
Type: reference
Path: AllergyIntolerance.recorder
-
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".
-
SP_ROUTE
public static final String SP_ROUTE
Search parameter: routeDescription: How the subject was exposed to the substance
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: How the subject was exposed to the substance
Type: token
Path: AllergyIntolerance.reaction.exposureRoute
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter: identifierDescription: External ids for this item
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: External ids for this item
Type: token
Path: AllergyIntolerance.identifier
-
SP_MANIFESTATION
public static final String SP_MANIFESTATION
Search parameter: manifestationDescription: Clinical symptoms/signs associated with the Event
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: Clinical symptoms/signs associated with the Event
Type: token
Path: AllergyIntolerance.reaction.manifestation
-
-
Constructor Detail
-
AllergyIntolerance
public AllergyIntolerance()
Constructor
-
AllergyIntolerance
public AllergyIntolerance(CodeableConcept substance, Reference patient)
Constructor
-
-
Method Detail
-
getIdentifier
public List<Identifier> getIdentifier()
- Returns:
identifier(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).)
-
hasIdentifier
public boolean hasIdentifier()
-
addIdentifier
public Identifier addIdentifier()
- Returns:
identifier(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(Identifier t)
-
getStatusElement
public Enumeration<AllergyIntolerance.AllergyIntoleranceStatus> getStatusElement()
- Returns:
status(Assertion about certainty associated with the propensity, or potential risk, of a reaction to the identified Substance.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
public boolean hasStatusElement()
-
hasStatus
public boolean hasStatus()
-
setStatusElement
public AllergyIntolerance setStatusElement(Enumeration<AllergyIntolerance.AllergyIntoleranceStatus> value)
- Parameters:
value-status(Assertion about certainty associated with the propensity, or potential risk, of a reaction to the identified Substance.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
public AllergyIntolerance.AllergyIntoleranceStatus getStatus()
- Returns:
- Assertion about certainty associated with the propensity, or potential risk, of a reaction to the identified Substance.
-
setStatus
public AllergyIntolerance setStatus(AllergyIntolerance.AllergyIntoleranceStatus value)
- Parameters:
value- Assertion about certainty associated with the propensity, or potential risk, of a reaction to the identified Substance.
-
getTypeElement
public Enumeration<AllergyIntolerance.AllergyIntoleranceType> getTypeElement()
- Returns:
type(Identification of the underlying physiological mechanism for the reaction risk.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value
-
hasTypeElement
public boolean hasTypeElement()
-
hasType
public boolean hasType()
-
setTypeElement
public AllergyIntolerance setTypeElement(Enumeration<AllergyIntolerance.AllergyIntoleranceType> value)
- Parameters:
value-type(Identification of the underlying physiological mechanism for the reaction risk.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value
-
getType
public AllergyIntolerance.AllergyIntoleranceType getType()
- Returns:
- Identification of the underlying physiological mechanism for the reaction risk.
-
setType
public AllergyIntolerance setType(AllergyIntolerance.AllergyIntoleranceType value)
- Parameters:
value- Identification of the underlying physiological mechanism for the reaction risk.
-
getCategoryElement
public Enumeration<AllergyIntolerance.AllergyIntoleranceCategory> getCategoryElement()
- Returns:
category(Category of the identified Substance.). This is the underlying object with id, value and extensions. The accessor "getCategory" gives direct access to the value
-
hasCategoryElement
public boolean hasCategoryElement()
-
hasCategory
public boolean hasCategory()
-
setCategoryElement
public AllergyIntolerance setCategoryElement(Enumeration<AllergyIntolerance.AllergyIntoleranceCategory> value)
- Parameters:
value-category(Category of the identified Substance.). This is the underlying object with id, value and extensions. The accessor "getCategory" gives direct access to the value
-
getCategory
public AllergyIntolerance.AllergyIntoleranceCategory getCategory()
- Returns:
- Category of the identified Substance.
-
setCategory
public AllergyIntolerance setCategory(AllergyIntolerance.AllergyIntoleranceCategory value)
- Parameters:
value- Category of the identified Substance.
-
getCriticalityElement
public Enumeration<AllergyIntolerance.AllergyIntoleranceCriticality> getCriticalityElement()
- Returns:
criticality(Estimate of the potential clinical harm, or seriousness, of the reaction to the identified Substance.). This is the underlying object with id, value and extensions. The accessor "getCriticality" gives direct access to the value
-
hasCriticalityElement
public boolean hasCriticalityElement()
-
hasCriticality
public boolean hasCriticality()
-
setCriticalityElement
public AllergyIntolerance setCriticalityElement(Enumeration<AllergyIntolerance.AllergyIntoleranceCriticality> value)
- Parameters:
value-criticality(Estimate of the potential clinical harm, or seriousness, of the reaction to the identified Substance.). This is the underlying object with id, value and extensions. The accessor "getCriticality" gives direct access to the value
-
getCriticality
public AllergyIntolerance.AllergyIntoleranceCriticality getCriticality()
- Returns:
- Estimate of the potential clinical harm, or seriousness, of the reaction to the identified Substance.
-
setCriticality
public AllergyIntolerance setCriticality(AllergyIntolerance.AllergyIntoleranceCriticality value)
- Parameters:
value- Estimate of the potential clinical harm, or seriousness, of the reaction to the identified Substance.
-
getSubstance
public CodeableConcept getSubstance()
- Returns:
substance(Identification of a substance, or a class of substances, that is considered to be responsible for the adverse reaction risk.)
-
hasSubstance
public boolean hasSubstance()
-
setSubstance
public AllergyIntolerance setSubstance(CodeableConcept value)
- Parameters:
value-substance(Identification of a substance, or a class of substances, that is considered to be responsible for the adverse reaction risk.)
-
getPatient
public Reference getPatient()
- Returns:
patient(The patient who has the allergy or intolerance.)
-
hasPatient
public boolean hasPatient()
-
setPatient
public AllergyIntolerance setPatient(Reference value)
- Parameters:
value-patient(The patient who has the allergy or intolerance.)
-
getPatientTarget
public Patient getPatientTarget()
- Returns:
patientThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The patient who has the allergy or intolerance.)
-
setPatientTarget
public AllergyIntolerance setPatientTarget(Patient value)
- Parameters:
value-patientThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The patient who has the allergy or intolerance.)
-
getRecordedDateElement
public DateTimeType getRecordedDateElement()
- Returns:
recordedDate(Date when the sensitivity was recorded.). This is the underlying object with id, value and extensions. The accessor "getRecordedDate" gives direct access to the value
-
hasRecordedDateElement
public boolean hasRecordedDateElement()
-
hasRecordedDate
public boolean hasRecordedDate()
-
setRecordedDateElement
public AllergyIntolerance setRecordedDateElement(DateTimeType value)
- Parameters:
value-recordedDate(Date when the sensitivity was recorded.). This is the underlying object with id, value and extensions. The accessor "getRecordedDate" gives direct access to the value
-
getRecordedDate
public Date getRecordedDate()
- Returns:
- Date when the sensitivity was recorded.
-
setRecordedDate
public AllergyIntolerance setRecordedDate(Date value)
- Parameters:
value- Date when the sensitivity was recorded.
-
getRecorder
public Reference getRecorder()
- Returns:
recorder(Individual who recorded the record and takes responsibility for its content.)
-
hasRecorder
public boolean hasRecorder()
-
setRecorder
public AllergyIntolerance setRecorder(Reference value)
- Parameters:
value-recorder(Individual who recorded the record and takes responsibility for its content.)
-
getRecorderTarget
public Resource getRecorderTarget()
- Returns:
recorderThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Individual who recorded the record and takes responsibility for its content.)
-
setRecorderTarget
public AllergyIntolerance setRecorderTarget(Resource value)
- Parameters:
value-recorderThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Individual who recorded the record and takes responsibility for its content.)
-
getReporter
public Reference getReporter()
- Returns:
reporter(The source of the information about the allergy that is recorded.)
-
hasReporter
public boolean hasReporter()
-
setReporter
public AllergyIntolerance setReporter(Reference value)
- Parameters:
value-reporter(The source of the information about the allergy that is recorded.)
-
getReporterTarget
public Resource getReporterTarget()
- Returns:
reporterThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The source of the information about the allergy that is recorded.)
-
setReporterTarget
public AllergyIntolerance setReporterTarget(Resource value)
- Parameters:
value-reporterThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The source of the information about the allergy that is recorded.)
-
getOnsetElement
public DateTimeType getOnsetElement()
- Returns:
onset(Record of the date and/or time of the onset of the Allergy or Intolerance.). This is the underlying object with id, value and extensions. The accessor "getOnset" gives direct access to the value
-
hasOnsetElement
public boolean hasOnsetElement()
-
hasOnset
public boolean hasOnset()
-
setOnsetElement
public AllergyIntolerance setOnsetElement(DateTimeType value)
- Parameters:
value-onset(Record of the date and/or time of the onset of the Allergy or Intolerance.). This is the underlying object with id, value and extensions. The accessor "getOnset" gives direct access to the value
-
getOnset
public Date getOnset()
- Returns:
- Record of the date and/or time of the onset of the Allergy or Intolerance.
-
setOnset
public AllergyIntolerance setOnset(Date value)
- Parameters:
value- Record of the date and/or time of the onset of the Allergy or Intolerance.
-
getLastOccurenceElement
public DateTimeType getLastOccurenceElement()
- Returns:
lastOccurence(Represents the date and/or time of the last known occurrence of a reaction event.). This is the underlying object with id, value and extensions. The accessor "getLastOccurence" gives direct access to the value
-
hasLastOccurenceElement
public boolean hasLastOccurenceElement()
-
hasLastOccurence
public boolean hasLastOccurence()
-
setLastOccurenceElement
public AllergyIntolerance setLastOccurenceElement(DateTimeType value)
- Parameters:
value-lastOccurence(Represents the date and/or time of the last known occurrence of a reaction event.). This is the underlying object with id, value and extensions. The accessor "getLastOccurence" gives direct access to the value
-
getLastOccurence
public Date getLastOccurence()
- Returns:
- Represents the date and/or time of the last known occurrence of a reaction event.
-
setLastOccurence
public AllergyIntolerance setLastOccurence(Date value)
- Parameters:
value- Represents the date and/or time of the last known occurrence of a reaction event.
-
getNote
public List<Annotation> getNote()
- Returns:
note(Additional narrative about the propensity for the Adverse Reaction, not captured in other fields.)
-
hasNote
public boolean hasNote()
-
addNote
public Annotation addNote()
- Returns:
note(Additional narrative about the propensity for the Adverse Reaction, not captured in other fields.)
-
addNote
public AllergyIntolerance addNote(Annotation t)
-
getReaction
public List<AllergyIntolerance.AllergyIntoleranceReactionComponent> getReaction()
- Returns:
reaction(Details about each adverse reaction event linked to exposure to the identified Substance.)
-
hasReaction
public boolean hasReaction()
-
addReaction
public AllergyIntolerance.AllergyIntoleranceReactionComponent addReaction()
- Returns:
reaction(Details about each adverse reaction event linked to exposure to the identified Substance.)
-
addReaction
public AllergyIntolerance addReaction(AllergyIntolerance.AllergyIntoleranceReactionComponent t)
-
listChildren
protected void listChildren(List<Property> childrenList)
- Overrides:
listChildrenin classDomainResource
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
Description copied from class:Basemake an instance of a property. If the property is a repeating property, make a new instance. if the property is not repeating, return the property- Overrides:
makePropertyin classDomainResource- Returns:
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
public AllergyIntolerance copy()
- Specified by:
copyin classDomainResource
-
typedCopy
protected AllergyIntolerance typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other)
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other)
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceTypein classResource
-
-