Class RiskAssessment

java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.dstu2.resource.BaseResource
ca.uhn.fhir.model.dstu2.resource.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:
  • Field Details

    • SP_IDENTIFIER

      public static final String SP_IDENTIFIER
      Search parameter constant for identifier

      Description:
      Type: token
      Path: RiskAssessment.identifier

      See Also:
    • IDENTIFIER

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

      Description:
      Type: token
      Path: RiskAssessment.identifier

    • SP_DATE

      public static final String SP_DATE
      Search parameter constant for date

      Description:
      Type: date
      Path: RiskAssessment.date

      See Also:
    • DATE

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

      Description:
      Type: date
      Path: RiskAssessment.date

    • SP_ENCOUNTER

      public static final String SP_ENCOUNTER
      Search parameter constant for encounter

      Description:
      Type: reference
      Path: RiskAssessment.encounter

      See Also:
    • ENCOUNTER

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

      Description:
      Type: reference
      Path: RiskAssessment.encounter

    • SP_PERFORMER

      public static final String SP_PERFORMER
      Search parameter constant for performer

      Description:
      Type: reference
      Path: RiskAssessment.performer

      See Also:
    • PERFORMER

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

      Description:
      Type: reference
      Path: RiskAssessment.performer

    • SP_SUBJECT

      public static final String SP_SUBJECT
      Search parameter constant for subject

      Description:
      Type: reference
      Path: RiskAssessment.subject

      See Also:
    • SUBJECT

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

      Description:
      Type: reference
      Path: RiskAssessment.subject

    • SP_CONDITION

      public static final String SP_CONDITION
      Search parameter constant for condition

      Description:
      Type: reference
      Path: RiskAssessment.condition

      See Also:
    • CONDITION

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

      Description:
      Type: reference
      Path: RiskAssessment.condition

    • SP_METHOD

      public static final String SP_METHOD
      Search parameter constant for method

      Description:
      Type: token
      Path: RiskAssessment.method

      See Also:
    • METHOD

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

      Description:
      Type: token
      Path: RiskAssessment.method

    • SP_PATIENT

      public static final String SP_PATIENT
      Search parameter constant for patient

      Description:
      Type: reference
      Path: RiskAssessment.subject

      See Also:
    • 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".
  • Constructor Details

  • Method Details

    • 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

      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

    • setSubject

      Sets the value(s) for subject (who.focus)

      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

    • setDateWithSecondsPrecision

      Sets the value 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

      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

      Sets the value(s) for condition ()

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

    • 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

    • setEncounter

      Sets the value(s) for encounter (context)

      Definition: The encounter where the assessment was performed

    • 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

    • setPerformer

      Sets the value(s) for performer (who.author)

      Definition: The provider or software application that performed the assessment

    • 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

    • setIdentifier

      Sets the value(s) for identifier (id)

      Definition: Business identifier assigned to the risk assessment

    • 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

    • setMethod

      Sets the value(s) for method (class)

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

    • getBasis

      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

      Sets the value(s) for basis ()

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

    • 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

      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

    • setPrediction

      Sets the value(s) for prediction ()

      Definition: Describes the expected outcome for the subject

    • addPrediction

      Adds and returns a new value for prediction ()

      Definition: Describes the expected outcome for the subject

    • addPrediction

      Adds a given new value for prediction ()

      Definition: Describes the expected outcome for the subject

      Parameters:
      theValue - The prediction to add (must not be null)
    • getPredictionFirstRep

      Gets the first repetition for prediction (), creating it if it does not already exist.

      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

      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

      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