Class RiskAssessment

  • All Implemented Interfaces:
    ca.uhn.fhir.model.api.ICompositeElement, ca.uhn.fhir.model.api.IElement, ca.uhn.fhir.model.api.IResource, ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions, Serializable, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseResource

    public class RiskAssessment
    extends BaseResource
    implements ca.uhn.fhir.model.api.IResource
    HAPI/FHIR RiskAssessment Resource (clinical.general)

    Definition: An assessment of the likely outcome(s) for a patient or other subject as well as the likelihood of each outcome.

    Requirements:

    Profile Definition: http://hl7.org/fhir/profiles/RiskAssessment

    See Also:
    Serialized Form
    • Field Detail

      • IDENTIFIER

        public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
        Fluent Client search parameter constant for identifier

        Description:
        Type: token
        Path: RiskAssessment.identifier

      • DATE

        public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE
        Fluent Client search parameter constant for date

        Description:
        Type: date
        Path: RiskAssessment.date

      • ENCOUNTER

        public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER
        Fluent Client search parameter constant for encounter

        Description:
        Type: reference
        Path: RiskAssessment.encounter

      • PERFORMER

        public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PERFORMER
        Fluent Client search parameter constant for performer

        Description:
        Type: reference
        Path: RiskAssessment.performer

      • SUBJECT

        public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT
        Fluent Client search parameter constant for subject

        Description:
        Type: reference
        Path: RiskAssessment.subject

      • CONDITION

        public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam CONDITION
        Fluent Client search parameter constant for condition

        Description:
        Type: reference
        Path: RiskAssessment.condition

      • METHOD

        public static final ca.uhn.fhir.rest.gclient.TokenClientParam METHOD
        Fluent Client search parameter constant for method

        Description:
        Type: token
        Path: RiskAssessment.method

      • PATIENT

        public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
        Fluent Client search parameter constant for patient

        Description:
        Type: reference
        Path: RiskAssessment.subject

      • INCLUDE_CONDITION

        public static final ca.uhn.fhir.model.api.Include INCLUDE_CONDITION
        Constant for fluent queries to be used to add include statements. Specifies the path value of "RiskAssessment:condition".
      • INCLUDE_ENCOUNTER

        public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER
        Constant for fluent queries to be used to add include statements. Specifies the path value of "RiskAssessment:encounter".
      • INCLUDE_PATIENT

        public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
        Constant for fluent queries to be used to add include statements. Specifies the path value of "RiskAssessment:patient".
      • INCLUDE_PERFORMER

        public static final ca.uhn.fhir.model.api.Include INCLUDE_PERFORMER
        Constant for fluent queries to be used to add include statements. Specifies the path value of "RiskAssessment:performer".
      • INCLUDE_SUBJECT

        public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT
        Constant for fluent queries to be used to add include statements. Specifies the path value of "RiskAssessment:subject".
    • Method Detail

      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface org.hl7.fhir.instance.model.api.IBase
      • getAllPopulatedChildElementsOfType

        public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType​(Class<T> theType)
        Specified by:
        getAllPopulatedChildElementsOfType in interface ca.uhn.fhir.model.api.ICompositeElement
      • getSubject

        public ResourceReferenceDt getSubject()
        Gets the value(s) for subject (who.focus). creating it if it does not exist. Will not return null.

        Definition: The patient or group the risk assessment applies to

      • getDateElement

        public ca.uhn.fhir.model.primitive.DateTimeDt getDateElement()
        Gets the value(s) for date (when.recorded). creating it if it does not exist. Will not return null.

        Definition: The date (and possibly time) the risk assessment was performed

      • getDate

        public Date getDate()
        Gets the value(s) for date (when.recorded). creating it if it does not exist. This method may return null.

        Definition: The date (and possibly time) the risk assessment was performed

      • setDate

        public RiskAssessment setDate​(ca.uhn.fhir.model.primitive.DateTimeDt theValue)
        Sets the value(s) for date (when.recorded)

        Definition: The date (and possibly time) the risk assessment was performed

      • setDate

        public RiskAssessment setDate​(Date theDate,
                                      ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
        Sets the value for date (when.recorded)

        Definition: The date (and possibly time) the risk assessment was performed

      • getCondition

        public ResourceReferenceDt getCondition()
        Gets the value(s) for condition (). creating it if it does not exist. Will not return null.

        Definition: For assessments or prognosis specific to a particular condition, indicates the condition being assessed.

      • setCondition

        public RiskAssessment setCondition​(ResourceReferenceDt theValue)
        Sets the value(s) for condition ()

        Definition: For assessments or prognosis specific to a particular condition, indicates the condition being assessed.

      • getEncounter

        public ResourceReferenceDt getEncounter()
        Gets the value(s) for encounter (context). creating it if it does not exist. Will not return null.

        Definition: The encounter where the assessment was performed

      • getPerformer

        public ResourceReferenceDt getPerformer()
        Gets the value(s) for performer (who.author). creating it if it does not exist. Will not return null.

        Definition: The provider or software application that performed the assessment

      • getIdentifier

        public IdentifierDt getIdentifier()
        Gets the value(s) for identifier (id). creating it if it does not exist. Will not return null.

        Definition: Business identifier assigned to the risk assessment

      • getMethod

        public CodeableConceptDt getMethod()
        Gets the value(s) for method (class). creating it if it does not exist. Will not return null.

        Definition: The algorithm, process or mechanism used to evaluate the risk

      • getBasis

        public List<ResourceReferenceDtgetBasis()
        Gets the value(s) for basis (). creating it if it does not exist. Will not return null.

        Definition: Indicates the source data considered as part of the assessment (FamilyHistory, Observations, Procedures, Conditions, etc.)

      • setBasis

        public RiskAssessment setBasis​(List<ResourceReferenceDt> theValue)
        Sets the value(s) for basis ()

        Definition: Indicates the source data considered as part of the assessment (FamilyHistory, Observations, Procedures, Conditions, etc.)

      • addBasis

        public ResourceReferenceDt addBasis()
        Adds and returns a new value for basis ()

        Definition: Indicates the source data considered as part of the assessment (FamilyHistory, Observations, Procedures, Conditions, etc.)

      • getPrediction

        public List<RiskAssessment.PredictiongetPrediction()
        Gets the value(s) for prediction (). creating it if it does not exist. Will not return null.

        Definition: Describes the expected outcome for the subject

      • getMitigationElement

        public ca.uhn.fhir.model.primitive.StringDt getMitigationElement()
        Gets the value(s) for mitigation (). creating it if it does not exist. Will not return null.

        Definition: A description of the steps that might be taken to reduce the identified risk(s).

      • getMitigation

        public String getMitigation()
        Gets the value(s) for mitigation (). creating it if it does not exist. This method may return null.

        Definition: A description of the steps that might be taken to reduce the identified risk(s).

      • setMitigation

        public RiskAssessment setMitigation​(ca.uhn.fhir.model.primitive.StringDt theValue)
        Sets the value(s) for mitigation ()

        Definition: A description of the steps that might be taken to reduce the identified risk(s).

      • setMitigation

        public RiskAssessment setMitigation​(String theString)
        Sets the value for mitigation ()

        Definition: A description of the steps that might be taken to reduce the identified risk(s).

      • getResourceName

        public String getResourceName()
        Specified by:
        getResourceName in interface ca.uhn.fhir.model.api.IResource
      • getStructureFhirVersionEnum

        public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()
        Specified by:
        getStructureFhirVersionEnum in interface org.hl7.fhir.instance.model.api.IBaseResource
        Specified by:
        getStructureFhirVersionEnum in interface ca.uhn.fhir.model.api.IResource