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

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

Resource Profile: Profile_R2_DeviceUseStatement_R5_DeviceUsage

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

This cross-version profile allows DSTU2 DeviceUseStatement content to be represented via FHIR R5 DeviceUsage 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
.. DeviceUsage 0..* DeviceUsage(5.0.0) Record of use of a device
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:whenUsed 0..1 Period DSTU2: (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.whenUsed
Constraints: ext-1
.... extension:timing 0..1 Timing, Period DSTU2: additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.timing
Constraints: ext-1
... status ?!Σ 1..1 code active | completed | not-done | entered-in-error +
Binding: DeviceUsageStatus (required): A coded concept indicating the current status of the Device Usage.
... patient Σ 1..1 Reference(Patient) Patient using device
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:subject 0..1 Reference(Resource) DSTU2: 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
... device Σ 1..1 CodeableReference(Device | DeviceDefinition) Code or Reference to device used
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:device 1..1 Reference(Cross-version Profile for DSTU2.Device for use in FHIR R5(0.1.0) | DeviceAssociation) DSTU2: additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.device
Constraints: ext-1

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
DeviceUsage.status Base required Device Usage Status 📍5.0.0 FHIR Std.

Constraints

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

This structure is derived from DeviceUsage

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DeviceUsage 0..* DeviceUsage(5.0.0) Record of use of a device
... meta
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:meta 0..1 Meta DSTU2: meta additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.meta
... text
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:text 0..1 (Complex) DSTU2: text additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.text
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:whenUsed 0..1 Period DSTU2: (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.whenUsed
.... extension:timing 0..1 Timing, Period DSTU2: additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.timing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:identifier 0..* Identifier DSTU2: additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.identifier
... patient
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:subject 0..1 Reference(Resource) DSTU2: additional types
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 Reference(Cross-version Profile for DSTU2.Device for use in FHIR R5(0.1.0) | DeviceAssociation) DSTU2: additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.device
... bodySite
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:bodySite 0..1 Reference(Cross-version Profile for DSTU2.BodySite for use in FHIR R5(0.1.0) | BodyStructure) DSTU2: bodySite additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.bodySite
... note
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:notes 0..* string DSTU2: additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.notes

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DeviceUsage 0..* DeviceUsage(5.0.0) Record of use of a 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 Meta DSTU2: meta additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.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: AllSecurityLabels . (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
... 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) DSTU2: text additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.text
Constraints: ext-1
.... status 1..1 code generated | extensions | additional | empty
Binding: NarrativeStatus (required): The status of a resource narrative.
.... div C 1..1 xhtml Limited xhtml content
Constraints: txt-1, txt-2
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:whenUsed 0..1 Period DSTU2: (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.whenUsed
Constraints: ext-1
.... extension:timing 0..1 Timing, Period DSTU2: additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.timing
Constraints: ext-1
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... identifier Σ 0..* Identifier External identifier for this record
.... 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:identifier 0..* Identifier DSTU2: additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.identifier
Constraints: ext-1
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... type Σ 0..1 CodeableConcept Description of identifier
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
.... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value ΣC 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)
... basedOn Σ 0..* Reference(ServiceRequest) Fulfills plan, proposal or order
... status ?!Σ 1..1 code active | completed | not-done | entered-in-error +
Binding: DeviceUsageStatus (required): A coded concept indicating the current status of the Device Usage.
... category 0..* CodeableConcept The category of the statement - classifying how the statement is made
... patient Σ 1..1 Reference(Patient) Patient using 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:subject 0..1 Reference(Resource) DSTU2: 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") - must be a resource in resources
Binding: ResourceType . (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
.... display ΣC 0..1 string Text alternative for the resource
... derivedFrom Σ 0..* Reference(ServiceRequest | Procedure | Claim | Observation | QuestionnaireResponse | DocumentReference) Supporting information
... context Σ 0..1 Reference(Encounter | EpisodeOfCare) The encounter or episode of care that establishes the context for this device use statement
... timing[x] Σ 0..1 How often the device was used
.... timingTiming Timing
.... timingPeriod Period
.... timingDateTime dateTime
... dateAsserted Σ 0..1 dateTime When the statement was made (and recorded)
... usageStatus 0..1 CodeableConcept The status of the device usage, for example always, sometimes, never. This is not the same as the status of the statement
Binding: DeviceUsageStatus (required): Codes representing the usage status of the device.
... usageReason 0..* CodeableConcept The reason for asserting the usage status - for example forgot, lost, stolen, broken
... adherence 0..1 BackboneElement How device is being used
.... 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
.... code 1..1 CodeableConcept always | never | sometimes
Binding: DeviceUsageAdherenceCode (example): Codes for adherence
.... reason 1..* CodeableConcept lost | stolen | prescribed | broken | burned | forgot
Binding: DeviceUsageAdherenceReason (example): Codes for adherence reason
... informationSource Σ 0..1 Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) Who made the statement
... device Σ 1..1 CodeableReference(Device | DeviceDefinition) Code or Reference to device used
.... 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:device 1..1 Reference(Cross-version Profile for DSTU2.Device for use in FHIR R5(0.1.0) | DeviceAssociation) DSTU2: additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.device
Constraints: ext-1
.... concept Σ 0..1 CodeableConcept Reference to a concept (by class)
.... reference Σ 0..1 Reference() Reference to a resource (by instance)
... reason Σ 0..* CodeableReference(Condition | Observation | DiagnosticReport | DocumentReference | Procedure) Why device was used
... bodySite Σ 0..1 CodeableReference(BodyStructure) Target body site
Binding: SNOMEDCTBodyStructures (example): SNOMED CT Body site concepts
.... 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:bodySite 0..1 Reference(Cross-version Profile for DSTU2.BodySite for use in FHIR R5(0.1.0) | BodyStructure) DSTU2: bodySite additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.bodySite
Constraints: ext-1
.... concept Σ 0..1 CodeableConcept Reference to a concept (by class)
.... reference Σ 0..1 Reference() Reference to a resource (by instance)
... note 0..* Annotation Addition details (comments, instructions)
.... 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:notes 0..* string DSTU2: additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.notes
Constraints: ext-1
.... author[x] Σ 0..1 Individual responsible for the annotation
..... authorReference Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Organization)
..... authorString string
.... time Σ 0..1 dateTime When the annotation was made
.... text Σ 1..1 markdown The annotation - text content (as markdown)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
DeviceUsage.meta.security Base extensible All Security Labels . 📍5.0.0 tx.fhir.org
DeviceUsage.meta.tag Base example Common Tags 📍5.0.0 FHIR Std.
DeviceUsage.language Base required All Languages 📍5.0.0 FHIR Std.
DeviceUsage.text.status Base required NarrativeStatus 📍5.0.0 FHIR Std.
DeviceUsage.identifier.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
DeviceUsage.identifier.​type Base extensible Identifier Type Codes 📍5.0.0 FHIR Std.
DeviceUsage.status Base required Device Usage Status 📍5.0.0 FHIR Std.
DeviceUsage.patient.​type Base extensible Resource Types . 📍5.0.0 tx.fhir.org
DeviceUsage.usageStatus Base required Device Usage Status 📍5.0.0 FHIR Std.
DeviceUsage.adherence.​code Base example Device Usage Adherence Code 📍5.0.0 FHIR Std.
DeviceUsage.adherence.​reason Base example Device Usage Adherence Reason 📍5.0.0 FHIR Std.
DeviceUsage.bodySite Base example SNOMED CT Body Structures 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error DeviceUsage If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error DeviceUsage 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error DeviceUsage 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 DeviceUsage If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice DeviceUsage A resource should have narrative for robust management text.`div`.exists()
ele-1 error DeviceUsage.meta, DeviceUsage.meta.extension, DeviceUsage.meta.extension:meta, DeviceUsage.meta.versionId, DeviceUsage.meta.lastUpdated, DeviceUsage.meta.source, DeviceUsage.meta.profile, DeviceUsage.meta.security, DeviceUsage.meta.tag, DeviceUsage.implicitRules, DeviceUsage.language, DeviceUsage.text, DeviceUsage.text.extension, DeviceUsage.text.extension:text, DeviceUsage.text.status, DeviceUsage.text.div, DeviceUsage.extension, DeviceUsage.extension:whenUsed, DeviceUsage.extension:timing, DeviceUsage.modifierExtension, DeviceUsage.identifier, DeviceUsage.identifier.extension, DeviceUsage.identifier.extension:identifier, DeviceUsage.identifier.use, DeviceUsage.identifier.type, DeviceUsage.identifier.system, DeviceUsage.identifier.value, DeviceUsage.identifier.period, DeviceUsage.identifier.assigner, DeviceUsage.basedOn, DeviceUsage.status, DeviceUsage.category, DeviceUsage.patient, DeviceUsage.patient.extension, DeviceUsage.patient.extension:subject, DeviceUsage.patient.reference, DeviceUsage.patient.type, DeviceUsage.patient.identifier, DeviceUsage.patient.display, DeviceUsage.derivedFrom, DeviceUsage.context, DeviceUsage.timing[x], DeviceUsage.dateAsserted, DeviceUsage.usageStatus, DeviceUsage.usageReason, DeviceUsage.adherence, DeviceUsage.adherence.extension, DeviceUsage.adherence.modifierExtension, DeviceUsage.adherence.code, DeviceUsage.adherence.reason, DeviceUsage.informationSource, DeviceUsage.device, DeviceUsage.device.extension, DeviceUsage.device.extension:device, DeviceUsage.device.concept, DeviceUsage.device.reference, DeviceUsage.reason, DeviceUsage.bodySite, DeviceUsage.bodySite.extension, DeviceUsage.bodySite.extension:bodySite, DeviceUsage.bodySite.concept, DeviceUsage.bodySite.reference, DeviceUsage.note, DeviceUsage.note.extension, DeviceUsage.note.extension:notes, DeviceUsage.note.author[x], DeviceUsage.note.time, DeviceUsage.note.text All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error DeviceUsage.meta.extension, DeviceUsage.meta.extension:meta, DeviceUsage.text.extension, DeviceUsage.text.extension:text, DeviceUsage.extension, DeviceUsage.extension:whenUsed, DeviceUsage.extension:timing, DeviceUsage.modifierExtension, DeviceUsage.identifier.extension, DeviceUsage.identifier.extension:identifier, DeviceUsage.patient.extension, DeviceUsage.patient.extension:subject, DeviceUsage.adherence.extension, DeviceUsage.adherence.modifierExtension, DeviceUsage.device.extension, DeviceUsage.device.extension:device, DeviceUsage.bodySite.extension, DeviceUsage.bodySite.extension:bodySite, DeviceUsage.note.extension, DeviceUsage.note.extension:notes Must have either extensions or value[x], not both extension.exists() != value.exists()
txt-1 error DeviceUsage.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 DeviceUsage.text.div The narrative SHALL have some non-whitespace content htmlChecks()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DeviceUsage 0..* DeviceUsage(5.0.0) Record of use of a device
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:whenUsed 0..1 Period DSTU2: (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.whenUsed
Constraints: ext-1
.... extension:timing 0..1 Timing, Period DSTU2: additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.timing
Constraints: ext-1
... status ?!Σ 1..1 code active | completed | not-done | entered-in-error +
Binding: DeviceUsageStatus (required): A coded concept indicating the current status of the Device Usage.
... patient Σ 1..1 Reference(Patient) Patient using device
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:subject 0..1 Reference(Resource) DSTU2: 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
... device Σ 1..1 CodeableReference(Device | DeviceDefinition) Code or Reference to device used
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:device 1..1 Reference(Cross-version Profile for DSTU2.Device for use in FHIR R5(0.1.0) | DeviceAssociation) DSTU2: additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.device
Constraints: ext-1

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
DeviceUsage.status Base required Device Usage Status 📍5.0.0 FHIR Std.

Constraints

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

Differential View

This structure is derived from DeviceUsage

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DeviceUsage 0..* DeviceUsage(5.0.0) Record of use of a device
... meta
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:meta 0..1 Meta DSTU2: meta additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.meta
... text
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:text 0..1 (Complex) DSTU2: text additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.text
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:whenUsed 0..1 Period DSTU2: (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.whenUsed
.... extension:timing 0..1 Timing, Period DSTU2: additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.timing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:identifier 0..* Identifier DSTU2: additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.identifier
... patient
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:subject 0..1 Reference(Resource) DSTU2: additional types
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 Reference(Cross-version Profile for DSTU2.Device for use in FHIR R5(0.1.0) | DeviceAssociation) DSTU2: additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.device
... bodySite
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:bodySite 0..1 Reference(Cross-version Profile for DSTU2.BodySite for use in FHIR R5(0.1.0) | BodyStructure) DSTU2: bodySite additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.bodySite
... note
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:notes 0..* string DSTU2: additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.notes

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DeviceUsage 0..* DeviceUsage(5.0.0) Record of use of a 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 Meta DSTU2: meta additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.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: AllSecurityLabels . (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
... 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) DSTU2: text additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.text
Constraints: ext-1
.... status 1..1 code generated | extensions | additional | empty
Binding: NarrativeStatus (required): The status of a resource narrative.
.... div C 1..1 xhtml Limited xhtml content
Constraints: txt-1, txt-2
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:whenUsed 0..1 Period DSTU2: (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.whenUsed
Constraints: ext-1
.... extension:timing 0..1 Timing, Period DSTU2: additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.timing
Constraints: ext-1
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... identifier Σ 0..* Identifier External identifier for this record
.... 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:identifier 0..* Identifier DSTU2: additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.identifier
Constraints: ext-1
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... type Σ 0..1 CodeableConcept Description of identifier
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
.... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value ΣC 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)
... basedOn Σ 0..* Reference(ServiceRequest) Fulfills plan, proposal or order
... status ?!Σ 1..1 code active | completed | not-done | entered-in-error +
Binding: DeviceUsageStatus (required): A coded concept indicating the current status of the Device Usage.
... category 0..* CodeableConcept The category of the statement - classifying how the statement is made
... patient Σ 1..1 Reference(Patient) Patient using 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:subject 0..1 Reference(Resource) DSTU2: 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") - must be a resource in resources
Binding: ResourceType . (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
.... display ΣC 0..1 string Text alternative for the resource
... derivedFrom Σ 0..* Reference(ServiceRequest | Procedure | Claim | Observation | QuestionnaireResponse | DocumentReference) Supporting information
... context Σ 0..1 Reference(Encounter | EpisodeOfCare) The encounter or episode of care that establishes the context for this device use statement
... timing[x] Σ 0..1 How often the device was used
.... timingTiming Timing
.... timingPeriod Period
.... timingDateTime dateTime
... dateAsserted Σ 0..1 dateTime When the statement was made (and recorded)
... usageStatus 0..1 CodeableConcept The status of the device usage, for example always, sometimes, never. This is not the same as the status of the statement
Binding: DeviceUsageStatus (required): Codes representing the usage status of the device.
... usageReason 0..* CodeableConcept The reason for asserting the usage status - for example forgot, lost, stolen, broken
... adherence 0..1 BackboneElement How device is being used
.... 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
.... code 1..1 CodeableConcept always | never | sometimes
Binding: DeviceUsageAdherenceCode (example): Codes for adherence
.... reason 1..* CodeableConcept lost | stolen | prescribed | broken | burned | forgot
Binding: DeviceUsageAdherenceReason (example): Codes for adherence reason
... informationSource Σ 0..1 Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) Who made the statement
... device Σ 1..1 CodeableReference(Device | DeviceDefinition) Code or Reference to device used
.... 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:device 1..1 Reference(Cross-version Profile for DSTU2.Device for use in FHIR R5(0.1.0) | DeviceAssociation) DSTU2: additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.device
Constraints: ext-1
.... concept Σ 0..1 CodeableConcept Reference to a concept (by class)
.... reference Σ 0..1 Reference() Reference to a resource (by instance)
... reason Σ 0..* CodeableReference(Condition | Observation | DiagnosticReport | DocumentReference | Procedure) Why device was used
... bodySite Σ 0..1 CodeableReference(BodyStructure) Target body site
Binding: SNOMEDCTBodyStructures (example): SNOMED CT Body site concepts
.... 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:bodySite 0..1 Reference(Cross-version Profile for DSTU2.BodySite for use in FHIR R5(0.1.0) | BodyStructure) DSTU2: bodySite additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.bodySite
Constraints: ext-1
.... concept Σ 0..1 CodeableConcept Reference to a concept (by class)
.... reference Σ 0..1 Reference() Reference to a resource (by instance)
... note 0..* Annotation Addition details (comments, instructions)
.... 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:notes 0..* string DSTU2: additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-DeviceUseStatement.notes
Constraints: ext-1
.... author[x] Σ 0..1 Individual responsible for the annotation
..... authorReference Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Organization)
..... authorString string
.... time Σ 0..1 dateTime When the annotation was made
.... text Σ 1..1 markdown The annotation - text content (as markdown)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
DeviceUsage.meta.security Base extensible All Security Labels . 📍5.0.0 tx.fhir.org
DeviceUsage.meta.tag Base example Common Tags 📍5.0.0 FHIR Std.
DeviceUsage.language Base required All Languages 📍5.0.0 FHIR Std.
DeviceUsage.text.status Base required NarrativeStatus 📍5.0.0 FHIR Std.
DeviceUsage.identifier.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
DeviceUsage.identifier.​type Base extensible Identifier Type Codes 📍5.0.0 FHIR Std.
DeviceUsage.status Base required Device Usage Status 📍5.0.0 FHIR Std.
DeviceUsage.patient.​type Base extensible Resource Types . 📍5.0.0 tx.fhir.org
DeviceUsage.usageStatus Base required Device Usage Status 📍5.0.0 FHIR Std.
DeviceUsage.adherence.​code Base example Device Usage Adherence Code 📍5.0.0 FHIR Std.
DeviceUsage.adherence.​reason Base example Device Usage Adherence Reason 📍5.0.0 FHIR Std.
DeviceUsage.bodySite Base example SNOMED CT Body Structures 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error DeviceUsage If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error DeviceUsage 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error DeviceUsage 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 DeviceUsage If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice DeviceUsage A resource should have narrative for robust management text.`div`.exists()
ele-1 error DeviceUsage.meta, DeviceUsage.meta.extension, DeviceUsage.meta.extension:meta, DeviceUsage.meta.versionId, DeviceUsage.meta.lastUpdated, DeviceUsage.meta.source, DeviceUsage.meta.profile, DeviceUsage.meta.security, DeviceUsage.meta.tag, DeviceUsage.implicitRules, DeviceUsage.language, DeviceUsage.text, DeviceUsage.text.extension, DeviceUsage.text.extension:text, DeviceUsage.text.status, DeviceUsage.text.div, DeviceUsage.extension, DeviceUsage.extension:whenUsed, DeviceUsage.extension:timing, DeviceUsage.modifierExtension, DeviceUsage.identifier, DeviceUsage.identifier.extension, DeviceUsage.identifier.extension:identifier, DeviceUsage.identifier.use, DeviceUsage.identifier.type, DeviceUsage.identifier.system, DeviceUsage.identifier.value, DeviceUsage.identifier.period, DeviceUsage.identifier.assigner, DeviceUsage.basedOn, DeviceUsage.status, DeviceUsage.category, DeviceUsage.patient, DeviceUsage.patient.extension, DeviceUsage.patient.extension:subject, DeviceUsage.patient.reference, DeviceUsage.patient.type, DeviceUsage.patient.identifier, DeviceUsage.patient.display, DeviceUsage.derivedFrom, DeviceUsage.context, DeviceUsage.timing[x], DeviceUsage.dateAsserted, DeviceUsage.usageStatus, DeviceUsage.usageReason, DeviceUsage.adherence, DeviceUsage.adherence.extension, DeviceUsage.adherence.modifierExtension, DeviceUsage.adherence.code, DeviceUsage.adherence.reason, DeviceUsage.informationSource, DeviceUsage.device, DeviceUsage.device.extension, DeviceUsage.device.extension:device, DeviceUsage.device.concept, DeviceUsage.device.reference, DeviceUsage.reason, DeviceUsage.bodySite, DeviceUsage.bodySite.extension, DeviceUsage.bodySite.extension:bodySite, DeviceUsage.bodySite.concept, DeviceUsage.bodySite.reference, DeviceUsage.note, DeviceUsage.note.extension, DeviceUsage.note.extension:notes, DeviceUsage.note.author[x], DeviceUsage.note.time, DeviceUsage.note.text All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error DeviceUsage.meta.extension, DeviceUsage.meta.extension:meta, DeviceUsage.text.extension, DeviceUsage.text.extension:text, DeviceUsage.extension, DeviceUsage.extension:whenUsed, DeviceUsage.extension:timing, DeviceUsage.modifierExtension, DeviceUsage.identifier.extension, DeviceUsage.identifier.extension:identifier, DeviceUsage.patient.extension, DeviceUsage.patient.extension:subject, DeviceUsage.adherence.extension, DeviceUsage.adherence.modifierExtension, DeviceUsage.device.extension, DeviceUsage.device.extension:device, DeviceUsage.bodySite.extension, DeviceUsage.bodySite.extension:bodySite, DeviceUsage.note.extension, DeviceUsage.note.extension:notes Must have either extensions or value[x], not both extension.exists() != value.exists()
txt-1 error DeviceUsage.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 DeviceUsage.text.div The narrative SHALL have some non-whitespace content htmlChecks()

 

Other representations of profile: CSV, Excel, Schematron