eKOK Dokumentacja Integracyjna
0.5.0 - draft Poland flag

Profil zasobu: PLeKOKServiceRequest

Logiczny url: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-service-request Wersja: 0.5.0
Active z dnia 2026-03-17 Nazwa: PLeKOKServiceRequest

Profil zasobu zawierający dane zlecenia wykonania usługi medycznej

Usages:

  • This Profile is not used by any profiles in this Implementation Guide

You can also check for usages in the FHIR IG Statistics

Profil

Opis sposobu prezentacji profilu ujęty jest w specyfikacji standardu FHIR.

Struktura bazuje na ServiceRequest

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ServiceRequest 0..* ServiceRequest A request for a service to be performed
... id 0..1 id Identyfikator logiczny zasobu (wartość nadawana przez system P1)
... meta 1..1 Meta Metadane zasobu
.... id 0..0
.... extension 0..0
.... versionId 0..1 id Wersja zasobu (wartość ustawiana przez system P1)
.... lastUpdated 0..1 instant Data aktualizacji zasobu (wartość ustawiana przez system P1)
.... source 0..1 uri Identyfikator źródła zasobu (wartość ustawiana przez system, przy rejestracji lub aktualizacji zasobu)
.... profile 1..1 canonical(StructureDefinition) PLeKOKServiceRequest
Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-service-request
.... tag 0..0
... implicitRules 0..1 uri Wersja systemu (wartość ustawiana przez system P1)
... language 0..1 code Language of the resource content
Required Pattern: pl
... text 0..0
... contained 0..0
... extension 0..0
... modifierExtension 0..0
... identifier 0..0
... instantiatesCanonical 0..0
... instantiatesUri 0..0
... basedOn 1..1 Reference(CarePlan) Plan, którego dotyczy zlecenie. W przypadku zlecenia w ramach planu leczenia należy wskazać referencję do planu leczenia. W przypadku zlecenia w ramach planu obserwacji należy wskazać referencję do karty e-KOK
.... id 0..0
.... extension 0..0
.... reference 1..1 string Referencja do zasobu CarePlan
.... type 1..1 uri Typ zasobu (CarePlan)
Fixed Value: CarePlan
.... identifier 0..0
.... display 0..0
... replaces 0..0
... requisition 0..0
... status 1..1 code active (Aktywne) | completed (Wykonane) | revoked (Odrzucone) | entered-in-error (Wycofane)
Binding: PLeKOKServiceRequestStatusVS (required): Status zlecenia
... intent 1..1 code 'order'
Fixed Value: order
... category 1..1 CodeableConcept Kategoria usługi medycznej, której dotyczy zlecenie (typ skierowania)
Binding: PLeKOKMedicalServiceCategoryVS (required)
.... id 0..0
.... extension 0..0
.... coding 1..1 Coding Code defined by a terminology system
..... extension 0..0
..... system 1..1 uri System kodowania
..... version 0..0
..... code 1..1 code Kod
..... display 1..1 string Nazwa
..... userSelected 0..0
.... text 0..0
... priority 1..1 code urgent (Pilny) | routine (Stabilny)
Binding: RequestPriority (required)
... doNotPerform 0..0
... code 1..1 CodeableConcept Kod usługi (ICD-9)
.... id 0..0
.... extension 0..0
.... coding 1..1 Coding Typ zabiegu w systemie kodowania ICD-9
..... extension 0..0
..... system 1..1 uri urn:oid:2.16.840.1.113883.3.4424.11.2.6
Fixed Value: urn:oid:2.16.840.1.113883.3.4424.11.2.6
..... version 0..0
..... code 1..1 code Kod
..... display 1..1 string Nazwa
..... userSelected 0..0
.... text 0..0
... orderDetail 0..1 CodeableConcept Inne informacje lub dane, w zakresie niezbędnym do przeprowadzenia badania, konsultacji lub leczenia
.... id 0..0
.... extension 0..0
.... coding 0..0
.... text 1..1 string Treść informacji
... quantity[x] 0..0
... subject 1..1 Reference(Patient) Dane pacjenta
.... id 0..0
.... extension 0..0
.... reference 1..1 string Referencja do zasobu Patient
.... type 1..1 uri Typ zasobu z danymi pacjenta (Patient)
Fixed Value: Patient
.... identifier 0..0
.... display 0..0
... encounter 1..1 Reference(Encounter) Referencja do zasobu z danymi świadczenia (PLeKOKEncounter), w ramach którego wystawiono zalecenie
.... id 0..0
.... extension 0..0
.... reference 1..1 string Referencja do zasobu Encounter
.... type 1..1 uri Typ zasobu (Encounter)
Fixed Value: Encounter
.... identifier 0..0
.... display 0..0
... Slices for occurrence[x] 0..1 Timing When service should occur
Slice: Unordered, Open by type:$this
.... occurrence[x]:occurrenceDateTime 0..0
.... occurrence[x]:occurrencePeriod 0..0
.... occurrence[x]:occurrenceTiming 0..1 Timing Informacje dotyczące terminu realizacji zlecenia
..... id 0..0
..... extension 0..0
..... modifierExtension 0..0
..... event 0..1 dateTime Termin realizacji
..... repeat
...... Slices for bounds[x] 0..1 Duration, Range, Period Length/Range of lengths, or (Start and/or end) limits
Slice: Unordered, Open by type:$this
....... bounds[x]:boundsDuration 0..1 Duration Okres ważności zlecenia
........ id 0..0
........ extension 0..0
........ value 1..1 decimal Ilość
........ comparator 0..0
........ unit 1..1 string Jednostka czasu dla okresu: s | min | h | d | wk | mo | a
Binding: UnitsOfTime (required)
........ system 0..0
........ code 0..0
...... count 0..1 positiveInt Ilość usług do realizacji w trakcie okresu ważności zlecenia. W przypadku skierowania na jednorazową usługę należy wskazać '1'
...... countMax 0..0
...... duration 0..0
...... durationMax 0..0
...... durationUnit 0..0
...... frequency 0..1 positiveInt Częstotliwość realizacji usług w danym okresie cyklu (period)
...... frequencyMax 0..0
...... period 0..1 decimal Okres jednego cyklu
...... periodMax 0..0
...... periodUnit 0..1 code Jednostka czasu dla okresu cyklu: s | min | h | d | wk | mo | a
...... dayOfWeek 0..0
...... timeOfDay 0..0
...... when 0..0
...... offset 0..0
..... code 0..0
... asNeeded[x] 0..0
... authoredOn 1..1 dateTime Data utworzenia zlecenia
... requester 1..1 Reference(Practitioner) Zlecający
.... id 0..0
.... extension 0..0
.... reference 0..0
.... type 0..0
.... identifier 1..1 Identifier Identyfikator pracownika medycznego
..... id 0..0
..... extension 0..0
..... use 0..0
..... type 0..0
..... system 1..1 uri System identyfikacji pracowników medycznych
..... value 1..1 string Identyfikator pracownika medycznego
..... period 0..0
..... assigner 0..0
.... display 1..1 string Text alternative for the resource
..... id 0..0
..... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:familyName 1..1 (Complex) Nazwisko
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-family-name
....... id 0..0
....... value[x] 1..1 string Nazwisko
...... extension:givenName 1..* (Complex) Imiona
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-given-name
....... id 0..0
....... value[x] 1..1 string Imię
..... value 0..0
... performerType 1..1 CodeableConcept Specjalizacja pracownika medycznego/Poziom opieki kardiologicznej
.... id 0..0
.... extension 0..0
.... coding 1..1 Coding Code defined by a terminology system
Binding: PLeKOKServiceRequestPerformerTypeVS (required)
..... extension 0..0
..... system 1..1 uri System kodowania
..... version 0..0
..... code 1..1 code Kod
..... display 1..1 string Nazwa
..... userSelected 0..0
.... text 0..0
... performer 0..0
... locationCode 0..0
... locationReference 1..1 Reference(Location) Requested location
.... id 0..0
.... extension 0..0
.... reference 0..0
.... type 0..0
.... identifier 1..1 Identifier Identyfikator miejsce udzielenia świadczenia
..... id 0..0
..... extension 0..0
..... use 0..0
..... type 0..0
..... system 1..1 uri OID systemu identyfikacji Miejsca Udzielania Świadczeń
..... value 1..1 string Identyfikator Miejsca Udzielania Świadczeń
..... period 0..0
..... assigner 0..0
.... display 1..1 string Nazwa Miejsca Udzielania Świadczeń
... reasonCode 0..0
... reasonReference 0..0
... insurance 0..0
... supportingInfo 0..0
... specimen 0..0
... bodySite 0..0
... note 0..0
... patientInstruction 0..1 string Instrukcje dla pacjenta
... relevantHistory 0..0

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
ServiceRequest.status Base required PLeKOKServiceRequestStatusVS 📦0.5.0 This IG
ServiceRequest.category Base required PLeKOKMedicalServiceCategoryVS 📦0.5.0 This IG
ServiceRequest.priority Base required Request priority 📦4.0.1 FHIR Std.
ServiceRequest.occurrence[x]:occurrenceTiming.​repeat.bounds[x]:boundsDuration.​unit Base required UnitsOfTime 📦4.0.1 FHIR Std.
ServiceRequest.performerType.​coding Base required PLeKOKServiceRequestPerformerTypeVS 📦0.5.0 This IG
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ServiceRequest C 0..* ServiceRequest A request for a service to be performed
Constraints: prr-1
... id Σ 0..1 id Identyfikator logiczny zasobu (wartość nadawana przez system P1)
... meta Σ 1..1 Meta Metadane zasobu
.... extension 0..0
.... versionId Σ 0..1 id Wersja zasobu (wartość ustawiana przez system P1)
.... lastUpdated Σ 0..1 instant Data aktualizacji zasobu (wartość ustawiana przez system P1)
.... source Σ 0..1 uri Identyfikator źródła zasobu (wartość ustawiana przez system, przy rejestracji lub aktualizacji zasobu)
.... profile Σ 1..1 canonical(StructureDefinition) PLeKOKServiceRequest

Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-service-request
... implicitRules ?!Σ 0..1 uri Wersja systemu (wartość ustawiana przez system P1)
... basedOn Σ 1..1 Reference(CarePlan) Plan, którego dotyczy zlecenie. W przypadku zlecenia w ramach planu leczenia należy wskazać referencję do planu leczenia. W przypadku zlecenia w ramach planu obserwacji należy wskazać referencję do karty e-KOK
.... extension 0..0
.... reference ΣC 1..1 string Referencja do zasobu CarePlan
.... type Σ 1..1 uri Typ zasobu (CarePlan)
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: CarePlan
... status ?!Σ 1..1 code active (Aktywne) | completed (Wykonane) | revoked (Odrzucone) | entered-in-error (Wycofane)
Binding: PLeKOKServiceRequestStatusVS (required): Status zlecenia
... intent ?!Σ 1..1 code 'order'
Binding: RequestIntent (required): The kind of service request.
Fixed Value: order
... category Σ 1..1 CodeableConcept Kategoria usługi medycznej, której dotyczy zlecenie (typ skierowania)
Binding: PLeKOKMedicalServiceCategoryVS (required)
.... extension 0..0
.... coding Σ 1..1 Coding Code defined by a terminology system
..... extension 0..0
..... system Σ 1..1 uri System kodowania
..... code Σ 1..1 code Kod
..... display Σ 1..1 string Nazwa
... priority Σ 1..1 code urgent (Pilny) | routine (Stabilny)
Binding: RequestPriority (required)
... code Σ 1..1 CodeableConcept Kod usługi (ICD-9)
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.
.... extension 0..0
.... coding Σ 1..1 Coding Typ zabiegu w systemie kodowania ICD-9
..... extension 0..0
..... system Σ 1..1 uri urn:oid:2.16.840.1.113883.3.4424.11.2.6
Fixed Value: urn:oid:2.16.840.1.113883.3.4424.11.2.6
..... code Σ 1..1 code Kod
..... display Σ 1..1 string Nazwa
... orderDetail ΣC 0..1 CodeableConcept Inne informacje lub dane, w zakresie niezbędnym do przeprowadzenia badania, konsultacji lub leczenia
Binding: ServiceRequestOrderDetailsCodes (example): Codified order entry details which are based on order context.
.... extension 0..0
.... text Σ 1..1 string Treść informacji
... subject Σ 1..1 Reference(Patient) Dane pacjenta
.... extension 0..0
.... reference ΣC 1..1 string Referencja do zasobu Patient
.... type Σ 1..1 uri Typ zasobu z danymi pacjenta (Patient)
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Patient
... encounter Σ 1..1 Reference(Encounter) Referencja do zasobu z danymi świadczenia (PLeKOKEncounter), w ramach którego wystawiono zalecenie
.... extension 0..0
.... reference ΣC 1..1 string Referencja do zasobu Encounter
.... type Σ 1..1 uri Typ zasobu (Encounter)
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Encounter
... Slices for occurrence[x] Σ 0..1 Timing When service should occur
Slice: Unordered, Closed by type:$this
.... occurrence[x]:occurrenceTiming Σ 0..1 Timing Informacje dotyczące terminu realizacji zlecenia
..... extension 0..0
..... event Σ 0..1 dateTime Termin realizacji
... authoredOn Σ 1..1 dateTime Data utworzenia zlecenia
... requester Σ 1..1 Reference(Practitioner) Zlecający
.... extension 0..0
.... identifier Σ 1..1 Identifier Identyfikator pracownika medycznego
..... extension 0..0
..... system Σ 1..1 uri System identyfikacji pracowników medycznych
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string Identyfikator pracownika medycznego
Example General: 123456
.... display Σ 1..1 string Text alternative for the resource
..... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:familyName 1..1 (Complex) Nazwisko
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-family-name
....... extension 0..0
....... url 1..1 uri "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-family-name"
....... value[x] 1..1 string Nazwisko
...... extension:givenName 1..* (Complex) Imiona
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-given-name
....... extension 0..0
....... url 1..1 uri "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-given-name"
....... value[x] 1..1 string Imię
... performerType Σ 1..1 CodeableConcept Specjalizacja pracownika medycznego/Poziom opieki kardiologicznej
Binding: ParticipantRoles (example): Indicates specific responsibility of an individual within the care team, such as "Primary physician", "Team coordinator", "Caregiver", etc.
.... extension 0..0
.... coding Σ 1..1 Coding Code defined by a terminology system
Binding: PLeKOKServiceRequestPerformerTypeVS (required)
..... extension 0..0
..... system Σ 1..1 uri System kodowania
..... code Σ 1..1 code Kod
..... display Σ 1..1 string Nazwa
... locationReference Σ 1..1 Reference(Location) Requested location
.... extension 0..0
.... identifier Σ 1..1 Identifier Identyfikator miejsce udzielenia świadczenia
..... extension 0..0
..... system Σ 1..1 uri OID systemu identyfikacji Miejsca Udzielania Świadczeń
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string Identyfikator Miejsca Udzielania Świadczeń
Example General: 123456
.... display Σ 1..1 string Nazwa Miejsca Udzielania Świadczeń
... patientInstruction Σ 0..1 string Instrukcje dla pacjenta

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
ServiceRequest.language Base preferred Common Languages 📍4.0.1 FHIR Std.
ServiceRequest.basedOn.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
ServiceRequest.status Base required PLeKOKServiceRequestStatusVS 📦0.5.0 This IG
ServiceRequest.intent Base required RequestIntent 📍4.0.1 FHIR Std.
ServiceRequest.category Base required PLeKOKMedicalServiceCategoryVS 📦0.5.0 This IG
ServiceRequest.priority Base required Request priority 📦4.0.1 FHIR Std.
ServiceRequest.code Base example Procedure Codes (SNOMED CT) 📍4.0.1 FHIR Std.
ServiceRequest.orderDetail Base example Service Request Order Details Codes 📍4.0.1 FHIR Std.
ServiceRequest.subject.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
ServiceRequest.encounter.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
ServiceRequest.performerType Base example Participant Roles 📍4.0.1 FHIR Std.
ServiceRequest.performerType.​coding Base required PLeKOKServiceRequestPerformerTypeVS 📦0.5.0 This IG

