eKOK Dokumentacja Integracyjna
0.5.0 - draft Poland flag

Profil zasobu: PLeKOK10ForHeartResponse

Logiczny url: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-10-for-heart-response Wersja: 0.5.0
Active z dnia 2026-03-17 Nazwa: PLeKOK10ForHeartResponse

Profil zasobu zawierający zakres danych dotyczący odpowiedzi na formularz ankiety 10 dla serca

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 QuestionnaireResponse

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse 0..* QuestionnaireResponse A structured set of questions and their answers
... id 0..0
... meta 1..1 Meta Metadata about the resource
.... id 0..1 string Identyfikator logiczny zasobu
.... extension 0..0
.... versionId 0..0
.... lastUpdated 0..0
.... source 0..0
.... profile 1..1 canonical(StructureDefinition) PLeKOK10ForHeartResponse
Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-10-for-heart-response
.... tag 0..0
... implicitRules 0..0
... text 0..0
... contained 0..0
... modifierExtension 0..0
... identifier 0..0
... basedOn 0..0
... partOf 0..0
... questionnaire 1..1 canonical(Questionnaire) Referencja do kwestionariusza definiującego pytania
... status 1..1 code Status wypełnienia ankiety.
Binding: PLeKOK10ForHeartResponseStatusVS (required)
... subject 1..1 Reference(Resource) Dane pacjenta
.... id 0..0
.... extension 0..0
.... reference 1..1 string Referencja do zasobu Patient
.... type 1..1 uri Typ zasobu z danymi pacjenta (Patient)
Fixed Value: Patient
.... identifier 0..0
.... display 0..0
... encounter 0..0
... authored 0..0
... author 0..0
... source 0..0
... item 0..* BackboneElement Element ankiety
.... id 0..0
.... extension 0..0
.... modifierExtension 0..0
.... linkId 1..1 string Identyfikator pytania
.... definition 0..0
.... text 1..1 string Treść pytania z definicji ankiety.
.... answer 0..* BackboneElement Odpowiedź
..... id 0..0
..... extension 0..0
..... modifierExtension 0..0
..... value[x] 1..1 boolean, decimal, integer, date, dateTime, time, string, uri, Attachment, Coding, Quantity, Reference(Resource) Wartość odpowiedzi na formularzu
.... item 0..0

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
QuestionnaireResponse.​status Base required PLeKOK10ForHeartResponseStatusVS 📦0.5.0 This IG
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse 0..* QuestionnaireResponse A structured set of questions and their answers
... meta Σ 1..1 Meta Metadata about the resource
.... id 0..1 string Identyfikator logiczny zasobu
.... extension 0..0
.... profile Σ 1..1 canonical(StructureDefinition) PLeKOK10ForHeartResponse

Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-10-for-heart-response
... questionnaire Σ 1..1 canonical(Questionnaire) Referencja do kwestionariusza definiującego pytania
... status ?!Σ 1..1 code Status wypełnienia ankiety.
Binding: PLeKOK10ForHeartResponseStatusVS (required)
.... extension 0..0
.... reference ΣC 1..1 string Referencja do zasobu Patient
.... type Σ 1..1 uri Typ zasobu z danymi pacjenta (Patient)
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Patient
... item C 0..* BackboneElement Element ankiety
Constraints: qrs-1
.... linkId 1..1 string Identyfikator pytania
.... text 1..1 string Treść pytania z definicji ankiety.
.... answer 0..* BackboneElement Odpowiedź
..... value[x] 1..1 Wartość odpowiedzi na formularzu
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
...... valueBoolean boolean
...... valueDecimal decimal
...... valueInteger integer
...... valueDate date
...... valueDateTime dateTime
...... valueTime time
...... valueString string
...... valueUri uri
...... valueAttachment Attachment
...... valueCoding Coding
...... valueQuantity Quantity
...... valueReference Reference(Resource)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
QuestionnaireResponse.​status Base required PLeKOK10ForHeartResponseStatusVS 📦0.5.0 This IG
QuestionnaireResponse.​subject.type Base extensible ResourceType 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error QuestionnaireResponse If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error QuestionnaireResponse 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 QuestionnaireResponse 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 QuestionnaireResponse If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice QuestionnaireResponse 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())
qrs-1 error QuestionnaireResponse.item Nested item can't be beneath both item and answer (answer.exists() and item.exists()).not()
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse 0..* QuestionnaireResponse A structured set of questions and their answers
... meta Σ 1..1 Meta Metadata about the resource
.... id 0..1 string Identyfikator logiczny zasobu
.... extension 0..0
.... profile Σ 1..1 canonical(StructureDefinition) PLeKOK10ForHeartResponse

Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-10-for-heart-response
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
... extension 0..* Extension Additional content defined by implementations
... questionnaire Σ 1..1 canonical(Questionnaire) Referencja do kwestionariusza definiującego pytania
... subject Σ 1..1 Reference(Resource) Dane pacjenta
.... extension 0..0
.... reference ΣC 1..1 string Referencja do zasobu Patient
.... type Σ 1..1 uri Typ zasobu z danymi pacjenta (Patient)
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Patient
... item C 0..* BackboneElement Element ankiety
Constraints: qrs-1
.... linkId 1..1 string Identyfikator pytania
.... text 1..1 string Treść pytania z definicji ankiety.
.... answer 0..* BackboneElement Odpowiedź
..... value[x] 1..1 Wartość odpowiedzi na formularzu
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
...... valueBoolean boolean
...... valueDecimal decimal
...... valueInteger integer
...... valueDate date
...... valueDateTime dateTime
...... valueTime time
...... valueString string
...... valueUri uri
...... valueAttachment Attachment
...... valueCoding Coding
...... valueQuantity Quantity
...... valueReference Reference(Resource)
..... item 0..* See item (QuestionnaireResponse) Nested groups and questions

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
QuestionnaireResponse.​meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
QuestionnaireResponse.​status Base required PLeKOK10ForHeartResponseStatusVS 📦0.5.0 This IG
QuestionnaireResponse.​subject.type Base extensible ResourceType 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error QuestionnaireResponse If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error QuestionnaireResponse 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 QuestionnaireResponse 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 QuestionnaireResponse If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice QuestionnaireResponse 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()
qrs-1 error QuestionnaireResponse.item Nested item can't be beneath both item and answer (answer.exists() and item.exists()).not()

