Package org.hl7.fhir.dstu2.model
Class RiskAssessment
- java.lang.Object
-
- org.hl7.fhir.dstu2.model.Base
-
- org.hl7.fhir.dstu2.model.BaseResource
-
- org.hl7.fhir.dstu2.model.Resource
-
- org.hl7.fhir.dstu2.model.DomainResource
-
- org.hl7.fhir.dstu2.model.RiskAssessment
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IAnyResource,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions,org.hl7.fhir.instance.model.api.IBaseResource,org.hl7.fhir.instance.model.api.IDomainResource
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.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRiskAssessment.RiskAssessmentPredictionComponent
-
Field Summary
Fields Modifier and Type Field Description protected List<Reference>basisIndicates the source data considered as part of the assessment (FamilyHistory, Observations, Procedures, Conditions, etc.).protected List<Resource>basisTargetThe actual objects that are the target of the reference (Indicates the source data considered as part of the assessment (FamilyHistory, Observations, Procedures, Conditions, etc.).)protected ReferenceconditionFor assessments or prognosis specific to a particular condition, indicates the condition being assessed.protected ConditionconditionTargetThe actual object that is the target of the reference (For assessments or prognosis specific to a particular condition, indicates the condition being assessed.)protected DateTimeTypedateThe date (and possibly time) the risk assessment was performed.protected ReferenceencounterThe encounter where the assessment was performed.protected EncounterencounterTargetThe actual object that is the target of the reference (The encounter where the assessment was performed.)protected IdentifieridentifierBusiness identifier assigned to the risk assessment.protected CodeableConceptmethodThe algorithm, process or mechanism used to evaluate the risk.protected StringTypemitigationA description of the steps that might be taken to reduce the identified risk(s).protected ReferenceperformerThe provider or software application that performed the assessment.protected ResourceperformerTargetThe actual object that is the target of the reference (The provider or software application that performed the assessment.)protected List<RiskAssessment.RiskAssessmentPredictionComponent>predictionDescribes the expected outcome for the subject.static StringSP_CONDITIONstatic StringSP_DATEstatic StringSP_ENCOUNTERstatic StringSP_IDENTIFIERstatic StringSP_METHODstatic StringSP_PATIENTstatic StringSP_PERFORMERstatic StringSP_SUBJECTprotected ReferencesubjectThe patient or group the risk assessment applies to.protected ResourcesubjectTargetThe actual object that is the target of the reference (The patient or group the risk assessment applies to.)-
Fields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description RiskAssessment()
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu2.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, hasExtension, hasModifierExtension, hasText, setText
-
Methods inherited from class org.hl7.fhir.dstu2.model.Resource
copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
-
Methods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setId
-
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
-
-
-
-
Field Detail
-
subjectTarget
protected Resource subjectTarget
The actual object that is the target of the reference (The patient or group the risk assessment applies to.)
-
date
protected DateTimeType date
The date (and possibly time) the risk assessment was performed.
-
condition
protected Reference condition
For assessments or prognosis specific to a particular condition, indicates the condition being assessed.
-
conditionTarget
protected Condition conditionTarget
The actual object that is the target of the reference (For assessments or prognosis specific to a particular condition, indicates the condition being assessed.)
-
encounterTarget
protected Encounter encounterTarget
The actual object that is the target of the reference (The encounter where the assessment was performed.)
-
performer
protected Reference performer
The provider or software application that performed the assessment.
-
performerTarget
protected Resource performerTarget
The actual object that is the target of the reference (The provider or software application that performed the assessment.)
-
identifier
protected Identifier identifier
Business identifier assigned to the risk assessment.
-
method
protected CodeableConcept method
The algorithm, process or mechanism used to evaluate the risk.
-
basis
protected List<Reference> basis
Indicates the source data considered as part of the assessment (FamilyHistory, Observations, Procedures, Conditions, etc.).
-
basisTarget
protected List<Resource> basisTarget
The actual objects that are the target of the reference (Indicates the source data considered as part of the assessment (FamilyHistory, Observations, Procedures, Conditions, etc.).)
-
prediction
protected List<RiskAssessment.RiskAssessmentPredictionComponent> prediction
Describes the expected outcome for the subject.
-
mitigation
protected StringType mitigation
A description of the steps that might be taken to reduce the identified risk(s).
-
SP_DATE
public static final String SP_DATE
- See Also:
- Constant Field Values
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
- See Also:
- Constant Field Values
-
SP_CONDITION
public static final String SP_CONDITION
- See Also:
- Constant Field Values
-
SP_PERFORMER
public static final String SP_PERFORMER
- See Also:
- Constant Field Values
-
SP_METHOD
public static final String SP_METHOD
- See Also:
- Constant Field Values
-
SP_SUBJECT
public static final String SP_SUBJECT
- See Also:
- Constant Field Values
-
SP_PATIENT
public static final String SP_PATIENT
- See Also:
- Constant Field Values
-
SP_ENCOUNTER
public static final String SP_ENCOUNTER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RiskAssessment
public RiskAssessment()
-
-
Method Detail
-
getSubject
public Reference getSubject()
- Returns:
subject(The patient or group the risk assessment applies to.)
-
hasSubject
public boolean hasSubject()
-
setSubject
public RiskAssessment setSubject(Reference value)
- Parameters:
value-subject(The patient or group the risk assessment applies to.)
-
getSubjectTarget
public Resource getSubjectTarget()
- Returns:
subjectThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The patient or group the risk assessment applies to.)
-
setSubjectTarget
public RiskAssessment setSubjectTarget(Resource value)
- Parameters:
value-subjectThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The patient or group the risk assessment applies to.)
-
getDateElement
public DateTimeType getDateElement()
- Returns:
date(The date (and possibly time) the risk assessment was performed.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
-
hasDateElement
public boolean hasDateElement()
-
hasDate
public boolean hasDate()
-
setDateElement
public RiskAssessment setDateElement(DateTimeType value)
- Parameters:
value-date(The date (and possibly time) the risk assessment was performed.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
-
getDate
public Date getDate()
- Returns:
- The date (and possibly time) the risk assessment was performed.
-
setDate
public RiskAssessment setDate(Date value)
- Parameters:
value- The date (and possibly time) the risk assessment was performed.
-
getCondition
public Reference getCondition()
- Returns:
condition(For assessments or prognosis specific to a particular condition, indicates the condition being assessed.)
-
hasCondition
public boolean hasCondition()
-
setCondition
public RiskAssessment setCondition(Reference value)
- Parameters:
value-condition(For assessments or prognosis specific to a particular condition, indicates the condition being assessed.)
-
getConditionTarget
public Condition getConditionTarget()
- Returns:
conditionThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (For assessments or prognosis specific to a particular condition, indicates the condition being assessed.)
-
setConditionTarget
public RiskAssessment setConditionTarget(Condition value)
- Parameters:
value-conditionThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (For assessments or prognosis specific to a particular condition, indicates the condition being assessed.)
-
getEncounter
public Reference getEncounter()
- Returns:
encounter(The encounter where the assessment was performed.)
-
hasEncounter
public boolean hasEncounter()
-
setEncounter
public RiskAssessment setEncounter(Reference value)
- Parameters:
value-encounter(The encounter where the assessment was performed.)
-
getEncounterTarget
public Encounter getEncounterTarget()
- Returns:
encounterThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The encounter where the assessment was performed.)
-
setEncounterTarget
public RiskAssessment setEncounterTarget(Encounter value)
- Parameters:
value-encounterThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The encounter where the assessment was performed.)
-
getPerformer
public Reference getPerformer()
- Returns:
performer(The provider or software application that performed the assessment.)
-
hasPerformer
public boolean hasPerformer()
-
setPerformer
public RiskAssessment setPerformer(Reference value)
- Parameters:
value-performer(The provider or software application that performed the assessment.)
-
getPerformerTarget
public Resource getPerformerTarget()
- Returns:
performerThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The provider or software application that performed the assessment.)
-
setPerformerTarget
public RiskAssessment setPerformerTarget(Resource value)
- Parameters:
value-performerThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The provider or software application that performed the assessment.)
-
getIdentifier
public Identifier getIdentifier()
- Returns:
identifier(Business identifier assigned to the risk assessment.)
-
hasIdentifier
public boolean hasIdentifier()
-
setIdentifier
public RiskAssessment setIdentifier(Identifier value)
- Parameters:
value-identifier(Business identifier assigned to the risk assessment.)
-
getMethod
public CodeableConcept getMethod()
- Returns:
method(The algorithm, process or mechanism used to evaluate the risk.)
-
hasMethod
public boolean hasMethod()
-
setMethod
public RiskAssessment setMethod(CodeableConcept value)
- Parameters:
value-method(The algorithm, process or mechanism used to evaluate the risk.)
-
getBasis
public List<Reference> getBasis()
- Returns:
basis(Indicates the source data considered as part of the assessment (FamilyHistory, Observations, Procedures, Conditions, etc.).)
-
hasBasis
public boolean hasBasis()
-
addBasis
public Reference addBasis()
- Returns:
basis(Indicates the source data considered as part of the assessment (FamilyHistory, Observations, Procedures, Conditions, etc.).)
-
addBasis
public RiskAssessment addBasis(Reference t)
-
getBasisTarget
public List<Resource> getBasisTarget()
- Returns:
basis(The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. Indicates the source data considered as part of the assessment (FamilyHistory, Observations, Procedures, Conditions, etc.).)
-
getPrediction
public List<RiskAssessment.RiskAssessmentPredictionComponent> getPrediction()
- Returns:
prediction(Describes the expected outcome for the subject.)
-
hasPrediction
public boolean hasPrediction()
-
addPrediction
public RiskAssessment.RiskAssessmentPredictionComponent addPrediction()
- Returns:
prediction(Describes the expected outcome for the subject.)
-
addPrediction
public RiskAssessment addPrediction(RiskAssessment.RiskAssessmentPredictionComponent t)
-
getMitigationElement
public StringType getMitigationElement()
- Returns:
mitigation(A description of the steps that might be taken to reduce the identified risk(s).). This is the underlying object with id, value and extensions. The accessor "getMitigation" gives direct access to the value
-
hasMitigationElement
public boolean hasMitigationElement()
-
hasMitigation
public boolean hasMitigation()
-
setMitigationElement
public RiskAssessment setMitigationElement(StringType value)
- Parameters:
value-mitigation(A description of the steps that might be taken to reduce the identified risk(s).). This is the underlying object with id, value and extensions. The accessor "getMitigation" gives direct access to the value
-
getMitigation
public String getMitigation()
- Returns:
- A description of the steps that might be taken to reduce the identified risk(s).
-
setMitigation
public RiskAssessment setMitigation(String value)
- Parameters:
value- A description of the steps that might be taken to reduce the identified risk(s).
-
listChildren
protected void listChildren(List<Property> childrenList)
- Overrides:
listChildrenin classDomainResource
-
setProperty
public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
public RiskAssessment copy()
- Specified by:
copyin classDomainResource
-
typedCopy
protected RiskAssessment typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other)
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other)
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceTypein classResource
-
-