QI-Core Implementation Guide
6.0.0-ballot - ballot United States of America flag

This page is part of the Quality Improvement Core Framework (v6.0.0-ballot: STU6 (v6.0.0) Ballot 1) based on FHIR R4. The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Resource Profile: QICore Device Not Requested

Official URL: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-devicenotrequested Version: 6.0.0-ballot
Active as of 2019-07-11 Computable Name: QICoreDeviceNotRequested

Profile of DeviceRequest for decision support/quality metrics. Defines the core set of elements and extensions for quality rule and measure authors.

Usage

See the patterns page for implementation and usage patterns.

The DeviceRequest and DeviceNotRequested profiles represent the positive and negative statements for a device request.

The following example illustrates accessing DeviceRequest not requested data:

  define "Venous Foot Pumps Not Ordered":
[DeviceNotRequested: "Venous Foot Pumps (VFP)"] DeviceNotOrdered
  where (DeviceNotOrdered.doNotPerformReason in "Medical Reason"
    or DeviceNotOrdered.doNotPerformReason in "Patient Refusal"
  )
  

Examples

Negation Example with valuesetDevice not indicated; indicates that none of the devices in the given "not done value set" were requested.
Negation Example with codeDevice not indicated; indicates that a specific device, by code, was not requested.

For a more complete discussion of representation of negation within QICore and quality improvement artifacts, see the Negation in QI Core topic.

Usage:

Formal Views of Profile Content

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

This structure is derived from DeviceRequest

NameFlagsCard.TypeDescription & Constraintsdoco
.. DeviceRequest C0..*DeviceRequestMedical device request
dnr-1: to indicate what device was not requested, either at least one coding in the code or a notDoneValueSet extension shall be provided
... doNotPerformReason S1..1CodeableConceptExtension
URL: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-doNotPerformReason
Binding: QICore Negation Reason Codes (extensible): The reason the event did not occur or was not performed

... modifierExtension:doNotPerform ?!S1..1Extension-5.0-DeviceRequest.doNotPerformExtension
.... value[x] S1..1booleanValue of extension
Fixed Value: true
... status S0..1codedraft | active | on-hold | revoked | completed | entered-in-error | unknown
... code[x] SC1..1CodeableConceptDevice requested
Binding: FHIRDeviceTypes (preferred)
.... doNotPerformValueSet SC0..1canonical(ValueSet)What was not done
URL: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-notDoneValueSet
... subject S1..1Reference(QICore Patient)Focus of request
... authoredOn S1..1dateTimeWhen recorded

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
DeviceRequest.code[x]preferredFHIRDeviceTypes

Constraints

IdGradePath(s)DetailsRequirements
dnr-1errorDeviceRequestto indicate what device was not requested, either at least one coding in the code or a notDoneValueSet extension shall be provided
: code.extension('http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-notDoneValueSet').exists() xor code.coding.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. DeviceRequest C0..*DeviceRequestMedical device request
dnr-1: to indicate what device was not requested, either at least one coding in the code or a notDoneValueSet extension shall be provided
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
... doNotPerformReason S1..1CodeableConceptExtension
URL: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-doNotPerformReason
Binding: QICore Negation Reason Codes (extensible): The reason the event did not occur or was not performed


... modifierExtension:doNotPerform ?!S1..1Extension-5.0-DeviceRequest.doNotPerformExtension
.... extension 0..0
.... url 1..1uri"http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.doNotPerform"
.... value[x] S1..1booleanValue of extension
Fixed Value: true
... status ?!SΣ0..1codedraft | active | on-hold | revoked | completed | entered-in-error | unknown
Binding: RequestStatus (required): Codes representing the status of the request.

... intent ?!SΣ1..1codeproposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
Binding: RequestIntent (required): The kind of diagnostic request.

... code[x] SΣC1..1CodeableConceptDevice requested
Binding: FHIRDeviceTypes (preferred)
.... doNotPerformValueSet SC0..1canonical(ValueSet)What was not done
URL: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-notDoneValueSet
... subject SΣ1..1Reference(QICore Patient)Focus of request
... authoredOn SΣ1..1dateTimeWhen recorded

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
DeviceRequest.statusrequiredRequestStatus
DeviceRequest.intentrequiredRequestIntent
DeviceRequest.code[x]preferredFHIRDeviceTypes

