Class 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)

    • 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.
        Returns:
        An immutable object of type DateTime, Age, Period, Range or String that may be null.
      • 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.
        Returns:
        An immutable object of type DateTime, Age, Period, Range or String that may be null.
      • 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.
      • 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 interface Visitable
        Specified by:
        accept in class AbstractVisitable
        Parameters:
        elementName - the name of the element in the context of this visit
        elementIndex - the index of the element in a list or -1 if it is not contained within a List
        visitor - the visitor to use
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object