Package org.hl7.fhir

Class 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 Detail

      • 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
    • Constructor Detail

      • RiskAssessmentPrediction

        public RiskAssessmentPrediction()
    • Method Detail

      • setOutcome

        public void setOutcome​(CodeableConcept value)
        Sets the value of the outcome property.
        Parameters:
        value - allowed object is CodeableConcept
      • 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 is Decimal
      • 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 is Range
      • 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 is CodeableConcept
      • 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 is Decimal
      • 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 is Period
      • 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 is Range
      • 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 is String
      • 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:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals2
        Overrides:
        equals in class BackboneElement
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class BackboneElement
      • hashCode

        public int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
        Specified by:
        hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
        Overrides:
        hashCode in class BackboneElement
      • 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:
        append in interface org.jvnet.jaxb2_commons.lang.ToString2
        Overrides:
        append in class BackboneElement
      • 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:
        appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
        Overrides:
        appendFields in class BackboneElement