Constraints

IdGradePath(s)DetailsRequirements
dnr-1errorDeviceRequestto indicate what device was not requested, either at least one coding in the code or a notDoneValueSet extension shall be provided
: code.extension('http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-notDoneValueSet').exists() xor code.coding.exists()
dom-2errorDeviceRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorDeviceRequestIf 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-4errorDeviceRequestIf 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-5errorDeviceRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceDeviceRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. DeviceRequest C0..*DeviceRequestMedical device request
dnr-1: to indicate what device was not requested, either at least one coding in the code or a notDoneValueSet extension shall be provided
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguagesMax Binding
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
... doNotPerformReason S1..1CodeableConceptExtension
URL: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-doNotPerformReason
Binding: QICore Negation Reason Codes (extensible): The reason the event did not occur or was not performed


... Slices for modifierExtension ?!1..*ExtensionExtension
Slice: Unordered, Open by value:url
... modifierExtension:doNotPerform ?!S1..1Extension-5.0-DeviceRequest.doNotPerformExtension
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.doNotPerform"
.... value[x] S1..1booleanValue of extension
Fixed Value: true
... identifier Σ0..*IdentifierExternal Request identifier
... instantiatesCanonical Σ0..*canonical(ActivityDefinition | PlanDefinition)Instantiates FHIR protocol or definition
... instantiatesUri Σ0..*uriInstantiates external protocol or definition
... basedOn Σ0..*Reference(Resource)What request fulfills
... priorRequest Σ0..*Reference(Resource)What request replaces
... groupIdentifier Σ0..1IdentifierIdentifier of composite request
... status ?!SΣ0..1codedraft | active | on-hold | revoked | completed | entered-in-error | unknown
Binding: RequestStatus (required): Codes representing the status of the request.

... intent ?!SΣ1..1codeproposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
Binding: RequestIntent (required): The kind of diagnostic request.

... priority Σ0..1coderoutine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.

... code[x] SΣC1..1CodeableConceptDevice requested
Binding: FHIRDeviceTypes (preferred)
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... doNotPerformValueSet SC0..1canonical(ValueSet)What was not done
URL: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-notDoneValueSet
.... coding Σ0..*CodingCode defined by a terminology system
.... text Σ0..1stringPlain text representation of the concept
... parameter 0..*BackboneElementDevice details
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... code 0..1CodeableConceptDevice detail
Binding: (unbound) (example): A code that identifies the device detail.

.... value[x] 0..1Value of detail
..... valueCodeableConceptCodeableConcept
..... valueQuantityQuantity
..... valueRangeRange
..... valueBooleanboolean
... subject SΣ1..1Reference(QICore Patient)Focus of request
... encounter Σ0..1Reference(Encounter)Encounter motivating request
... occurrence[x] Σ0..1Desired time or schedule for use
.... occurrenceDateTimedateTime
.... occurrencePeriodPeriod
.... occurrenceTimingTiming
... authoredOn SΣ1..1dateTimeWhen recorded
... requester Σ0..1Reference(Device | Practitioner | PractitionerRole | Organization)Who/what is requesting diagnostics
... performerType Σ0..1CodeableConceptFiller role
Binding: ParticipantRoles (example): Indicates specific responsibility of an individual within the care team, such as "Primary physician", "Team coordinator", "Caregiver", etc.

... performer Σ0..1Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson)Requested Filler
... reasonCode Σ0..*CodeableConceptCoded Reason for request
Binding: Condition/Problem/DiagnosisCodes (example): Diagnosis or problem codes justifying the reason for requesting the device.


