STU 3 Ballot

This page is part of the FHIR Specification (v1.6.0: STU 3 Ballot 4). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

10.3.12.2 StructureDefinition: OrderForGenetics

The official URL for this profile is:

http://hl7.org/fhir/StructureDefinition/orderforgenetics

Describes how the DiagnosticRequest resource is used to for genetics

This profile was published on Tue, Oct 20, 2015 00:00+1100 as a draft by Health Level Seven International (Clinical Genomics).

10.3.12.2.1 Formal Views of Profile Content

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

This structure is derived from DiagnosticRequest.

Summary

Extensions

This structure refers to these extensions:

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
... diagnosticrequest-geneticsItem I0..*(Complex)The items the orderer requested
URL: http://hl7.org/fhir/StructureDefinition/diagnosticrequest-geneticsItem
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... 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 ?!0..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 1..1Reference(Patient | Group | Location | Device)Individual the test is ordered for
... context 0..1Reference(Encounter | EpisodeOfCare)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(Device | Practitioner | Organization)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: Condition/Problem/Diagnosis Codes (example)
... supportingInformation 0..*Reference(Resource)Additional clinical information
... note 0..*AnnotationComments
... relevantHistory 0..*Reference(Provenance)Request provenance

doco Documentation for this format

todo

This structure is derived from DiagnosticRequest.

Summary

Extensions

This structure refers to these extensions:

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
... diagnosticrequest-geneticsItem I0..*(Complex)The items the orderer requested
URL: http://hl7.org/fhir/StructureDefinition/diagnosticrequest-geneticsItem
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... 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 ?!0..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 1..1Reference(Patient | Group | Location | Device)Individual the test is ordered for
... context 0..1Reference(Encounter | EpisodeOfCare)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(Device | Practitioner | Organization)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: Condition/Problem/Diagnosis Codes (example)
... supportingInformation 0..*Reference(Resource)Additional clinical information
... note 0..*AnnotationComments
... relevantHistory 0..*Reference(Provenance)Request provenance

doco Documentation for this format

XML Template

JSON Template

todo

 

Other representations of profile: Schematron

10.3.12.2.2 Terminology Bindings

PathNameConformanceValueSet
DiagnosticRequest.languageCommon LanguagesextensibleCommon Languages
DiagnosticRequest.statusRequestStatusrequiredRequestStatus
DiagnosticRequest.stageDiagnosticRequestStageextensibleDiagnosticRequestStage
DiagnosticRequest.codeLOINC Diagnostic Request CodespreferredLOINC Diagnostic Request Codes
DiagnosticRequest.performerTypeParticipant RolesexampleParticipant Roles
DiagnosticRequest.reasonCondition/Problem/Diagnosis CodesexampleCondition/Problem/Diagnosis Codes

10.3.12.2.3 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))]))
ele-1DiagnosticRequest.extensionAll FHIR elements must have a @value or children
XPath: @value|f:*|h:div
ext-1DiagnosticRequest.extensionMust have either extensions or value[x], not both
XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
.