
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
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumstatic classstatic enumstatic classstatic enumstatic classstatic enumstatic classNested classes/interfaces inherited from class org.hl7.fhir.r5.model.Base
Base.ProfileSource, Base.ValidationInfo, Base.ValidationMode, Base.ValidationReason -
Field Summary
FieldsModifier 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.TokenClientParamFluent Client search parameter constant for categoryprotected CodeTypeThe preferred color associated with the metric (e.g., display color).protected ReferenceDescribes the link to the Device.static final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent 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.TokenClientParamFluent Client search parameter constant for identifierstatic final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.protected QuantityThe frequency at which the metric is taken or recorded.Indicates current operational state of the device.static final StringSearch parameter: categorystatic final StringSearch parameter: devicestatic final StringSearch parameter: identifierstatic final StringSearch parameter: typeprotected CodeableConceptDescribes the type of the metric.static final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for typeprotected CodeableConceptDescribes 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, TEXTFields inherited from class org.hl7.fhir.r5.model.Resource
id, implicitRules, language, metaFields 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_TAGFields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET -
Constructor Summary
ConstructorsConstructorDescriptionConstructorDeviceMetric(CodeableConcept type, Reference device, DeviceMetric.DeviceMetricCategory category) Constructor -
Method Summary
Modifier and TypeMethodDescriptioncopy()voidcopyValues(DeviceMetric dst) booleanequalsDeep(Base other_) booleanequalsShallow(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()booleanbooleanbooleanbooleanhasColor()booleanbooleanbooleanbooleanbooleanbooleanbooleanhasType()booleanhasUnit()booleanisEmpty()protected voidlistChildren(List<Property> children) makeProperty(int hash, String name) voidremoveChild(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 DeviceMetricMethods inherited from class org.hl7.fhir.r5.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getExtensionsByUrl, getExtensionString, getExtensionString, getModifierExtension, getModifierExtensionsByUrl, getStandardsStatus, getText, hasContained, hasExtension, hasExtension, hasExtension, hasModifierExtension, hasPrimitiveExtension, hasText, setContained, setExtension, setModifierExtension, setStandardsStatus, setTextMethods 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, setWebPathMethods inherited from class org.hl7.fhir.r5.model.BaseResource
getStructureFhirVersionEnum, isResource, setIdMethods 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, executeFunction, 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, setXhtmlMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatCommentMethods 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
thisfor 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
thisfor 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:
listChildrenin classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
removeChild
- Overrides:
removeChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makePropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource- Returns:
- the FHIR type name of the instance (not the java class name)
-
copy
- Specified by:
copyin classDomainResource
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
- Specified by:
getResourceTypein classResource
-