2.2.0 - Release
KLGatewayRehab, published by Kommunernes Landsforening. This guide is not an authorized publication; it is the continuous build for version 2.2.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7dk/kl-gateway-rehab/ and changes regularly. See the Directory of published versions
Official URL: http://fhir.kl.dk/rehab/StructureDefinition/klgateway-140-servicerequest | Version: 2.2.0 | |||
Active as of 2024-10-31 | Computable Name: KLGateway140ServiceRequest |
Referal used to represent information about the training-referal (GGOP) from a hospital to a Danish municipalities
This model is used to represent when a municipality recieves a request for rehabilitation according to §140 in the health act (DK: §140 træning ifølge sundhedsloven).
The ServiceRequest, should have the sending organisation as the requester i.e the hospital that sends the request (GGOP), and intent should always be "plan". The status attribute should be used according to the FHIR-guidance. The requester is mandatory for §140. The citizen is referred in ServiceRequest.subject.
ServiceRequest.authoredOn holds the date form when the GGOP was recieved in the municipality, if this is available. Else, the time that the GGOP was send from the hosptal may be used.
extension[dischargeDate] holds the date from when the patient was discharged from the hospital. If nothing else is available, the attribute 'Aktuel_kontakt_slutdato' from MedCom's GGOP can be used. However, it should always be possible to correct the date if the discharge date is changed.
The date, where the patient is offered to recieve his/her first encounter is reported in occurrencePeriod.start. This is the official beginning of the delivery of the service, even if the encounter is eventually cancelled. occurrencePeriod.start is labled with 'must support'.
category is used to state what type of GGOP has been send to the municipality i.e. 'almen', 'specialiseret', 'rehabilitering'. If the GGOP is of type 'almen', an additional code may be added to distinguish between 'basal' and 'avanceret'. Note that the latter may change over time, and is allowed to be corrected.
It may happen that the hospital sends a new GGOP when the treatment changes from 'specialiseret' to 'almen', even though this is not the recommended practice. In this case, just use this GGOP in a new instance of ServiceRequest, and associate with CarePlans, Iterventions etc as needed. If the hospital does not send a new GGOP (recommended pratics), just change the type from 'specialiseret' to 'almen' in an update to the already reported ServiceRequest, and associate the CarePlans, Iterventions etc'.
ServiceRequest.status and ServiceRequest.intent are mandatory. ServiceRequest.intent always have the value 'plan'. ServiceRequest.status uses the required FHIR ValueSet as appropriate. Use 'on-hold' to signify a GGOP that the municipality does not act on, or does not act on yet. Use in combination with extension[statusReason] to explain why the GGOP is not acted on.
It may happen that a new GGOP is recieved, while another one is already active for the citizen. If you want to keep track on which activities are related to each GGOP, choose the appropriate use case:
SeviceRequest.reasonReference is only used, if a code or codes were recieved in a MedCom message as a referal diagnosis (i GGOP). The reasonReference describes this through a reference to FocusCondition, which again uses SKS diagnosis codes to describe the problem/diagnosis, that led the hospital to request §140 rehabilitation.
ServiceRequest.code.coding is used to state, what kind of interventions the requester wants for the citizen. The value is always 'Kommunal genoptræning efter sygehusophold'.
Nedenstående tabel oversætter mellem de attributter der er defineret i den fælleskommunale informationsmodel (FKI), definerer kort den enkelte attribut på dansk og specificere hvilke af FHIR-profilens atributter der skal bruges til specifikation af indholdet
FKI-attribut | Definition | FHIR |
---|---|---|
anledningAnsvarlig | Den som har ansvar for henvendelsen/henvisningen | ServiceRequest.requester |
anledningsstatus | Klasse der udtrykker status for henvendelsen | ServiceRequest.status |
anledningsHensigt | Klasse der udtrykker hensigten med henvendelsen | ServiceRequest.intent |
anledningsIndsats | Klasse der udtrykker, hvilken type kommunal indsats/ydelse der anmodes om. | ServiceRequest.code.coding |
anledningsSubjekt | Den borger som henvisningen/henvendelsen vedrører | ServiceRequest.subject |
anledningstid | Det tidspunkt hvor henvisning/henvendelsen er forfattet af den ansvarlige | ServiceRequest.authoredOn |
anledningsbegrundelse | Den borgertilstand, der ligger til grund for henvendelsen/henvisningen. | SeviceRequest.reasonReference |
anledningErstatter | Den tidligere anledning som denne erstatter | SeviceRequest.replaces |
anledningTypeAfGGOP | Type af GGOP | SeviceRequest.category |
anledningUdskrivningsdato | borgers udskrivningsdato fra hospitalet | SeviceRequest.extension:dischargeDate |
anledningÅrsagManglendeAktivitet | Begrundelse for status, der bruges, når der ikke er aktivitet indenfor 7 dages garantien | SeviceRequest.extension:statusReason |
anledningTilbudtFørsteKontakt | Den dato, hvor borger er tilbudt første kontakt. Datoen regnes for igangsættelsesdato selv om kontakten måtte blive aflyst | SeviceRequest.occurrencePeriod.start |
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 | C | 0..* | ServiceRequest | A request for a service to be performed gateway-140-service-request-1: one of the order detail codes, should always be almen, specialiseret eller rehabilitering |
Slices for extension | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |
dischargeDate | S | 1..1 | date | [DK] anledningUdskrivningsdato URL: http://fhir.kl.dk/rehab/StructureDefinition/PreconditionDate |
statusReason | S | 0..1 | (Complex) | [DK] anledningÅrsagManglendeAktivitet URL: http://hl7.org/fhir/StructureDefinition/request-statusReason |
value[x] | ||||
coding | 0..* | Coding | Code defined by a terminology system Binding: ServiceRequestStatusReasons (required) | |
identifier | 0..0 | |||
instantiatesCanonical | 0..0 | |||
instantiatesUri | 0..0 | |||
basedOn | 0..0 | |||
replaces | 0..1 | Reference(KLGateway140ServiceRequest) {b} | [DK] anledningErstatter | |
requisition | 0..0 | |||
status | 1..1 | code | [DK] anledningsStatus | |
intent | 1..1 | code | [DK] anledningsHensigt Required Pattern: plan | |
category | 1..2 | CodeableConcept | [DK] anledningTypeAfGGOP | |
coding | 0..* | Coding | Code defined by a terminology system Binding: ServiceRequestTypes (required) | |
priority | 0..0 | |||
doNotPerform | 0..0 | |||
code | 1..1 | CodeableConcept | What is being requested/ordered | |
coding | 0..* | Coding | [DK] anledningsIndsats Binding: ServiceTypes (required) | |
orderDetail | 0..0 | |||
quantity[x] | 0..0 | |||
subject | 1..1 | Reference(KLGateway140Citizen) {b} | [DK] anledningsSubjekt | |
encounter | 0..0 | |||
Slices for occurrence[x] | 0..1 | dateTime, Period, Timing | When service should occur Slice: Unordered, Open by type:$this | |
occurrence[x]:occurrenceDateTime | 0..0 | |||
occurrence[x]:occurrenceTiming | 0..0 | |||
occurrence[x]:occurrencePeriod | 0..1 | Period | When service should occur | |
start | S | 0..1 | dateTime | [DK] anledningTilbudtFørsteKontakt |
end | 0..0 | |||
asNeeded[x] | 0..0 | |||
authoredOn | 1..1 | dateTime | [DK] anledningstid | |
requester | 1..1 | Reference(KLGateway140Organization) {b} | [DK] anledningAnsvarlig | |
performerType | 0..0 | |||
performer | 0..0 | |||
locationCode | 0..0 | |||
locationReference | 0..0 | |||
reasonCode | 0..0 | |||
reasonReference | 0..* | Reference(KLGateway140FocusCondition) {b} | [DK] anledningsbegrundelse | |
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 |
Path | Conformance | ValueSet | URI |
ServiceRequest.extension:statusReason.value[x].coding | required | ServiceRequestStatusReasons140http://fhir.kl.dk/rehab/ValueSet/ServiceRequestStatusReasons140 from this IG | |
ServiceRequest.category.coding | required | ServiceRequestTypes140http://fhir.kl.dk/rehab/ValueSet/ServiceRequestTypes140 from this IG | |
ServiceRequest.code.coding | required | ServiceTypes140http://fhir.kl.dk/rehab/ValueSet/ServiceTypes140 from this IG |
Id | Grade | Path(s) | Details | Requirements |
gateway-140-service-request-1 | error | ServiceRequest | one of the order detail codes, should always be almen, specialiseret eller rehabilitering : category.select(coding.code = 'ffd81f78-352e-4589-a195-5350dd1df2a4' or coding.code = '0c8e2bfc-1350-45d1-90da-c07e2645d073' or coding.code = '83c89857-8fb8-4163-97b1-eb1a56345c29').anyTrue() |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
ServiceRequest | C | 0..* | ServiceRequest | A request for a service to be performed prr-1: orderDetail SHALL only be present if code is present gateway-140-service-request-1: one of the order detail codes, should always be almen, specialiseret eller rehabilitering |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
Slices for extension | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |
dischargeDate | S | 1..1 | date | [DK] anledningUdskrivningsdato URL: http://fhir.kl.dk/rehab/StructureDefinition/PreconditionDate |
statusReason | S | 0..1 | (Complex) | [DK] anledningÅrsagManglendeAktivitet URL: http://hl7.org/fhir/StructureDefinition/request-statusReason |
extension | 0..0 | |||
url | 1..1 | uri | "http://hl7.org/fhir/StructureDefinition/request-statusReason" | |
value[x] | 1..1 | CodeableConcept | Value of extension Binding Description (No ValueSet): (example): Codes identifying the reason for the current state of an event. | |
coding | Σ | 0..* | Coding | Code defined by a terminology system Binding: ServiceRequestStatusReasons (required) |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
replaces | Σ | 0..1 | Reference(KLGateway140ServiceRequest) {b} | [DK] anledningErstatter |
status | ?!Σ | 1..1 | code | [DK] anledningsStatus Binding: RequestStatus (required): The status of a service order. |
intent | ?!Σ | 1..1 | code | [DK] anledningsHensigt Binding: RequestIntent (required): The kind of service request. Required Pattern: plan |
category | Σ | 1..2 | CodeableConcept | [DK] anledningTypeAfGGOP Binding: ServiceRequestCategoryCodes (example): Classification of the requested service. |
coding | Σ | 0..* | Coding | Code defined by a terminology system Binding: ServiceRequestTypes (required) |
code | Σ | 1..1 | CodeableConcept | What is being requested/ordered Binding: ProcedureCodes(SNOMEDCT) (example): Codes for tests or services that can be carried out by a designated individual, organization or healthcare service. For laboratory, LOINC is preferred and a valueset using LOINC Order codes is available here. |
coding | Σ | 0..* | Coding | [DK] anledningsIndsats Binding: ServiceTypes (required) |
subject | Σ | 1..1 | Reference(KLGateway140Citizen) {b} | [DK] anledningsSubjekt |
Slices for occurrence[x] | Σ | 0..1 | When service should occur Slice: Unordered, Closed by type:$this | |
occurrenceDateTime | dateTime | |||
occurrencePeriod | Period | |||
occurrenceTiming | Timing | |||
occurrence[x]:occurrencePeriod | Σ | 0..1 | Period | When service should occur |
start | SΣC | 0..1 | dateTime | [DK] anledningTilbudtFørsteKontakt |
authoredOn | Σ | 1..1 | dateTime | [DK] anledningstid |
requester | Σ | 1..1 | Reference(KLGateway140Organization) {b} | [DK] anledningAnsvarlig |
reasonReference | Σ | 0..* | Reference(KLGateway140FocusCondition) {b} | [DK] anledningsbegrundelse |
Documentation for this format |
Path | Conformance | ValueSet / Code | URI |
ServiceRequest.extension:statusReason.value[x] | example | ||
ServiceRequest.extension:statusReason.value[x].coding | required | ServiceRequestStatusReasons140http://fhir.kl.dk/rehab/ValueSet/ServiceRequestStatusReasons140 from this IG | |
ServiceRequest.status | required | RequestStatushttp://hl7.org/fhir/ValueSet/request-status|4.0.1 from the FHIR Standard | |
ServiceRequest.intent | required | Pattern: planhttp://hl7.org/fhir/ValueSet/request-intent|4.0.1 from the FHIR Standard | |
ServiceRequest.category | example | ServiceRequestCategoryCodeshttp://hl7.org/fhir/ValueSet/servicerequest-category from the FHIR Standard | |
ServiceRequest.category.coding | required | ServiceRequestTypes140http://fhir.kl.dk/rehab/ValueSet/ServiceRequestTypes140 from this IG | |
ServiceRequest.code | example | ProcedureCodes(SNOMEDCT)http://hl7.org/fhir/ValueSet/procedure-code from the FHIR Standard | |
ServiceRequest.code.coding | required | ServiceTypes140http://fhir.kl.dk/rehab/ValueSet/ServiceTypes140 from this IG |
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() | |
gateway-140-service-request-1 | error | ServiceRequest | one of the order detail codes, should always be almen, specialiseret eller rehabilitering : category.select(coding.code = 'ffd81f78-352e-4589-a195-5350dd1df2a4' or coding.code = '0c8e2bfc-1350-45d1-90da-c07e2645d073' or coding.code = '83c89857-8fb8-4163-97b1-eb1a56345c29').anyTrue() | |
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 prr-1: orderDetail SHALL only be present if code is present gateway-140-service-request-1: one of the order detail codes, should always be almen, specialiseret eller rehabilitering | ||||
id | Σ | 0..1 | id | Logical id of this artifact | ||||
meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
Slices for extension | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
dischargeDate | S | 1..1 | date | [DK] anledningUdskrivningsdato URL: http://fhir.kl.dk/rehab/StructureDefinition/PreconditionDate | ||||
statusReason | S | 0..1 | (Complex) | [DK] anledningÅrsagManglendeAktivitet URL: http://hl7.org/fhir/StructureDefinition/request-statusReason | ||||
id | 0..1 | id | Unique id for inter-element referencing | |||||
extension | 0..0 | |||||||
url | 1..1 | uri | "http://hl7.org/fhir/StructureDefinition/request-statusReason" | |||||
value[x] | 1..1 | CodeableConcept | Value of extension Binding Description (No ValueSet): (example): Codes identifying the reason for the current state of an event. | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
coding | Σ | 0..* | Coding | Code defined by a terminology system Binding: ServiceRequestStatusReasons (required) | ||||
text | Σ | 0..1 | string | Plain text representation of the concept | ||||
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
replaces | Σ | 0..1 | Reference(KLGateway140ServiceRequest) {b} | [DK] anledningErstatter | ||||
status | ?!Σ | 1..1 | code | [DK] anledningsStatus Binding: RequestStatus (required): The status of a service order. | ||||
intent | ?!Σ | 1..1 | code | [DK] anledningsHensigt Binding: RequestIntent (required): The kind of service request. Required Pattern: plan | ||||
category | Σ | 1..2 | CodeableConcept | [DK] anledningTypeAfGGOP Binding: ServiceRequestCategoryCodes (example): Classification of the requested service. | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
coding | Σ | 0..* | Coding | Code defined by a terminology system Binding: ServiceRequestTypes (required) | ||||
text | Σ | 0..1 | string | Plain text representation of the concept | ||||
code | Σ | 1..1 | CodeableConcept | What is being requested/ordered Binding: ProcedureCodes(SNOMEDCT) (example): Codes for tests or services that can be carried out by a designated individual, organization or healthcare service. For laboratory, LOINC is preferred and a valueset using LOINC Order codes is available here. | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
coding | Σ | 0..* | Coding | [DK] anledningsIndsats Binding: ServiceTypes (required) | ||||
text | Σ | 0..1 | string | Plain text representation of the concept | ||||
subject | Σ | 1..1 | Reference(KLGateway140Citizen) {b} | [DK] anledningsSubjekt | ||||
Slices for occurrence[x] | Σ | 0..1 | When service should occur Slice: Unordered, Closed by type:$this | |||||
occurrenceDateTime | dateTime | |||||||
occurrencePeriod | Period | |||||||
occurrenceTiming | Timing | |||||||
occurrence[x]:occurrencePeriod | Σ | 0..1 | Period | When service should occur | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
start | SΣC | 0..1 | dateTime | [DK] anledningTilbudtFørsteKontakt | ||||
authoredOn | Σ | 1..1 | dateTime | [DK] anledningstid | ||||
requester | Σ | 1..1 | Reference(KLGateway140Organization) {b} | [DK] anledningAnsvarlig | ||||
reasonReference | Σ | 0..* | Reference(KLGateway140FocusCondition) {b} | [DK] anledningsbegrundelse | ||||
Documentation for this format |
Path | Conformance | ValueSet / Code | URI | |||
ServiceRequest.language | preferred | CommonLanguages
http://hl7.org/fhir/ValueSet/languages from the FHIR Standard | ||||
ServiceRequest.extension:statusReason.value[x] | example | |||||
ServiceRequest.extension:statusReason.value[x].coding | required | ServiceRequestStatusReasons140http://fhir.kl.dk/rehab/ValueSet/ServiceRequestStatusReasons140 from this IG | ||||
ServiceRequest.status | required | RequestStatushttp://hl7.org/fhir/ValueSet/request-status|4.0.1 from the FHIR Standard | ||||
ServiceRequest.intent | required | Pattern: planhttp://hl7.org/fhir/ValueSet/request-intent|4.0.1 from the FHIR Standard | ||||
ServiceRequest.category | example | ServiceRequestCategoryCodeshttp://hl7.org/fhir/ValueSet/servicerequest-category from the FHIR Standard | ||||
ServiceRequest.category.coding | required | ServiceRequestTypes140http://fhir.kl.dk/rehab/ValueSet/ServiceRequestTypes140 from this IG | ||||
ServiceRequest.code | example | ProcedureCodes(SNOMEDCT)http://hl7.org/fhir/ValueSet/procedure-code from the FHIR Standard | ||||
ServiceRequest.code.coding | required | ServiceTypes140http://fhir.kl.dk/rehab/ValueSet/ServiceTypes140 from this IG |
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() | |
gateway-140-service-request-1 | error | ServiceRequest | one of the order detail codes, should always be almen, specialiseret eller rehabilitering : category.select(coding.code = 'ffd81f78-352e-4589-a195-5350dd1df2a4' or coding.code = '0c8e2bfc-1350-45d1-90da-c07e2645d073' or coding.code = '83c89857-8fb8-4163-97b1-eb1a56345c29').anyTrue() | |
prr-1 | error | ServiceRequest | orderDetail SHALL only be present if code is present : orderDetail.empty() or code.exists() |
This structure is derived from ServiceRequest
Summary
Mandatory: 6 elements
Must-Support: 3 elements
Prohibited: 26 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Differential View
This structure is derived from ServiceRequest
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
ServiceRequest | C | 0..* | ServiceRequest | A request for a service to be performed gateway-140-service-request-1: one of the order detail codes, should always be almen, specialiseret eller rehabilitering |
Slices for extension | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |
dischargeDate | S | 1..1 | date | [DK] anledningUdskrivningsdato URL: http://fhir.kl.dk/rehab/StructureDefinition/PreconditionDate |
statusReason | S | 0..1 | (Complex) | [DK] anledningÅrsagManglendeAktivitet URL: http://hl7.org/fhir/StructureDefinition/request-statusReason |
value[x] | ||||
coding | 0..* | Coding | Code defined by a terminology system Binding: ServiceRequestStatusReasons (required) | |
identifier | 0..0 | |||
instantiatesCanonical | 0..0 | |||
instantiatesUri | 0..0 | |||
basedOn | 0..0 | |||
replaces | 0..1 | Reference(KLGateway140ServiceRequest) {b} | [DK] anledningErstatter | |
requisition | 0..0 | |||
status | 1..1 | code | [DK] anledningsStatus | |
intent | 1..1 | code | [DK] anledningsHensigt Required Pattern: plan | |
category | 1..2 | CodeableConcept | [DK] anledningTypeAfGGOP | |
coding | 0..* | Coding | Code defined by a terminology system Binding: ServiceRequestTypes (required) | |
priority | 0..0 | |||
doNotPerform | 0..0 | |||
code | 1..1 | CodeableConcept | What is being requested/ordered | |
coding | 0..* | Coding | [DK] anledningsIndsats Binding: ServiceTypes (required) | |
orderDetail | 0..0 | |||
quantity[x] | 0..0 | |||
subject | 1..1 | Reference(KLGateway140Citizen) {b} | [DK] anledningsSubjekt | |
encounter | 0..0 | |||
Slices for occurrence[x] | 0..1 | dateTime, Period, Timing | When service should occur Slice: Unordered, Open by type:$this | |
occurrence[x]:occurrenceDateTime | 0..0 | |||
occurrence[x]:occurrenceTiming | 0..0 | |||
occurrence[x]:occurrencePeriod | 0..1 | Period | When service should occur | |
start | S | 0..1 | dateTime | [DK] anledningTilbudtFørsteKontakt |
end | 0..0 | |||
asNeeded[x] | 0..0 | |||
authoredOn | 1..1 | dateTime | [DK] anledningstid | |
requester | 1..1 | Reference(KLGateway140Organization) {b} | [DK] anledningAnsvarlig | |
performerType | 0..0 | |||
performer | 0..0 | |||
locationCode | 0..0 | |||
locationReference | 0..0 | |||
reasonCode | 0..0 | |||
reasonReference | 0..* | Reference(KLGateway140FocusCondition) {b} | [DK] anledningsbegrundelse | |
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 |
Path | Conformance | ValueSet | URI |
ServiceRequest.extension:statusReason.value[x].coding | required | ServiceRequestStatusReasons140http://fhir.kl.dk/rehab/ValueSet/ServiceRequestStatusReasons140 from this IG | |
ServiceRequest.category.coding | required | ServiceRequestTypes140http://fhir.kl.dk/rehab/ValueSet/ServiceRequestTypes140 from this IG | |
ServiceRequest.code.coding | required | ServiceTypes140http://fhir.kl.dk/rehab/ValueSet/ServiceTypes140 from this IG |
Id | Grade | Path(s) | Details | Requirements |
gateway-140-service-request-1 | error | ServiceRequest | one of the order detail codes, should always be almen, specialiseret eller rehabilitering : category.select(coding.code = 'ffd81f78-352e-4589-a195-5350dd1df2a4' or coding.code = '0c8e2bfc-1350-45d1-90da-c07e2645d073' or coding.code = '83c89857-8fb8-4163-97b1-eb1a56345c29').anyTrue() |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
ServiceRequest | C | 0..* | ServiceRequest | A request for a service to be performed prr-1: orderDetail SHALL only be present if code is present gateway-140-service-request-1: one of the order detail codes, should always be almen, specialiseret eller rehabilitering |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
Slices for extension | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |
dischargeDate | S | 1..1 | date | [DK] anledningUdskrivningsdato URL: http://fhir.kl.dk/rehab/StructureDefinition/PreconditionDate |
statusReason | S | 0..1 | (Complex) | [DK] anledningÅrsagManglendeAktivitet URL: http://hl7.org/fhir/StructureDefinition/request-statusReason |
extension | 0..0 | |||
url | 1..1 | uri | "http://hl7.org/fhir/StructureDefinition/request-statusReason" | |
value[x] | 1..1 | CodeableConcept | Value of extension Binding Description (No ValueSet): (example): Codes identifying the reason for the current state of an event. | |
coding | Σ | 0..* | Coding | Code defined by a terminology system Binding: ServiceRequestStatusReasons (required) |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
replaces | Σ | 0..1 | Reference(KLGateway140ServiceRequest) {b} | [DK] anledningErstatter |
status | ?!Σ | 1..1 | code | [DK] anledningsStatus Binding: RequestStatus (required): The status of a service order. |
intent | ?!Σ | 1..1 | code | [DK] anledningsHensigt Binding: RequestIntent (required): The kind of service request. Required Pattern: plan |
category | Σ | 1..2 | CodeableConcept | [DK] anledningTypeAfGGOP Binding: ServiceRequestCategoryCodes (example): Classification of the requested service. |
coding | Σ | 0..* | Coding | Code defined by a terminology system Binding: ServiceRequestTypes (required) |
code | Σ | 1..1 | CodeableConcept | What is being requested/ordered Binding: ProcedureCodes(SNOMEDCT) (example): Codes for tests or services that can be carried out by a designated individual, organization or healthcare service. For laboratory, LOINC is preferred and a valueset using LOINC Order codes is available here. |
coding | Σ | 0..* | Coding | [DK] anledningsIndsats Binding: ServiceTypes (required) |
subject | Σ | 1..1 | Reference(KLGateway140Citizen) {b} | [DK] anledningsSubjekt |
Slices for occurrence[x] | Σ | 0..1 | When service should occur Slice: Unordered, Closed by type:$this | |
occurrenceDateTime | dateTime | |||
occurrencePeriod | Period | |||
occurrenceTiming | Timing | |||
occurrence[x]:occurrencePeriod | Σ | 0..1 | Period | When service should occur |
start | SΣC | 0..1 | dateTime | [DK] anledningTilbudtFørsteKontakt |
authoredOn | Σ | 1..1 | dateTime | [DK] anledningstid |
requester | Σ | 1..1 | Reference(KLGateway140Organization) {b} | [DK] anledningAnsvarlig |
reasonReference | Σ | 0..* | Reference(KLGateway140FocusCondition) {b} | [DK] anledningsbegrundelse |
Documentation for this format |
Path | Conformance | ValueSet / Code | URI |
ServiceRequest.extension:statusReason.value[x] | example | ||
ServiceRequest.extension:statusReason.value[x].coding | required | ServiceRequestStatusReasons140http://fhir.kl.dk/rehab/ValueSet/ServiceRequestStatusReasons140 from this IG | |
ServiceRequest.status | required | RequestStatushttp://hl7.org/fhir/ValueSet/request-status|4.0.1 from the FHIR Standard | |
ServiceRequest.intent | required | Pattern: planhttp://hl7.org/fhir/ValueSet/request-intent|4.0.1 from the FHIR Standard | |
ServiceRequest.category | example | ServiceRequestCategoryCodeshttp://hl7.org/fhir/ValueSet/servicerequest-category from the FHIR Standard | |
ServiceRequest.category.coding | required | ServiceRequestTypes140http://fhir.kl.dk/rehab/ValueSet/ServiceRequestTypes140 from this IG | |
ServiceRequest.code | example | ProcedureCodes(SNOMEDCT)http://hl7.org/fhir/ValueSet/procedure-code from the FHIR Standard | |
ServiceRequest.code.coding | required | ServiceTypes140http://fhir.kl.dk/rehab/ValueSet/ServiceTypes140 from this IG |
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() | |
gateway-140-service-request-1 | error | ServiceRequest | one of the order detail codes, should always be almen, specialiseret eller rehabilitering : category.select(coding.code = 'ffd81f78-352e-4589-a195-5350dd1df2a4' or coding.code = '0c8e2bfc-1350-45d1-90da-c07e2645d073' or coding.code = '83c89857-8fb8-4163-97b1-eb1a56345c29').anyTrue() | |
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 prr-1: orderDetail SHALL only be present if code is present gateway-140-service-request-1: one of the order detail codes, should always be almen, specialiseret eller rehabilitering | ||||
id | Σ | 0..1 | id | Logical id of this artifact | ||||
meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
Slices for extension | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
dischargeDate | S | 1..1 | date | [DK] anledningUdskrivningsdato URL: http://fhir.kl.dk/rehab/StructureDefinition/PreconditionDate | ||||
statusReason | S | 0..1 | (Complex) | [DK] anledningÅrsagManglendeAktivitet URL: http://hl7.org/fhir/StructureDefinition/request-statusReason | ||||
id | 0..1 | id | Unique id for inter-element referencing | |||||
extension | 0..0 | |||||||
url | 1..1 | uri | "http://hl7.org/fhir/StructureDefinition/request-statusReason" | |||||
value[x] | 1..1 | CodeableConcept | Value of extension Binding Description (No ValueSet): (example): Codes identifying the reason for the current state of an event. | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
coding | Σ | 0..* | Coding | Code defined by a terminology system Binding: ServiceRequestStatusReasons (required) | ||||
text | Σ | 0..1 | string | Plain text representation of the concept | ||||
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
replaces | Σ | 0..1 | Reference(KLGateway140ServiceRequest) {b} | [DK] anledningErstatter | ||||
status | ?!Σ | 1..1 | code | [DK] anledningsStatus Binding: RequestStatus (required): The status of a service order. | ||||
intent | ?!Σ | 1..1 | code | [DK] anledningsHensigt Binding: RequestIntent (required): The kind of service request. Required Pattern: plan | ||||
category | Σ | 1..2 | CodeableConcept | [DK] anledningTypeAfGGOP Binding: ServiceRequestCategoryCodes (example): Classification of the requested service. | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
coding | Σ | 0..* | Coding | Code defined by a terminology system Binding: ServiceRequestTypes (required) | ||||
text | Σ | 0..1 | string | Plain text representation of the concept | ||||
code | Σ | 1..1 | CodeableConcept | What is being requested/ordered Binding: ProcedureCodes(SNOMEDCT) (example): Codes for tests or services that can be carried out by a designated individual, organization or healthcare service. For laboratory, LOINC is preferred and a valueset using LOINC Order codes is available here. | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
coding | Σ | 0..* | Coding | [DK] anledningsIndsats Binding: ServiceTypes (required) | ||||
text | Σ | 0..1 | string | Plain text representation of the concept | ||||
subject | Σ | 1..1 | Reference(KLGateway140Citizen) {b} | [DK] anledningsSubjekt | ||||
Slices for occurrence[x] | Σ | 0..1 | When service should occur Slice: Unordered, Closed by type:$this | |||||
occurrenceDateTime | dateTime | |||||||
occurrencePeriod | Period | |||||||
occurrenceTiming | Timing | |||||||
occurrence[x]:occurrencePeriod | Σ | 0..1 | Period | When service should occur | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
start | SΣC | 0..1 | dateTime | [DK] anledningTilbudtFørsteKontakt | ||||
authoredOn | Σ | 1..1 | dateTime | [DK] anledningstid | ||||
requester | Σ | 1..1 | Reference(KLGateway140Organization) {b} | [DK] anledningAnsvarlig | ||||
reasonReference | Σ | 0..* | Reference(KLGateway140FocusCondition) {b} | [DK] anledningsbegrundelse | ||||
Documentation for this format |
Path | Conformance | ValueSet / Code | URI | |||
ServiceRequest.language | preferred | CommonLanguages
http://hl7.org/fhir/ValueSet/languages from the FHIR Standard | ||||
ServiceRequest.extension:statusReason.value[x] | example | |||||
ServiceRequest.extension:statusReason.value[x].coding | required | ServiceRequestStatusReasons140http://fhir.kl.dk/rehab/ValueSet/ServiceRequestStatusReasons140 from this IG | ||||
ServiceRequest.status | required | RequestStatushttp://hl7.org/fhir/ValueSet/request-status|4.0.1 from the FHIR Standard | ||||
ServiceRequest.intent | required | Pattern: planhttp://hl7.org/fhir/ValueSet/request-intent|4.0.1 from the FHIR Standard | ||||
ServiceRequest.category | example | ServiceRequestCategoryCodeshttp://hl7.org/fhir/ValueSet/servicerequest-category from the FHIR Standard | ||||
ServiceRequest.category.coding | required | ServiceRequestTypes140http://fhir.kl.dk/rehab/ValueSet/ServiceRequestTypes140 from this IG | ||||
ServiceRequest.code | example | ProcedureCodes(SNOMEDCT)http://hl7.org/fhir/ValueSet/procedure-code from the FHIR Standard | ||||
ServiceRequest.code.coding | required | ServiceTypes140http://fhir.kl.dk/rehab/ValueSet/ServiceTypes140 from this IG |
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() | |
gateway-140-service-request-1 | error | ServiceRequest | one of the order detail codes, should always be almen, specialiseret eller rehabilitering : category.select(coding.code = 'ffd81f78-352e-4589-a195-5350dd1df2a4' or coding.code = '0c8e2bfc-1350-45d1-90da-c07e2645d073' or coding.code = '83c89857-8fb8-4163-97b1-eb1a56345c29').anyTrue() | |
prr-1 | error | ServiceRequest | orderDetail SHALL only be present if code is present : orderDetail.empty() or code.exists() |
This structure is derived from ServiceRequest
Summary
Mandatory: 6 elements
Must-Support: 3 elements
Prohibited: 26 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron