Package org.hl7.fhir.dstu2.model
Class AllergyIntolerance
java.lang.Object
org.hl7.fhir.dstu2.model.Base
org.hl7.fhir.dstu2.model.BaseResource
org.hl7.fhir.dstu2.model.Resource
org.hl7.fhir.dstu2.model.DomainResource
org.hl7.fhir.dstu2.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
Risk of harmful or undesirable, physiological response which is unique to an
individual and associated with exposure to a substance.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
static enum
static class
static enum
static class
static class
static enum
static class
static enum
static class
static enum
static class
-
Field Summary
Modifier and TypeFieldDescriptionCategory of the identified Substance.Estimate of the potential clinical harm, or seriousness, of the reaction to the identified Substance.protected List
<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.protected DateTimeType
Represents the date and/or time of the last known occurrence of a reaction event.protected Annotation
Additional narrative about the propensity for the Adverse Reaction, not captured in other fields.protected DateTimeType
Record of the date and/or time of the onset of the Allergy or Intolerance.protected Reference
The patient who has the allergy or intolerance.protected Patient
The actual object that is the target of the reference (The patient who has the allergy or intolerance.)Details about each adverse reaction event linked to exposure to the identified Substance.protected DateTimeType
Date when the sensitivity was recorded.protected Reference
Individual who recorded the record and takes responsibility for its conten.protected Resource
The actual object that is the target of the reference (Individual who recorded the record and takes responsibility for its conten.)protected Reference
The source of the information about the allergy that is recorded.protected Resource
The actual object that is the target of the reference (The source of the information about the allergy that is recorded.)static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Assertion about certainty associated with the propensity, or potential risk, of a reaction to the identified Substance.protected CodeableConcept
Identification of a substance, or a class of substances, that is considered to be responsible for the adverse reaction risk.Identification of the underlying physiological mechanism for the reaction risk.Fields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, text
Fields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, meta
Fields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAG
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
equalsDeep
(Base other) boolean
equalsShallow
(Base other) fhirType()
getNote()
getOnset()
getType()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasNote()
boolean
hasOnset()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasType()
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> childrenList) setLastOccurence
(Date value) setNote
(Annotation value) setOnsetElement
(DateTimeType value) setPatient
(Reference value) setPatientTarget
(Patient value) void
setProperty
(String name, Base value) setRecordedDate
(Date value) setRecorder
(Reference value) setRecorderTarget
(Resource value) setReporter
(Reference value) setReporterTarget
(Resource value) setSubstance
(CodeableConcept value) protected AllergyIntolerance
Methods inherited from class org.hl7.fhir.dstu2.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionByUrl, getModifierExtension, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setText
Methods inherited from class org.hl7.fhir.dstu2.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.dstu2.model.BaseResource
getStructureFhirVersionEnum, setId
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, 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
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatComment
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
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). -
onset
Record of the date and/or time of the onset of the Allergy or Intolerance. -
recordedDate
Date when the sensitivity was recorded. -
recorder
Individual who recorded the record and takes responsibility for its conten. -
recorderTarget
The actual object that is the target of the reference (Individual who recorded the record and takes responsibility for its conten.) -
patient
The patient who has the allergy or intolerance. -
patientTarget
The actual object that is the target of the reference (The patient who has the allergy or intolerance.) -
reporter
The source of the information about the allergy that is recorded. -
reporterTarget
The actual object that is the target of the reference (The source of the information about the allergy that is recorded.) -
substance
Identification of a substance, or a class of substances, that is considered to be responsible for the adverse reaction risk. -
status
Assertion about certainty associated with the propensity, or potential risk, of a reaction to the identified Substance. -
criticality
Estimate of the potential clinical harm, or seriousness, of the reaction to the identified Substance. -
type
Identification of the underlying physiological mechanism for the reaction risk. -
category
Category of the identified Substance. -
lastOccurence
Represents the date and/or time of the last known occurrence of a reaction event. -
note
Additional narrative about the propensity for the Adverse Reaction, not captured in other fields. -
reaction
Details about each adverse reaction event linked to exposure to the identified Substance. -
SP_SEVERITY
- See Also:
-
SP_DATE
- See Also:
-
SP_IDENTIFIER
- See Also:
-
SP_MANIFESTATION
- See Also:
-
SP_RECORDER
- See Also:
-
SP_SUBSTANCE
- See Also:
-
SP_CRITICALITY
- See Also:
-
SP_REPORTER
- See Also:
-
SP_TYPE
- See Also:
-
SP_ONSET
- See Also:
-
SP_ROUTE
- See Also:
-
SP_PATIENT
- See Also:
-
SP_CATEGORY
- See Also:
-
SP_LASTDATE
- See Also:
-
SP_STATUS
- See Also:
-
-
Constructor Details
-
AllergyIntolerance
public AllergyIntolerance() -
AllergyIntolerance
-
-
Method Details
-
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
-
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
-
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
-
hasOnset
-
setOnsetElement
- 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
- Returns:
- Record of the date and/or time of the onset of the Allergy or Intolerance.
-
setOnset
- Parameters:
value
- Record of the date and/or time of the onset of the Allergy or Intolerance.
-
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
-
hasRecordedDate
-
setRecordedDateElement
- 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
- Returns:
- Date when the sensitivity was recorded.
-
setRecordedDate
- Parameters:
value
- Date when the sensitivity was recorded.
-
getRecorder
- Returns:
recorder
(Individual who recorded the record and takes responsibility for its conten.)
-
hasRecorder
-
setRecorder
- Parameters:
value
-recorder
(Individual who recorded the record and takes responsibility for its conten.)
-
getRecorderTarget
- Returns:
recorder
The 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 conten.)
-
setRecorderTarget
- Parameters:
value
-recorder
The 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 conten.)
-
getPatient
- Returns:
patient
(The patient who has the allergy or intolerance.)
-
hasPatient
-
setPatient
- Parameters:
value
-patient
(The patient who has the allergy or intolerance.)
-
getPatientTarget
- Returns:
patient
The 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
- Parameters:
value
-patient
The 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.)
-
getReporter
- Returns:
reporter
(The source of the information about the allergy that is recorded.)
-
hasReporter
-
setReporter
- Parameters:
value
-reporter
(The source of the information about the allergy that is recorded.)
-
getReporterTarget
- Returns:
reporter
The 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
- Parameters:
value
-reporter
The 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.)
-
getSubstance
- Returns:
substance
(Identification of a substance, or a class of substances, that is considered to be responsible for the adverse reaction risk.)
-
hasSubstance
-
setSubstance
- Parameters:
value
-substance
(Identification of a substance, or a class of substances, that is considered to be responsible for the adverse reaction risk.)
-
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
-
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
- Returns:
- Assertion about certainty associated with the propensity, or potential risk, of a reaction to the identified Substance.
-
setStatus
- Parameters:
value
- Assertion about certainty associated with the propensity, or potential risk, of a reaction to the identified Substance.
-
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
-
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
- Returns:
- Estimate of the potential clinical harm, or seriousness, of the reaction to the identified Substance.
-
setCriticality
- Parameters:
value
- Estimate of the potential clinical harm, or seriousness, of the reaction to the identified Substance.
-
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
-
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
- Returns:
- Identification of the underlying physiological mechanism for the reaction risk.
-
setType
- Parameters:
value
- Identification of the underlying physiological mechanism for the reaction risk.
-
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
-
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
- Returns:
- Category of the identified Substance.
-
setCategory
- Parameters:
value
- Category of the identified Substance.
-
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
-
hasLastOccurence
-
setLastOccurenceElement
- 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
- Returns:
- Represents the date and/or time of the last known occurrence of a reaction event.
-
setLastOccurence
- Parameters:
value
- Represents the date and/or time of the last known occurrence of a reaction event.
-
getNote
- Returns:
note
(Additional narrative about the propensity for the Adverse Reaction, not captured in other fields.)
-
hasNote
-
setNote
- Parameters:
value
-note
(Additional narrative about the propensity for the Adverse Reaction, not captured in other fields.)
-
getReaction
- Returns:
reaction
(Details about each adverse reaction event linked to exposure to the identified Substance.)
-
hasReaction
-
addReaction
- Returns:
reaction
(Details about each adverse reaction event linked to exposure to the identified Substance.)
-
addReaction
-
listChildren
- Overrides:
listChildren
in classDomainResource
-
setProperty
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
- Specified by:
copy
in classDomainResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
- Specified by:
getResourceType
in classResource
-