PREFIX fhir: PREFIX fhirvs: PREFIX xsd: BASE start=@ AND {fhir:nodeRole [fhir:treeRoot]} # Measurement, calculation or setting capability of a medical device CLOSED { a [fhir:DeviceMetric]; fhir:nodeRole [fhir:treeRoot]?; fhir:Resource.id id?; # Logical id of this artifact fhir:Resource.meta @?; # Metadata about the resource fhir:Resource.implicitRules @?; # A set of rules under which this # content was created fhir:Resource.language @?; # Language of the resource content fhir:DomainResource.text @?; # Text summary of the resource, for # human interpretation fhir:DomainResource.contained @*; # Contained, inline Resources fhir:DomainResource.extension @*; # Additional content defined by # implementations fhir:DomainResource.modifierExtension @*; # Extensions that cannot be ignored fhir:DeviceMetric.identifier @*; # Instance identifier fhir:DeviceMetric.type @; # Identity of metric, for example # Heart Rate or PEEP Setting fhir:DeviceMetric.unit @?; # Unit of Measure for the Metric fhir:DeviceMetric.source @?; # Describes the link to the source # Device fhir:DeviceMetric.parent @?; # Describes the link to the parent # Device fhir:DeviceMetric.operationalStatus @ AND {fhir:value @fhirvs:metric-operational-status}?; # on | off | standby | # entered-in-error fhir:DeviceMetric.color @ AND {fhir:value @fhirvs:metric-color}?; # black | red | green | yellow | # blue | magenta | cyan | white fhir:DeviceMetric.category @ AND {fhir:value @fhirvs:metric-category}; # measurement | setting | # calculation | unspecified fhir:DeviceMetric.measurementPeriod @?; # Describes the measurement # repetition time fhir:DeviceMetric.calibration @*; # Describes the calibrations that # have been performed or that are # required to be performed fhir:index xsd:integer? # Relative position in a list } # Describes the calibrations that have been performed or that are required to be performed CLOSED { fhir:Element.id string?; # Unique id for inter-element # referencing fhir:Element.extension @*; # Additional content defined by # implementations fhir:BackboneElement.modifierExtension @*; # Extensions that cannot be ignored # even if unrecognized fhir:DeviceMetric.calibration.type @ AND {fhir:value @fhirvs:metric-calibration-type}?; # unspecified | offset | gain | # two-point fhir:DeviceMetric.calibration.state @ AND {fhir:value @fhirvs:metric-calibration-state}?; # not-calibrated | # calibration-required | calibrated # | unspecified fhir:DeviceMetric.calibration.time @?; # Describes the time last # calibration has been performed fhir:index xsd:integer? # Relative position in a list } #---------------------- Data Types ------------------- # Optional Extensions Element CLOSED { fhir:Element.id id?; fhir:Element.extension @*; fhir:Extension.url uri; ( fhir:Extension.valueBase64Binary @ | fhir:Extension.valueBoolean @ | fhir:Extension.valueCanonical @ | fhir:Extension.valueCode @ | fhir:Extension.valueDate @ | fhir:Extension.valueDateTime @ | fhir:Extension.valueDecimal @ | fhir:Extension.valueId @ | fhir:Extension.valueInstant @ | fhir:Extension.valueInteger @ | fhir:Extension.valueMarkdown @ | fhir:Extension.valueOid @ | fhir:Extension.valuePositiveInt @ | fhir:Extension.valueString @ | fhir:Extension.valueTime @