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-
Fields inherited from class org.hl7.fhir.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description RiskAssessmentPrediction()
-
Method Summary
All Methods Instance Methods Concrete Methods 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)-
Methods inherited from class org.hl7.fhir.BackboneElement
getModifierExtension
-
Methods inherited from class org.hl7.fhir.Element
getExtension, getId, setId
-
-
-
-
Field Detail
-
outcome
protected CodeableConcept outcome
-
probabilityDecimal
protected Decimal probabilityDecimal
-
probabilityRange
protected Range probabilityRange
-
probabilityCodeableConcept
protected CodeableConcept probabilityCodeableConcept
-
relativeRisk
protected Decimal relativeRisk
-
whenPeriod
protected Period whenPeriod
-
whenRange
protected Range whenRange
-
rationale
protected String rationale
-
-
Method Detail
-
getOutcome
public CodeableConcept getOutcome()
Gets the value of the outcome property.- Returns:
- possible object is
CodeableConcept
-
setOutcome
public void setOutcome(CodeableConcept value)
Sets the value of the outcome property.- Parameters:
value- allowed object isCodeableConcept
-
getProbabilityDecimal
public Decimal getProbabilityDecimal()
Gets the value of the probabilityDecimal property.- Returns:
- possible object is
Decimal
-
setProbabilityDecimal
public void setProbabilityDecimal(Decimal value)
Sets the value of the probabilityDecimal property.- Parameters:
value- allowed object isDecimal
-
getProbabilityRange
public Range getProbabilityRange()
Gets the value of the probabilityRange property.- Returns:
- possible object is
Range
-
setProbabilityRange
public void setProbabilityRange(Range value)
Sets the value of the probabilityRange property.- Parameters:
value- allowed object isRange
-
getProbabilityCodeableConcept
public CodeableConcept getProbabilityCodeableConcept()
Gets the value of the probabilityCodeableConcept property.- Returns:
- possible object is
CodeableConcept
-
setProbabilityCodeableConcept
public void setProbabilityCodeableConcept(CodeableConcept value)
Sets the value of the probabilityCodeableConcept property.- Parameters:
value- allowed object isCodeableConcept
-
getRelativeRisk
public Decimal getRelativeRisk()
Gets the value of the relativeRisk property.- Returns:
- possible object is
Decimal
-
setRelativeRisk
public void setRelativeRisk(Decimal value)
Sets the value of the relativeRisk property.- Parameters:
value- allowed object isDecimal
-
getWhenPeriod
public Period getWhenPeriod()
Gets the value of the whenPeriod property.- Returns:
- possible object is
Period
-
setWhenPeriod
public void setWhenPeriod(Period value)
Sets the value of the whenPeriod property.- Parameters:
value- allowed object isPeriod
-
getWhenRange
public Range getWhenRange()
Gets the value of the whenRange property.- Returns:
- possible object is
Range
-
setWhenRange
public void setWhenRange(Range value)
Sets the value of the whenRange property.- Parameters:
value- allowed object isRange
-
getRationale
public String getRationale()
Gets the value of the rationale property.- Returns:
- possible object is
String
-
setRationale
public void setRationale(String value)
Sets the value of the rationale property.- Parameters:
value- allowed object isString
-
withOutcome
public RiskAssessmentPrediction withOutcome(CodeableConcept value)
-
withProbabilityDecimal
public RiskAssessmentPrediction withProbabilityDecimal(Decimal value)
-
withProbabilityRange
public RiskAssessmentPrediction withProbabilityRange(Range value)
-
withProbabilityCodeableConcept
public RiskAssessmentPrediction withProbabilityCodeableConcept(CodeableConcept value)
-
withRelativeRisk
public RiskAssessmentPrediction withRelativeRisk(Decimal value)
-
withWhenPeriod
public RiskAssessmentPrediction withWhenPeriod(Period value)
-
withWhenRange
public RiskAssessmentPrediction withWhenRange(Range value)
-
withRationale
public RiskAssessmentPrediction withRationale(String value)
-
withModifierExtension
public RiskAssessmentPrediction withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withModifierExtension
public RiskAssessmentPrediction withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withExtension
public RiskAssessmentPrediction withExtension(Extension... values)
- Overrides:
withExtensionin classBackboneElement
-
withExtension
public RiskAssessmentPrediction withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classBackboneElement
-
withId
public RiskAssessmentPrediction withId(java.lang.String value)
- 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
-
-