Struktura bazuje na QuestionnaireResponse

Summary

Mandatory: 6 elements(2 nested mandatory elements)
Fixed: 2 elements
Prohibited: 30 elements

Widok Differential

Struktura bazuje na QuestionnaireResponse

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse 0..* QuestionnaireResponse A structured set of questions and their answers
... id 0..0
... meta 1..1 Meta Metadata about the resource
.... id 0..1 string Identyfikator logiczny zasobu
.... extension 0..0
.... versionId 0..0
.... lastUpdated 0..0
.... source 0..0
.... profile 1..1 canonical(StructureDefinition) PLeKOK10ForHeartResponse
Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-10-for-heart-response
.... tag 0..0
... implicitRules 0..0
... text 0..0
... contained 0..0
... modifierExtension 0..0
... identifier 0..0
... basedOn 0..0
... partOf 0..0
... questionnaire 1..1 canonical(Questionnaire) Referencja do kwestionariusza definiującego pytania
... status 1..1 code Status wypełnienia ankiety.
Binding: PLeKOK10ForHeartResponseStatusVS (required)
... subject 1..1 Reference(Resource) Dane pacjenta
.... id 0..0
.... extension 0..0
.... reference 1..1 string Referencja do zasobu Patient
.... type 1..1 uri Typ zasobu z danymi pacjenta (Patient)
Fixed Value: Patient
.... identifier 0..0
.... display 0..0
... encounter 0..0
... authored 0..0
... author 0..0
... source 0..0
... item 0..* BackboneElement Element ankiety
.... id 0..0
.... extension 0..0
.... modifierExtension 0..0
.... linkId 1..1 string Identyfikator pytania
.... definition 0..0
.... text 1..1 string Treść pytania z definicji ankiety.
.... answer 0..* BackboneElement Odpowiedź
..... id 0..0
..... extension 0..0
..... modifierExtension 0..0
..... value[x] 1..1 boolean, decimal, integer, date, dateTime, time, string, uri, Attachment, Coding, Quantity, Reference(Resource) Wartość odpowiedzi na formularzu
.... item 0..0

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
QuestionnaireResponse.​status Base required PLeKOK10ForHeartResponseStatusVS 📦0.5.0 This IG

