0.3.0 - Second STU ballot

This page is part of a downloaded copy of this specification. This page is part of the Da Vinci Coverage Requirements Discovery (CRD) FHIR IG (v0.3.0: STU 1 Ballot 2) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

## StructureDefinition: DeviceRequestSTU3

The official URL for this profile is:

    http://hl7.org/fhir/us/davinci-crd/STU3/StructureDefinition/profile-devicerequest-stu3

### Formal Views of Profile Content

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

- Text Summary
- Differential Table
- Snapshot Table
- All

This structure is derived from DeviceRequest

Summary

Mandatory: 8 elements
Must-Support: 14 elements
Fixed Value: 1 element

Structures

This structure refers to these other structures:

- http://hl7.org/fhir/us/davinci-crd/STU3/StructureDefinition/profile-device-stu3
- http://hl7.org/fhir/us/davinci-crd/STU3/StructureDefinition/profile-patient-stu3
- http://hl7.org/fhir/us/davinci-crd/STU3/StructureDefinition/profile-encounter-stu3
- http://hl7.org/fhir/us/davinci-crd/STU3/StructureDefinition/profile-practitioner-stu3
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition

Extensions

This structure refers to these extensions:

- http://hl7.org/fhir/us/davinci-crd/STU3/StructureDefinition/ext-insurance

This structure is derived from DeviceRequest

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
DeviceRequest |  | 0..* |  |
ext-insurance | S | 0..* | Reference(CoverageSTU3) | Insurance URL: http://hl7.org/fhir/us/davinci-crd/STU3/StructureDefinition/ext-insurance
identifier | S | 0..* | Identifier |
definition | S | 1..1 | Reference(ActivityDefinition | PlanDefinition) |
basedOn | S | 1..1 | Reference(Resource) |
priorRequest |  | 0..* | Reference(Resource) |
groupIdentifier |  | 0..1 | Identifier |
status | S | 1..1 | code | Fixed Value: draft
intent |  | 1..1 | CodeableConcept |
priority |  | 0..1 | code |
code[x] | S | 1..1 | Reference(DeviceSTU3), CodeableConcept |
subject | S | 1..1 | Reference(PatientSTU3) |
context |  | 0..1 | Reference(EncounterSTU3) |
occurrence[x] | S | 0..1 | dateTime, Period, Timing |
authoredOn | S | 1..1 | dateTime |
requester | S | 1..1 | BackboneElement |
agent | S | 1..1 | Reference(PractitionerSTU3) |
onBehalfOf |  | 0..1 | Reference(Organization) |
performerType |  | 0..1 | CodeableConcept |
performer | S | 0..1 | Reference(PractitionerSTU3) |
reasonCode | S | 0..* | CodeableConcept |
reasonReference | S | 0..* | Reference(US Core Condition Profile | US Core Result Observation) |
supportingInfo |  | 0..* | Reference(Resource) |
note |  | 0..* | Annotation |
relevantHistory |  | 0..* | Reference(Provenance) |
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
DeviceRequest | I | 0..* |  | Medical device request
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: Common Languages (extensible) Max Binding: All Languages
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url
ext-insurance | S I | 0..* | Reference(CoverageSTU3) | Insurance URL: http://hl7.org/fhir/us/davinci-crd/STU3/StructureDefinition/ext-insurance
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | S Σ | 0..* | Identifier | External Request identifier
definition | S Σ | 1..1 | Reference(ActivityDefinition | PlanDefinition) | Protocol or definition
basedOn | S Σ | 1..1 | Reference(Resource) | What request fulfills
priorRequest | Σ | 0..* | Reference(Resource) | What request replaces
groupIdentifier | Σ | 0..1 | Identifier | Identifier of composite request
status | ?!S Σ | 1..1 | code | draft | active | suspended | completed | entered-in-error | cancelled Binding: RequestStatus (required) Fixed Value: draft
intent | ?!Σ | 1..1 | CodeableConcept | proposal | plan | original-order | encoded | reflex-order Binding: http://build.fhir.org/valueset-request-intent.html (required)
priority | Σ | 0..1 | code | Indicates how quickly the should be addressed with respect to other requests Binding: RequestPriority (required)
code[x] | S Σ | 1..1 | Reference(DeviceSTU3), CodeableConcept | Device requested Binding: FHIR Device Types (example)
subject | S Σ | 1..1 | Reference(PatientSTU3) | Focus of request
context | Σ | 0..1 | Reference(EncounterSTU3) | Encounter or Episode motivating request
occurrence[x] | S Σ | 0..1 | dateTime, Period, Timing | Desired time or schedule for use
authoredOn | S Σ | 1..1 | dateTime | When recorded
requester | S Σ I | 1..1 | BackboneElement | Who/what is requesting diagnostics
id |  | 0..1 | string | xml:id (or equivalent in JSON)
extension |  | 0..* | Extension | Additional Content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored
agent | S Σ | 1..1 | Reference(PractitionerSTU3) | Individual making the request
onBehalfOf | Σ | 0..1 | Reference(Organization) | Organization agent is acting for
performerType | Σ | 0..1 | CodeableConcept | Fille role Binding: Participant Roles (example)
performer | S Σ | 0..1 | Reference(PractitionerSTU3) | Requested Filler
reasonCode | S Σ | 0..* | CodeableConcept | Coded Reason for request Binding: Condition/Problem/Diagnosis Codes (example)
reasonReference | S Σ | 0..* | Reference(US Core Condition Profile | US Core Result Observation) | Linked Reason for request
supportingInfo |  | 0..* | Reference(Resource) | Additional clinical information
note |  | 0..* | Annotation | Notes or comments
relevantHistory |  | 0..* | Reference(Provenance) | Request provenance
Documentation for this format

