| Logiczny url: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-consent | Wersja: 0.5.0 | |||
| Active z dnia 2026-03-17 | Nazwa: PLeKOKConsent | |||
Profil zasobu zawierający zakres danych dotyczący zgody pacjenta na leczenie (zabiegi i operacje) wykonywane w ramach Karty Opieki Kardiologicznej.
Usages:
You can also check for usages in the FHIR IG Statistics
Opis sposobu prezentacji profilu ujęty jest w specyfikacji standardu FHIR.
Struktura bazuje na Consent
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Consent | A healthcare consumer's choices to permit or deny recipients or roles to perform actions for specific purposes and periods of time | |
![]() ![]() |
0..1 | id | Identyfikator logiczny zasobu (wartość nadawana przez system P1) | |
![]() ![]() |
1..1 | Meta | Metadane zasobu | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..1 | id | Wersja zasobu (wartość ustawiana przez system P1) | |
![]() ![]() ![]() |
0..1 | instant | Data aktualizacji zasobu (wartość ustawiana przez system P1) | |
![]() ![]() ![]() |
0..1 | uri | Identyfikator źródła zasobu (wartość ustawiana przez system, przy rejestracji lub aktualizacji zasobu) | |
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | PLeKOKConsent Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-consent | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
0..1 | uri | Wersja systemu (wartość ustawiana przez system P1) | |
![]() ![]() |
0..1 | code | Language of the resource content Required Pattern: pl | |
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | code | Status zgody. Przyjmuje wartości 'active' (zgoda aktywna), 'rejected' - nastąpiła odmowa zgody przez pacjenta, 'inactive' (zgoda nieaktywna, np. została zastąpiona inną zgodą lub wygasła jej ważność) Binding: PLeKOKConsentStatusVS (required) | |
![]() ![]() |
1..1 | CodeableConcept | Rodzaj zgody - zgoda na leczenie (zabiegi i operacje) | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | uri | System kodowania Fixed Value: http://terminology.hl7.org/CodeSystem/consentscope | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | code | Kod Fixed Value: treatment | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | CodeableConcept | Typ dokumentu zgody (LOINC 59284-0) - Zgoda pacjenta na wykonywanie zabiegów i operacji | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | uri | System kodowania Fixed Value: http://loinc.org | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | code | Kod Fixed Value: 59284-0 | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | Reference(Patient) | Dane pacjenta | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | string | Referencja do zasobu Patient | |
![]() ![]() ![]() |
1..1 | uri | Typ zasobu z danymi pacjenta (Patient) Fixed Value: Patient | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | dateTime | Data zarejestrowania zgody. | |
![]() ![]() |
1..1 | Reference(Organization | Patient | Practitioner | RelatedPerson | PractitionerRole) | Who is agreeing to the policy and rules Slice: Unordered, Closed by value:type | |
![]() ![]() ![]() |
0..1 | Reference(Patient) | Dane pacjenta | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | string | Referencja do zasobu Patient | |
![]() ![]() ![]() ![]() |
1..1 | uri | Typ zasobu z danymi pacjenta (Patient) Fixed Value: Patient | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..1 | Reference(RelatedPerson) | Dane Pełnomocnika/opiekuna pacjenta | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | string | Referencja do zasobu RelatedPerson | |
![]() ![]() ![]() ![]() |
1..1 | uri | Typ zasobu z danymi pełnomocnika/opiekuna (RelatedPerson) Fixed Value: RelatedPerson | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | Reference(Organization) | Podmiot pozyskujący i przechowujący zgodę, np. szpital w którym pacjent podpisał zgodę. | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | Identifier | Identyfikator świadczeniodawcy | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | uri | OID systemu identyfikacji świadczeniodawcy | |
![]() ![]() ![]() ![]() |
1..1 | string | Identyfikator świadczeniodawcy | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | string | Nazwa świadczeniodawcy | |
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | CodeableConcept | Model wyrażania zgody lub sprzeciwu. Wymaga się użycia wartości OPT-IN, tj. domniemania braku zgody i wymagania jawnego wyrażenia zgody pacjenta. | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | uri | System kodowania Fixed Value: http://terminology.hl7.org/CodeSystem/v3-ActCode | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | code | Kod Fixed Value: OPTIN | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Consent.status | Base | required | PLeKOKConsentStatusVS | 📦0.5.0 | This IG |
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Consent | A healthcare consumer's choices to permit or deny recipients or roles to perform actions for specific purposes and periods of time Constraints: ppc-1, ppc-2, ppc-3, ppc-4, ppc-5 | ||||
![]() ![]() |
Σ | 0..1 | id | Identyfikator logiczny zasobu (wartość nadawana przez system P1) | ||||
![]() ![]() |
Σ | 1..1 | Meta | Metadane zasobu | ||||
![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() |
Σ | 0..1 | id | Wersja zasobu (wartość ustawiana przez system P1) | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | Data aktualizacji zasobu (wartość ustawiana przez system P1) | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Identyfikator źródła zasobu (wartość ustawiana przez system, przy rejestracji lub aktualizacji zasobu) | ||||
![]() ![]() ![]() |
Σ | 1..1 | canonical(StructureDefinition) | PLeKOKConsent Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-consent | ||||
![]() ![]() |
?!Σ | 0..1 | uri | Wersja systemu (wartość ustawiana przez system P1) | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Required Pattern: pl | |||||
![]() ![]() |
?!Σ | 1..1 | code | Status zgody. Przyjmuje wartości 'active' (zgoda aktywna), 'rejected' - nastąpiła odmowa zgody przez pacjenta, 'inactive' (zgoda nieaktywna, np. została zastąpiona inną zgodą lub wygasła jej ważność) Binding: PLeKOKConsentStatusVS (required) | ||||
![]() ![]() |
?!Σ | 1..1 | CodeableConcept | Rodzaj zgody - zgoda na leczenie (zabiegi i operacje) Binding: ConsentScopeCodes (extensible): The four anticipated uses for the Consent Resource. | ||||
![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | System kodowania Fixed Value: http://terminology.hl7.org/CodeSystem/consentscope | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Kod Fixed Value: treatment | ||||
![]() ![]() |
Σ | 1..1 | CodeableConcept | Typ dokumentu zgody (LOINC 59284-0) - Zgoda pacjenta na wykonywanie zabiegów i operacji Binding: ConsentCategoryCodes (extensible): A classification of the type of consents found in a consent statement. | ||||
![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | System kodowania Fixed Value: http://loinc.org | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Kod Fixed Value: 59284-0 | ||||
![]() ![]() |
Σ | 1..1 | Reference(Patient) | Dane pacjenta | ||||
![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() |
ΣC | 1..1 | string | Referencja do zasobu Patient | ||||
![]() ![]() ![]() |
Σ | 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 | ||||
![]() ![]() |
Σ | 1..1 | dateTime | Data zarejestrowania zgody. | ||||
![]() ![]() |
Σ | 1..1 | Reference(Organization | Patient | Practitioner | RelatedPerson | PractitionerRole) | Who is agreeing to the policy and rules Slice: Unordered, Closed by value:type | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Patient) | Dane pacjenta | ||||
![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | string | Referencja do zasobu Patient | ||||
![]() ![]() ![]() ![]() |
Σ | 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 | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(RelatedPerson) | Dane Pełnomocnika/opiekuna pacjenta | ||||
![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | string | Referencja do zasobu RelatedPerson | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Typ zasobu z danymi pełnomocnika/opiekuna (RelatedPerson) Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: RelatedPerson | ||||
![]() ![]() |
Σ | 1..1 | Reference(Organization) | Podmiot pozyskujący i przechowujący zgodę, np. szpital w którym pacjent podpisał zgodę. | ||||
![]() ![]() ![]() |
Σ | 1..1 | Identifier | Identyfikator świadczeniodawcy | ||||
![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | OID systemu identyfikacji świadczeniodawcy Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Identyfikator świadczeniodawcy Example General: 123456 | ||||
![]() ![]() ![]() |
Σ | 1..1 | string | Nazwa świadczeniodawcy | ||||
![]() ![]() |
ΣC | 1..1 | CodeableConcept | Model wyrażania zgody lub sprzeciwu. Wymaga się użycia wartości OPT-IN, tj. domniemania braku zgody i wymagania jawnego wyrażenia zgody pacjenta. Binding: ConsentPolicyRuleCodes (extensible): Regulatory policy examples. | ||||
![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | System kodowania Fixed Value: http://terminology.hl7.org/CodeSystem/v3-ActCode | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Kod Fixed Value: OPTIN | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Consent.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Consent.status | Base | required | PLeKOKConsentStatusVS | 📦0.5.0 | This IG |
| Consent.scope | Base | extensible | Consent Scope Codes | 📍4.0.1 | FHIR Std. |
| Consent.category | Base | extensible | Consent Category Codes | 📍4.0.1 | FHIR Std. |
| Consent.patient.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Consent.performer:patient.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Consent.performer:relatedPerson.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Consent.policyRule | Base | extensible | Consent PolicyRule Codes | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Consent | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Consent | 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 | Consent | 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 | Consent | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Consent | 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()
|
| ppc-1 | error | Consent | Either a Policy or PolicyRule |
policy.exists() or policyRule.exists()
|
| ppc-2 | error | Consent | IF Scope=privacy, there must be a patient |
patient.exists() or scope.coding.where(system='something' and code='patient-privacy').exists().not()
|
| ppc-3 | error | Consent | IF Scope=research, there must be a patient |
patient.exists() or scope.coding.where(system='something' and code='research').exists().not()
|
| ppc-4 | error | Consent | IF Scope=adr, there must be a patient |
patient.exists() or scope.coding.where(system='something' and code='adr').exists().not()
|
| ppc-5 | error | Consent | IF Scope=treatment, there must be a patient |
patient.exists() or scope.coding.where(system='something' and code='treatment').exists().not()
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Consent | A healthcare consumer's choices to permit or deny recipients or roles to perform actions for specific purposes and periods of time Constraints: ppc-1, ppc-2, ppc-3, ppc-4, ppc-5 | ||||
![]() ![]() |
Σ | 0..1 | id | Identyfikator logiczny zasobu (wartość nadawana przez system P1) | ||||
![]() ![]() |
Σ | 1..1 | Meta | Metadane zasobu | ||||
![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() |
Σ | 0..1 | id | Wersja zasobu (wartość ustawiana przez system P1) | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | Data aktualizacji zasobu (wartość ustawiana przez system P1) | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Identyfikator źródła zasobu (wartość ustawiana przez system, przy rejestracji lub aktualizacji zasobu) | ||||
![]() ![]() ![]() |
Σ | 1..1 | canonical(StructureDefinition) | PLeKOKConsent Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-consent | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() |
?!Σ | 0..1 | uri | Wersja systemu (wartość ustawiana przez system P1) | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Required Pattern: pl | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() |
?!Σ | 1..1 | code | Status zgody. Przyjmuje wartości 'active' (zgoda aktywna), 'rejected' - nastąpiła odmowa zgody przez pacjenta, 'inactive' (zgoda nieaktywna, np. została zastąpiona inną zgodą lub wygasła jej ważność) Binding: PLeKOKConsentStatusVS (required) | ||||
![]() ![]() |
?!Σ | 1..1 | CodeableConcept | Rodzaj zgody - zgoda na leczenie (zabiegi i operacje) Binding: ConsentScopeCodes (extensible): The four anticipated uses for the Consent Resource. | ||||
![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | System kodowania Fixed Value: http://terminology.hl7.org/CodeSystem/consentscope | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Kod Fixed Value: treatment | ||||
![]() ![]() |
Σ | 1..1 | CodeableConcept | Typ dokumentu zgody (LOINC 59284-0) - Zgoda pacjenta na wykonywanie zabiegów i operacji Binding: ConsentCategoryCodes (extensible): A classification of the type of consents found in a consent statement. | ||||
![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | System kodowania Fixed Value: http://loinc.org | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Kod Fixed Value: 59284-0 | ||||
![]() ![]() |
Σ | 1..1 | Reference(Patient) | Dane pacjenta | ||||
![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() |
ΣC | 1..1 | string | Referencja do zasobu Patient | ||||
![]() ![]() ![]() |
Σ | 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 | ||||
![]() ![]() |
Σ | 1..1 | dateTime | Data zarejestrowania zgody. | ||||
![]() ![]() |
Σ | 1..1 | Reference(Organization | Patient | Practitioner | RelatedPerson | PractitionerRole) | Who is agreeing to the policy and rules Slice: Unordered, Closed by value:type | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Patient) | Dane pacjenta | ||||
![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | string | Referencja do zasobu Patient | ||||
![]() ![]() ![]() ![]() |
Σ | 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 | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(RelatedPerson) | Dane Pełnomocnika/opiekuna pacjenta | ||||
![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | string | Referencja do zasobu RelatedPerson | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Typ zasobu z danymi pełnomocnika/opiekuna (RelatedPerson) Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: RelatedPerson | ||||
![]() ![]() |
Σ | 1..1 | Reference(Organization) | Podmiot pozyskujący i przechowujący zgodę, np. szpital w którym pacjent podpisał zgodę. | ||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
Σ | 1..1 | Identifier | Identyfikator świadczeniodawcy | ||||
![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | OID systemu identyfikacji świadczeniodawcy Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Identyfikator świadczeniodawcy Example General: 123456 | ||||
![]() ![]() ![]() |
Σ | 1..1 | string | Nazwa świadczeniodawcy | ||||
![]() ![]() |
ΣC | 1..1 | CodeableConcept | Model wyrażania zgody lub sprzeciwu. Wymaga się użycia wartości OPT-IN, tj. domniemania braku zgody i wymagania jawnego wyrażenia zgody pacjenta. Binding: ConsentPolicyRuleCodes (extensible): Regulatory policy examples. | ||||
![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | System kodowania Fixed Value: http://terminology.hl7.org/CodeSystem/v3-ActCode | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Kod Fixed Value: OPTIN | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Consent.meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std. |
| Consent.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Consent.status | Base | required | PLeKOKConsentStatusVS | 📦0.5.0 | This IG |
| Consent.scope | Base | extensible | Consent Scope Codes | 📍4.0.1 | FHIR Std. |
| Consent.category | Base | extensible | Consent Category Codes | 📍4.0.1 | FHIR Std. |
| Consent.patient.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Consent.performer:patient.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Consent.performer:relatedPerson.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Consent.policyRule | Base | extensible | Consent PolicyRule Codes | 📍4.0.1 | FHIR Std. |
| Consent.provision.type | Base | required | ConsentProvisionType | 📍4.0.1 | FHIR Std. |
| Consent.provision.actor.role | Base | extensible | SecurityRoleType | 📍4.0.1 | FHIR Std. |
| Consent.provision.action | Base | example | Consent Action Codes | 📍4.0.1 | FHIR Std. |
| Consent.provision.securityLabel | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std. |
| Consent.provision.purpose | Base | extensible | PurposeOfUse | 📦3.1.0 | THO v7.1 |
| Consent.provision.class | Base | extensible | Consent Content Class | 📍4.0.1 | FHIR Std. |
| Consent.provision.code | Base | example | Consent Content Codes | 📍4.0.1 | FHIR Std. |
| Consent.provision.data.meaning | Base | required | ConsentDataMeaning | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Consent | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Consent | 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 | Consent | 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 | Consent | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Consent | 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()
|
| ppc-1 | error | Consent | Either a Policy or PolicyRule |
policy.exists() or policyRule.exists()
|
| ppc-2 | error | Consent | IF Scope=privacy, there must be a patient |
patient.exists() or scope.coding.where(system='something' and code='patient-privacy').exists().not()
|
| ppc-3 | error | Consent | IF Scope=research, there must be a patient |
patient.exists() or scope.coding.where(system='something' and code='research').exists().not()
|
| ppc-4 | error | Consent | IF Scope=adr, there must be a patient |
patient.exists() or scope.coding.where(system='something' and code='adr').exists().not()
|
| ppc-5 | error | Consent | IF Scope=treatment, there must be a patient |
patient.exists() or scope.coding.where(system='something' and code='treatment').exists().not()
|
Widok Differential
Struktura bazuje na Consent
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Consent | A healthcare consumer's choices to permit or deny recipients or roles to perform actions for specific purposes and periods of time | |
![]() ![]() |
0..1 | id | Identyfikator logiczny zasobu (wartość nadawana przez system P1) | |
![]() ![]() |
1..1 | Meta | Metadane zasobu | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..1 | id | Wersja zasobu (wartość ustawiana przez system P1) | |
![]() ![]() ![]() |
0..1 | instant | Data aktualizacji zasobu (wartość ustawiana przez system P1) | |
![]() ![]() ![]() |
0..1 | uri | Identyfikator źródła zasobu (wartość ustawiana przez system, przy rejestracji lub aktualizacji zasobu) | |
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | PLeKOKConsent Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-consent | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
0..1 | uri | Wersja systemu (wartość ustawiana przez system P1) | |
![]() ![]() |
0..1 | code | Language of the resource content Required Pattern: pl | |
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | code | Status zgody. Przyjmuje wartości 'active' (zgoda aktywna), 'rejected' - nastąpiła odmowa zgody przez pacjenta, 'inactive' (zgoda nieaktywna, np. została zastąpiona inną zgodą lub wygasła jej ważność) Binding: PLeKOKConsentStatusVS (required) | |
![]() ![]() |
1..1 | CodeableConcept | Rodzaj zgody - zgoda na leczenie (zabiegi i operacje) | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | uri | System kodowania Fixed Value: http://terminology.hl7.org/CodeSystem/consentscope | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | code | Kod Fixed Value: treatment | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | CodeableConcept | Typ dokumentu zgody (LOINC 59284-0) - Zgoda pacjenta na wykonywanie zabiegów i operacji | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | uri | System kodowania Fixed Value: http://loinc.org | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | code | Kod Fixed Value: 59284-0 | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | Reference(Patient) | Dane pacjenta | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | string | Referencja do zasobu Patient | |
![]() ![]() ![]() |
1..1 | uri | Typ zasobu z danymi pacjenta (Patient) Fixed Value: Patient | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | dateTime | Data zarejestrowania zgody. | |
![]() ![]() |
1..1 | Reference(Organization | Patient | Practitioner | RelatedPerson | PractitionerRole) | Who is agreeing to the policy and rules Slice: Unordered, Closed by value:type | |
![]() ![]() ![]() |
0..1 | Reference(Patient) | Dane pacjenta | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | string | Referencja do zasobu Patient | |
![]() ![]() ![]() ![]() |
1..1 | uri | Typ zasobu z danymi pacjenta (Patient) Fixed Value: Patient | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..1 | Reference(RelatedPerson) | Dane Pełnomocnika/opiekuna pacjenta | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | string | Referencja do zasobu RelatedPerson | |
![]() ![]() ![]() ![]() |
1..1 | uri | Typ zasobu z danymi pełnomocnika/opiekuna (RelatedPerson) Fixed Value: RelatedPerson | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | Reference(Organization) | Podmiot pozyskujący i przechowujący zgodę, np. szpital w którym pacjent podpisał zgodę. | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | Identifier | Identyfikator świadczeniodawcy | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | uri | OID systemu identyfikacji świadczeniodawcy | |
![]() ![]() ![]() ![]() |
1..1 | string | Identyfikator świadczeniodawcy | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | string | Nazwa świadczeniodawcy | |
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | CodeableConcept | Model wyrażania zgody lub sprzeciwu. Wymaga się użycia wartości OPT-IN, tj. domniemania braku zgody i wymagania jawnego wyrażenia zgody pacjenta. | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | uri | System kodowania Fixed Value: http://terminology.hl7.org/CodeSystem/v3-ActCode | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | code | Kod Fixed Value: OPTIN | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Consent.status | Base | required | PLeKOKConsentStatusVS | 📦0.5.0 | This IG |
Widok kluczowych elementów
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Consent | A healthcare consumer's choices to permit or deny recipients or roles to perform actions for specific purposes and periods of time Constraints: ppc-1, ppc-2, ppc-3, ppc-4, ppc-5 | ||||
![]() ![]() |
Σ | 0..1 | id | Identyfikator logiczny zasobu (wartość nadawana przez system P1) | ||||
![]() ![]() |
Σ | 1..1 | Meta | Metadane zasobu | ||||
![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() |
Σ | 0..1 | id | Wersja zasobu (wartość ustawiana przez system P1) | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | Data aktualizacji zasobu (wartość ustawiana przez system P1) | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Identyfikator źródła zasobu (wartość ustawiana przez system, przy rejestracji lub aktualizacji zasobu) | ||||
![]() ![]() ![]() |
Σ | 1..1 | canonical(StructureDefinition) | PLeKOKConsent Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-consent | ||||
![]() ![]() |
?!Σ | 0..1 | uri | Wersja systemu (wartość ustawiana przez system P1) | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Required Pattern: pl | |||||
![]() ![]() |
?!Σ | 1..1 | code | Status zgody. Przyjmuje wartości 'active' (zgoda aktywna), 'rejected' - nastąpiła odmowa zgody przez pacjenta, 'inactive' (zgoda nieaktywna, np. została zastąpiona inną zgodą lub wygasła jej ważność) Binding: PLeKOKConsentStatusVS (required) | ||||
![]() ![]() |
?!Σ | 1..1 | CodeableConcept | Rodzaj zgody - zgoda na leczenie (zabiegi i operacje) Binding: ConsentScopeCodes (extensible): The four anticipated uses for the Consent Resource. | ||||
![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | System kodowania Fixed Value: http://terminology.hl7.org/CodeSystem/consentscope | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Kod Fixed Value: treatment | ||||
![]() ![]() |
Σ | 1..1 | CodeableConcept | Typ dokumentu zgody (LOINC 59284-0) - Zgoda pacjenta na wykonywanie zabiegów i operacji Binding: ConsentCategoryCodes (extensible): A classification of the type of consents found in a consent statement. | ||||
![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | System kodowania Fixed Value: http://loinc.org | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Kod Fixed Value: 59284-0 | ||||
![]() ![]() |
Σ | 1..1 | Reference(Patient) | Dane pacjenta | ||||
![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() |
ΣC | 1..1 | string | Referencja do zasobu Patient | ||||
![]() ![]() ![]() |
Σ | 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 | ||||
![]() ![]() |
Σ | 1..1 | dateTime | Data zarejestrowania zgody. | ||||
![]() ![]() |
Σ | 1..1 | Reference(Organization | Patient | Practitioner | RelatedPerson | PractitionerRole) | Who is agreeing to the policy and rules Slice: Unordered, Closed by value:type | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Patient) | Dane pacjenta | ||||
![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | string | Referencja do zasobu Patient | ||||
![]() ![]() ![]() ![]() |
Σ | 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 | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(RelatedPerson) | Dane Pełnomocnika/opiekuna pacjenta | ||||
![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | string | Referencja do zasobu RelatedPerson | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Typ zasobu z danymi pełnomocnika/opiekuna (RelatedPerson) Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: RelatedPerson | ||||
![]() ![]() |
Σ | 1..1 | Reference(Organization) | Podmiot pozyskujący i przechowujący zgodę, np. szpital w którym pacjent podpisał zgodę. | ||||
![]() ![]() ![]() |
Σ | 1..1 | Identifier | Identyfikator świadczeniodawcy | ||||
![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | OID systemu identyfikacji świadczeniodawcy Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Identyfikator świadczeniodawcy Example General: 123456 | ||||
![]() ![]() ![]() |
Σ | 1..1 | string | Nazwa świadczeniodawcy | ||||
![]() ![]() |
ΣC | 1..1 | CodeableConcept | Model wyrażania zgody lub sprzeciwu. Wymaga się użycia wartości OPT-IN, tj. domniemania braku zgody i wymagania jawnego wyrażenia zgody pacjenta. Binding: ConsentPolicyRuleCodes (extensible): Regulatory policy examples. | ||||
![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | System kodowania Fixed Value: http://terminology.hl7.org/CodeSystem/v3-ActCode | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Kod Fixed Value: OPTIN | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Consent.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Consent.status | Base | required | PLeKOKConsentStatusVS | 📦0.5.0 | This IG |
| Consent.scope | Base | extensible | Consent Scope Codes | 📍4.0.1 | FHIR Std. |
| Consent.category | Base | extensible | Consent Category Codes | 📍4.0.1 | FHIR Std. |
| Consent.patient.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Consent.performer:patient.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Consent.performer:relatedPerson.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Consent.policyRule | Base | extensible | Consent PolicyRule Codes | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Consent | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Consent | 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 | Consent | 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 | Consent | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Consent | 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()
|
| ppc-1 | error | Consent | Either a Policy or PolicyRule |
policy.exists() or policyRule.exists()
|
| ppc-2 | error | Consent | IF Scope=privacy, there must be a patient |
patient.exists() or scope.coding.where(system='something' and code='patient-privacy').exists().not()
|
| ppc-3 | error | Consent | IF Scope=research, there must be a patient |
patient.exists() or scope.coding.where(system='something' and code='research').exists().not()
|
| ppc-4 | error | Consent | IF Scope=adr, there must be a patient |
patient.exists() or scope.coding.where(system='something' and code='adr').exists().not()
|
| ppc-5 | error | Consent | IF Scope=treatment, there must be a patient |
patient.exists() or scope.coding.where(system='something' and code='treatment').exists().not()
|
Widok Snapshot
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Consent | A healthcare consumer's choices to permit or deny recipients or roles to perform actions for specific purposes and periods of time Constraints: ppc-1, ppc-2, ppc-3, ppc-4, ppc-5 | ||||
![]() ![]() |
Σ | 0..1 | id | Identyfikator logiczny zasobu (wartość nadawana przez system P1) | ||||
![]() ![]() |
Σ | 1..1 | Meta | Metadane zasobu | ||||
![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() |
Σ | 0..1 | id | Wersja zasobu (wartość ustawiana przez system P1) | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | Data aktualizacji zasobu (wartość ustawiana przez system P1) | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Identyfikator źródła zasobu (wartość ustawiana przez system, przy rejestracji lub aktualizacji zasobu) | ||||
![]() ![]() ![]() |
Σ | 1..1 | canonical(StructureDefinition) | PLeKOKConsent Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-consent | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() |
?!Σ | 0..1 | uri | Wersja systemu (wartość ustawiana przez system P1) | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Required Pattern: pl | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() |
?!Σ | 1..1 | code | Status zgody. Przyjmuje wartości 'active' (zgoda aktywna), 'rejected' - nastąpiła odmowa zgody przez pacjenta, 'inactive' (zgoda nieaktywna, np. została zastąpiona inną zgodą lub wygasła jej ważność) Binding: PLeKOKConsentStatusVS (required) | ||||
![]() ![]() |
?!Σ | 1..1 | CodeableConcept | Rodzaj zgody - zgoda na leczenie (zabiegi i operacje) Binding: ConsentScopeCodes (extensible): The four anticipated uses for the Consent Resource. | ||||
![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | System kodowania Fixed Value: http://terminology.hl7.org/CodeSystem/consentscope | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Kod Fixed Value: treatment | ||||
![]() ![]() |
Σ | 1..1 | CodeableConcept | Typ dokumentu zgody (LOINC 59284-0) - Zgoda pacjenta na wykonywanie zabiegów i operacji Binding: ConsentCategoryCodes (extensible): A classification of the type of consents found in a consent statement. | ||||
![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | System kodowania Fixed Value: http://loinc.org | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Kod Fixed Value: 59284-0 | ||||
![]() ![]() |
Σ | 1..1 | Reference(Patient) | Dane pacjenta | ||||
![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() |
ΣC | 1..1 | string | Referencja do zasobu Patient | ||||
![]() ![]() ![]() |
Σ | 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 | ||||
![]() ![]() |
Σ | 1..1 | dateTime | Data zarejestrowania zgody. | ||||
![]() ![]() |
Σ | 1..1 | Reference(Organization | Patient | Practitioner | RelatedPerson | PractitionerRole) | Who is agreeing to the policy and rules Slice: Unordered, Closed by value:type | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Patient) | Dane pacjenta | ||||
![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | string | Referencja do zasobu Patient | ||||
![]() ![]() ![]() ![]() |
Σ | 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 | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(RelatedPerson) | Dane Pełnomocnika/opiekuna pacjenta | ||||
![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | string | Referencja do zasobu RelatedPerson | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Typ zasobu z danymi pełnomocnika/opiekuna (RelatedPerson) Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: RelatedPerson | ||||
![]() ![]() |
Σ | 1..1 | Reference(Organization) | Podmiot pozyskujący i przechowujący zgodę, np. szpital w którym pacjent podpisał zgodę. | ||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
Σ | 1..1 | Identifier | Identyfikator świadczeniodawcy | ||||
![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | OID systemu identyfikacji świadczeniodawcy Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Identyfikator świadczeniodawcy Example General: 123456 | ||||
![]() ![]() ![]() |
Σ | 1..1 | string | Nazwa świadczeniodawcy | ||||
![]() ![]() |
ΣC | 1..1 | CodeableConcept | Model wyrażania zgody lub sprzeciwu. Wymaga się użycia wartości OPT-IN, tj. domniemania braku zgody i wymagania jawnego wyrażenia zgody pacjenta. Binding: ConsentPolicyRuleCodes (extensible): Regulatory policy examples. | ||||
![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | System kodowania Fixed Value: http://terminology.hl7.org/CodeSystem/v3-ActCode | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Kod Fixed Value: OPTIN | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Consent.meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std. |
| Consent.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Consent.status | Base | required | PLeKOKConsentStatusVS | 📦0.5.0 | This IG |
| Consent.scope | Base | extensible | Consent Scope Codes | 📍4.0.1 | FHIR Std. |
| Consent.category | Base | extensible | Consent Category Codes | 📍4.0.1 | FHIR Std. |
| Consent.patient.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Consent.performer:patient.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Consent.performer:relatedPerson.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Consent.policyRule | Base | extensible | Consent PolicyRule Codes | 📍4.0.1 | FHIR Std. |
| Consent.provision.type | Base | required | ConsentProvisionType | 📍4.0.1 | FHIR Std. |
| Consent.provision.actor.role | Base | extensible | SecurityRoleType | 📍4.0.1 | FHIR Std. |
| Consent.provision.action | Base | example | Consent Action Codes | 📍4.0.1 | FHIR Std. |
| Consent.provision.securityLabel | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std. |
| Consent.provision.purpose | Base | extensible | PurposeOfUse | 📦3.1.0 | THO v7.1 |
| Consent.provision.class | Base | extensible | Consent Content Class | 📍4.0.1 | FHIR Std. |
| Consent.provision.code | Base | example | Consent Content Codes | 📍4.0.1 | FHIR Std. |
| Consent.provision.data.meaning | Base | required | ConsentDataMeaning | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Consent | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Consent | 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 | Consent | 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 | Consent | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Consent | 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()
|
| ppc-1 | error | Consent | Either a Policy or PolicyRule |
policy.exists() or policyRule.exists()
|
| ppc-2 | error | Consent | IF Scope=privacy, there must be a patient |
patient.exists() or scope.coding.where(system='something' and code='patient-privacy').exists().not()
|
| ppc-3 | error | Consent | IF Scope=research, there must be a patient |
patient.exists() or scope.coding.where(system='something' and code='research').exists().not()
|
| ppc-4 | error | Consent | IF Scope=adr, there must be a patient |
patient.exists() or scope.coding.where(system='something' and code='adr').exists().not()
|
| ppc-5 | error | Consent | IF Scope=treatment, there must be a patient |
patient.exists() or scope.coding.where(system='something' and code='treatment').exists().not()
|
Inne struktury profilu: CSV, Excel, Schematron