KLChildren implementation guide, an implementation of FBU
2.0.0 - Release
This page is part of the KLChildren (v2.0.0: Release) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions
Official URL: http://fhir.kl.dk/children/StructureDefinition/klgateway-children-questionnaire-response | Version: 2.0.0 | |||
Active as of 2024-06-05 | Computable Name: KLGatewayChildrenQuestionnaireResponse |
Questionnaire response profile, for all questionaires in kl-children
This QuestionnaireResponse is used to report all answers to questionnaires to KLGateway.
The QuestionnaireResponse refers the Questionnaire in QuestionnaireResponse.questionnaire using a canonical reference, which means that the Questionnaire itself does not have to be reported to KLGateway.
QuestionnaireResponse.subject is the citizen, who the Questionnaire is about.
This profile includes the extension findingInformer QuestionnaireResponse.extension:FindingInformer. It is an optional attribute, which may be used to describe who is answering the Questionnaire.
QuestionnaireResponse.authored holds the time that the questionnaire is answered.
Each item refers the appropriate linkId from the Questionnaire-definition in QuestionnaireResponse.item.linkId.
Answers can be given in QuestionnaireResponse.item.answer.value[x] using integer, boolean or string. These should follow the rules of the Questionnaire-definition. Note that strings are also limited a minimum of 1 character, and maximum of 30 characters.
Nedenstående tabel oversætter mellem de attributter der er defineret i den fælleskommunale informationsmodel (FKI), definerer kort den enkelte attribut på dansk og specificerer hvilke af FHIR-profilens atributter der skal bruges til specifikation af indholdet.
FKI-attribut | Definition | FHIR |
---|---|---|
SpørgeskemaSvarSpørgeskemaDefinition | Reference til definitionen på det spørgeskema der besvares. | QuestionnaireResponse.questionnaire |
SpørgeskemaSvarSubjekt | Den borger, som spørgeskemasvaret omhandler | QuestionnaireResponse.subject |
SpørgeskemaSvarKilde | Klasse der udtrykker kilden til spørgeskemasvaret dvs. den der reelt har besvaret spørgsmålene. | QuestionnaireResponse.extension:FindingInformer |
SpørgeskemaSvarTid | Tidspunkt for spørgeskemabesvarelsen | QuestionnaireResponse.authored |
SpørgeskemaSvarPunktId | Id for det enkelte punkt/spørgsmål i spørgeskemaet | QuestionnaireResponse.item.linkId |
SpørgeskemaSvarPunktSvar | Svaret på det enkelte punkt/svar i spørgeskemaet | QuestionnaireResponse.item.answer.value[x] |
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from QuestionnaireResponse
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
QuestionnaireResponse | |||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
Σ | 0..1 | (Complex) | FindingInformer URL: http://fhir.kl.dk/children/StructureDefinition/FindingInformer |
![]() ![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | [DK] SpørgeskemaSvarKilde | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | canonical(Questionnaire) | [DK] SpørgeskemaSvarSpørgeskemaDefinition | |
![]() ![]() ![]() |
1..1 | Reference(KLGatewayChildrenCitizen) {b} | [DK] SpørgeskemaSvarSubjekt | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | dateTime | [DK] SpørgeskemaSvarTid | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..36 | BackboneElement | Groups and questions | |
![]() ![]() ![]() ![]() |
1..1 | string | [DK] SpørgeskemaSvarPunktId | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | BackboneElement | The response(s) to the question | |
![]() ![]() ![]() ![]() ![]() |
1..1 | [DK] SpørgeskemaSvarPunktSvar Slice: Unordered, Open by type:$this | ||
![]() ![]() ![]() ![]() ![]() ![]() |
boolean | |||
![]() ![]() ![]() ![]() ![]() ![]() |
integer | |||
![]() ![]() ![]() ![]() ![]() ![]() |
string | |||
![]() ![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Single-valued answer to the question questionnaire-response-string-length: Answer given as string must be a minimum of 1 character, and maximum of 30 characters long |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | integer | Single-valued answer to the question | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | Single-valued answer to the question | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() |
Id | Grade | Path(s) | Details | Requirements |
questionnaire-response-string-length | error | QuestionnaireResponse.item.answer.value[x]:valueString | Answer given as string must be a minimum of 1 character, and maximum of 30 characters long : matches('^.{1,30}$') |
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | QuestionnaireResponse | A structured set of questions and their answers | |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
Σ | 0..1 | (Complex) | FindingInformer URL: http://fhir.kl.dk/children/StructureDefinition/FindingInformer |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://fhir.kl.dk/children/StructureDefinition/FindingInformer" | |
![]() ![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | [DK] SpørgeskemaSvarKilde Binding: KildeTilOplysningKoder (required) | |
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() |
Σ | 1..1 | canonical(Questionnaire) | [DK] SpørgeskemaSvarSpørgeskemaDefinition |
![]() ![]() ![]() |
?!Σ | 1..1 | code | in-progress | completed | amended | entered-in-error | stopped Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response. |
![]() ![]() ![]() |
Σ | 1..1 | Reference(KLGatewayChildrenCitizen) {b} | [DK] SpørgeskemaSvarSubjekt |
![]() ![]() ![]() |
Σ | 1..1 | dateTime | [DK] SpørgeskemaSvarTid |
![]() ![]() ![]() |
C | 0..36 | BackboneElement | Groups and questions qrs-1: Nested item can't be beneath both item and answer |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
1..1 | string | [DK] SpørgeskemaSvarPunktId | |
![]() ![]() ![]() ![]() |
1..1 | BackboneElement | The response(s) to the question | |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
1..1 | [DK] SpørgeskemaSvarPunktSvar Slice: Unordered, Closed by type:$this Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question. | ||
![]() ![]() ![]() ![]() ![]() ![]() |
boolean | |||
![]() ![]() ![]() ![]() ![]() ![]() |
integer | |||
![]() ![]() ![]() ![]() ![]() ![]() |
string | |||
![]() ![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Single-valued answer to the question Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question. questionnaire-response-string-length: Answer given as string must be a minimum of 1 character, and maximum of 30 characters long |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | integer | Single-valued answer to the question | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | Single-valued answer to the question | |
![]() |
Path | Conformance | ValueSet | URI |
QuestionnaireResponse.extension:findingInformer.value[x] | required | FindingInformerCodeshttp://fhir.kl.dk/children/ValueSet/FindingInformerCodes from this IG | |
QuestionnaireResponse.status | required | QuestionnaireResponseStatushttp://hl7.org/fhir/ValueSet/questionnaire-answers-status|4.0.1 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 | |
QuestionnaireResponse.item.answer.value[x]:valueString | 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 |
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() | |
questionnaire-response-string-length | error | QuestionnaireResponse.item.answer.value[x]:valueString | Answer given as string must be a minimum of 1 character, and maximum of 30 characters long : matches('^.{1,30}$') |
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
0..* | QuestionnaireResponse | A structured set of questions and their answers | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | (Complex) | FindingInformer URL: http://fhir.kl.dk/children/StructureDefinition/FindingInformer | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://fhir.kl.dk/children/StructureDefinition/FindingInformer" | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | [DK] SpørgeskemaSvarKilde Binding: KildeTilOplysningKoder (required) | |||||
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
Σ | 1..1 | canonical(Questionnaire) | [DK] SpørgeskemaSvarSpørgeskemaDefinition | ||||
![]() ![]() ![]() |
?!Σ | 1..1 | code | in-progress | completed | amended | entered-in-error | stopped Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response. | ||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(KLGatewayChildrenCitizen) {b} | [DK] SpørgeskemaSvarSubjekt | ||||
![]() ![]() ![]() |
Σ | 1..1 | dateTime | [DK] SpørgeskemaSvarTid | ||||
![]() ![]() ![]() |
C | 0..36 | BackboneElement | Groups and questions qrs-1: Nested item can't be beneath both item and answer | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
1..1 | string | [DK] SpørgeskemaSvarPunktId | |||||
![]() ![]() ![]() ![]() |
1..1 | BackboneElement | The response(s) to the question | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
1..1 | [DK] SpørgeskemaSvarPunktSvar Slice: Unordered, Closed by type:$this Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question. | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
integer | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Single-valued answer to the question Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question. questionnaire-response-string-length: Answer given as string must be a minimum of 1 character, and maximum of 30 characters long | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | integer | Single-valued answer to the question | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | Single-valued answer to the question | |||||
![]() |
Path | Conformance | ValueSet | URI | |||
QuestionnaireResponse.language | preferred | CommonLanguages
http://hl7.org/fhir/ValueSet/languages from the FHIR Standard | ||||
QuestionnaireResponse.extension:findingInformer.value[x] | required | FindingInformerCodeshttp://fhir.kl.dk/children/ValueSet/FindingInformerCodes from this IG | ||||
QuestionnaireResponse.status | required | QuestionnaireResponseStatushttp://hl7.org/fhir/ValueSet/questionnaire-answers-status|4.0.1 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 | ||||
QuestionnaireResponse.item.answer.value[x]:valueString | 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 |
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() | |
questionnaire-response-string-length | error | QuestionnaireResponse.item.answer.value[x]:valueString | Answer given as string must be a minimum of 1 character, and maximum of 30 characters long : matches('^.{1,30}$') |
This structure is derived from QuestionnaireResponse
Differential View
This structure is derived from QuestionnaireResponse
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
QuestionnaireResponse | |||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
Σ | 0..1 | (Complex) | FindingInformer URL: http://fhir.kl.dk/children/StructureDefinition/FindingInformer |
![]() ![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | [DK] SpørgeskemaSvarKilde | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | canonical(Questionnaire) | [DK] SpørgeskemaSvarSpørgeskemaDefinition | |
![]() ![]() ![]() |
1..1 | Reference(KLGatewayChildrenCitizen) {b} | [DK] SpørgeskemaSvarSubjekt | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | dateTime | [DK] SpørgeskemaSvarTid | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..36 | BackboneElement | Groups and questions | |
![]() ![]() ![]() ![]() |
1..1 | string | [DK] SpørgeskemaSvarPunktId | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | BackboneElement | The response(s) to the question | |
![]() ![]() ![]() ![]() ![]() |
1..1 | [DK] SpørgeskemaSvarPunktSvar Slice: Unordered, Open by type:$this | ||
![]() ![]() ![]() ![]() ![]() ![]() |
boolean | |||
![]() ![]() ![]() ![]() ![]() ![]() |
integer | |||
![]() ![]() ![]() ![]() ![]() ![]() |
string | |||
![]() ![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Single-valued answer to the question questionnaire-response-string-length: Answer given as string must be a minimum of 1 character, and maximum of 30 characters long |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | integer | Single-valued answer to the question | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | Single-valued answer to the question | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() |
Id | Grade | Path(s) | Details | Requirements |
questionnaire-response-string-length | error | QuestionnaireResponse.item.answer.value[x]:valueString | Answer given as string must be a minimum of 1 character, and maximum of 30 characters long : matches('^.{1,30}$') |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | QuestionnaireResponse | A structured set of questions and their answers | |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
Σ | 0..1 | (Complex) | FindingInformer URL: http://fhir.kl.dk/children/StructureDefinition/FindingInformer |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://fhir.kl.dk/children/StructureDefinition/FindingInformer" | |
![]() ![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | [DK] SpørgeskemaSvarKilde Binding: KildeTilOplysningKoder (required) | |
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() |
Σ | 1..1 | canonical(Questionnaire) | [DK] SpørgeskemaSvarSpørgeskemaDefinition |
![]() ![]() ![]() |
?!Σ | 1..1 | code | in-progress | completed | amended | entered-in-error | stopped Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response. |
![]() ![]() ![]() |
Σ | 1..1 | Reference(KLGatewayChildrenCitizen) {b} | [DK] SpørgeskemaSvarSubjekt |
![]() ![]() ![]() |
Σ | 1..1 | dateTime | [DK] SpørgeskemaSvarTid |
![]() ![]() ![]() |
C | 0..36 | BackboneElement | Groups and questions qrs-1: Nested item can't be beneath both item and answer |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
1..1 | string | [DK] SpørgeskemaSvarPunktId | |
![]() ![]() ![]() ![]() |
1..1 | BackboneElement | The response(s) to the question | |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
1..1 | [DK] SpørgeskemaSvarPunktSvar Slice: Unordered, Closed by type:$this Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question. | ||
![]() ![]() ![]() ![]() ![]() ![]() |
boolean | |||
![]() ![]() ![]() ![]() ![]() ![]() |
integer | |||
![]() ![]() ![]() ![]() ![]() ![]() |
string | |||
![]() ![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Single-valued answer to the question Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question. questionnaire-response-string-length: Answer given as string must be a minimum of 1 character, and maximum of 30 characters long |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | integer | Single-valued answer to the question | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | Single-valued answer to the question | |
![]() |
Path | Conformance | ValueSet | URI |
QuestionnaireResponse.extension:findingInformer.value[x] | required | FindingInformerCodeshttp://fhir.kl.dk/children/ValueSet/FindingInformerCodes from this IG | |
QuestionnaireResponse.status | required | QuestionnaireResponseStatushttp://hl7.org/fhir/ValueSet/questionnaire-answers-status|4.0.1 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 | |
QuestionnaireResponse.item.answer.value[x]:valueString | 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 |
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() | |
questionnaire-response-string-length | error | QuestionnaireResponse.item.answer.value[x]:valueString | Answer given as string must be a minimum of 1 character, and maximum of 30 characters long : matches('^.{1,30}$') |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
0..* | QuestionnaireResponse | A structured set of questions and their answers | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | (Complex) | FindingInformer URL: http://fhir.kl.dk/children/StructureDefinition/FindingInformer | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://fhir.kl.dk/children/StructureDefinition/FindingInformer" | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | [DK] SpørgeskemaSvarKilde Binding: KildeTilOplysningKoder (required) | |||||
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
Σ | 1..1 | canonical(Questionnaire) | [DK] SpørgeskemaSvarSpørgeskemaDefinition | ||||
![]() ![]() ![]() |
?!Σ | 1..1 | code | in-progress | completed | amended | entered-in-error | stopped Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response. | ||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(KLGatewayChildrenCitizen) {b} | [DK] SpørgeskemaSvarSubjekt | ||||
![]() ![]() ![]() |
Σ | 1..1 | dateTime | [DK] SpørgeskemaSvarTid | ||||
![]() ![]() ![]() |
C | 0..36 | BackboneElement | Groups and questions qrs-1: Nested item can't be beneath both item and answer | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
1..1 | string | [DK] SpørgeskemaSvarPunktId | |||||
![]() ![]() ![]() ![]() |
1..1 | BackboneElement | The response(s) to the question | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
1..1 | [DK] SpørgeskemaSvarPunktSvar Slice: Unordered, Closed by type:$this Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question. | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
integer | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Single-valued answer to the question Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question. questionnaire-response-string-length: Answer given as string must be a minimum of 1 character, and maximum of 30 characters long | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | integer | Single-valued answer to the question | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | Single-valued answer to the question | |||||
![]() |
Path | Conformance | ValueSet | URI | |||
QuestionnaireResponse.language | preferred | CommonLanguages
http://hl7.org/fhir/ValueSet/languages from the FHIR Standard | ||||
QuestionnaireResponse.extension:findingInformer.value[x] | required | FindingInformerCodeshttp://fhir.kl.dk/children/ValueSet/FindingInformerCodes from this IG | ||||
QuestionnaireResponse.status | required | QuestionnaireResponseStatushttp://hl7.org/fhir/ValueSet/questionnaire-answers-status|4.0.1 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 | ||||
QuestionnaireResponse.item.answer.value[x]:valueString | 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 |
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() | |
questionnaire-response-string-length | error | QuestionnaireResponse.item.answer.value[x]:valueString | Answer given as string must be a minimum of 1 character, and maximum of 30 characters long : matches('^.{1,30}$') |
This structure is derived from QuestionnaireResponse
Other representations of profile: CSV, Excel, Schematron