Constraints

Id Grade Path(s) Description Expression
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()
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ServiceRequest C 0..* ServiceRequest A request for a service to be performed
Constraints: prr-1
... id Σ 0..1 id Identyfikator logiczny zasobu (wartość nadawana przez system P1)
... meta Σ 1..1 Meta Metadane zasobu
.... extension 0..0
.... versionId Σ 0..1 id Wersja zasobu (wartość ustawiana przez system P1)
.... lastUpdated Σ 0..1 instant Data aktualizacji zasobu (wartość ustawiana przez system P1)
.... source Σ 0..1 uri Identyfikator źródła zasobu (wartość ustawiana przez system, przy rejestracji lub aktualizacji zasobu)
.... profile Σ 1..1 canonical(StructureDefinition) PLeKOKServiceRequest

Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-service-request
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
... implicitRules ?!Σ 0..1 uri Wersja systemu (wartość ustawiana przez system P1)
... basedOn Σ 1..1 Reference(CarePlan) Plan, którego dotyczy zlecenie. W przypadku zlecenia w ramach planu leczenia należy wskazać referencję do planu leczenia. W przypadku zlecenia w ramach planu obserwacji należy wskazać referencję do karty e-KOK
.... extension 0..0
.... reference ΣC 1..1 string Referencja do zasobu CarePlan
.... type Σ 1..1 uri Typ zasobu (CarePlan)
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: CarePlan
... status ?!Σ 1..1 code active (Aktywne) | completed (Wykonane) | revoked (Odrzucone) | entered-in-error (Wycofane)
Binding: PLeKOKServiceRequestStatusVS (required): Status zlecenia
... intent ?!Σ 1..1 code 'order'
Binding: RequestIntent (required): The kind of service request.
Fixed Value: order
... category Σ 1..1 CodeableConcept Kategoria usługi medycznej, której dotyczy zlecenie (typ skierowania)
Binding: PLeKOKMedicalServiceCategoryVS (required)
.... extension 0..0
.... coding Σ 1..1 Coding Code defined by a terminology system
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... system Σ 1..1 uri System kodowania
..... code Σ 1..1 code Kod
..... display Σ 1..1 string Nazwa
... priority Σ 1..1 code urgent (Pilny) | routine (Stabilny)
Binding: RequestPriority (required)
... code Σ 1..1 CodeableConcept Kod usługi (ICD-9)
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.
.... extension 0..0
.... coding Σ 1..1 Coding Typ zabiegu w systemie kodowania ICD-9
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... system Σ 1..1 uri urn:oid:2.16.840.1.113883.3.4424.11.2.6
Fixed Value: urn:oid:2.16.840.1.113883.3.4424.11.2.6
..... code Σ 1..1 code Kod
..... display Σ 1..1 string Nazwa
... orderDetail ΣC 0..1 CodeableConcept Inne informacje lub dane, w zakresie niezbędnym do przeprowadzenia badania, konsultacji lub leczenia
Binding: ServiceRequestOrderDetailsCodes (example): Codified order entry details which are based on order context.
.... extension 0..0
.... text Σ 1..1 string Treść informacji
... subject Σ 1..1 Reference(Patient) Dane pacjenta
.... extension 0..0
.... reference ΣC 1..1 string Referencja do zasobu Patient
.... type Σ 1..1 uri Typ zasobu z danymi pacjenta (Patient)
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Patient
... encounter Σ 1..1 Reference(Encounter) Referencja do zasobu z danymi świadczenia (PLeKOKEncounter), w ramach którego wystawiono zalecenie
.... extension 0..0
.... reference ΣC 1..1 string Referencja do zasobu Encounter
.... type Σ 1..1 uri Typ zasobu (Encounter)
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Encounter
... Slices for occurrence[x] Σ 0..1 Timing When service should occur
Slice: Unordered, Closed by type:$this
.... occurrence[x]:occurrenceTiming Σ 0..1 Timing Informacje dotyczące terminu realizacji zlecenia
..... extension 0..0
..... event Σ 0..1 dateTime Termin realizacji
..... repeat ΣC 0..1 Element When the event is to occur
Constraints: tim-1, tim-2, tim-4, tim-5, tim-6, tim-7, tim-8, tim-9, tim-10
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... Slices for bounds[x] Σ 0..1 Length/Range of lengths, or (Start and/or end) limits
Slice: Unordered, Open by type:$this
....... boundsDuration Duration
....... boundsRange Range
....... boundsPeriod Period
....... bounds[x]:boundsDuration Σ 0..1 Duration Okres ważności zlecenia
........ extension 0..0
........ value Σ 1..1 decimal Ilość
........ unit Σ 1..1 string Jednostka czasu dla okresu: s | min | h | d | wk | mo | a
Binding: UnitsOfTime (required)
...... count Σ 0..1 positiveInt Ilość usług do realizacji w trakcie okresu ważności zlecenia. W przypadku skierowania na jednorazową usługę należy wskazać '1'
...... frequency Σ 0..1 positiveInt Częstotliwość realizacji usług w danym okresie cyklu (period)
...... period Σ 0..1 decimal Okres jednego cyklu
...... periodUnit Σ 0..1 code Jednostka czasu dla okresu cyklu: s | min | h | d | wk | mo | a
Binding: UnitsOfTime (required): A unit of time (units from UCUM).
... authoredOn Σ 1..1 dateTime Data utworzenia zlecenia
... requester Σ 1..1 Reference(Practitioner) Zlecający
.... extension 0..0
.... identifier Σ 1..1 Identifier Identyfikator pracownika medycznego
..... extension 0..0
..... system Σ 1..1 uri System identyfikacji pracowników medycznych
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string Identyfikator pracownika medycznego
Example General: 123456
.... display Σ 1..1 string Text alternative for the resource
..... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:familyName 1..1 (Complex) Nazwisko
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-family-name
....... extension 0..0
....... url 1..1 uri "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-family-name"
....... value[x] 1..1 string Nazwisko
...... extension:givenName 1..* (Complex) Imiona
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-given-name
....... extension 0..0
....... url 1..1 uri "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-given-name"
....... value[x] 1..1 string Imię
... performerType Σ 1..1 CodeableConcept Specjalizacja pracownika medycznego/Poziom opieki kardiologicznej
Binding: ParticipantRoles (example): Indicates specific responsibility of an individual within the care team, such as "Primary physician", "Team coordinator", "Caregiver", etc.
.... extension 0..0
.... coding Σ 1..1 Coding Code defined by a terminology system
Binding: PLeKOKServiceRequestPerformerTypeVS (required)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... system Σ 1..1 uri System kodowania
..... code Σ 1..1 code Kod
..... display Σ 1..1 string Nazwa
... locationReference Σ 1..1 Reference(Location) Requested location
.... extension 0..0
.... identifier Σ 1..1 Identifier Identyfikator miejsce udzielenia świadczenia
..... extension 0..0
..... system Σ 1..1 uri OID systemu identyfikacji Miejsca Udzielania Świadczeń
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string Identyfikator Miejsca Udzielania Świadczeń
Example General: 123456
.... display Σ 1..1 string Nazwa Miejsca Udzielania Świadczeń
... patientInstruction Σ 0..1 string Instrukcje dla pacjenta

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
ServiceRequest.meta.​security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
ServiceRequest.language Base preferred Common Languages 📍4.0.1 FHIR Std.
ServiceRequest.basedOn.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
ServiceRequest.status Base required PLeKOKServiceRequestStatusVS 📦0.5.0 This IG
ServiceRequest.intent Base required RequestIntent 📍4.0.1 FHIR Std.
ServiceRequest.category Base required PLeKOKMedicalServiceCategoryVS 📦0.5.0 This IG
ServiceRequest.priority Base required Request priority 📦4.0.1 FHIR Std.
ServiceRequest.code Base example Procedure Codes (SNOMED CT) 📍4.0.1 FHIR Std.
ServiceRequest.orderDetail Base example Service Request Order Details Codes 📍4.0.1 FHIR Std.
ServiceRequest.subject.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
ServiceRequest.encounter.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
ServiceRequest.occurrence[x]:occurrenceTiming.​repeat.bounds[x]:boundsDuration.​unit Base required UnitsOfTime 📦4.0.1 FHIR Std.
ServiceRequest.occurrence[x]:occurrenceTiming.​repeat.periodUnit Base required UnitsOfTime 📍4.0.1 FHIR Std.
ServiceRequest.performerType Base example Participant Roles 📍4.0.1 FHIR Std.
ServiceRequest.performerType.​coding Base required PLeKOKServiceRequestPerformerTypeVS 📦0.5.0 This IG

