Implementation Guide for FFB reporting (FFB uddatasæt)
1.0.0 - release Denmark flag

This page is part of the KLFFBReporting (v1.0.0: Release) based on FHIR R4. This is the current published version. For a full list of available versions, see the Directory of published versions

Resource Profile: ServiceRequest

Official URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-serviceRequest Version: 1.0.0
Active as of 2023-08-27 Computable Name: KLReportingFFBServiceRequest

ServiceRequest leading to the gathering of information

Usage:

Formal Views of Profile Content

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

This structure is derived from ServiceRequest

NameFlagsCard.TypeDescription & Constraintsdoco
.. ServiceRequest 0..*ServiceRequestA request for a service to be performed
... implicitRules 0..0
... language 0..0
... contained 0..0
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Closed by value:url
.... municipalityCaseNumber S0..1(Complex)[DK] anledningDokumenteretISag
URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-municipalityCaseNumber
... modifierExtension 0..0
... identifier 0..0
... instantiatesCanonical 0..0
... instantiatesUri 0..0
... basedOn 0..0
... replaces 0..0
... requisition 0..0
... status S1..1code[DK] anledningsStatus
... intent S1..1code[DK] anledningsHensigt
Required Pattern: proposal
... category 0..0
... priority 0..0
... doNotPerform 0..0
... code 0..0
... orderDetail 0..0
... quantity[x] 0..0
... subject S1..1Reference(Citizen) {b}[DK] anledningsSubjekt
... encounter 0..0
... occurrence[x] 0..0
... asNeeded[x] 0..0
... authoredOn 0..0
... requester 0..0
... performerType 0..0
... performer 0..0
... locationCode 0..0
... locationReference 0..0
... reasonCode 0..0
... reasonReference 0..0
... insurance 0..0
... supportingInfo 0..0
... specimen 0..0
... bodySite 0..0
... note 0..0
... patientInstruction 0..0
... relevantHistory 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. ServiceRequest C0..*ServiceRequestA request for a service to be performed
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Closed by value:url
.... municipalityCaseNumber S0..1(Complex)[DK] anledningDokumenteretISag
URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-municipalityCaseNumber
... status ?!SΣ1..1code[DK] anledningsStatus
Binding: RequestStatus (required): The status of a service order.

... intent ?!SΣ1..1code[DK] anledningsHensigt
Binding: RequestIntent (required): The kind of service request.


Required Pattern: proposal

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
ServiceRequest.statusrequiredRequestStatus
ServiceRequest.intentrequiredPattern: proposal

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorServiceRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorServiceRequestIf 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-4errorServiceRequestIf 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-5errorServiceRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceServiceRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
prr-1errorServiceRequestorderDetail SHALL only be present if code is present
: orderDetail.empty() or code.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. ServiceRequest C0..*ServiceRequestA request for a service to be performed
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... text 0..1NarrativeText summary of the resource, for human interpretation
.... municipalityCaseNumber S0..1(Complex)[DK] anledningDokumenteretISag
URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-municipalityCaseNumber
... status ?!SΣ1..1code[DK] anledningsStatus
Binding: RequestStatus (required): The status of a service order.

... intent ?!SΣ1..1code[DK] anledningsHensigt
Binding: RequestIntent (required): The kind of service request.


Required Pattern: proposal
... subject SΣ1..1Reference(Citizen) {b}[DK] anledningsSubjekt

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
ServiceRequest.statusrequiredRequestStatus
ServiceRequest.intentrequiredPattern: proposal

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorServiceRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorServiceRequestIf 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-4errorServiceRequestIf 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-5errorServiceRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceServiceRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
prr-1errorServiceRequestorderDetail SHALL only be present if code is present
: orderDetail.empty() or code.exists()

This structure is derived from ServiceRequest

Summary

Must-Support: 4 elements
Prohibited: 34 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Differential View

This structure is derived from ServiceRequest

NameFlagsCard.TypeDescription & Constraintsdoco
.. ServiceRequest 0..*ServiceRequestA request for a service to be performed
... implicitRules 0..0
... language 0..0
... contained 0..0
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Closed by value:url
.... municipalityCaseNumber S0..1(Complex)[DK] anledningDokumenteretISag
URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-municipalityCaseNumber
... modifierExtension 0..0
... identifier 0..0
... instantiatesCanonical 0..0
... instantiatesUri 0..0
... basedOn 0..0
... replaces 0..0
... requisition 0..0
... status S1..1code[DK] anledningsStatus
... intent S1..1code[DK] anledningsHensigt
Required Pattern: proposal
... category 0..0
... priority 0..0
... doNotPerform 0..0
... code 0..0
... orderDetail 0..0
... quantity[x] 0..0
... subject S1..1Reference(Citizen) {b}[DK] anledningsSubjekt
... encounter 0..0
... occurrence[x] 0..0
... asNeeded[x] 0..0
... authoredOn 0..0
... requester 0..0
... performerType 0..0
... performer 0..0
... locationCode 0..0
... locationReference 0..0
... reasonCode 0..0
... reasonReference 0..0
... insurance 0..0
... supportingInfo 0..0
... specimen 0..0
... bodySite 0..0
... note 0..0
... patientInstruction 0..0
... relevantHistory 0..0

doco Documentation for this format

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. ServiceRequest C0..*ServiceRequestA request for a service to be performed
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Closed by value:url
.... municipalityCaseNumber S0..1(Complex)[DK] anledningDokumenteretISag
URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-municipalityCaseNumber
... status ?!SΣ1..1code[DK] anledningsStatus
Binding: RequestStatus (required): The status of a service order.

... intent ?!SΣ1..1code[DK] anledningsHensigt
Binding: RequestIntent (required): The kind of service request.


Required Pattern: proposal

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
ServiceRequest.statusrequiredRequestStatus
ServiceRequest.intentrequiredPattern: proposal

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorServiceRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorServiceRequestIf 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-4errorServiceRequestIf 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-5errorServiceRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceServiceRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
prr-1errorServiceRequestorderDetail SHALL only be present if code is present
: orderDetail.empty() or code.exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. ServiceRequest C0..*ServiceRequestA request for a service to be performed
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... text 0..1NarrativeText summary of the resource, for human interpretation
.... municipalityCaseNumber S0..1(Complex)[DK] anledningDokumenteretISag
URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-municipalityCaseNumber
... status ?!SΣ1..1code[DK] anledningsStatus
Binding: RequestStatus (required): The status of a service order.

... intent ?!SΣ1..1code[DK] anledningsHensigt
Binding: RequestIntent (required): The kind of service request.


Required Pattern: proposal
... subject SΣ1..1Reference(Citizen) {b}[DK] anledningsSubjekt

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
ServiceRequest.statusrequiredRequestStatus
ServiceRequest.intentrequiredPattern: proposal

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorServiceRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorServiceRequestIf 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-4errorServiceRequestIf 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-5errorServiceRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceServiceRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
prr-1errorServiceRequestorderDetail SHALL only be present if code is present
: orderDetail.empty() or code.exists()

This structure is derived from ServiceRequest

Summary

Must-Support: 4 elements
Prohibited: 34 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

 

Other representations of profile: CSV, Excel, Schematron