Package org.hl7.fhir.r5.model
Class DeviceMetric
java.lang.Object
org.hl7.fhir.r5.model.Base
org.hl7.fhir.r5.model.BaseResource
org.hl7.fhir.r5.model.Resource
org.hl7.fhir.r5.model.DomainResource
org.hl7.fhir.r5.model.DeviceMetric
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement
,Serializable
,org.hl7.fhir.instance.model.api.IAnyResource
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseHasExtensions
,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
,org.hl7.fhir.instance.model.api.IBaseResource
,org.hl7.fhir.instance.model.api.IDomainResource
Describes a measurement, calculation or setting capability of a device. The DeviceMetric resource is derived from the ISO/IEEE 11073-10201 Domain Information Model standard, but is more widely applicable.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
static class
static enum
static class
static enum
static class
static enum
static class
Nested classes/interfaces inherited from class org.hl7.fhir.r5.model.Base
Base.ProfileSource, Base.ValidationInfo, Base.ValidationMode, Base.ValidationReason
-
Field Summary
Modifier and TypeFieldDescriptionDescribes the calibrations that have been performed or that are required to be performed.protected Enumeration
<DeviceMetric.DeviceMetricCategory> Indicates the category of the observation generation process.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for categoryprotected CodeType
The preferred color associated with the metric (e.g., display color).protected Reference
Describes the link to the Device.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for deviceprotected List
<Identifier> Instance identifiers assigned to a device, by the device or gateway software, manufacturers, other organizations or owners.static 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.protected Quantity
The frequency at which the metric is taken or recorded.Indicates current operational state of the device.static final String
Search parameter: categorystatic final String
Search parameter: devicestatic final String
Search parameter: identifierstatic final String
Search parameter: typeprotected CodeableConcept
Describes the type of the metric.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for typeprotected CodeableConcept
Describes the unit that an observed value determined for this metric will have.Fields inherited from class org.hl7.fhir.r5.model.DomainResource
contained, extension, modifierExtension, SP_TEXT, text, TEXT
Fields inherited from class org.hl7.fhir.r5.model.Resource
id, implicitRules, language, meta
Fields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAG
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
ConstructorDescriptionConstructorDeviceMetric
(CodeableConcept type, Reference device, DeviceMetric.DeviceMetricCategory category) Constructor -
Method Summary
Modifier and TypeMethodDescriptioncopy()
void
copyValues
(DeviceMetric dst) boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
getColor()
getNamedProperty
(int _hash, String _name, boolean _checkValid) Base[]
getProperty
(int hash, String name, boolean checkValid) getType()
String[]
getTypesForProperty
(int hash, String name) getUnit()
boolean
boolean
boolean
boolean
hasColor()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasType()
boolean
hasUnit()
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) void
removeChild
(String name, Base value) setCalibration
(List<DeviceMetric.DeviceMetricCalibrationComponent> theCalibration) setColorElement
(CodeType value) setIdentifier
(List<Identifier> theIdentifier) setMeasurementFrequency
(Quantity value) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setType
(CodeableConcept value) setUnit
(CodeableConcept value) protected DeviceMetric
Methods inherited from class org.hl7.fhir.r5.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getStandardsStatus, getText, hasContained, hasExtension, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setStandardsStatus, setText
Methods inherited from class org.hl7.fhir.r5.model.Resource
copyValues, getFHIRPublicationVersion, getId, getIdBase, getIdElement, getIdPart, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, getSourcePackage, getWebPath, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, hasSourcePackage, hasWebPath, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta, setSourcePackage, setWebPath
Methods inherited from class org.hl7.fhir.r5.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
Methods inherited from class org.hl7.fhir.r5.model.Base
addDefinition, addFormatCommentsPost, addFormatCommentsPre, addValidationMessage, canHavePrimitiveValue, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyFormatComments, copyUserData, copyValues, dateTimeValue, equals, getChildByName, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getValidationInfo, getValidationMessages, getXhtml, hasFormatComment, hasFormatCommentPost, hasFormatCommentPre, hasPrimitiveValue, hasType, hasUserData, hasValidated, hasValidationInfo, hasValidationMessages, isBooleanPrimitive, isCopyUserData, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setCopyUserData, setUserData, setUserDataINN
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.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatComment
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
identifier
Instance identifiers assigned to a device, by the device or gateway software, manufacturers, other organizations or owners. For example, handle ID. -
type
Describes the type of the metric. For example: Heart Rate, PEEP Setting, etc. -
unit
Describes the unit that an observed value determined for this metric will have. For example: Percent, Seconds, etc. -
device
Describes the link to the Device. This is also known as a channel device. -
operationalStatus
Indicates current operational state of the device. For example: On, Off, Standby, etc. -
color
The preferred color associated with the metric (e.g., display color). 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; the metrics are displayed in different characteristic colors, such as HR in blue, BP in green, and PR and SpO2 in magenta. -
category
Indicates the category of the observation generation process. A DeviceMetric can be for example a setting, measurement, or calculation. -
measurementFrequency
The frequency at which the metric is taken or recorded. Devices measure metrics at a wide range of frequencies; for example, an ECG might sample measurements in the millisecond range, while an NIBP might trigger only once an hour. Less often, the measurementFrequency may be based on a unit other than time, such as distance (e.g. for a measuring wheel). The update period may be different than the measurement frequency, if the device does not update the published observed value with the same frequency as it was measured. -
calibration
Describes the calibrations that have been performed or that are required to be performed. -
SP_CATEGORY
Search parameter: 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_DEVICE
Search parameter: deviceDescription: The device resource
Type: reference
Path: DeviceMetric.device
- See Also:
-
DEVICE
Fluent Client search parameter constant for deviceDescription: The device resource
Type: reference
Path: DeviceMetric.device
-
INCLUDE_DEVICE
Constant for fluent queries to be used to add include statements. Specifies the path value of "DeviceMetric:device". -
SP_IDENTIFIER
Search parameter: 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
-
SP_TYPE
Search parameter: typeDescription: The type of metric
Type: token
Path: DeviceMetric.type
- See Also:
-
TYPE
Fluent Client search parameter constant for typeDescription: The type of metric
Type: token
Path: DeviceMetric.type
-
-
Constructor Details
-
DeviceMetric
public DeviceMetric()Constructor -
DeviceMetric
public DeviceMetric(CodeableConcept type, Reference device, DeviceMetric.DeviceMetricCategory category) Constructor
-
-
Method Details
-
getIdentifier
- Returns:
identifier
(Instance identifiers assigned to a device, by the device or gateway software, manufacturers, other organizations or owners. For example, handle ID.)
-
setIdentifier
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasIdentifier
-
addIdentifier
-
addIdentifier
-
getIdentifierFirstRep
- Returns:
- The first repetition of repeating field
identifier
, creating it if it does not already exist {3}
-
getType
- Returns:
type
(Describes the type of the metric. For example: Heart Rate, PEEP Setting, etc.)
-
hasType
-
setType
- Parameters:
value
-type
(Describes the type of the metric. For example: Heart Rate, PEEP Setting, etc.)
-
getUnit
- Returns:
unit
(Describes the unit that an observed value determined for this metric will have. For example: Percent, Seconds, etc.)
-
hasUnit
-
setUnit
- Parameters:
value
-unit
(Describes the unit that an observed value determined for this metric will have. For example: Percent, Seconds, etc.)
-
getDevice
- Returns:
device
(Describes the link to the Device. This is also known as a channel device.)
-
hasDevice
-
setDevice
- Parameters:
value
-device
(Describes the link to the Device. This is also known as a channel device.)
-
getOperationalStatusElement
- Returns:
operationalStatus
(Indicates current operational state of the device. For example: On, Off, Standby, etc.). This is the underlying object with id, value and extensions. The accessor "getOperationalStatus" gives direct access to the value
-
hasOperationalStatusElement
-
hasOperationalStatus
-
setOperationalStatusElement
public DeviceMetric setOperationalStatusElement(Enumeration<DeviceMetric.DeviceMetricOperationalStatus> value) - Parameters:
value
-operationalStatus
(Indicates current operational state of the device. For example: On, Off, Standby, etc.). This is the underlying object with id, value and extensions. The accessor "getOperationalStatus" gives direct access to the value
-
getOperationalStatus
- Returns:
- Indicates current operational state of the device. For example: On, Off, Standby, etc.
-
setOperationalStatus
- Parameters:
value
- Indicates current operational state of the device. For example: On, Off, Standby, etc.
-
getColorElement
- Returns:
color
(The preferred color associated with the metric (e.g., display color). 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; the metrics are displayed in different characteristic colors, such as HR in blue, BP in green, and PR and SpO2 in magenta.). This is the underlying object with id, value and extensions. The accessor "getColor" gives direct access to the value
-
hasColorElement
-
hasColor
-
setColorElement
- Parameters:
value
-color
(The preferred color associated with the metric (e.g., display color). 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; the metrics are displayed in different characteristic colors, such as HR in blue, BP in green, and PR and SpO2 in magenta.). This is the underlying object with id, value and extensions. The accessor "getColor" gives direct access to the value
-
getColor
- Returns:
- The preferred color associated with the metric (e.g., display color). 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; the metrics are displayed in different characteristic colors, such as HR in blue, BP in green, and PR and SpO2 in magenta.
-
setColor
- Parameters:
value
- The preferred color associated with the metric (e.g., display color). 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; the metrics are displayed in different characteristic colors, such as HR in blue, BP in green, and PR and SpO2 in magenta.
-
getCategoryElement
- Returns:
category
(Indicates the category of the observation generation process. A DeviceMetric can be for example a setting, measurement, or calculation.). This is the underlying object with id, value and extensions. The accessor "getCategory" gives direct access to the value
-
hasCategoryElement
-
hasCategory
-
setCategoryElement
- Parameters:
value
-category
(Indicates the category of the observation generation process. A DeviceMetric can be for example a setting, measurement, or calculation.). This is the underlying object with id, value and extensions. The accessor "getCategory" gives direct access to the value
-
getCategory
- Returns:
- Indicates the category of the observation generation process. A DeviceMetric can be for example a setting, measurement, or calculation.
-
setCategory
- Parameters:
value
- Indicates the category of the observation generation process. A DeviceMetric can be for example a setting, measurement, or calculation.
-
getMeasurementFrequency
- Returns:
measurementFrequency
(The frequency at which the metric is taken or recorded. Devices measure metrics at a wide range of frequencies; for example, an ECG might sample measurements in the millisecond range, while an NIBP might trigger only once an hour. Less often, the measurementFrequency may be based on a unit other than time, such as distance (e.g. for a measuring wheel). The update period may be different than the measurement frequency, if the device does not update the published observed value with the same frequency as it was measured.)
-
hasMeasurementFrequency
-
setMeasurementFrequency
- Parameters:
value
-measurementFrequency
(The frequency at which the metric is taken or recorded. Devices measure metrics at a wide range of frequencies; for example, an ECG might sample measurements in the millisecond range, while an NIBP might trigger only once an hour. Less often, the measurementFrequency may be based on a unit other than time, such as distance (e.g. for a measuring wheel). The update period may be different than the measurement frequency, if the device does not update the published observed value with the same frequency as it was measured.)
-
getCalibration
- Returns:
calibration
(Describes the calibrations that have been performed or that are required to be performed.)
-
setCalibration
public DeviceMetric setCalibration(List<DeviceMetric.DeviceMetricCalibrationComponent> theCalibration) - Returns:
- Returns a reference to
this
for easy method chaining
-
hasCalibration
-
addCalibration
-
addCalibration
-
getCalibrationFirstRep
- Returns:
- The first repetition of repeating field
calibration
, creating it if it does not already exist {3}
-
listChildren
- Overrides:
listChildren
in classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
removeChild
- Overrides:
removeChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makeProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
- Returns:
- the FHIR type name of the instance (not the java class name)
-
copy
- Specified by:
copy
in classDomainResource
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
- Specified by:
getResourceType
in classResource
-