eKOK Dokumentacja Integracyjna
0.5.0 - draft Poland flag

Profil zasobu: PLeKOKComorbidDiagnosis

Logiczny url: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-comorbid-diagnosis Wersja: 0.5.0
Active z dnia 2026-03-17 Nazwa: PLeKOKComorbidDiagnosis

Profil zasobu zawierający zakres danych dotyczących diagnozy współistniejącej (rozpoznanie/podejrzenie rozpoznania) rejestrowanej w ramach karty e-KOK.

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 Condition

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Condition 0..* Condition Detailed information about conditions, problems or diagnoses
... 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) PLeKOKComorbidDiagnosis
Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-comorbid-diagnosis
.... tag 0..0
... implicitRules 0..1 uri Wersja systemu (wartość ustawiana przez system P1)
... text 0..0
... contained 0..0
... Slices for extension 2..* Extension Extension
Slice: Unordered, Closed by value:url
.... extension:use 1..1 (Complex) Rola jaką pełni diagnoza w ramach karty e-KOK
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/condition-use
..... value[x] 1..1 CodeableConcept Przyjmuje wartości 'CC' (rozpoznanie główne), 'CM' (rozpoznanie współistniejące)
Binding: PLeKOKDiagnosisRoleVS (required)
Fixed Value: As shown
...... coding 1..1 Coding Code defined by a terminology system
Fixed Value: (Complex)
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/diagnosis-role
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: CM
....... display 1..1 string Representation defined by the system
Fixed Value: Rozpoznanie współistniejące
.... extension:basedOn 1..1 (Complex) Referencja do karty e-KOK
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/based-on-care-plan
..... value[x]
...... 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
... modifierExtension 0..0
... identifier 0..0
... clinicalStatus 0..1 CodeableConcept Status aktualności rozpoznania
Binding: PLeKOKDiagnosisClinicalStatusVS (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
... verificationStatus 1..1 CodeableConcept Status weryfikacji rozpoznania
Binding: PLeKOKDiagnosisVerificationStatusVS (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
... category 0..0
... severity 0..0
... code 1..1 CodeableConcept Kod rozpoznania
Binding: PLeKOKComorbidDiagnosisVS (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
... bodySite 0..1 CodeableConcept Lokalizacja anatomiczna
Binding: PLeKOKBodyStructureVS (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
... subject 1..1 Reference(Patient | Group) 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) Encounter created as part of
.... 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
... onset[x] 0..1 dateTime, Age, Period, Range, string Informacja o terminie wystąpienia schorzenia
... abatement[x] 0..0
... recordedDate C 1..1 dateTime Termin postawienia/rejestracji diagnozy
Constraints: date-pattern
... recorder 0..0
... asserter 1..1 Reference(Practitioner) Pracownik medyczny stawiający diagnozę
.... id 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
... stage 0..1 BackboneElement Doprecyzowanie rozpoznania/stadium jednostki chorobowej
.... id 0..0
.... extension 0..0
.... modifierExtension 0..0
.... summary 0..1 CodeableConcept Doprecyzowanie rozpoznania/stadium jednostki chorobowej
Binding: PLeKOKComorbidDiagnosisStageSummaryVS (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..1 string Opis doprecyzowania (należy podać jeżeli wybrano 'Inne')
.... assessment 0..0
.... type 0..0
... evidence 0..0
... note 0..1 Annotation Dodatkowe adnotacje

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Condition.extension:use.​value[x] Base required PLeKOKDiagnosisRoleVS 📦0.5.0 This IG
Condition.clinicalStatus Base required PLeKOKDiagnosisClinicalStatusVS 📦0.5.0 This IG
Condition.verificationStatus Base required PLeKOKDiagnosisVerificationStatusVS 📦0.5.0 This IG
Condition.code Base required PLeKOKComorbidDiagnosisVS 📦0.5.0 This IG
Condition.bodySite Base required PLeKOKBodyStructureVS 📦0.5.0 This IG
Condition.stage.summary Base required PLeKOKComorbidDiagnosisStageSummaryVS 📦0.5.0 This IG

Constraints

Id Grade Path(s) Description Expression
date-pattern error Condition.recordedDate 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
.. Condition C 0..* Condition Detailed information about conditions, problems or diagnoses
Constraints: con-3, con-4, con-5
... 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) PLeKOKComorbidDiagnosis

Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-comorbid-diagnosis
... implicitRules ?!Σ 0..1 uri Wersja systemu (wartość ustawiana przez system P1)
... Slices for extension 2..* Extension Extension
Slice: Unordered, Closed by value:url
.... extension:use 1..1 (Complex) Rola jaką pełni diagnoza w ramach karty e-KOK
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/condition-use
..... extension 0..0
..... url 1..1 uri "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/condition-use"
..... value[x] 1..1 CodeableConcept Przyjmuje wartości 'CC' (rozpoznanie główne), 'CM' (rozpoznanie współistniejące)
Binding: PLeKOKDiagnosisRoleVS (required)
Fixed Value: As shown
...... id 0..0 string Unique id for inter-element referencing
...... extension 0..0 Extension Additional content defined by implementations
...... coding 1..1 Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..0 string Unique id for inter-element referencing
....... extension 0..0 Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/diagnosis-role
....... version 0..0 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: CM
....... display 1..1 string Representation defined by the system
Fixed Value: Rozpoznanie współistniejące
....... userSelected 0..0 boolean If this coding was chosen directly by the user
...... text 0..0 string Plain text representation of the concept
.... extension:basedOn 1..1 (Complex) Referencja do karty e-KOK
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/based-on-care-plan
..... extension 0..0
..... url 1..1 uri "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/based-on-care-plan"
..... value[x] 1..1 Reference(CarePlan) Value of extension
...... 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
... clinicalStatus ?!ΣC 0..1 CodeableConcept Status aktualności rozpoznania
Binding: PLeKOKDiagnosisClinicalStatusVS (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
... verificationStatus ?!ΣC 1..1 CodeableConcept Status weryfikacji rozpoznania
Binding: PLeKOKDiagnosisVerificationStatusVS (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
... code Σ 1..1 CodeableConcept Kod rozpoznania
Binding: PLeKOKComorbidDiagnosisVS (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
... bodySite Σ 0..1 CodeableConcept Lokalizacja anatomiczna
Binding: PLeKOKBodyStructureVS (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
... subject Σ 1..1 Reference(Patient | Group) 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) Encounter created as part of
.... 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
... onset[x] Σ 0..1 Informacja o terminie wystąpienia schorzenia
.... onsetDateTime dateTime
.... onsetAge Age
.... onsetPeriod Period
.... onsetRange Range
.... onsetString string
... recordedDate ΣC 1..1 dateTime Termin postawienia/rejestracji diagnozy
Constraints: date-pattern
... asserter Σ 1..1 Reference(Practitioner) Pracownik medyczny stawiający diagnozę
.... 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ę
... stage C 0..1 BackboneElement Doprecyzowanie rozpoznania/stadium jednostki chorobowej
Constraints: con-1
.... summary C 0..1 CodeableConcept Doprecyzowanie rozpoznania/stadium jednostki chorobowej
Binding: PLeKOKComorbidDiagnosisStageSummaryVS (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
..... text Σ 0..1 string Opis doprecyzowania (należy podać jeżeli wybrano 'Inne')
... note 0..1 Annotation Dodatkowe adnotacje

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Condition.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Condition.extension:use.​value[x] Base required PLeKOKDiagnosisRoleVS 📦0.5.0 This IG
Condition.extension:basedOn.​value[x].type Base extensible ResourceType 📍4.0.1 FHIR Std.
Condition.clinicalStatus Base required PLeKOKDiagnosisClinicalStatusVS 📦0.5.0 This IG
Condition.verificationStatus Base required PLeKOKDiagnosisVerificationStatusVS 📦0.5.0 This IG
Condition.code Base required PLeKOKComorbidDiagnosisVS 📦0.5.0 This IG
Condition.bodySite Base required PLeKOKBodyStructureVS 📦0.5.0 This IG
Condition.subject.type Base extensible ResourceType 📍4.0.1 FHIR Std.
Condition.encounter.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Condition.stage.summary Base required PLeKOKComorbidDiagnosisStageSummaryVS 📦0.5.0 This IG

Constraints

Id Grade Path(s) Description Expression
con-1 error Condition.stage Stage SHALL have summary or assessment summary.exists() or assessment.exists()
con-3 best practice Condition Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty()
con-4 error Condition If condition is abated, then clinicalStatus must be either inactive, resolved, or remission abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()
con-5 error Condition Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()
date-pattern error Condition.recordedDate 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 Condition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Condition 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 Condition 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 Condition If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Condition 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
.. Condition C 0..* Condition Detailed information about conditions, problems or diagnoses
Constraints: con-3, con-4, con-5
... 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) PLeKOKComorbidDiagnosis

Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-comorbid-diagnosis
.... 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)
... Slices for extension 2..* Extension Extension
Slice: Unordered, Closed by value:url
.... extension:use 1..1 (Complex) Rola jaką pełni diagnoza w ramach karty e-KOK
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/condition-use
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/condition-use"
..... value[x] 1..1 CodeableConcept Przyjmuje wartości 'CC' (rozpoznanie główne), 'CM' (rozpoznanie współistniejące)
Binding: PLeKOKDiagnosisRoleVS (required)
Fixed Value: As shown
...... id 0..0 string Unique id for inter-element referencing
...... extension 0..0 Extension Additional content defined by implementations
...... coding 1..1 Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..0 string Unique id for inter-element referencing
....... extension 0..0 Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/diagnosis-role
....... version 0..0 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: CM
....... display 1..1 string Representation defined by the system
Fixed Value: Rozpoznanie współistniejące
....... userSelected 0..0 boolean If this coding was chosen directly by the user
...... text 0..0 string Plain text representation of the concept
.... extension:basedOn 1..1 (Complex) Referencja do karty e-KOK
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/based-on-care-plan
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/based-on-care-plan"
..... value[x] 1..1 Reference(CarePlan) Value of extension
...... 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
... clinicalStatus ?!ΣC 0..1 CodeableConcept Status aktualności rozpoznania
Binding: PLeKOKDiagnosisClinicalStatusVS (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
... verificationStatus ?!ΣC 1..1 CodeableConcept Status weryfikacji rozpoznania
Binding: PLeKOKDiagnosisVerificationStatusVS (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
... code Σ 1..1 CodeableConcept Kod rozpoznania
Binding: PLeKOKComorbidDiagnosisVS (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
... bodySite Σ 0..1 CodeableConcept Lokalizacja anatomiczna
Binding: PLeKOKBodyStructureVS (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
... subject Σ 1..1 Reference(Patient | Group) 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) Encounter created as part of
.... 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
... onset[x] Σ 0..1 Informacja o terminie wystąpienia schorzenia
.... onsetDateTime dateTime
.... onsetAge Age
.... onsetPeriod Period
.... onsetRange Range
.... onsetString string
... recordedDate ΣC 1..1 dateTime Termin postawienia/rejestracji diagnozy
Constraints: date-pattern
... asserter Σ 1..1 Reference(Practitioner) Pracownik medyczny stawiający diagnozę
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... 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ę
... stage C 0..1 BackboneElement Doprecyzowanie rozpoznania/stadium jednostki chorobowej
Constraints: con-1
.... summary C 0..1 CodeableConcept Doprecyzowanie rozpoznania/stadium jednostki chorobowej
Binding: PLeKOKComorbidDiagnosisStageSummaryVS (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
..... text Σ 0..1 string Opis doprecyzowania (należy podać jeżeli wybrano 'Inne')
... note 0..1 Annotation Dodatkowe adnotacje

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Condition.meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
Condition.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Condition.extension:use.​value[x] Base required PLeKOKDiagnosisRoleVS 📦0.5.0 This IG
Condition.extension:basedOn.​value[x].type Base extensible ResourceType 📍4.0.1 FHIR Std.
Condition.clinicalStatus Base required PLeKOKDiagnosisClinicalStatusVS 📦0.5.0 This IG
Condition.verificationStatus Base required PLeKOKDiagnosisVerificationStatusVS 📦0.5.0 This IG
Condition.code Base required PLeKOKComorbidDiagnosisVS 📦0.5.0 This IG
Condition.bodySite Base required PLeKOKBodyStructureVS 📦0.5.0 This IG
Condition.subject.type Base extensible ResourceType 📍4.0.1 FHIR Std.
Condition.encounter.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Condition.stage.summary Base required PLeKOKComorbidDiagnosisStageSummaryVS 📦0.5.0 This IG
Condition.evidence.code Base example Manifestation and Symptom Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
con-1 error Condition.stage Stage SHALL have summary or assessment summary.exists() or assessment.exists()
con-3 best practice Condition Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty()
con-4 error Condition If condition is abated, then clinicalStatus must be either inactive, resolved, or remission abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()
con-5 error Condition Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()
date-pattern error Condition.recordedDate 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 Condition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Condition 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 Condition 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 Condition If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Condition 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 Differential

Struktura bazuje na Condition

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Condition 0..* Condition Detailed information about conditions, problems or diagnoses
... 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) PLeKOKComorbidDiagnosis
Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-comorbid-diagnosis
.... tag 0..0
... implicitRules 0..1 uri Wersja systemu (wartość ustawiana przez system P1)
... text 0..0
... contained 0..0
... Slices for extension 2..* Extension Extension
Slice: Unordered, Closed by value:url
.... extension:use 1..1 (Complex) Rola jaką pełni diagnoza w ramach karty e-KOK
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/condition-use
..... value[x] 1..1 CodeableConcept Przyjmuje wartości 'CC' (rozpoznanie główne), 'CM' (rozpoznanie współistniejące)
Binding: PLeKOKDiagnosisRoleVS (required)
Fixed Value: As shown
...... coding 1..1 Coding Code defined by a terminology system
Fixed Value: (Complex)
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/diagnosis-role
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: CM
....... display 1..1 string Representation defined by the system
Fixed Value: Rozpoznanie współistniejące
.... extension:basedOn 1..1 (Complex) Referencja do karty e-KOK
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/based-on-care-plan
..... value[x]
...... 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
... modifierExtension 0..0
... identifier 0..0
... clinicalStatus 0..1 CodeableConcept Status aktualności rozpoznania
Binding: PLeKOKDiagnosisClinicalStatusVS (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
... verificationStatus 1..1 CodeableConcept Status weryfikacji rozpoznania
Binding: PLeKOKDiagnosisVerificationStatusVS (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
... category 0..0
... severity 0..0
... code 1..1 CodeableConcept Kod rozpoznania
Binding: PLeKOKComorbidDiagnosisVS (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
... bodySite 0..1 CodeableConcept Lokalizacja anatomiczna
Binding: PLeKOKBodyStructureVS (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
... subject 1..1 Reference(Patient | Group) 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) Encounter created as part of
.... 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
... onset[x] 0..1 dateTime, Age, Period, Range, string Informacja o terminie wystąpienia schorzenia
... abatement[x] 0..0
... recordedDate C 1..1 dateTime Termin postawienia/rejestracji diagnozy
Constraints: date-pattern
... recorder 0..0
... asserter 1..1 Reference(Practitioner) Pracownik medyczny stawiający diagnozę
.... id 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
... stage 0..1 BackboneElement Doprecyzowanie rozpoznania/stadium jednostki chorobowej
.... id 0..0
.... extension 0..0
.... modifierExtension 0..0
.... summary 0..1 CodeableConcept Doprecyzowanie rozpoznania/stadium jednostki chorobowej
Binding: PLeKOKComorbidDiagnosisStageSummaryVS (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..1 string Opis doprecyzowania (należy podać jeżeli wybrano 'Inne')
.... assessment 0..0
.... type 0..0
... evidence 0..0
... note 0..1 Annotation Dodatkowe adnotacje

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Condition.extension:use.​value[x] Base required PLeKOKDiagnosisRoleVS 📦0.5.0 This IG
Condition.clinicalStatus Base required PLeKOKDiagnosisClinicalStatusVS 📦0.5.0 This IG
Condition.verificationStatus Base required PLeKOKDiagnosisVerificationStatusVS 📦0.5.0 This IG
Condition.code Base required PLeKOKComorbidDiagnosisVS 📦0.5.0 This IG
Condition.bodySite Base required PLeKOKBodyStructureVS 📦0.5.0 This IG
Condition.stage.summary Base required PLeKOKComorbidDiagnosisStageSummaryVS 📦0.5.0 This IG

Constraints

Id Grade Path(s) Description Expression
date-pattern error Condition.recordedDate 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
.. Condition C 0..* Condition Detailed information about conditions, problems or diagnoses
Constraints: con-3, con-4, con-5
... 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) PLeKOKComorbidDiagnosis

Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-comorbid-diagnosis
... implicitRules ?!Σ 0..1 uri Wersja systemu (wartość ustawiana przez system P1)
... Slices for extension 2..* Extension Extension
Slice: Unordered, Closed by value:url
.... extension:use 1..1 (Complex) Rola jaką pełni diagnoza w ramach karty e-KOK
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/condition-use
..... extension 0..0
..... url 1..1 uri "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/condition-use"
..... value[x] 1..1 CodeableConcept Przyjmuje wartości 'CC' (rozpoznanie główne), 'CM' (rozpoznanie współistniejące)
Binding: PLeKOKDiagnosisRoleVS (required)
Fixed Value: As shown
...... id 0..0 string Unique id for inter-element referencing
...... extension 0..0 Extension Additional content defined by implementations
...... coding 1..1 Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..0 string Unique id for inter-element referencing
....... extension 0..0 Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/diagnosis-role
....... version 0..0 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: CM
....... display 1..1 string Representation defined by the system
Fixed Value: Rozpoznanie współistniejące
....... userSelected 0..0 boolean If this coding was chosen directly by the user
...... text 0..0 string Plain text representation of the concept
.... extension:basedOn 1..1 (Complex) Referencja do karty e-KOK
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/based-on-care-plan
..... extension 0..0
..... url 1..1 uri "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/based-on-care-plan"
..... value[x] 1..1 Reference(CarePlan) Value of extension
...... 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
... clinicalStatus ?!ΣC 0..1 CodeableConcept Status aktualności rozpoznania
Binding: PLeKOKDiagnosisClinicalStatusVS (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
... verificationStatus ?!ΣC 1..1 CodeableConcept Status weryfikacji rozpoznania
Binding: PLeKOKDiagnosisVerificationStatusVS (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
... code Σ 1..1 CodeableConcept Kod rozpoznania
Binding: PLeKOKComorbidDiagnosisVS (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
... bodySite Σ 0..1 CodeableConcept Lokalizacja anatomiczna
Binding: PLeKOKBodyStructureVS (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
... subject Σ 1..1 Reference(Patient | Group) 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) Encounter created as part of
.... 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
... onset[x] Σ 0..1 Informacja o terminie wystąpienia schorzenia
.... onsetDateTime dateTime
.... onsetAge Age
.... onsetPeriod Period
.... onsetRange Range
.... onsetString string
... recordedDate ΣC 1..1 dateTime Termin postawienia/rejestracji diagnozy
Constraints: date-pattern
... asserter Σ 1..1 Reference(Practitioner) Pracownik medyczny stawiający diagnozę
.... 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ę
... stage C 0..1 BackboneElement Doprecyzowanie rozpoznania/stadium jednostki chorobowej
Constraints: con-1
.... summary C 0..1 CodeableConcept Doprecyzowanie rozpoznania/stadium jednostki chorobowej
Binding: PLeKOKComorbidDiagnosisStageSummaryVS (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
..... text Σ 0..1 string Opis doprecyzowania (należy podać jeżeli wybrano 'Inne')
... note 0..1 Annotation Dodatkowe adnotacje

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Condition.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Condition.extension:use.​value[x] Base required PLeKOKDiagnosisRoleVS 📦0.5.0 This IG
Condition.extension:basedOn.​value[x].type Base extensible ResourceType 📍4.0.1 FHIR Std.
Condition.clinicalStatus Base required PLeKOKDiagnosisClinicalStatusVS 📦0.5.0 This IG
Condition.verificationStatus Base required PLeKOKDiagnosisVerificationStatusVS 📦0.5.0 This IG
Condition.code Base required PLeKOKComorbidDiagnosisVS 📦0.5.0 This IG
Condition.bodySite Base required PLeKOKBodyStructureVS 📦0.5.0 This IG
Condition.subject.type Base extensible ResourceType 📍4.0.1 FHIR Std.
Condition.encounter.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Condition.stage.summary Base required PLeKOKComorbidDiagnosisStageSummaryVS 📦0.5.0 This IG

Constraints

Id Grade Path(s) Description Expression
con-1 error Condition.stage Stage SHALL have summary or assessment summary.exists() or assessment.exists()
con-3 best practice Condition Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty()
con-4 error Condition If condition is abated, then clinicalStatus must be either inactive, resolved, or remission abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()
con-5 error Condition Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()
date-pattern error Condition.recordedDate 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 Condition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Condition 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 Condition 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 Condition If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Condition 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
.. Condition C 0..* Condition Detailed information about conditions, problems or diagnoses
Constraints: con-3, con-4, con-5
... 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) PLeKOKComorbidDiagnosis

Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-comorbid-diagnosis
.... 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)
... Slices for extension 2..* Extension Extension
Slice: Unordered, Closed by value:url
.... extension:use 1..1 (Complex) Rola jaką pełni diagnoza w ramach karty e-KOK
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/condition-use
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/condition-use"
..... value[x] 1..1 CodeableConcept Przyjmuje wartości 'CC' (rozpoznanie główne), 'CM' (rozpoznanie współistniejące)
Binding: PLeKOKDiagnosisRoleVS (required)
Fixed Value: As shown
...... id 0..0 string Unique id for inter-element referencing
...... extension 0..0 Extension Additional content defined by implementations
...... coding 1..1 Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..0 string Unique id for inter-element referencing
....... extension 0..0 Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/diagnosis-role
....... version 0..0 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: CM
....... display 1..1 string Representation defined by the system
Fixed Value: Rozpoznanie współistniejące
....... userSelected 0..0 boolean If this coding was chosen directly by the user
...... text 0..0 string Plain text representation of the concept
.... extension:basedOn 1..1 (Complex) Referencja do karty e-KOK
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/based-on-care-plan
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/based-on-care-plan"
..... value[x] 1..1 Reference(CarePlan) Value of extension
...... 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
... clinicalStatus ?!ΣC 0..1 CodeableConcept Status aktualności rozpoznania
Binding: PLeKOKDiagnosisClinicalStatusVS (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
... verificationStatus ?!ΣC 1..1 CodeableConcept Status weryfikacji rozpoznania
Binding: PLeKOKDiagnosisVerificationStatusVS (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
... code Σ 1..1 CodeableConcept Kod rozpoznania
Binding: PLeKOKComorbidDiagnosisVS (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
... bodySite Σ 0..1 CodeableConcept Lokalizacja anatomiczna
Binding: PLeKOKBodyStructureVS (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
... subject Σ 1..1 Reference(Patient | Group) 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) Encounter created as part of
.... 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
... onset[x] Σ 0..1 Informacja o terminie wystąpienia schorzenia
.... onsetDateTime dateTime
.... onsetAge Age
.... onsetPeriod Period
.... onsetRange Range
.... onsetString string
... recordedDate ΣC 1..1 dateTime Termin postawienia/rejestracji diagnozy
Constraints: date-pattern
... asserter Σ 1..1 Reference(Practitioner) Pracownik medyczny stawiający diagnozę
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... 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ę
... stage C 0..1 BackboneElement Doprecyzowanie rozpoznania/stadium jednostki chorobowej
Constraints: con-1
.... summary C 0..1 CodeableConcept Doprecyzowanie rozpoznania/stadium jednostki chorobowej
Binding: PLeKOKComorbidDiagnosisStageSummaryVS (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
..... text Σ 0..1 string Opis doprecyzowania (należy podać jeżeli wybrano 'Inne')
... note 0..1 Annotation Dodatkowe adnotacje

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Condition.meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
Condition.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Condition.extension:use.​value[x] Base required PLeKOKDiagnosisRoleVS 📦0.5.0 This IG
Condition.extension:basedOn.​value[x].type Base extensible ResourceType 📍4.0.1 FHIR Std.
Condition.clinicalStatus Base required PLeKOKDiagnosisClinicalStatusVS 📦0.5.0 This IG
Condition.verificationStatus Base required PLeKOKDiagnosisVerificationStatusVS 📦0.5.0 This IG
Condition.code Base required PLeKOKComorbidDiagnosisVS 📦0.5.0 This IG
Condition.bodySite Base required PLeKOKBodyStructureVS 📦0.5.0 This IG
Condition.subject.type Base extensible ResourceType 📍4.0.1 FHIR Std.
Condition.encounter.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Condition.stage.summary Base required PLeKOKComorbidDiagnosisStageSummaryVS 📦0.5.0 This IG
Condition.evidence.code Base example Manifestation and Symptom Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
con-1 error Condition.stage Stage SHALL have summary or assessment summary.exists() or assessment.exists()
con-3 best practice Condition Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty()
con-4 error Condition If condition is abated, then clinicalStatus must be either inactive, resolved, or remission abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()
con-5 error Condition Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()
date-pattern error Condition.recordedDate 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 Condition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Condition 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 Condition 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 Condition If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Condition 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()

 

Inne struktury profilu: CSV, Excel, Schematron