us-quality-core-devicerequest
type: StructureDefinition
node role: treeRoot
resource.id:
  value: us-quality-core-devicerequest
resource.language:
  value: en
domain resource.text:
  narrative.status:
    value: extensions
  narrative.div: Generated Narrative: StructureDefinition us-quality-core-devicerequest Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> DeviceRequest C 0..* DeviceRequest Medical device request Constraints: drq-3 #xD; Slices for modifierExtension 0..* Extension Extension Slice: Unordered, Open by value:url #xD; modifierExtension:doNotPerform 0..1 boolean (USCDI+ Quality) Extensions that cannot be ignored URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.doNotPerform #xD; status 0..1 code (USCDI+ Quality) draft | active | on-hold | revoked | completed | entered-in-error | unknown #xD; intent 1..1 code (USCDI+ Quality) proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option #xD; Slices for code[x] <a style="padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;; font-style: italic; padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;; font-style: italic" href="http://hl7.org/fhir/R4/conformance-rules.html#constraints" title="This element has or is affected by constraints ( drq-3 )">C 1..1 (USCDI+ Quality) Device requested Slice: Unordered, Open by type:$this Binding: FHIRDeviceTypes (preferred) #xD; codeReference Reference(US Core Device Profile(9.0.0)) #xD; codeCodeableConcept CodeableConcept #xD; code[x]:codeCodeableConcept 0..1 CodeableConcept Device requested #xD; Slices for extension Content/Rules for all slices #xD; extension:codeOptions C 0..1 canonical(ValueSet) (USCDI+ Quality) Url of a value set of candidate devices URL: http://hl7.org/fhir/StructureDefinition/codeOptions #xD; subject 1..1 Reference(US Quality Core Patient) Focus of request #xD; authoredOn 0..1 dateTime (USCDI+ Quality) When recorded #xD; requester 0..1 Reference(Device | Practitioner | PractitionerRole | Organization) (USCDI…
domain resource.extension:
  index: -1
  extension.url:
    value: http://hl7.org/fhir/StructureDefinition/structuredefinition-wg
  extension.value code:
    value: cqi
domain resource.extension:
  index: -1
  extension.url:
    value: http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm
  extension.value integer:
    value: 4
    element.extension:
      index: -1
      extension.url:
        value: http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom
      extension.value canonical:
        value: http://hl7.org/fhir/us/quality-core/ImplementationGuide/hl7.fhir.us.quality-core
        link: http://hl7.org/fhir/us/quality-core/ImplementationGuide/hl7.fhir.us.quality-core
domain resource.extension:
  index: -1
  extension.url:
    value: http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status
  extension.value code:
    value: trial-use
    element.extension:
      index: -1
      extension.url:
        value: http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom
      extension.value canonical:
        value: http://hl7.org/fhir/us/quality-core/ImplementationGuide/hl7.fhir.us.quality-core
        link: http://hl7.org/fhir/us/quality-core/ImplementationGuide/hl7.fhir.us.quality-core
structure definition.url:
  value: http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-devicerequest
structure definition.identifier:
  index: -1
  identifier.system:
    value: urn:ietf:rfc:3986
  identifier.value:
    value: urn:oid:2.16.840.1.113883.4.642.40.78.42.12
structure definition.version:
  value: 1.0.0-ballot
structure definition.name:
  value: USQualityCoreDeviceRequest
structure definition.title:
  value: US Quality Core DeviceRequest
structure definition.status:
  value: active
structure definition.experimental:
  value: false
structure definition.date:
  value: 2026-06-30
structure definition.publisher:
  value: HL7 International / Clinical Quality Information
structure definition.contact:
  index: -1
  contact detail.name:
    value: HL7 International / Clinical Quality Information
  contact detail.telecom:
    index: -1
    contact point.system:
      value: url
    contact point.value:
      value: http://www.hl7.org/Special/committees/cqi
structure definition.contact:
  index: -1
  contact detail.name:
    value: Clinical Quality Information WG
  contact detail.telecom:
    index: -1
    contact point.system:
      value: url
    contact point.value:
      value: http://www.hl7.org/Special/committees/cqi
structure definition.description:
  value: Profile of DeviceRequest for decision support/quality metrics. Defines the core set of elements and extensions for quality rule and measure authors.
structure definition.jurisdiction:
  index: -1
  codeable concept.coding:
    index: -1
    coding.system:
      value: urn:iso:std:iso:3166
    coding.code:
      value: US
structure definition.fhir version:
  value: 4.0.1
structure definition.mapping:
  index: -1
  structure definition.mapping.identity:
    value: workflow
  structure definition.mapping.uri:
    value: http://hl7.org/fhir/workflow
  structure definition.mapping.name:
    value: Workflow Pattern
structure definition.mapping:
  index: -1
  structure definition.mapping.identity:
    value: v2
  structure definition.mapping.uri:
    value: http://hl7.org/v2
  structure definition.mapping.name:
    value: HL7 v2 Mapping
structure definition.mapping:
  index: -1
  structure definition.mapping.identity:
    value: rim
  structure definition.mapping.uri:
    value: http://hl7.org/v3
  structure definition.mapping.name:
    value: RIM Mapping
structure definition.mapping:
  index: -1
  structure definition.mapping.identity:
    value: w5
  structure definition.mapping.uri:
    value: http://hl7.org/fhir/fivews
  structure definition.mapping.name:
    value: FiveWs Pattern Mapping
structure definition.mapping:
  index: -1
  structure definition.mapping.identity:
    value: quick
  structure definition.mapping.uri:
    value: http://siframework.org/cqf
  structure definition.mapping.name:
    value: Quality Improvement and Clinical Knowledge (QUICK)
structure definition.kind:
  value: resource
structure definition.abstract:
  value: false
structure definition.type:
  value: DeviceRequest
structure definition.base definition:
  value: http://hl7.org/fhir/StructureDefinition/DeviceRequest
  link: http://hl7.org/fhir/StructureDefinition/DeviceRequest
