Dokumentacja Integracyjna SMPL
25.0.0 - STU1
Logiczny url: https://ezdrowie.gov.pl/fhir/StructureDefinition/PLSMPLCheckpoint | Wersja: 25.0.0 | |||
Active z dnia 2024-09-17 | Nazwa: PLSMPLCheckpoint |
Zasób zawierający dane formularza punktu kontrolnego
Usage:
Opis sposobu prezentacji profilu ujęty jest w specyfikacji standardu FHIR.
Struktura bazuje na QuestionnaireResponse
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QuestionnaireResponse | 0..* | QuestionnaireResponse | A structured set of questions and their answers | |
id | 0..1 | id | Unikalny identyfikator logiczny zasobu | |
meta | 1..1 | Meta | Metadane zasobu | |
id | 0..0 | |||
extension | 0..0 | |||
versionId | 0..1 | id | Wersja zasobu | |
source | 0..0 | |||
profile | 1..1 | canonical(StructureDefinition) | Profil zasobu Fixed Value: https://ezdrowie.gov.pl/fhir/StructureDefinition/PLSMPLCheckpoint | |
security | 0..0 | |||
tag | 0..0 | |||
implicitRules | 0..0 | |||
language | 0..0 | |||
text | 0..0 | |||
contained | 0..0 | |||
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
custodian | 0..1 | (Complex) | Lekarz prowadzący URL: https://ezdrowie.gov.pl/fhir/StructureDefinition/PLSMPLCustodian | |
value[x] | 1..1 | Reference() | Wartość rozszerzenia - identyfikator i nazwa | |
extension | 0..0 | |||
reference | 0..0 | |||
type | 0..0 | |||
identifier | 1..1 | Identifier | Identyfikator lekarza | |
extension | 0..0 | |||
system | 1..1 | uri | System | |
value | 1..1 | string | Wartość | |
display | 1..1 | string | Imię i nazwisko lekarza | |
updateReason | 0..1 | (Complex) | Przyczyna zmian URL: https://ezdrowie.gov.pl/fhir/StructureDefinition/PLSMPLUpdateReason | |
id | 0..0 | |||
value[x] | 1..1 | string | Wartość rozszerzenia - wartość tekstowa | |
id | 0..0 | |||
extension | 0..0 | |||
modifierExtension | 0..0 | |||
identifier | 1..1 | Identifier | Identyfikator porządkowy odpowiedzi na formularz | |
id | 0..0 | |||
extension | 0..0 | |||
use | 0..0 | |||
type | 0..0 | |||
system | 0..0 | |||
value | 1..1 | string | Wartość liczbowa | |
period | 0..0 | |||
assigner | 0..0 | |||
basedOn | 1..1 | Reference(CarePlan) | Referencja do zasobu (CarePlan) programu lekowego | |
id | 0..0 | |||
extension | 0..0 | |||
reference | 1..1 | string | Referencja do zasobu CarePlan | |
type | 1..1 | uri | Typ zasobu Fixed Value: CarePlan | |
identifier | 0..0 | |||
display | 0..0 | |||
partOf | 0..0 | |||
questionnaire | 1..1 | canonical(Questionnaire) | Referencja do kwestionariusza definiującego pytania w formacie #/Questionnaire/122 | |
status | 1..1 | code | in-progress | completed | stopped Binding: QuestionnaireResponseStatus (required) | |
subject | 1..1 | Reference(Patient) | Podstawowe 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 Fixed Value: Patient | |
identifier | 0..0 | |||
display | 0..0 | |||
encounter | 0..0 | |||
authored | C | 1..1 | dateTime | Data wypełnienia formularza date-pattern: Not a valid date (valid date format: yyyy-mm-dd) |
author | 1..1 | Reference(Practitioner) | Identyfikacja pracownika medycznego wypełniającego formularz | |
id | 0..0 | |||
extension | 0..0 | |||
reference | 0..0 | |||
type | 0..0 | |||
identifier | 1..1 | Identifier | Identyfikator osoby wypełniającej formularz | |
id | 0..0 | |||
extension | 0..0 | |||
use | 0..0 | |||
type | 0..0 | |||
system | 1..1 | uri | System | |
value | 1..1 | string | Wartość | |
period | 0..0 | |||
assigner | 0..0 | |||
display | 1..1 | string | Imię i nazwisko osoby wypełniającej formularz | |
source | 0..0 | |||
item | 0..* | BackboneElement | Element formularza | |
id | 0..0 | |||
extension | 0..0 | |||
modifierExtension | 0..0 | |||
linkId | 1..1 | string | Identyfikator elementu | |
definition | 0..0 | |||
text | 0..1 | string | Treść elementu formularza (z zasobu Questionnaire). | |
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..* | See item (QuestionnaireResponse) | Zagnieżdżona odpowiedź formularza | |
item | 0..* | See item (QuestionnaireResponse) | Zagnieżdżony element formularza | |
Documentation for this format |
Path | Conformance | ValueSet | URI |
QuestionnaireResponse.status | required | PLSMPLQuestionnaireResponseStatushttps://ezdrowie.gov.pl/fhir/ValueSet/PLSMPLQuestionnaireResponseStatus from this IG |
Id | Grade | Path(s) | Details | Requirements |
date-pattern | error | QuestionnaireResponse.authored | Not a valid date (valid date format: yyyy-mm-dd) : toString().matches('^\\d{4}-((0[0-9])|(1[012]))-(([012][0-9])|3[01])$') |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QuestionnaireResponse | 0..* | QuestionnaireResponse | A structured set of questions and their answers | |
id | Σ | 0..1 | id | Unikalny identyfikator logiczny zasobu |
meta | Σ | 1..1 | Meta | Metadane zasobu |
extension | 0..0 | |||
versionId | Σ | 0..1 | id | Wersja zasobu |
profile | Σ | 1..1 | canonical(StructureDefinition) | Profil zasobu Fixed Value: https://ezdrowie.gov.pl/fhir/StructureDefinition/PLSMPLCheckpoint |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
custodian | 0..1 | (Complex) | Lekarz prowadzący URL: https://ezdrowie.gov.pl/fhir/StructureDefinition/PLSMPLCustodian | |
extension | 0..0 | |||
url | 1..1 | uri | "https://ezdrowie.gov.pl/fhir/StructureDefinition/PLSMPLCustodian" | |
value[x] | 1..1 | Reference() | Wartość rozszerzenia - identyfikator i nazwa | |
extension | 0..0 | |||
identifier | Σ | 1..1 | Identifier | Identyfikator lekarza |
extension | 0..0 | |||
system | Σ | 1..1 | uri | System Example General: http://www.acme.com/identifiers/patient |
value | Σ | 1..1 | string | Wartość Example General: 123456 |
display | Σ | 1..1 | string | Imię i nazwisko lekarza |
updateReason | 0..1 | (Complex) | Przyczyna zmian URL: https://ezdrowie.gov.pl/fhir/StructureDefinition/PLSMPLUpdateReason | |
extension | 0..0 | |||
url | 1..1 | uri | "https://ezdrowie.gov.pl/fhir/StructureDefinition/PLSMPLUpdateReason" | |
value[x] | 1..1 | string | Wartość rozszerzenia - wartość tekstowa | |
identifier | Σ | 1..1 | Identifier | Identyfikator porządkowy odpowiedzi na formularz |
extension | 0..0 | |||
value | Σ | 1..1 | string | Wartość liczbowa Example General: 123456 |
basedOn | Σ | 1..1 | Reference(CarePlan) | Referencja do zasobu (CarePlan) programu lekowego |
extension | 0..0 | |||
reference | ΣC | 1..1 | string | Referencja do zasobu CarePlan |
type | Σ | 1..1 | uri | Typ zasobu Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: CarePlan |
questionnaire | Σ | 1..1 | canonical(Questionnaire) | Referencja do kwestionariusza definiującego pytania w formacie #/Questionnaire/122 |
status | ?!Σ | 1..1 | code | in-progress | completed | stopped Binding: QuestionnaireResponseStatus (required) |
subject | Σ | 1..1 | Reference(Patient) | Podstawowe dane pacjenta |
extension | 0..0 | |||
reference | ΣC | 1..1 | string | Referencja do zasobu Patient |
type | Σ | 1..1 | uri | Typ zasobu z danymi pacjenta Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: Patient |
authored | ΣC | 1..1 | dateTime | Data wypełnienia formularza date-pattern: Not a valid date (valid date format: yyyy-mm-dd) |
author | Σ | 1..1 | Reference(Practitioner) | Identyfikacja pracownika medycznego wypełniającego formularz |
extension | 0..0 | |||
identifier | Σ | 1..1 | Identifier | Identyfikator osoby wypełniającej formularz |
extension | 0..0 | |||
system | Σ | 1..1 | uri | System Example General: http://www.acme.com/identifiers/patient |
value | Σ | 1..1 | string | Wartość Example General: 123456 |
display | Σ | 1..1 | string | Imię i nazwisko osoby wypełniającej formularz |
item | C | 0..* | BackboneElement | Element formularza qrs-1: Nested item can't be beneath both item and answer |
linkId | 1..1 | string | Identyfikator elementu | |
text | 0..1 | string | Treść elementu formularza (z zasobu Questionnaire). | |
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) | Zagnieżdżona odpowiedź formularza | |
item | 0..* | See item (QuestionnaireResponse) | Zagnieżdżony element formularza | |
Documentation for this format |
Path | Conformance | ValueSet / Code | URI |
QuestionnaireResponse.basedOn.type | extensible | Fixed Value: CarePlanhttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | |
QuestionnaireResponse.status | required | PLSMPLQuestionnaireResponseStatushttps://ezdrowie.gov.pl/fhir/ValueSet/PLSMPLQuestionnaireResponseStatus from this IG | |
QuestionnaireResponse.subject.type | extensible | Fixed Value: Patienthttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | |
QuestionnaireResponse.item.answer.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
date-pattern | error | QuestionnaireResponse.authored | Not a valid date (valid date format: yyyy-mm-dd) : toString().matches('^\\d{4}-((0[0-9])|(1[012]))-(([012][0-9])|3[01])$') | |
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() |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QuestionnaireResponse | 0..* | QuestionnaireResponse | A structured set of questions and their answers | |
id | Σ | 0..1 | id | Unikalny identyfikator logiczny zasobu |
meta | Σ | 1..1 | Meta | Metadane zasobu |
extension | 0..0 | |||
versionId | Σ | 0..1 | id | Wersja zasobu |
lastUpdated | Σ | 0..1 | instant | When the resource version last changed |
profile | Σ | 1..1 | canonical(StructureDefinition) | Profil zasobu Fixed Value: https://ezdrowie.gov.pl/fhir/StructureDefinition/PLSMPLCheckpoint |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
custodian | 0..1 | (Complex) | Lekarz prowadzący URL: https://ezdrowie.gov.pl/fhir/StructureDefinition/PLSMPLCustodian | |
extension | 0..0 | |||
url | 1..1 | uri | "https://ezdrowie.gov.pl/fhir/StructureDefinition/PLSMPLCustodian" | |
value[x] | 1..1 | Reference() | Wartość rozszerzenia - identyfikator i nazwa | |
extension | 0..0 | |||
identifier | Σ | 1..1 | Identifier | Identyfikator lekarza |
extension | 0..0 | |||
system | Σ | 1..1 | uri | System Example General: http://www.acme.com/identifiers/patient |
value | Σ | 1..1 | string | Wartość Example General: 123456 |
display | Σ | 1..1 | string | Imię i nazwisko lekarza |
updateReason | 0..1 | (Complex) | Przyczyna zmian URL: https://ezdrowie.gov.pl/fhir/StructureDefinition/PLSMPLUpdateReason | |
extension | 0..0 | |||
url | 1..1 | uri | "https://ezdrowie.gov.pl/fhir/StructureDefinition/PLSMPLUpdateReason" | |
value[x] | 1..1 | string | Wartość rozszerzenia - wartość tekstowa | |
value | 0..1 | string | Primitive value for string Max Length: 1048576 | |
identifier | Σ | 1..1 | Identifier | Identyfikator porządkowy odpowiedzi na formularz |
extension | 0..0 | |||
value | Σ | 1..1 | string | Wartość liczbowa Example General: 123456 |
basedOn | Σ | 1..1 | Reference(CarePlan) | Referencja do zasobu (CarePlan) programu lekowego |
extension | 0..0 | |||
reference | ΣC | 1..1 | string | Referencja do zasobu CarePlan |
type | Σ | 1..1 | uri | Typ zasobu Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: CarePlan |
questionnaire | Σ | 1..1 | canonical(Questionnaire) | Referencja do kwestionariusza definiującego pytania w formacie #/Questionnaire/122 |
status | ?!Σ | 1..1 | code | in-progress | completed | stopped Binding: QuestionnaireResponseStatus (required) |
subject | Σ | 1..1 | Reference(Patient) | Podstawowe dane pacjenta |
extension | 0..0 | |||
reference | ΣC | 1..1 | string | Referencja do zasobu Patient |
type | Σ | 1..1 | uri | Typ zasobu z danymi pacjenta Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: Patient |
authored | ΣC | 1..1 | dateTime | Data wypełnienia formularza date-pattern: Not a valid date (valid date format: yyyy-mm-dd) |
author | Σ | 1..1 | Reference(Practitioner) | Identyfikacja pracownika medycznego wypełniającego formularz |
extension | 0..0 | |||
identifier | Σ | 1..1 | Identifier | Identyfikator osoby wypełniającej formularz |
extension | 0..0 | |||
system | Σ | 1..1 | uri | System Example General: http://www.acme.com/identifiers/patient |
value | Σ | 1..1 | string | Wartość Example General: 123456 |
display | Σ | 1..1 | string | Imię i nazwisko osoby wypełniającej formularz |
item | C | 0..* | BackboneElement | Element formularza qrs-1: Nested item can't be beneath both item and answer |
linkId | 1..1 | string | Identyfikator elementu | |
text | 0..1 | string | Treść elementu formularza (z zasobu Questionnaire). | |
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) | Zagnieżdżona odpowiedź formularza | |
item | 0..* | See item (QuestionnaireResponse) | Zagnieżdżony element formularza | |
Documentation for this format |
Path | Conformance | ValueSet / Code | URI |
QuestionnaireResponse.basedOn.type | extensible | Fixed Value: CarePlanhttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | |
QuestionnaireResponse.status | required | PLSMPLQuestionnaireResponseStatushttps://ezdrowie.gov.pl/fhir/ValueSet/PLSMPLQuestionnaireResponseStatus from this IG | |
QuestionnaireResponse.subject.type | extensible | Fixed Value: Patienthttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | |
QuestionnaireResponse.item.answer.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
date-pattern | error | QuestionnaireResponse.authored | Not a valid date (valid date format: yyyy-mm-dd) : toString().matches('^\\d{4}-((0[0-9])|(1[012]))-(([012][0-9])|3[01])$') | |
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
Widok Differential
Struktura bazuje na QuestionnaireResponse
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QuestionnaireResponse | 0..* | QuestionnaireResponse | A structured set of questions and their answers | |
id | 0..1 | id | Unikalny identyfikator logiczny zasobu | |
meta | 1..1 | Meta | Metadane zasobu | |
id | 0..0 | |||
extension | 0..0 | |||
versionId | 0..1 | id | Wersja zasobu | |
source | 0..0 | |||
profile | 1..1 | canonical(StructureDefinition) | Profil zasobu Fixed Value: https://ezdrowie.gov.pl/fhir/StructureDefinition/PLSMPLCheckpoint | |
security | 0..0 | |||
tag | 0..0 | |||
implicitRules | 0..0 | |||
language | 0..0 | |||
text | 0..0 | |||
contained | 0..0 | |||
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
custodian | 0..1 | (Complex) | Lekarz prowadzący URL: https://ezdrowie.gov.pl/fhir/StructureDefinition/PLSMPLCustodian | |
value[x] | 1..1 | Reference() | Wartość rozszerzenia - identyfikator i nazwa | |
extension | 0..0 | |||
reference | 0..0 | |||
type | 0..0 | |||
identifier | 1..1 | Identifier | Identyfikator lekarza | |
extension | 0..0 | |||
system | 1..1 | uri | System | |
value | 1..1 | string | Wartość | |
display | 1..1 | string | Imię i nazwisko lekarza | |
updateReason | 0..1 | (Complex) | Przyczyna zmian URL: https://ezdrowie.gov.pl/fhir/StructureDefinition/PLSMPLUpdateReason | |
id | 0..0 | |||
value[x] | 1..1 | string | Wartość rozszerzenia - wartość tekstowa | |
id | 0..0 | |||
extension | 0..0 | |||
modifierExtension | 0..0 | |||
identifier | 1..1 | Identifier | Identyfikator porządkowy odpowiedzi na formularz | |
id | 0..0 | |||
extension | 0..0 | |||
use | 0..0 | |||
type | 0..0 | |||
system | 0..0 | |||
value | 1..1 | string | Wartość liczbowa | |
period | 0..0 | |||
assigner | 0..0 | |||
basedOn | 1..1 | Reference(CarePlan) | Referencja do zasobu (CarePlan) programu lekowego | |
id | 0..0 | |||
extension | 0..0 | |||
reference | 1..1 | string | Referencja do zasobu CarePlan | |
type | 1..1 | uri | Typ zasobu Fixed Value: CarePlan | |
identifier | 0..0 | |||
display | 0..0 | |||
partOf | 0..0 | |||
questionnaire | 1..1 | canonical(Questionnaire) | Referencja do kwestionariusza definiującego pytania w formacie #/Questionnaire/122 | |
status | 1..1 | code | in-progress | completed | stopped Binding: QuestionnaireResponseStatus (required) | |
subject | 1..1 | Reference(Patient) | Podstawowe 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 Fixed Value: Patient | |
identifier | 0..0 | |||
display | 0..0 | |||
encounter | 0..0 | |||
authored | C | 1..1 | dateTime | Data wypełnienia formularza date-pattern: Not a valid date (valid date format: yyyy-mm-dd) |
author | 1..1 | Reference(Practitioner) | Identyfikacja pracownika medycznego wypełniającego formularz | |
id | 0..0 | |||
extension | 0..0 | |||
reference | 0..0 | |||
type | 0..0 | |||
identifier | 1..1 | Identifier | Identyfikator osoby wypełniającej formularz | |
id | 0..0 | |||
extension | 0..0 | |||
use | 0..0 | |||
type | 0..0 | |||
system | 1..1 | uri | System | |
value | 1..1 | string | Wartość | |
period | 0..0 | |||
assigner | 0..0 | |||
display | 1..1 | string | Imię i nazwisko osoby wypełniającej formularz | |
source | 0..0 | |||
item | 0..* | BackboneElement | Element formularza | |
id | 0..0 | |||
extension | 0..0 | |||
modifierExtension | 0..0 | |||
linkId | 1..1 | string | Identyfikator elementu | |
definition | 0..0 | |||
text | 0..1 | string | Treść elementu formularza (z zasobu Questionnaire). | |
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..* | See item (QuestionnaireResponse) | Zagnieżdżona odpowiedź formularza | |
item | 0..* | See item (QuestionnaireResponse) | Zagnieżdżony element formularza | |
Documentation for this format |
Path | Conformance | ValueSet | URI |
QuestionnaireResponse.status | required | PLSMPLQuestionnaireResponseStatushttps://ezdrowie.gov.pl/fhir/ValueSet/PLSMPLQuestionnaireResponseStatus from this IG |
Id | Grade | Path(s) | Details | Requirements |
date-pattern | error | QuestionnaireResponse.authored | Not a valid date (valid date format: yyyy-mm-dd) : toString().matches('^\\d{4}-((0[0-9])|(1[012]))-(([012][0-9])|3[01])$') |
Widok kluczowych elementów
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QuestionnaireResponse | 0..* | QuestionnaireResponse | A structured set of questions and their answers | |
id | Σ | 0..1 | id | Unikalny identyfikator logiczny zasobu |
meta | Σ | 1..1 | Meta | Metadane zasobu |
extension | 0..0 | |||
versionId | Σ | 0..1 | id | Wersja zasobu |
profile | Σ | 1..1 | canonical(StructureDefinition) | Profil zasobu Fixed Value: https://ezdrowie.gov.pl/fhir/StructureDefinition/PLSMPLCheckpoint |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
custodian | 0..1 | (Complex) | Lekarz prowadzący URL: https://ezdrowie.gov.pl/fhir/StructureDefinition/PLSMPLCustodian | |
extension | 0..0 | |||
url | 1..1 | uri | "https://ezdrowie.gov.pl/fhir/StructureDefinition/PLSMPLCustodian" | |
value[x] | 1..1 | Reference() | Wartość rozszerzenia - identyfikator i nazwa | |
extension | 0..0 | |||
identifier | Σ | 1..1 | Identifier | Identyfikator lekarza |
extension | 0..0 | |||
system | Σ | 1..1 | uri | System Example General: http://www.acme.com/identifiers/patient |
value | Σ | 1..1 | string | Wartość Example General: 123456 |
display | Σ | 1..1 | string | Imię i nazwisko lekarza |
updateReason | 0..1 | (Complex) | Przyczyna zmian URL: https://ezdrowie.gov.pl/fhir/StructureDefinition/PLSMPLUpdateReason | |
extension | 0..0 | |||
url | 1..1 | uri | "https://ezdrowie.gov.pl/fhir/StructureDefinition/PLSMPLUpdateReason" | |
value[x] | 1..1 | string | Wartość rozszerzenia - wartość tekstowa | |
identifier | Σ | 1..1 | Identifier | Identyfikator porządkowy odpowiedzi na formularz |
extension | 0..0 | |||
value | Σ | 1..1 | string | Wartość liczbowa Example General: 123456 |
basedOn | Σ | 1..1 | Reference(CarePlan) | Referencja do zasobu (CarePlan) programu lekowego |
extension | 0..0 | |||
reference | ΣC | 1..1 | string | Referencja do zasobu CarePlan |
type | Σ | 1..1 | uri | Typ zasobu Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: CarePlan |
questionnaire | Σ | 1..1 | canonical(Questionnaire) | Referencja do kwestionariusza definiującego pytania w formacie #/Questionnaire/122 |
status | ?!Σ | 1..1 | code | in-progress | completed | stopped Binding: QuestionnaireResponseStatus (required) |
subject | Σ | 1..1 | Reference(Patient) | Podstawowe dane pacjenta |
extension | 0..0 | |||
reference | ΣC | 1..1 | string | Referencja do zasobu Patient |
type | Σ | 1..1 | uri | Typ zasobu z danymi pacjenta Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: Patient |
authored | ΣC | 1..1 | dateTime | Data wypełnienia formularza date-pattern: Not a valid date (valid date format: yyyy-mm-dd) |
author | Σ | 1..1 | Reference(Practitioner) | Identyfikacja pracownika medycznego wypełniającego formularz |
extension | 0..0 | |||
identifier | Σ | 1..1 | Identifier | Identyfikator osoby wypełniającej formularz |
extension | 0..0 | |||
system | Σ | 1..1 | uri | System Example General: http://www.acme.com/identifiers/patient |
value | Σ | 1..1 | string | Wartość Example General: 123456 |
display | Σ | 1..1 | string | Imię i nazwisko osoby wypełniającej formularz |
item | C | 0..* | BackboneElement | Element formularza qrs-1: Nested item can't be beneath both item and answer |
linkId | 1..1 | string | Identyfikator elementu | |
text | 0..1 | string | Treść elementu formularza (z zasobu Questionnaire). | |
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) | Zagnieżdżona odpowiedź formularza | |
item | 0..* | See item (QuestionnaireResponse) | Zagnieżdżony element formularza | |
Documentation for this format |
Path | Conformance | ValueSet / Code | URI |
QuestionnaireResponse.basedOn.type | extensible | Fixed Value: CarePlanhttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | |
QuestionnaireResponse.status | required | PLSMPLQuestionnaireResponseStatushttps://ezdrowie.gov.pl/fhir/ValueSet/PLSMPLQuestionnaireResponseStatus from this IG | |
QuestionnaireResponse.subject.type | extensible | Fixed Value: Patienthttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | |
QuestionnaireResponse.item.answer.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
date-pattern | error | QuestionnaireResponse.authored | Not a valid date (valid date format: yyyy-mm-dd) : toString().matches('^\\d{4}-((0[0-9])|(1[012]))-(([012][0-9])|3[01])$') | |
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() |
Widok Snapshot
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QuestionnaireResponse | 0..* | QuestionnaireResponse | A structured set of questions and their answers | |
id | Σ | 0..1 | id | Unikalny identyfikator logiczny zasobu |
meta | Σ | 1..1 | Meta | Metadane zasobu |
extension | 0..0 | |||
versionId | Σ | 0..1 | id | Wersja zasobu |
lastUpdated | Σ | 0..1 | instant | When the resource version last changed |
profile | Σ | 1..1 | canonical(StructureDefinition) | Profil zasobu Fixed Value: https://ezdrowie.gov.pl/fhir/StructureDefinition/PLSMPLCheckpoint |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
custodian | 0..1 | (Complex) | Lekarz prowadzący URL: https://ezdrowie.gov.pl/fhir/StructureDefinition/PLSMPLCustodian | |
extension | 0..0 | |||
url | 1..1 | uri | "https://ezdrowie.gov.pl/fhir/StructureDefinition/PLSMPLCustodian" | |
value[x] | 1..1 | Reference() | Wartość rozszerzenia - identyfikator i nazwa | |
extension | 0..0 | |||
identifier | Σ | 1..1 | Identifier | Identyfikator lekarza |
extension | 0..0 | |||
system | Σ | 1..1 | uri | System Example General: http://www.acme.com/identifiers/patient |
value | Σ | 1..1 | string | Wartość Example General: 123456 |
display | Σ | 1..1 | string | Imię i nazwisko lekarza |
updateReason | 0..1 | (Complex) | Przyczyna zmian URL: https://ezdrowie.gov.pl/fhir/StructureDefinition/PLSMPLUpdateReason | |
extension | 0..0 | |||
url | 1..1 | uri | "https://ezdrowie.gov.pl/fhir/StructureDefinition/PLSMPLUpdateReason" | |
value[x] | 1..1 | string | Wartość rozszerzenia - wartość tekstowa | |
value | 0..1 | string | Primitive value for string Max Length: 1048576 | |
identifier | Σ | 1..1 | Identifier | Identyfikator porządkowy odpowiedzi na formularz |
extension | 0..0 | |||
value | Σ | 1..1 | string | Wartość liczbowa Example General: 123456 |
basedOn | Σ | 1..1 | Reference(CarePlan) | Referencja do zasobu (CarePlan) programu lekowego |
extension | 0..0 | |||
reference | ΣC | 1..1 | string | Referencja do zasobu CarePlan |
type | Σ | 1..1 | uri | Typ zasobu Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: CarePlan |
questionnaire | Σ | 1..1 | canonical(Questionnaire) | Referencja do kwestionariusza definiującego pytania w formacie #/Questionnaire/122 |
status | ?!Σ | 1..1 | code | in-progress | completed | stopped Binding: QuestionnaireResponseStatus (required) |
subject | Σ | 1..1 | Reference(Patient) | Podstawowe dane pacjenta |
extension | 0..0 | |||
reference | ΣC | 1..1 | string | Referencja do zasobu Patient |
type | Σ | 1..1 | uri | Typ zasobu z danymi pacjenta Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: Patient |
authored | ΣC | 1..1 | dateTime | Data wypełnienia formularza date-pattern: Not a valid date (valid date format: yyyy-mm-dd) |
author | Σ | 1..1 | Reference(Practitioner) | Identyfikacja pracownika medycznego wypełniającego formularz |
extension | 0..0 | |||
identifier | Σ | 1..1 | Identifier | Identyfikator osoby wypełniającej formularz |
extension | 0..0 | |||
system | Σ | 1..1 | uri | System Example General: http://www.acme.com/identifiers/patient |
value | Σ | 1..1 | string | Wartość Example General: 123456 |
display | Σ | 1..1 | string | Imię i nazwisko osoby wypełniającej formularz |
item | C | 0..* | BackboneElement | Element formularza qrs-1: Nested item can't be beneath both item and answer |
linkId | 1..1 | string | Identyfikator elementu | |
text | 0..1 | string | Treść elementu formularza (z zasobu Questionnaire). | |
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) | Zagnieżdżona odpowiedź formularza | |
item | 0..* | See item (QuestionnaireResponse) | Zagnieżdżony element formularza | |
Documentation for this format |
Path | Conformance | ValueSet / Code | URI |
QuestionnaireResponse.basedOn.type | extensible | Fixed Value: CarePlanhttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | |
QuestionnaireResponse.status | required | PLSMPLQuestionnaireResponseStatushttps://ezdrowie.gov.pl/fhir/ValueSet/PLSMPLQuestionnaireResponseStatus from this IG | |
QuestionnaireResponse.subject.type | extensible | Fixed Value: Patienthttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | |
QuestionnaireResponse.item.answer.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
date-pattern | error | QuestionnaireResponse.authored | Not a valid date (valid date format: yyyy-mm-dd) : toString().matches('^\\d{4}-((0[0-9])|(1[012]))-(([012][0-9])|3[01])$') | |
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
Inne struktury profilu: CSV, Excel, Schematron