# US Quality Core Device Not Requested - US Quality Core Implementation Guide v0.1.0

* [**Table of Contents**](toc.md)
* [**Artifacts Summary**](artifacts.md)
* **US Quality Core Device Not Requested**

## Resource Profile: US Quality Core Device Not Requested 

| | |
| :--- | :--- |
| *Official URL*:http://fhir.org/guides/astp/us-quality-core/StructureDefinition/us-quality-core-devicenotrequested | *Version*:0.1.0 |
| Active as of 2019-07-11 | *Computable Name*:USQualityCoreDeviceNotRequested |

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

**Usage**
  See the [patterns](patterns.md) page for implementation and usage patterns.  

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

The following example illustrates accessing DeviceRequest not requested data:

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

### Examples

 

| | |
| :--- | :--- |
| [Negation Example with valueset](DeviceRequest-negation-example.md) | Device not indicated; indicates that none of the devices in the given "not done value set" were requested. |
| [Negation Example with code](DeviceRequest-negation-with-code-example.md) | Device not indicated; indicates that a specific device, by code, was not requested. |

 

For a more complete discussion of representation of negation within US Quality Core and quality improvement artifacts, see the [Negation in US Quality Core](index.md#negation-in-us-quality-core) topic.

**USCDI+ Quality Elements:**

* code[x]: (USCDI+ Quality) Device requested

**Usages:**

* Examples for this Profile: [DeviceRequest/negation-example](DeviceRequest-negation-example.md) and [DeviceRequest/negation-with-code-example](DeviceRequest-negation-with-code-example.md)
* CapabilityStatements using this Profile: [US Quality Core Client CapabilityStatement](CapabilityStatement-us-quality-core-client.md) and [US Quality Core Server CapabilityStatement](CapabilityStatement-us-quality-core-server.md)

You can also check for [usages in the FHIR IG Statistics](https://packages2.fhir.org/xig/fhir.astp.us-quality-core|current/StructureDefinition/us-quality-core-devicenotrequested)

### Formal Views of Profile Content

 [Description of Profiles, Differentials, Snapshots and how the different presentations work](http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#structure-definitions). 

 

Other representations of profile: [CSV](StructureDefinition-us-quality-core-devicenotrequested.csv), [Excel](StructureDefinition-us-quality-core-devicenotrequested.xlsx), [Schematron](StructureDefinition-us-quality-core-devicenotrequested.sch) 



## Resource Content

```json
{
  "resourceType" : "StructureDefinition",
  "id" : "us-quality-core-devicenotrequested",
  "url" : "http://fhir.org/guides/astp/us-quality-core/StructureDefinition/us-quality-core-devicenotrequested",
  "version" : "0.1.0",
  "name" : "USQualityCoreDeviceNotRequested",
  "title" : "US Quality Core Device Not Requested",
  "status" : "active",
  "experimental" : false,
  "date" : "2019-07-11",
  "publisher" : "ASTP",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "https://www.healthit.gov/"
    }]
  }],
  "description" : "Profile of DeviceRequest for decision support/quality metrics. Defines the core set of elements and extensions for quality rule and measure authors.",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "urn:iso:std:iso:3166",
      "code" : "US",
      "display" : "United States of America"
    }],
    "text" : "USA"
  }],
  "fhirVersion" : "4.0.1",
  "mapping" : [{
    "identity" : "workflow",
    "uri" : "http://hl7.org/fhir/workflow",
    "name" : "Workflow Pattern"
  },
  {
    "identity" : "v2",
    "uri" : "http://hl7.org/v2",
    "name" : "HL7 v2 Mapping"
  },
  {
    "identity" : "rim",
    "uri" : "http://hl7.org/v3",
    "name" : "RIM Mapping"
  },
  {
    "identity" : "w5",
    "uri" : "http://hl7.org/fhir/fivews",
    "name" : "FiveWs Pattern Mapping"
  },
  {
    "identity" : "quick",
    "uri" : "http://siframework.org/cqf",
    "name" : "Quality Improvement and Clinical Knowledge (QUICK)"
  }],
  "kind" : "resource",
  "abstract" : false,
  "type" : "DeviceRequest",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/DeviceRequest",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "id" : "DeviceRequest",
      "path" : "DeviceRequest",
      "constraint" : [{
        "key" : "dnr-1",
        "severity" : "error",
        "human" : "to indicate what device was not requested, either at least one coding in the code or a notDoneValueSet extension shall be provided",
        "expression" : "code.extension('http://fhir.org/guides/astp/us-quality-core/StructureDefinition/us-quality-core-notDoneValueSet').exists() xor code.coding.exists()",
        "xpath" : "exists(f:extension)"
      }],
      "mustSupport" : false
    },
    {
      "id" : "DeviceRequest.extension:doNotPerformReason",
      "path" : "DeviceRequest.extension",
      "sliceName" : "doNotPerformReason",
      "short" : "Extension",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://fhir.org/guides/astp/us-quality-core/StructureDefinition/us-quality-core-doNotPerformReason"]
      }]
    },
    {
      "id" : "DeviceRequest.modifierExtension:doNotPerform",
      "path" : "DeviceRequest.modifierExtension",
      "sliceName" : "doNotPerform",
      "short" : "Extension",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.doNotPerform"]
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"
    },
    {
      "id" : "DeviceRequest.modifierExtension:doNotPerform.value[x]",
      "path" : "DeviceRequest.modifierExtension.value[x]",
      "short" : "Value of extension",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "boolean"
      }],
      "fixedBoolean" : true
    },
    {
      "id" : "DeviceRequest.status",
      "path" : "DeviceRequest.status",
      "short" : "draft | active | on-hold | revoked | completed | entered-in-error | unknown"
    },
    {
      "id" : "DeviceRequest.intent",
      "path" : "DeviceRequest.intent",
      "short" : "proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option"
    },
    {
      "id" : "DeviceRequest.code[x]",
      "extension" : [{
        "url" : "http://fhir.org/guides/astp/us-quality-core/StructureDefinition/uscdiplusquality",
        "valueBoolean" : true
      }],
      "path" : "DeviceRequest.code[x]",
      "short" : "(USCDI+ Quality) Device requested",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "condition" : ["dnr-1"],
      "binding" : {
        "strength" : "preferred",
        "valueSet" : "http://hl7.org/fhir/ValueSet/device-kind"
      }
    },
    {
      "id" : "DeviceRequest.code[x].extension:doNotPerformValueSet",
      "path" : "DeviceRequest.code[x].extension",
      "sliceName" : "doNotPerformValueSet",
      "short" : "What was not done",
      "definition" : "Specifies the value set that characterizes the events or activities that did not occur or were not performed.",
      "requirements" : "Must be able to indicate the value set from which the expected event would be drawn, had it occurred.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://fhir.org/guides/astp/us-quality-core/StructureDefinition/us-quality-core-notDoneValueSet"]
      }],
      "condition" : ["dnr-1"]
    },
    {
      "id" : "DeviceRequest.subject",
      "path" : "DeviceRequest.subject",
      "short" : "Focus of request",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://fhir.org/guides/astp/us-quality-core/StructureDefinition/us-quality-core-patient"]
      }]
    },
    {
      "id" : "DeviceRequest.authoredOn",
      "path" : "DeviceRequest.authoredOn",
      "short" : "When recorded",
      "min" : 1,
      "max" : "1"
    }]
  }
}

```