structure definition.derivation:
  value: constraint
structure definition.snapshot:
  element.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
    extension.value string:
      value: 4.0.1
  structure definition.snapshot.element:
    index: -1
    element.id:
      value: DeviceRequest
    element definition.path:
      value: DeviceRequest
    element definition.short:
      value: Medical device request
    element definition.definition:
      value: Represents a request for a patient to employ a medical device. The device may be an implantable device, or an external assistive device, such as a walker.
    element definition.min:
      value: 0
    element definition.max:
      value: *
    element definition.base:
      element definition.base.path:
        value: DeviceRequest
      element definition.base.min:
        value: 0
      element definition.base.max:
        value: *
    element definition.constraint:
      index: -1
      element definition.constraint.key:
        value: dom-2
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: If the resource is contained in another resource, it SHALL NOT contain nested Resources
      element definition.constraint.expression:
        value: contained.contained.empty()
      element definition.constraint.xpath:
        value: not(parent::f:contained and f:contained)
      element definition.constraint.source:
        value: http://hl7.org/fhir/StructureDefinition/DomainResource
        link: http://hl7.org/fhir/StructureDefinition/DomainResource
    element definition.constraint:
      index: -1
      element definition.constraint.key:
        value: dom-3
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: 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
      element definition.constraint.expression:
        value: 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()
      element definition.constraint.xpath:
        value: not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))
      element definition.constraint.source:
        value: http://hl7.org/fhir/StructureDefinition/DomainResource
        link: http://hl7.org/fhir/StructureDefinition/DomainResource

index: -1
element definition.constraint.key:
  value: dom-4
element definition.constraint.severity:
  value: error
element definition.constraint.human:
  value: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
element definition.constraint.expression:
  value: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
element definition.constraint.xpath:
  value: not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))
element definition.constraint.source:
  value: http://hl7.org/fhir/StructureDefinition/DomainResource
  link: http://hl7.org/fhir/StructureDefinition/DomainResource

index: -1
element definition.constraint.key:
  value: dom-5
element definition.constraint.severity:
  value: error
element definition.constraint.human:
  value: If a resource is contained in another resource, it SHALL NOT have a security label
element definition.constraint.expression:
  value: contained.meta.security.empty()
