Class AllergyIntolerance
- java.lang.Object
-
- org.hl7.fhir.r4.model.Base
-
- org.hl7.fhir.r4.model.BaseResource
-
- org.hl7.fhir.r4.model.Resource
-
- org.hl7.fhir.r4.model.DomainResource
-
- org.hl7.fhir.r4.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.AllergyIntoleranceCriticalitystatic classAllergyIntolerance.AllergyIntoleranceCriticalityEnumFactorystatic classAllergyIntolerance.AllergyIntoleranceReactionComponentstatic classAllergyIntolerance.AllergyIntoleranceSeveritystatic classAllergyIntolerance.AllergyIntoleranceSeverityEnumFactorystatic classAllergyIntolerance.AllergyIntoleranceTypestatic classAllergyIntolerance.AllergyIntoleranceTypeEnumFactory
-
Field Summary
Fields Modifier and Type Field Description protected ReferenceasserterThe source of the information about the allergy that is recorded.static ca.uhn.fhir.rest.gclient.ReferenceClientParamASSERTERFluent Client search parameter constant for asserterprotected ResourceasserterTargetThe actual object that is the target of the reference (The source of the information about the allergy that is recorded.)protected List<Enumeration<AllergyIntolerance.AllergyIntoleranceCategory>>categoryCategory of the identified substance.static ca.uhn.fhir.rest.gclient.TokenClientParamCATEGORYFluent Client search parameter constant for categorystatic ca.uhn.fhir.rest.gclient.TokenClientParamCLINICAL_STATUSFluent Client search parameter constant for clinical-statusprotected CodeableConceptclinicalStatusThe clinical status of the allergy or intolerance.protected CodeableConceptcodeCode for an allergy or intolerance statement (either a positive or a negated/excluded statement).static ca.uhn.fhir.rest.gclient.TokenClientParamCODEFluent Client search parameter constant for codeprotected 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 ReferenceencounterThe encounter when the allergy or intolerance was asserted.protected EncounterencounterTargetThe actual object that is the target of the reference (The encounter when the allergy or intolerance was asserted.)protected List<Identifier>identifierBusiness identifiers assigned to this AllergyIntolerance by the performer or other systems which remain constant as the resource is updated and propagates from server to server.static ca.uhn.fhir.rest.gclient.TokenClientParamIDENTIFIERFluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.IncludeINCLUDE_ASSERTERConstant for fluent queries to be used to add include statements.static 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.rest.gclient.DateClientParamLAST_DATEFluent Client search parameter constant for last-dateprotected DateTimeTypelastOccurrenceRepresents 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 TypeonsetEstimated or actual date, date-time, or age when allergy or intolerance was identified.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 DateTimeTyperecordedDateThe recordedDate represents when this particular AllergyIntolerance record was created in the system, which is often a system-generated date.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.)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_ASSERTERSearch parameter: asserterstatic StringSP_CATEGORYSearch parameter: categorystatic StringSP_CLINICAL_STATUSSearch parameter: clinical-statusstatic StringSP_CODESearch parameter: codestatic 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_ROUTESearch parameter: routestatic StringSP_SEVERITYSearch parameter: severitystatic StringSP_TYPESearch parameter: typestatic StringSP_VERIFICATION_STATUSSearch parameter: verification-statusprotected 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 typestatic ca.uhn.fhir.rest.gclient.TokenClientParamVERIFICATION_STATUSFluent Client search parameter constant for verification-statusprotected CodeableConceptverificationStatusAssertion about certainty associated with the propensity, or potential risk, of a reaction to the identified substance (including pharmaceutical product).-
Fields inherited from class org.hl7.fhir.r4.model.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.r4.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description AllergyIntolerance()ConstructorAllergyIntolerance(Reference patient)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r4.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
-
Methods inherited from class org.hl7.fhir.r4.model.Resource
copyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
-
Methods inherited from class org.hl7.fhir.r4.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
-
Methods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, 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
Business identifiers assigned to this AllergyIntolerance by the performer or other systems which remain constant as the resource is updated and propagates from server to server.
-
clinicalStatus
protected CodeableConcept clinicalStatus
The clinical status of the allergy or intolerance.
-
verificationStatus
protected CodeableConcept verificationStatus
Assertion about certainty associated with the propensity, or potential risk, of a reaction to the identified substance (including pharmaceutical product).
-
type
protected Enumeration<AllergyIntolerance.AllergyIntoleranceType> type
Identification of the underlying physiological mechanism for the reaction risk.
-
category
protected List<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.
-
code
protected CodeableConcept code
Code for an allergy or intolerance statement (either a positive or a negated/excluded statement). This may be a code for a substance or pharmaceutical product that is considered to be responsible for the adverse reaction risk (e.g., "Latex"), an allergy or intolerance condition (e.g., "Latex allergy"), or a negated/excluded code for a specific substance or class (e.g., "No latex allergy") or a general or categorical negated statement (e.g., "No known allergy", "No known drug allergies"). Note: the substance for a specific reaction may be different from the substance identified as the cause of the risk, but it must be consistent with it. For instance, it may be a more specific substance (e.g. a brand medication) or a composite product that includes the identified substance. It must be clinically safe to only process the 'code' and ignore the 'reaction.substance'. If a receiving system is unable to confirm that AllergyIntolerance.reaction.substance falls within the semantic scope of AllergyIntolerance.code, then the receiving system should ignore AllergyIntolerance.reaction.substance.
-
patientTarget
protected Patient patientTarget
The actual object that is the target of the reference (The patient who has the allergy or intolerance.)
-
encounterTarget
protected Encounter encounterTarget
The actual object that is the target of the reference (The encounter when the allergy or intolerance was asserted.)
-
onset
protected Type onset
Estimated or actual date, date-time, or age when allergy or intolerance was identified.
-
recordedDate
protected DateTimeType recordedDate
The recordedDate represents when this particular AllergyIntolerance record was created in the system, which is often a system-generated date.
-
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.)
-
asserter
protected Reference asserter
The source of the information about the allergy that is recorded.
-
asserterTarget
protected Resource asserterTarget
The actual object that is the target of the reference (The source of the information about the allergy that is recorded.)
-
lastOccurrence
protected DateTimeType lastOccurrence
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_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_DATE
public static final String SP_DATE
Search parameter: dateDescription: Date first version of the resource instance was 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: Date first version of the resource instance was recorded
Type: date
Path: AllergyIntolerance.recordedDate
-
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
-
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_CODE
public static final String SP_CODE
Search parameter: codeDescription: Code that identifies the allergy or intolerance
Type: token
Path: AllergyIntolerance.code, AllergyIntolerance.reaction.substance
- See Also:
- Constant Field Values
-
CODE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE
Fluent Client search parameter constant for codeDescription: Code that identifies the allergy or intolerance
Type: token
Path: AllergyIntolerance.code, AllergyIntolerance.reaction.substance
-
SP_VERIFICATION_STATUS
public static final String SP_VERIFICATION_STATUS
Search parameter: verification-statusDescription: unconfirmed | confirmed | refuted | entered-in-error
Type: token
Path: AllergyIntolerance.verificationStatus
- See Also:
- Constant Field Values
-
VERIFICATION_STATUS
public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERIFICATION_STATUS
Fluent Client search parameter constant for verification-statusDescription: unconfirmed | confirmed | refuted | entered-in-error
Type: token
Path: AllergyIntolerance.verificationStatus
-
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_CLINICAL_STATUS
public static final String SP_CLINICAL_STATUS
Search parameter: clinical-statusDescription: active | inactive | resolved
Type: token
Path: AllergyIntolerance.clinicalStatus
- See Also:
- Constant Field Values
-
CLINICAL_STATUS
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CLINICAL_STATUS
Fluent Client search parameter constant for clinical-statusDescription: active | inactive | resolved
Type: token
Path: AllergyIntolerance.clinicalStatus
-
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_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_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_ASSERTER
public static final String SP_ASSERTER
Search parameter: asserterDescription: Source of the information about the allergy
Type: reference
Path: AllergyIntolerance.asserter
- See Also:
- Constant Field Values
-
ASSERTER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ASSERTER
Fluent Client search parameter constant for asserterDescription: Source of the information about the allergy
Type: reference
Path: AllergyIntolerance.asserter
-
INCLUDE_ASSERTER
public static final ca.uhn.fhir.model.api.Include INCLUDE_ASSERTER
Constant for fluent queries to be used to add include statements. Specifies the path value of "AllergyIntolerance:asserter".
-
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_CATEGORY
public static final String SP_CATEGORY
Search parameter: categoryDescription: food | medication | environment | biologic
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 | biologic
Type: token
Path: AllergyIntolerance.category
-
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.lastOccurrence
- 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.lastOccurrence
-
-
Constructor Detail
-
AllergyIntolerance
public AllergyIntolerance()
Constructor
-
AllergyIntolerance
public AllergyIntolerance(Reference patient)
Constructor
-
-
Method Detail
-
getIdentifier
public List<Identifier> getIdentifier()
- Returns:
identifier(Business identifiers assigned to this AllergyIntolerance by the performer or other systems which remain constant as the resource is updated and propagates from server to server.)
-
setIdentifier
public AllergyIntolerance setIdentifier(List<Identifier> theIdentifier)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasIdentifier
public boolean hasIdentifier()
-
addIdentifier
public Identifier addIdentifier()
-
addIdentifier
public AllergyIntolerance addIdentifier(Identifier t)
-
getIdentifierFirstRep
public Identifier getIdentifierFirstRep()
- Returns:
- The first repetition of repeating field
identifier, creating it if it does not already exist
-
getClinicalStatus
public CodeableConcept getClinicalStatus()
- Returns:
clinicalStatus(The clinical status of the allergy or intolerance.)
-
hasClinicalStatus
public boolean hasClinicalStatus()
-
setClinicalStatus
public AllergyIntolerance setClinicalStatus(CodeableConcept value)
- Parameters:
value-clinicalStatus(The clinical status of the allergy or intolerance.)
-
getVerificationStatus
public CodeableConcept getVerificationStatus()
- Returns:
verificationStatus(Assertion about certainty associated with the propensity, or potential risk, of a reaction to the identified substance (including pharmaceutical product).)
-
hasVerificationStatus
public boolean hasVerificationStatus()
-
setVerificationStatus
public AllergyIntolerance setVerificationStatus(CodeableConcept value)
- Parameters:
value-verificationStatus(Assertion about certainty associated with the propensity, or potential risk, of a reaction to the identified substance (including pharmaceutical product).)
-
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.
-
getCategory
public List<Enumeration<AllergyIntolerance.AllergyIntoleranceCategory>> getCategory()
- Returns:
category(Category of the identified substance.)
-
setCategory
public AllergyIntolerance setCategory(List<Enumeration<AllergyIntolerance.AllergyIntoleranceCategory>> theCategory)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasCategory
public boolean hasCategory()
-
addCategoryElement
public Enumeration<AllergyIntolerance.AllergyIntoleranceCategory> addCategoryElement()
- Returns:
category(Category of the identified substance.)
-
addCategory
public AllergyIntolerance addCategory(AllergyIntolerance.AllergyIntoleranceCategory value)
- Parameters:
value-category(Category of the identified substance.)
-
hasCategory
public boolean hasCategory(AllergyIntolerance.AllergyIntoleranceCategory value)
- Parameters:
value-category(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.
-
getCode
public CodeableConcept getCode()
- Returns:
code(Code for an allergy or intolerance statement (either a positive or a negated/excluded statement). This may be a code for a substance or pharmaceutical product that is considered to be responsible for the adverse reaction risk (e.g., "Latex"), an allergy or intolerance condition (e.g., "Latex allergy"), or a negated/excluded code for a specific substance or class (e.g., "No latex allergy") or a general or categorical negated statement (e.g., "No known allergy", "No known drug allergies"). Note: the substance for a specific reaction may be different from the substance identified as the cause of the risk, but it must be consistent with it. For instance, it may be a more specific substance (e.g. a brand medication) or a composite product that includes the identified substance. It must be clinically safe to only process the 'code' and ignore the 'reaction.substance'. If a receiving system is unable to confirm that AllergyIntolerance.reaction.substance falls within the semantic scope of AllergyIntolerance.code, then the receiving system should ignore AllergyIntolerance.reaction.substance.)
-
hasCode
public boolean hasCode()
-
setCode
public AllergyIntolerance setCode(CodeableConcept value)
- Parameters:
value-code(Code for an allergy or intolerance statement (either a positive or a negated/excluded statement). This may be a code for a substance or pharmaceutical product that is considered to be responsible for the adverse reaction risk (e.g., "Latex"), an allergy or intolerance condition (e.g., "Latex allergy"), or a negated/excluded code for a specific substance or class (e.g., "No latex allergy") or a general or categorical negated statement (e.g., "No known allergy", "No known drug allergies"). Note: the substance for a specific reaction may be different from the substance identified as the cause of the risk, but it must be consistent with it. For instance, it may be a more specific substance (e.g. a brand medication) or a composite product that includes the identified substance. It must be clinically safe to only process the 'code' and ignore the 'reaction.substance'. If a receiving system is unable to confirm that AllergyIntolerance.reaction.substance falls within the semantic scope of AllergyIntolerance.code, then the receiving system should ignore AllergyIntolerance.reaction.substance.)
-
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.)
-
getEncounter
public Reference getEncounter()
- Returns:
encounter(The encounter when the allergy or intolerance was asserted.)
-
hasEncounter
public boolean hasEncounter()
-
setEncounter
public AllergyIntolerance setEncounter(Reference value)
- Parameters:
value-encounter(The encounter when the allergy or intolerance was asserted.)
-
getEncounterTarget
public Encounter getEncounterTarget()
- Returns:
encounterThe 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 encounter when the allergy or intolerance was asserted.)
-
setEncounterTarget
public AllergyIntolerance setEncounterTarget(Encounter value)
- Parameters:
value-encounterThe 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 encounter when the allergy or intolerance was asserted.)
-
getOnset
public Type getOnset()
- Returns:
onset(Estimated or actual date, date-time, or age when allergy or intolerance was identified.)
-
getOnsetDateTimeType
public DateTimeType getOnsetDateTimeType() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
onset(Estimated or actual date, date-time, or age when allergy or intolerance was identified.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasOnsetDateTimeType
public boolean hasOnsetDateTimeType()
-
getOnsetAge
public Age getOnsetAge() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
onset(Estimated or actual date, date-time, or age when allergy or intolerance was identified.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasOnsetAge
public boolean hasOnsetAge()
-
getOnsetPeriod
public Period getOnsetPeriod() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
onset(Estimated or actual date, date-time, or age when allergy or intolerance was identified.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasOnsetPeriod
public boolean hasOnsetPeriod()
-
getOnsetRange
public Range getOnsetRange() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
onset(Estimated or actual date, date-time, or age when allergy or intolerance was identified.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasOnsetRange
public boolean hasOnsetRange()
-
getOnsetStringType
public StringType getOnsetStringType() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
onset(Estimated or actual date, date-time, or age when allergy or intolerance was identified.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasOnsetStringType
public boolean hasOnsetStringType()
-
hasOnset
public boolean hasOnset()
-
setOnset
public AllergyIntolerance setOnset(Type value)
- Parameters:
value-onset(Estimated or actual date, date-time, or age when allergy or intolerance was identified.)
-
getRecordedDateElement
public DateTimeType getRecordedDateElement()
- Returns:
recordedDate(The recordedDate represents when this particular AllergyIntolerance record was created in the system, which is often a system-generated date.). 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(The recordedDate represents when this particular AllergyIntolerance record was created in the system, which is often a system-generated date.). This is the underlying object with id, value and extensions. The accessor "getRecordedDate" gives direct access to the value
-
getRecordedDate
public Date getRecordedDate()
- Returns:
- The recordedDate represents when this particular AllergyIntolerance record was created in the system, which is often a system-generated date.
-
setRecordedDate
public AllergyIntolerance setRecordedDate(Date value)
- Parameters:
value- The recordedDate represents when this particular AllergyIntolerance record was created in the system, which is often a system-generated date.
-
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.)
-
getAsserter
public Reference getAsserter()
- Returns:
asserter(The source of the information about the allergy that is recorded.)
-
hasAsserter
public boolean hasAsserter()
-
setAsserter
public AllergyIntolerance setAsserter(Reference value)
- Parameters:
value-asserter(The source of the information about the allergy that is recorded.)
-
getAsserterTarget
public Resource getAsserterTarget()
- Returns:
asserterThe 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.)
-
setAsserterTarget
public AllergyIntolerance setAsserterTarget(Resource value)
- Parameters:
value-asserterThe 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.)
-
getLastOccurrenceElement
public DateTimeType getLastOccurrenceElement()
- Returns:
lastOccurrence(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 "getLastOccurrence" gives direct access to the value
-
hasLastOccurrenceElement
public boolean hasLastOccurrenceElement()
-
hasLastOccurrence
public boolean hasLastOccurrence()
-
setLastOccurrenceElement
public AllergyIntolerance setLastOccurrenceElement(DateTimeType value)
- Parameters:
value-lastOccurrence(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 "getLastOccurrence" gives direct access to the value
-
getLastOccurrence
public Date getLastOccurrence()
- Returns:
- Represents the date and/or time of the last known occurrence of a reaction event.
-
setLastOccurrence
public AllergyIntolerance setLastOccurrence(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.)
-
setNote
public AllergyIntolerance setNote(List<Annotation> theNote)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasNote
public boolean hasNote()
-
addNote
public Annotation addNote()
-
addNote
public AllergyIntolerance addNote(Annotation t)
-
getNoteFirstRep
public Annotation getNoteFirstRep()
- Returns:
- The first repetition of repeating field
note, creating it if it does not already exist
-
getReaction
public List<AllergyIntolerance.AllergyIntoleranceReactionComponent> getReaction()
- Returns:
reaction(Details about each adverse reaction event linked to exposure to the identified substance.)
-
setReaction
public AllergyIntolerance setReaction(List<AllergyIntolerance.AllergyIntoleranceReactionComponent> theReaction)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasReaction
public boolean hasReaction()
-
addReaction
public AllergyIntolerance.AllergyIntoleranceReactionComponent addReaction()
-
addReaction
public AllergyIntolerance addReaction(AllergyIntolerance.AllergyIntoleranceReactionComponent t)
-
getReactionFirstRep
public AllergyIntolerance.AllergyIntoleranceReactionComponent getReactionFirstRep()
- Returns:
- The first repetition of repeating field
reaction, creating it if it does not already exist
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildrenin classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
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 Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base 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
- Overrides:
makePropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForPropertyin classDomainResource- 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
-
copyValues
public void copyValues(AllergyIntolerance dst)
-
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
-
-