Constraints

Id Grade Path(s) Description Expression
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()
tim-1 error ServiceRequest.occurrence[x]:occurrenceTiming.repeat if there's a duration, there needs to be duration units duration.empty() or durationUnit.exists()
tim-2 error ServiceRequest.occurrence[x]:occurrenceTiming.repeat if there's a period, there needs to be period units period.empty() or periodUnit.exists()
tim-4 error ServiceRequest.occurrence[x]:occurrenceTiming.repeat duration SHALL be a non-negative value duration.exists() implies duration >= 0
tim-5 error ServiceRequest.occurrence[x]:occurrenceTiming.repeat period SHALL be a non-negative value period.exists() implies period >= 0
tim-6 error ServiceRequest.occurrence[x]:occurrenceTiming.repeat If there's a periodMax, there must be a period periodMax.empty() or period.exists()
tim-7 error ServiceRequest.occurrence[x]:occurrenceTiming.repeat If there's a durationMax, there must be a duration durationMax.empty() or duration.exists()
tim-8 error ServiceRequest.occurrence[x]:occurrenceTiming.repeat If there's a countMax, there must be a count countMax.empty() or count.exists()
tim-9 error ServiceRequest.occurrence[x]:occurrenceTiming.repeat If there's an offset, there must be a when (and not C, CM, CD, CV) offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
tim-10 error ServiceRequest.occurrence[x]:occurrenceTiming.repeat If there's a timeOfDay, there cannot be a when, or vice versa timeOfDay.empty() or when.empty()