element definition.constraint.xpath:
  value: not(exists(f:contained/*/f:meta/f:security))
element definition.constraint.source:
  value: http://hl7.org/fhir/StructureDefinition/DomainResource
  link: http://hl7.org/fhir/StructureDefinition/DomainResource

index: -1
element.extension:
  index: -1
  extension.url:
    value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice
  extension.value boolean:
    value: true
element.extension:
  index: -1
  extension.url:
    value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation
  extension.value markdown:
    value: When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time.
element definition.constraint.key:
  value: dom-6
element definition.constraint.severity:
  value: warning
element definition.constraint.human:
  value: A resource should have narrative for robust management
element definition.constraint.expression:
  value: text.`div`.exists()
element definition.constraint.xpath:
  value: exists(f:text/h:div)
element definition.constraint.source:
  value: http://hl7.org/fhir/StructureDefinition/DomainResource
  link: http://hl7.org/fhir/StructureDefinition/DomainResource

index: -1
element definition.constraint.key:
  value: drq-3
element definition.constraint.severity:
  value: error
element definition.constraint.human:
  value: to indicate what device, either at least one coding in the code or a codeOptions extension shall be provided
element definition.constraint.expression:
  value: (code is Reference).not() implies code.extension('http://hl7.org/fhir/StructureDefinition/codeOptions').exists() xor code.coding.exists()
element definition.constraint.xpath:
  value: exists(f:extension)
element definition.constraint.source:
  value: http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-devicerequest
  link: http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-devicerequest

value: false

value: false

value: false

index: -1
element definition.mapping.identity:
  value: rim
element definition.mapping.map:
  value: Entity. Role, or Act

index: -1
element definition.mapping.identity:
  value: workflow
element definition.mapping.map:
  value: Request

index: -1
element definition.mapping.identity:
  value: v2
element definition.mapping.map:
  value: ORC

index: -1
element definition.mapping.identity:
  value: rim
element definition.mapping.map:
  value: Act[moodCode<=INT]

index: -1
element.id:
  value: DeviceRequest.id
element definition.path:
  value: DeviceRequest.id
element definition.short:
  value: Logical id of this artifact
element definition.definition:
  value: The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
element definition.comment:
  value: The only time that a resource does not have an id is when it is being submitted to the server using a create operation.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Resource.id
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: -1
  element.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    extension.value url:
      value: id
  element definition.type.code:
    value: http://hl7.org/fhirpath/System.String
element definition.is modifier:
  value: false
element definition.is summary:
  value: true

index: -1
element.id:
  value: DeviceRequest.meta
element definition.path:
  value: DeviceRequest.meta
element definition.short:
  value: Metadata about the resource
element definition.definition:
  value: The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Resource.meta
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: -1
  element definition.type.code:
    value: Meta
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true

index: -1
element.id:
  value: DeviceRequest.implicitRules
element definition.path:
  value: DeviceRequest.implicitRules
element definition.short:
  value: A set of rules under which this content was created
element definition.definition:
  value: A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.
element definition.comment:
  value: Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Resource.implicitRules
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: -1
  element definition.type.code:
    value: uri
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: true
element definition.is modifier reason:
  value: This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation
element definition.is summary:
  value: true

index: -1
element.id:
  value: DeviceRequest.language
element definition.path:
  value: DeviceRequest.language
element definition.short:
  value: Language of the resource content
element definition.definition:
  value: The base language in which the resource is written.
element definition.comment:
  value: Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Resource.language
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: -1
  element definition.type.code:
    value: code
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.binding:
  element.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet
    extension.value canonical:
      value: http://hl7.org/fhir/ValueSet/all-languages
      link: http://hl7.org/fhir/ValueSet/all-languages
  element.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: Language
  element definition.binding.strength:
    value: preferred
  element definition.binding.description:
    value: A human language.
  element definition.binding.value set:
    value: http://hl7.org/fhir/ValueSet/languages|4.0.1
    link: 4.0
    link: .1

index: -1
element.id:
  value: DeviceRequest.text
element definition.path:
  value: DeviceRequest.text
element definition.short:
  value: Text summary of the resource, for human interpretation
element definition.definition:
  value: A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.
element definition.comment:
  value: Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded information is added later.
element definition.alias:
  value: narrative
  index: -1
element definition.alias:
  value: html
  index: -1
element definition.alias:
  value: xhtml
  index: -1
element definition.alias:
  value: display
  index: -1
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DomainResource.text
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: -1
  element definition.type.code:
    value: Narrative
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: Act.text?

index: -1
element.id:
  value: DeviceRequest.contained
element definition.path:
  value: DeviceRequest.contained
element definition.short:
  value: Contained, inline Resources
element definition.definition:
  value: These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.
element definition.comment:
  value: This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.
element definition.alias:
  value: inline resources
  index: -1
element definition.alias:
  value: anonymous resources
  index: -1
element definition.alias:
  value: contained resources
  index: -1
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: DomainResource.contained
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: -1
  element definition.type.code:
    value: Resource
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: -1
element.id:
  value: DeviceRequest.extension
element definition.path:
  value: DeviceRequest.extension
element definition.short:
  value: Additional content defined by implementations
element definition.definition:
  value: May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
element definition.comment:
  value: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
element definition.alias:
  value: extensions
  index: -1
element definition.alias:
  value: user content
  index: -1
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: DomainResource.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: -1
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: -1
element.id:
  value: DeviceRequest.modifierExtension
element definition.path:
  value: DeviceRequest.modifierExtension
element definition.slicing:
  element definition.slicing.discriminator:
    index: -1
    element definition.slicing.discriminator.type:
      value: value
    element definition.slicing.discriminator.path:
      value: url
  element definition.slicing.ordered:
    value: false
  element definition.slicing.rules:
    value: open
element definition.short:
  value: Extension
element definition.definition:
  value: An Extension
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: DomainResource.modifierExtension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: -1
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: true
element definition.is modifier reason:
  value: The do not perform element changes the meaning of the request from a positive to a negative statement
element definition.is summary:
  value: false

index: -1
element.id:
  value: DeviceRequest.modifierExtension:doNotPerform
element.extension:
  index: -1
  extension.url:
    value: http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-uscdi-quality-extension
  extension.value boolean:
    value: true
element definition.path:
  value: DeviceRequest.modifierExtension
element definition.slice name:
  value: doNotPerform
element definition.short:
  value: (USCDI+ Quality) Extensions that cannot be ignored
element definition.definition:
  value: R5: `DeviceRequest.doNotPerform` (new:boolean)
element definition.comment:
  value: Element `DeviceRequest.doNotPerform` has a context of DeviceRequest based on following the parent source element upwards and mapping to `DeviceRequest`. Element `DeviceRequest.doNotPerform` has no mapping targets in FHIR R4. Typically, this is because the element has been added (is a new element). If do not perform is not specified, the request is a positive request e.g. "do perform". DeviceRequest.reasonCode includes the reason for marking the DeviceRequest as 'do not perform'.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DomainResource.modifierExtension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: -1
  element definition.type.code:
    value: Extension
  element definition.type.profile:
    value: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.doNotPerform
    index: -1
    link: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.doNotPerform
element definition.condition:
  value: ele-1
  index: -1
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    link: 4.0
    link: .1
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension|4.0.1
    link: 4.0
    link: .1
element definition.is modifier:
  value: true
element definition.is modifier reason:
  value: This element is labeled as a modifier because this element negates the request to occur (ie, this is a request for the medication not to be ordered or prescribed, etc.)
element definition.is summary:
  value: false

index: -1
element.id:
  value: DeviceRequest.identifier
element definition.path:
  value: DeviceRequest.identifier
element definition.short:
  value: External Request identifier
element definition.definition:
  value: Identifiers assigned to this order by the orderer or by the receiver.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: DeviceRequest.identifier
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: -1
  element definition.type.code:
    value: Identifier
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.identifier
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.identifier
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: ORC.2, ORC.3
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .identifier
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: quick
  element definition.mapping.map:
    value: ClinicalStatement.identifier

index: -1
element.id:
  value: DeviceRequest.instantiatesCanonical
element definition.path:
  value: DeviceRequest.instantiatesCanonical
element definition.short:
  value: Instantiates FHIR protocol or definition
element definition.definition:
  value: The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this DeviceRequest.
element definition.comment:
  value: Note: This is a business identifier, not a resource identifier (see [discussion](http://hl7.org/fhir/R4/resource.html#identifiers)). It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types. For example, multiple Patient and a Person resource instance might share the same social insurance number.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: DeviceRequest.instantiatesCanonical
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: -1
  element definition.type.code:
    value: canonical
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/ActivityDefinition|4.0.1
    index: -1
    link: 4.0
    link: .1
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/PlanDefinition|4.0.1
    index: -1
    link: 4.0
    link: .1
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.instantiatesCanonical
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: Varies by domain
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .outboundRelationship[typeCode=DEFN].target

index: -1
element.id:
  value: DeviceRequest.instantiatesUri
element definition.path:
  value: DeviceRequest.instantiatesUri
element definition.short:
  value: Instantiates external protocol or definition
element definition.definition:
  value: The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this DeviceRequest.
element definition.comment:
  value: This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: DeviceRequest.instantiatesUri
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: -1
  element definition.type.code:
    value: uri
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.instantiatesUri
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: Varies by domain
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .outboundRelationship[typeCode=DEFN].target

index: -1
element.id:
  value: DeviceRequest.basedOn
element definition.path:
  value: DeviceRequest.basedOn
element definition.short:
  value: What request fulfills
element definition.definition:
  value: Plan/proposal/order fulfilled by this request.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: DeviceRequest.basedOn
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: -1
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Resource|4.0.1
    index: -1
    link: 4.0
    link: .1
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.basedOn
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: ORC.8 (plus others)
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .outboundRelationship[typeCode=FLFS].target
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: quick
  element definition.mapping.map:
    value: Proposal.prnReason.reason

index: -1
element.id:
  value: DeviceRequest.priorRequest
element definition.path:
  value: DeviceRequest.priorRequest
element definition.short:
  value: What request replaces
element definition.definition:
  value: The request takes the place of the referenced completed or terminated request(s).
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: DeviceRequest.priorRequest
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: -1
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Resource|4.0.1
    index: -1
    link: 4.0
    link: .1
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.replaces
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: Handled by message location of ORC (ORC.1=RO or RU)
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .outboundRelationship[typeCode=RPLC].target

index: -1
element.id:
  value: DeviceRequest.groupIdentifier
element definition.path:
  value: DeviceRequest.groupIdentifier
element definition.short:
  value: Identifier of composite request
element definition.definition:
  value: Composite request this is part of.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DeviceRequest.groupIdentifier
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: -1
  element definition.type.code:
    value: Identifier
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.groupIdentifier
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: ORC.4
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .inboundRelationship(typeCode=COMP].source[moodCode=INT].identifier

index: -1
element.id:
  value: DeviceRequest.status
element.extension:
  index: -1
  extension.url:
    value: http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-uscdi-quality-extension
  extension.value boolean:
    value: true
element definition.path:
  value: DeviceRequest.status
element definition.short:
  value: (USCDI+ Quality) draft | active | on-hold | revoked | completed | entered-in-error | unknown
element definition.definition:
  value: The status of the request.
element definition.comment:
  value: This element is labeled as a modifier because the status contains the codes cancelled and entered-in-error that mark the request as not currently valid.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DeviceRequest.status
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: -1
  element definition.type.code:
    value: code
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: true
element definition.is modifier reason:
  value: This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: DeviceRequestStatus
  element definition.binding.strength:
    value: required
  element definition.binding.description:
    value: Codes representing the status of the request.
  element definition.binding.value set:
    value: http://hl7.org/fhir/ValueSet/request-status|4.0.1
    link: 4.0
    link: .1
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.status
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.status
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: ORC.5
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .status
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: quick
  element definition.mapping.map:
    value: Action.currentStatus

index: -1
element.id:
  value: DeviceRequest.intent
element.extension:
  index: -1
  extension.url:
    value: http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-uscdi-quality-extension
  extension.value boolean:
    value: true
element definition.path:
  value: DeviceRequest.intent
element definition.short:
  value: (USCDI+ Quality) proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
element definition.definition:
  value: Whether the request is a proposal, plan, an original order or a reflex order.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DeviceRequest.intent
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: -1
  element definition.type.code:
    value: code
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: true
element definition.is modifier reason:
  value: This element changes the interpretation of all descriptive attributes. For example "the time the request is recommended to occur" vs. "the time the request is authorized to occur" or "who is recommended to perform the request" vs. "who is authorized to perform the request
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: RequestIntent
  element definition.binding.strength:
    value: required
  element definition.binding.description:
    value: The kind of diagnostic request.
  element definition.binding.value set:
    value: http://hl7.org/fhir/ValueSet/request-intent|4.0.1
    link: 4.0
    link: .1
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.intent
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.class
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: N/A
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .moodCode (nuances beyond PRP/PLAN/RQO would need to be elsewhere)

index: -1
element.id:
  value: DeviceRequest.priority
element definition.path:
  value: DeviceRequest.priority
element definition.short:
  value: routine | urgent | asap | stat
element definition.definition:
  value: Indicates how quickly the {{title}} should be addressed with respect to other requests.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DeviceRequest.priority
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: -1
  element definition.type.code:
    value: code
element definition.meaning when missing:
  value: If missing, normal priority
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: RequestPriority
  element definition.binding.strength:
    value: required
  element definition.binding.description:
    value: Identifies the level of importance to be assigned to actioning the request.
  element definition.binding.value set:
    value: http://hl7.org/fhir/ValueSet/request-priority|4.0.1
    link: 4.0
    link: .1
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.priority
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.grade
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: TQ1.9
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .priorityCode

index: -1
element.id:
  value: DeviceRequest.code[x]
element.extension:
  index: -1
  extension.url:
    value: http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-uscdi-quality-extension
  extension.value boolean:
    value: true
element definition.path:
  value: DeviceRequest.code[x]
element definition.slicing:
  element definition.slicing.discriminator:
    index: -1
    element definition.slicing.discriminator.type:
      value: type
    element definition.slicing.discriminator.path:
      value: $this
  element definition.slicing.ordered:
    value: false
  element definition.slicing.rules:
    value: open
element definition.short:
  value: (USCDI+ Quality) Device requested
element definition.definition:
  value: The details of the device to be used.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DeviceRequest.code[x]
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: -1
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/us/core/StructureDefinition/us-core-device|9.0.0
    index: -1
    link: 9.0
    link: .0
element definition.type:
  index: -1
  element definition.type.code:
    value: CodeableConcept
element definition.condition:
  value: drq-3
  index: -1
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.binding:
  element definition.binding.strength:
    value: preferred
  element definition.binding.value set:
    value: http://hl7.org/fhir/ValueSet/device-kind
    link: http://hl7.org/fhir/ValueSet/device-kind
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.code
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.what[x]
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: Varies by domain
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .code
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: quick
  element definition.mapping.map:
    value: DeviceUse.device

index: -1
element.id:
  value: DeviceRequest.code[x]:codeCodeableConcept
element definition.path:
  value: DeviceRequest.code[x]
element definition.slice name:
  value: codeCodeableConcept
element definition.short:
  value: Device requested
element definition.definition:
  value: The details of the device to be used.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DeviceRequest.code[x]
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: -1
  element definition.type.code:
    value: CodeableConcept
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: DeviceRequestCode
  element definition.binding.strength:
    value: example
  element definition.binding.description:
    value: Codes for devices that can be requested.
  element definition.binding.value set:
    value: http://hl7.org/fhir/ValueSet/device-kind|4.0.1
    link: 4.0
    link: .1
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.code
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.what[x]
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: Varies by domain
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .code
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: quick
  element definition.mapping.map:
    value: DeviceUse.device

index: -1
element.id:
  value: DeviceRequest.code[x]:codeCodeableConcept.id
element definition.path:
  value: DeviceRequest.code[x].id
element definition.representation:
  value: xmlAttr
  index: -1
element definition.short:
  value: Unique id for inter-element referencing
element definition.definition:
  value: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Element.id
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: -1
  element.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    extension.value url:
      value: string
  element definition.type.code:
    value: http://hl7.org/fhirpath/System.String
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: -1
element.id:
  value: DeviceRequest.code[x]:codeCodeableConcept.extension
element definition.path:
  value: DeviceRequest.code[x].extension
element definition.slicing:
  element definition.slicing.discriminator:
    index: -1
    element definition.slicing.discriminator.type:
      value: value
    element definition.slicing.discriminator.path:
      value: url
  element definition.slicing.description:
    value: Extensions are always sliced by (at least) url
  element definition.slicing.rules:
    value: open
element definition.short:
  value: Additional content defined by implementations
element definition.definition:
  value: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
element definition.comment:
  value: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
element definition.alias:
  value: extensions
  index: -1
element definition.alias:
  value: user content
  index: -1
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: -1
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: -1
element.id:
  value: DeviceRequest.code[x]:codeCodeableConcept.extension:codeOptions
element.extension:
  index: -1
  extension.url:
    value: http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-uscdi-quality-extension
  extension.value boolean:
    value: true
element definition.path:
  value: DeviceRequest.code[x].extension
element definition.slice name:
  value: codeOptions
element definition.short:
  value: (USCDI+ Quality) Url of a value set of candidate devices
element definition.definition:
  value: A logical reference (e.g. a reference to ValueSet.url) to a value set/version that identifies a set of possible coded values representing the device.
element definition.comment:
  value: This extension SHALL NOT be used when an appropriate higher level concept code exists. This extension cannot be used to satisfy a required binding. When this extension is used on an element with an extensible binding, the set of possible coded values in the referenced value set SHALL be present in the bound value set unless none of the codes in the bound value set apply to the concept being communicated (based on human review). When this extension appears on a CodeableConcept, the CodeableConcept SHALL have no codings, and the text of the CodeableConcept SHOULD be present. For example, the text might mention the title of value set that describes the allowed content.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: -1
  element definition.type.code:
    value: Extension
  element definition.type.profile:
    value: http://hl7.org/fhir/StructureDefinition/codeOptions
    index: -1
    link: http://hl7.org/fhir/StructureDefinition/codeOptions
element definition.condition:
  value: drq-3
  index: -1
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: CWE.
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: CD.valueSet/CD.valueSetVersion

index: -1
element.id:
  value: DeviceRequest.code[x]:codeCodeableConcept.coding
element definition.path:
  value: DeviceRequest.code[x].coding
element definition.short:
  value: Code defined by a terminology system
element definition.definition:
  value: A reference to a code defined by a terminology system.
element definition.comment:
  value: Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.
element definition.requirements:
  value: Allows for alternative encodings within a code system, and translations to other code systems.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: CodeableConcept.coding
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: -1
  element definition.type.code:
    value: Coding
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: C*E.1-8, C*E.10-22
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: union(., ./translation)
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: orim
  element definition.mapping.map:
    value: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding

index: -1
element.id:
  value: DeviceRequest.code[x]:codeCodeableConcept.text
element.extension:
  index: -1
  extension.url:
    value: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
  extension.value boolean:
    value: true
element definition.path:
  value: DeviceRequest.code[x].text
element definition.short:
  value: Plain text representation of the concept
element definition.definition:
  value: A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.
element definition.comment:
  value: Very often the text is the same as a displayName of one of the codings.
element definition.requirements:
  value: The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: CodeableConcept.text
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: -1
  element definition.type.code:
    value: string
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: C*E.9. But note many systems use C*E.2 for this
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: ./originalText[mediaType/code="text/plain"]/data
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: orim
  element definition.mapping.map:
    value: fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText

index: -1
element.id:
  value: DeviceRequest.parameter
element definition.path:
  value: DeviceRequest.parameter
element definition.short:
  value: Device details
element definition.definition:
  value: Specific parameters for the ordered item. For example, the prism value for lenses.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: DeviceRequest.parameter
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: -1
  element definition.type.code:
    value: BackboneElement
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.what[x]
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: Varies by domain
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .code
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: quick
  element definition.mapping.map:
    value: DeviceUse.device

index: -1
element.id:
  value: DeviceRequest.parameter.id
element definition.path:
  value: DeviceRequest.parameter.id
element definition.representation:
  value: xmlAttr
  index: -1
element definition.short:
  value: Unique id for inter-element referencing
element definition.definition:
  value: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Element.id
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: -1
  element.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    extension.value url:
      value: string
  element definition.type.code:
    value: http://hl7.org/fhirpath/System.String
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: -1
element.id:
  value: DeviceRequest.parameter.extension
element definition.path:
  value: DeviceRequest.parameter.extension
element definition.short:
  value: Additional content defined by implementations
element definition.definition:
  value: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
element definition.comment:
  value: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
element definition.alias:
  value: extensions
  index: -1
element definition.alias:
  value: user content
  index: -1
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: -1
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: -1
element.id:
  value: DeviceRequest.parameter.modifierExtension
element definition.path:
  value: DeviceRequest.parameter.modifierExtension
element definition.short:
  value: Extensions that cannot be ignored even if unrecognized
element definition.definition:
  value: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
element definition.comment:
  value: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
element definition.requirements:
  value: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
element definition.alias:
  value: extensions
  index: -1
element definition.alias:
  value: user content
  index: -1
element definition.alias:
  value: modifiers
  index: -1
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: BackboneElement.modifierExtension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: -1
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: true
element definition.is modifier reason:
  value: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
element definition.is summary:
  value: true
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: -1
element.id:
  value: DeviceRequest.parameter.code
element definition.path:
  value: DeviceRequest.parameter.code
element definition.short:
  value: Device detail
element definition.definition:
  value: A code or string that identifies the device detail being asserted.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DeviceRequest.parameter.code
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: -1
  element definition.type.code:
    value: CodeableConcept
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.binding:
  element.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: ParameterCode
  element definition.binding.strength:
    value: example
  element definition.binding.description:
    value: A code that identifies the device detail.
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.what[x]
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: Varies by domain
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .code
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: quick
  element definition.mapping.map:
    value: DeviceUse.device

index: -1
element.id:
  value: DeviceRequest.parameter.value[x]
element definition.path:
  value: DeviceRequest.parameter.value[x]
element definition.short:
  value: Value of detail
element definition.definition:
  value: The value of the device detail.
element definition.comment:
  value: Range means device should have a value that falls somewhere within the specified range.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DeviceRequest.parameter.value[x]
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: -1
  element definition.type.code:
    value: CodeableConcept
element definition.type:
  index: -1
  element definition.type.code:
    value: Quantity
element definition.type:
  index: -1
  element definition.type.code:
    value: Range
element definition.type:
  index: -1
  element definition.type.code:
    value: boolean
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.what[x]
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: Varies by domain
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .code
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: quick
  element definition.mapping.map:
    value: DeviceUse.device

index: -1
element.id:
  value: DeviceRequest.subject
element definition.path:
  value: DeviceRequest.subject
element definition.short:
  value: Focus of request
element definition.definition:
  value: The patient who will use the device.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DeviceRequest.subject
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: -1
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-patient
    index: -1
    link: http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-patient
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.subject
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.subject[x]
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: Accompanying PID segment
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .participation[typeCode=SBJ].role
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: quick
  element definition.mapping.map:
    value: ClinicalStatement.subject
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.subject

index: -1
element.id:
  value: DeviceRequest.encounter
element definition.path:
  value: DeviceRequest.encounter
element definition.short:
  value: Encounter motivating request
element definition.definition:
  value: An encounter that provides additional context in which this request is made.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DeviceRequest.encounter
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: -1
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Encounter|4.0.1
    index: -1
    link: 4.0
    link: .1
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.encounter
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.context
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: Accompanying PV1
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .inboundRelationship(typeCode=COMP].source[classCode<=PCPR, moodCode=EVN]
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: quick
  element definition.mapping.map:
    value: ClinicalStatement.encounter

index: -1
element.id:
  value: DeviceRequest.occurrence[x]
element definition.path:
  value: DeviceRequest.occurrence[x]
element definition.short:
  value: Desired time or schedule for use
element definition.definition:
  value: The timing schedule for the use of the device. The Schedule data type allows many different expressions, for example. "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013".
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DeviceRequest.occurrence[x]
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: -1
  element definition.type.code:
    value: dateTime
element definition.type:
  index: -1
  element definition.type.code:
    value: Period
element definition.type:
  index: -1
  element definition.type.code:
    value: Timing
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.occurrence[x]
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.planned
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: Accompanying TQ1/TQ2 segments
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .effectiveTime
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: quick
  element definition.mapping.map:
    value: DeviceUse.applicationSchedule

index: -1
element.id:
  value: DeviceRequest.authoredOn
element.extension:
  index: -1
  extension.url:
    value: http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-uscdi-quality-extension
  extension.value boolean:
    value: true
element definition.path:
  value: DeviceRequest.authoredOn
element definition.short:
  value: (USCDI+ Quality) When recorded
element definition.definition:
  value: When the request transitioned to being actionable.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DeviceRequest.authoredOn
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: -1
  element definition.type.code:
    value: dateTime
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.authoredOn
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.recorded
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: ORC.9
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .participation[typeCode=AUT].time
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: quick
  element definition.mapping.map:
    value: ClinicalStatement.statementDateTime

index: -1
element.id:
  value: DeviceRequest.requester
element.extension:
  index: -1
  extension.url:
    value: http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-uscdi-quality-extension
  extension.value boolean:
    value: true
element definition.path:
  value: DeviceRequest.requester
element definition.short:
  value: (USCDI+ Quality) Who/what is requesting diagnostics
element definition.definition:
  value: The individual who initiated the request and has responsibility for its activation.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DeviceRequest.requester
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: -1
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Device|4.0.1
    index: -1
    link: 4.0
    link: .1
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Practitioner|4.0.1
    index: -1
    link: 4.0
    link: .1
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/PractitionerRole|4.0.1
    index: -1
    link: 4.0
    link: .1
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Organization|4.0.1
    index: -1
    link: 4.0
    link: .1
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.requester
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.author
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: ORC.12
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .participation[typeCode=AUT].role

index: -1
element.id:
  value: DeviceRequest.performerType
element definition.path:
  value: DeviceRequest.performerType
element definition.short:
  value: Filler role
element definition.definition:
  value: Desired type of performer for doing the diagnostic testing.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DeviceRequest.performerType
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: -1
  element definition.type.code:
    value: CodeableConcept
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: DeviceRequestParticipantRole
  element definition.binding.strength:
    value: example
  element definition.binding.description:
    value: Indicates specific responsibility of an individual within the care team, such as "Primary physician", "Team coordinator", "Caregiver", etc.
  element definition.binding.value set:
    value: http://hl7.org/fhir/ValueSet/participant-role|4.0.1
    link: 4.0
    link: .1
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.performerType
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.actor
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: PRT
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .participation[typeCode=PRF].role[scoper.determinerCode=KIND].code

index: -1
element.id:
  value: DeviceRequest.performer
element definition.path:
  value: DeviceRequest.performer
element definition.short:
  value: Requested Filler
element definition.definition:
  value: The desired performer for doing the diagnostic testing.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DeviceRequest.performer
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: -1
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Practitioner|4.0.1
    index: -1
    link: 4.0
    link: .1
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/PractitionerRole|4.0.1
    index: -1
    link: 4.0
    link: .1
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Organization|4.0.1
    index: -1
    link: 4.0
    link: .1
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/CareTeam|4.0.1
    index: -1
    link: 4.0
    link: .1
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/HealthcareService|4.0.1
    index: -1
    link: 4.0
    link: .1
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Patient|4.0.1
    index: -1
    link: 4.0
    link: .1
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Device|4.0.1
    index: -1
    link: 4.0
    link: .1
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/RelatedPerson|4.0.1
    index: -1
    link: 4.0
    link: .1
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.performer
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.actor
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: PRT
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]

index: -1
element.id:
  value: DeviceRequest.reasonCode
element.extension:
  index: -1
  extension.url:
    value: http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-uscdi-quality-extension
  extension.value boolean:
    value: true
element definition.path:
  value: DeviceRequest.reasonCode
element definition.short:
  value: (USCDI+ Quality) Coded Reason for request
element definition.definition:
  value: Reason or justification for the use of this device.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: DeviceRequest.reasonCode
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: -1
  element definition.type.code:
    value: CodeableConcept
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: DeviceRequestReason
  element definition.binding.strength:
    value: example
  element definition.binding.description:
    value: Diagnosis or problem codes justifying the reason for requesting the device.
  element definition.binding.value set:
    value: http://hl7.org/fhir/ValueSet/condition-code|4.0.1
    link: 4.0
    link: .1
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.reasonCode
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.why[x]
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: ORC.16
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .reasonCode
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: quick
  element definition.mapping.map:
    value: Action.indication.reason

index: -1
element.id:
  value: DeviceRequest.reasonReference
element definition.path:
  value: DeviceRequest.reasonReference
element definition.short:
  value: Linked Reason for request
element definition.definition:
  value: Reason or justification for the use of this device.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: DeviceRequest.reasonReference
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: -1
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Condition|4.0.1
    index: -1
    link: 4.0
    link: .1
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Observation|4.0.1
    index: -1
    link: 4.0
    link: .1
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/DiagnosticReport|4.0.1
    index: -1
    link: 4.0
    link: .1
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/DocumentReference|4.0.1
    index: -1
    link: 4.0
    link: .1
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.reasonReference
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.why[x]
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: ORC.16
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .outboundRelationship[typeCode=RSON].target

index: -1
element.id:
  value: DeviceRequest.insurance
element definition.path:
  value: DeviceRequest.insurance
element definition.short:
  value: Associated insurance coverage
element definition.definition:
  value: Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be required for delivering the requested service.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: DeviceRequest.insurance
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: -1
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Coverage|4.0.1
    index: -1
    link: 4.0
    link: .1
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/ClaimResponse|4.0.1
    index: -1
    link: 4.0
    link: .1
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.insurance
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: IN1/IN2
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .outboundRelationship[typeCode=COVBY].target

index: -1
element.id:
  value: DeviceRequest.supportingInfo
element definition.path:
  value: DeviceRequest.supportingInfo
element definition.short:
  value: Additional clinical information
element definition.definition:
  value: Additional clinical information about the patient that may influence the request fulfilment. For example, this may include where on the subject's body the device will be used (i.e. the target site).
element definition.requirements:
  value: Knowing where the device is targeted is important for tracking if multiple sites are possible.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: DeviceRequest.supportingInfo
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: -1
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Resource|4.0.1
    index: -1
    link: 4.0
    link: .1
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.supportingInfo
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: Accompanying segments
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .outboundRelationship[typeCode=PERT].target

index: -1
element.id:
  value: DeviceRequest.note
element definition.path:
  value: DeviceRequest.note
element definition.short:
  value: Notes or comments
element definition.definition:
  value: Details about this request that were not represented at all or sufficiently in one of the attributes provided in a class. These may include for example a comment, an instruction, or a note associated with the statement.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: DeviceRequest.note
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: -1
  element definition.type.code:
    value: Annotation
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.note
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: NTE
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .inboundRelationship(typeCode=SUBJ].source[classCode=ANNGEN, moodCode=EVN].value[xsi:type=ST]
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: quick
  element definition.mapping.map:
    value: ClinicalStatement.additionalText

index: -1
element.id:
  value: DeviceRequest.relevantHistory
element definition.path:
  value: DeviceRequest.relevantHistory
element definition.short:
  value: Request provenance
element definition.definition:
  value: Key events in the history of the request.
element definition.comment:
  value: This might not include provenances for all versions of the request - only those deemed "relevant" or important. This SHALL NOT include the Provenance associated with this current version of the resource. (If that provenance is deemed to be a "relevant" change, it will need to be added as part of a later update. Until then, it can be queried directly as the Provenance that points to this version using _revinclude All Provenances should have some historical version of this Request as their subject.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: DeviceRequest.relevantHistory
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: -1
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Provenance|4.0.1
    index: -1
    link: 4.0
    link: .1
element definition.constraint:
  index: -1
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.relevantHistory
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: N/A
element definition.mapping:
  index: -1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]

structure definition.differential.element:
  index: -1
  element.id:
    value: DeviceRequest
  element definition.path:
    value: DeviceRequest
  element definition.constraint:
    index: -1
    element definition.constraint.key:
      value: drq-3
    element definition.constraint.severity:
      value: error
    element definition.constraint.human:
      value: to indicate what device, either at least one coding in the code or a codeOptions extension shall be provided
    element definition.constraint.expression:
      value: (code is Reference).not() implies code.extension('http://hl7.org/fhir/StructureDefinition/codeOptions').exists() xor code.coding.exists()
    element definition.constraint.xpath:
      value: exists(f:extension)
    element definition.constraint.source:
      value: http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-devicerequest
      link: http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-devicerequest
  element definition.must support:
    value: false
structure definition.differential.element:
  index: -1
  element.id:
    value: DeviceRequest.modifierExtension
  element definition.path:
    value: DeviceRequest.modifierExtension
  element definition.slicing:
    element definition.slicing.discriminator:
      index: -1
      element definition.slicing.discriminator.type:
        value: value
      element definition.slicing.discriminator.path:
        value: url
    element definition.slicing.ordered:
      value: false
    element definition.slicing.rules:
      value: open
  element definition.short:
    value: Extension
  element definition.is modifier reason:
    value: The do not perform element changes the meaning of the request from a positive to a negative statement
structure definition.differential.element:
  index: -1
  element.id:
    value: DeviceRequest.modifierExtension:doNotPerform
  element.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-uscdi-quality-extension
    extension.value boolean:
      value: true
  element definition.path:
    value: DeviceRequest.modifierExtension
  element definition.slice name:
    value: doNotPerform
  element definition.short:
    value: (USCDI+ Quality) Extensions that cannot be ignored
  element definition.min:
    value: 0
  element definition.max:
    value: 1
  element definition.type:
    index: -1
    element definition.type.code:
      value: Extension
    element definition.type.profile:
      value: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.doNotPerform
      index: -1
      link: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.doNotPerform
structure definition.differential.element:
  index: -1
  element.id:
    value: DeviceRequest.status
  element.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-uscdi-quality-extension
    extension.value boolean:
      value: true
  element definition.path:
    value: DeviceRequest.status
  element definition.short:
    value: (USCDI+ Quality) draft | active | on-hold | revoked | completed | entered-in-error | unknown
structure definition.differential.element:
  index: -1
  element.id:
    value: DeviceRequest.intent
  element.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-uscdi-quality-extension
    extension.value boolean:
      value: true
  element definition.path:
    value: DeviceRequest.intent
  element definition.short:
    value: (USCDI+ Quality) proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
structure definition.differential.element:
  index: -1
  element.id:
    value: DeviceRequest.code[x]
  element.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-uscdi-quality-extension
    extension.value boolean:
      value: true
  element definition.path:
    value: DeviceRequest.code[x]
  element definition.slicing:
    element definition.slicing.discriminator:
      index: -1
      element definition.slicing.discriminator.type:
        value: type
      element definition.slicing.discriminator.path:
        value: $this
    element definition.slicing.ordered:
      value: false
    element definition.slicing.rules:
      value: open
  element definition.short:
    value: (USCDI+ Quality) Device requested
  element definition.type:
    index: -1
    element definition.type.code:
      value: Reference
    element definition.type.target profile:
      value: http://hl7.org/fhir/us/core/StructureDefinition/us-core-device|9.0.0
      index: -1
      link: 9.0
      link: .0
  element definition.type:
    index: -1
    element definition.type.code:
      value: CodeableConcept
  element definition.condition:
    value: drq-3
    index: -1
  element definition.binding:
    element definition.binding.strength:
      value: preferred
    element definition.binding.value set:
      value: http://hl7.org/fhir/ValueSet/device-kind
      link: http://hl7.org/fhir/ValueSet/device-kind
structure definition.differential.element:
  index: -1
  element.id:
    value: DeviceRequest.code[x]:codeCodeableConcept
  element definition.path:
    value: DeviceRequest.code[x]
  element definition.slice name:
    value: codeCodeableConcept
  element definition.min:
    value: 0
  element definition.max:
    value: 1
  element definition.type:
    index: -1
    element definition.type.code:
      value: CodeableConcept
structure definition.differential.element:
  index: -1
  element.id:
    value: DeviceRequest.code[x]:codeCodeableConcept.extension:codeOptions
  element.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-uscdi-quality-extension
    extension.value boolean:
      value: true
  element definition.path:
    value: DeviceRequest.code[x].extension
  element definition.slice name:
    value: codeOptions
  element definition.short:
    value: (USCDI+ Quality) Url of a value set of candidate devices
  element definition.definition:
    value: A logical reference (e.g. a reference to ValueSet.url) to a value set/version that identifies a set of possible coded values representing the device.
  element definition.min:
    value: 0
  element definition.max:
    value: 1
  element definition.type:
    index: -1
    element definition.type.code:
      value: Extension
    element definition.type.profile:
      value: http://hl7.org/fhir/StructureDefinition/codeOptions
      index: -1
      link: http://hl7.org/fhir/StructureDefinition/codeOptions
  element definition.condition:
    value: drq-3
    index: -1
structure definition.differential.element:
  index: -1
  element.id:
    value: DeviceRequest.subject
  element definition.path:
    value: DeviceRequest.subject

index: -1
element definition.type.code:
  value: Reference
element definition.type.target profile:
  value: http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-patient
  index: -1
  link: http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-patient

index: -1
element.id:
  value: DeviceRequest.authoredOn
element.extension:
  index: -1
  extension.url:
    value: http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-uscdi-quality-extension
  extension.value boolean:
    value: true
element definition.path:
  value: DeviceRequest.authoredOn
element definition.short:
  value: (USCDI+ Quality) When recorded

index: -1
element.id:
  value: DeviceRequest.requester
element.extension:
  index: -1
  extension.url:
    value: http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-uscdi-quality-extension
  extension.value boolean:
    value: true
element definition.path:
  value: DeviceRequest.requester
element definition.short:
  value: (USCDI+ Quality) Who/what is requesting diagnostics

index: -1
element.id:
  value: DeviceRequest.reasonCode
element.extension:
  index: -1
  extension.url:
    value: http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-uscdi-quality-extension
  extension.value boolean:
    value: true
element definition.path:
  value: DeviceRequest.reasonCode
element definition.short:
  value: (USCDI+ Quality) Coded Reason for request