Extensions for Using Data Elements from FHIR R5 in FHIR R4
0.1.0 - STU International flag

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

Resource Profile: Profile_R5_DeviceUsage_R4_DeviceUseStatement

Official URL: http://hl7.org/fhir/5.0/StructureDefinition/profile-DeviceUsage-for-DeviceUseStatement Version: 0.1.0
Standards status: Trial-use Maturity Level: 0 Computable Name: Profile_R5_DeviceUsage_R4_DeviceUseStatement

This cross-version profile allows R5 DeviceUsage content to be represented via FHIR R4 DeviceUseStatement resources.

Usages:

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
.. DeviceUseStatement 0..* DeviceUseStatement(4.0.1) Record of use of a device
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:category 0..* CodeableConcept R5: The category of the statement - classifying how the statement is made (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.category
Constraints: ext-1
.... extension:context 0..1 Reference(Cross-version Profile for R5.Encounter for use in FHIR R4(0.1.0) | Encounter | Cross-version Profile for R5.EpisodeOfCare for use in FHIR R4(0.1.0) | EpisodeOfCare) R5: The encounter or episode of care that establishes the context for this device use statement (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.context
Constraints: ext-1
.... extension:usageStatus 0..1 CodeableConcept R5: The status of the device usage, for example always, sometimes, never. This is not the same as the status of the statement (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.usageStatus
Binding: R5DeviceusageStatusForR4DeviceStatementStatus (0.1.0) (required): Codes representing the usage status of the device.
Constraints: ext-1
.... extension:usageReason 0..* CodeableConcept R5: The reason for asserting the usage status - for example forgot, lost, stolen, broken (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.usageReason
Constraints: ext-1
.... extension:adherence 0..1 (Complex) R5: How device is being used (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.adherence
Constraints: ext-1
.... extension:reason 0..* (Complex) R5: Why device was used additional types
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.reason
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:status 0..1 code R5: active | completed | not-done | entered-in-error +
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.status
Binding: R5DeviceusageStatusForR4DeviceStatementStatus (0.1.0) (required): A coded concept indicating the current status of the Device Usage.
Constraints: ext-1
... subject Σ 1..1 Reference(Patient | Group) Patient using device
... device Σ 1..1 Reference(Device) Reference to device used
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:device 1..1 CodeableConcept R5: Code or Reference to device used additional types
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.device
Constraints: ext-1

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
DeviceUseStatement.status Base required DeviceUseStatementStatus 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error DeviceUseStatement If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error DeviceUseStatement 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 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(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error DeviceUseStatement 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 DeviceUseStatement If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice DeviceUseStatement A resource should have narrative for robust management text.`div`.exists()
ele-1 error DeviceUseStatement.implicitRules, DeviceUseStatement.extension, DeviceUseStatement.extension:category, DeviceUseStatement.extension:context, DeviceUseStatement.extension:usageStatus, DeviceUseStatement.extension:usageReason, DeviceUseStatement.extension:adherence, DeviceUseStatement.extension:reason, DeviceUseStatement.modifierExtension, DeviceUseStatement.status, DeviceUseStatement.status.extension, DeviceUseStatement.status.extension:status, DeviceUseStatement.subject, DeviceUseStatement.device, DeviceUseStatement.device.extension, DeviceUseStatement.device.extension:device All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error DeviceUseStatement.extension, DeviceUseStatement.extension:category, DeviceUseStatement.extension:context, DeviceUseStatement.extension:usageStatus, DeviceUseStatement.extension:usageReason, DeviceUseStatement.extension:adherence, DeviceUseStatement.extension:reason, DeviceUseStatement.modifierExtension, DeviceUseStatement.status.extension, DeviceUseStatement.status.extension:status, DeviceUseStatement.device.extension, DeviceUseStatement.device.extension:device Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from DeviceUseStatement

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DeviceUseStatement 0..* DeviceUseStatement(4.0.1) Record of use of a device
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:category 0..* CodeableConcept R5: The category of the statement - classifying how the statement is made (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.category
.... extension:context 0..1 Reference(Cross-version Profile for R5.Encounter for use in FHIR R4(0.1.0) | Encounter | Cross-version Profile for R5.EpisodeOfCare for use in FHIR R4(0.1.0) | EpisodeOfCare) R5: The encounter or episode of care that establishes the context for this device use statement (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.context
.... extension:usageStatus 0..1 CodeableConcept R5: The status of the device usage, for example always, sometimes, never. This is not the same as the status of the statement (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.usageStatus
Binding: R5DeviceusageStatusForR4DeviceStatementStatus (0.1.0) (required): Codes representing the usage status of the device.
.... extension:usageReason 0..* CodeableConcept R5: The reason for asserting the usage status - for example forgot, lost, stolen, broken (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.usageReason
.... extension:adherence 0..1 (Complex) R5: How device is being used (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.adherence
.... extension:reason 0..* (Complex) R5: Why device was used additional types
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.reason
... status
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:status 0..1 code R5: active | completed | not-done | entered-in-error +
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.status
Binding: R5DeviceusageStatusForR4DeviceStatementStatus (0.1.0) (required): A coded concept indicating the current status of the Device Usage.
... derivedFrom
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:derivedFrom 0..* Reference(Resource) R5: derivedFrom
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:informationSource 0..1 Reference(Resource) R5: informationSource
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... device
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:device 0..1 CodeableConcept R5: Code or Reference to device used additional types
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.device
... bodySite
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:bodySite 0..1 Reference(Cross-version Profile for R5.BodyStructure for use in FHIR R4(0.1.0) | BodyStructure) R5: bodySite additional types
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.bodySite

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DeviceUseStatement 0..* DeviceUseStatement(4.0.1) Record of use of a device
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... 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
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:category 0..* CodeableConcept R5: The category of the statement - classifying how the statement is made (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.category
Constraints: ext-1
.... extension:context 0..1 Reference(Cross-version Profile for R5.Encounter for use in FHIR R4(0.1.0) | Encounter | Cross-version Profile for R5.EpisodeOfCare for use in FHIR R4(0.1.0) | EpisodeOfCare) R5: The encounter or episode of care that establishes the context for this device use statement (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.context
Constraints: ext-1
.... extension:usageStatus 0..1 CodeableConcept R5: The status of the device usage, for example always, sometimes, never. This is not the same as the status of the statement (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.usageStatus
Binding: R5DeviceusageStatusForR4DeviceStatementStatus (0.1.0) (required): Codes representing the usage status of the device.
Constraints: ext-1
.... extension:usageReason 0..* CodeableConcept R5: The reason for asserting the usage status - for example forgot, lost, stolen, broken (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.usageReason
Constraints: ext-1
.... extension:adherence 0..1 (Complex) R5: How device is being used (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.adherence
Constraints: ext-1
.... extension:reason 0..* (Complex) R5: Why device was used additional types
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.reason
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... identifier Σ 0..* Identifier External identifier for this record
... basedOn Σ 0..* Reference(ServiceRequest) Fulfills plan, proposal or order
... status ?!Σ 1..1 code active | completed | entered-in-error +
Binding: DeviceUseStatementStatus (required): A coded concept indicating the current status of the Device Usage.
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:status 0..1 code R5: active | completed | not-done | entered-in-error +
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.status
Binding: R5DeviceusageStatusForR4DeviceStatementStatus (0.1.0) (required): A coded concept indicating the current status of the Device Usage.
Constraints: ext-1
.... value 0..1 string Primitive value for code
... subject Σ 1..1 Reference(Patient | Group) Patient using device
... derivedFrom Σ 0..* Reference(ServiceRequest | Procedure | Claim | Observation | QuestionnaireResponse | DocumentReference) Supporting information
.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:derivedFrom 0..1 Reference(Resource) R5: derivedFrom
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): Aa resource (or, for logical models, the URI of the logical model).
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... timing[x] Σ 0..1 How often the device was used
.... timingTiming Timing
.... timingPeriod Period
.... timingDateTime dateTime
... recordedOn Σ 0..1 dateTime When statement was recorded
... source Σ 0..1 Reference(Patient | Practitioner | PractitionerRole | RelatedPerson) Who made the statement
.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:informationSource 0..1 Reference(Resource) R5: informationSource
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): Aa resource (or, for logical models, the URI of the logical model).
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... device Σ 1..1 Reference(Device) Reference to device used
.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:device 1..1 CodeableConcept R5: Code or Reference to device used additional types
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.device
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): Aa resource (or, for logical models, the URI of the logical model).
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... reasonCode Σ 0..* CodeableConcept Why device was used
... reasonReference Σ 0..* Reference(Condition | Observation | DiagnosticReport | DocumentReference | Media) Why was DeviceUseStatement performed?
... bodySite Σ 0..1 CodeableConcept Target body site
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.
.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:bodySite 0..1 Reference(Cross-version Profile for R5.BodyStructure for use in FHIR R4(0.1.0) | BodyStructure) R5: bodySite additional types
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.bodySite
Constraints: ext-1
.... coding Σ 0..* Coding Code defined by a terminology system
.... text Σ 0..1 string Plain text representation of the concept
... note 0..* Annotation Addition details (comments, instructions)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
DeviceUseStatement.language Base preferred Common Languages . 📍4.0.1 tx.fhir.org
DeviceUseStatement.status Base required DeviceUseStatementStatus 📍4.0.1 FHIR Std.
DeviceUseStatement.derivedFrom.​type Base extensible ResourceType . 📍4.0.1 tx.fhir.org
DeviceUseStatement.source.​type Base extensible ResourceType . 📍4.0.1 tx.fhir.org
DeviceUseStatement.device.​type Base extensible ResourceType . 📍4.0.1 tx.fhir.org
DeviceUseStatement.bodySite Base example SNOMED CT Body Structures 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error DeviceUseStatement If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error DeviceUseStatement 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 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(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error DeviceUseStatement 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 DeviceUseStatement If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice DeviceUseStatement A resource should have narrative for robust management text.`div`.exists()
ele-1 error DeviceUseStatement.meta, DeviceUseStatement.implicitRules, DeviceUseStatement.language, DeviceUseStatement.text, DeviceUseStatement.extension, DeviceUseStatement.extension:category, DeviceUseStatement.extension:context, DeviceUseStatement.extension:usageStatus, DeviceUseStatement.extension:usageReason, DeviceUseStatement.extension:adherence, DeviceUseStatement.extension:reason, DeviceUseStatement.modifierExtension, DeviceUseStatement.identifier, DeviceUseStatement.basedOn, DeviceUseStatement.status, DeviceUseStatement.status.extension, DeviceUseStatement.status.extension:status, DeviceUseStatement.subject, DeviceUseStatement.derivedFrom, DeviceUseStatement.derivedFrom.extension, DeviceUseStatement.derivedFrom.extension:derivedFrom, DeviceUseStatement.derivedFrom.reference, DeviceUseStatement.derivedFrom.type, DeviceUseStatement.derivedFrom.identifier, DeviceUseStatement.derivedFrom.display, DeviceUseStatement.timing[x], DeviceUseStatement.recordedOn, DeviceUseStatement.source, DeviceUseStatement.source.extension, DeviceUseStatement.source.extension:informationSource, DeviceUseStatement.source.reference, DeviceUseStatement.source.type, DeviceUseStatement.source.identifier, DeviceUseStatement.source.display, DeviceUseStatement.device, DeviceUseStatement.device.extension, DeviceUseStatement.device.extension:device, DeviceUseStatement.device.reference, DeviceUseStatement.device.type, DeviceUseStatement.device.identifier, DeviceUseStatement.device.display, DeviceUseStatement.reasonCode, DeviceUseStatement.reasonReference, DeviceUseStatement.bodySite, DeviceUseStatement.bodySite.extension, DeviceUseStatement.bodySite.extension:bodySite, DeviceUseStatement.bodySite.coding, DeviceUseStatement.bodySite.text, DeviceUseStatement.note All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error DeviceUseStatement.extension, DeviceUseStatement.extension:category, DeviceUseStatement.extension:context, DeviceUseStatement.extension:usageStatus, DeviceUseStatement.extension:usageReason, DeviceUseStatement.extension:adherence, DeviceUseStatement.extension:reason, DeviceUseStatement.modifierExtension, DeviceUseStatement.status.extension, DeviceUseStatement.status.extension:status, DeviceUseStatement.derivedFrom.extension, DeviceUseStatement.derivedFrom.extension:derivedFrom, DeviceUseStatement.source.extension, DeviceUseStatement.source.extension:informationSource, DeviceUseStatement.device.extension, DeviceUseStatement.device.extension:device, DeviceUseStatement.bodySite.extension, DeviceUseStatement.bodySite.extension:bodySite Must have either extensions or value[x], not both extension.exists() != value.exists()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DeviceUseStatement 0..* DeviceUseStatement(4.0.1) Record of use of a device
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:category 0..* CodeableConcept R5: The category of the statement - classifying how the statement is made (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.category
Constraints: ext-1
.... extension:context 0..1 Reference(Cross-version Profile for R5.Encounter for use in FHIR R4(0.1.0) | Encounter | Cross-version Profile for R5.EpisodeOfCare for use in FHIR R4(0.1.0) | EpisodeOfCare) R5: The encounter or episode of care that establishes the context for this device use statement (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.context
Constraints: ext-1
.... extension:usageStatus 0..1 CodeableConcept R5: The status of the device usage, for example always, sometimes, never. This is not the same as the status of the statement (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.usageStatus
Binding: R5DeviceusageStatusForR4DeviceStatementStatus (0.1.0) (required): Codes representing the usage status of the device.
Constraints: ext-1
.... extension:usageReason 0..* CodeableConcept R5: The reason for asserting the usage status - for example forgot, lost, stolen, broken (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.usageReason
Constraints: ext-1
.... extension:adherence 0..1 (Complex) R5: How device is being used (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.adherence
Constraints: ext-1
.... extension:reason 0..* (Complex) R5: Why device was used additional types
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.reason
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:status 0..1 code R5: active | completed | not-done | entered-in-error +
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.status
Binding: R5DeviceusageStatusForR4DeviceStatementStatus (0.1.0) (required): A coded concept indicating the current status of the Device Usage.
Constraints: ext-1
... subject Σ 1..1 Reference(Patient | Group) Patient using device
... device Σ 1..1 Reference(Device) Reference to device used
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:device 1..1 CodeableConcept R5: Code or Reference to device used additional types
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.device
Constraints: ext-1

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
DeviceUseStatement.status Base required DeviceUseStatementStatus 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error DeviceUseStatement If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error DeviceUseStatement 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 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(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error DeviceUseStatement 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 DeviceUseStatement If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice DeviceUseStatement A resource should have narrative for robust management text.`div`.exists()
ele-1 error DeviceUseStatement.implicitRules, DeviceUseStatement.extension, DeviceUseStatement.extension:category, DeviceUseStatement.extension:context, DeviceUseStatement.extension:usageStatus, DeviceUseStatement.extension:usageReason, DeviceUseStatement.extension:adherence, DeviceUseStatement.extension:reason, DeviceUseStatement.modifierExtension, DeviceUseStatement.status, DeviceUseStatement.status.extension, DeviceUseStatement.status.extension:status, DeviceUseStatement.subject, DeviceUseStatement.device, DeviceUseStatement.device.extension, DeviceUseStatement.device.extension:device All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error DeviceUseStatement.extension, DeviceUseStatement.extension:category, DeviceUseStatement.extension:context, DeviceUseStatement.extension:usageStatus, DeviceUseStatement.extension:usageReason, DeviceUseStatement.extension:adherence, DeviceUseStatement.extension:reason, DeviceUseStatement.modifierExtension, DeviceUseStatement.status.extension, DeviceUseStatement.status.extension:status, DeviceUseStatement.device.extension, DeviceUseStatement.device.extension:device Must have either extensions or value[x], not both extension.exists() != value.exists()

Differential View

This structure is derived from DeviceUseStatement

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DeviceUseStatement 0..* DeviceUseStatement(4.0.1) Record of use of a device
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:category 0..* CodeableConcept R5: The category of the statement - classifying how the statement is made (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.category
.... extension:context 0..1 Reference(Cross-version Profile for R5.Encounter for use in FHIR R4(0.1.0) | Encounter | Cross-version Profile for R5.EpisodeOfCare for use in FHIR R4(0.1.0) | EpisodeOfCare) R5: The encounter or episode of care that establishes the context for this device use statement (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.context
.... extension:usageStatus 0..1 CodeableConcept R5: The status of the device usage, for example always, sometimes, never. This is not the same as the status of the statement (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.usageStatus
Binding: R5DeviceusageStatusForR4DeviceStatementStatus (0.1.0) (required): Codes representing the usage status of the device.
.... extension:usageReason 0..* CodeableConcept R5: The reason for asserting the usage status - for example forgot, lost, stolen, broken (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.usageReason
.... extension:adherence 0..1 (Complex) R5: How device is being used (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.adherence
.... extension:reason 0..* (Complex) R5: Why device was used additional types
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.reason
... status
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:status 0..1 code R5: active | completed | not-done | entered-in-error +
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.status
Binding: R5DeviceusageStatusForR4DeviceStatementStatus (0.1.0) (required): A coded concept indicating the current status of the Device Usage.
... derivedFrom
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:derivedFrom 0..* Reference(Resource) R5: derivedFrom
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:informationSource 0..1 Reference(Resource) R5: informationSource
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... device
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:device 0..1 CodeableConcept R5: Code or Reference to device used additional types
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.device
... bodySite
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:bodySite 0..1 Reference(Cross-version Profile for R5.BodyStructure for use in FHIR R4(0.1.0) | BodyStructure) R5: bodySite additional types
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.bodySite

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DeviceUseStatement 0..* DeviceUseStatement(4.0.1) Record of use of a device
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... 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
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:category 0..* CodeableConcept R5: The category of the statement - classifying how the statement is made (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.category
Constraints: ext-1
.... extension:context 0..1 Reference(Cross-version Profile for R5.Encounter for use in FHIR R4(0.1.0) | Encounter | Cross-version Profile for R5.EpisodeOfCare for use in FHIR R4(0.1.0) | EpisodeOfCare) R5: The encounter or episode of care that establishes the context for this device use statement (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.context
Constraints: ext-1
.... extension:usageStatus 0..1 CodeableConcept R5: The status of the device usage, for example always, sometimes, never. This is not the same as the status of the statement (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.usageStatus
Binding: R5DeviceusageStatusForR4DeviceStatementStatus (0.1.0) (required): Codes representing the usage status of the device.
Constraints: ext-1
.... extension:usageReason 0..* CodeableConcept R5: The reason for asserting the usage status - for example forgot, lost, stolen, broken (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.usageReason
Constraints: ext-1
.... extension:adherence 0..1 (Complex) R5: How device is being used (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.adherence
Constraints: ext-1
.... extension:reason 0..* (Complex) R5: Why device was used additional types
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.reason
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... identifier Σ 0..* Identifier External identifier for this record
... basedOn Σ 0..* Reference(ServiceRequest) Fulfills plan, proposal or order
... status ?!Σ 1..1 code active | completed | entered-in-error +
Binding: DeviceUseStatementStatus (required): A coded concept indicating the current status of the Device Usage.
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:status 0..1 code R5: active | completed | not-done | entered-in-error +
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.status
Binding: R5DeviceusageStatusForR4DeviceStatementStatus (0.1.0) (required): A coded concept indicating the current status of the Device Usage.
Constraints: ext-1
.... value 0..1 string Primitive value for code
... subject Σ 1..1 Reference(Patient | Group) Patient using device
... derivedFrom Σ 0..* Reference(ServiceRequest | Procedure | Claim | Observation | QuestionnaireResponse | DocumentReference) Supporting information
.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:derivedFrom 0..1 Reference(Resource) R5: derivedFrom
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): Aa resource (or, for logical models, the URI of the logical model).
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... timing[x] Σ 0..1 How often the device was used
.... timingTiming Timing
.... timingPeriod Period
.... timingDateTime dateTime
... recordedOn Σ 0..1 dateTime When statement was recorded
... source Σ 0..1 Reference(Patient | Practitioner | PractitionerRole | RelatedPerson) Who made the statement
.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:informationSource 0..1 Reference(Resource) R5: informationSource
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): Aa resource (or, for logical models, the URI of the logical model).
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... device Σ 1..1 Reference(Device) Reference to device used
.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:device 1..1 CodeableConcept R5: Code or Reference to device used additional types
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.device
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): Aa resource (or, for logical models, the URI of the logical model).
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... reasonCode Σ 0..* CodeableConcept Why device was used
... reasonReference Σ 0..* Reference(Condition | Observation | DiagnosticReport | DocumentReference | Media) Why was DeviceUseStatement performed?
... bodySite Σ 0..1 CodeableConcept Target body site
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.
.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:bodySite 0..1 Reference(Cross-version Profile for R5.BodyStructure for use in FHIR R4(0.1.0) | BodyStructure) R5: bodySite additional types
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.bodySite
Constraints: ext-1
.... coding Σ 0..* Coding Code defined by a terminology system
.... text Σ 0..1 string Plain text representation of the concept
... note 0..* Annotation Addition details (comments, instructions)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
DeviceUseStatement.language Base preferred Common Languages . 📍4.0.1 tx.fhir.org
DeviceUseStatement.status Base required DeviceUseStatementStatus 📍4.0.1 FHIR Std.
DeviceUseStatement.derivedFrom.​type Base extensible ResourceType . 📍4.0.1 tx.fhir.org
DeviceUseStatement.source.​type Base extensible ResourceType . 📍4.0.1 tx.fhir.org
DeviceUseStatement.device.​type Base extensible ResourceType . 📍4.0.1 tx.fhir.org
DeviceUseStatement.bodySite Base example SNOMED CT Body Structures 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error DeviceUseStatement If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error DeviceUseStatement 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 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(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error DeviceUseStatement 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 DeviceUseStatement If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice DeviceUseStatement A resource should have narrative for robust management text.`div`.exists()
ele-1 error DeviceUseStatement.meta, DeviceUseStatement.implicitRules, DeviceUseStatement.language, DeviceUseStatement.text, DeviceUseStatement.extension, DeviceUseStatement.extension:category, DeviceUseStatement.extension:context, DeviceUseStatement.extension:usageStatus, DeviceUseStatement.extension:usageReason, DeviceUseStatement.extension:adherence, DeviceUseStatement.extension:reason, DeviceUseStatement.modifierExtension, DeviceUseStatement.identifier, DeviceUseStatement.basedOn, DeviceUseStatement.status, DeviceUseStatement.status.extension, DeviceUseStatement.status.extension:status, DeviceUseStatement.subject, DeviceUseStatement.derivedFrom, DeviceUseStatement.derivedFrom.extension, DeviceUseStatement.derivedFrom.extension:derivedFrom, DeviceUseStatement.derivedFrom.reference, DeviceUseStatement.derivedFrom.type, DeviceUseStatement.derivedFrom.identifier, DeviceUseStatement.derivedFrom.display, DeviceUseStatement.timing[x], DeviceUseStatement.recordedOn, DeviceUseStatement.source, DeviceUseStatement.source.extension, DeviceUseStatement.source.extension:informationSource, DeviceUseStatement.source.reference, DeviceUseStatement.source.type, DeviceUseStatement.source.identifier, DeviceUseStatement.source.display, DeviceUseStatement.device, DeviceUseStatement.device.extension, DeviceUseStatement.device.extension:device, DeviceUseStatement.device.reference, DeviceUseStatement.device.type, DeviceUseStatement.device.identifier, DeviceUseStatement.device.display, DeviceUseStatement.reasonCode, DeviceUseStatement.reasonReference, DeviceUseStatement.bodySite, DeviceUseStatement.bodySite.extension, DeviceUseStatement.bodySite.extension:bodySite, DeviceUseStatement.bodySite.coding, DeviceUseStatement.bodySite.text, DeviceUseStatement.note All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error DeviceUseStatement.extension, DeviceUseStatement.extension:category, DeviceUseStatement.extension:context, DeviceUseStatement.extension:usageStatus, DeviceUseStatement.extension:usageReason, DeviceUseStatement.extension:adherence, DeviceUseStatement.extension:reason, DeviceUseStatement.modifierExtension, DeviceUseStatement.status.extension, DeviceUseStatement.status.extension:status, DeviceUseStatement.derivedFrom.extension, DeviceUseStatement.derivedFrom.extension:derivedFrom, DeviceUseStatement.source.extension, DeviceUseStatement.source.extension:informationSource, DeviceUseStatement.device.extension, DeviceUseStatement.device.extension:device, DeviceUseStatement.bodySite.extension, DeviceUseStatement.bodySite.extension:bodySite Must have either extensions or value[x], not both extension.exists() != value.exists()

 

Other representations of profile: CSV, Excel, Schematron