Package org.hl7.fhir
Class RiskAssessmentPrediction
java.lang.Object
org.hl7.fhir.Element
org.hl7.fhir.BackboneElement
org.hl7.fhir.RiskAssessmentPrediction
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class RiskAssessmentPrediction extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
An assessment of the likely outcome(s) for a patient or other subject as well as the likelihood of each outcome.
Java class for RiskAssessment.Prediction complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="RiskAssessment.Prediction">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="outcome" type="{http://hl7.org/fhir}CodeableConcept"/>
<choice minOccurs="0">
<element name="probabilityDecimal" type="{http://hl7.org/fhir}decimal"/>
<element name="probabilityRange" type="{http://hl7.org/fhir}Range"/>
<element name="probabilityCodeableConcept" type="{http://hl7.org/fhir}CodeableConcept"/>
</choice>
<element name="relativeRisk" type="{http://hl7.org/fhir}decimal" minOccurs="0"/>
<choice minOccurs="0">
<element name="whenPeriod" type="{http://hl7.org/fhir}Period"/>
<element name="whenRange" type="{http://hl7.org/fhir}Range"/>
</choice>
<element name="rationale" type="{http://hl7.org/fhir}string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected CodeableConceptoutcomeprotected CodeableConceptprobabilityCodeableConceptprotected DecimalprobabilityDecimalprotected RangeprobabilityRangeprotected Stringrationaleprotected DecimalrelativeRiskprotected PeriodwhenPeriodprotected RangewhenRange -
Constructor Summary
Constructors Constructor Description RiskAssessmentPrediction() -
Method Summary
Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)CodeableConceptgetOutcome()Gets the value of the outcome property.CodeableConceptgetProbabilityCodeableConcept()Gets the value of the probabilityCodeableConcept property.DecimalgetProbabilityDecimal()Gets the value of the probabilityDecimal property.RangegetProbabilityRange()Gets the value of the probabilityRange property.StringgetRationale()Gets the value of the rationale property.DecimalgetRelativeRisk()Gets the value of the relativeRisk property.PeriodgetWhenPeriod()Gets the value of the whenPeriod property.RangegetWhenRange()Gets the value of the whenRange property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetOutcome(CodeableConcept value)Sets the value of the outcome property.voidsetProbabilityCodeableConcept(CodeableConcept value)Sets the value of the probabilityCodeableConcept property.voidsetProbabilityDecimal(Decimal value)Sets the value of the probabilityDecimal property.voidsetProbabilityRange(Range value)Sets the value of the probabilityRange property.voidsetRationale(String value)Sets the value of the rationale property.voidsetRelativeRisk(Decimal value)Sets the value of the relativeRisk property.voidsetWhenPeriod(Period value)Sets the value of the whenPeriod property.voidsetWhenRange(Range value)Sets the value of the whenRange property.java.lang.StringtoString()RiskAssessmentPredictionwithExtension(java.util.Collection<Extension> values)RiskAssessmentPredictionwithExtension(Extension... values)RiskAssessmentPredictionwithId(java.lang.String value)RiskAssessmentPredictionwithModifierExtension(java.util.Collection<Extension> values)RiskAssessmentPredictionwithModifierExtension(Extension... values)RiskAssessmentPredictionwithOutcome(CodeableConcept value)RiskAssessmentPredictionwithProbabilityCodeableConcept(CodeableConcept value)RiskAssessmentPredictionwithProbabilityDecimal(Decimal value)RiskAssessmentPredictionwithProbabilityRange(Range value)RiskAssessmentPredictionwithRationale(String value)RiskAssessmentPredictionwithRelativeRisk(Decimal value)RiskAssessmentPredictionwithWhenPeriod(Period value)RiskAssessmentPredictionwithWhenRange(Range value)
-
Field Details
-
Constructor Details
-
RiskAssessmentPrediction
public RiskAssessmentPrediction()
-
-
Method Details
-
getOutcome
Gets the value of the outcome property.- Returns:
- possible object is
CodeableConcept
-
setOutcome
Sets the value of the outcome property.- Parameters:
value- allowed object isCodeableConcept
-
getProbabilityDecimal
Gets the value of the probabilityDecimal property.- Returns:
- possible object is
Decimal
-
setProbabilityDecimal
Sets the value of the probabilityDecimal property.- Parameters:
value- allowed object isDecimal
-
getProbabilityRange
Gets the value of the probabilityRange property.- Returns:
- possible object is
Range
-
setProbabilityRange
Sets the value of the probabilityRange property.- Parameters:
value- allowed object isRange
-
getProbabilityCodeableConcept
Gets the value of the probabilityCodeableConcept property.- Returns:
- possible object is
CodeableConcept
-
setProbabilityCodeableConcept
Sets the value of the probabilityCodeableConcept property.- Parameters:
value- allowed object isCodeableConcept
-
getRelativeRisk
Gets the value of the relativeRisk property.- Returns:
- possible object is
Decimal
-
setRelativeRisk
Sets the value of the relativeRisk property.- Parameters:
value- allowed object isDecimal
-
getWhenPeriod
Gets the value of the whenPeriod property.- Returns:
- possible object is
Period
-
setWhenPeriod
Sets the value of the whenPeriod property.- Parameters:
value- allowed object isPeriod
-
getWhenRange
Gets the value of the whenRange property.- Returns:
- possible object is
Range
-
setWhenRange
Sets the value of the whenRange property.- Parameters:
value- allowed object isRange
-
getRationale
Gets the value of the rationale property.- Returns:
- possible object is
String
-
setRationale
Sets the value of the rationale property.- Parameters:
value- allowed object isString
-
withOutcome
-
withProbabilityDecimal
-
withProbabilityRange
-
withProbabilityCodeableConcept
-
withRelativeRisk
-
withWhenPeriod
-
withWhenRange
-
withRationale
-
withModifierExtension
- Overrides:
withModifierExtensionin classBackboneElement
-
withModifierExtension
- Overrides:
withModifierExtensionin classBackboneElement
-
withExtension
- Overrides:
withExtensionin classBackboneElement
-
withExtension
- Overrides:
withExtensionin classBackboneElement
-
withId
- Overrides:
withIdin classBackboneElement
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classBackboneElement
-
equals
public boolean equals(java.lang.Object object)- Overrides:
equalsin classBackboneElement
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classBackboneElement
-
hashCode
public int hashCode()- Overrides:
hashCodein classBackboneElement
-
toString
public java.lang.String toString()- Overrides:
toStringin classBackboneElement
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classBackboneElement
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classBackboneElement
-