Class RiskAssessment
- 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.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)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RiskAssessment.Builder
static class
RiskAssessment.Prediction
Describes the expected outcome for the subject.
-
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 RiskAssessment.Builder
builder()
boolean
equals(java.lang.Object obj)
Reference
getBasedOn()
A reference to the request that is fulfilled by this risk assessment.java.util.List<Reference>
getBasis()
Indicates the source data considered as part of the assessment (for example, FamilyHistory, Observations, Procedures, Conditions, etc.).CodeableConcept
getCode()
The type of the risk assessment performed.Reference
getCondition()
For assessments or prognosis specific to a particular condition, indicates the condition being assessed.Reference
getEncounter()
The encounter where the assessment was performed.java.util.List<Identifier>
getIdentifier()
Business identifier assigned to the risk assessment.CodeableConcept
getMethod()
The algorithm, process or mechanism used to evaluate the risk.String
getMitigation()
A description of the steps that might be taken to reduce the identified risk(s).java.util.List<Annotation>
getNote()
Additional comments about the risk assessment.Element
getOccurrence()
The date (and possibly time) the risk assessment was performed.Reference
getParent()
A reference to a resource that this risk assessment is part of, such as a Procedure.Reference
getPerformer()
The provider or software application that performed the assessment.java.util.List<RiskAssessment.Prediction>
getPrediction()
Describes the expected outcome for the subject.java.util.List<CodeableConcept>
getReasonCode()
The reason the risk assessment was performed.java.util.List<Reference>
getReasonReference()
Resources supporting the reason the risk assessment was performed.RiskAssessmentStatus
getStatus()
The status of the RiskAssessment, using the same statuses as an Observation.Reference
getSubject()
The patient or group the risk assessment applies to.boolean
hasChildren()
int
hashCode()
RiskAssessment.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 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.
-
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.
-
getPrediction
public java.util.List<RiskAssessment.Prediction> getPrediction()
Describes the expected outcome for the subject.- Returns:
- An unmodifiable list containing immutable objects of type
RiskAssessment.Prediction
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.
-
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 RiskAssessment.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 RiskAssessment.Builder builder()
-
-