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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRiskAssessment.PredictionBlock class for child element: RiskAssessment.prediction ()
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.rest.gclient.ReferenceClientParamCONDITIONFluent Client search parameter constant for conditionstatic ca.uhn.fhir.rest.gclient.DateClientParamDATEFluent Client search parameter constant for datestatic ca.uhn.fhir.rest.gclient.ReferenceClientParamENCOUNTERFluent Client search parameter constant for encounterstatic ca.uhn.fhir.rest.gclient.TokenClientParamIDENTIFIERFluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.IncludeINCLUDE_CONDITIONConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_ENCOUNTERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_PATIENTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_PERFORMERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_SUBJECTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.rest.gclient.TokenClientParamMETHODFluent Client search parameter constant for methodstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamPATIENTFluent Client search parameter constant for patientstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamPERFORMERFluent Client search parameter constant for performerstatic StringSP_CONDITIONSearch parameter constant for conditionstatic StringSP_DATESearch parameter constant for datestatic StringSP_ENCOUNTERSearch parameter constant for encounterstatic StringSP_IDENTIFIERSearch parameter constant for identifierstatic StringSP_METHODSearch parameter constant for methodstatic StringSP_PATIENTSearch parameter constant for patientstatic StringSP_PERFORMERSearch parameter constant for performerstatic StringSP_SUBJECTSearch parameter constant for subjectstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamSUBJECTFluent Client search parameter constant for subject-
Fields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID, SP_RES_LANGUAGE
-
-
Constructor Summary
Constructors Constructor Description RiskAssessment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceReferenceDtaddBasis()Adds and returns a new value for basis ()RiskAssessment.PredictionaddPrediction()Adds and returns a new value for prediction ()RiskAssessmentaddPrediction(RiskAssessment.Prediction theValue)Adds a given new value for prediction ()<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)List<ResourceReferenceDt>getBasis()Gets the value(s) for basis ().ResourceReferenceDtgetCondition()Gets the value(s) for condition ().DategetDate()Gets the value(s) for date (when.recorded).ca.uhn.fhir.model.primitive.DateTimeDtgetDateElement()Gets the value(s) for date (when.recorded).ResourceReferenceDtgetEncounter()Gets the value(s) for encounter (context).IdentifierDtgetIdentifier()Gets the value(s) for identifier (id).CodeableConceptDtgetMethod()Gets the value(s) for method (class).StringgetMitigation()Gets the value(s) for mitigation ().ca.uhn.fhir.model.primitive.StringDtgetMitigationElement()Gets the value(s) for mitigation ().ResourceReferenceDtgetPerformer()Gets the value(s) for performer (who.author).List<RiskAssessment.Prediction>getPrediction()Gets the value(s) for prediction ().RiskAssessment.PredictiongetPredictionFirstRep()Gets the first repetition for prediction (), creating it if it does not already exist.StringgetResourceName()ca.uhn.fhir.context.FhirVersionEnumgetStructureFhirVersionEnum()ResourceReferenceDtgetSubject()Gets the value(s) for subject (who.focus).booleanisEmpty()RiskAssessmentsetBasis(List<ResourceReferenceDt> theValue)Sets the value(s) for basis ()RiskAssessmentsetCondition(ResourceReferenceDt theValue)Sets the value(s) for condition ()RiskAssessmentsetDate(ca.uhn.fhir.model.primitive.DateTimeDt theValue)Sets the value(s) for date (when.recorded)RiskAssessmentsetDate(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)Sets the value for date (when.recorded)RiskAssessmentsetDateWithSecondsPrecision(Date theDate)Sets the value for date (when.recorded)RiskAssessmentsetEncounter(ResourceReferenceDt theValue)Sets the value(s) for encounter (context)RiskAssessmentsetIdentifier(IdentifierDt theValue)Sets the value(s) for identifier (id)RiskAssessmentsetMethod(CodeableConceptDt theValue)Sets the value(s) for method (class)RiskAssessmentsetMitigation(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for mitigation ()RiskAssessmentsetMitigation(String theString)Sets the value for mitigation ()RiskAssessmentsetPerformer(ResourceReferenceDt theValue)Sets the value(s) for performer (who.author)RiskAssessmentsetPrediction(List<RiskAssessment.Prediction> theValue)Sets the value(s) for prediction ()RiskAssessmentsetSubject(ResourceReferenceDt theValue)Sets the value(s) for subject (who.focus)-
Methods inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toString
-
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
-
-
-
Field Detail
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter constant for identifierDescription:
Type: token
Path: RiskAssessment.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Fluent Client search parameter constant for identifierDescription:
Type: token
Path: RiskAssessment.identifier
-
SP_DATE
public static final String SP_DATE
Search parameter constant for dateDescription:
Type: date
Path: RiskAssessment.date
- See Also:
- Constant Field Values
-
DATE
public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE
Fluent Client search parameter constant for dateDescription:
Type: date
Path: RiskAssessment.date
-
SP_ENCOUNTER
public static final String SP_ENCOUNTER
Search parameter constant for encounterDescription:
Type: reference
Path: RiskAssessment.encounter
- See Also:
- Constant Field Values
-
ENCOUNTER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER
Fluent Client search parameter constant for encounterDescription:
Type: reference
Path: RiskAssessment.encounter
-
SP_PERFORMER
public static final String SP_PERFORMER
Search parameter constant for performerDescription:
Type: reference
Path: RiskAssessment.performer
- See Also:
- Constant Field Values
-
PERFORMER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PERFORMER
Fluent Client search parameter constant for performerDescription:
Type: reference
Path: RiskAssessment.performer
-
SP_SUBJECT
public static final String SP_SUBJECT
Search parameter constant for subjectDescription:
Type: reference
Path: RiskAssessment.subject
- See Also:
- Constant Field Values
-
SUBJECT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT
Fluent Client search parameter constant for subjectDescription:
Type: reference
Path: RiskAssessment.subject
-
SP_CONDITION
public static final String SP_CONDITION
Search parameter constant for conditionDescription:
Type: reference
Path: RiskAssessment.condition
- See Also:
- Constant Field Values
-
CONDITION
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam CONDITION
Fluent Client search parameter constant for conditionDescription:
Type: reference
Path: RiskAssessment.condition
-
SP_METHOD
public static final String SP_METHOD
Search parameter constant for methodDescription:
Type: token
Path: RiskAssessment.method
- See Also:
- Constant Field Values
-
METHOD
public static final ca.uhn.fhir.rest.gclient.TokenClientParam METHOD
Fluent Client search parameter constant for methodDescription:
Type: token
Path: RiskAssessment.method
-
SP_PATIENT
public static final String SP_PATIENT
Search parameter constant for patientDescription:
Type: reference
Path: RiskAssessment.subject
- See Also:
- Constant Field Values
-
PATIENT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Fluent Client search parameter constant for patientDescription:
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 Detail
-
RiskAssessment
public RiskAssessment()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
- Specified by:
getAllPopulatedChildElementsOfTypein interfaceca.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 returnnull.Definition: The patient or group the risk assessment applies to
-
setSubject
public RiskAssessment setSubject(ResourceReferenceDt theValue)
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 returnnull.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 returnnull.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
-
setDateWithSecondsPrecision
public RiskAssessment setDateWithSecondsPrecision(Date theDate)
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 returnnull.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 returnnull.Definition: The encounter where the assessment was performed
-
setEncounter
public RiskAssessment setEncounter(ResourceReferenceDt theValue)
Sets the value(s) for encounter (context)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 returnnull.Definition: The provider or software application that performed the assessment
-
setPerformer
public RiskAssessment setPerformer(ResourceReferenceDt theValue)
Sets the value(s) for performer (who.author)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 returnnull.Definition: Business identifier assigned to the risk assessment
-
setIdentifier
public RiskAssessment setIdentifier(IdentifierDt theValue)
Sets the value(s) for identifier (id)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 returnnull.Definition: The algorithm, process or mechanism used to evaluate the risk
-
setMethod
public RiskAssessment setMethod(CodeableConceptDt theValue)
Sets the value(s) for method (class)Definition: The algorithm, process or mechanism used to evaluate the risk
-
getBasis
public List<ResourceReferenceDt> getBasis()
Gets the value(s) for basis (). creating it if it does not exist. Will not returnnull.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.Prediction> getPrediction()
Gets the value(s) for prediction (). creating it if it does not exist. Will not returnnull.Definition: Describes the expected outcome for the subject
-
setPrediction
public RiskAssessment setPrediction(List<RiskAssessment.Prediction> theValue)
Sets the value(s) for prediction ()Definition: Describes the expected outcome for the subject
-
addPrediction
public RiskAssessment.Prediction addPrediction()
Adds and returns a new value for prediction ()Definition: Describes the expected outcome for the subject
-
addPrediction
public RiskAssessment addPrediction(RiskAssessment.Prediction theValue)
Adds a given new value for prediction ()Definition: Describes the expected outcome for the subject
- Parameters:
theValue- The prediction to add (must not benull)
-
getPredictionFirstRep
public RiskAssessment.Prediction 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 returnnull.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 returnnull.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:
getResourceNamein interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()
- Specified by:
getStructureFhirVersionEnumin interfaceorg.hl7.fhir.instance.model.api.IBaseResource- Specified by:
getStructureFhirVersionEnumin interfaceca.uhn.fhir.model.api.IResource
-
-