eKOK Dokumentacja Integracyjna
0.5.0 - draft Poland flag

Profil zasobu: PLeKOKOTCMedicationStatement

Logiczny url: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-otc-medications-statement Wersja: 0.5.0
Active z dnia 2026-03-17 Nazwa: PLeKOKOTCMedicationStatement

Profil zasobu zawierający zakres danych o leku na przyjmowanym przez pacjenta bez recepty

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 MedicationStatement

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement 0..* MedicationStatement Record of medication being taken by a patient
... 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) PLeKOKOTCMedicationStatement
Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-otc-medications-statement
.... tag 0..0
... implicitRules 0..1 uri Wersja systemu (wartość ustawiana przez system P1)
... text 0..0
... contained 0..0
... extension 0..0
... modifierExtension 0..0
... identifier 0..0
... basedOn 0..0
... partOf 0..0
... status 1..1 code Status przyjmowania leku
Binding: PLeKOKMedicationStatementStatusVS (required)
... statusReason 0..0
... category 0..0
... medication[x] 1..1 CodeableConcept Dane leku
.... id 0..0
.... extension 0..0
.... coding 0..0
.... text 1..1 string Nazwa leku
... 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
... context 0..0
... effective[x] 0..1 Period Okres przyjmowania leku
.... id 0..0
.... extension 0..0
.... start C 1..1 dateTime Data początku okresu
Constraints: date-pattern
.... end C 0..1 dateTime Data końca okresu
Constraints: date-pattern
... dateAsserted 1..1 dateTime Data z jaką poinformowano o przyjmowaniu leku
... informationSource 1..1 Reference(Practitioner) Pracownik medyczny wprowadzający informacje
.... 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
... derivedFrom 0..0
... reasonCode 0..0
... reasonReference 0..0
... note 0..0
... dosage 0..1 Dosage Dawkowanie
.... id 0..0
.... extension 0..0
.... modifierExtension 0..0
.... sequence 0..0
.... text 1..1 string Informacja o dawkowaniu
.... additionalInstruction 0..0
.... patientInstruction 0..0
.... timing 0..0
.... asNeeded[x] 0..0
.... site 0..0
.... route 0..0
.... method 0..0
.... doseAndRate 0..0
.... maxDosePerPeriod 0..0
.... maxDosePerAdministration 0..0
.... maxDosePerLifetime 0..0

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
MedicationStatement.​status Base required PLeKOKMedicationStatementStatusVS 📦0.5.0 This IG

Constraints

