Guide d'implémentation AP-HP Core
0.13.5 - ci-build
This page is part of the AP-HP Core (v0.13.5: trial-use - Mixed Normative and STU) based on FHIR (HL7® FHIR® Standard) R4. No current official version has been published yet. For a full list of available versions, see the Directory of published versions
| Official URL: https://interop.aphp.fr/ig/fhir/core/StructureDefinition/core-questionnaire-response | Version: 0.13.5 | |||
| Active as of 2026-11-24 | Computable Name: CoreQuestionnaireResponse | |||
| Profile of the QuestionnaireResponse resource for AP-HP | Profil de la ressource QuestionnaireResponse pour l'usage à l'AP-HP. |
Utilisations:
Vous pouvez également vérifier les usages dans le FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Chemin | Statut | Usage | Jeu de valeurs (ValueSet) | Version | Source |
| QuestionnaireResponse.status | Base | required | QuestionnaireResponseStatus | 📍4.0.1 | Std. FHIR |
| QuestionnaireResponse.item.answer.value[x] | Base | example | Questionnaire Answer Codes | 📍4.0.1 | Std. FHIR |
| Id | Grade | Chemin(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 | bonne pratique | QuestionnaireResponse | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | QuestionnaireResponse.implicitRules, QuestionnaireResponse.extension:signature, QuestionnaireResponse.extension:completionMode, QuestionnaireResponse.modifierExtension, QuestionnaireResponse.identifier, QuestionnaireResponse.partOf, QuestionnaireResponse.questionnaire, QuestionnaireResponse.questionnaire.extension:questionnaireDisplay, QuestionnaireResponse.status, QuestionnaireResponse.subject, QuestionnaireResponse.encounter, QuestionnaireResponse.authored, QuestionnaireResponse.author, QuestionnaireResponse.item, QuestionnaireResponse.item.extension:itemMedia, QuestionnaireResponse.item.extension:ItemSignature, QuestionnaireResponse.item.modifierExtension, QuestionnaireResponse.item.linkId, QuestionnaireResponse.item.text, QuestionnaireResponse.item.answer, QuestionnaireResponse.item.answer.extension:itemAnswerMedia, QuestionnaireResponse.item.answer.extension:ordinalValue, QuestionnaireResponse.item.answer.modifierExtension, QuestionnaireResponse.item.answer.value[x], QuestionnaireResponse.item.answer.item, QuestionnaireResponse.item.item | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | QuestionnaireResponse.extension:signature, QuestionnaireResponse.extension:completionMode, QuestionnaireResponse.modifierExtension, QuestionnaireResponse.questionnaire.extension:questionnaireDisplay, QuestionnaireResponse.item.extension:itemMedia, QuestionnaireResponse.item.extension:ItemSignature, QuestionnaireResponse.item.modifierExtension, QuestionnaireResponse.item.answer.extension:itemAnswerMedia, QuestionnaireResponse.item.answer.extension:ordinalValue, QuestionnaireResponse.item.answer.modifierExtension | 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()
|
| sdcqr-1 | bonne pratique | QuestionnaireResponse | Subject SHOULD be present (searching is difficult without subject). Almost all QuestionnaireResponses should be with respect to some sort of subject. |
subject.exists()
|
| sdcqr-2 | bonne pratique | QuestionnaireResponse | When repeats=true for a group, it'll be represented with multiple items with the same linkId in the QuestionnaireResponse. For a question, it'll be represented by a single item with that linkId with multiple answers. |
(QuestionnaireResponse|repeat(answer|item)).select(item.where(answer.value.exists()).linkId.isDistinct()).allTrue()
|
This structure is derived from SDCQuestionnaireResponse
| Nom | Drapeaux | Card. | Type | Description et contraintes Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | SDCQuestionnaireResponse(3.0.0) | SDC Questionnaire Response Constraints: sdcqr-1, sdcqr-2 | ||||
![]() ![]() |
Σ | 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 This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Non ordonné, Ouvert par value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..* | Signature | A signature attesting to the content URL: http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | E.g. Verbal, written, electronic URL: http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode Binding: QuestionnaireResponseMode (required): Codes indicating how the questionnaire was completed. Constraints: ext-1 | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
SΣ | 0..1 | Identifier | Unique id for this set of answers | ||||
![]() ![]() |
Σ | 0..* | Reference(CarePlan | ServiceRequest) | Request fulfilled by this QuestionnaireResponse | ||||
![]() ![]() |
Σ | 0..* | Reference(Observation | Procedure | Observation Hook Profile(0.13.5) | Procedure hook profil(0.13.5)) | Part of this action | ||||
![]() ![]() |
SΣ | 1..1 | canonical(SDCBaseQuestionnaire(3.0.0) | AP-HP Questionnaire Profile(0.13.5)) | Form being answered | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Non ordonné, Ouvert par value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
S | 0..1 | string | Display name for canonical reference URL: http://hl7.org/fhir/StructureDefinition/display Constraints: ext-1 | ||||
![]() ![]() ![]() |
0..1 | string | Primitive value for canonical | |||||
![]() ![]() |
?!SΣ | 1..1 | code | in-progress | completed | amended | entered-in-error | stopped Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response. | ||||
![]() ![]() |
SΣ | 0..1 | Reference(FR Core Patient Profile(2.1.0) | Patient(0.13.5) | Patient (INS)(0.13.5) | Patient (IPP)(0.13.5)) | The subject of the questions | ||||
![]() ![]() |
Σ | 0..1 | Reference(Encounter | FR Core Encounter Profile(2.1.0) | Encounter AP-HP(0.13.5) | Séjour hospitalier(0.13.5) | Passage UF(0.13.5)) | Encounter created as part of | ||||
![]() ![]() |
SΣ | 1..1 | dateTime | Date the answers were gathered | ||||
![]() ![]() |
SΣ | 0..1 | Reference(Device | Practitioner | PractitionerRole | Patient | RelatedPerson | Organization | FR Core Practitioner Profile(2.1.0) | FR Core Patient Profile(2.1.0) | FR Core Organization Profile(2.1.0) | AS Practitioner Profile(1.1.0) | AS PractitionerRole Profile(1.1.0) | AS Organization Profile(1.1.0) | Employé d'un établissement de santé(0.13.5) | Fonction d'un employé au sein d'un établissement de santé.(0.13.5) | Patient(0.13.5) | Patient (INS)(0.13.5) | Patient (IPP)(0.13.5) | AP-HP Core Organization(0.13.5) | Hôpital de l'AP-HP(0.13.5) | Unité fonctionnelle de l'AP-HP(0.13.5)) | Person who received and recorded the answers | ||||
![]() ![]() |
Σ | 0..1 | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson) | The person who answered the questions | ||||
![]() ![]() |
SC | 0..* | BackboneElement | Groups and questions Constraints: qrs-1 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Non ordonné, Ouvert par value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Attachment | Media to display URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemMedia Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..* | Signature | A signature attesting to the content URL: http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
S | 1..1 | string | Pointer to specific item from Questionnaire | ||||
![]() ![]() ![]() |
0..1 | uri | ElementDefinition - details for the item | |||||
![]() ![]() ![]() |
S | 0..1 | string | Name for group or question text | ||||
![]() ![]() ![]() |
S | 0..* | BackboneElement | The response(s) to the question | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Non ordonné, Ouvert par value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Attachment | Answer Media to display URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemAnswerMedia Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | decimal | Assigned Ordinal Value URL: http://hl7.org/fhir/StructureDefinition/ordinalValue Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | Single-valued answer to the question Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question. | |||||
![]() ![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() ![]() |
date | |||||||
![]() ![]() ![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() ![]() ![]() |
time | |||||||
![]() ![]() ![]() ![]() ![]() |
decimal | |||||||
![]() ![]() ![]() ![]() ![]() |
integer | |||||||
![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() ![]() |
Coding | |||||||
![]() ![]() ![]() ![]() ![]() |
uri | |||||||
![]() ![]() ![]() ![]() ![]() |
Quantity | |||||||
![]() ![]() ![]() ![]() ![]() |
Attachment | |||||||
![]() ![]() ![]() ![]() ![]() |
Reference(Any) | |||||||
![]() ![]() ![]() ![]() |
S | 0..* | Voir item (QuestionnaireResponse) | Nested groups and questions | ||||
![]() ![]() ![]() |
S | 0..* | Voir item (QuestionnaireResponse) | Nested questionnaire response items | ||||
Documentation pour ce format | ||||||||
| Chemin | Statut | Usage | Jeu de valeurs (ValueSet) | Version | Source |
| QuestionnaireResponse.language | Base | preferred | Common Languages | 📍4.0.1 | Std. FHIR |
| QuestionnaireResponse.status | Base | required | QuestionnaireResponseStatus | 📍4.0.1 | Std. FHIR |
| QuestionnaireResponse.item.answer.value[x] | Base | example | Questionnaire Answer Codes | 📍4.0.1 | Std. FHIR |
| Id | Grade | Chemin(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 | bonne pratique | QuestionnaireResponse | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | QuestionnaireResponse.meta, QuestionnaireResponse.implicitRules, QuestionnaireResponse.language, QuestionnaireResponse.text, QuestionnaireResponse.extension, QuestionnaireResponse.extension:signature, QuestionnaireResponse.extension:completionMode, QuestionnaireResponse.modifierExtension, QuestionnaireResponse.identifier, QuestionnaireResponse.basedOn, QuestionnaireResponse.partOf, QuestionnaireResponse.questionnaire, QuestionnaireResponse.questionnaire.extension, QuestionnaireResponse.questionnaire.extension:questionnaireDisplay, QuestionnaireResponse.status, QuestionnaireResponse.subject, QuestionnaireResponse.encounter, QuestionnaireResponse.authored, QuestionnaireResponse.author, QuestionnaireResponse.source, QuestionnaireResponse.item, QuestionnaireResponse.item.extension, QuestionnaireResponse.item.extension:itemMedia, QuestionnaireResponse.item.extension:ItemSignature, QuestionnaireResponse.item.modifierExtension, QuestionnaireResponse.item.linkId, QuestionnaireResponse.item.definition, QuestionnaireResponse.item.text, QuestionnaireResponse.item.answer, QuestionnaireResponse.item.answer.extension, QuestionnaireResponse.item.answer.extension:itemAnswerMedia, QuestionnaireResponse.item.answer.extension:ordinalValue, QuestionnaireResponse.item.answer.modifierExtension, QuestionnaireResponse.item.answer.value[x], QuestionnaireResponse.item.answer.item, QuestionnaireResponse.item.item | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | QuestionnaireResponse.extension, QuestionnaireResponse.extension:signature, QuestionnaireResponse.extension:completionMode, QuestionnaireResponse.modifierExtension, QuestionnaireResponse.questionnaire.extension, QuestionnaireResponse.questionnaire.extension:questionnaireDisplay, QuestionnaireResponse.item.extension, QuestionnaireResponse.item.extension:itemMedia, QuestionnaireResponse.item.extension:ItemSignature, QuestionnaireResponse.item.modifierExtension, QuestionnaireResponse.item.answer.extension, QuestionnaireResponse.item.answer.extension:itemAnswerMedia, QuestionnaireResponse.item.answer.extension:ordinalValue, QuestionnaireResponse.item.answer.modifierExtension | 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()
|
| sdcqr-1 | bonne pratique | QuestionnaireResponse | Subject SHOULD be present (searching is difficult without subject). Almost all QuestionnaireResponses should be with respect to some sort of subject. |
subject.exists()
|
| sdcqr-2 | bonne pratique | QuestionnaireResponse | When repeats=true for a group, it'll be represented with multiple items with the same linkId in the QuestionnaireResponse. For a question, it'll be represented by a single item with that linkId with multiple answers. |
(QuestionnaireResponse|repeat(answer|item)).select(item.where(answer.value.exists()).linkId.isDistinct()).allTrue()
|
This structure is derived from SDCQuestionnaireResponse
Résumé
Structures
Cette structure fait référence à ces autres structures:
Key Elements View
| Chemin | Statut | Usage | Jeu de valeurs (ValueSet) | Version | Source |
| QuestionnaireResponse.status | Base | required | QuestionnaireResponseStatus | 📍4.0.1 | Std. FHIR |
| QuestionnaireResponse.item.answer.value[x] | Base | example | Questionnaire Answer Codes | 📍4.0.1 | Std. FHIR |
| Id | Grade | Chemin(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 | bonne pratique | QuestionnaireResponse | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | QuestionnaireResponse.implicitRules, QuestionnaireResponse.extension:signature, QuestionnaireResponse.extension:completionMode, QuestionnaireResponse.modifierExtension, QuestionnaireResponse.identifier, QuestionnaireResponse.partOf, QuestionnaireResponse.questionnaire, QuestionnaireResponse.questionnaire.extension:questionnaireDisplay, QuestionnaireResponse.status, QuestionnaireResponse.subject, QuestionnaireResponse.encounter, QuestionnaireResponse.authored, QuestionnaireResponse.author, QuestionnaireResponse.item, QuestionnaireResponse.item.extension:itemMedia, QuestionnaireResponse.item.extension:ItemSignature, QuestionnaireResponse.item.modifierExtension, QuestionnaireResponse.item.linkId, QuestionnaireResponse.item.text, QuestionnaireResponse.item.answer, QuestionnaireResponse.item.answer.extension:itemAnswerMedia, QuestionnaireResponse.item.answer.extension:ordinalValue, QuestionnaireResponse.item.answer.modifierExtension, QuestionnaireResponse.item.answer.value[x], QuestionnaireResponse.item.answer.item, QuestionnaireResponse.item.item | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | QuestionnaireResponse.extension:signature, QuestionnaireResponse.extension:completionMode, QuestionnaireResponse.modifierExtension, QuestionnaireResponse.questionnaire.extension:questionnaireDisplay, QuestionnaireResponse.item.extension:itemMedia, QuestionnaireResponse.item.extension:ItemSignature, QuestionnaireResponse.item.modifierExtension, QuestionnaireResponse.item.answer.extension:itemAnswerMedia, QuestionnaireResponse.item.answer.extension:ordinalValue, QuestionnaireResponse.item.answer.modifierExtension | 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()
|
| sdcqr-1 | bonne pratique | QuestionnaireResponse | Subject SHOULD be present (searching is difficult without subject). Almost all QuestionnaireResponses should be with respect to some sort of subject. |
subject.exists()
|
| sdcqr-2 | bonne pratique | QuestionnaireResponse | When repeats=true for a group, it'll be represented with multiple items with the same linkId in the QuestionnaireResponse. For a question, it'll be represented by a single item with that linkId with multiple answers. |
(QuestionnaireResponse|repeat(answer|item)).select(item.where(answer.value.exists()).linkId.isDistinct()).allTrue()
|
Differential View
This structure is derived from SDCQuestionnaireResponse
Snapshot View
| Nom | Drapeaux | Card. | Type | Description et contraintes Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | SDCQuestionnaireResponse(3.0.0) | SDC Questionnaire Response Constraints: sdcqr-1, sdcqr-2 | ||||
![]() ![]() |
Σ | 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 This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Non ordonné, Ouvert par value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..* | Signature | A signature attesting to the content URL: http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | E.g. Verbal, written, electronic URL: http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode Binding: QuestionnaireResponseMode (required): Codes indicating how the questionnaire was completed. Constraints: ext-1 | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
SΣ | 0..1 | Identifier | Unique id for this set of answers | ||||
![]() ![]() |
Σ | 0..* | Reference(CarePlan | ServiceRequest) | Request fulfilled by this QuestionnaireResponse | ||||
![]() ![]() |
Σ | 0..* | Reference(Observation | Procedure | Observation Hook Profile(0.13.5) | Procedure hook profil(0.13.5)) | Part of this action | ||||
![]() ![]() |
SΣ | 1..1 | canonical(SDCBaseQuestionnaire(3.0.0) | AP-HP Questionnaire Profile(0.13.5)) | Form being answered | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Non ordonné, Ouvert par value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
S | 0..1 | string | Display name for canonical reference URL: http://hl7.org/fhir/StructureDefinition/display Constraints: ext-1 | ||||
![]() ![]() ![]() |
0..1 | string | Primitive value for canonical | |||||
![]() ![]() |
?!SΣ | 1..1 | code | in-progress | completed | amended | entered-in-error | stopped Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response. | ||||
![]() ![]() |
SΣ | 0..1 | Reference(FR Core Patient Profile(2.1.0) | Patient(0.13.5) | Patient (INS)(0.13.5) | Patient (IPP)(0.13.5)) | The subject of the questions | ||||
![]() ![]() |
Σ | 0..1 | Reference(Encounter | FR Core Encounter Profile(2.1.0) | Encounter AP-HP(0.13.5) | Séjour hospitalier(0.13.5) | Passage UF(0.13.5)) | Encounter created as part of | ||||
![]() ![]() |
SΣ | 1..1 | dateTime | Date the answers were gathered | ||||
![]() ![]() |
SΣ | 0..1 | Reference(Device | Practitioner | PractitionerRole | Patient | RelatedPerson | Organization | FR Core Practitioner Profile(2.1.0) | FR Core Patient Profile(2.1.0) | FR Core Organization Profile(2.1.0) | AS Practitioner Profile(1.1.0) | AS PractitionerRole Profile(1.1.0) | AS Organization Profile(1.1.0) | Employé d'un établissement de santé(0.13.5) | Fonction d'un employé au sein d'un établissement de santé.(0.13.5) | Patient(0.13.5) | Patient (INS)(0.13.5) | Patient (IPP)(0.13.5) | AP-HP Core Organization(0.13.5) | Hôpital de l'AP-HP(0.13.5) | Unité fonctionnelle de l'AP-HP(0.13.5)) | Person who received and recorded the answers | ||||
![]() ![]() |
Σ | 0..1 | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson) | The person who answered the questions | ||||
![]() ![]() |
SC | 0..* | BackboneElement | Groups and questions Constraints: qrs-1 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Non ordonné, Ouvert par value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Attachment | Media to display URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemMedia Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..* | Signature | A signature attesting to the content URL: http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
S | 1..1 | string | Pointer to specific item from Questionnaire | ||||
![]() ![]() ![]() |
0..1 | uri | ElementDefinition - details for the item | |||||
![]() ![]() ![]() |
S | 0..1 | string | Name for group or question text | ||||
![]() ![]() ![]() |
S | 0..* | BackboneElement | The response(s) to the question | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Non ordonné, Ouvert par value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Attachment | Answer Media to display URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemAnswerMedia Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | decimal | Assigned Ordinal Value URL: http://hl7.org/fhir/StructureDefinition/ordinalValue Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | Single-valued answer to the question Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question. | |||||
![]() ![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() ![]() |
date | |||||||
![]() ![]() ![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() ![]() ![]() |
time | |||||||
![]() ![]() ![]() ![]() ![]() |
decimal | |||||||
![]() ![]() ![]() ![]() ![]() |
integer | |||||||
![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() ![]() |
Coding | |||||||
![]() ![]() ![]() ![]() ![]() |
uri | |||||||
![]() ![]() ![]() ![]() ![]() |
Quantity | |||||||
![]() ![]() ![]() ![]() ![]() |
Attachment | |||||||
![]() ![]() ![]() ![]() ![]() |
Reference(Any) | |||||||
![]() ![]() ![]() ![]() |
S | 0..* | Voir item (QuestionnaireResponse) | Nested groups and questions | ||||
![]() ![]() ![]() |
S | 0..* | Voir item (QuestionnaireResponse) | Nested questionnaire response items | ||||
Documentation pour ce format | ||||||||
| Chemin | Statut | Usage | Jeu de valeurs (ValueSet) | Version | Source |
| QuestionnaireResponse.language | Base | preferred | Common Languages | 📍4.0.1 | Std. FHIR |
| QuestionnaireResponse.status | Base | required | QuestionnaireResponseStatus | 📍4.0.1 | Std. FHIR |
| QuestionnaireResponse.item.answer.value[x] | Base | example | Questionnaire Answer Codes | 📍4.0.1 | Std. FHIR |
| Id | Grade | Chemin(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 | bonne pratique | QuestionnaireResponse | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | QuestionnaireResponse.meta, QuestionnaireResponse.implicitRules, QuestionnaireResponse.language, QuestionnaireResponse.text, QuestionnaireResponse.extension, QuestionnaireResponse.extension:signature, QuestionnaireResponse.extension:completionMode, QuestionnaireResponse.modifierExtension, QuestionnaireResponse.identifier, QuestionnaireResponse.basedOn, QuestionnaireResponse.partOf, QuestionnaireResponse.questionnaire, QuestionnaireResponse.questionnaire.extension, QuestionnaireResponse.questionnaire.extension:questionnaireDisplay, QuestionnaireResponse.status, QuestionnaireResponse.subject, QuestionnaireResponse.encounter, QuestionnaireResponse.authored, QuestionnaireResponse.author, QuestionnaireResponse.source, QuestionnaireResponse.item, QuestionnaireResponse.item.extension, QuestionnaireResponse.item.extension:itemMedia, QuestionnaireResponse.item.extension:ItemSignature, QuestionnaireResponse.item.modifierExtension, QuestionnaireResponse.item.linkId, QuestionnaireResponse.item.definition, QuestionnaireResponse.item.text, QuestionnaireResponse.item.answer, QuestionnaireResponse.item.answer.extension, QuestionnaireResponse.item.answer.extension:itemAnswerMedia, QuestionnaireResponse.item.answer.extension:ordinalValue, QuestionnaireResponse.item.answer.modifierExtension, QuestionnaireResponse.item.answer.value[x], QuestionnaireResponse.item.answer.item, QuestionnaireResponse.item.item | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | QuestionnaireResponse.extension, QuestionnaireResponse.extension:signature, QuestionnaireResponse.extension:completionMode, QuestionnaireResponse.modifierExtension, QuestionnaireResponse.questionnaire.extension, QuestionnaireResponse.questionnaire.extension:questionnaireDisplay, QuestionnaireResponse.item.extension, QuestionnaireResponse.item.extension:itemMedia, QuestionnaireResponse.item.extension:ItemSignature, QuestionnaireResponse.item.modifierExtension, QuestionnaireResponse.item.answer.extension, QuestionnaireResponse.item.answer.extension:itemAnswerMedia, QuestionnaireResponse.item.answer.extension:ordinalValue, QuestionnaireResponse.item.answer.modifierExtension | 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()
|
| sdcqr-1 | bonne pratique | QuestionnaireResponse | Subject SHOULD be present (searching is difficult without subject). Almost all QuestionnaireResponses should be with respect to some sort of subject. |
subject.exists()
|
| sdcqr-2 | bonne pratique | QuestionnaireResponse | When repeats=true for a group, it'll be represented with multiple items with the same linkId in the QuestionnaireResponse. For a question, it'll be represented by a single item with that linkId with multiple answers. |
(QuestionnaireResponse|repeat(answer|item)).select(item.where(answer.value.exists()).linkId.isDistinct()).allTrue()
|
This structure is derived from SDCQuestionnaireResponse
Résumé
Structures
Cette structure fait référence à ces autres structures:
Other representations of profile: CSV, Excel, Schematron