... reasonReference Σ0..*Reference(Condition | Observation | DiagnosticReport | DocumentReference)Linked Reason for request
... insurance 0..*Reference(Coverage | ClaimResponse)Associated insurance coverage
... supportingInfo 0..*Reference(Resource)Additional clinical information
... note 0..*AnnotationNotes or comments
... relevantHistory 0..*Reference(Provenance)Request provenance

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
DeviceRequest.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
DeviceRequest.statusrequiredRequestStatus
DeviceRequest.intentrequiredRequestIntent
DeviceRequest.priorityrequiredRequestPriority
DeviceRequest.code[x]preferredFHIRDeviceTypes
DeviceRequest.parameter.codeexample
DeviceRequest.performerTypeexampleParticipantRoles
DeviceRequest.reasonCodeexampleCondition/Problem/DiagnosisCodes

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from DeviceRequest

Differential View

This structure is derived from DeviceRequest

NameFlagsCard.TypeDescription & Constraintsdoco
.. DeviceRequest C0..*DeviceRequestMedical device request
dnr-1: to indicate what device was not requested, either at least one coding in the code or a notDoneValueSet extension shall be provided
... doNotPerformReason S1..1CodeableConceptExtension
URL: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-doNotPerformReason
Binding: QICore Negation Reason Codes (extensible): The reason the event did not occur or was not performed

... modifierExtension:doNotPerform ?!S1..1Extension-5.0-DeviceRequest.doNotPerformExtension
.... value[x] S1..1booleanValue of extension
Fixed Value: true
... status S0..1codedraft | active | on-hold | revoked | completed | entered-in-error | unknown
... code[x] SC1..1CodeableConceptDevice requested
Binding: FHIRDeviceTypes (preferred)
.... doNotPerformValueSet SC0..1canonical(ValueSet)What was not done
URL: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-notDoneValueSet
... subject S1..1Reference(QICore Patient)Focus of request
... authoredOn S1..1dateTimeWhen recorded

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
DeviceRequest.code[x]preferredFHIRDeviceTypes

Constraints

IdGradePath(s)DetailsRequirements
dnr-1errorDeviceRequestto indicate what device was not requested, either at least one coding in the code or a notDoneValueSet extension shall be provided
: code.extension('http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-notDoneValueSet').exists() xor code.coding.exists()

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. DeviceRequest C0..*DeviceRequestMedical device request
dnr-1: to indicate what device was not requested, either at least one coding in the code or a notDoneValueSet extension shall be provided
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
... doNotPerformReason S1..1CodeableConceptExtension
URL: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-doNotPerformReason
Binding: QICore Negation Reason Codes (extensible): The reason the event did not occur or was not performed


... modifierExtension:doNotPerform ?!S1..1Extension-5.0-DeviceRequest.doNotPerformExtension
.... extension 0..0
.... url 1..1uri"http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.doNotPerform"
.... value[x] S1..1booleanValue of extension
Fixed Value: true
... status ?!SΣ0..1codedraft | active | on-hold | revoked | completed | entered-in-error | unknown
Binding: RequestStatus (required): Codes representing the status of the request.

... intent ?!SΣ1..1codeproposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
Binding: RequestIntent (required): The kind of diagnostic request.

... code[x] SΣC1..1CodeableConceptDevice requested
Binding: FHIRDeviceTypes (preferred)
.... doNotPerformValueSet SC0..1canonical(ValueSet)What was not done
URL: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-notDoneValueSet
... subject SΣ1..1Reference(QICore Patient)Focus of request
... authoredOn SΣ1..1dateTimeWhen recorded

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
DeviceRequest.statusrequiredRequestStatus
DeviceRequest.intentrequiredRequestIntent
DeviceRequest.code[x]preferredFHIRDeviceTypes

Constraints

IdGradePath(s)DetailsRequirements
dnr-1errorDeviceRequestto indicate what device was not requested, either at least one coding in the code or a notDoneValueSet extension shall be provided
: code.extension('http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-notDoneValueSet').exists() xor code.coding.exists()
dom-2errorDeviceRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorDeviceRequestIf 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-4errorDeviceRequestIf 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-5errorDeviceRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceDeviceRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. DeviceRequest C0..*DeviceRequestMedical device request
dnr-1: to indicate what device was not requested, either at least one coding in the code or a notDoneValueSet extension shall be provided
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguagesMax Binding
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
... doNotPerformReason S1..1CodeableConceptExtension
URL: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-doNotPerformReason
Binding: QICore Negation Reason Codes (extensible): The reason the event did not occur or was not performed


