Class DeviceMetric
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IResource
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseResource
Definition: Describes a measurement, calculation or setting capability of a medical device.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/DeviceMetric
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Block class for child element: DeviceMetric.calibration (Describes the calibrations that have been performed or that are required to be performed) -
Field Summary
Modifier and TypeFieldDescriptionstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for categorystatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for identifierstatic final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for parentstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for sourcestatic final String
Search parameter constant for categorystatic final String
Search parameter constant for identifierstatic final String
Search parameter constant for parentstatic final String
Search parameter constant for sourcestatic final String
Search parameter constant for typestatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for typeFields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for calibration (Describes the calibrations that have been performed or that are required to be performed)addCalibration
(DeviceMetric.Calibration theValue) Adds a given new value for calibration (Describes the calibrations that have been performed or that are required to be performed)<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for calibration (Describes the calibrations that have been performed or that are required to be performed).Gets the first repetition for calibration (Describes the calibrations that have been performed or that are required to be performed), creating it if it does not already exist.Gets the value(s) for category (measurement | setting | calculation | unspecified).ca.uhn.fhir.model.primitive.BoundCodeDt
<DeviceMetricCategoryEnum> Gets the value(s) for category (measurement | setting | calculation | unspecified).getColor()
Gets the value(s) for color (black | red | green | yellow | blue | magenta | cyan | white).ca.uhn.fhir.model.primitive.BoundCodeDt
<DeviceMetricColorEnum> Gets the value(s) for color (black | red | green | yellow | blue | magenta | cyan | white).Gets the value(s) for identifier (Unique identifier of this DeviceMetric).Gets the value(s) for measurementPeriod (Describes the measurement repetition time).Gets the value(s) for operationalStatus (on | off | standby).ca.uhn.fhir.model.primitive.BoundCodeDt
<DeviceMetricOperationalStatusEnum> Gets the value(s) for operationalStatus (on | off | standby).Gets the value(s) for parent (Describes the link to the parent DeviceComponent).Gets the value(s) for source (Describes the link to the source Device).ca.uhn.fhir.context.FhirVersionEnum
getType()
Gets the value(s) for type (Type of metric).getUnit()
Gets the value(s) for unit (Unit of metric).boolean
isEmpty()
setCalibration
(List<DeviceMetric.Calibration> theValue) Sets the value(s) for calibration (Describes the calibrations that have been performed or that are required to be performed)setCategory
(DeviceMetricCategoryEnum theValue) Sets the value(s) for category (measurement | setting | calculation | unspecified)setCategory
(ca.uhn.fhir.model.primitive.BoundCodeDt<DeviceMetricCategoryEnum> theValue) Sets the value(s) for category (measurement | setting | calculation | unspecified)setColor
(DeviceMetricColorEnum theValue) Sets the value(s) for color (black | red | green | yellow | blue | magenta | cyan | white)setColor
(ca.uhn.fhir.model.primitive.BoundCodeDt<DeviceMetricColorEnum> theValue) Sets the value(s) for color (black | red | green | yellow | blue | magenta | cyan | white)setIdentifier
(IdentifierDt theValue) Sets the value(s) for identifier (Unique identifier of this DeviceMetric)setMeasurementPeriod
(TimingDt theValue) Sets the value(s) for measurementPeriod (Describes the measurement repetition time)Sets the value(s) for operationalStatus (on | off | standby)setOperationalStatus
(ca.uhn.fhir.model.primitive.BoundCodeDt<DeviceMetricOperationalStatusEnum> theValue) Sets the value(s) for operationalStatus (on | off | standby)setParent
(ResourceReferenceDt theValue) Sets the value(s) for parent (Describes the link to the parent DeviceComponent)setSource
(ResourceReferenceDt theValue) Sets the value(s) for source (Describes the link to the source Device)setType
(CodeableConceptDt theValue) Sets the value(s) for type (Type of metric)setUnit
(CodeableConceptDt theValue) Sets the value(s) for unit (Unit of metric)Methods inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toString
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getIdElement, isDeleted, setId, setId
Methods inherited from interface ca.uhn.fhir.model.api.IResource
getContained, getId, getLanguage, getMeta, getResourceMetadata, getText, setId, setLanguage, setResourceMetadata
-
Field Details
-
SP_PARENT
Search parameter constant for parentDescription: The parent DeviceMetric resource
Type: reference
Path: DeviceMetric.parent
- See Also:
-
PARENT
Fluent Client search parameter constant for parentDescription: The parent DeviceMetric resource
Type: reference
Path: DeviceMetric.parent
-
SP_TYPE
Search parameter constant for typeDescription: The component type
Type: token
Path: DeviceMetric.type
- See Also:
-
TYPE
Fluent Client search parameter constant for typeDescription: The component type
Type: token
Path: DeviceMetric.type
-
SP_SOURCE
Search parameter constant for sourceDescription: The device resource
Type: reference
Path: DeviceMetric.source
- See Also:
-
SOURCE
Fluent Client search parameter constant for sourceDescription: The device resource
Type: reference
Path: DeviceMetric.source
-
SP_CATEGORY
Search parameter constant for categoryDescription: The category of the metric
Type: token
Path: DeviceMetric.category
- See Also:
-
CATEGORY
Fluent Client search parameter constant for categoryDescription: The category of the metric
Type: token
Path: DeviceMetric.category
-
SP_IDENTIFIER
Search parameter constant for identifierDescription: The identifier of the metric
Type: token
Path: DeviceMetric.identifier
- See Also:
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription: The identifier of the metric
Type: token
Path: DeviceMetric.identifier
-
INCLUDE_PARENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "DeviceMetric:parent". -
INCLUDE_SOURCE
Constant for fluent queries to be used to add include statements. Specifies the path value of "DeviceMetric:source".
-
-
Constructor Details
-
DeviceMetric
public DeviceMetric()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in 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:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getType
Gets the value(s) for type (Type of metric). creating it if it does not exist. Will not returnnull
.Definition: Describes the type of the metric. For example: Heart Rate, PEEP Setting, etc.
-
setType
Sets the value(s) for type (Type of metric)Definition: Describes the type of the metric. For example: Heart Rate, PEEP Setting, etc.
-
getIdentifier
Gets the value(s) for identifier (Unique identifier of this DeviceMetric). creating it if it does not exist. Will not returnnull
.Definition: Describes the unique identification of this metric that has been assigned by the device or gateway software. For example: handle ID. It should be noted that in order to make the identifier unique, the system element of the identifier should be set to the unique identifier of the device.
-
setIdentifier
Sets the value(s) for identifier (Unique identifier of this DeviceMetric)Definition: Describes the unique identification of this metric that has been assigned by the device or gateway software. For example: handle ID. It should be noted that in order to make the identifier unique, the system element of the identifier should be set to the unique identifier of the device.
-
getUnit
Gets the value(s) for unit (Unit of metric). creating it if it does not exist. Will not returnnull
.Definition: Describes the unit that an observed value determined for this metric will have. For example: Percent, Seconds, etc.
-
setUnit
Sets the value(s) for unit (Unit of metric)Definition: Describes the unit that an observed value determined for this metric will have. For example: Percent, Seconds, etc.
-
getSource
Gets the value(s) for source (Describes the link to the source Device). creating it if it does not exist. Will not returnnull
.Definition: Describes the link to the Device that this DeviceMetric belongs to and that contains administrative device information such as manufacture, serial number, etc.
-
setSource
Sets the value(s) for source (Describes the link to the source Device)Definition: Describes the link to the Device that this DeviceMetric belongs to and that contains administrative device information such as manufacture, serial number, etc.
-
getParent
Gets the value(s) for parent (Describes the link to the parent DeviceComponent). creating it if it does not exist. Will not returnnull
.Definition: Describes the link to the DeviceComponent that this DeviceMetric belongs to and that provide information about the location of this DeviceMetric in the containment structure of the parent Device. An example would be a DeviceComponent that represents a Channel. This reference can be used by a client application to distinguish DeviceMetrics that have the same type, but should be interpreted based on their containment location.
-
setParent
Sets the value(s) for parent (Describes the link to the parent DeviceComponent)Definition: Describes the link to the DeviceComponent that this DeviceMetric belongs to and that provide information about the location of this DeviceMetric in the containment structure of the parent Device. An example would be a DeviceComponent that represents a Channel. This reference can be used by a client application to distinguish DeviceMetrics that have the same type, but should be interpreted based on their containment location.
-
getOperationalStatusElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<DeviceMetricOperationalStatusEnum> getOperationalStatusElement()Gets the value(s) for operationalStatus (on | off | standby). creating it if it does not exist. Will not returnnull
.Definition: Indicates current operational state of the device. For example: On, Off, Standby, etc.
-
getOperationalStatus
Gets the value(s) for operationalStatus (on | off | standby). creating it if it does not exist. This method may returnnull
.Definition: Indicates current operational state of the device. For example: On, Off, Standby, etc.
-
setOperationalStatus
public DeviceMetric setOperationalStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<DeviceMetricOperationalStatusEnum> theValue) Sets the value(s) for operationalStatus (on | off | standby)Definition: Indicates current operational state of the device. For example: On, Off, Standby, etc.
-
setOperationalStatus
Sets the value(s) for operationalStatus (on | off | standby)Definition: Indicates current operational state of the device. For example: On, Off, Standby, etc.
-
getColorElement
Gets the value(s) for color (black | red | green | yellow | blue | magenta | cyan | white). creating it if it does not exist. Will not returnnull
.Definition: Describes the color representation for the metric. This is often used to aid clinicians to track and identify parameter types by color. In practice, consider a Patient Monitor that has ECG/HR and Pleth for example; the parameters are displayed in different characteristic colors, such as HR-blue, BP-green, and PR and SpO2- magenta.
-
getColor
Gets the value(s) for color (black | red | green | yellow | blue | magenta | cyan | white). creating it if it does not exist. This method may returnnull
.Definition: Describes the color representation for the metric. This is often used to aid clinicians to track and identify parameter types by color. In practice, consider a Patient Monitor that has ECG/HR and Pleth for example; the parameters are displayed in different characteristic colors, such as HR-blue, BP-green, and PR and SpO2- magenta.
-
setColor
public DeviceMetric setColor(ca.uhn.fhir.model.primitive.BoundCodeDt<DeviceMetricColorEnum> theValue) Sets the value(s) for color (black | red | green | yellow | blue | magenta | cyan | white)Definition: Describes the color representation for the metric. This is often used to aid clinicians to track and identify parameter types by color. In practice, consider a Patient Monitor that has ECG/HR and Pleth for example; the parameters are displayed in different characteristic colors, such as HR-blue, BP-green, and PR and SpO2- magenta.
-
setColor
Sets the value(s) for color (black | red | green | yellow | blue | magenta | cyan | white)Definition: Describes the color representation for the metric. This is often used to aid clinicians to track and identify parameter types by color. In practice, consider a Patient Monitor that has ECG/HR and Pleth for example; the parameters are displayed in different characteristic colors, such as HR-blue, BP-green, and PR and SpO2- magenta.
-
getCategoryElement
Gets the value(s) for category (measurement | setting | calculation | unspecified). creating it if it does not exist. Will not returnnull
.Definition: Indicates the category of the observation generation process. A DeviceMetric can be for example a setting, measurement, or calculation.
-
getCategory
Gets the value(s) for category (measurement | setting | calculation | unspecified). creating it if it does not exist. This method may returnnull
.Definition: Indicates the category of the observation generation process. A DeviceMetric can be for example a setting, measurement, or calculation.
-
setCategory
public DeviceMetric setCategory(ca.uhn.fhir.model.primitive.BoundCodeDt<DeviceMetricCategoryEnum> theValue) Sets the value(s) for category (measurement | setting | calculation | unspecified)Definition: Indicates the category of the observation generation process. A DeviceMetric can be for example a setting, measurement, or calculation.
-
setCategory
Sets the value(s) for category (measurement | setting | calculation | unspecified)Definition: Indicates the category of the observation generation process. A DeviceMetric can be for example a setting, measurement, or calculation.
-
getMeasurementPeriod
Gets the value(s) for measurementPeriod (Describes the measurement repetition time). creating it if it does not exist. Will not returnnull
.Definition: Describes the measurement repetition time. This is not necessarily the same as the update period. The measurement repetition time can range from milliseconds up to hours. An example for a measurement repetition time in the range of milliseconds is the sampling rate of an ECG. An example for a measurement repetition time in the range of hours is a NIBP that is triggered automatically every hour. The update period may be different than the measurement repetition time, if the device does not update the published observed value with the same frequency as it was measured.
-
setMeasurementPeriod
Sets the value(s) for measurementPeriod (Describes the measurement repetition time)Definition: Describes the measurement repetition time. This is not necessarily the same as the update period. The measurement repetition time can range from milliseconds up to hours. An example for a measurement repetition time in the range of milliseconds is the sampling rate of an ECG. An example for a measurement repetition time in the range of hours is a NIBP that is triggered automatically every hour. The update period may be different than the measurement repetition time, if the device does not update the published observed value with the same frequency as it was measured.
-
getCalibration
Gets the value(s) for calibration (Describes the calibrations that have been performed or that are required to be performed). creating it if it does not exist. Will not returnnull
.Definition: Describes the calibrations that have been performed or that are required to be performed
-
setCalibration
Sets the value(s) for 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
-
addCalibration
Adds and returns a new value for 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
-
addCalibration
Adds a given new value for 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
- Parameters:
theValue
- The calibration to add (must not benull
)
-
getCalibrationFirstRep
Gets the first repetition for calibration (Describes the calibrations that have been performed or that are required to be performed), creating it if it does not already exist.Definition: Describes the calibrations that have been performed or that are required to be performed
-
getResourceName
- Specified by:
getResourceName
in interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
- Specified by:
getStructureFhirVersionEnum
in interfaceorg.hl7.fhir.instance.model.api.IBaseResource
- Specified by:
getStructureFhirVersionEnum
in interfaceca.uhn.fhir.model.api.IResource
-