Id Grade Path(s) Description Expression
date-pattern error MedicationStatement.effective[x].start, MedicationStatement.effective[x].end Nieprawidłowy format daty (prawidłowy format daty: YYYY-MM-DD) $this.toString().matches('^\\d{4}-((0[0-9])|(1[012]))-(([012][0-9])|3[01])$')
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement 0..* MedicationStatement Record of medication being taken by a patient
... 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) PLeKOKOTCMedicationStatement

Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-otc-medications-statement
... implicitRules ?!Σ 0..1 uri Wersja systemu (wartość ustawiana przez system P1)
... status ?!Σ 1..1 code Status przyjmowania leku
Binding: PLeKOKMedicationStatementStatusVS (required)
... medication[x] Σ 1..1 CodeableConcept Dane leku
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken.
.... extension 0..0
.... text Σ 1..1 string Nazwa leku
... 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
... effective[x] Σ 0..1 Period Okres przyjmowania leku
.... extension 0..0
.... start ΣC 1..1 dateTime Data początku okresu
Constraints: date-pattern
.... end ΣC 0..1 dateTime Data końca okresu
Constraints: date-pattern
... dateAsserted Σ 1..1 dateTime Data z jaką poinformowano o przyjmowaniu leku
... informationSource 1..1 Reference(Practitioner) Pracownik medyczny wprowadzający informacje
.... 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ę
... dosage 0..1 Dosage Dawkowanie
.... extension 0..0
.... text Σ 1..1 string Informacja o dawkowaniu

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationStatement.​language Base preferred Common Languages 📍4.0.1 FHIR Std.
MedicationStatement.​status Base required PLeKOKMedicationStatementStatusVS 📦0.5.0 This IG
MedicationStatement.​medication[x] Base example SNOMED CT Medication Codes 📍4.0.1 FHIR Std.
MedicationStatement.​subject.type Base extensible ResourceType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
date-pattern error MedicationStatement.effective[x].start, MedicationStatement.effective[x].end Nieprawidłowy format daty (prawidłowy format daty: YYYY-MM-DD) $this.toString().matches('^\\d{4}-((0[0-9])|(1[012]))-(([012][0-9])|3[01])$')
dom-2 error MedicationStatement If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationStatement 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 MedicationStatement 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 MedicationStatement If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationStatement 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()
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement 0..* MedicationStatement Record of medication being taken by a patient
... 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) PLeKOKOTCMedicationStatement

Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-otc-medications-statement
.... 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)
... status ?!Σ 1..1 code Status przyjmowania leku
Binding: PLeKOKMedicationStatementStatusVS (required)
... medication[x] Σ 1..1 CodeableConcept Dane leku
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken.
.... extension 0..0
.... text Σ 1..1 string Nazwa leku
... 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
... effective[x] Σ 0..1 Period Okres przyjmowania leku
.... extension 0..0
.... start ΣC 1..1 dateTime Data początku okresu
Constraints: date-pattern
.... end ΣC 0..1 dateTime Data końca okresu
Constraints: date-pattern
... dateAsserted Σ 1..1 dateTime Data z jaką poinformowano o przyjmowaniu leku
... informationSource 1..1 Reference(Practitioner) Pracownik medyczny wprowadzający informacje
.... 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ę
... dosage 0..1 Dosage Dawkowanie
.... extension 0..0
.... text Σ 1..1 string Informacja o dawkowaniu

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationStatement.​meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
MedicationStatement.​language Base preferred Common Languages 📍4.0.1 FHIR Std.
MedicationStatement.​status Base required PLeKOKMedicationStatementStatusVS 📦0.5.0 This IG
MedicationStatement.​medication[x] Base example SNOMED CT Medication Codes 📍4.0.1 FHIR Std.
MedicationStatement.​subject.type Base extensible ResourceType 📍4.0.1 FHIR Std.
MedicationStatement.​dosage.doseAndRate.type Base example DoseAndRateType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
date-pattern error MedicationStatement.effective[x].start, MedicationStatement.effective[x].end Nieprawidłowy format daty (prawidłowy format daty: YYYY-MM-DD) $this.toString().matches('^\\d{4}-((0[0-9])|(1[012]))-(([012][0-9])|3[01])$')
dom-2 error MedicationStatement If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationStatement 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 MedicationStatement 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 MedicationStatement If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationStatement 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()

Struktura bazuje na MedicationStatement

Summary

Mandatory: 13 elements(2 nested mandatory elements)
Fixed: 2 elements
Prohibited: 59 elements

Extensions

This structure refers to these extensions:

Widok Differential

Struktura bazuje na MedicationStatement

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement 0..* MedicationStatement Record of medication being taken by a patient
... 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) PLeKOKOTCMedicationStatement
Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-otc-medications-statement
.... tag 0..0
... implicitRules 0..1 uri Wersja systemu (wartość ustawiana przez system P1)
... text 0..0
... contained 0..0
... extension 0..0
... modifierExtension 0..0
... identifier 0..0
... basedOn 0..0
... partOf 0..0
... status 1..1 code Status przyjmowania leku
Binding: PLeKOKMedicationStatementStatusVS (required)
... statusReason 0..0
... category 0..0
... medication[x] 1..1 CodeableConcept Dane leku
.... id 0..0
.... extension 0..0
.... coding 0..0
.... text 1..1 string Nazwa leku
... 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
... context 0..0
... effective[x] 0..1 Period Okres przyjmowania leku
.... id 0..0
.... extension 0..0
.... start C 1..1 dateTime Data początku okresu
Constraints: date-pattern
.... end C 0..1 dateTime Data końca okresu
Constraints: date-pattern
... dateAsserted 1..1 dateTime Data z jaką poinformowano o przyjmowaniu leku
... informationSource 1..1 Reference(Practitioner) Pracownik medyczny wprowadzający informacje
.... 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
... derivedFrom 0..0
... reasonCode 0..0
... reasonReference 0..0
... note 0..0
... dosage 0..1 Dosage Dawkowanie
.... id 0..0
.... extension 0..0
.... modifierExtension 0..0
.... sequence 0..0
.... text 1..1 string Informacja o dawkowaniu
.... additionalInstruction 0..0
.... patientInstruction 0..0
.... timing 0..0
.... asNeeded[x] 0..0
.... site 0..0
.... route 0..0
.... method 0..0
.... doseAndRate 0..0
.... maxDosePerPeriod 0..0
.... maxDosePerAdministration 0..0
.... maxDosePerLifetime 0..0

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
MedicationStatement.​status Base required PLeKOKMedicationStatementStatusVS 📦0.5.0 This IG

Constraints

