eKOK Dokumentacja Integracyjna
0.5.0 - draft Poland flag

Profil zasobu: PLeKOKProvenance

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

Profil zasobu zawierający zakres danych dotyczących podpisu pracownika medycznego

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 Provenance

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Provenance C 0..* Provenance Who, What, When for a set of resources
Constraints: REG.xxx
... 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) PLeKOKProvenance
Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-provenance
.... 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
... Slices for target 1..* Reference(Resource) Target Reference(s) (usually version specific)
Slice: Unordered, Closed by value:type
.... target:encounter 0..1 Reference(Resource) Referencja do zasobu z danymi świadczenia
..... id 0..0
..... extension 0..0
..... reference 1..1 string Referencja do zasobu Encounter
..... type 1..1 uri Typ zasobu FHIR z danymi świadczenia
Fixed Value: Encounter
..... identifier 0..0
..... display 0..0
.... target:cardiacCareCard 1..1 Reference(Resource) Referencja do zasobu z danymi podstawowymi karty e-KOK
..... id 0..0
..... extension 0..0
..... reference 1..1 string Referencja do zasobu CarePlan
..... type 1..1 uri Typ zasobu FHIR z danymi karty e-KOK
Fixed Value: CarePlan
..... identifier 0..0
..... display 0..0
.... target:observation 0..* Reference(Resource) Referencja do zasobu z danymi dodatkowymi o pacjencie, w tym czynniku ryzyka
..... id 0..0
..... extension 0..0
..... reference 1..1 string Referencja do zasobu Observation
..... type 1..1 uri Typ zasobu FHIR z danymi dodatkowymi o pacjencie
Fixed Value: Observation
..... identifier 0..0
..... display 0..0
.... target:condition 0..* Reference(Resource) Referencja do zasobu z danymi diagnozy
..... id 0..0
..... extension 0..0
..... reference 1..1 string Referencja do zasobu Condition
..... type 1..1 uri Typ zasobu FHIR z danymi diagnozy
Fixed Value: Condition
..... identifier 0..0
..... display 0..0
.... target:consent 0..1 Reference(Resource) Referencja do zasobu z informacją o zgodzie pacjenta na współpracę
..... id 0..0
..... extension 0..0
..... reference 1..1 string Referencja do zasobu Consent
..... type 1..1 uri Typ zasobu FHIR z informacją o zgodzie pacjenta na współpracę
Fixed Value: Consent
..... identifier 0..0
..... display 0..0
.... target:serviceRequest 0..1 Reference(Resource) Referencja do zasobu z danymi podmiotu, do którego kierowany jest pacjent
..... id 0..0
..... extension 0..0
..... reference 1..1 string Referencja do zasobu ServiceRequest
..... type 1..1 uri Typ zasobu FHIR z danymi podmiotu, do którego kierowany jest pacjenta
Fixed Value: ServiceRequest
..... identifier 0..0
..... display 0..0
... occurred[x] 0..0
... recorded 1..1 instant Data rejestracji czynności której dotyczy podpis
... policy 0..0
... location 0..0
... reason 0..0
... activity 1..1 CodeableConcept Czynność objęta podpisem
.... id 0..0
.... extension 0..0
.... coding 1..1 Coding Czynność objęta podpisem w systemie kodowania
Binding: PLeKOKCardiacCareProvenanceActivityTypeVS (required)
..... id 0..0
..... extension 0..0
..... system 0..0
..... version 0..0
..... code 1..1 code create (utworzenie) | update (zmiana) | nullify (anulowanie) | completed (zakończenie) | reopen (wznowienie)
..... display 0..0
..... userSelected 0..0
.... text 0..0
... agent 1..1 BackboneElement Osoba wykonująca czynność objętą podpisem
.... id 0..0
.... extension 0..0
.... modifierExtension 0..0
.... type 0..0
.... role 0..0
.... who 1..1 Reference(Practitioner) Dane osoby podejmującej czynność
..... id 0..0
..... extension 0..0
..... reference 0..0
..... type 0..0
..... identifier 1..1 Identifier Identyfikator osoby podejmującej czynność
...... id 0..0
...... extension 0..0
...... use 0..0
...... type 0..0
...... system 1..1 uri System identyfikacji
...... value 1..1 string Wartość identyfikatora
...... period 0..0
...... assigner 0..0
..... display 1..1 string Imię i nazwisko osoby podejmującej czynność.
.... onBehalfOf 0..0
... entity 0..0
... signature 1..1 Signature Elektroniczny podpis osobisty
.... id 0..0
.... extension 0..0
.... type 1..1 Coding Typ podpisu
..... id 0..0
..... extension 0..0
..... system 0..0
..... version 0..0
..... code 1..1 code podpis-osobisty
Fixed Value: podpis-osobisty
..... display 0..0
..... userSelected 0..0
.... when 1..1 instant Data złożenia podpisu
.... who 1..1 Reference(Practitioner) Dane podpisującego
..... id 0..0
..... extension 0..0
..... reference 0..0
..... type 0..0
..... identifier 1..1 Identifier Identyfikator podpisującego
...... id 0..0
...... extension 0..0
...... use 0..0
...... type 0..0
...... system 1..1 uri System identyfikacji
...... value 1..1 string Wartość identyfikatora
...... period 0..0
...... assigner 0..0
..... display 1..1 string Imię i nazwisko podpisującego
.... onBehalfOf 0..1 Reference(Practitioner) Dane osoby w imieniu której złożony jest podpis
..... id 0..0
..... extension 0..0
..... reference 0..0
..... type 0..0
..... identifier 1..1 Identifier Identyfikator osoby w imieniu której złożony jest podpis
...... id 0..0
...... extension 0..0
...... use 0..0
...... type 0..0
...... system 1..1 uri System identyfikacji
...... value 1..1 string Wartość identyfikatora
...... period 0..0
...... assigner 0..0
..... display 1..1 string Imię i nazwisko osoby w imieniu której składany jest podpis.
.... targetFormat 1..1 code Format podpisywanego zasobu
.... sigFormat 1..1 code Format podpisu
.... data 1..1 base64Binary Dane z podpisem wewnętrznym

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Provenance.activity.​coding Base required PLeKOKCardiacCareProvenanceActivityTypeVS 📦0.5.0 This IG