Struktura bazuje na ServiceRequest

Summary

Mandatory: 39 elements(3 nested mandatory elements)
Fixed: 6 elements
Prohibited: 103 elements

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of ServiceRequest.occurrence[x]
  • The element 1 is sliced based on the value of ServiceRequest.occurrence[x].repeat.bounds[x]

Widok Differential

Struktura bazuje na ServiceRequest

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ServiceRequest 0..* ServiceRequest A request for a service to be performed
... id 0..1 id Identyfikator logiczny zasobu (wartość nadawana przez system P1)
... meta 1..1 Meta Metadane zasobu
.... id 0..0
.... extension 0..0
.... versionId 0..1 id Wersja zasobu (wartość ustawiana przez system P1)
.... lastUpdated 0..1 instant Data aktualizacji zasobu (wartość ustawiana przez system P1)
.... source 0..1 uri Identyfikator źródła zasobu (wartość ustawiana przez system, przy rejestracji lub aktualizacji zasobu)
.... profile 1..1 canonical(StructureDefinition) PLeKOKServiceRequest
Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-service-request
.... tag 0..0
... implicitRules 0..1 uri Wersja systemu (wartość ustawiana przez system P1)
... language 0..1 code Language of the resource content
Required Pattern: pl
... text 0..0
... contained 0..0
... extension 0..0
... modifierExtension 0..0
... identifier 0..0
... instantiatesCanonical 0..0
... instantiatesUri 0..0
... basedOn 1..1 Reference(CarePlan) Plan, którego dotyczy zlecenie. W przypadku zlecenia w ramach planu leczenia należy wskazać referencję do planu leczenia. W przypadku zlecenia w ramach planu obserwacji należy wskazać referencję do karty e-KOK
.... id 0..0
.... extension 0..0
.... reference 1..1 string Referencja do zasobu CarePlan
.... type 1..1 uri Typ zasobu (CarePlan)
Fixed Value: CarePlan
.... identifier 0..0
.... display 0..0
... replaces 0..0
... requisition 0..0
... status 1..1 code active (Aktywne) | completed (Wykonane) | revoked (Odrzucone) | entered-in-error (Wycofane)
Binding: PLeKOKServiceRequestStatusVS (required): Status zlecenia
... intent 1..1 code 'order'
Fixed Value: order
... category 1..1 CodeableConcept Kategoria usługi medycznej, której dotyczy zlecenie (typ skierowania)
Binding: PLeKOKMedicalServiceCategoryVS (required)
.... id 0..0
.... extension 0..0
.... coding 1..1 Coding Code defined by a terminology system
..... extension 0..0
..... system 1..1 uri System kodowania
..... version 0..0
..... code 1..1 code Kod
..... display 1..1 string Nazwa
..... userSelected 0..0
.... text 0..0
... priority 1..1 code urgent (Pilny) | routine (Stabilny)
Binding: RequestPriority (required)
... doNotPerform 0..0
... code 1..1 CodeableConcept Kod usługi (ICD-9)
.... id 0..0
.... extension 0..0
.... coding 1..1 Coding Typ zabiegu w systemie kodowania ICD-9
..... extension 0..0
..... system 1..1 uri urn:oid:2.16.840.1.113883.3.4424.11.2.6
Fixed Value: urn:oid:2.16.840.1.113883.3.4424.11.2.6
..... version 0..0
..... code 1..1 code Kod
..... display 1..1 string Nazwa
..... userSelected 0..0
.... text 0..0
... orderDetail 0..1 CodeableConcept Inne informacje lub dane, w zakresie niezbędnym do przeprowadzenia badania, konsultacji lub leczenia
.... id 0..0
.... extension 0..0
.... coding 0..0
.... text 1..1 string Treść informacji
... quantity[x] 0..0
... subject 1..1 Reference(Patient) Dane pacjenta
.... id 0..0
.... extension 0..0
.... reference 1..1 string Referencja do zasobu Patient
.... type 1..1 uri Typ zasobu z danymi pacjenta (Patient)
Fixed Value: Patient
.... identifier 0..0
.... display 0..0
... encounter 1..1 Reference(Encounter) Referencja do zasobu z danymi świadczenia (PLeKOKEncounter), w ramach którego wystawiono zalecenie
.... id 0..0
.... extension 0..0
.... reference 1..1 string Referencja do zasobu Encounter
.... type 1..1 uri Typ zasobu (Encounter)
Fixed Value: Encounter
.... identifier 0..0
.... display 0..0
... Slices for occurrence[x] 0..1 Timing When service should occur
Slice: Unordered, Open by type:$this
.... occurrence[x]:occurrenceDateTime 0..0
.... occurrence[x]:occurrencePeriod 0..0
.... occurrence[x]:occurrenceTiming 0..1 Timing Informacje dotyczące terminu realizacji zlecenia
..... id 0..0
..... extension 0..0
..... modifierExtension 0..0
..... event 0..1 dateTime Termin realizacji
..... repeat
...... Slices for bounds[x] 0..1 Duration, Range, Period Length/Range of lengths, or (Start and/or end) limits
Slice: Unordered, Open by type:$this
....... bounds[x]:boundsDuration 0..1 Duration Okres ważności zlecenia
........ id 0..0
........ extension 0..0
........ value 1..1 decimal Ilość
........ comparator 0..0
........ unit 1..1 string Jednostka czasu dla okresu: s | min | h | d | wk | mo | a
Binding: UnitsOfTime (required)
........ system 0..0
........ code 0..0
...... count 0..1 positiveInt Ilość usług do realizacji w trakcie okresu ważności zlecenia. W przypadku skierowania na jednorazową usługę należy wskazać '1'
...... countMax 0..0
...... duration 0..0
...... durationMax 0..0
...... durationUnit 0..0
...... frequency 0..1 positiveInt Częstotliwość realizacji usług w danym okresie cyklu (period)
...... frequencyMax 0..0
...... period 0..1 decimal Okres jednego cyklu
...... periodMax 0..0
...... periodUnit 0..1 code Jednostka czasu dla okresu cyklu: s | min | h | d | wk | mo | a
...... dayOfWeek 0..0
...... timeOfDay 0..0
...... when 0..0
...... offset 0..0
..... code 0..0
... asNeeded[x] 0..0
... authoredOn 1..1 dateTime Data utworzenia zlecenia
... requester 1..1 Reference(Practitioner) Zlecający
.... id 0..0
.... extension 0..0
.... reference 0..0
.... type 0..0
.... identifier 1..1 Identifier Identyfikator pracownika medycznego
..... id 0..0
..... extension 0..0
..... use 0..0
..... type 0..0
..... system 1..1 uri System identyfikacji pracowników medycznych
..... value 1..1 string Identyfikator pracownika medycznego
..... period 0..0
..... assigner 0..0
.... display 1..1 string Text alternative for the resource
..... id 0..0
..... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:familyName 1..1 (Complex) Nazwisko
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-family-name
....... id 0..0
....... value[x] 1..1 string Nazwisko
...... extension:givenName 1..* (Complex) Imiona
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-given-name
....... id 0..0
....... value[x] 1..1 string Imię
..... value 0..0
... performerType 1..1 CodeableConcept Specjalizacja pracownika medycznego/Poziom opieki kardiologicznej
.... id 0..0
.... extension 0..0
.... coding 1..1 Coding Code defined by a terminology system
Binding: PLeKOKServiceRequestPerformerTypeVS (required)
..... extension 0..0
..... system 1..1 uri System kodowania
..... version 0..0
..... code 1..1 code Kod
..... display 1..1 string Nazwa
..... userSelected 0..0
.... text 0..0
... performer 0..0
... locationCode 0..0
... locationReference 1..1 Reference(Location) Requested location
.... id 0..0
.... extension 0..0
.... reference 0..0
.... type 0..0
.... identifier 1..1 Identifier Identyfikator miejsce udzielenia świadczenia
..... id 0..0
..... extension 0..0
..... use 0..0
..... type 0..0
..... system 1..1 uri OID systemu identyfikacji Miejsca Udzielania Świadczeń
..... value 1..1 string Identyfikator Miejsca Udzielania Świadczeń
..... period 0..0
..... assigner 0..0
.... display 1..1 string Nazwa Miejsca Udzielania Świadczeń
... reasonCode 0..0
... reasonReference 0..0
... insurance 0..0
... supportingInfo 0..0
... specimen 0..0
... bodySite 0..0
... note 0..0
... patientInstruction 0..1 string Instrukcje dla pacjenta
... relevantHistory 0..0

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
ServiceRequest.status Base required PLeKOKServiceRequestStatusVS 📦0.5.0 This IG
ServiceRequest.category Base required PLeKOKMedicalServiceCategoryVS 📦0.5.0 This IG
ServiceRequest.priority Base required Request priority 📦4.0.1 FHIR Std.
ServiceRequest.occurrence[x]:occurrenceTiming.​repeat.bounds[x]:boundsDuration.​unit Base required UnitsOfTime 📦4.0.1 FHIR Std.
ServiceRequest.performerType.​coding Base required PLeKOKServiceRequestPerformerTypeVS 📦0.5.0 This IG

