Class DeviceMetric.Calibration

java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.dstu2.resource.DeviceMetric.Calibration
All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement, ca.uhn.fhir.model.api.IElement, ca.uhn.fhir.model.api.IIdentifiableElement, ca.uhn.fhir.model.api.IResourceBlock, ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions, Serializable, org.hl7.fhir.instance.model.api.IBase
Enclosing class:
DeviceMetric

public static class DeviceMetric.Calibration extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: DeviceMetric.calibration (Describes the calibrations that have been performed or that are required to be performed)

Definition: Describes the calibrations that have been performed or that are required to be performed

See Also:
Serialized Form
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends ca.uhn.fhir.model.api.IElement>
    List<T>
     
    Gets the value(s) for state (not-calibrated | calibration-required | calibrated | unspecified).
    ca.uhn.fhir.model.primitive.BoundCodeDt<DeviceMetricCalibrationStateEnum>
    Gets the value(s) for state (not-calibrated | calibration-required | calibrated | unspecified).
    Gets the value(s) for time (Describes the time last calibration has been performed).
    ca.uhn.fhir.model.primitive.InstantDt
    Gets the value(s) for time (Describes the time last calibration has been performed).
    Gets the value(s) for type (unspecified | offset | gain | two-point).
    ca.uhn.fhir.model.primitive.BoundCodeDt<DeviceMetricCalibrationTypeEnum>
    Gets the value(s) for type (unspecified | offset | gain | two-point).
    boolean
     
    Sets the value(s) for state (not-calibrated | calibration-required | calibrated | unspecified)
    setState​(ca.uhn.fhir.model.primitive.BoundCodeDt<DeviceMetricCalibrationStateEnum> theValue)
    Sets the value(s) for state (not-calibrated | calibration-required | calibrated | unspecified)
    setTime​(ca.uhn.fhir.model.primitive.InstantDt theValue)
    Sets the value(s) for time (Describes the time last calibration has been performed)
    setTime​(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
    Sets the value for time (Describes the time last calibration has been performed)
    Sets the value for time (Describes the time last calibration has been performed)
    Sets the value(s) for type (unspecified | offset | gain | two-point)
    setType​(ca.uhn.fhir.model.primitive.BoundCodeDt<DeviceMetricCalibrationTypeEnum> theValue)
    Sets the value(s) for type (unspecified | offset | gain | two-point)

    Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement

    getElementSpecificId, getId, setElementSpecificId, setId, setId

    Methods inherited from class ca.uhn.fhir.model.api.BaseElement

    addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.hl7.fhir.instance.model.api.IBase

    fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData

    Methods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElement

    getElementSpecificId, getId, setElementSpecificId, setId, setId
  • Constructor Details

  • Method Details

    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.hl7.fhir.instance.model.api.IBase
    • getAllPopulatedChildElementsOfType

      public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
      Specified by:
      getAllPopulatedChildElementsOfType in interface ca.uhn.fhir.model.api.ICompositeElement
    • getTypeElement

      public ca.uhn.fhir.model.primitive.BoundCodeDt<DeviceMetricCalibrationTypeEnum> getTypeElement()
      Gets the value(s) for type (unspecified | offset | gain | two-point). creating it if it does not exist. Will not return null.

      Definition: Describes the type of the calibration method.

    • getType

      public String getType()
      Gets the value(s) for type (unspecified | offset | gain | two-point). creating it if it does not exist. This method may return null.

      Definition: Describes the type of the calibration method.

    • setType

      public DeviceMetric.Calibration setType(ca.uhn.fhir.model.primitive.BoundCodeDt<DeviceMetricCalibrationTypeEnum> theValue)
      Sets the value(s) for type (unspecified | offset | gain | two-point)

      Definition: Describes the type of the calibration method.

    • setType

      Sets the value(s) for type (unspecified | offset | gain | two-point)

      Definition: Describes the type of the calibration method.

    • getStateElement

      public ca.uhn.fhir.model.primitive.BoundCodeDt<DeviceMetricCalibrationStateEnum> getStateElement()
      Gets the value(s) for state (not-calibrated | calibration-required | calibrated | unspecified). creating it if it does not exist. Will not return null.

      Definition: Describes the state of the calibration.

    • getState

      public String getState()
      Gets the value(s) for state (not-calibrated | calibration-required | calibrated | unspecified). creating it if it does not exist. This method may return null.

      Definition: Describes the state of the calibration.

    • setState

      public DeviceMetric.Calibration setState(ca.uhn.fhir.model.primitive.BoundCodeDt<DeviceMetricCalibrationStateEnum> theValue)
      Sets the value(s) for state (not-calibrated | calibration-required | calibrated | unspecified)

      Definition: Describes the state of the calibration.

    • setState

      Sets the value(s) for state (not-calibrated | calibration-required | calibrated | unspecified)

      Definition: Describes the state of the calibration.

    • getTimeElement

      public ca.uhn.fhir.model.primitive.InstantDt getTimeElement()
      Gets the value(s) for time (Describes the time last calibration has been performed). creating it if it does not exist. Will not return null.

      Definition: Describes the time last calibration has been performed.

    • getTime

      public Date getTime()
      Gets the value(s) for time (Describes the time last calibration has been performed). creating it if it does not exist. This method may return null.

      Definition: Describes the time last calibration has been performed.

    • setTime

      public DeviceMetric.Calibration setTime(ca.uhn.fhir.model.primitive.InstantDt theValue)
      Sets the value(s) for time (Describes the time last calibration has been performed)

      Definition: Describes the time last calibration has been performed.

    • setTimeWithMillisPrecision

      Sets the value for time (Describes the time last calibration has been performed)

      Definition: Describes the time last calibration has been performed.

    • setTime

      public DeviceMetric.Calibration setTime(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
      Sets the value for time (Describes the time last calibration has been performed)

      Definition: Describes the time last calibration has been performed.