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 Calibration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)StringgetState()Gets the value(s) for state (not-calibrated | calibration-required | calibrated | unspecified).ca.uhn.fhir.model.primitive.BoundCodeDt<DeviceMetricCalibrationStateEnum>getStateElement()Gets the value(s) for state (not-calibrated | calibration-required | calibrated | unspecified).DategetTime()Gets the value(s) for time (Describes the time last calibration has been performed).ca.uhn.fhir.model.primitive.InstantDtgetTimeElement()Gets the value(s) for time (Describes the time last calibration has been performed).StringgetType()Gets the value(s) for type (unspecified | offset | gain | two-point).ca.uhn.fhir.model.primitive.BoundCodeDt<DeviceMetricCalibrationTypeEnum>getTypeElement()Gets the value(s) for type (unspecified | offset | gain | two-point).booleanisEmpty()DeviceMetric.CalibrationsetState(DeviceMetricCalibrationStateEnum theValue)Sets the value(s) for state (not-calibrated | calibration-required | calibrated | unspecified)DeviceMetric.CalibrationsetState(ca.uhn.fhir.model.primitive.BoundCodeDt<DeviceMetricCalibrationStateEnum> theValue)Sets the value(s) for state (not-calibrated | calibration-required | calibrated | unspecified)DeviceMetric.CalibrationsetTime(ca.uhn.fhir.model.primitive.InstantDt theValue)Sets the value(s) for time (Describes the time last calibration has been performed)DeviceMetric.CalibrationsetTime(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)Sets the value for time (Describes the time last calibration has been performed)DeviceMetric.CalibrationsetTimeWithMillisPrecision(Date theDate)Sets the value for time (Describes the time last calibration has been performed)DeviceMetric.CalibrationsetType(DeviceMetricCalibrationTypeEnum theValue)Sets the value(s) for type (unspecified | offset | gain | two-point)DeviceMetric.CalibrationsetType(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
-
-
-
-
Constructor Detail
-
Calibration
public Calibration()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
- Specified by:
getAllPopulatedChildElementsOfTypein interfaceca.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 returnnull.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 returnnull.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
public DeviceMetric.Calibration setType(DeviceMetricCalibrationTypeEnum theValue)
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 returnnull.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 returnnull.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
public DeviceMetric.Calibration setState(DeviceMetricCalibrationStateEnum theValue)
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 returnnull.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 returnnull.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
public DeviceMetric.Calibration setTimeWithMillisPrecision(Date theDate)
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.
-
-