Widok kluczowych elementów

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ServiceRequest C 0..* ServiceRequest A request for a service to be performed
Constraints: prr-1
... id Σ 0..1 id Identyfikator logiczny zasobu (wartość nadawana przez system P1)
... meta Σ 1..1 Meta Metadane zasobu
.... extension 0..0
.... versionId Σ 0..1 id Wersja zasobu (wartość ustawiana przez system P1)
.... lastUpdated Σ 0..1 instant Data aktualizacji zasobu (wartość ustawiana przez system P1)
.... source Σ 0..1 uri Identyfikator źródła zasobu (wartość ustawiana przez system, przy rejestracji lub aktualizacji zasobu)
.... profile Σ 1..1 canonical(StructureDefinition) PLeKOKServiceRequest

Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-service-request
... implicitRules ?!Σ 0..1 uri Wersja systemu (wartość ustawiana przez system P1)
... basedOn Σ 1..1 Reference(CarePlan) Plan, którego dotyczy zlecenie. W przypadku zlecenia w ramach planu leczenia należy wskazać referencję do planu leczenia. W przypadku zlecenia w ramach planu obserwacji należy wskazać referencję do karty e-KOK
.... extension 0..0
.... reference ΣC 1..1 string Referencja do zasobu CarePlan
.... type Σ 1..1 uri Typ zasobu (CarePlan)
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: CarePlan
... status ?!Σ 1..1 code active (Aktywne) | completed (Wykonane) | revoked (Odrzucone) | entered-in-error (Wycofane)
Binding: PLeKOKServiceRequestStatusVS (required): Status zlecenia
... intent ?!Σ 1..1 code 'order'
Binding: RequestIntent (required): The kind of service request.
Fixed Value: order
... category Σ 1..1 CodeableConcept Kategoria usługi medycznej, której dotyczy zlecenie (typ skierowania)
Binding: PLeKOKMedicalServiceCategoryVS (required)
.... extension 0..0
.... coding Σ 1..1 Coding Code defined by a terminology system
..... extension 0..0
..... system Σ 1..1 uri System kodowania
..... code Σ 1..1 code Kod
..... display Σ 1..1 string Nazwa
... priority Σ 1..1 code urgent (Pilny) | routine (Stabilny)
Binding: RequestPriority (required)
... code Σ 1..1 CodeableConcept Kod usługi (ICD-9)
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.
.... extension 0..0
.... coding Σ 1..1 Coding Typ zabiegu w systemie kodowania ICD-9
..... extension 0..0
..... system Σ 1..1 uri urn:oid:2.16.840.1.113883.3.4424.11.2.6
Fixed Value: urn:oid:2.16.840.1.113883.3.4424.11.2.6
..... code Σ 1..1 code Kod
..... display Σ 1..1 string Nazwa
... orderDetail ΣC 0..1 CodeableConcept Inne informacje lub dane, w zakresie niezbędnym do przeprowadzenia badania, konsultacji lub leczenia
Binding: ServiceRequestOrderDetailsCodes (example): Codified order entry details which are based on order context.
.... extension 0..0
.... text Σ 1..1 string Treść informacji
... subject Σ 1..1 Reference(Patient) Dane pacjenta
.... extension 0..0
.... reference ΣC 1..1 string Referencja do zasobu Patient
.... type Σ 1..1 uri Typ zasobu z danymi pacjenta (Patient)
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Patient
... encounter Σ 1..1 Reference(Encounter) Referencja do zasobu z danymi świadczenia (PLeKOKEncounter), w ramach którego wystawiono zalecenie
.... extension 0..0
.... reference ΣC 1..1 string Referencja do zasobu Encounter
.... type Σ 1..1 uri Typ zasobu (Encounter)
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Encounter
... Slices for occurrence[x] Σ 0..1 Timing When service should occur
Slice: Unordered, Closed by type:$this
.... occurrence[x]:occurrenceTiming Σ 0..1 Timing Informacje dotyczące terminu realizacji zlecenia
..... extension 0..0
..... event Σ 0..1 dateTime Termin realizacji
... authoredOn Σ 1..1 dateTime Data utworzenia zlecenia
... requester Σ 1..1 Reference(Practitioner) Zlecający
.... extension 0..0
.... identifier Σ 1..1 Identifier Identyfikator pracownika medycznego
..... extension 0..0
..... system Σ 1..1 uri System identyfikacji pracowników medycznych
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string Identyfikator pracownika medycznego
Example General: 123456
.... display Σ 1..1 string Text alternative for the resource
..... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:familyName 1..1 (Complex) Nazwisko
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-family-name
....... extension 0..0
....... url 1..1 uri "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-family-name"
....... value[x] 1..1 string Nazwisko
...... extension:givenName 1..* (Complex) Imiona
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-given-name
....... extension 0..0
....... url 1..1 uri "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-given-name"
....... value[x] 1..1 string Imię
... performerType Σ 1..1 CodeableConcept Specjalizacja pracownika medycznego/Poziom opieki kardiologicznej
Binding: ParticipantRoles (example): Indicates specific responsibility of an individual within the care team, such as "Primary physician", "Team coordinator", "Caregiver", etc.
.... extension 0..0
.... coding Σ 1..1 Coding Code defined by a terminology system
Binding: PLeKOKServiceRequestPerformerTypeVS (required)
..... extension 0..0
..... system Σ 1..1 uri System kodowania
..... code Σ 1..1 code Kod
..... display Σ 1..1 string Nazwa
... locationReference Σ 1..1 Reference(Location) Requested location
.... extension 0..0
.... identifier Σ 1..1 Identifier Identyfikator miejsce udzielenia świadczenia
..... extension 0..0
..... system Σ 1..1 uri OID systemu identyfikacji Miejsca Udzielania Świadczeń
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string Identyfikator Miejsca Udzielania Świadczeń
Example General: 123456
.... display Σ 1..1 string Nazwa Miejsca Udzielania Świadczeń
... patientInstruction Σ 0..1 string Instrukcje dla pacjenta

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
ServiceRequest.language Base preferred Common Languages 📍4.0.1 FHIR Std.
ServiceRequest.basedOn.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
ServiceRequest.status Base required PLeKOKServiceRequestStatusVS 📦0.5.0 This IG
ServiceRequest.intent Base required RequestIntent 📍4.0.1 FHIR Std.
ServiceRequest.category Base required PLeKOKMedicalServiceCategoryVS 📦0.5.0 This IG
ServiceRequest.priority Base required Request priority 📦4.0.1 FHIR Std.
ServiceRequest.code Base example Procedure Codes (SNOMED CT) 📍4.0.1 FHIR Std.
ServiceRequest.orderDetail Base example Service Request Order Details Codes 📍4.0.1 FHIR Std.
ServiceRequest.subject.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
ServiceRequest.encounter.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
ServiceRequest.performerType Base example Participant Roles 📍4.0.1 FHIR Std.
ServiceRequest.performerType.​coding Base required PLeKOKServiceRequestPerformerTypeVS 📦0.5.0 This IG

