Package com.ibm.fhir.model.resource
Class Condition
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.resource.Resource
-
- com.ibm.fhir.model.resource.DomainResource
-
- com.ibm.fhir.model.resource.Condition
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class Condition extends DomainResource
A clinical condition, problem, diagnosis, or other event, situation, issue, or clinical concept that has risen to a level of concern.Maturity level: FMM3 (Trial Use)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCondition.Builderstatic classCondition.EvidenceSupporting evidence / manifestations that are the basis of the Condition's verification status, such as evidence that confirmed or refuted the condition.static classCondition.StageClinical stage or grade of a condition.
-
Field Summary
-
Fields inherited from class com.ibm.fhir.model.resource.DomainResource
contained, extension, modifierExtension, text
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static Condition.Builderbuilder()booleanequals(Object obj)ElementgetAbatement()The date or estimated date that the condition resolved or went into remission.ReferencegetAsserter()Individual who is making the condition statement.List<CodeableConcept>getBodySite()The anatomical location where this condition manifests itself.List<CodeableConcept>getCategory()A category assigned to the condition.CodeableConceptgetClinicalStatus()The clinical status of the condition.CodeableConceptgetCode()Identification of the condition, problem or diagnosis.ReferencegetEncounter()The Encounter during which this Condition was created or to which the creation of this record is tightly associated.List<Condition.Evidence>getEvidence()Supporting evidence / manifestations that are the basis of the Condition's verification status, such as evidence that confirmed or refuted the condition.List<Identifier>getIdentifier()Business identifiers assigned to this condition by the performer or other systems which remain constant as the resource is updated and propagates from server to server.List<Annotation>getNote()Additional information about the Condition.ElementgetOnset()Estimated or actual date or date-time the condition began, in the opinion of the clinician.DateTimegetRecordedDate()The recordedDate represents when this particular Condition record was created in the system, which is often a system- generated date.ReferencegetRecorder()Individual who recorded the record and takes responsibility for its content.CodeableConceptgetSeverity()A subjective assessment of the severity of the condition as evaluated by the clinician.List<Condition.Stage>getStage()Clinical stage or grade of a condition.ReferencegetSubject()Indicates the patient or group who the condition record is associated with.CodeableConceptgetVerificationStatus()The verification status to support the clinical status of the condition.booleanhasChildren()inthashCode()Condition.BuildertoBuilder()Create a new Builder from the contents of this Resource-
Methods inherited from class com.ibm.fhir.model.resource.DomainResource
getContained, getExtension, getModifierExtension, getText
-
Methods inherited from class com.ibm.fhir.model.resource.Resource
as, getId, getImplicitRules, getLanguage, getMeta, is
-
-
-
-
Method Detail
-
getIdentifier
public List<Identifier> getIdentifier()
Business identifiers assigned to this condition by the performer or other systems which remain constant as the resource is updated and propagates from server to server.- Returns:
- An unmodifiable list containing immutable objects of type
Identifierthat may be empty.
-
getClinicalStatus
public CodeableConcept getClinicalStatus()
The clinical status of the condition.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getVerificationStatus
public CodeableConcept getVerificationStatus()
The verification status to support the clinical status of the condition.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getCategory
public List<CodeableConcept> getCategory()
A category assigned to the condition.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConceptthat may be empty.
-
getSeverity
public CodeableConcept getSeverity()
A subjective assessment of the severity of the condition as evaluated by the clinician.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getCode
public CodeableConcept getCode()
Identification of the condition, problem or diagnosis.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getBodySite
public List<CodeableConcept> getBodySite()
The anatomical location where this condition manifests itself.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConceptthat may be empty.
-
getSubject
public Reference getSubject()
Indicates the patient or group who the condition record is associated with.- Returns:
- An immutable object of type
Referencethat is non-null.
-
getEncounter
public Reference getEncounter()
The Encounter during which this Condition was created or to which the creation of this record is tightly associated.- Returns:
- An immutable object of type
Referencethat may be null.
-
getOnset
public Element getOnset()
Estimated or actual date or date-time the condition began, in the opinion of the clinician.
-
getAbatement
public Element getAbatement()
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.
-
getRecordedDate
public DateTime getRecordedDate()
The recordedDate represents when this particular Condition record was created in the system, which is often a system- generated date.- Returns:
- An immutable object of type
DateTimethat may be null.
-
getRecorder
public Reference getRecorder()
Individual who recorded the record and takes responsibility for its content.- Returns:
- An immutable object of type
Referencethat may be null.
-
getAsserter
public Reference getAsserter()
Individual who is making the condition statement.- Returns:
- An immutable object of type
Referencethat may be null.
-
getStage
public List<Condition.Stage> getStage()
Clinical stage or grade of a condition. May include formal severity assessments.- Returns:
- An unmodifiable list containing immutable objects of type
Condition.Stagethat may be empty.
-
getEvidence
public List<Condition.Evidence> getEvidence()
Supporting evidence / manifestations that are the basis of the Condition's verification status, such as evidence that confirmed or refuted the condition.- Returns:
- An unmodifiable list containing immutable objects of type
Condition.Evidencethat may be empty.
-
getNote
public List<Annotation> getNote()
Additional information about the Condition. This is a general notes/comments entry for description of the Condition, its diagnosis and prognosis.- Returns:
- An unmodifiable list containing immutable objects of type
Annotationthat may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildrenin classDomainResource
-
accept
public void accept(String elementName, int elementIndex, Visitor visitor)
Description copied from interface:VisitableAccept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:if (visitor.preVisit(this)) { visitor.visitStart(elementName, elementIndex, this); if (visitor.visit(elementName, elementIndex, this)) { // visit children } visitor.visitEnd(elementName, elementIndex, this); visitor.postVisit(this); }- Specified by:
acceptin interfaceVisitable- Specified by:
acceptin classAbstractVisitable- Parameters:
elementName- the name of the element in the context of this visitelementIndex- the index of the element in a list or -1 if it is not contained within a Listvisitor- the visitor to use
-
toBuilder
public Condition.Builder toBuilder()
Description copied from class:ResourceCreate a new Builder from the contents of this Resource- Specified by:
toBuilderin classDomainResource
-
builder
public static Condition.Builder builder()
-
-