Widok kluczowych elementów

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse 0..* QuestionnaireResponse A structured set of questions and their answers
... meta Σ 1..1 Meta Metadata about the resource
.... id 0..1 string Identyfikator logiczny zasobu
.... extension 0..0
.... profile Σ 1..1 canonical(StructureDefinition) PLeKOK10ForHeartResponse

Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-10-for-heart-response
... questionnaire Σ 1..1 canonical(Questionnaire) Referencja do kwestionariusza definiującego pytania
... status ?!Σ 1..1 code Status wypełnienia ankiety.
Binding: PLeKOK10ForHeartResponseStatusVS (required)
.... extension 0..0
.... reference ΣC 1..1 string Referencja do zasobu Patient
.... type Σ 1..1 uri Typ zasobu z danymi pacjenta (Patient)
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Patient
... item C 0..* BackboneElement Element ankiety
Constraints: qrs-1
.... linkId 1..1 string Identyfikator pytania
.... text 1..1 string Treść pytania z definicji ankiety.
.... answer 0..* BackboneElement Odpowiedź
..... value[x] 1..1 Wartość odpowiedzi na formularzu
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
...... valueBoolean boolean
...... valueDecimal decimal
...... valueInteger integer
...... valueDate date
...... valueDateTime dateTime
...... valueTime time
...... valueString string
...... valueUri uri
...... valueAttachment Attachment
...... valueCoding Coding
...... valueQuantity Quantity
...... valueReference Reference(Resource)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
QuestionnaireResponse.​status Base required PLeKOK10ForHeartResponseStatusVS 📦0.5.0 This IG
QuestionnaireResponse.​subject.type Base extensible ResourceType 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error QuestionnaireResponse If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error QuestionnaireResponse 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 QuestionnaireResponse 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 QuestionnaireResponse If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice QuestionnaireResponse 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())
qrs-1 error QuestionnaireResponse.item Nested item can't be beneath both item and answer (answer.exists() and item.exists()).not()

Widok Snapshot

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse 0..* QuestionnaireResponse A structured set of questions and their answers
... meta Σ 1..1 Meta Metadata about the resource
.... id 0..1 string Identyfikator logiczny zasobu
.... extension 0..0
.... profile Σ 1..1 canonical(StructureDefinition) PLeKOK10ForHeartResponse

Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-10-for-heart-response
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
... extension 0..* Extension Additional content defined by implementations
... questionnaire Σ 1..1 canonical(Questionnaire) Referencja do kwestionariusza definiującego pytania
... subject Σ 1..1 Reference(Resource) Dane pacjenta
.... extension 0..0
.... reference ΣC 1..1 string Referencja do zasobu Patient
.... type Σ 1..1 uri Typ zasobu z danymi pacjenta (Patient)
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Patient
... item C 0..* BackboneElement Element ankiety
Constraints: qrs-1
.... linkId 1..1 string Identyfikator pytania
.... text 1..1 string Treść pytania z definicji ankiety.
.... answer 0..* BackboneElement Odpowiedź
..... value[x] 1..1 Wartość odpowiedzi na formularzu
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
...... valueBoolean boolean
...... valueDecimal decimal
...... valueInteger integer
...... valueDate date
...... valueDateTime dateTime
...... valueTime time
...... valueString string
...... valueUri uri
...... valueAttachment Attachment
...... valueCoding Coding
...... valueQuantity Quantity
...... valueReference Reference(Resource)
..... item 0..* See item (QuestionnaireResponse) Nested groups and questions

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
QuestionnaireResponse.​meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
QuestionnaireResponse.​status Base required PLeKOK10ForHeartResponseStatusVS 📦0.5.0 This IG
QuestionnaireResponse.​subject.type Base extensible ResourceType 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error QuestionnaireResponse If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error QuestionnaireResponse 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 QuestionnaireResponse 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 QuestionnaireResponse If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice QuestionnaireResponse 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()
qrs-1 error QuestionnaireResponse.item Nested item can't be beneath both item and answer (answer.exists() and item.exists()).not()

Struktura bazuje na QuestionnaireResponse

Summary

Mandatory: 6 elements(2 nested mandatory elements)
Fixed: 2 elements
Prohibited: 30 elements

 

Inne struktury profilu: CSV, Excel, Schematron