Constraints

Id Grade Path(s) Description Expression
REG.xxx error Provenance Podpis elektroniczny jest nieprawidłowy lub stracił ważność. Szczegóły błędu: signature.exists() implies %server.verifySignature() = true
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Provenance C 0..* Provenance Who, What, When for a set of resources
Constraints: REG.xxx
... 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) PLeKOKProvenance

Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-provenance
... implicitRules ?!Σ 0..1 uri Wersja systemu (wartość ustawiana przez system P1)
.... target:encounter Σ 0..1 Reference(Resource) Referencja do zasobu z danymi świadczenia
..... extension 0..0
..... reference ΣC 1..1 string Referencja do zasobu Encounter
..... type Σ 1..1 uri Typ zasobu FHIR z danymi świadczenia
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Encounter
.... target:cardiacCareCard Σ 1..1 Reference(Resource) Referencja do zasobu z danymi podstawowymi karty e-KOK
..... extension 0..0
..... reference ΣC 1..1 string Referencja do zasobu CarePlan
..... type Σ 1..1 uri Typ zasobu FHIR z danymi karty e-KOK
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: CarePlan
.... target:observation Σ 0..* Reference(Resource) Referencja do zasobu z danymi dodatkowymi o pacjencie, w tym czynniku ryzyka
..... extension 0..0
..... reference ΣC 1..1 string Referencja do zasobu Observation
..... type Σ 1..1 uri Typ zasobu FHIR z danymi dodatkowymi o pacjencie
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Observation
.... target:condition Σ 0..* Reference(Resource) Referencja do zasobu z danymi diagnozy
..... extension 0..0
..... reference ΣC 1..1 string Referencja do zasobu Condition
..... type Σ 1..1 uri Typ zasobu FHIR z danymi diagnozy
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Condition
.... target:consent Σ 0..1 Reference(Resource) Referencja do zasobu z informacją o zgodzie pacjenta na współpracę
..... extension 0..0
..... reference ΣC 1..1 string Referencja do zasobu Consent
..... type Σ 1..1 uri Typ zasobu FHIR z informacją o zgodzie pacjenta na współpracę
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Consent
.... target:serviceRequest Σ 0..1 Reference(Resource) Referencja do zasobu z danymi podmiotu, do którego kierowany jest pacjent
..... extension 0..0
..... reference ΣC 1..1 string Referencja do zasobu ServiceRequest
..... type Σ 1..1 uri Typ zasobu FHIR z danymi podmiotu, do którego kierowany jest pacjenta
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: ServiceRequest
... recorded Σ 1..1 instant Data rejestracji czynności której dotyczy podpis
... activity 1..1 CodeableConcept Czynność objęta podpisem
Binding: ProvenanceActivityType (extensible): The activity that took place.
.... extension 0..0
.... coding Σ 1..1 Coding Czynność objęta podpisem w systemie kodowania
Binding: PLeKOKCardiacCareProvenanceActivityTypeVS (required)
..... extension 0..0
..... code Σ 1..1 code create (utworzenie) | update (zmiana) | nullify (anulowanie) | completed (zakończenie) | reopen (wznowienie)
... agent 1..1 BackboneElement Osoba wykonująca czynność objętą podpisem
.... who Σ 1..1 Reference(Practitioner) Dane osoby podejmującej czynność
..... extension 0..0
..... identifier Σ 1..1 Identifier Identyfikator osoby podejmującej czynność
...... extension 0..0
...... system Σ 1..1 uri System identyfikacji
Example General: http://www.acme.com/identifiers/patient
...... value Σ 1..1 string Wartość identyfikatora
Example General: 123456
..... display Σ 1..1 string Imię i nazwisko osoby podejmującej czynność.
... signature 1..1 Signature Elektroniczny podpis osobisty
.... extension 0..0
.... type Σ 1..1 Coding Typ podpisu
Binding: SignatureTypeCodes (preferred): An indication of the reason that an entity signed the object.
..... extension 0..0
..... code Σ 1..1 code podpis-osobisty
Fixed Value: podpis-osobisty
.... when Σ 1..1 instant Data złożenia podpisu
.... who Σ 1..1 Reference(Practitioner) Dane podpisującego
..... extension 0..0
..... identifier Σ 1..1 Identifier Identyfikator podpisującego
...... extension 0..0
...... system Σ 1..1 uri System identyfikacji
Example General: http://www.acme.com/identifiers/patient
...... value Σ 1..1 string Wartość identyfikatora
Example General: 123456
..... display Σ 1..1 string Imię i nazwisko podpisującego
.... onBehalfOf Σ 0..1 Reference(Practitioner) Dane osoby w imieniu której złożony jest podpis
..... extension 0..0
..... identifier Σ 1..1 Identifier Identyfikator osoby w imieniu której złożony jest podpis
...... extension 0..0
...... system Σ 1..1 uri System identyfikacji
Example General: http://www.acme.com/identifiers/patient
...... value Σ 1..1 string Wartość identyfikatora
Example General: 123456
..... display Σ 1..1 string Imię i nazwisko osoby w imieniu której składany jest podpis.
.... targetFormat 1..1 code Format podpisywanego zasobu
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.
.... sigFormat 1..1 code Format podpisu
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.
.... data 1..1 base64Binary Dane z podpisem wewnętrznym

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Provenance.target:encounter.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Provenance.target:cardiacCareCard.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Provenance.target:observation.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Provenance.target:condition.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Provenance.target:consent.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Provenance.target:serviceRequest.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Provenance.activity Base extensible Provenance activity type 📍4.0.1 FHIR Std.
Provenance.activity.​coding Base required PLeKOKCardiacCareProvenanceActivityTypeVS 📦0.5.0 This IG
Provenance.entity.role Base required ProvenanceEntityRole 📍4.0.1 FHIR Std.
Provenance.signature.​type Base preferred Signature Type Codes 📍4.0.1 FHIR Std.
Provenance.signature.​targetFormat Base required MimeType 📍4.0.1 FHIR Std.
Provenance.signature.​sigFormat Base required MimeType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
REG.xxx error Provenance Podpis elektroniczny jest nieprawidłowy lub stracił ważność. Szczegóły błędu: signature.exists() implies %server.verifySignature() = true
dom-2 error Provenance If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Provenance 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 Provenance 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 Provenance If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Provenance 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
.. Provenance C 0..* Provenance Who, What, When for a set of resources
Constraints: REG.xxx
... 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) PLeKOKProvenance

Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-provenance
.... 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)
.... target:encounter Σ 0..1 Reference(Resource) Referencja do zasobu z danymi świadczenia
..... extension 0..0
..... reference ΣC 1..1 string Referencja do zasobu Encounter
..... type Σ 1..1 uri Typ zasobu FHIR z danymi świadczenia
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Encounter
.... target:cardiacCareCard Σ 1..1 Reference(Resource) Referencja do zasobu z danymi podstawowymi karty e-KOK
..... extension 0..0
..... reference ΣC 1..1 string Referencja do zasobu CarePlan
..... type Σ 1..1 uri Typ zasobu FHIR z danymi karty e-KOK
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: CarePlan
.... target:observation Σ 0..* Reference(Resource) Referencja do zasobu z danymi dodatkowymi o pacjencie, w tym czynniku ryzyka
..... extension 0..0
..... reference ΣC 1..1 string Referencja do zasobu Observation
..... type Σ 1..1 uri Typ zasobu FHIR z danymi dodatkowymi o pacjencie
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Observation
.... target:condition Σ 0..* Reference(Resource) Referencja do zasobu z danymi diagnozy
..... extension 0..0
..... reference ΣC 1..1 string Referencja do zasobu Condition
..... type Σ 1..1 uri Typ zasobu FHIR z danymi diagnozy
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Condition
.... target:consent Σ 0..1 Reference(Resource) Referencja do zasobu z informacją o zgodzie pacjenta na współpracę
..... extension 0..0
..... reference ΣC 1..1 string Referencja do zasobu Consent
..... type Σ 1..1 uri Typ zasobu FHIR z informacją o zgodzie pacjenta na współpracę
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Consent
.... target:serviceRequest Σ 0..1 Reference(Resource) Referencja do zasobu z danymi podmiotu, do którego kierowany jest pacjent
..... extension 0..0
..... reference ΣC 1..1 string Referencja do zasobu ServiceRequest
..... type Σ 1..1 uri Typ zasobu FHIR z danymi podmiotu, do którego kierowany jest pacjenta
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: ServiceRequest
... recorded Σ 1..1 instant Data rejestracji czynności której dotyczy podpis
... activity 1..1 CodeableConcept Czynność objęta podpisem
Binding: ProvenanceActivityType (extensible): The activity that took place.
.... extension 0..0
.... coding Σ 1..1 Coding Czynność objęta podpisem w systemie kodowania
Binding: PLeKOKCardiacCareProvenanceActivityTypeVS (required)
..... extension 0..0
..... code Σ 1..1 code create (utworzenie) | update (zmiana) | nullify (anulowanie) | completed (zakończenie) | reopen (wznowienie)
... agent 1..1 BackboneElement Osoba wykonująca czynność objętą podpisem
.... who Σ 1..1 Reference(Practitioner) Dane osoby podejmującej czynność
..... extension 0..0
..... identifier Σ 1..1 Identifier Identyfikator osoby podejmującej czynność
...... extension 0..0
...... system Σ 1..1 uri System identyfikacji
Example General: http://www.acme.com/identifiers/patient
...... value Σ 1..1 string Wartość identyfikatora
Example General: 123456
..... display Σ 1..1 string Imię i nazwisko osoby podejmującej czynność.
... signature 1..1 Signature Elektroniczny podpis osobisty
.... extension 0..0
.... type Σ 1..1 Coding Typ podpisu
Binding: SignatureTypeCodes (preferred): An indication of the reason that an entity signed the object.
..... extension 0..0
..... code Σ 1..1 code podpis-osobisty
Fixed Value: podpis-osobisty
.... when Σ 1..1 instant Data złożenia podpisu
.... who Σ 1..1 Reference(Practitioner) Dane podpisującego
..... extension 0..0
..... identifier Σ 1..1 Identifier Identyfikator podpisującego
...... extension 0..0
...... system Σ 1..1 uri System identyfikacji
Example General: http://www.acme.com/identifiers/patient
...... value Σ 1..1 string Wartość identyfikatora
Example General: 123456
..... display Σ 1..1 string Imię i nazwisko podpisującego
.... onBehalfOf Σ 0..1 Reference(Practitioner) Dane osoby w imieniu której złożony jest podpis
..... extension 0..0
..... identifier Σ 1..1 Identifier Identyfikator osoby w imieniu której złożony jest podpis
...... extension 0..0
...... system Σ 1..1 uri System identyfikacji
Example General: http://www.acme.com/identifiers/patient
...... value Σ 1..1 string Wartość identyfikatora
Example General: 123456
..... display Σ 1..1 string Imię i nazwisko osoby w imieniu której składany jest podpis.
.... targetFormat 1..1 code Format podpisywanego zasobu
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.
.... sigFormat 1..1 code Format podpisu
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.
.... data 1..1 base64Binary Dane z podpisem wewnętrznym

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Provenance.meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
Provenance.target:encounter.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Provenance.target:cardiacCareCard.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Provenance.target:observation.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Provenance.target:condition.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Provenance.target:consent.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Provenance.target:serviceRequest.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Provenance.activity Base extensible Provenance activity type 📍4.0.1 FHIR Std.
Provenance.activity.​coding Base required PLeKOKCardiacCareProvenanceActivityTypeVS 📦0.5.0 This IG
Provenance.entity.role Base required ProvenanceEntityRole 📍4.0.1 FHIR Std.
Provenance.signature.​type Base preferred Signature Type Codes 📍4.0.1 FHIR Std.
Provenance.signature.​targetFormat Base required MimeType 📍4.0.1 FHIR Std.
Provenance.signature.​sigFormat Base required MimeType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
REG.xxx error Provenance Podpis elektroniczny jest nieprawidłowy lub stracił ważność. Szczegóły błędu: signature.exists() implies %server.verifySignature() = true
dom-2 error Provenance If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Provenance 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 Provenance 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 Provenance If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Provenance 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 Provenance

