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.Maturity level: FMM1 (Trial Use)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRiskAssessment.Builderstatic classRiskAssessment.PredictionDescribes the expected outcome for the subject.
-
Field Summary
-
Fields inherited from class com.ibm.fhir.model.resource.DomainResource
contained, extension, modifierExtension, text
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static RiskAssessment.Builderbuilder()booleanequals(Object obj)ReferencegetBasedOn()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.).CodeableConceptgetCode()The type of the risk assessment performed.ReferencegetCondition()For assessments or prognosis specific to a particular condition, indicates the condition being assessed.ReferencegetEncounter()The encounter where the assessment was performed.List<Identifier>getIdentifier()Business identifier assigned to the risk assessment.CodeableConceptgetMethod()The algorithm, process or mechanism used to evaluate the risk.StringgetMitigation()A description of the steps that might be taken to reduce the identified risk(s).List<Annotation>getNote()Additional comments about the risk assessment.ElementgetOccurrence()The date (and possibly time) the risk assessment was performed.ReferencegetParent()A reference to a resource that this risk assessment is part of, such as a Procedure.ReferencegetPerformer()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.RiskAssessmentStatusgetStatus()The status of the RiskAssessment, using the same statuses as an Observation.ReferencegetSubject()The patient or group the risk assessment applies to.booleanhasChildren()inthashCode()RiskAssessment.BuildertoBuilder()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
Identifierthat 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
Referencethat 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
Referencethat 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
RiskAssessmentStatusthat is non-null.
-
getMethod
public CodeableConcept getMethod()
The algorithm, process or mechanism used to evaluate the risk.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getCode
public CodeableConcept getCode()
The type of the risk assessment performed.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getSubject
public Reference getSubject()
The patient or group the risk assessment applies to.- Returns:
- An immutable object of type
Referencethat is non-null.
-
getEncounter
public Reference getEncounter()
The encounter where the assessment was performed.- Returns:
- An immutable object of type
Referencethat 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
Referencethat may be null.
-
getPerformer
public Reference getPerformer()
The provider or software application that performed the assessment.- Returns:
- An immutable object of type
Referencethat may be null.
-
getReasonCode
public List<CodeableConcept> getReasonCode()
The reason the risk assessment was performed.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConceptthat 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
Referencethat 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
Referencethat 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.Predictionthat 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
Stringthat may be null.
-
getNote
public List<Annotation> getNote()
Additional comments about the risk assessment.- Returns:
- An unmodifiable list containing immutable objects of type
Annotationthat may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildrenin classDomainResource
-
accept
public void accept(String elementName, int elementIndex, Visitor visitor)
Description copied from interface:VisitableAccept 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:
acceptin interfaceVisitable- Specified by:
acceptin 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:ResourceCreate a new Builder from the contents of this Resource- Specified by:
toBuilderin classDomainResource
-
builder
public static RiskAssessment.Builder builder()
-
-