Implementation Guide for FFB reporting (FFB uddatasæt)
1.0.0 - release
This page is part of the KLFFBReporting (v1.0.0: Release) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
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:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from ServiceRequest
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
ServiceRequest | 0..* | ServiceRequest | A request for a service to be performed | |
implicitRules | 0..0 | |||
language | 0..0 | |||
contained | 0..0 | |||
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Closed by value:url | |
municipalityCaseNumber | S | 0..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 | S | 1..1 | code | [DK] anledningsStatus |
intent | S | 1..1 | code | [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 | S | 1..1 | Reference(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 | |||
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
ServiceRequest | C | 0..* | ServiceRequest | A request for a service to be performed |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Closed by value:url | |
municipalityCaseNumber | S | 0..1 | (Complex) | [DK] anledningDokumenteretISag URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-municipalityCaseNumber |
status | ?!SΣ | 1..1 | code | [DK] anledningsStatus Binding: RequestStatus (required): The status of a service order. |
intent | ?!SΣ | 1..1 | code | [DK] anledningsHensigt Binding: RequestIntent (required): The kind of service request. Required Pattern: proposal |
subject | SΣ | 1..1 | Reference(Citizen) {b} | [DK] anledningsSubjekt |
Documentation for this format |
Path | Conformance | ValueSet / Code |
ServiceRequest.status | required | RequestStatus |
ServiceRequest.intent | required | Pattern: proposal |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | ServiceRequest | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | ServiceRequest | If 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-4 | error | ServiceRequest | If 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-5 | error | ServiceRequest | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | ServiceRequest | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
prr-1 | error | ServiceRequest | orderDetail SHALL only be present if code is present : orderDetail.empty() or code.exists() |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
ServiceRequest | C | 0..* | ServiceRequest | A request for a service to be performed |
id | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource |
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Closed by value:url | |
municipalityCaseNumber | S | 0..1 | (Complex) | [DK] anledningDokumenteretISag URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-municipalityCaseNumber |
status | ?!SΣ | 1..1 | code | [DK] anledningsStatus Binding: RequestStatus (required): The status of a service order. |
intent | ?!SΣ | 1..1 | code | [DK] anledningsHensigt Binding: RequestIntent (required): The kind of service request. Required Pattern: proposal |
subject | SΣ | 1..1 | Reference(Citizen) {b} | [DK] anledningsSubjekt |
Documentation for this format |
Path | Conformance | ValueSet / Code |
ServiceRequest.status | required | RequestStatus |
ServiceRequest.intent | required | Pattern: proposal |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | ServiceRequest | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | ServiceRequest | If 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-4 | error | ServiceRequest | If 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-5 | error | ServiceRequest | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | ServiceRequest | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
prr-1 | error | ServiceRequest | orderDetail SHALL only be present if code is present : orderDetail.empty() or code.exists() |
This structure is derived from ServiceRequest
Differential View
This structure is derived from ServiceRequest
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
ServiceRequest | 0..* | ServiceRequest | A request for a service to be performed | |
implicitRules | 0..0 | |||
language | 0..0 | |||
contained | 0..0 | |||
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Closed by value:url | |
municipalityCaseNumber | S | 0..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 | S | 1..1 | code | [DK] anledningsStatus |
intent | S | 1..1 | code | [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 | S | 1..1 | Reference(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 | |||
Documentation for this format |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
ServiceRequest | C | 0..* | ServiceRequest | A request for a service to be performed |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Closed by value:url | |
municipalityCaseNumber | S | 0..1 | (Complex) | [DK] anledningDokumenteretISag URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-municipalityCaseNumber |
status | ?!SΣ | 1..1 | code | [DK] anledningsStatus Binding: RequestStatus (required): The status of a service order. |
intent | ?!SΣ | 1..1 | code | [DK] anledningsHensigt Binding: RequestIntent (required): The kind of service request. Required Pattern: proposal |
subject | SΣ | 1..1 | Reference(Citizen) {b} | [DK] anledningsSubjekt |
Documentation for this format |
Path | Conformance | ValueSet / Code |
ServiceRequest.status | required | RequestStatus |
ServiceRequest.intent | required | Pattern: proposal |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | ServiceRequest | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | ServiceRequest | If 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-4 | error | ServiceRequest | If 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-5 | error | ServiceRequest | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | ServiceRequest | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
prr-1 | error | ServiceRequest | orderDetail SHALL only be present if code is present : orderDetail.empty() or code.exists() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
ServiceRequest | C | 0..* | ServiceRequest | A request for a service to be performed |
id | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource |
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Closed by value:url | |
municipalityCaseNumber | S | 0..1 | (Complex) | [DK] anledningDokumenteretISag URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-municipalityCaseNumber |
status | ?!SΣ | 1..1 | code | [DK] anledningsStatus Binding: RequestStatus (required): The status of a service order. |
intent | ?!SΣ | 1..1 | code | [DK] anledningsHensigt Binding: RequestIntent (required): The kind of service request. Required Pattern: proposal |
subject | SΣ | 1..1 | Reference(Citizen) {b} | [DK] anledningsSubjekt |
Documentation for this format |
Path | Conformance | ValueSet / Code |
ServiceRequest.status | required | RequestStatus |
ServiceRequest.intent | required | Pattern: proposal |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | ServiceRequest | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | ServiceRequest | If 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-4 | error | ServiceRequest | If 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-5 | error | ServiceRequest | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | ServiceRequest | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
prr-1 | error | ServiceRequest | orderDetail SHALL only be present if code is present : orderDetail.empty() or code.exists() |
This structure is derived from ServiceRequest
Other representations of profile: CSV, Excel, Schematron