public class Condition extends BaseResource implements IResource
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
Modifier and Type | Class and Description |
---|---|
static class |
Condition.Evidence
Block class for child element: Condition.evidence ()
|
static class |
Condition.Stage
Block class for child element: Condition.stage ()
|
Modifier and Type | Field and Description |
---|---|
static ReferenceClientParam |
ASSERTER
Fluent Client search parameter constant for asserter
|
static TokenClientParam |
BODY_SITE
Fluent Client search parameter constant for body-site
|
static TokenClientParam |
CATEGORY
Fluent Client search parameter constant for category
|
static TokenClientParam |
CLINICALSTATUS
Fluent Client search parameter constant for clinicalstatus
|
static TokenClientParam |
CODE
Fluent Client search parameter constant for code
|
static DateClientParam |
DATE_RECORDED
Fluent Client search parameter constant for date-recorded
|
static ReferenceClientParam |
ENCOUNTER
Fluent Client search parameter constant for encounter
|
static TokenClientParam |
EVIDENCE
Fluent Client search parameter constant for evidence
|
static TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static Include |
INCLUDE_ASSERTER
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_ENCOUNTER
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static DateClientParam |
ONSET
Fluent Client search parameter constant for onset
|
static StringClientParam |
ONSET_INFO
Fluent Client search parameter constant for onset-info
|
static ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
static TokenClientParam |
SEVERITY
Fluent Client search parameter constant for severity
|
static String |
SP_ASSERTER
Search parameter constant for asserter
|
static String |
SP_BODY_SITE
Search parameter constant for body-site
|
static String |
SP_CATEGORY
Search parameter constant for category
|
static String |
SP_CLINICALSTATUS
Search parameter constant for clinicalstatus
|
static String |
SP_CODE
Search parameter constant for code
|
static String |
SP_DATE_RECORDED
Search parameter constant for date-recorded
|
static String |
SP_ENCOUNTER
Search parameter constant for encounter
|
static String |
SP_EVIDENCE
Search parameter constant for evidence
|
static String |
SP_IDENTIFIER
Search parameter constant for identifier
|
static String |
SP_ONSET
Search parameter constant for onset
|
static String |
SP_ONSET_INFO
Search parameter constant for onset-info
|
static String |
SP_PATIENT
Search parameter constant for patient
|
static String |
SP_SEVERITY
Search parameter constant for severity
|
static String |
SP_STAGE
Search parameter constant for stage
|
static TokenClientParam |
STAGE
Fluent Client search parameter constant for stage
|
RES_ID, SP_RES_ID, SP_RES_LANGUAGE
INCLUDE_ALL, WILDCARD_ALL_SET
Constructor and Description |
---|
Condition() |
Modifier and Type | Method and Description |
---|---|
CodeableConceptDt |
addBodySite()
Adds and returns a new value for bodySite ()
|
Condition |
addBodySite(CodeableConceptDt theValue)
Adds a given new value for bodySite ()
|
Condition.Evidence |
addEvidence()
Adds and returns a new value for evidence ()
|
Condition |
addEvidence(Condition.Evidence theValue)
Adds a given new value for evidence ()
|
IdentifierDt |
addIdentifier()
Adds and returns a new value for identifier ()
|
Condition |
addIdentifier(IdentifierDt theValue)
Adds a given new value for identifier ()
|
IDatatype |
getAbatement()
Gets the value(s) for abatement[x] ().
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
ResourceReferenceDt |
getAsserter()
Gets the value(s) for asserter ().
|
List<CodeableConceptDt> |
getBodySite()
Gets the value(s) for bodySite ().
|
CodeableConceptDt |
getBodySiteFirstRep()
Gets the first repetition for bodySite (),
creating it if it does not already exist.
|
BoundCodeableConceptDt<ConditionCategoryCodesEnum> |
getCategory()
Gets the value(s) for category ().
|
String |
getClinicalStatus()
Gets the value(s) for clinicalStatus ().
|
BoundCodeDt<ConditionClinicalStatusCodesEnum> |
getClinicalStatusElement()
Gets the value(s) for clinicalStatus ().
|
CodeableConceptDt |
getCode()
Gets the value(s) for code ().
|
Date |
getDateRecorded()
Gets the value(s) for dateRecorded ().
|
DateDt |
getDateRecordedElement()
Gets the value(s) for dateRecorded ().
|
ResourceReferenceDt |
getEncounter()
Gets the value(s) for encounter ().
|
List<Condition.Evidence> |
getEvidence()
Gets the value(s) for evidence ().
|
Condition.Evidence |
getEvidenceFirstRep()
Gets the first repetition for evidence (),
creating it if it does not already exist.
|
List<IdentifierDt> |
getIdentifier()
Gets the value(s) for identifier ().
|
IdentifierDt |
getIdentifierFirstRep()
Gets the first repetition for identifier (),
creating it if it does not already exist.
|
String |
getNotes()
Gets the value(s) for notes ().
|
StringDt |
getNotesElement()
Gets the value(s) for notes ().
|
IDatatype |
getOnset()
Gets the value(s) for onset[x] ().
|
ResourceReferenceDt |
getPatient()
Gets the value(s) for patient ().
|
String |
getResourceName() |
CodeableConceptDt |
getSeverity()
Gets the value(s) for severity ().
|
Condition.Stage |
getStage()
Gets the value(s) for stage ().
|
FhirVersionEnum |
getStructureFhirVersionEnum() |
String |
getVerificationStatus()
Gets the value(s) for verificationStatus ().
|
BoundCodeDt<ConditionVerificationStatusEnum> |
getVerificationStatusElement()
Gets the value(s) for verificationStatus ().
|
boolean |
isEmpty() |
Condition |
setAbatement(IDatatype theValue)
Sets the value(s) for abatement[x] ()
|
Condition |
setAsserter(ResourceReferenceDt theValue)
Sets the value(s) for asserter ()
|
Condition |
setBodySite(List<CodeableConceptDt> theValue)
Sets the value(s) for bodySite ()
|
Condition |
setCategory(BoundCodeableConceptDt<ConditionCategoryCodesEnum> theValue)
Sets the value(s) for category ()
|
Condition |
setCategory(ConditionCategoryCodesEnum theValue)
Sets the value(s) for category ()
|
Condition |
setClinicalStatus(BoundCodeDt<ConditionClinicalStatusCodesEnum> theValue)
Sets the value(s) for clinicalStatus ()
|
Condition |
setClinicalStatus(ConditionClinicalStatusCodesEnum theValue)
Sets the value(s) for clinicalStatus ()
|
Condition |
setCode(CodeableConceptDt theValue)
Sets the value(s) for code ()
|
Condition |
setDateRecorded(DateDt theValue)
Sets the value(s) for dateRecorded ()
|
Condition |
setDateRecorded(Date theDate,
TemporalPrecisionEnum thePrecision)
Sets the value for dateRecorded ()
|
Condition |
setDateRecordedWithDayPrecision(Date theDate)
Sets the value for dateRecorded ()
|
Condition |
setEncounter(ResourceReferenceDt theValue)
Sets the value(s) for encounter ()
|
Condition |
setEvidence(List<Condition.Evidence> theValue)
Sets the value(s) for evidence ()
|
Condition |
setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier ()
|
Condition |
setNotes(String theString)
Sets the value for notes ()
|
Condition |
setNotes(StringDt theValue)
Sets the value(s) for notes ()
|
Condition |
setOnset(IDatatype theValue)
Sets the value(s) for onset[x] ()
|
Condition |
setPatient(ResourceReferenceDt theValue)
Sets the value(s) for patient ()
|
Condition |
setSeverity(CodeableConceptDt theValue)
Sets the value(s) for severity ()
|
Condition |
setStage(Condition.Stage theValue)
Sets the value(s) for stage ()
|
Condition |
setVerificationStatus(BoundCodeDt<ConditionVerificationStatusEnum> theValue)
Sets the value(s) for verificationStatus ()
|
Condition |
setVerificationStatus(ConditionVerificationStatusEnum theValue)
Sets the value(s) for verificationStatus ()
|
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toString
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, hasFormatComment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getContained, getId, getLanguage, getMeta, getResourceMetadata, getText, setId, setLanguage, setResourceMetadata
getIdElement, setId, setId
public static final String SP_CODE
Description: Code for the condition
Type: token
Path: Condition.code
public static final TokenClientParam CODE
Description: Code for the condition
Type: token
Path: Condition.code
public static final String SP_IDENTIFIER
Description: A unique identifier of the condition record
Type: token
Path: Condition.identifier
public static final TokenClientParam IDENTIFIER
Description: A unique identifier of the condition record
Type: token
Path: Condition.identifier
public static final String SP_CLINICALSTATUS
Description: The clinical status of the condition
Type: token
Path: Condition.clinicalStatus
public static final TokenClientParam CLINICALSTATUS
Description: The clinical status of the condition
Type: token
Path: Condition.clinicalStatus
public static final String SP_SEVERITY
Description: The severity of the condition
Type: token
Path: Condition.severity
public static final TokenClientParam SEVERITY
Description: The severity of the condition
Type: token
Path: Condition.severity
public static final String SP_CATEGORY
Description: The category of the condition
Type: token
Path: Condition.category
public static final TokenClientParam CATEGORY
Description: The category of the condition
Type: token
Path: Condition.category
public static final String SP_ONSET
Description: Date related onsets (dateTime and Period)
Type: date
Path: Condition.onset[x]
public static final DateClientParam ONSET
Description: Date related onsets (dateTime and Period)
Type: date
Path: Condition.onset[x]
public static final String SP_ONSET_INFO
Description: Other onsets (boolean, age, range, string)
Type: string
Path: Condition.onset[x]
public static final StringClientParam ONSET_INFO
Description: Other onsets (boolean, age, range, string)
Type: string
Path: Condition.onset[x]
public static final String SP_ENCOUNTER
Description:
Type: reference
Path: Condition.encounter
public static final ReferenceClientParam ENCOUNTER
Description:
Type: reference
Path: Condition.encounter
public static final String SP_ASSERTER
Description:
Type: reference
Path: Condition.asserter
public static final ReferenceClientParam ASSERTER
Description:
Type: reference
Path: Condition.asserter
public static final String SP_DATE_RECORDED
Description: A date, when the Condition statement was documented
Type: date
Path: Condition.dateRecorded
public static final DateClientParam DATE_RECORDED
Description: A date, when the Condition statement was documented
Type: date
Path: Condition.dateRecorded
public static final String SP_EVIDENCE
Description:
Type: token
Path: Condition.evidence.code
public static final TokenClientParam EVIDENCE
Description:
Type: token
Path: Condition.evidence.code
public static final String SP_BODY_SITE
Description:
Type: token
Path: Condition.bodySite
public static final TokenClientParam BODY_SITE
Description:
Type: token
Path: Condition.bodySite
public static final String SP_STAGE
Description:
Type: token
Path: Condition.stage.summary
public static final TokenClientParam STAGE
Description:
Type: token
Path: Condition.stage.summary
public static final String SP_PATIENT
Description:
Type: reference
Path: Condition.patient
public static final ReferenceClientParam PATIENT
Description:
Type: reference
Path: Condition.patient
public static final Include INCLUDE_ASSERTER
public static final Include INCLUDE_ENCOUNTER
public static final Include INCLUDE_PATIENT
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType
in interface ICompositeElement
public List<IdentifierDt> getIdentifier()
null
.
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)
public Condition setIdentifier(List<IdentifierDt> theValue)
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)
public IdentifierDt addIdentifier()
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)
public Condition addIdentifier(IdentifierDt theValue)
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)
theValue
- The identifier to add (must not be null
)public IdentifierDt getIdentifierFirstRep()
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)
public ResourceReferenceDt getPatient()
null
.
Definition: Indicates the patient who the condition record is associated with
public Condition setPatient(ResourceReferenceDt theValue)
Definition: Indicates the patient who the condition record is associated with
public ResourceReferenceDt getEncounter()
null
.
Definition: Encounter during which the condition was first asserted
public Condition setEncounter(ResourceReferenceDt theValue)
Definition: Encounter during which the condition was first asserted
public ResourceReferenceDt getAsserter()
null
.
Definition: Individual who is making the condition statement
public Condition setAsserter(ResourceReferenceDt theValue)
Definition: Individual who is making the condition statement
public DateDt getDateRecordedElement()
null
.
Definition: A date, when the Condition statement was documented
public Date getDateRecorded()
null
.
Definition: A date, when the Condition statement was documented
public Condition setDateRecorded(DateDt theValue)
Definition: A date, when the Condition statement was documented
public Condition setDateRecordedWithDayPrecision(Date theDate)
Definition: A date, when the Condition statement was documented
public Condition setDateRecorded(Date theDate, TemporalPrecisionEnum thePrecision)
Definition: A date, when the Condition statement was documented
public CodeableConceptDt getCode()
null
.
Definition: Identification of the condition, problem or diagnosis.
public Condition setCode(CodeableConceptDt theValue)
Definition: Identification of the condition, problem or diagnosis.
public BoundCodeableConceptDt<ConditionCategoryCodesEnum> getCategory()
null
.
Definition: A category assigned to the condition.
public Condition setCategory(BoundCodeableConceptDt<ConditionCategoryCodesEnum> theValue)
Definition: A category assigned to the condition.
public Condition setCategory(ConditionCategoryCodesEnum theValue)
Definition: A category assigned to the condition.
public BoundCodeDt<ConditionClinicalStatusCodesEnum> getClinicalStatusElement()
null
.
Definition: The clinical status of the condition.
public String getClinicalStatus()
null
.
Definition: The clinical status of the condition.
public Condition setClinicalStatus(BoundCodeDt<ConditionClinicalStatusCodesEnum> theValue)
Definition: The clinical status of the condition.
public Condition setClinicalStatus(ConditionClinicalStatusCodesEnum theValue)
Definition: The clinical status of the condition.
public BoundCodeDt<ConditionVerificationStatusEnum> getVerificationStatusElement()
null
.
Definition: The verification status to support the clinical status of the condition.
public String getVerificationStatus()
null
.
Definition: The verification status to support the clinical status of the condition.
public Condition setVerificationStatus(BoundCodeDt<ConditionVerificationStatusEnum> theValue)
Definition: The verification status to support the clinical status of the condition.
public Condition setVerificationStatus(ConditionVerificationStatusEnum theValue)
Definition: The verification status to support the clinical status of the condition.
public CodeableConceptDt getSeverity()
null
.
Definition: A subjective assessment of the severity of the condition as evaluated by the clinician.
public Condition setSeverity(CodeableConceptDt theValue)
Definition: A subjective assessment of the severity of the condition as evaluated by the clinician.
public IDatatype getOnset()
null
.
Definition: Estimated or actual date or date-time the condition began, in the opinion of the clinician
public Condition setOnset(IDatatype theValue)
Definition: Estimated or actual date or date-time the condition began, in the opinion of the clinician
public IDatatype getAbatement()
null
.
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.
public Condition setAbatement(IDatatype theValue)
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.
public Condition.Stage getStage()
null
.
Definition: Clinical stage or grade of a condition. May include formal severity assessments
public Condition setStage(Condition.Stage theValue)
Definition: Clinical stage or grade of a condition. May include formal severity assessments
public List<Condition.Evidence> getEvidence()
null
.
Definition: Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed
public Condition setEvidence(List<Condition.Evidence> theValue)
Definition: Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed
public Condition.Evidence addEvidence()
Definition: Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed
public Condition addEvidence(Condition.Evidence theValue)
Definition: Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed
theValue
- The evidence to add (must not be null
)public Condition.Evidence getEvidenceFirstRep()
Definition: Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed
public List<CodeableConceptDt> getBodySite()
null
.
Definition: The anatomical location where this condition manifests itself
public Condition setBodySite(List<CodeableConceptDt> theValue)
Definition: The anatomical location where this condition manifests itself
public CodeableConceptDt addBodySite()
Definition: The anatomical location where this condition manifests itself
public Condition addBodySite(CodeableConceptDt theValue)
Definition: The anatomical location where this condition manifests itself
theValue
- The bodySite to add (must not be null
)public CodeableConceptDt getBodySiteFirstRep()
Definition: The anatomical location where this condition manifests itself
public StringDt getNotesElement()
null
.
Definition: Additional information about the Condition. This is a general notes/comments entry for description of the Condition, its diagnosis and prognosis
public String getNotes()
null
.
Definition: Additional information about the Condition. This is a general notes/comments entry for description of the Condition, its diagnosis and prognosis
public Condition setNotes(StringDt theValue)
Definition: Additional information about the Condition. This is a general notes/comments entry for description of the Condition, its diagnosis and prognosis
public Condition setNotes(String theString)
Definition: Additional information about the Condition. This is a general notes/comments entry for description of the Condition, its diagnosis and prognosis
public String getResourceName()
getResourceName
in interface IResource
public FhirVersionEnum getStructureFhirVersionEnum()
getStructureFhirVersionEnum
in interface IResource
getStructureFhirVersionEnum
in interface IBaseResource
Copyright © 2014–2019 University Health Network. All rights reserved.