Constraints

Id Grade Path(s) Description Expression
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()

Widok Snapshot

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ServiceRequest C 0..* ServiceRequest A request for a service to be performed
Constraints: prr-1
... id Σ 0..1 id Identyfikator logiczny zasobu (wartość nadawana przez system P1)
... meta Σ 1..1 Meta Metadane zasobu
.... extension 0..0
.... versionId Σ 0..1 id Wersja zasobu (wartość ustawiana przez system P1)
.... lastUpdated Σ 0..1 instant Data aktualizacji zasobu (wartość ustawiana przez system P1)
.... source Σ 0..1 uri Identyfikator źródła zasobu (wartość ustawiana przez system, przy rejestracji lub aktualizacji zasobu)
.... profile Σ 1..1 canonical(StructureDefinition) PLeKOKServiceRequest

Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-service-request
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
... implicitRules ?!Σ 0..1 uri Wersja systemu (wartość ustawiana przez system P1)
... basedOn Σ 1..1 Reference(CarePlan) Plan, którego dotyczy zlecenie. W przypadku zlecenia w ramach planu leczenia należy wskazać referencję do planu leczenia. W przypadku zlecenia w ramach planu obserwacji należy wskazać referencję do karty e-KOK
.... extension 0..0
.... reference ΣC 1..1 string Referencja do zasobu CarePlan
.... type Σ 1..1 uri Typ zasobu (CarePlan)
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: CarePlan
... status ?!Σ 1..1 code active (Aktywne) | completed (Wykonane) | revoked (Odrzucone) | entered-in-error (Wycofane)
Binding: PLeKOKServiceRequestStatusVS (required): Status zlecenia
... intent ?!Σ 1..1 code 'order'
Binding: RequestIntent (required): The kind of service request.
Fixed Value: order
... category Σ 1..1 CodeableConcept Kategoria usługi medycznej, której dotyczy zlecenie (typ skierowania)
Binding: PLeKOKMedicalServiceCategoryVS (required)
.... extension 0..0
.... coding Σ 1..1 Coding Code defined by a terminology system
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... system Σ 1..1 uri System kodowania
..... code Σ 1..1 code Kod
..... display Σ 1..1 string Nazwa
... priority Σ 1..1 code urgent (Pilny) | routine (Stabilny)
Binding: RequestPriority (required)
... code Σ 1..1 CodeableConcept Kod usługi (ICD-9)
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.
.... extension 0..0
.... coding Σ 1..1 Coding Typ zabiegu w systemie kodowania ICD-9
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... system Σ 1..1 uri urn:oid:2.16.840.1.113883.3.4424.11.2.6
Fixed Value: urn:oid:2.16.840.1.113883.3.4424.11.2.6
..... code Σ 1..1 code Kod
..... display Σ 1..1 string Nazwa
... orderDetail ΣC 0..1 CodeableConcept Inne informacje lub dane, w zakresie niezbędnym do przeprowadzenia badania, konsultacji lub leczenia
Binding: ServiceRequestOrderDetailsCodes (example): Codified order entry details which are based on order context.
.... extension 0..0
.... text Σ 1..1 string Treść informacji
... subject Σ 1..1 Reference(Patient) Dane pacjenta
.... extension 0..0
.... reference ΣC 1..1 string Referencja do zasobu Patient
.... type Σ 1..1 uri Typ zasobu z danymi pacjenta (Patient)
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Patient
... encounter Σ 1..1 Reference(Encounter) Referencja do zasobu z danymi świadczenia (PLeKOKEncounter), w ramach którego wystawiono zalecenie
.... extension 0..0
.... reference ΣC 1..1 string Referencja do zasobu Encounter
.... type Σ 1..1 uri Typ zasobu (Encounter)
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Encounter
... Slices for occurrence[x] Σ 0..1 Timing When service should occur
Slice: Unordered, Closed by type:$this
.... occurrence[x]:occurrenceTiming Σ 0..1 Timing Informacje dotyczące terminu realizacji zlecenia
..... extension 0..0
..... event Σ 0..1 dateTime Termin realizacji
..... repeat ΣC 0..1 Element When the event is to occur
Constraints: tim-1, tim-2, tim-4, tim-5, tim-6, tim-7, tim-8, tim-9, tim-10
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... Slices for bounds[x] Σ 0..1 Length/Range of lengths, or (Start and/or end) limits
Slice: Unordered, Open by type:$this
....... boundsDuration Duration
....... boundsRange Range
....... boundsPeriod Period
....... bounds[x]:boundsDuration Σ 0..1 Duration Okres ważności zlecenia
........ extension 0..0
........ value Σ 1..1 decimal Ilość
........ unit Σ 1..1 string Jednostka czasu dla okresu: s | min | h | d | wk | mo | a
Binding: UnitsOfTime (required)
...... count Σ 0..1 positiveInt Ilość usług do realizacji w trakcie okresu ważności zlecenia. W przypadku skierowania na jednorazową usługę należy wskazać '1'
...... frequency Σ 0..1 positiveInt Częstotliwość realizacji usług w danym okresie cyklu (period)
...... period Σ 0..1 decimal Okres jednego cyklu
...... periodUnit Σ 0..1 code Jednostka czasu dla okresu cyklu: s | min | h | d | wk | mo | a
Binding: UnitsOfTime (required): A unit of time (units from UCUM).
... authoredOn Σ 1..1 dateTime Data utworzenia zlecenia
... requester Σ 1..1 Reference(Practitioner) Zlecający
.... extension 0..0
.... identifier Σ 1..1 Identifier Identyfikator pracownika medycznego
..... extension 0..0
..... system Σ 1..1 uri System identyfikacji pracowników medycznych
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string Identyfikator pracownika medycznego
Example General: 123456
.... display Σ 1..1 string Text alternative for the resource
..... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:familyName 1..1 (Complex) Nazwisko
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-family-name
....... extension 0..0
....... url 1..1 uri "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-family-name"
....... value[x] 1..1 string Nazwisko
...... extension:givenName 1..* (Complex) Imiona
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-given-name
....... extension 0..0
....... url 1..1 uri "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-given-name"
....... value[x] 1..1 string Imię
... performerType Σ 1..1 CodeableConcept Specjalizacja pracownika medycznego/Poziom opieki kardiologicznej
Binding: ParticipantRoles (example): Indicates specific responsibility of an individual within the care team, such as "Primary physician", "Team coordinator", "Caregiver", etc.
.... extension 0..0
.... coding Σ 1..1 Coding Code defined by a terminology system
Binding: PLeKOKServiceRequestPerformerTypeVS (required)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... system Σ 1..1 uri System kodowania
..... code Σ 1..1 code Kod
..... display Σ 1..1 string Nazwa
... locationReference Σ 1..1 Reference(Location) Requested location
.... extension 0..0
.... identifier Σ 1..1 Identifier Identyfikator miejsce udzielenia świadczenia
..... extension 0..0
..... system Σ 1..1 uri OID systemu identyfikacji Miejsca Udzielania Świadczeń
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string Identyfikator Miejsca Udzielania Świadczeń
Example General: 123456
.... display Σ 1..1 string Nazwa Miejsca Udzielania Świadczeń
... patientInstruction Σ 0..1 string Instrukcje dla pacjenta

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
ServiceRequest.meta.​security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
ServiceRequest.language Base preferred Common Languages 📍4.0.1 FHIR Std.
ServiceRequest.basedOn.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
ServiceRequest.status Base required PLeKOKServiceRequestStatusVS 📦0.5.0 This IG
ServiceRequest.intent Base required RequestIntent 📍4.0.1 FHIR Std.
ServiceRequest.category Base required PLeKOKMedicalServiceCategoryVS 📦0.5.0 This IG
ServiceRequest.priority Base required Request priority 📦4.0.1 FHIR Std.
ServiceRequest.code Base example Procedure Codes (SNOMED CT) 📍4.0.1 FHIR Std.
ServiceRequest.orderDetail Base example Service Request Order Details Codes 📍4.0.1 FHIR Std.
ServiceRequest.subject.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
ServiceRequest.encounter.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
ServiceRequest.occurrence[x]:occurrenceTiming.​repeat.bounds[x]:boundsDuration.​unit Base required UnitsOfTime 📦4.0.1 FHIR Std.
ServiceRequest.occurrence[x]:occurrenceTiming.​repeat.periodUnit Base required UnitsOfTime 📍4.0.1 FHIR Std.
ServiceRequest.performerType Base example Participant Roles 📍4.0.1 FHIR Std.
ServiceRequest.performerType.​coding Base required PLeKOKServiceRequestPerformerTypeVS 📦0.5.0 This IG

