0.3.0 - Second STU ballot

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. The current version which supercedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions

StructureDefinition: DeviceRequestR4

The official URL for this profile is:

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

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. DeviceRequest I0..*Medical device request
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred)
Max Binding: AllLanguages
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier SΣ0..*IdentifierExternal Request identifier
... instantiatesCanonical SΣ1..1canonical(ActivityDefinition | PlanDefinition)Instantiates FHIR protocol or definition
... instantiatesUri Σ0..*uriInstantiates external protocol or definition
... basedOn SΣ1..1Reference(Resource)What request fulfills
... priorRequest Σ0..*Reference(Resource)What request replaces
... groupIdentifier Σ0..1IdentifierIdentifier of composite request
... status ?!SΣ1..1codedraft | active | suspended | completed | entered-in-error | cancelled
Binding: RequestStatus (required)
Fixed Value: draft
... intent ?!Σ1..1codeproposal | plan | original-order | encoded | reflex-order
Binding: RequestIntent (required)
... priority Σ0..1codeIndicates how quickly the should be addressed with respect to other requests
Binding: RequestPriority (required)
... code[x] SΣ1..1Reference(DeviceR4), CodeableConceptDevice requested
Binding: FHIRDeviceTypes (example)
... parameter SI0..*BackboneElementDevice details
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... code 0..1CodeableConceptDevice detail
Binding: (unbound) (example)
.... value[x] 0..1CodeableConcept, Quantity, Range, booleanValue of detail
... subject SΣ1..1Reference(PatientR4)Focus of request
... encounter Σ0..1Reference(EncounterR4)Encounter motivating request
... occurrence[x] SΣ0..1dateTime, Period, TimingDesired time or schedule for use
... authoredOn SΣ1..1dateTimeWhen recorded
... requester SΣ1..1Reference(PractitionerR4 | US Core PractitionerRole Profile)Who/what is requesting diagnostics
... performerType Σ0..1CodeableConceptFiller role
Binding: ParticipantRoles (example)
... performer SΣ0..1Reference(PractitionerR4 | US Core PractitionerRole Profile)Requested Filler
... reasonCode SΣ0..*CodeableConceptCoded Reason for request
Binding: Condition/Problem/DiagnosisCodes (example)
... reasonReference SΣ0..*Reference(US Core Condition Profile | US Core Result Observation Profile)Linked Reason for request
... insurance S0..*Reference(CoverageR4)Associated insurance coverage
... supportingInfo 0..*Reference(Resource)Additional clinical information
... note 0..*AnnotationNotes or comments
... relevantHistory 0..*Reference(Provenance)Request provenance

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. DeviceRequest I0..*Medical device request
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred)
Max Binding: AllLanguages
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier SΣ0..*IdentifierExternal Request identifier
... instantiatesCanonical SΣ1..1canonical(ActivityDefinition | PlanDefinition)Instantiates FHIR protocol or definition
... instantiatesUri Σ0..*uriInstantiates external protocol or definition
... basedOn SΣ1..1Reference(Resource)What request fulfills
... priorRequest Σ0..*Reference(Resource)What request replaces
... groupIdentifier Σ0..1IdentifierIdentifier of composite request
... status ?!SΣ1..1codedraft | active | suspended | completed | entered-in-error | cancelled
Binding: RequestStatus (required)
Fixed Value: draft
... intent ?!Σ1..1codeproposal | plan | original-order | encoded | reflex-order
Binding: RequestIntent (required)
... priority Σ0..1codeIndicates how quickly the should be addressed with respect to other requests
Binding: RequestPriority (required)
... code[x] SΣ1..1Reference(DeviceR4), CodeableConceptDevice requested
Binding: FHIRDeviceTypes (example)
... parameter SI0..*BackboneElementDevice details
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... code 0..1CodeableConceptDevice detail
Binding: (unbound) (example)
.... value[x] 0..1CodeableConcept, Quantity, Range, booleanValue of detail
... subject SΣ1..1Reference(PatientR4)Focus of request
... encounter Σ0..1Reference(EncounterR4)Encounter motivating request
... occurrence[x] SΣ0..1dateTime, Period, TimingDesired time or schedule for use
... authoredOn SΣ1..1dateTimeWhen recorded
... requester SΣ1..1Reference(PractitionerR4 | US Core PractitionerRole Profile)Who/what is requesting diagnostics
... performerType Σ0..1CodeableConceptFiller role
Binding: ParticipantRoles (example)
... performer SΣ0..1Reference(PractitionerR4 | US Core PractitionerRole Profile)Requested Filler
... reasonCode SΣ0..*CodeableConceptCoded Reason for request
Binding: Condition/Problem/DiagnosisCodes (example)
... reasonReference SΣ0..*Reference(US Core Condition Profile | US Core Result Observation Profile)Linked Reason for request
... insurance S0..*Reference(CoverageR4)Associated insurance coverage
... supportingInfo 0..*Reference(Resource)Additional clinical information
... note 0..*AnnotationNotes or comments
... relevantHistory 0..*Reference(Provenance)Request provenance

doco Documentation for this format

 

Other representations of profile: Schematron

Terminology Bindings

PathConformanceValueSet / Code
DeviceRequest.statusrequiredFixed Value: draft
DeviceRequest.code[x]exampleFHIRDeviceTypes
DeviceRequest.reasonCodeexampleCondition/Problem/DiagnosisCodes

Constraints

IdPathDetailsRequirements
dom-2DeviceRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-4DeviceRequestIf 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-3DeviceRequestIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-6DeviceRequestA resource should have narrative for robust management
: text.div.exists()
dom-5DeviceRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
ele-1DeviceRequest.parameterAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())