Summary

Mandatory: 21 elements(14 nested mandatory elements)
Fixed: 8 elements
Prohibited: 90 elements

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Provenance.target (Closed)

Widok Differential

Struktura bazuje na Provenance

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Provenance C 0..* Provenance Who, What, When for a set of resources
Constraints: REG.xxx
... 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) PLeKOKProvenance
Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-provenance
.... 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
... Slices for target 1..* Reference(Resource) Target Reference(s) (usually version specific)
Slice: Unordered, Closed by value:type
.... target:encounter 0..1 Reference(Resource) Referencja do zasobu z danymi świadczenia
..... id 0..0
..... extension 0..0
..... reference 1..1 string Referencja do zasobu Encounter
..... type 1..1 uri Typ zasobu FHIR z danymi świadczenia
Fixed Value: Encounter
..... identifier 0..0
..... display 0..0
.... target:cardiacCareCard 1..1 Reference(Resource) Referencja do zasobu z danymi podstawowymi karty e-KOK
..... id 0..0
..... extension 0..0
..... reference 1..1 string Referencja do zasobu CarePlan
..... type 1..1 uri Typ zasobu FHIR z danymi karty e-KOK
Fixed Value: CarePlan
..... identifier 0..0
..... display 0..0
.... target:observation 0..* Reference(Resource) Referencja do zasobu z danymi dodatkowymi o pacjencie, w tym czynniku ryzyka
..... id 0..0
..... extension 0..0
..... reference 1..1 string Referencja do zasobu Observation
..... type 1..1 uri Typ zasobu FHIR z danymi dodatkowymi o pacjencie
Fixed Value: Observation
..... identifier 0..0
..... display 0..0
.... target:condition 0..* Reference(Resource) Referencja do zasobu z danymi diagnozy
..... id 0..0
..... extension 0..0
..... reference 1..1 string Referencja do zasobu Condition
..... type 1..1 uri Typ zasobu FHIR z danymi diagnozy
Fixed Value: Condition
..... identifier 0..0
..... display 0..0
.... target:consent 0..1 Reference(Resource) Referencja do zasobu z informacją o zgodzie pacjenta na współpracę
..... id 0..0
..... extension 0..0
..... reference 1..1 string Referencja do zasobu Consent
..... type 1..1 uri Typ zasobu FHIR z informacją o zgodzie pacjenta na współpracę
Fixed Value: Consent
..... identifier 0..0
..... display 0..0
.... target:serviceRequest 0..1 Reference(Resource) Referencja do zasobu z danymi podmiotu, do którego kierowany jest pacjent
..... id 0..0
..... extension 0..0
..... reference 1..1 string Referencja do zasobu ServiceRequest
..... type 1..1 uri Typ zasobu FHIR z danymi podmiotu, do którego kierowany jest pacjenta
Fixed Value: ServiceRequest
..... identifier 0..0
..... display 0..0
... occurred[x] 0..0
... recorded 1..1 instant Data rejestracji czynności której dotyczy podpis
... policy 0..0
... location 0..0
... reason 0..0
... activity 1..1 CodeableConcept Czynność objęta podpisem
.... id 0..0
.... extension 0..0
.... coding 1..1 Coding Czynność objęta podpisem w systemie kodowania
Binding: PLeKOKCardiacCareProvenanceActivityTypeVS (required)
..... id 0..0
..... extension 0..0
..... system 0..0
..... version 0..0
..... code 1..1 code create (utworzenie) | update (zmiana) | nullify (anulowanie) | completed (zakończenie) | reopen (wznowienie)
..... display 0..0
..... userSelected 0..0
.... text 0..0
... agent 1..1 BackboneElement Osoba wykonująca czynność objętą podpisem
.... id 0..0
.... extension 0..0
.... modifierExtension 0..0
.... type 0..0
.... role 0..0
.... who 1..1 Reference(Practitioner) Dane osoby podejmującej czynność
..... id 0..0
..... extension 0..0
..... reference 0..0
..... type 0..0
..... identifier 1..1 Identifier Identyfikator osoby podejmującej czynność
...... id 0..0
...... extension 0..0
...... use 0..0
...... type 0..0
...... system 1..1 uri System identyfikacji
...... value 1..1 string Wartość identyfikatora
...... period 0..0
...... assigner 0..0
..... display 1..1 string Imię i nazwisko osoby podejmującej czynność.
.... onBehalfOf 0..0
... entity 0..0
... signature 1..1 Signature Elektroniczny podpis osobisty
.... id 0..0
.... extension 0..0
.... type 1..1 Coding Typ podpisu
..... id 0..0
..... extension 0..0
..... system 0..0
..... version 0..0
..... code 1..1 code podpis-osobisty
Fixed Value: podpis-osobisty
..... display 0..0
..... userSelected 0..0
.... when 1..1 instant Data złożenia podpisu
.... who 1..1 Reference(Practitioner) Dane podpisującego
..... id 0..0
..... extension 0..0
..... reference 0..0
..... type 0..0
..... identifier 1..1 Identifier Identyfikator podpisującego
...... id 0..0
...... extension 0..0
...... use 0..0
...... type 0..0
...... system 1..1 uri System identyfikacji
...... value 1..1 string Wartość identyfikatora
...... period 0..0
...... assigner 0..0
..... display 1..1 string Imię i nazwisko podpisującego
.... onBehalfOf 0..1 Reference(Practitioner) Dane osoby w imieniu której złożony jest podpis
..... id 0..0
..... extension 0..0
..... reference 0..0
..... type 0..0
..... identifier 1..1 Identifier Identyfikator osoby w imieniu której złożony jest podpis
...... id 0..0
...... extension 0..0
...... use 0..0
...... type 0..0
...... system 1..1 uri System identyfikacji
...... value 1..1 string Wartość identyfikatora
...... period 0..0
...... assigner 0..0
..... display 1..1 string Imię i nazwisko osoby w imieniu której składany jest podpis.
.... targetFormat 1..1 code Format podpisywanego zasobu
.... sigFormat 1..1 code Format podpisu
.... data 1..1 base64Binary Dane z podpisem wewnętrznym

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Provenance.activity.​coding Base required PLeKOKCardiacCareProvenanceActivityTypeVS 📦0.5.0 This IG

