Class RiskAssessment

  • All Implemented Interfaces:
    Visitable

    @Generated("org.linuxforhealth.fhir.tools.CodeGenerator")
    public class RiskAssessment
    extends DomainResource
    An assessment of the likely outcome(s) for a patient or other subject as well as the likelihood of each outcome.

    Maturity level: FMM1 (Trial Use)

    • Method Detail

      • getIdentifier

        public java.util.List<Identifier> getIdentifier()
        Business identifier assigned to the risk assessment.
        Returns:
        An unmodifiable list containing immutable objects of type Identifier that may be empty.
      • getBasedOn

        public Reference getBasedOn()
        A reference to the request that is fulfilled by this risk assessment.
        Returns:
        An immutable object of type Reference that may be null.
      • getParent

        public Reference getParent()
        A reference to a resource that this risk assessment is part of, such as a Procedure.
        Returns:
        An immutable object of type Reference that may be null.
      • getStatus

        public RiskAssessmentStatus getStatus()
        The status of the RiskAssessment, using the same statuses as an Observation.
        Returns:
        An immutable object of type RiskAssessmentStatus that is non-null.
      • getMethod

        public CodeableConcept getMethod()
        The algorithm, process or mechanism used to evaluate the risk.
        Returns:
        An immutable object of type CodeableConcept that may be null.
      • getCode

        public CodeableConcept getCode()
        The type of the risk assessment performed.
        Returns:
        An immutable object of type CodeableConcept that may be null.
      • getSubject

        public Reference getSubject()
        The patient or group the risk assessment applies to.
        Returns:
        An immutable object of type Reference that is non-null.
      • getEncounter

        public Reference getEncounter()
        The encounter where the assessment was performed.
        Returns:
        An immutable object of type Reference that may be null.
      • getOccurrence

        public Element getOccurrence()
        The date (and possibly time) the risk assessment was performed.
        Returns:
        An immutable object of type DateTime or Period that may be null.
      • getCondition

        public Reference getCondition()
        For assessments or prognosis specific to a particular condition, indicates the condition being assessed.
        Returns:
        An immutable object of type Reference that may be null.
      • getPerformer

        public Reference getPerformer()
        The provider or software application that performed the assessment.
        Returns:
        An immutable object of type Reference that may be null.
      • getReasonCode

        public java.util.List<CodeableConcept> getReasonCode()
        The reason the risk assessment was performed.
        Returns:
        An unmodifiable list containing immutable objects of type CodeableConcept that may be empty.
      • getReasonReference

        public java.util.List<Reference> getReasonReference()
        Resources supporting the reason the risk assessment was performed.
        Returns:
        An unmodifiable list containing immutable objects of type Reference that may be empty.
      • getBasis

        public java.util.List<Reference> getBasis()
        Indicates the source data considered as part of the assessment (for example, FamilyHistory, Observations, Procedures, Conditions, etc.).
        Returns:
        An unmodifiable list containing immutable objects of type Reference that may be empty.
      • getMitigation

        public String getMitigation()
        A description of the steps that might be taken to reduce the identified risk(s).
        Returns:
        An immutable object of type String that may be null.
      • getNote

        public java.util.List<Annotation> getNote()
        Additional comments about the risk assessment.
        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