Extensions for Using Data Elements from FHIR STU3 in FHIR R4B
0.1.0 - STU International flag

Extensions for Using Data Elements from FHIR STU3 in FHIR R4B - Downloaded Version null See the Directory of published versions

Resource Profile: Profile_R3_DeviceMetric_R4B

Official URL: http://hl7.org/fhir/3.0/StructureDefinition/profile-DeviceMetric Version: 0.1.0
Standards status: Trial-use Maturity Level: 0 Computable Name: Profile_R3_DeviceMetric_R4B

This cross-version profile allows STU3 DeviceMetric content to be represented via FHIR R4B DeviceMetric resources.

Usages:

  • This Profile is not used by any profiles in this Implementation Guide

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DeviceMetric 0..* DeviceMetric(4.3.0) Measurement, calculation or setting capability of a medical device
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... type Σ 1..1 CodeableConcept Identity of metric, for example Heart Rate or PEEP Setting
Binding: DeviceMetricAndComponentTypes (preferred): IEEE 11073-10101

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
DeviceMetric.type Base preferred Device Metric and Component Types 📍4.3.0 FHIR Std.
DeviceMetric.category Base required DeviceMetricCategory 📍4.3.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error DeviceMetric If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error DeviceMetric If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where(((id.exists() and ('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url)))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(uri) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error DeviceMetric If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error DeviceMetric If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice DeviceMetric A resource should have narrative for robust management text.`div`.exists()
ele-1 error DeviceMetric.implicitRules, DeviceMetric.modifierExtension, DeviceMetric.type, DeviceMetric.category All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error DeviceMetric.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from DeviceMetric

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DeviceMetric 0..* DeviceMetric(4.3.0) Measurement, calculation or setting capability of a medical device
... meta
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:meta 0..1 (Complex) STU3: meta additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-DeviceMetric.meta
... text
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:text 0..1 (Complex) STU3: text additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-DeviceMetric.text
... identifier
.... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:identifier 1..1 Identifier STU3: Unique identifier of this DeviceMetric additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-DeviceMetric.identifier
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:source 0..1 Reference(Resource) STU3: source additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... parent
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:parent 0..1 Reference(Resource) STU3: Describes the link to the parent DeviceComponent additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... measurementPeriod
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:measurementPeriod 0..1 Timing STU3: measurementPeriod additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-DeviceMetric.measurementPeriod

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DeviceMetric 0..* DeviceMetric(4.3.0) Measurement, calculation or setting capability of a medical device
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:meta 0..1 (Complex) STU3: meta additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-DeviceMetric.meta
Constraints: ext-1
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible)
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example)
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:text 0..1 (Complex) STU3: text additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-DeviceMetric.text
Constraints: ext-1
.... status 1..1 code generated | extensions | additional | empty
Binding: NarrativeStatus (required)
.... div C 1..1 xhtml Limited xhtml content
Constraints: txt-1, txt-2
... contained 0..* Resource Contained, inline Resources
Constraints: dom-r4b
... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... identifier Σ 0..* Identifier Instance identifier
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:identifier 1..1 Identifier STU3: Unique identifier of this DeviceMetric additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-DeviceMetric.identifier
Constraints: ext-1
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required)
.... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible)
.... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value Σ 0..1 string The value that is unique
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... type Σ 1..1 CodeableConcept Identity of metric, for example Heart Rate or PEEP Setting
Binding: DeviceMetricAndComponentTypes (preferred): IEEE 11073-10101
... unit Σ 0..1 CodeableConcept Unit of Measure for the Metric
Binding: DeviceMetricAndComponentTypes (preferred): IEEE 11073-10101
... source Σ 0..1 Reference(Device) Describes the link to the source Device
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:source 0..1 Reference(Resource) STU3: source additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible)
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... parent Σ 0..1 Reference(Device) Describes the link to the parent Device
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:parent 0..1 Reference(Resource) STU3: Describes the link to the parent DeviceComponent additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible)
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... operationalStatus Σ 0..1 code on | off | standby | entered-in-error
Binding: DeviceMetricOperationalStatus (required): Describes the operational status of the DeviceMetric.
... color Σ 0..1 code black | red | green | yellow | blue | magenta | cyan | white
Binding: DeviceMetricColor (required): Describes the typical color of representation.
... category Σ 1..1 code measurement | setting | calculation | unspecified
Binding: DeviceMetricCategory (required): Describes the category of the metric.
... measurementPeriod Σ 0..1 Timing Describes the measurement repetition time
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:measurementPeriod 0..1 Timing STU3: measurementPeriod additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-DeviceMetric.measurementPeriod
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... event Σ 0..* dateTime When the event occurs
.... repeat ΣC 0..1 Element When the event is to occur
Constraints: tim-1, tim-2, tim-4, tim-5, tim-6, tim-7, tim-8, tim-9, tim-10
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
..... bounds[x] Σ 0..1 Length/Range of lengths, or (Start and/or end) limits
...... boundsDuration Duration
...... boundsRange Range
...... boundsPeriod Period
..... count Σ 0..1 positiveInt Number of times to repeat
..... countMax Σ 0..1 positiveInt Maximum number of times to repeat
..... duration Σ 0..1 decimal How long when it happens
..... durationMax Σ 0..1 decimal How long when it happens (Max)
..... durationUnit Σ 0..1 code s | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required)
..... frequency Σ 0..1 positiveInt Event occurs frequency times per period
..... frequencyMax Σ 0..1 positiveInt Event occurs up to frequencyMax times per period
..... period Σ 0..1 decimal Event occurs frequency times per period
..... periodMax Σ 0..1 decimal Upper limit of period (3-4 hours)
..... periodUnit Σ 0..1 code s | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required)
..... dayOfWeek Σ 0..* code mon | tue | wed | thu | fri | sat | sun
Binding: DaysOfWeek (required)
..... timeOfDay Σ 0..* time Time of day for action
..... when Σ 0..* code Code for time period of occurrence
Binding: EventTiming (required)
..... offset Σ 0..1 unsignedInt Minutes from event (before or after)
.... code Σ 0..1 CodeableConcept BID | TID | QID | AM | PM | QD | QOD | +
Binding: TimingAbbreviation (preferred)
... calibration Σ 0..* BackboneElement Describes the calibrations that have been performed or that are required to be performed
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... type Σ 0..1 code unspecified | offset | gain | two-point
Binding: DeviceMetricCalibrationType (required): Describes the type of a metric calibration.
.... state Σ 0..1 code not-calibrated | calibration-required | calibrated | unspecified
Binding: DeviceMetricCalibrationState (required): Describes the state of a metric calibration.
.... time Σ 0..1 instant Describes the time last calibration has been performed

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
DeviceMetric.meta.security Base extensible SecurityLabels 📍4.3.0 FHIR Std.
DeviceMetric.meta.tag Base example Common Tags 📍4.3.0 FHIR Std.
DeviceMetric.language Base preferred Common Languages 📍4.3.0 FHIR Std.
DeviceMetric.text.status Base required NarrativeStatus 📍4.3.0 FHIR Std.
DeviceMetric.identifier.​use Base required IdentifierUse 📍4.3.0 FHIR Std.
DeviceMetric.identifier.​type Base extensible IdentifierType 📍4.3.0 FHIR Std.
DeviceMetric.type Base preferred Device Metric and Component Types 📍4.3.0 FHIR Std.
DeviceMetric.unit Base preferred Device Metric and Component Types 📍4.3.0 FHIR Std.
DeviceMetric.source.​type Base extensible ResourceType 📍4.3.0 FHIR Std.
DeviceMetric.parent.​type Base extensible ResourceType 📍4.3.0 FHIR Std.
DeviceMetric.operationalStatus Base required DeviceMetricOperationalStatus 📍4.3.0 FHIR Std.
DeviceMetric.color Base required DeviceMetricColor 📍4.3.0 FHIR Std.
DeviceMetric.category Base required DeviceMetricCategory 📍4.3.0 FHIR Std.
DeviceMetric.measurementPeriod.​repeat.durationUnit Base required UnitsOfTime 📍4.3.0 FHIR Std.
DeviceMetric.measurementPeriod.​repeat.periodUnit Base required UnitsOfTime 📍4.3.0 FHIR Std.
DeviceMetric.measurementPeriod.​repeat.dayOfWeek Base required DaysOfWeek 📍4.3.0 FHIR Std.
DeviceMetric.measurementPeriod.​repeat.when Base required EventTiming 📍4.3.0 FHIR Std.
DeviceMetric.measurementPeriod.​code Base preferred TimingAbbreviation 📍4.3.0 FHIR Std.
DeviceMetric.calibration.​type Base required DeviceMetricCalibrationType 📍4.3.0 FHIR Std.
DeviceMetric.calibration.​state Base required DeviceMetricCalibrationState 📍4.3.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error DeviceMetric If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error DeviceMetric If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where(((id.exists() and ('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url)))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(uri) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error DeviceMetric If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error DeviceMetric If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice DeviceMetric A resource should have narrative for robust management text.`div`.exists()
dom-r4b warning DeviceMetric.contained Containing new R4B resources within R4 resources may cause interoperability issues if instances are shared with R4 systems ($this is Citation or $this is Evidence or $this is EvidenceReport or $this is EvidenceVariable or $this is MedicinalProductDefinition or $this is PackagedProductDefinition or $this is AdministrableProductDefinition or $this is Ingredient or $this is ClinicalUseDefinition or $this is RegulatedAuthorization or $this is SubstanceDefinition or $this is SubscriptionStatus or $this is SubscriptionTopic) implies (%resource is Citation or %resource is Evidence or %resource is EvidenceReport or %resource is EvidenceVariable or %resource is MedicinalProductDefinition or %resource is PackagedProductDefinition or %resource is AdministrableProductDefinition or %resource is Ingredient or %resource is ClinicalUseDefinition or %resource is RegulatedAuthorization or %resource is SubstanceDefinition or %resource is SubscriptionStatus or %resource is SubscriptionTopic)
ele-1 error DeviceMetric.meta, DeviceMetric.meta.extension, DeviceMetric.meta.extension:meta, DeviceMetric.meta.versionId, DeviceMetric.meta.lastUpdated, DeviceMetric.meta.source, DeviceMetric.meta.profile, DeviceMetric.meta.security, DeviceMetric.meta.tag, DeviceMetric.implicitRules, DeviceMetric.language, DeviceMetric.text, DeviceMetric.text.extension, DeviceMetric.text.extension:text, DeviceMetric.text.status, DeviceMetric.text.div, DeviceMetric.extension, DeviceMetric.modifierExtension, DeviceMetric.identifier, DeviceMetric.identifier.extension, DeviceMetric.identifier.extension:identifier, DeviceMetric.identifier.use, DeviceMetric.identifier.type, DeviceMetric.identifier.system, DeviceMetric.identifier.value, DeviceMetric.identifier.period, DeviceMetric.identifier.assigner, DeviceMetric.type, DeviceMetric.unit, DeviceMetric.source, DeviceMetric.source.extension, DeviceMetric.source.extension:source, DeviceMetric.source.reference, DeviceMetric.source.type, DeviceMetric.source.identifier, DeviceMetric.source.display, DeviceMetric.parent, DeviceMetric.parent.extension, DeviceMetric.parent.extension:parent, DeviceMetric.parent.reference, DeviceMetric.parent.type, DeviceMetric.parent.identifier, DeviceMetric.parent.display, DeviceMetric.operationalStatus, DeviceMetric.color, DeviceMetric.category, DeviceMetric.measurementPeriod, DeviceMetric.measurementPeriod.extension, DeviceMetric.measurementPeriod.extension:measurementPeriod, DeviceMetric.measurementPeriod.modifierExtension, DeviceMetric.measurementPeriod.event, DeviceMetric.measurementPeriod.repeat, DeviceMetric.measurementPeriod.repeat.extension, DeviceMetric.measurementPeriod.repeat.bounds[x], DeviceMetric.measurementPeriod.repeat.count, DeviceMetric.measurementPeriod.repeat.countMax, DeviceMetric.measurementPeriod.repeat.duration, DeviceMetric.measurementPeriod.repeat.durationMax, DeviceMetric.measurementPeriod.repeat.durationUnit, DeviceMetric.measurementPeriod.repeat.frequency, DeviceMetric.measurementPeriod.repeat.frequencyMax, DeviceMetric.measurementPeriod.repeat.period, DeviceMetric.measurementPeriod.repeat.periodMax, DeviceMetric.measurementPeriod.repeat.periodUnit, DeviceMetric.measurementPeriod.repeat.dayOfWeek, DeviceMetric.measurementPeriod.repeat.timeOfDay, DeviceMetric.measurementPeriod.repeat.when, DeviceMetric.measurementPeriod.repeat.offset, DeviceMetric.measurementPeriod.code, DeviceMetric.calibration, DeviceMetric.calibration.extension, DeviceMetric.calibration.modifierExtension, DeviceMetric.calibration.type, DeviceMetric.calibration.state, DeviceMetric.calibration.time All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error DeviceMetric.meta.extension, DeviceMetric.meta.extension:meta, DeviceMetric.text.extension, DeviceMetric.text.extension:text, DeviceMetric.extension, DeviceMetric.modifierExtension, DeviceMetric.identifier.extension, DeviceMetric.identifier.extension:identifier, DeviceMetric.source.extension, DeviceMetric.source.extension:source, DeviceMetric.parent.extension, DeviceMetric.parent.extension:parent, DeviceMetric.measurementPeriod.extension, DeviceMetric.measurementPeriod.extension:measurementPeriod, DeviceMetric.measurementPeriod.modifierExtension, DeviceMetric.measurementPeriod.repeat.extension, DeviceMetric.calibration.extension, DeviceMetric.calibration.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()
tim-1 error DeviceMetric.measurementPeriod.repeat if there's a duration, there needs to be duration units duration.empty() or durationUnit.exists()
tim-2 error DeviceMetric.measurementPeriod.repeat if there's a period, there needs to be period units period.empty() or periodUnit.exists()
tim-4 error DeviceMetric.measurementPeriod.repeat duration SHALL be a non-negative value duration.exists() implies duration >= 0
tim-5 error DeviceMetric.measurementPeriod.repeat period SHALL be a non-negative value period.exists() implies period >= 0
tim-6 error DeviceMetric.measurementPeriod.repeat If there's a periodMax, there must be a period periodMax.empty() or period.exists()
tim-7 error DeviceMetric.measurementPeriod.repeat If there's a durationMax, there must be a duration durationMax.empty() or duration.exists()
tim-8 error DeviceMetric.measurementPeriod.repeat If there's a countMax, there must be a count countMax.empty() or count.exists()
tim-9 error DeviceMetric.measurementPeriod.repeat If there's an offset, there must be a when (and not C, CM, CD, CV) offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
tim-10 error DeviceMetric.measurementPeriod.repeat If there's a timeOfDay, there cannot be a when, or vice versa timeOfDay.empty() or when.empty()
txt-1 error DeviceMetric.text.div The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes htmlChecks()
txt-2 error DeviceMetric.text.div The narrative SHALL have some non-whitespace content htmlChecks()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DeviceMetric 0..* DeviceMetric(4.3.0) Measurement, calculation or setting capability of a medical device
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... type Σ 1..1 CodeableConcept Identity of metric, for example Heart Rate or PEEP Setting
Binding: DeviceMetricAndComponentTypes (preferred): IEEE 11073-10101

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
DeviceMetric.type Base preferred Device Metric and Component Types 📍4.3.0 FHIR Std.
DeviceMetric.category Base required DeviceMetricCategory 📍4.3.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error DeviceMetric If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error DeviceMetric If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where(((id.exists() and ('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url)))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(uri) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error DeviceMetric If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error DeviceMetric If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice DeviceMetric A resource should have narrative for robust management text.`div`.exists()
ele-1 error DeviceMetric.implicitRules, DeviceMetric.modifierExtension, DeviceMetric.type, DeviceMetric.category All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error DeviceMetric.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()

Differential View

This structure is derived from DeviceMetric

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DeviceMetric 0..* DeviceMetric(4.3.0) Measurement, calculation or setting capability of a medical device
... meta
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:meta 0..1 (Complex) STU3: meta additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-DeviceMetric.meta
... text
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:text 0..1 (Complex) STU3: text additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-DeviceMetric.text
... identifier
.... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:identifier 1..1 Identifier STU3: Unique identifier of this DeviceMetric additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-DeviceMetric.identifier
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:source 0..1 Reference(Resource) STU3: source additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... parent
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:parent 0..1 Reference(Resource) STU3: Describes the link to the parent DeviceComponent additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... measurementPeriod
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:measurementPeriod 0..1 Timing STU3: measurementPeriod additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-DeviceMetric.measurementPeriod

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DeviceMetric 0..* DeviceMetric(4.3.0) Measurement, calculation or setting capability of a medical device
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:meta 0..1 (Complex) STU3: meta additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-DeviceMetric.meta
Constraints: ext-1
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible)
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example)
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:text 0..1 (Complex) STU3: text additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-DeviceMetric.text
Constraints: ext-1
.... status 1..1 code generated | extensions | additional | empty
Binding: NarrativeStatus (required)
.... div C 1..1 xhtml Limited xhtml content
Constraints: txt-1, txt-2
... contained 0..* Resource Contained, inline Resources
Constraints: dom-r4b
... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... identifier Σ 0..* Identifier Instance identifier
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:identifier 1..1 Identifier STU3: Unique identifier of this DeviceMetric additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-DeviceMetric.identifier
Constraints: ext-1
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required)
.... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible)
.... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value Σ 0..1 string The value that is unique
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... type Σ 1..1 CodeableConcept Identity of metric, for example Heart Rate or PEEP Setting
Binding: DeviceMetricAndComponentTypes (preferred): IEEE 11073-10101
... unit Σ 0..1 CodeableConcept Unit of Measure for the Metric
Binding: DeviceMetricAndComponentTypes (preferred): IEEE 11073-10101
... source Σ 0..1 Reference(Device) Describes the link to the source Device
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:source 0..1 Reference(Resource) STU3: source additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible)
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... parent Σ 0..1 Reference(Device) Describes the link to the parent Device
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:parent 0..1 Reference(Resource) STU3: Describes the link to the parent DeviceComponent additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible)
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... operationalStatus Σ 0..1 code on | off | standby | entered-in-error
Binding: DeviceMetricOperationalStatus (required): Describes the operational status of the DeviceMetric.
... color Σ 0..1 code black | red | green | yellow | blue | magenta | cyan | white
Binding: DeviceMetricColor (required): Describes the typical color of representation.
... category Σ 1..1 code measurement | setting | calculation | unspecified
Binding: DeviceMetricCategory (required): Describes the category of the metric.
... measurementPeriod Σ 0..1 Timing Describes the measurement repetition time
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:measurementPeriod 0..1 Timing STU3: measurementPeriod additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-DeviceMetric.measurementPeriod
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... event Σ 0..* dateTime When the event occurs
.... repeat ΣC 0..1 Element When the event is to occur
Constraints: tim-1, tim-2, tim-4, tim-5, tim-6, tim-7, tim-8, tim-9, tim-10
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
..... bounds[x] Σ 0..1 Length/Range of lengths, or (Start and/or end) limits
...... boundsDuration Duration
...... boundsRange Range
...... boundsPeriod Period
..... count Σ 0..1 positiveInt Number of times to repeat
..... countMax Σ 0..1 positiveInt Maximum number of times to repeat
..... duration Σ 0..1 decimal How long when it happens
..... durationMax Σ 0..1 decimal How long when it happens (Max)
..... durationUnit Σ 0..1 code s | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required)
..... frequency Σ 0..1 positiveInt Event occurs frequency times per period
..... frequencyMax Σ 0..1 positiveInt Event occurs up to frequencyMax times per period
..... period Σ 0..1 decimal Event occurs frequency times per period
..... periodMax Σ 0..1 decimal Upper limit of period (3-4 hours)
..... periodUnit Σ 0..1 code s | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required)
..... dayOfWeek Σ 0..* code mon | tue | wed | thu | fri | sat | sun
Binding: DaysOfWeek (required)
..... timeOfDay Σ 0..* time Time of day for action
..... when Σ 0..* code Code for time period of occurrence
Binding: EventTiming (required)
..... offset Σ 0..1 unsignedInt Minutes from event (before or after)
.... code Σ 0..1 CodeableConcept BID | TID | QID | AM | PM | QD | QOD | +
Binding: TimingAbbreviation (preferred)
... calibration Σ 0..* BackboneElement Describes the calibrations that have been performed or that are required to be performed
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... type Σ 0..1 code unspecified | offset | gain | two-point
Binding: DeviceMetricCalibrationType (required): Describes the type of a metric calibration.
.... state Σ 0..1 code not-calibrated | calibration-required | calibrated | unspecified
Binding: DeviceMetricCalibrationState (required): Describes the state of a metric calibration.
.... time Σ 0..1 instant Describes the time last calibration has been performed

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
DeviceMetric.meta.security Base extensible SecurityLabels 📍4.3.0 FHIR Std.
DeviceMetric.meta.tag Base example Common Tags 📍4.3.0 FHIR Std.
DeviceMetric.language Base preferred Common Languages 📍4.3.0 FHIR Std.
DeviceMetric.text.status Base required NarrativeStatus 📍4.3.0 FHIR Std.
DeviceMetric.identifier.​use Base required IdentifierUse 📍4.3.0 FHIR Std.
DeviceMetric.identifier.​type Base extensible IdentifierType 📍4.3.0 FHIR Std.
DeviceMetric.type Base preferred Device Metric and Component Types 📍4.3.0 FHIR Std.
DeviceMetric.unit Base preferred Device Metric and Component Types 📍4.3.0 FHIR Std.
DeviceMetric.source.​type Base extensible ResourceType 📍4.3.0 FHIR Std.
DeviceMetric.parent.​type Base extensible ResourceType 📍4.3.0 FHIR Std.
DeviceMetric.operationalStatus Base required DeviceMetricOperationalStatus 📍4.3.0 FHIR Std.
DeviceMetric.color Base required DeviceMetricColor 📍4.3.0 FHIR Std.
DeviceMetric.category Base required DeviceMetricCategory 📍4.3.0 FHIR Std.
DeviceMetric.measurementPeriod.​repeat.durationUnit Base required UnitsOfTime 📍4.3.0 FHIR Std.
DeviceMetric.measurementPeriod.​repeat.periodUnit Base required UnitsOfTime 📍4.3.0 FHIR Std.
DeviceMetric.measurementPeriod.​repeat.dayOfWeek Base required DaysOfWeek 📍4.3.0 FHIR Std.
DeviceMetric.measurementPeriod.​repeat.when Base required EventTiming 📍4.3.0 FHIR Std.
DeviceMetric.measurementPeriod.​code Base preferred TimingAbbreviation 📍4.3.0 FHIR Std.
DeviceMetric.calibration.​type Base required DeviceMetricCalibrationType 📍4.3.0 FHIR Std.
DeviceMetric.calibration.​state Base required DeviceMetricCalibrationState 📍4.3.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error DeviceMetric If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error DeviceMetric If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where(((id.exists() and ('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url)))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(uri) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error DeviceMetric If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error DeviceMetric If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice DeviceMetric A resource should have narrative for robust management text.`div`.exists()
dom-r4b warning DeviceMetric.contained Containing new R4B resources within R4 resources may cause interoperability issues if instances are shared with R4 systems ($this is Citation or $this is Evidence or $this is EvidenceReport or $this is EvidenceVariable or $this is MedicinalProductDefinition or $this is PackagedProductDefinition or $this is AdministrableProductDefinition or $this is Ingredient or $this is ClinicalUseDefinition or $this is RegulatedAuthorization or $this is SubstanceDefinition or $this is SubscriptionStatus or $this is SubscriptionTopic) implies (%resource is Citation or %resource is Evidence or %resource is EvidenceReport or %resource is EvidenceVariable or %resource is MedicinalProductDefinition or %resource is PackagedProductDefinition or %resource is AdministrableProductDefinition or %resource is Ingredient or %resource is ClinicalUseDefinition or %resource is RegulatedAuthorization or %resource is SubstanceDefinition or %resource is SubscriptionStatus or %resource is SubscriptionTopic)
ele-1 error DeviceMetric.meta, DeviceMetric.meta.extension, DeviceMetric.meta.extension:meta, DeviceMetric.meta.versionId, DeviceMetric.meta.lastUpdated, DeviceMetric.meta.source, DeviceMetric.meta.profile, DeviceMetric.meta.security, DeviceMetric.meta.tag, DeviceMetric.implicitRules, DeviceMetric.language, DeviceMetric.text, DeviceMetric.text.extension, DeviceMetric.text.extension:text, DeviceMetric.text.status, DeviceMetric.text.div, DeviceMetric.extension, DeviceMetric.modifierExtension, DeviceMetric.identifier, DeviceMetric.identifier.extension, DeviceMetric.identifier.extension:identifier, DeviceMetric.identifier.use, DeviceMetric.identifier.type, DeviceMetric.identifier.system, DeviceMetric.identifier.value, DeviceMetric.identifier.period, DeviceMetric.identifier.assigner, DeviceMetric.type, DeviceMetric.unit, DeviceMetric.source, DeviceMetric.source.extension, DeviceMetric.source.extension:source, DeviceMetric.source.reference, DeviceMetric.source.type, DeviceMetric.source.identifier, DeviceMetric.source.display, DeviceMetric.parent, DeviceMetric.parent.extension, DeviceMetric.parent.extension:parent, DeviceMetric.parent.reference, DeviceMetric.parent.type, DeviceMetric.parent.identifier, DeviceMetric.parent.display, DeviceMetric.operationalStatus, DeviceMetric.color, DeviceMetric.category, DeviceMetric.measurementPeriod, DeviceMetric.measurementPeriod.extension, DeviceMetric.measurementPeriod.extension:measurementPeriod, DeviceMetric.measurementPeriod.modifierExtension, DeviceMetric.measurementPeriod.event, DeviceMetric.measurementPeriod.repeat, DeviceMetric.measurementPeriod.repeat.extension, DeviceMetric.measurementPeriod.repeat.bounds[x], DeviceMetric.measurementPeriod.repeat.count, DeviceMetric.measurementPeriod.repeat.countMax, DeviceMetric.measurementPeriod.repeat.duration, DeviceMetric.measurementPeriod.repeat.durationMax, DeviceMetric.measurementPeriod.repeat.durationUnit, DeviceMetric.measurementPeriod.repeat.frequency, DeviceMetric.measurementPeriod.repeat.frequencyMax, DeviceMetric.measurementPeriod.repeat.period, DeviceMetric.measurementPeriod.repeat.periodMax, DeviceMetric.measurementPeriod.repeat.periodUnit, DeviceMetric.measurementPeriod.repeat.dayOfWeek, DeviceMetric.measurementPeriod.repeat.timeOfDay, DeviceMetric.measurementPeriod.repeat.when, DeviceMetric.measurementPeriod.repeat.offset, DeviceMetric.measurementPeriod.code, DeviceMetric.calibration, DeviceMetric.calibration.extension, DeviceMetric.calibration.modifierExtension, DeviceMetric.calibration.type, DeviceMetric.calibration.state, DeviceMetric.calibration.time All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error DeviceMetric.meta.extension, DeviceMetric.meta.extension:meta, DeviceMetric.text.extension, DeviceMetric.text.extension:text, DeviceMetric.extension, DeviceMetric.modifierExtension, DeviceMetric.identifier.extension, DeviceMetric.identifier.extension:identifier, DeviceMetric.source.extension, DeviceMetric.source.extension:source, DeviceMetric.parent.extension, DeviceMetric.parent.extension:parent, DeviceMetric.measurementPeriod.extension, DeviceMetric.measurementPeriod.extension:measurementPeriod, DeviceMetric.measurementPeriod.modifierExtension, DeviceMetric.measurementPeriod.repeat.extension, DeviceMetric.calibration.extension, DeviceMetric.calibration.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()
tim-1 error DeviceMetric.measurementPeriod.repeat if there's a duration, there needs to be duration units duration.empty() or durationUnit.exists()
tim-2 error DeviceMetric.measurementPeriod.repeat if there's a period, there needs to be period units period.empty() or periodUnit.exists()
tim-4 error DeviceMetric.measurementPeriod.repeat duration SHALL be a non-negative value duration.exists() implies duration >= 0
tim-5 error DeviceMetric.measurementPeriod.repeat period SHALL be a non-negative value period.exists() implies period >= 0
tim-6 error DeviceMetric.measurementPeriod.repeat If there's a periodMax, there must be a period periodMax.empty() or period.exists()
tim-7 error DeviceMetric.measurementPeriod.repeat If there's a durationMax, there must be a duration durationMax.empty() or duration.exists()
tim-8 error DeviceMetric.measurementPeriod.repeat If there's a countMax, there must be a count countMax.empty() or count.exists()
tim-9 error DeviceMetric.measurementPeriod.repeat If there's an offset, there must be a when (and not C, CM, CD, CV) offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
tim-10 error DeviceMetric.measurementPeriod.repeat If there's a timeOfDay, there cannot be a when, or vice versa timeOfDay.empty() or when.empty()
txt-1 error DeviceMetric.text.div The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes htmlChecks()
txt-2 error DeviceMetric.text.div The narrative SHALL have some non-whitespace content htmlChecks()

 

Other representations of profile: CSV, Excel, Schematron