json_schema: {"schema": "http://json-schema.org/draft-04/schema#", "$id": "http://hl7.org/fhir/json-schema/DeviceMetric", "$ref": "#/definitions/DeviceMetric", "description": "see http://hl7.org/fhir/json.html#schema for information about the FHIR Json Schemas", "definitions": {"DeviceMetric": {"allOf": [{"$ref": "DomainResource#/definitions/DomainResource"}, {"description": "Describes a measurement, calculation or setting capability of a medical device.", "properties": {"resourceType": {"description": "This is a DeviceMetric resource", "type": "string", "enum": ["DeviceMetric"]}, "identifier": {"description": "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.", "$ref": "http://hl7.org/fhir/json-schema/Identifier#/definitions/Identifier"}, "type": {"description": "Describes the type of the metric. For example: Heart Rate, PEEP Setting, etc.", "$ref": "http://hl7.org/fhir/json-schema/CodeableConcept#/definitions/CodeableConcept"}, "unit": {"description": "Describes the unit that an observed value determined for this metric will have. For example: Percent, Seconds, etc.", "$ref": "http://hl7.org/fhir/json-schema/CodeableConcept#/definitions/CodeableConcept"}, "source": {"description": "Describes the link to the  Device that this DeviceMetric belongs to and that contains administrative device information such as manufacturer, serial number, etc.", "$ref": "http://hl7.org/fhir/json-schema/Reference#/definitions/Reference"}, "parent": {"description": "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.", "$ref": "http://hl7.org/fhir/json-schema/Reference#/definitions/Reference"}, "operationalStatus": {"description": "Indicates current operational state of the device. For example: On, Off, Standby, etc.", "enum": ["on", "off", "standby", "entered-in-error"], "type": "string"}, "_operationalStatus": {"description": "Extensions for operationalStatus", "$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element"}, "color": {"description": "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.", "enum": ["black", "red", "green", "yellow", "blue", "magenta", "cyan", "white"], "type": "string"}, "_color": {"description": "Extensions for color", "$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element"}, "category": {"description": "Indicates the category of the observation generation process. A DeviceMetric can be for example a setting, measurement, or calculation.", "enum": ["measurement", "setting", "calculation", "unspecified"], "type": "string"}, "_category": {"description": "Extensions for category", "$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element"}, "measurementPeriod": {"description": "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.", "$ref": "http://hl7.org/fhir/json-schema/Timing#/definitions/Timing"}, "calibration": {"description": "Describes the calibrations that have been performed or that are required to be performed.", "type": "array", "items": {"$ref": "#/definitions/DeviceMetric_Calibration"}}}, "required": ["identifier", "type", "resourceType"]}]}, "DeviceMetric_Calibration": {"allOf": [{"$ref": "BackboneElement#/definitions/BackboneElement"}, {"description": "Describes a measurement, calculation or setting capability of a medical device.", "properties": {"type": {"description": "Describes the type of the calibration method.", "enum": ["unspecified", "offset", "gain", "two-point"], "type": "string"}, "_type": {"description": "Extensions for type", "$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element"}, "state": {"description": "Describes the state of the calibration.", "enum": ["not-calibrated", "calibration-required", "calibrated", "unspecified"], "type": "string"}, "_state": {"description": "Extensions for state", "$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element"}, "time": {"description": "Describes the time last calibration has been performed.", "type": "string"}, "_time": {"description": "Extensions for time", "$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element"}}}]}}}