Class Condition
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IResource
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseResource
Definition: 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.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/Condition
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Block class for child element: Condition.evidence ()static class
Block class for child element: Condition.stage () -
Field Summary
Modifier and TypeFieldDescriptionstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for asserterstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for body-sitestatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for categorystatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for clinicalstatusstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for codestatic final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for date-recordedstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for encounterstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for evidencestatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for identifierstatic final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for onsetstatic final ca.uhn.fhir.rest.gclient.StringClientParam
Fluent Client search parameter constant for onset-infostatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for patientstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for severitystatic final String
Search parameter constant for asserterstatic final String
Search parameter constant for body-sitestatic final String
Search parameter constant for categorystatic final String
Search parameter constant for clinicalstatusstatic final String
Search parameter constant for codestatic final String
Search parameter constant for date-recordedstatic final String
Search parameter constant for encounterstatic final String
Search parameter constant for evidencestatic final String
Search parameter constant for identifierstatic final String
Search parameter constant for onsetstatic final String
Search parameter constant for onset-infostatic final String
Search parameter constant for patientstatic final String
Search parameter constant for severitystatic final String
Search parameter constant for stagestatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for stageFields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for bodySite ()addBodySite
(CodeableConceptDt theValue) Adds a given new value for bodySite ()Adds and returns a new value for evidence ()addEvidence
(Condition.Evidence theValue) Adds a given new value for evidence ()Adds and returns a new value for identifier ()addIdentifier
(IdentifierDt theValue) Adds a given new value for identifier ()ca.uhn.fhir.model.api.IDatatype
Gets the value(s) for abatement[x] ().<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for asserter ().Gets the value(s) for bodySite ().Gets the first repetition for bodySite (), creating it if it does not already exist.Gets the value(s) for category ().Gets the value(s) for clinicalStatus ().ca.uhn.fhir.model.primitive.BoundCodeDt
<ConditionClinicalStatusCodesEnum> Gets the value(s) for clinicalStatus ().getCode()
Gets the value(s) for code ().Gets the value(s) for dateRecorded ().ca.uhn.fhir.model.primitive.DateDt
Gets the value(s) for dateRecorded ().Gets the value(s) for encounter ().Gets the value(s) for evidence ().Gets the first repetition for evidence (), creating it if it does not already exist.Gets the value(s) for identifier ().Gets the first repetition for identifier (), creating it if it does not already exist.getNotes()
Gets the value(s) for notes ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for notes ().ca.uhn.fhir.model.api.IDatatype
getOnset()
Gets the value(s) for onset[x] ().Gets the value(s) for patient ().Gets the value(s) for severity ().getStage()
Gets the value(s) for stage ().ca.uhn.fhir.context.FhirVersionEnum
Gets the value(s) for verificationStatus ().ca.uhn.fhir.model.primitive.BoundCodeDt
<ConditionVerificationStatusEnum> Gets the value(s) for verificationStatus ().boolean
isEmpty()
setAbatement
(ca.uhn.fhir.model.api.IDatatype theValue) Sets the value(s) for abatement[x] ()setAsserter
(ResourceReferenceDt theValue) Sets the value(s) for asserter ()setBodySite
(List<CodeableConceptDt> theValue) Sets the value(s) for bodySite ()Sets the value(s) for category ()setCategory
(ConditionCategoryCodesEnum theValue) Sets the value(s) for category ()Sets the value(s) for clinicalStatus ()setClinicalStatus
(ca.uhn.fhir.model.primitive.BoundCodeDt<ConditionClinicalStatusCodesEnum> theValue) Sets the value(s) for clinicalStatus ()setCode
(CodeableConceptDt theValue) Sets the value(s) for code ()setDateRecorded
(ca.uhn.fhir.model.primitive.DateDt theValue) Sets the value(s) for dateRecorded ()setDateRecorded
(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for dateRecorded ()setDateRecordedWithDayPrecision
(Date theDate) Sets the value for dateRecorded ()setEncounter
(ResourceReferenceDt theValue) Sets the value(s) for encounter ()setEvidence
(List<Condition.Evidence> theValue) Sets the value(s) for evidence ()setIdentifier
(List<IdentifierDt> theValue) Sets the value(s) for identifier ()setNotes
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for notes ()Sets the value for notes ()setOnset
(ca.uhn.fhir.model.api.IDatatype theValue) Sets the value(s) for onset[x] ()setPatient
(ResourceReferenceDt theValue) Sets the value(s) for patient ()setSeverity
(CodeableConceptDt theValue) Sets the value(s) for severity ()setStage
(Condition.Stage theValue) Sets the value(s) for stage ()Sets the value(s) for verificationStatus ()setVerificationStatus
(ca.uhn.fhir.model.primitive.BoundCodeDt<ConditionVerificationStatusEnum> theValue) Sets the value(s) for verificationStatus ()Methods inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toString
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getIdElement, isDeleted, setId, setId
Methods inherited from interface ca.uhn.fhir.model.api.IResource
getContained, getId, getLanguage, getMeta, getResourceMetadata, getText, setId, setLanguage, setResourceMetadata
-
Field Details
-
SP_CODE
Search parameter constant for codeDescription: Code for the condition
Type: token
Path: Condition.code
- See Also:
-
CODE
Fluent Client search parameter constant for codeDescription: Code for the condition
Type: token
Path: Condition.code
-
SP_IDENTIFIER
Search parameter constant for identifierDescription: A unique identifier of the condition record
Type: token
Path: Condition.identifier
- See Also:
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription: A unique identifier of the condition record
Type: token
Path: Condition.identifier
-
SP_CLINICALSTATUS
Search parameter constant for clinicalstatusDescription: The clinical status of the condition
Type: token
Path: Condition.clinicalStatus
- See Also:
-
CLINICALSTATUS
Fluent Client search parameter constant for clinicalstatusDescription: The clinical status of the condition
Type: token
Path: Condition.clinicalStatus
-
SP_SEVERITY
Search parameter constant for severityDescription: The severity of the condition
Type: token
Path: Condition.severity
- See Also:
-
SEVERITY
Fluent Client search parameter constant for severityDescription: The severity of the condition
Type: token
Path: Condition.severity
-
SP_CATEGORY
Search parameter constant for categoryDescription: The category of the condition
Type: token
Path: Condition.category
- See Also:
-
CATEGORY
Fluent Client search parameter constant for categoryDescription: The category of the condition
Type: token
Path: Condition.category
-
SP_ONSET
Search parameter constant for onsetDescription: Date related onsets (dateTime and Period)
Type: date
Path: Condition.onset[x]
- See Also:
-
ONSET
Fluent Client search parameter constant for onsetDescription: Date related onsets (dateTime and Period)
Type: date
Path: Condition.onset[x]
-
SP_ONSET_INFO
Search parameter constant for onset-infoDescription: Other onsets (boolean, age, range, string)
Type: string
Path: Condition.onset[x]
- See Also:
-
ONSET_INFO
Fluent Client search parameter constant for onset-infoDescription: Other onsets (boolean, age, range, string)
Type: string
Path: Condition.onset[x]
-
SP_ENCOUNTER
Search parameter constant for encounterDescription:
Type: reference
Path: Condition.encounter
- See Also:
-
ENCOUNTER
Fluent Client search parameter constant for encounterDescription:
Type: reference
Path: Condition.encounter
-
SP_ASSERTER
Search parameter constant for asserterDescription:
Type: reference
Path: Condition.asserter
- See Also:
-
ASSERTER
Fluent Client search parameter constant for asserterDescription:
Type: reference
Path: Condition.asserter
-
SP_DATE_RECORDED
Search parameter constant for date-recordedDescription: A date, when the Condition statement was documented
Type: date
Path: Condition.dateRecorded
- See Also:
-
DATE_RECORDED
Fluent Client search parameter constant for date-recordedDescription: A date, when the Condition statement was documented
Type: date
Path: Condition.dateRecorded
-
SP_EVIDENCE
Search parameter constant for evidenceDescription:
Type: token
Path: Condition.evidence.code
- See Also:
-
EVIDENCE
Fluent Client search parameter constant for evidenceDescription:
Type: token
Path: Condition.evidence.code
-
SP_BODY_SITE
Search parameter constant for body-siteDescription:
Type: token
Path: Condition.bodySite
- See Also:
-
BODY_SITE
Fluent Client search parameter constant for body-siteDescription:
Type: token
Path: Condition.bodySite
-
SP_STAGE
Search parameter constant for stageDescription:
Type: token
Path: Condition.stage.summary
- See Also:
-
STAGE
Fluent Client search parameter constant for stageDescription:
Type: token
Path: Condition.stage.summary
-
SP_PATIENT
Search parameter constant for patientDescription:
Type: reference
Path: Condition.patient
- See Also:
-
PATIENT
Fluent Client search parameter constant for patientDescription:
Type: reference
Path: Condition.patient
-
INCLUDE_ASSERTER
Constant for fluent queries to be used to add include statements. Specifies the path value of "Condition:asserter". -
INCLUDE_ENCOUNTER
Constant for fluent queries to be used to add include statements. Specifies the path value of "Condition:encounter". -
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Condition:patient".
-
-
Constructor Details
-
Condition
public Condition()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) - Specified by:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getIdentifier
Gets the value(s) for identifier (). creating it if it does not exist. Will not returnnull
.Definition: 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)
-
setIdentifier
Sets the value(s) for identifier ()Definition: 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
Adds and returns a new value for identifier ()Definition: 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
Adds a given new value for identifier ()Definition: 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)
- Parameters:
theValue
- The identifier to add (must not benull
)
-
getIdentifierFirstRep
Gets the first repetition for identifier (), creating it if it does not already exist.Definition: 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)
-
getPatient
Gets the value(s) for patient (). creating it if it does not exist. Will not returnnull
.Definition: Indicates the patient who the condition record is associated with
-
setPatient
Sets the value(s) for patient ()Definition: Indicates the patient who the condition record is associated with
-
getEncounter
Gets the value(s) for encounter (). creating it if it does not exist. Will not returnnull
.Definition: Encounter during which the condition was first asserted
-
setEncounter
Sets the value(s) for encounter ()Definition: Encounter during which the condition was first asserted
-
getAsserter
Gets the value(s) for asserter (). creating it if it does not exist. Will not returnnull
.Definition: Individual who is making the condition statement
-
setAsserter
Sets the value(s) for asserter ()Definition: Individual who is making the condition statement
-
getDateRecordedElement
Gets the value(s) for dateRecorded (). creating it if it does not exist. Will not returnnull
.Definition: A date, when the Condition statement was documented
-
getDateRecorded
Gets the value(s) for dateRecorded (). creating it if it does not exist. This method may returnnull
.Definition: A date, when the Condition statement was documented
-
setDateRecorded
Sets the value(s) for dateRecorded ()Definition: A date, when the Condition statement was documented
-
setDateRecordedWithDayPrecision
Sets the value for dateRecorded ()Definition: A date, when the Condition statement was documented
-
setDateRecorded
public Condition setDateRecorded(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for dateRecorded ()Definition: A date, when the Condition statement was documented
-
getCode
Gets the value(s) for code (). creating it if it does not exist. Will not returnnull
.Definition: Identification of the condition, problem or diagnosis.
-
setCode
Sets the value(s) for code ()Definition: Identification of the condition, problem or diagnosis.
-
getCategory
Gets the value(s) for category (). creating it if it does not exist. Will not returnnull
.Definition: A category assigned to the condition.
-
setCategory
Sets the value(s) for category ()Definition: A category assigned to the condition.
-
setCategory
Sets the value(s) for category ()Definition: A category assigned to the condition.
-
getClinicalStatusElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<ConditionClinicalStatusCodesEnum> getClinicalStatusElement()Gets the value(s) for clinicalStatus (). creating it if it does not exist. Will not returnnull
.Definition: The clinical status of the condition.
-
getClinicalStatus
Gets the value(s) for clinicalStatus (). creating it if it does not exist. This method may returnnull
.Definition: The clinical status of the condition.
-
setClinicalStatus
public Condition setClinicalStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<ConditionClinicalStatusCodesEnum> theValue) Sets the value(s) for clinicalStatus ()Definition: The clinical status of the condition.
-
setClinicalStatus
Sets the value(s) for clinicalStatus ()Definition: The clinical status of the condition.
-
getVerificationStatusElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<ConditionVerificationStatusEnum> getVerificationStatusElement()Gets the value(s) for verificationStatus (). creating it if it does not exist. Will not returnnull
.Definition: The verification status to support the clinical status of the condition.
-
getVerificationStatus
Gets the value(s) for verificationStatus (). creating it if it does not exist. This method may returnnull
.Definition: The verification status to support the clinical status of the condition.
-
setVerificationStatus
public Condition setVerificationStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<ConditionVerificationStatusEnum> theValue) Sets the value(s) for verificationStatus ()Definition: The verification status to support the clinical status of the condition.
-
setVerificationStatus
Sets the value(s) for verificationStatus ()Definition: The verification status to support the clinical status of the condition.
-
getSeverity
Gets the value(s) for severity (). creating it if it does not exist. Will not returnnull
.Definition: A subjective assessment of the severity of the condition as evaluated by the clinician.
-
setSeverity
Sets the value(s) for severity ()Definition: A subjective assessment of the severity of the condition as evaluated by the clinician.
-
getOnset
Gets the value(s) for onset[x] (). creating it if it does not exist. Will not returnnull
.Definition: Estimated or actual date or date-time the condition began, in the opinion of the clinician
-
setOnset
Sets the value(s) for onset[x] ()Definition: Estimated or actual date or date-time the condition began, in the opinion of the clinician
-
getAbatement
Gets the value(s) for abatement[x] (). creating it if it does not exist. Will not returnnull
.Definition: 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.
-
setAbatement
Sets the value(s) for abatement[x] ()Definition: 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
Gets the value(s) for stage (). creating it if it does not exist. Will not returnnull
.Definition: Clinical stage or grade of a condition. May include formal severity assessments
-
setStage
Sets the value(s) for stage ()Definition: Clinical stage or grade of a condition. May include formal severity assessments
-
getEvidence
Gets the value(s) for evidence (). creating it if it does not exist. Will not returnnull
.Definition: Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed
-
setEvidence
Sets the value(s) for evidence ()Definition: Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed
-
addEvidence
Adds and returns a new value for evidence ()Definition: Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed
-
addEvidence
Adds a given new value for evidence ()Definition: Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed
- Parameters:
theValue
- The evidence to add (must not benull
)
-
getEvidenceFirstRep
Gets the first repetition for evidence (), creating it if it does not already exist.Definition: Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed
-
getBodySite
Gets the value(s) for bodySite (). creating it if it does not exist. Will not returnnull
.Definition: The anatomical location where this condition manifests itself
-
setBodySite
Sets the value(s) for bodySite ()Definition: The anatomical location where this condition manifests itself
-
addBodySite
Adds and returns a new value for bodySite ()Definition: The anatomical location where this condition manifests itself
-
addBodySite
Adds a given new value for bodySite ()Definition: The anatomical location where this condition manifests itself
- Parameters:
theValue
- The bodySite to add (must not benull
)
-
getBodySiteFirstRep
Gets the first repetition for bodySite (), creating it if it does not already exist.Definition: The anatomical location where this condition manifests itself
-
getNotesElement
Gets the value(s) for notes (). creating it if it does not exist. Will not returnnull
.Definition: Additional information about the Condition. This is a general notes/comments entry for description of the Condition, its diagnosis and prognosis
-
getNotes
Gets the value(s) for notes (). creating it if it does not exist. This method may returnnull
.Definition: Additional information about the Condition. This is a general notes/comments entry for description of the Condition, its diagnosis and prognosis
-
setNotes
Sets the value(s) for notes ()Definition: Additional information about the Condition. This is a general notes/comments entry for description of the Condition, its diagnosis and prognosis
-
setNotes
Sets the value for notes ()Definition: Additional information about the Condition. This is a general notes/comments entry for description of the Condition, its diagnosis and prognosis
-
getResourceName
- Specified by:
getResourceName
in interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
- Specified by:
getStructureFhirVersionEnum
in interfaceorg.hl7.fhir.instance.model.api.IBaseResource
- Specified by:
getStructureFhirVersionEnum
in interfaceca.uhn.fhir.model.api.IResource
-