Constraints

Id Grade Path(s) Description Expression
REG.xxx error Provenance Podpis elektroniczny jest nieprawidłowy lub stracił ważność. Szczegóły błędu: signature.exists() implies %server.verifySignature() = true

Widok kluczowych elementów

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Provenance C 0..* Provenance Who, What, When for a set of resources
Constraints: REG.xxx
... 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) PLeKOKProvenance

Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-provenance
... implicitRules ?!Σ 0..1 uri Wersja systemu (wartość ustawiana przez system P1)
.... target:encounter Σ 0..1 Reference(Resource) Referencja do zasobu z danymi świadczenia
..... extension 0..0
..... reference ΣC 1..1 string Referencja do zasobu Encounter
..... type Σ 1..1 uri Typ zasobu FHIR z danymi świadczenia
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Encounter
.... target:cardiacCareCard Σ 1..1 Reference(Resource) Referencja do zasobu z danymi podstawowymi karty e-KOK
..... extension 0..0
..... reference ΣC 1..1 string Referencja do zasobu CarePlan
..... type Σ 1..1 uri Typ zasobu FHIR z danymi karty e-KOK
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: CarePlan
.... target:observation Σ 0..* Reference(Resource) Referencja do zasobu z danymi dodatkowymi o pacjencie, w tym czynniku ryzyka
..... extension 0..0
..... reference ΣC 1..1 string Referencja do zasobu Observation
..... type Σ 1..1 uri Typ zasobu FHIR z danymi dodatkowymi o pacjencie
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Observation
.... target:condition Σ 0..* Reference(Resource) Referencja do zasobu z danymi diagnozy
..... extension 0..0
..... reference ΣC 1..1 string Referencja do zasobu Condition
..... type Σ 1..1 uri Typ zasobu FHIR z danymi diagnozy
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Condition
.... target:consent Σ 0..1 Reference(Resource) Referencja do zasobu z informacją o zgodzie pacjenta na współpracę
..... extension 0..0
..... reference ΣC 1..1 string Referencja do zasobu Consent
..... type Σ 1..1 uri Typ zasobu FHIR z informacją o zgodzie pacjenta na współpracę
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Consent
.... target:serviceRequest Σ 0..1 Reference(Resource) Referencja do zasobu z danymi podmiotu, do którego kierowany jest pacjent
..... extension 0..0
..... reference ΣC 1..1 string Referencja do zasobu ServiceRequest
..... type Σ 1..1 uri Typ zasobu FHIR z danymi podmiotu, do którego kierowany jest pacjenta
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: ServiceRequest
... recorded Σ 1..1 instant Data rejestracji czynności której dotyczy podpis
... activity 1..1 CodeableConcept Czynność objęta podpisem
Binding: ProvenanceActivityType (extensible): The activity that took place.
.... extension 0..0
.... coding Σ 1..1 Coding Czynność objęta podpisem w systemie kodowania
Binding: PLeKOKCardiacCareProvenanceActivityTypeVS (required)
..... extension 0..0
..... code Σ 1..1 code create (utworzenie) | update (zmiana) | nullify (anulowanie) | completed (zakończenie) | reopen (wznowienie)
... agent 1..1 BackboneElement Osoba wykonująca czynność objętą podpisem
.... who Σ 1..1 Reference(Practitioner) Dane osoby podejmującej czynność
..... extension 0..0
..... identifier Σ 1..1 Identifier Identyfikator osoby podejmującej czynność
...... extension 0..0
...... system Σ 1..1 uri System identyfikacji
Example General: http://www.acme.com/identifiers/patient
...... value Σ 1..1 string Wartość identyfikatora
Example General: 123456
..... display Σ 1..1 string Imię i nazwisko osoby podejmującej czynność.
... signature 1..1 Signature Elektroniczny podpis osobisty
.... extension 0..0
.... type Σ 1..1 Coding Typ podpisu
Binding: SignatureTypeCodes (preferred): An indication of the reason that an entity signed the object.
..... extension 0..0
..... code Σ 1..1 code podpis-osobisty
Fixed Value: podpis-osobisty
.... when Σ 1..1 instant Data złożenia podpisu
.... who Σ 1..1 Reference(Practitioner) Dane podpisującego
..... extension 0..0
..... identifier Σ 1..1 Identifier Identyfikator podpisującego
...... extension 0..0
...... system Σ 1..1 uri System identyfikacji
Example General: http://www.acme.com/identifiers/patient
...... value Σ 1..1 string Wartość identyfikatora
Example General: 123456
..... display Σ 1..1 string Imię i nazwisko podpisującego
.... onBehalfOf Σ 0..1 Reference(Practitioner) Dane osoby w imieniu której złożony jest podpis
..... extension 0..0
..... identifier Σ 1..1 Identifier Identyfikator osoby w imieniu której złożony jest podpis
...... extension 0..0
...... system Σ 1..1 uri System identyfikacji
Example General: http://www.acme.com/identifiers/patient
...... value Σ 1..1 string Wartość identyfikatora
Example General: 123456
..... display Σ 1..1 string Imię i nazwisko osoby w imieniu której składany jest podpis.
.... targetFormat 1..1 code Format podpisywanego zasobu
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.
.... sigFormat 1..1 code Format podpisu
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.
.... data 1..1 base64Binary Dane z podpisem wewnętrznym

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Provenance.target:encounter.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Provenance.target:cardiacCareCard.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Provenance.target:observation.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Provenance.target:condition.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Provenance.target:consent.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Provenance.target:serviceRequest.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Provenance.activity Base extensible Provenance activity type 📍4.0.1 FHIR Std.
Provenance.activity.​coding Base required PLeKOKCardiacCareProvenanceActivityTypeVS 📦0.5.0 This IG
Provenance.entity.role Base required ProvenanceEntityRole 📍4.0.1 FHIR Std.
Provenance.signature.​type Base preferred Signature Type Codes 📍4.0.1 FHIR Std.
Provenance.signature.​targetFormat Base required MimeType 📍4.0.1 FHIR Std.
Provenance.signature.​sigFormat Base required MimeType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
REG.xxx error Provenance Podpis elektroniczny jest nieprawidłowy lub stracił ważność. Szczegóły błędu: signature.exists() implies %server.verifySignature() = true
dom-2 error Provenance If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Provenance 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 Provenance 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 Provenance If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Provenance 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
.. Provenance C 0..* Provenance Who, What, When for a set of resources
Constraints: REG.xxx
... 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) PLeKOKProvenance

Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-provenance
.... 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)
.... target:encounter Σ 0..1 Reference(Resource) Referencja do zasobu z danymi świadczenia
..... extension 0..0
..... reference ΣC 1..1 string Referencja do zasobu Encounter
..... type Σ 1..1 uri Typ zasobu FHIR z danymi świadczenia
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Encounter
.... target:cardiacCareCard Σ 1..1 Reference(Resource) Referencja do zasobu z danymi podstawowymi karty e-KOK
..... extension 0..0
..... reference ΣC 1..1 string Referencja do zasobu CarePlan
..... type Σ 1..1 uri Typ zasobu FHIR z danymi karty e-KOK
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: CarePlan
.... target:observation Σ 0..* Reference(Resource) Referencja do zasobu z danymi dodatkowymi o pacjencie, w tym czynniku ryzyka
..... extension 0..0
..... reference ΣC 1..1 string Referencja do zasobu Observation
..... type Σ 1..1 uri Typ zasobu FHIR z danymi dodatkowymi o pacjencie
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Observation
.... target:condition Σ 0..* Reference(Resource) Referencja do zasobu z danymi diagnozy
..... extension 0..0
..... reference ΣC 1..1 string Referencja do zasobu Condition
..... type Σ 1..1 uri Typ zasobu FHIR z danymi diagnozy
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Condition
.... target:consent Σ 0..1 Reference(Resource) Referencja do zasobu z informacją o zgodzie pacjenta na współpracę
..... extension 0..0
..... reference ΣC 1..1 string Referencja do zasobu Consent
..... type Σ 1..1 uri Typ zasobu FHIR z informacją o zgodzie pacjenta na współpracę
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Consent
.... target:serviceRequest Σ 0..1 Reference(Resource) Referencja do zasobu z danymi podmiotu, do którego kierowany jest pacjent
..... extension 0..0
..... reference ΣC 1..1 string Referencja do zasobu ServiceRequest
..... type Σ 1..1 uri Typ zasobu FHIR z danymi podmiotu, do którego kierowany jest pacjenta
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: ServiceRequest
... recorded Σ 1..1 instant Data rejestracji czynności której dotyczy podpis
... activity 1..1 CodeableConcept Czynność objęta podpisem
Binding: ProvenanceActivityType (extensible): The activity that took place.
.... extension 0..0
.... coding Σ 1..1 Coding Czynność objęta podpisem w systemie kodowania
Binding: PLeKOKCardiacCareProvenanceActivityTypeVS (required)
..... extension 0..0
..... code Σ 1..1 code create (utworzenie) | update (zmiana) | nullify (anulowanie) | completed (zakończenie) | reopen (wznowienie)
... agent 1..1 BackboneElement Osoba wykonująca czynność objętą podpisem
.... who Σ 1..1 Reference(Practitioner) Dane osoby podejmującej czynność
..... extension 0..0
..... identifier Σ 1..1 Identifier Identyfikator osoby podejmującej czynność
...... extension 0..0
...... system Σ 1..1 uri System identyfikacji
Example General: http://www.acme.com/identifiers/patient
...... value Σ 1..1 string Wartość identyfikatora
Example General: 123456
..... display Σ 1..1 string Imię i nazwisko osoby podejmującej czynność.
... signature 1..1 Signature Elektroniczny podpis osobisty
.... extension 0..0
.... type Σ 1..1 Coding Typ podpisu
Binding: SignatureTypeCodes (preferred): An indication of the reason that an entity signed the object.
..... extension 0..0
..... code Σ 1..1 code podpis-osobisty
Fixed Value: podpis-osobisty
.... when Σ 1..1 instant Data złożenia podpisu
.... who Σ 1..1 Reference(Practitioner) Dane podpisującego
..... extension 0..0
..... identifier Σ 1..1 Identifier Identyfikator podpisującego
...... extension 0..0
...... system Σ 1..1 uri System identyfikacji
Example General: http://www.acme.com/identifiers/patient
...... value Σ 1..1 string Wartość identyfikatora
Example General: 123456
..... display Σ 1..1 string Imię i nazwisko podpisującego
.... onBehalfOf Σ 0..1 Reference(Practitioner) Dane osoby w imieniu której złożony jest podpis
..... extension 0..0
..... identifier Σ 1..1 Identifier Identyfikator osoby w imieniu której złożony jest podpis
...... extension 0..0
...... system Σ 1..1 uri System identyfikacji
Example General: http://www.acme.com/identifiers/patient
...... value Σ 1..1 string Wartość identyfikatora
Example General: 123456
..... display Σ 1..1 string Imię i nazwisko osoby w imieniu której składany jest podpis.
.... targetFormat 1..1 code Format podpisywanego zasobu
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.
.... sigFormat 1..1 code Format podpisu
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.
.... data 1..1 base64Binary Dane z podpisem wewnętrznym

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Provenance.meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
Provenance.target:encounter.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Provenance.target:cardiacCareCard.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Provenance.target:observation.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Provenance.target:condition.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Provenance.target:consent.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Provenance.target:serviceRequest.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Provenance.activity Base extensible Provenance activity type 📍4.0.1 FHIR Std.
Provenance.activity.​coding Base required PLeKOKCardiacCareProvenanceActivityTypeVS 📦0.5.0 This IG
Provenance.entity.role Base required ProvenanceEntityRole 📍4.0.1 FHIR Std.
Provenance.signature.​type Base preferred Signature Type Codes 📍4.0.1 FHIR Std.
Provenance.signature.​targetFormat Base required MimeType 📍4.0.1 FHIR Std.
Provenance.signature.​sigFormat Base required MimeType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
REG.xxx error Provenance Podpis elektroniczny jest nieprawidłowy lub stracił ważność. Szczegóły błędu: signature.exists() implies %server.verifySignature() = true
dom-2 error Provenance If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Provenance 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 Provenance 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 Provenance If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Provenance 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 Provenance

Summary

Mandatory: 21 elements(14 nested mandatory elements)
Fixed: 8 elements
Prohibited: 90 elements

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Provenance.target (Closed)

 

Inne struktury profilu: CSV, Excel, Schematron