This structure is derived from DeviceRequest

Summary

Mandatory: 8 elements
Must-Support: 14 elements
Fixed Value: 1 element

Structures

This structure refers to these other structures:

- http://hl7.org/fhir/us/davinci-crd/STU3/StructureDefinition/profile-device-stu3
- http://hl7.org/fhir/us/davinci-crd/STU3/StructureDefinition/profile-patient-stu3
- http://hl7.org/fhir/us/davinci-crd/STU3/StructureDefinition/profile-encounter-stu3
- http://hl7.org/fhir/us/davinci-crd/STU3/StructureDefinition/profile-practitioner-stu3
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition

Extensions

This structure refers to these extensions:

- http://hl7.org/fhir/us/davinci-crd/STU3/StructureDefinition/ext-insurance

Differential View

This structure is derived from DeviceRequest

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
DeviceRequest |  | 0..* |  |
ext-insurance | S | 0..* | Reference(CoverageSTU3) | Insurance URL: http://hl7.org/fhir/us/davinci-crd/STU3/StructureDefinition/ext-insurance
identifier | S | 0..* | Identifier |
definition | S | 1..1 | Reference(ActivityDefinition | PlanDefinition) |
basedOn | S | 1..1 | Reference(Resource) |
priorRequest |  | 0..* | Reference(Resource) |
groupIdentifier |  | 0..1 | Identifier |
status | S | 1..1 | code | Fixed Value: draft
intent |  | 1..1 | CodeableConcept |
priority |  | 0..1 | code |
code[x] | S | 1..1 | Reference(DeviceSTU3), CodeableConcept |
subject | S | 1..1 | Reference(PatientSTU3) |
context |  | 0..1 | Reference(EncounterSTU3) |
occurrence[x] | S | 0..1 | dateTime, Period, Timing |
authoredOn | S | 1..1 | dateTime |
requester | S | 1..1 | BackboneElement |
agent | S | 1..1 | Reference(PractitionerSTU3) |
onBehalfOf |  | 0..1 | Reference(Organization) |
performerType |  | 0..1 | CodeableConcept |
performer | S | 0..1 | Reference(PractitionerSTU3) |
reasonCode | S | 0..* | CodeableConcept |
reasonReference | S | 0..* | Reference(US Core Condition Profile | US Core Result Observation) |
supportingInfo |  | 0..* | Reference(Resource) |
note |  | 0..* | Annotation |
relevantHistory |  | 0..* | Reference(Provenance) |
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
DeviceRequest | I | 0..* |  | Medical device request
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: Common Languages (extensible) Max Binding: All Languages
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url
ext-insurance | S I | 0..* | Reference(CoverageSTU3) | Insurance URL: http://hl7.org/fhir/us/davinci-crd/STU3/StructureDefinition/ext-insurance
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | S Σ | 0..* | Identifier | External Request identifier
definition | S Σ | 1..1 | Reference(ActivityDefinition | PlanDefinition) | Protocol or definition
basedOn | S Σ | 1..1 | Reference(Resource) | What request fulfills
priorRequest | Σ | 0..* | Reference(Resource) | What request replaces
groupIdentifier | Σ | 0..1 | Identifier | Identifier of composite request
status | ?!S Σ | 1..1 | code | draft | active | suspended | completed | entered-in-error | cancelled Binding: RequestStatus (required) Fixed Value: draft
intent | ?!Σ | 1..1 | CodeableConcept | proposal | plan | original-order | encoded | reflex-order Binding: http://build.fhir.org/valueset-request-intent.html (required)
priority | Σ | 0..1 | code | Indicates how quickly the should be addressed with respect to other requests Binding: RequestPriority (required)
code[x] | S Σ | 1..1 | Reference(DeviceSTU3), CodeableConcept | Device requested Binding: FHIR Device Types (example)
subject | S Σ | 1..1 | Reference(PatientSTU3) | Focus of request
context | Σ | 0..1 | Reference(EncounterSTU3) | Encounter or Episode motivating request
occurrence[x] | S Σ | 0..1 | dateTime, Period, Timing | Desired time or schedule for use
authoredOn | S Σ | 1..1 | dateTime | When recorded
requester | S Σ I | 1..1 | BackboneElement | Who/what is requesting diagnostics
id |  | 0..1 | string | xml:id (or equivalent in JSON)
extension |  | 0..* | Extension | Additional Content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored
agent | S Σ | 1..1 | Reference(PractitionerSTU3) | Individual making the request
onBehalfOf | Σ | 0..1 | Reference(Organization) | Organization agent is acting for
performerType | Σ | 0..1 | CodeableConcept | Fille role Binding: Participant Roles (example)
performer | S Σ | 0..1 | Reference(PractitionerSTU3) | Requested Filler
reasonCode | S Σ | 0..* | CodeableConcept | Coded Reason for request Binding: Condition/Problem/Diagnosis Codes (example)
reasonReference | S Σ | 0..* | Reference(US Core Condition Profile | US Core Result Observation) | Linked Reason for request
supportingInfo |  | 0..* | Reference(Resource) | Additional clinical information
note |  | 0..* | Annotation | Notes or comments
relevantHistory |  | 0..* | Reference(Provenance) | Request provenance
Documentation for this format

Other representations of profile: Schematron

### Terminology Bindings

Path | Conformance | ValueSet / Code
DeviceRequest.status | required | Fixed Value: draft
DeviceRequest.code[x] | example | FHIR Device Types
DeviceRequest.reasonCode | example | Condition/Problem/Diagnosis Codes

### Constraints

Id | Path | Details | Requirements
dom-2 | DeviceRequest | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() |
dom-1 | DeviceRequest | If the resource is contained in another resource, it SHALL NOT contain any narrative : contained.text.empty() |
dom-4 | DeviceRequest | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() |
dom-3 | DeviceRequest | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource : contained.where(('#'+id in %resource.descendants().reference).not()).empty() |
ele-1 | DeviceRequest.extension | All FHIR elements must have a @value or children : hasValue() | (children().count() > id.count()) |
ext-1 | DeviceRequest.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
ele-1 | DeviceRequest.extension | All FHIR elements must have a @value or children : hasValue() | (children().count() > id.count()) |
ext-1 | DeviceRequest.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
ele-1 | DeviceRequest.requester | All FHIR elements must have a @value or children : hasValue() | (children().count() > id.count()) |