Foundation
This
page
is
part
of
the
Continuous
Integration
Build
of
FHIR
Specification
(v5.0.0:
R5
-
STU
).
This
is
the
current
published
version
in
it's
permanent
home
(it
will
always
(will
be
available
incorrect/inconsistent
at
this
URL).
For
a
full
list
of
available
versions,
see
times).
See
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
R3
| Responsible Owner: Orders and Observations Work Group | Standards Status : Informative | Compartments : Device , Encounter , Group , Patient , Practitioner , RelatedPerson |
ShEx statement for devicerequest
PREFIX fhir: <http://hl7.org/fhir/> PREFIX fhirvs: <http://hl7.org/fhir/ValueSet/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>IMPORT <uri.shex> IMPORT <code.shex># ShEx Version 2.2 IMPORT <Code.shex> IMPORT <Group.shex> IMPORT <Range.shex> IMPORT <Device.shex> IMPORT <Period.shex> IMPORT <Timing.shex>IMPORT <boolean.shex> IMPORT <integer.shex>IMPORT <Boolean.shex> IMPORT <Integer.shex> IMPORT <Patient.shex> IMPORT <Location.shex>IMPORT <dateTime.shex>IMPORT <DateTime.shex> IMPORT <CareTeam.shex> IMPORT <Quantity.shex> IMPORT <Resource.shex> IMPORT <Coverage.shex>IMPORT <canonical.shex>IMPORT <Reference.shex> IMPORT <Canonical.shex> IMPORT <Encounter.shex> IMPORT <Identifier.shex> IMPORT <Annotation.shex> IMPORT <Provenance.shex> IMPORT <Organization.shex> IMPORT <Practitioner.shex> IMPORT <RelatedPerson.shex> IMPORT <ClaimResponse.shex> IMPORT <DomainResource.shex> IMPORT <CodeableConcept.shex> IMPORT <BackboneElement.shex> IMPORT <DeviceDefinition.shex> IMPORT <PractitionerRole.shex> IMPORT <CodeableReference.shex> start=@<DeviceRequest> AND {fhir:nodeRole [fhir:treeRoot]} # Medical device request <DeviceRequest> EXTENDS @<DomainResource> CLOSED {a [fhir:DeviceRequest]?; fhir:nodeRole [fhir:treeRoot]?;a [fhir:DeviceRequest]?;fhir:nodeRole [fhir:treeRoot]?; fhir:identifier @<OneOrMore_Identifier>?; # External Request identifierfhir:instantiatesCanonical @<OneOrMore_canonical>?; # Instantiates FHIR protocol or # definition fhir:instantiatesUri @<OneOrMore_uri>?; # Instantiates external protocol or # definitionfhir:basedOn @<OneOrMore_Reference_Resource>?; # What request fulfills fhir:replaces @<OneOrMore_Reference_DeviceRequest>?; # What request replaces fhir:groupIdentifier @<Identifier>?; # Identifier of composite requestfhir:status @<code> AND {fhir:v @fhirvs:request-status}?; # draft | active | on-hold | revoked # | completed | entered-in-error | # unknown fhir:intent @<code> AND {fhir:v @fhirvs:request-intent}; # proposal | plan | directive | # order | original-order |fhir:status @<Code> AND {fhir:v @fhirvs:request-status}?; # draft | active | on-hold | # entered-in-error | ended | # completed | revoked | unknown fhir:intent @<Code> AND {fhir:v @fhirvs:request-intent}; # proposal | solicit-offer | # offer-response | plan | directive # | order | original-order | # reflex-order | filler-order | # instance-order | optionfhir:priority @<code> ANDfhir:priority @<Code> AND {fhir:v @fhirvs:request-priority}?; # routine | urgent | asap | statfhir:doNotPerform @<boolean>?; # True if the request is to stop orfhir:doNotPerform @<Boolean>?; # True if the request is to stop or # not to start using the devicefhir:code @<CodeableReference>; # Device requested fhir:quantity @<integer>?; # Quantity of devices to supplyfhir:product @<CodeableConcept> OR (@<Reference> AND {fhir:l @<Device> }) OR (@<Canonical> AND {fhir:l @<DeviceDefinition> }) ; # Device requested fhir:quantity @<Integer>?; # Quantity of devices to supply fhir:parameter @<OneOrMore_DeviceRequest.parameter>?; # Device detailsfhir:subject @<Reference> AND {fhir:linkfhir:subject @<Reference> AND {fhir:l @<Device> OR @<Group> OR @<Location> OR @<Patient> ? }; # Focus of requestfhir:encounter @<Reference> AND {fhir:linkfhir:encounter @<Reference> AND {fhir:l @<Encounter> ? }?; # Encounter motivating requestfhir:occurrence @<dateTime> ORfhir:occurrence @<DateTime> OR @<Period> OR @<Timing> ?; # Desired time or schedule for usefhir:authoredOn @<dateTime>?; # When recorded fhir:requester @<Reference> AND {fhir:linkfhir:authoredOn @<DateTime>?; # When recorded fhir:requester @<Reference> AND {fhir:l @<CareTeam> OR @<Device> OR @<Group> OR @<Organization> OR @<Patient> OR @<Practitioner> OR@<PractitionerRole> ? }?; # Who/what submitted the device@<PractitionerRole> OR @<RelatedPerson> ? }?; # Who/what submitted the device # request fhir:performer @<CodeableReference>?; # Requested Filler fhir:location @<OneOrMore_CodeableReference>?; # Requested location fhir:reason @<OneOrMore_CodeableReference>?; # Coded/Linked Reason for requestfhir:asNeeded @<boolean>?; # PRN status of requestfhir:asNeeded @<Boolean>?; # PRN status of request fhir:asNeededFor @<CodeableConcept>?; # Device usage reason fhir:insurance @<OneOrMore_Reference_ClaimResponse_OR_Coverage>?; # Associated insurance coverage fhir:supportingInfo @<OneOrMore_Reference_Resource>?; # Additional clinical information fhir:note @<OneOrMore_Annotation>?; # Notes or comments fhir:relevantHistory @<OneOrMore_Reference_Provenance>?; # Request provenance } # Device details <DeviceRequest.parameter> EXTENDS @<BackboneElement> CLOSED { fhir:code @<CodeableConcept>?; # Device detail fhir:value @<CodeableConcept> OR @<Quantity> OR @<Range> OR@<boolean> ?; # Value of detail@<Boolean> ?; # Value of detail } #---------------------- Cardinality Types (OneOrMore) ------------------- <OneOrMore_Identifier> CLOSED { rdf:first @<Identifier> ; rdf:rest [rdf:nil] OR @<OneOrMore_Identifier> }<OneOrMore_canonical> CLOSED { rdf:first @<canonical> ; rdf:rest [rdf:nil] OR @<OneOrMore_canonical> } <OneOrMore_uri> CLOSED { rdf:first @<uri> ; rdf:rest [rdf:nil] OR @<OneOrMore_uri> }<OneOrMore_Reference_Resource> CLOSED {rdf:first @<Reference> AND {fhir:linkrdf:first @<Reference> AND {fhir:l @<Resource> } ; rdf:rest [rdf:nil] OR @<OneOrMore_Reference_Resource> } <OneOrMore_Reference_DeviceRequest> CLOSED {rdf:first @<Reference> AND {fhir:linkrdf:first @<Reference> AND {fhir:l @<DeviceRequest> } ; rdf:rest [rdf:nil] OR @<OneOrMore_Reference_DeviceRequest> } <OneOrMore_DeviceRequest.parameter> CLOSED { rdf:first @<DeviceRequest.parameter> ; rdf:rest [rdf:nil] OR @<OneOrMore_DeviceRequest.parameter> } <OneOrMore_CodeableReference> CLOSED { rdf:first @<CodeableReference> ; rdf:rest [rdf:nil] OR @<OneOrMore_CodeableReference> } <OneOrMore_Reference_ClaimResponse_OR_Coverage> CLOSED {rdf:first @<Reference> AND {fhir:linkrdf:first @<Reference> AND {fhir:l @<ClaimResponse> OR @<Coverage> } ; rdf:rest [rdf:nil] OR @<OneOrMore_Reference_ClaimResponse_OR_Coverage> } <OneOrMore_Annotation> CLOSED { rdf:first @<Annotation> ; rdf:rest [rdf:nil] OR @<OneOrMore_Annotation> } <OneOrMore_Reference_Provenance> CLOSED {rdf:first @<Reference> AND {fhir:linkrdf:first @<Reference> AND {fhir:l @<Provenance> } ; rdf:rest [rdf:nil] OR @<OneOrMore_Reference_Provenance> } #---------------------- Value Sets ------------------------ # Codes indicating the degree of authority/intentionality associated with a request.fhirvs:request-intent ["proposal" "plan" "directive" "order" "original-order" "reflex-order" "filler-order" "instance-order" "option"]fhirvs:request-intent ["proposal" "solicit-offer" "offer-response" "plan" "directive" "order" "original-order" "reflex-order" "filler-order" "instance-order" "option"] # Identifies the level of importance to be assigned to actioning the request. fhirvs:request-priority ["routine" "urgent" "asap" "stat"] # Codes identifying the lifecycle stage of a request.fhirvs:request-status ["draft" "active" "on-hold" "revoked" "completed" "entered-in-error" "unknown"]fhirvs:request-status ["draft" "active" "on-hold" "entered-in-error" "ended" "completed" "revoked" "unknown"]
Usage note: every effort has been made to ensure that the ShEx files are correct and useful, but they are not a normative part of the specification.
FHIR
®©
HL7.org
2011+.
FHIR
R5
hl7.fhir.core#5.0.0
R6
hl7.fhir.core#6.0.0-ballot3
generated
on
Sun,
Mar
26,
2023
15:24+1100.
Mon,
Nov
24,
2025
20:51+0000.
Links:
Search
|
Version
History
|
Contents
|
Glossary
|
QA
|
Compare
to
R4
|
Compare
to
R4B
R5
|
Compare
to
Last
Ballot
|
|
Propose
a
change