Package org.hl7.fhir.dstu2.model
Class Condition
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.Condition
- 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
Use to record detailed information about conditions, problems or diagnoses
recognized by a clinician. There are many uses including: recording a
diagnosis during an encounter; populating a problem list or a summary
statement, such as a discharge summary.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static enum
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected Type
The date or estimated date that the condition resolved or went into remission.protected Reference
Individual who is making the condition statement.protected Resource
The actual object that is the target of the reference (Individual who is making the condition statement.)protected List
<CodeableConcept> The anatomical location where this condition manifests itself.protected CodeableConcept
A category assigned to the condition.protected CodeType
The clinical status of the condition.protected CodeableConcept
Identification of the condition, problem or diagnosis.protected DateType
A date, when the Condition statement was documented.protected Reference
Encounter during which the condition was first asserted.protected Encounter
The actual object that is the target of the reference (Encounter during which the condition was first asserted.)protected List
<Condition.ConditionEvidenceComponent> Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed.protected List
<Identifier> This records identifiers associated with this condition 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 StringType
Additional information about the Condition.protected Type
Estimated or actual date or date-time the condition began, in the opinion of the clinician.protected Reference
Indicates the patient who the condition record is associated with.protected Patient
The actual object that is the target of the reference (Indicates the patient who the condition record is associated with.)protected CodeableConcept
A subjective assessment of the severity of the condition as evaluated by the clinician.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
protected Condition.ConditionStageComponent
Clinical stage or grade of a condition.protected Enumeration
<Condition.ConditionVerificationStatus> The verification status to support the clinical status of the condition.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
ConstructorDescriptionCondition
(Reference patient, CodeableConcept code, Enumeration<Condition.ConditionVerificationStatus> verificationStatus) -
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
equalsDeep
(Base other) boolean
equalsShallow
(Base other) fhirType()
getCode()
getNotes()
getOnset()
getStage()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasCode()
boolean
boolean
boolean
boolean
boolean
boolean
hasNotes()
boolean
boolean
hasOnset()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasStage()
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> childrenList) setAbatement
(Type value) setAsserter
(Reference value) setAsserterTarget
(Resource value) setCategory
(CodeableConcept value) setClinicalStatus
(String value) setClinicalStatusElement
(CodeType value) setCode
(CodeableConcept value) setDateRecorded
(Date value) setDateRecordedElement
(DateType value) setEncounter
(Reference value) setEncounterTarget
(Encounter value) setNotesElement
(StringType value) setPatient
(Reference value) setPatientTarget
(Patient value) void
setProperty
(String name, Base value) setSeverity
(CodeableConcept value) protected Condition
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 condition 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). -
patient
Indicates the patient who the condition record is associated with. -
patientTarget
The actual object that is the target of the reference (Indicates the patient who the condition record is associated with.) -
encounter
Encounter during which the condition was first asserted. -
encounterTarget
The actual object that is the target of the reference (Encounter during which the condition was first asserted.) -
asserter
Individual who is making the condition statement. -
asserterTarget
The actual object that is the target of the reference (Individual who is making the condition statement.) -
dateRecorded
A date, when the Condition statement was documented. -
code
Identification of the condition, problem or diagnosis. -
category
A category assigned to the condition. -
clinicalStatus
The clinical status of the condition. -
verificationStatus
The verification status to support the clinical status of the condition. -
severity
A subjective assessment of the severity of the condition as evaluated by the clinician. -
onset
Estimated or actual date or date-time the condition began, in the opinion of the clinician. -
abatement
The date or estimated date that the condition resolved or went into remission. This is called "abatement" because of the many overloaded connotations associated with "remission" or "resolution" - Conditions are never really resolved, but they can abate. -
stage
Clinical stage or grade of a condition. May include formal severity assessments. -
evidence
Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed. -
bodySite
The anatomical location where this condition manifests itself. -
notes
Additional information about the Condition. This is a general notes/comments entry for description of the Condition, its diagnosis and prognosis. -
SP_SEVERITY
- See Also:
-
SP_IDENTIFIER
- See Also:
-
SP_CLINICALSTATUS
- See Also:
-
SP_ONSETINFO
- See Also:
-
SP_CODE
- See Also:
-
SP_EVIDENCE
- See Also:
-
SP_ENCOUNTER
- See Also:
-
SP_ONSET
- See Also:
-
SP_ASSERTER
- See Also:
-
SP_DATERECORDED
- See Also:
-
SP_STAGE
- See Also:
-
SP_PATIENT
- See Also:
-
SP_CATEGORY
- See Also:
-
SP_BODYSITE
- See Also:
-
-
Constructor Details
-
Condition
public Condition() -
Condition
public Condition(Reference patient, CodeableConcept code, Enumeration<Condition.ConditionVerificationStatus> verificationStatus)
-
-
Method Details
-
getIdentifier
- Returns:
identifier
(This records identifiers associated with this condition 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 condition 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
-
getPatient
- Returns:
patient
(Indicates the patient who the condition record is associated with.)
-
hasPatient
-
setPatient
- Parameters:
value
-patient
(Indicates the patient who the condition record is associated with.)
-
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. (Indicates the patient who the condition record is associated with.)
-
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. (Indicates the patient who the condition record is associated with.)
-
getEncounter
- Returns:
encounter
(Encounter during which the condition was first asserted.)
-
hasEncounter
-
setEncounter
- Parameters:
value
-encounter
(Encounter during which the condition was first asserted.)
-
getEncounterTarget
- Returns:
encounter
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. (Encounter during which the condition was first asserted.)
-
setEncounterTarget
- Parameters:
value
-encounter
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. (Encounter during which the condition was first asserted.)
-
getAsserter
- Returns:
asserter
(Individual who is making the condition statement.)
-
hasAsserter
-
setAsserter
- Parameters:
value
-asserter
(Individual who is making the condition statement.)
-
getAsserterTarget
- Returns:
asserter
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 is making the condition statement.)
-
setAsserterTarget
- Parameters:
value
-asserter
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 is making the condition statement.)
-
getDateRecordedElement
- Returns:
dateRecorded
(A date, when the Condition statement was documented.). This is the underlying object with id, value and extensions. The accessor "getDateRecorded" gives direct access to the value
-
hasDateRecordedElement
-
hasDateRecorded
-
setDateRecordedElement
- Parameters:
value
-dateRecorded
(A date, when the Condition statement was documented.). This is the underlying object with id, value and extensions. The accessor "getDateRecorded" gives direct access to the value
-
getDateRecorded
- Returns:
- A date, when the Condition statement was documented.
-
setDateRecorded
- Parameters:
value
- A date, when the Condition statement was documented.
-
getCode
- Returns:
code
(Identification of the condition, problem or diagnosis.)
-
hasCode
-
setCode
- Parameters:
value
-code
(Identification of the condition, problem or diagnosis.)
-
getCategory
- Returns:
category
(A category assigned to the condition.)
-
hasCategory
-
setCategory
- Parameters:
value
-category
(A category assigned to the condition.)
-
getClinicalStatusElement
- Returns:
clinicalStatus
(The clinical status of the condition.). This is the underlying object with id, value and extensions. The accessor "getClinicalStatus" gives direct access to the value
-
hasClinicalStatusElement
-
hasClinicalStatus
-
setClinicalStatusElement
- Parameters:
value
-clinicalStatus
(The clinical status of the condition.). This is the underlying object with id, value and extensions. The accessor "getClinicalStatus" gives direct access to the value
-
getClinicalStatus
- Returns:
- The clinical status of the condition.
-
setClinicalStatus
- Parameters:
value
- The clinical status of the condition.
-
getVerificationStatusElement
- Returns:
verificationStatus
(The verification status to support the clinical status of the condition.). This is the underlying object with id, value and extensions. The accessor "getVerificationStatus" gives direct access to the value
-
hasVerificationStatusElement
-
hasVerificationStatus
-
setVerificationStatusElement
public Condition setVerificationStatusElement(Enumeration<Condition.ConditionVerificationStatus> value) - Parameters:
value
-verificationStatus
(The verification status to support the clinical status of the condition.). This is the underlying object with id, value and extensions. The accessor "getVerificationStatus" gives direct access to the value
-
getVerificationStatus
- Returns:
- The verification status to support the clinical status of the condition.
-
setVerificationStatus
- Parameters:
value
- The verification status to support the clinical status of the condition.
-
getSeverity
- Returns:
severity
(A subjective assessment of the severity of the condition as evaluated by the clinician.)
-
hasSeverity
-
setSeverity
- Parameters:
value
-severity
(A subjective assessment of the severity of the condition as evaluated by the clinician.)
-
getOnset
- Returns:
onset
(Estimated or actual date or date-time the condition began, in the opinion of the clinician.)
-
getOnsetDateTimeType
- Returns:
onset
(Estimated or actual date or date-time the condition began, in the opinion of the clinician.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasOnsetDateTimeType
-
getOnsetAge
- Returns:
onset
(Estimated or actual date or date-time the condition began, in the opinion of the clinician.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasOnsetAge
-
getOnsetPeriod
- Returns:
onset
(Estimated or actual date or date-time the condition began, in the opinion of the clinician.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasOnsetPeriod
-
getOnsetRange
- Returns:
onset
(Estimated or actual date or date-time the condition began, in the opinion of the clinician.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasOnsetRange
-
getOnsetStringType
- Returns:
onset
(Estimated or actual date or date-time the condition began, in the opinion of the clinician.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasOnsetStringType
-
hasOnset
-
setOnset
- Parameters:
value
-onset
(Estimated or actual date or date-time the condition began, in the opinion of the clinician.)
-
getAbatement
- Returns:
abatement
(The date or estimated date that the condition resolved or went into remission. This is called "abatement" because of the many overloaded connotations associated with "remission" or "resolution" - Conditions are never really resolved, but they can abate.)
-
getAbatementDateTimeType
- Returns:
abatement
(The date or estimated date that the condition resolved or went into remission. This is called "abatement" because of the many overloaded connotations associated with "remission" or "resolution" - Conditions are never really resolved, but they can abate.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasAbatementDateTimeType
-
getAbatementAge
- Returns:
abatement
(The date or estimated date that the condition resolved or went into remission. This is called "abatement" because of the many overloaded connotations associated with "remission" or "resolution" - Conditions are never really resolved, but they can abate.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasAbatementAge
-
getAbatementBooleanType
- Returns:
abatement
(The date or estimated date that the condition resolved or went into remission. This is called "abatement" because of the many overloaded connotations associated with "remission" or "resolution" - Conditions are never really resolved, but they can abate.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasAbatementBooleanType
-
getAbatementPeriod
- Returns:
abatement
(The date or estimated date that the condition resolved or went into remission. This is called "abatement" because of the many overloaded connotations associated with "remission" or "resolution" - Conditions are never really resolved, but they can abate.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasAbatementPeriod
-
getAbatementRange
- Returns:
abatement
(The date or estimated date that the condition resolved or went into remission. This is called "abatement" because of the many overloaded connotations associated with "remission" or "resolution" - Conditions are never really resolved, but they can abate.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasAbatementRange
-
getAbatementStringType
- Returns:
abatement
(The date or estimated date that the condition resolved or went into remission. This is called "abatement" because of the many overloaded connotations associated with "remission" or "resolution" - Conditions are never really resolved, but they can abate.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasAbatementStringType
-
hasAbatement
-
setAbatement
- Parameters:
value
-abatement
(The date or estimated date that the condition resolved or went into remission. This is called "abatement" because of the many overloaded connotations associated with "remission" or "resolution" - Conditions are never really resolved, but they can abate.)
-
getStage
- Returns:
stage
(Clinical stage or grade of a condition. May include formal severity assessments.)
-
hasStage
-
setStage
- Parameters:
value
-stage
(Clinical stage or grade of a condition. May include formal severity assessments.)
-
getEvidence
- Returns:
evidence
(Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed.)
-
hasEvidence
-
addEvidence
- Returns:
evidence
(Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed.)
-
addEvidence
-
getBodySite
- Returns:
bodySite
(The anatomical location where this condition manifests itself.)
-
hasBodySite
-
addBodySite
- Returns:
bodySite
(The anatomical location where this condition manifests itself.)
-
addBodySite
-
getNotesElement
- Returns:
notes
(Additional information about the Condition. This is a general notes/comments entry for description of the Condition, its diagnosis and prognosis.). This is the underlying object with id, value and extensions. The accessor "getNotes" gives direct access to the value
-
hasNotesElement
-
hasNotes
-
setNotesElement
- Parameters:
value
-notes
(Additional information about the Condition. This is a general notes/comments entry for description of the Condition, its diagnosis and prognosis.). This is the underlying object with id, value and extensions. The accessor "getNotes" gives direct access to the value
-
getNotes
- Returns:
- Additional information about the Condition. This is a general notes/comments entry for description of the Condition, its diagnosis and prognosis.
-
setNotes
- Parameters:
value
- Additional information about the Condition. This is a general notes/comments entry for description of the Condition, its diagnosis and prognosis.
-
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
-