Package org.hl7.fhir

Class SampledData

java.lang.Object
org.hl7.fhir.Element
org.hl7.fhir.SampledData
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

public class SampledData extends Element implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions

Java class for SampledData complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="SampledData">
   <complexContent>
     <extension base="{http://hl7.org/fhir}Element">
       <sequence>
         <element name="origin" type="{http://hl7.org/fhir}SimpleQuantity"/>
         <element name="period" type="{http://hl7.org/fhir}decimal"/>
         <element name="factor" type="{http://hl7.org/fhir}decimal" minOccurs="0"/>
         <element name="lowerLimit" type="{http://hl7.org/fhir}decimal" minOccurs="0"/>
         <element name="upperLimit" type="{http://hl7.org/fhir}decimal" minOccurs="0"/>
         <element name="dimensions" type="{http://hl7.org/fhir}positiveInt"/>
         <element name="data" type="{http://hl7.org/fhir}SampledDataDataType"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • SampledData

      public SampledData()
  • Method Details

    • getOrigin

      public SimpleQuantity getOrigin()
      Gets the value of the origin property.
      Returns:
      possible object is SimpleQuantity
    • setOrigin

      public void setOrigin(SimpleQuantity value)
      Sets the value of the origin property.
      Parameters:
      value - allowed object is SimpleQuantity
    • getPeriod

      public Decimal getPeriod()
      Gets the value of the period property.
      Returns:
      possible object is Decimal
    • setPeriod

      public void setPeriod(Decimal value)
      Sets the value of the period property.
      Parameters:
      value - allowed object is Decimal
    • getFactor

      public Decimal getFactor()
      Gets the value of the factor property.
      Returns:
      possible object is Decimal
    • setFactor

      public void setFactor(Decimal value)
      Sets the value of the factor property.
      Parameters:
      value - allowed object is Decimal
    • getLowerLimit

      public Decimal getLowerLimit()
      Gets the value of the lowerLimit property.
      Returns:
      possible object is Decimal
    • setLowerLimit

      public void setLowerLimit(Decimal value)
      Sets the value of the lowerLimit property.
      Parameters:
      value - allowed object is Decimal
    • getUpperLimit

      public Decimal getUpperLimit()
      Gets the value of the upperLimit property.
      Returns:
      possible object is Decimal
    • setUpperLimit

      public void setUpperLimit(Decimal value)
      Sets the value of the upperLimit property.
      Parameters:
      value - allowed object is Decimal
    • getDimensions

      public PositiveInt getDimensions()
      Gets the value of the dimensions property.
      Returns:
      possible object is PositiveInt
    • setDimensions

      public void setDimensions(PositiveInt value)
      Sets the value of the dimensions property.
      Parameters:
      value - allowed object is PositiveInt
    • getData

      public SampledDataDataType getData()
      Gets the value of the data property.
      Returns:
      possible object is SampledDataDataType
    • setData

      public void setData(SampledDataDataType value)
      Sets the value of the data property.
      Parameters:
      value - allowed object is SampledDataDataType
    • withOrigin

      public SampledData withOrigin(SimpleQuantity value)
    • withPeriod

      public SampledData withPeriod(Decimal value)
    • withFactor

      public SampledData withFactor(Decimal value)
    • withLowerLimit

      public SampledData withLowerLimit(Decimal value)
    • withUpperLimit

      public SampledData withUpperLimit(Decimal value)
    • withDimensions

      public SampledData withDimensions(PositiveInt value)
    • withData

      public SampledData withData(SampledDataDataType value)
    • withExtension

      public SampledData withExtension(Extension... values)
      Overrides:
      withExtension in class Element
    • withExtension

      public SampledData withExtension(Collection<Extension> values)
      Overrides:
      withExtension in class Element
    • withId

      public SampledData withId(String value)
      Overrides:
      withId in class Element
    • equals

      public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
      Specified by:
      equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      Overrides:
      equals in class Element
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Element
    • 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 Element
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Element
    • toString

      public String toString()
      Overrides:
      toString in class Element
    • append

      public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      append in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      append in class Element
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      appendFields in class Element