public class DeviceMetric extends BaseResource implements IResource
Definition: Describes a measurement, calculation or setting capability of a medical device.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/DeviceMetric
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceMetric.Calibration
Block class for child element: DeviceMetric.calibration (Describes the calibrations that have been performed or that are required to be performed)
|
| Modifier and Type | Field and Description |
|---|---|
static TokenClientParam |
CATEGORY
Fluent Client search parameter constant for category
|
static TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static Include |
INCLUDE_PARENT
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_SOURCE
Constant for fluent queries to be used to add include statements.
|
static ReferenceClientParam |
PARENT
Fluent Client search parameter constant for parent
|
static ReferenceClientParam |
SOURCE
Fluent Client search parameter constant for source
|
static String |
SP_CATEGORY
Search parameter constant for category
|
static String |
SP_IDENTIFIER
Search parameter constant for identifier
|
static String |
SP_PARENT
Search parameter constant for parent
|
static String |
SP_SOURCE
Search parameter constant for source
|
static String |
SP_TYPE
Search parameter constant for type
|
static TokenClientParam |
TYPE
Fluent Client search parameter constant for type
|
RES_ID, SP_RES_ID, SP_RES_LANGUAGEINCLUDE_ALL, WILDCARD_ALL_SET| Constructor and Description |
|---|
DeviceMetric() |
| Modifier and Type | Method and Description |
|---|---|
DeviceMetric.Calibration |
addCalibration()
Adds and returns a new value for calibration (Describes the calibrations that have been performed or that are required to be performed)
|
DeviceMetric |
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 IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
List<DeviceMetric.Calibration> |
getCalibration()
Gets the value(s) for calibration (Describes the calibrations that have been performed or that are required to be performed).
|
DeviceMetric.Calibration |
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.
|
String |
getCategory()
Gets the value(s) for category (measurement | setting | calculation | unspecified).
|
BoundCodeDt<DeviceMetricCategoryEnum> |
getCategoryElement()
Gets the value(s) for category (measurement | setting | calculation | unspecified).
|
String |
getColor()
Gets the value(s) for color (black | red | green | yellow | blue | magenta | cyan | white).
|
BoundCodeDt<DeviceMetricColorEnum> |
getColorElement()
Gets the value(s) for color (black | red | green | yellow | blue | magenta | cyan | white).
|
IdentifierDt |
getIdentifier()
Gets the value(s) for identifier (Unique identifier of this DeviceMetric).
|
TimingDt |
getMeasurementPeriod()
Gets the value(s) for measurementPeriod (Describes the measurement repetition time).
|
String |
getOperationalStatus()
Gets the value(s) for operationalStatus (on | off | standby).
|
BoundCodeDt<DeviceMetricOperationalStatusEnum> |
getOperationalStatusElement()
Gets the value(s) for operationalStatus (on | off | standby).
|
ResourceReferenceDt |
getParent()
Gets the value(s) for parent (Describes the link to the parent DeviceComponent).
|
String |
getResourceName() |
ResourceReferenceDt |
getSource()
Gets the value(s) for source (Describes the link to the source Device).
|
FhirVersionEnum |
getStructureFhirVersionEnum() |
CodeableConceptDt |
getType()
Gets the value(s) for type (Type of metric).
|
CodeableConceptDt |
getUnit()
Gets the value(s) for unit (Unit of metric).
|
boolean |
isEmpty() |
DeviceMetric |
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)
|
DeviceMetric |
setCategory(BoundCodeDt<DeviceMetricCategoryEnum> theValue)
Sets the value(s) for category (measurement | setting | calculation | unspecified)
|
DeviceMetric |
setCategory(DeviceMetricCategoryEnum theValue)
Sets the value(s) for category (measurement | setting | calculation | unspecified)
|
DeviceMetric |
setColor(BoundCodeDt<DeviceMetricColorEnum> theValue)
Sets the value(s) for color (black | red | green | yellow | blue | magenta | cyan | white)
|
DeviceMetric |
setColor(DeviceMetricColorEnum theValue)
Sets the value(s) for color (black | red | green | yellow | blue | magenta | cyan | white)
|
DeviceMetric |
setIdentifier(IdentifierDt theValue)
Sets the value(s) for identifier (Unique identifier of this DeviceMetric)
|
DeviceMetric |
setMeasurementPeriod(TimingDt theValue)
Sets the value(s) for measurementPeriod (Describes the measurement repetition time)
|
DeviceMetric |
setOperationalStatus(BoundCodeDt<DeviceMetricOperationalStatusEnum> theValue)
Sets the value(s) for operationalStatus (on | off | standby)
|
DeviceMetric |
setOperationalStatus(DeviceMetricOperationalStatusEnum theValue)
Sets the value(s) for operationalStatus (on | off | standby)
|
DeviceMetric |
setParent(ResourceReferenceDt theValue)
Sets the value(s) for parent (Describes the link to the parent DeviceComponent)
|
DeviceMetric |
setSource(ResourceReferenceDt theValue)
Sets the value(s) for source (Describes the link to the source Device)
|
DeviceMetric |
setType(CodeableConceptDt theValue)
Sets the value(s) for type (Type of metric)
|
DeviceMetric |
setUnit(CodeableConceptDt theValue)
Sets the value(s) for unit (Unit of metric)
|
getContained, getId, getIdElement, getLanguage, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toStringaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContained, getId, getLanguage, getResourceMetadata, getText, setId, setLanguage, setResourceMetadatagetIdElement, setId, setIdpublic static final String SP_PARENT
Description: The parent DeviceMetric resource
Type: reference
Path: DeviceMetric.parent
public static final ReferenceClientParam PARENT
Description: The parent DeviceMetric resource
Type: reference
Path: DeviceMetric.parent
public static final String SP_TYPE
Description: The component type
Type: token
Path: DeviceMetric.type
public static final TokenClientParam TYPE
Description: The component type
Type: token
Path: DeviceMetric.type
public static final String SP_SOURCE
Description: The device resource
Type: reference
Path: DeviceMetric.source
public static final ReferenceClientParam SOURCE
Description: The device resource
Type: reference
Path: DeviceMetric.source
public static final String SP_CATEGORY
Description: The category of the metric
Type: token
Path: DeviceMetric.category
public static final TokenClientParam CATEGORY
Description: The category of the metric
Type: token
Path: DeviceMetric.category
public static final String SP_IDENTIFIER
Description: The identifier of the metric
Type: token
Path: DeviceMetric.identifier
public static final TokenClientParam IDENTIFIER
Description: The identifier of the metric
Type: token
Path: DeviceMetric.identifier
public static final Include INCLUDE_PARENT
public static final Include INCLUDE_SOURCE
public DeviceMetric()
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ICompositeElementpublic CodeableConceptDt getType()
null.
Definition: Describes the type of the metric. For example: Heart Rate, PEEP Setting, etc.
public DeviceMetric setType(CodeableConceptDt theValue)
Definition: Describes the type of the metric. For example: Heart Rate, PEEP Setting, etc.
public IdentifierDt getIdentifier()
null.
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.
public DeviceMetric setIdentifier(IdentifierDt theValue)
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.
public CodeableConceptDt getUnit()
null.
Definition: Describes the unit that an observed value determined for this metric will have. For example: Percent, Seconds, etc.
public DeviceMetric setUnit(CodeableConceptDt theValue)
Definition: Describes the unit that an observed value determined for this metric will have. For example: Percent, Seconds, etc.
public ResourceReferenceDt getSource()
null.
Definition: Describes the link to the Device that this DeviceMetric belongs to and that contains administrative device information such as manufacture, serial number, etc.
public DeviceMetric setSource(ResourceReferenceDt theValue)
Definition: Describes the link to the Device that this DeviceMetric belongs to and that contains administrative device information such as manufacture, serial number, etc.
public ResourceReferenceDt getParent()
null.
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.
public DeviceMetric setParent(ResourceReferenceDt theValue)
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.
public BoundCodeDt<DeviceMetricOperationalStatusEnum> getOperationalStatusElement()
null.
Definition: Indicates current operational state of the device. For example: On, Off, Standby, etc.
public String getOperationalStatus()
null.
Definition: Indicates current operational state of the device. For example: On, Off, Standby, etc.
public DeviceMetric setOperationalStatus(BoundCodeDt<DeviceMetricOperationalStatusEnum> theValue)
Definition: Indicates current operational state of the device. For example: On, Off, Standby, etc.
public DeviceMetric setOperationalStatus(DeviceMetricOperationalStatusEnum theValue)
Definition: Indicates current operational state of the device. For example: On, Off, Standby, etc.
public BoundCodeDt<DeviceMetricColorEnum> getColorElement()
null.
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.
public String getColor()
null.
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.
public DeviceMetric setColor(BoundCodeDt<DeviceMetricColorEnum> theValue)
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.
public DeviceMetric setColor(DeviceMetricColorEnum theValue)
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.
public BoundCodeDt<DeviceMetricCategoryEnum> getCategoryElement()
null.
Definition: Indicates the category of the observation generation process. A DeviceMetric can be for example a setting, measurement, or calculation.
public String getCategory()
null.
Definition: Indicates the category of the observation generation process. A DeviceMetric can be for example a setting, measurement, or calculation.
public DeviceMetric setCategory(BoundCodeDt<DeviceMetricCategoryEnum> theValue)
Definition: Indicates the category of the observation generation process. A DeviceMetric can be for example a setting, measurement, or calculation.
public DeviceMetric setCategory(DeviceMetricCategoryEnum theValue)
Definition: Indicates the category of the observation generation process. A DeviceMetric can be for example a setting, measurement, or calculation.
public TimingDt getMeasurementPeriod()
null.
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.
public DeviceMetric setMeasurementPeriod(TimingDt theValue)
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.
public List<DeviceMetric.Calibration> getCalibration()
null.
Definition: Describes the calibrations that have been performed or that are required to be performed
public DeviceMetric setCalibration(List<DeviceMetric.Calibration> theValue)
Definition: Describes the calibrations that have been performed or that are required to be performed
public DeviceMetric.Calibration addCalibration()
Definition: Describes the calibrations that have been performed or that are required to be performed
public DeviceMetric addCalibration(DeviceMetric.Calibration theValue)
Definition: Describes the calibrations that have been performed or that are required to be performed
theValue - The calibration to add (must not be null)public DeviceMetric.Calibration getCalibrationFirstRep()
Definition: Describes the calibrations that have been performed or that are required to be performed
public String getResourceName()
getResourceName in interface IResourcepublic FhirVersionEnum getStructureFhirVersionEnum()
getStructureFhirVersionEnum in interface IResourcegetStructureFhirVersionEnum in interface IBaseResourceCopyright © 2014–2016 University Health Network. All rights reserved.