Id Grade Path(s) Description Expression
date-pattern error MedicationStatement.effective[x].start, MedicationStatement.effective[x].end Nieprawidłowy format daty (prawidłowy format daty: YYYY-MM-DD) $this.toString().matches('^\\d{4}-((0[0-9])|(1[012]))-(([012][0-9])|3[01])$')

Widok kluczowych elementów

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement 0..* MedicationStatement Record of medication being taken by a patient
... 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) PLeKOKOTCMedicationStatement

Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-otc-medications-statement
... implicitRules ?!Σ 0..1 uri Wersja systemu (wartość ustawiana przez system P1)
... status ?!Σ 1..1 code Status przyjmowania leku
Binding: PLeKOKMedicationStatementStatusVS (required)
... medication[x] Σ 1..1 CodeableConcept Dane leku
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken.
.... extension 0..0
.... text Σ 1..1 string Nazwa leku
... 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
... effective[x] Σ 0..1 Period Okres przyjmowania leku
.... extension 0..0
.... start ΣC 1..1 dateTime Data początku okresu
Constraints: date-pattern
.... end ΣC 0..1 dateTime Data końca okresu
Constraints: date-pattern
... dateAsserted Σ 1..1 dateTime Data z jaką poinformowano o przyjmowaniu leku
... informationSource 1..1 Reference(Practitioner) Pracownik medyczny wprowadzający informacje
.... 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ę
... dosage 0..1 Dosage Dawkowanie
.... extension 0..0
.... text Σ 1..1 string Informacja o dawkowaniu

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationStatement.​language Base preferred Common Languages 📍4.0.1 FHIR Std.
MedicationStatement.​status Base required PLeKOKMedicationStatementStatusVS 📦0.5.0 This IG
MedicationStatement.​medication[x] Base example SNOMED CT Medication Codes 📍4.0.1 FHIR Std.
MedicationStatement.​subject.type Base extensible ResourceType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
date-pattern error MedicationStatement.effective[x].start, MedicationStatement.effective[x].end Nieprawidłowy format daty (prawidłowy format daty: YYYY-MM-DD) $this.toString().matches('^\\d{4}-((0[0-9])|(1[012]))-(([012][0-9])|3[01])$')
dom-2 error MedicationStatement If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationStatement 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 MedicationStatement 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 MedicationStatement If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationStatement 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()

Widok Snapshot

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement 0..* MedicationStatement Record of medication being taken by a patient
... 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) PLeKOKOTCMedicationStatement

Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-otc-medications-statement
.... 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)
... status ?!Σ 1..1 code Status przyjmowania leku
Binding: PLeKOKMedicationStatementStatusVS (required)
... medication[x] Σ 1..1 CodeableConcept Dane leku
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken.
.... extension 0..0
.... text Σ 1..1 string Nazwa leku
... 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
... effective[x] Σ 0..1 Period Okres przyjmowania leku
.... extension 0..0
.... start ΣC 1..1 dateTime Data początku okresu
Constraints: date-pattern
.... end ΣC 0..1 dateTime Data końca okresu
Constraints: date-pattern
... dateAsserted Σ 1..1 dateTime Data z jaką poinformowano o przyjmowaniu leku
... informationSource 1..1 Reference(Practitioner) Pracownik medyczny wprowadzający informacje
.... 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ę
... dosage 0..1 Dosage Dawkowanie
.... extension 0..0
.... text Σ 1..1 string Informacja o dawkowaniu

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationStatement.​meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
MedicationStatement.​language Base preferred Common Languages 📍4.0.1 FHIR Std.
MedicationStatement.​status Base required PLeKOKMedicationStatementStatusVS 📦0.5.0 This IG
MedicationStatement.​medication[x] Base example SNOMED CT Medication Codes 📍4.0.1 FHIR Std.
MedicationStatement.​subject.type Base extensible ResourceType 📍4.0.1 FHIR Std.
MedicationStatement.​dosage.doseAndRate.type Base example DoseAndRateType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
date-pattern error MedicationStatement.effective[x].start, MedicationStatement.effective[x].end Nieprawidłowy format daty (prawidłowy format daty: YYYY-MM-DD) $this.toString().matches('^\\d{4}-((0[0-9])|(1[012]))-(([012][0-9])|3[01])$')
dom-2 error MedicationStatement If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationStatement 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 MedicationStatement 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 MedicationStatement If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationStatement 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()

Struktura bazuje na MedicationStatement

Summary

Mandatory: 13 elements(2 nested mandatory elements)
Fixed: 2 elements
Prohibited: 59 elements

Extensions

This structure refers to these extensions:

 

Inne struktury profilu: CSV, Excel, Schematron