STU 2 Ballot

This page is part of the Quality Improvement Core Framework (v1.6.0: STU 2 Ballot 1) based on FHIR v1.6.0. The current version which supercedes this version is 4.1.1. For a full list of available versions, see the Directory of published versions

D.4.1 StructureDefinition: qicore-diagnosticrequest

D.4.1.1 Formal Views of Profile Content

The official URL for this profile is:

http://hl7.org/fhir/qicore/StructureDefinition/qicore-diagnosticrequest

This profile was published on Fri Feb 27 00:00:00 AEDT 2015 as a draft by Health Level Seven International (Clinical Quality Information - QICore).

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

This structure is derived from DiagnosticRequest

NameFlagsCard.TypeDescription & Constraintsdoco
.. DiagnosticRequest I0..*A request for a diagnostic service
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
... 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: Common Languages (extensible)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..1?? http://hl7.org/fhir/StructureDefinition/DiagnosticRequest-reasonRejectedExtension
URL: http://hl7.org/fhir/StructureDefinition/DiagnosticRequest-reasonRejected
Binding: Reasons for rejecting a diagnostic request (example)
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier 0..*IdentifierIdentifiers assigned to this order
... definition 0..*Reference(Resource)Protocol or definition
... basedOn 0..*Reference(Resource)What request fulfills
... replaces 0..*Reference(Resource)What request replaces
... requisition 0..1IdentifierIdentifier of composite request
... status ?!S0..1codedraft | active | suspended | completed | entered-in-error | cancelled
Binding: RequestStatus (required)
... stage ?!1..1CodeableConceptproposal | plan | original-order | reflex-order
Binding: DiagnosticRequestStage (extensible)
... code 1..1CodeableConceptWhat’s being requested/ordered
Binding: LOINC Diagnostic Request Codes (preferred)
... subject S1..1Reference(Profile qicore-patient | Group | Profile qicore-location | Profile qicore-device)Individual the test is ordered for
... context S0..1Reference(Profile qicore-encounter)Encounter or Episode during which request was created
... occurrence[x] 0..1dateTime, Period, TimingWhen testing should occur
... authored 0..1dateTimeDate request signed
... requester 0..1Reference(Profile qicore-practitioner)Who/what is requesting diagnostics
... performerType 0..1CodeableConceptPerformer role
Binding: Participant Roles (example)
... performer 0..1Reference(Practitioner | Organization | Patient | Device | RelatedPerson)Requested perfomer
... reason 0..*CodeableConceptExplanation/Justification for test
Binding: 7.org/fhir/daf/ValueSet/daf-problem (preferred)
... supportingInformation 0..*Reference(Profile qicore-observation | Profile qicore-condition | DocumentReference)Additional clinical information
... note 0..*AnnotationComments
... relevantHistory 0..*Reference(Provenance)Request provenance

doco Documentation for this format

yet to be done: Xml template

yet to be done: Json template

This structure is derived from StructureDefinition.

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. DiagnosticRequest I0..*A request for a diagnostic service
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
... 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: Common Languages (extensible)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..1?? http://hl7.org/fhir/StructureDefinition/DiagnosticRequest-reasonRejectedExtension
URL: http://hl7.org/fhir/StructureDefinition/DiagnosticRequest-reasonRejected
Binding: Reasons for rejecting a diagnostic request (example)
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier 0..*IdentifierIdentifiers assigned to this order
... definition 0..*Reference(Resource)Protocol or definition
... basedOn 0..*Reference(Resource)What request fulfills
... replaces 0..*Reference(Resource)What request replaces
... requisition 0..1IdentifierIdentifier of composite request
... status ?!S0..1codedraft | active | suspended | completed | entered-in-error | cancelled
Binding: RequestStatus (required)
... stage ?!1..1CodeableConceptproposal | plan | original-order | reflex-order
Binding: DiagnosticRequestStage (extensible)
... code 1..1CodeableConceptWhat’s being requested/ordered
Binding: LOINC Diagnostic Request Codes (preferred)
... subject S1..1Reference(Profile qicore-patient | Group | Profile qicore-location | Profile qicore-device)Individual the test is ordered for
... context S0..1Reference(Profile qicore-encounter)Encounter or Episode during which request was created
... occurrence[x] 0..1dateTime, Period, TimingWhen testing should occur
... authored 0..1dateTimeDate request signed
... requester 0..1Reference(Profile qicore-practitioner)Who/what is requesting diagnostics
... performerType 0..1CodeableConceptPerformer role
Binding: Participant Roles (example)
... performer 0..1Reference(Practitioner | Organization | Patient | Device | RelatedPerson)Requested perfomer
... reason 0..*CodeableConceptExplanation/Justification for test
Binding: 7.org/fhir/daf/ValueSet/daf-problem (preferred)
... supportingInformation 0..*Reference(Profile qicore-observation | Profile qicore-condition | DocumentReference)Additional clinical information
... note 0..*AnnotationComments
... relevantHistory 0..*Reference(Provenance)Request provenance

doco Documentation for this format

XML Template

yet to be done: Xml template

JSON Template

yet to be done: Json template

 

D.4.1.2 Terminology Bindings

Terminology Bindings

PathNameConformanceValueSet
DiagnosticRequest.languageCommon LanguagesextensibleCommon Languages
DiagnosticRequest.extension
http://hl7.org/fhir/StructureDefinition/DiagnosticRequest-reasonRejected
Reasons for rejecting a diagnostic requestexampleReasons for rejecting a diagnostic request
DiagnosticRequest.statusRequestStatusrequiredRequestStatus
DiagnosticRequest.stageDiagnosticRequestStageextensibleDiagnosticRequestStage
DiagnosticRequest.codeLOINC Diagnostic Request CodespreferredLOINC Diagnostic Request Codes
DiagnosticRequest.performerTypeParticipant RolesexampleParticipant Roles
DiagnosticRequest.reason?extpreferredhttp://hl7.org/fhir/daf/ValueSet/daf-problem

D.4.1.3 Constraints

Constraints

IdPathDetailsRequirements
dom-2DiagnosticRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
XPath: not(parent::f:contained and f:contained)
dom-1DiagnosticRequestIf the resource is contained in another resource, it SHALL NOT contain any narrative
XPath: not(parent::f:contained and f:text)
dom-4DiagnosticRequestIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
XPath: not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))
dom-3DiagnosticRequestIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
XPath: not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))
.