Package com.ibm.fhir.model.resource
Class RiskAssessment
- 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.RiskAssessment
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.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.
-
-
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 com.ibm.fhir.model.resource.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class com.ibm.fhir.model.resource.Resource
id, implicitRules, language, meta
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(String elementName, int elementIndex, Visitor visitor)
Accept a Visitor and invoke the appropriate visit methods.static RiskAssessment.Builder
builder()
boolean
equals(Object obj)
Reference
getBasedOn()
A reference to the request that is fulfilled by this risk assessment.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.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).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.List<RiskAssessment.Prediction>
getPrediction()
Describes the expected outcome for the subject.List<CodeableConcept>
getReasonCode()
The reason the risk assessment was performed.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 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 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
Element
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 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 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 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 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 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(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
-
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()
-
-