Class Condition
- java.lang.Object
-
- org.linuxforhealth.fhir.model.visitor.AbstractVisitable
-
- org.linuxforhealth.fhir.model.resource.Resource
-
- org.linuxforhealth.fhir.model.resource.DomainResource
-
- org.linuxforhealth.fhir.model.resource.Condition
-
- All Implemented Interfaces:
Visitable
@Generated("org.linuxforhealth.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 class
Condition.Builder
static class
Condition.Evidence
Supporting evidence / manifestations that are the basis of the Condition's verification status, such as evidence that confirmed or refuted the condition.static class
Condition.Stage
Clinical stage or grade of a condition.
-
Field Summary
-
Fields inherited from class org.linuxforhealth.fhir.model.resource.DomainResource
contained, extension, modifierExtension, text
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(java.lang.String elementName, int elementIndex, Visitor visitor)
Accept a Visitor and invoke the appropriate visit methods.static Condition.Builder
builder()
boolean
equals(java.lang.Object obj)
Element
getAbatement()
The date or estimated date that the condition resolved or went into remission.Reference
getAsserter()
Individual who is making the condition statement.java.util.List<CodeableConcept>
getBodySite()
The anatomical location where this condition manifests itself.java.util.List<CodeableConcept>
getCategory()
A category assigned to the condition.CodeableConcept
getClinicalStatus()
The clinical status of the condition.CodeableConcept
getCode()
Identification of the condition, problem or diagnosis.Reference
getEncounter()
The Encounter during which this Condition was created or to which the creation of this record is tightly associated.java.util.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.java.util.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.java.util.List<Annotation>
getNote()
Additional information about the Condition.Element
getOnset()
Estimated or actual date or date-time the condition began, in the opinion of the clinician.DateTime
getRecordedDate()
The recordedDate represents when this particular Condition record was created in the system, which is often a system- generated date.Reference
getRecorder()
Individual who recorded the record and takes responsibility for its content.CodeableConcept
getSeverity()
A subjective assessment of the severity of the condition as evaluated by the clinician.java.util.List<Condition.Stage>
getStage()
Clinical stage or grade of a condition.Reference
getSubject()
Indicates the patient or group who the condition record is associated with.CodeableConcept
getVerificationStatus()
The verification status to support the clinical status of the condition.boolean
hasChildren()
int
hashCode()
Condition.Builder
toBuilder()
Create a new Builder from the contents of this Resource-
Methods inherited from class org.linuxforhealth.fhir.model.resource.DomainResource
getContained, getExtension, getModifierExtension, getText
-
Methods inherited from class org.linuxforhealth.fhir.model.resource.Resource
as, getId, getImplicitRules, getLanguage, getMeta, is
-
-
-
-
Method Detail
-
getIdentifier
public java.util.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
Identifier
that may be empty.
-
getClinicalStatus
public CodeableConcept getClinicalStatus()
The clinical status of the condition.- Returns:
- An immutable object of type
CodeableConcept
that may be null.
-
getVerificationStatus
public CodeableConcept getVerificationStatus()
The verification status to support the clinical status of the condition.- Returns:
- An immutable object of type
CodeableConcept
that may be null.
-
getCategory
public java.util.List<CodeableConcept> getCategory()
A category assigned to the condition.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConcept
that 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
CodeableConcept
that may be null.
-
getCode
public CodeableConcept getCode()
Identification of the condition, problem or diagnosis.- Returns:
- An immutable object of type
CodeableConcept
that may be null.
-
getBodySite
public java.util.List<CodeableConcept> getBodySite()
The anatomical location where this condition manifests itself.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConcept
that 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
Reference
that 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
Reference
that 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
DateTime
that may be null.
-
getRecorder
public Reference getRecorder()
Individual who recorded the record and takes responsibility for its content.- Returns:
- An immutable object of type
Reference
that may be null.
-
getAsserter
public Reference getAsserter()
Individual who is making the condition statement.- Returns:
- An immutable object of type
Reference
that may be null.
-
getStage
public java.util.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.Stage
that may be empty.
-
getEvidence
public java.util.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.Evidence
that may be empty.
-
getNote
public java.util.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
Annotation
that may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildren
in classDomainResource
-
accept
public void accept(java.lang.String elementName, int elementIndex, Visitor visitor)
Description copied from interface:Visitable
Accept 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:
accept
in interfaceVisitable
- Specified by:
accept
in 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
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toBuilder
public Condition.Builder toBuilder()
Description copied from class:Resource
Create a new Builder from the contents of this Resource- Specified by:
toBuilder
in classDomainResource
-
builder
public static Condition.Builder builder()
-
-