... Slices for modifierExtension ?!1..*ExtensionExtension
Slice: Unordered, Open by value:url
... modifierExtension:doNotPerform ?!S1..1Extension-5.0-DeviceRequest.doNotPerformExtension
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.doNotPerform"
.... value[x] S1..1booleanValue of extension
Fixed Value: true
... identifier Σ0..*IdentifierExternal Request identifier
... instantiatesCanonical Σ0..*canonical(ActivityDefinition | PlanDefinition)Instantiates FHIR protocol or definition
... instantiatesUri Σ0..*uriInstantiates external protocol or definition
... basedOn Σ0..*Reference(Resource)What request fulfills
... priorRequest Σ0..*Reference(Resource)What request replaces
... groupIdentifier Σ0..1IdentifierIdentifier of composite request
... status ?!SΣ0..1codedraft | active | on-hold | revoked | completed | entered-in-error | unknown
Binding: RequestStatus (required): Codes representing the status of the request.

... intent ?!SΣ1..1codeproposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
Binding: RequestIntent (required): The kind of diagnostic request.

... priority Σ0..1coderoutine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.

... code[x] SΣC1..1CodeableConceptDevice requested
Binding: FHIRDeviceTypes (preferred)
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... doNotPerformValueSet SC0..1canonical(ValueSet)What was not done
URL: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-notDoneValueSet
.... coding Σ0..*CodingCode defined by a terminology system
.... text Σ0..1stringPlain text representation of the concept
... parameter 0..*BackboneElementDevice details
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... code 0..1CodeableConceptDevice detail
Binding: (unbound) (example): A code that identifies the device detail.

.... value[x] 0..1Value of detail
..... valueCodeableConceptCodeableConcept
..... valueQuantityQuantity
..... valueRangeRange
..... valueBooleanboolean
... subject SΣ1..1Reference(QICore Patient)Focus of request
... encounter Σ0..1Reference(Encounter)Encounter motivating request
... occurrence[x] Σ0..1Desired time or schedule for use
.... occurrenceDateTimedateTime
.... occurrencePeriodPeriod
.... occurrenceTimingTiming
... authoredOn SΣ1..1dateTimeWhen recorded
... requester Σ0..1Reference(Device | Practitioner | PractitionerRole | Organization)Who/what is requesting diagnostics
... performerType Σ0..1CodeableConceptFiller role
Binding: ParticipantRoles (example): Indicates specific responsibility of an individual within the care team, such as "Primary physician", "Team coordinator", "Caregiver", etc.

... performer Σ0..1Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson)Requested Filler
... reasonCode Σ0..*CodeableConceptCoded Reason for request
Binding: Condition/Problem/DiagnosisCodes (example): Diagnosis or problem codes justifying the reason for requesting the device.


... reasonReference Σ0..*Reference(Condition | Observation | DiagnosticReport | DocumentReference)Linked Reason for request
... insurance 0..*Reference(Coverage | ClaimResponse)Associated insurance coverage
... supportingInfo 0..*Reference(Resource)Additional clinical information
... note 0..*AnnotationNotes or comments
... relevantHistory 0..*Reference(Provenance)Request provenance

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
DeviceRequest.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
DeviceRequest.statusrequiredRequestStatus
DeviceRequest.intentrequiredRequestIntent
DeviceRequest.priorityrequiredRequestPriority
DeviceRequest.code[x]preferredFHIRDeviceTypes
DeviceRequest.parameter.codeexample
DeviceRequest.performerTypeexampleParticipantRoles
DeviceRequest.reasonCodeexampleCondition/Problem/DiagnosisCodes

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from DeviceRequest

Summary

Mandatory: 5 elements
Must-Support: 9 elements
Fixed Value: 1 element

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

 

Other representations of profile: CSV, Excel, Schematron