Constraints

Id Grade Path(s) Description Expression
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()
tim-1 error ServiceRequest.occurrence[x]:occurrenceTiming.repeat if there's a duration, there needs to be duration units duration.empty() or durationUnit.exists()
tim-2 error ServiceRequest.occurrence[x]:occurrenceTiming.repeat if there's a period, there needs to be period units period.empty() or periodUnit.exists()
tim-4 error ServiceRequest.occurrence[x]:occurrenceTiming.repeat duration SHALL be a non-negative value duration.exists() implies duration >= 0
tim-5 error ServiceRequest.occurrence[x]:occurrenceTiming.repeat period SHALL be a non-negative value period.exists() implies period >= 0
tim-6 error ServiceRequest.occurrence[x]:occurrenceTiming.repeat If there's a periodMax, there must be a period periodMax.empty() or period.exists()
tim-7 error ServiceRequest.occurrence[x]:occurrenceTiming.repeat If there's a durationMax, there must be a duration durationMax.empty() or duration.exists()
tim-8 error ServiceRequest.occurrence[x]:occurrenceTiming.repeat If there's a countMax, there must be a count countMax.empty() or count.exists()
tim-9 error ServiceRequest.occurrence[x]:occurrenceTiming.repeat If there's an offset, there must be a when (and not C, CM, CD, CV) offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
tim-10 error ServiceRequest.occurrence[x]:occurrenceTiming.repeat If there's a timeOfDay, there cannot be a when, or vice versa timeOfDay.empty() or when.empty()

Struktura bazuje na ServiceRequest

Summary

Mandatory: 39 elements(3 nested mandatory elements)
Fixed: 6 elements
Prohibited: 103 elements

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of ServiceRequest.occurrence[x]
  • The element 1 is sliced based on the value of ServiceRequest.occurrence[x].repeat.bounds[x]

 

Inne struktury profilu: CSV, Excel, Schematron