public class RiskAssessmentPrediction extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
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>
| Modifier and Type | Field and Description |
|---|---|
protected CodeableConcept |
outcome |
protected CodeableConcept |
probabilityCodeableConcept |
protected Decimal |
probabilityDecimal |
protected Range |
probabilityRange |
protected String |
rationale |
protected Decimal |
relativeRisk |
protected Period |
whenPeriod |
protected Range |
whenRange |
modifierExtension| Constructor and Description |
|---|
RiskAssessmentPrediction() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
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.EqualsStrategy strategy) |
CodeableConcept |
getOutcome()
Gets the value of the outcome property.
|
CodeableConcept |
getProbabilityCodeableConcept()
Gets the value of the probabilityCodeableConcept property.
|
Decimal |
getProbabilityDecimal()
Gets the value of the probabilityDecimal property.
|
Range |
getProbabilityRange()
Gets the value of the probabilityRange property.
|
String |
getRationale()
Gets the value of the rationale property.
|
Decimal |
getRelativeRisk()
Gets the value of the relativeRisk property.
|
Period |
getWhenPeriod()
Gets the value of the whenPeriod property.
|
Range |
getWhenRange()
Gets the value of the whenRange property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setOutcome(CodeableConcept value)
Sets the value of the outcome property.
|
void |
setProbabilityCodeableConcept(CodeableConcept value)
Sets the value of the probabilityCodeableConcept property.
|
void |
setProbabilityDecimal(Decimal value)
Sets the value of the probabilityDecimal property.
|
void |
setProbabilityRange(Range value)
Sets the value of the probabilityRange property.
|
void |
setRationale(String value)
Sets the value of the rationale property.
|
void |
setRelativeRisk(Decimal value)
Sets the value of the relativeRisk property.
|
void |
setWhenPeriod(Period value)
Sets the value of the whenPeriod property.
|
void |
setWhenRange(Range value)
Sets the value of the whenRange property.
|
java.lang.String |
toString() |
RiskAssessmentPrediction |
withExtension(java.util.Collection<Extension> values) |
RiskAssessmentPrediction |
withExtension(Extension... values) |
RiskAssessmentPrediction |
withId(java.lang.String value) |
RiskAssessmentPrediction |
withModifierExtension(java.util.Collection<Extension> values) |
RiskAssessmentPrediction |
withModifierExtension(Extension... values) |
RiskAssessmentPrediction |
withOutcome(CodeableConcept value) |
RiskAssessmentPrediction |
withProbabilityCodeableConcept(CodeableConcept value) |
RiskAssessmentPrediction |
withProbabilityDecimal(Decimal value) |
RiskAssessmentPrediction |
withProbabilityRange(Range value) |
RiskAssessmentPrediction |
withRationale(String value) |
RiskAssessmentPrediction |
withRelativeRisk(Decimal value) |
RiskAssessmentPrediction |
withWhenPeriod(Period value) |
RiskAssessmentPrediction |
withWhenRange(Range value) |
getModifierExtensiongetExtension, getId, setIdprotected CodeableConcept outcome
protected Decimal probabilityDecimal
protected Range probabilityRange
protected CodeableConcept probabilityCodeableConcept
protected Decimal relativeRisk
protected Period whenPeriod
protected Range whenRange
protected String rationale
public CodeableConcept getOutcome()
CodeableConceptpublic void setOutcome(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Decimal getProbabilityDecimal()
Decimalpublic void setProbabilityDecimal(Decimal value)
value - allowed object is
Decimalpublic Range getProbabilityRange()
Rangepublic void setProbabilityRange(Range value)
value - allowed object is
Rangepublic CodeableConcept getProbabilityCodeableConcept()
CodeableConceptpublic void setProbabilityCodeableConcept(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Decimal getRelativeRisk()
Decimalpublic void setRelativeRisk(Decimal value)
value - allowed object is
Decimalpublic Period getWhenPeriod()
Periodpublic void setWhenPeriod(Period value)
value - allowed object is
Periodpublic Range getWhenRange()
Rangepublic void setWhenRange(Range value)
value - allowed object is
Rangepublic String getRationale()
Stringpublic void setRationale(String value)
value - allowed object is
Stringpublic RiskAssessmentPrediction withOutcome(CodeableConcept value)
public RiskAssessmentPrediction withProbabilityDecimal(Decimal value)
public RiskAssessmentPrediction withProbabilityRange(Range value)
public RiskAssessmentPrediction withProbabilityCodeableConcept(CodeableConcept value)
public RiskAssessmentPrediction withRelativeRisk(Decimal value)
public RiskAssessmentPrediction withWhenPeriod(Period value)
public RiskAssessmentPrediction withWhenRange(Range value)
public RiskAssessmentPrediction withRationale(String value)
public RiskAssessmentPrediction withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic RiskAssessmentPrediction withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic RiskAssessmentPrediction withExtension(Extension... values)
withExtension in class BackboneElementpublic RiskAssessmentPrediction withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic RiskAssessmentPrediction withId(java.lang.String value)
withId in class BackboneElementpublic 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.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class BackboneElementpublic boolean equals(java.lang.Object object)
equals in class BackboneElementpublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class BackboneElementpublic int hashCode()
hashCode in class BackboneElementpublic java.lang.String toString()
toString in class BackboneElementpublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringappend in class BackboneElementpublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class BackboneElement