Guide d'implémentation AP-HP Core
0.13.5 - ci-build France (la) flag

Guide d'implémentation AP-HP Core - Downloaded Version 0.13.5 See the Directory of published versions

Resource Profile: AP-HP QuestionnaireResponse Profile ( Experimental )

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:

  • Ce Profil n'est utilisé par aucun autre profil dans ce guide d'implémentation

Vous pouvez également vérifier les usages dans le FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NomDrapeauxCard.TypeDescription et contraintes    Filter: Filtersdoco
.. QuestionnaireResponse C 0..* SDCQuestionnaireResponse(3.0.0) SDC Questionnaire Response
Constraints: sdcqr-1, sdcqr-2
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices pour extension Contenu/Règles pour toutes les slices
.... extension:signature 0..* Signature A signature attesting to the content
URL: http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature
Constraints: ext-1
.... extension:completionMode 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
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... partOf Σ 0..* Reference(Observation | Procedure | Observation Hook Profile(0.13.5) | Procedure hook profil(0.13.5)) Part of this action
... questionnaire SΣ 1..1 canonical(SDCBaseQuestionnaire(3.0.0) | AP-HP Questionnaire Profile(0.13.5)) Form being answered
.... Slices pour extension Contenu/Règles pour toutes les slices
..... extension:questionnaireDisplay S 0..1 string Display name for canonical reference
URL: http://hl7.org/fhir/StructureDefinition/display
Constraints: ext-1
... status ?!SΣ 1..1 code in-progress | completed | amended | entered-in-error | stopped
Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response.
... subject 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
... encounter Σ 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
... authored SΣ 1..1 dateTime Date the answers were gathered
... author 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
... item SC 0..* BackboneElement Groups and questions
Constraints: qrs-1
.... Slices pour extension Contenu/Règles pour toutes les slices
..... extension:itemMedia 0..1 Attachment Media to display
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemMedia
Constraints: ext-1
..... extension:ItemSignature 0..* Signature A signature attesting to the content
URL: http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... linkId S 1..1 string Pointer to specific item from Questionnaire
.... text S 0..1 string Name for group or question text
.... answer S 0..* BackboneElement The response(s) to the question
..... Slices pour extension Contenu/Règles pour toutes les slices
...... extension:itemAnswerMedia 0..1 Attachment Answer Media to display
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemAnswerMedia
Constraints: ext-1
...... extension:ordinalValue 0..1 decimal Assigned Ordinal Value
URL: http://hl7.org/fhir/StructureDefinition/ordinalValue
Constraints: ext-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... value[x] S 0..1 Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
...... valueBoolean boolean
...... valueDate date
...... valueDateTime dateTime
...... valueTime time
...... valueDecimal decimal
...... valueInteger integer
...... valueString string
...... valueCoding Coding
...... valueUri uri
...... valueQuantity Quantity
...... valueAttachment Attachment
...... valueReference Reference(Any)
..... item S 0..* Voir item (QuestionnaireResponse) Nested groups and questions
.... item S 0..* Voir item (QuestionnaireResponse) Nested questionnaire response items

doco Documentation pour ce format

Bindings terminologiques

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

Contraintes

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

NomDrapeauxCard.TypeDescription et contraintes    Filter: Filtersdoco
.. QuestionnaireResponse 0..* SDCQuestionnaireResponse(3.0.0) SDC Questionnaire Response
... partOf 0..* Reference(Observation | Procedure | Observation Hook Profile(0.13.5) | Procedure hook profil(0.13.5)) Part of this action
... questionnaire 1..1 canonical(SDCBaseQuestionnaire(3.0.0) | AP-HP Questionnaire Profile(0.13.5)) Form being answered
... subject 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
... author 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

doco Documentation pour ce format
NomDrapeauxCard.TypeDescription et contraintes    Filter: Filtersdoco
.. QuestionnaireResponse C 0..* SDCQuestionnaireResponse(3.0.0) SDC Questionnaire Response
Constraints: sdcqr-1, sdcqr-2
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 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
... contained 0..* Resource Contained, inline Resources
... Slices pour extension 0..* Extension Extension
Slice: Non ordonné, Ouvert par value:url
Constraints: ext-1
.... extension:signature 0..* Signature A signature attesting to the content
URL: http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature
Constraints: ext-1
.... extension:completionMode 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
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... identifier SΣ 0..1 Identifier Unique id for this set of answers
... basedOn Σ 0..* Reference(CarePlan | ServiceRequest) Request fulfilled by this QuestionnaireResponse
... partOf Σ 0..* Reference(Observation | Procedure | Observation Hook Profile(0.13.5) | Procedure hook profil(0.13.5)) Part of this action
... questionnaire SΣ 1..1 canonical(SDCBaseQuestionnaire(3.0.0) | AP-HP Questionnaire Profile(0.13.5)) Form being answered
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices pour extension 0..* Extension Extension
Slice: Non ordonné, Ouvert par value:url
Constraints: ext-1
..... extension:questionnaireDisplay S 0..1 string Display name for canonical reference
URL: http://hl7.org/fhir/StructureDefinition/display
Constraints: ext-1
.... value 0..1 string Primitive value for canonical
... status ?!SΣ 1..1 code in-progress | completed | amended | entered-in-error | stopped
Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response.
... subject 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
... encounter Σ 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
... authored SΣ 1..1 dateTime Date the answers were gathered
... author 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
... source Σ 0..1 Reference(Patient | Practitioner | PractitionerRole | RelatedPerson) The person who answered the questions
... item SC 0..* BackboneElement Groups and questions
Constraints: qrs-1
.... id 0..1 string Unique id for inter-element referencing
.... Slices pour extension 0..* Extension Extension
Slice: Non ordonné, Ouvert par value:url
Constraints: ext-1
..... extension:itemMedia 0..1 Attachment Media to display
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemMedia
Constraints: ext-1
..... extension:ItemSignature 0..* Signature A signature attesting to the content
URL: http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... linkId S 1..1 string Pointer to specific item from Questionnaire
.... definition 0..1 uri ElementDefinition - details for the item
.... text S 0..1 string Name for group or question text
.... answer S 0..* BackboneElement The response(s) to the question
..... id 0..1 string Unique id for inter-element referencing
..... Slices pour extension 0..* Extension Extension
Slice: Non ordonné, Ouvert par value:url
Constraints: ext-1
...... extension:itemAnswerMedia 0..1 Attachment Answer Media to display
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemAnswerMedia
Constraints: ext-1
...... extension:ordinalValue 0..1 decimal Assigned Ordinal Value
URL: http://hl7.org/fhir/StructureDefinition/ordinalValue
Constraints: ext-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... value[x] S 0..1 Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
...... valueBoolean boolean
...... valueDate date
...... valueDateTime dateTime
...... valueTime time
...... valueDecimal decimal
...... valueInteger integer
...... valueString string
...... valueCoding Coding
...... valueUri uri
...... valueQuantity Quantity
...... valueAttachment Attachment
...... valueReference Reference(Any)
..... item S 0..* Voir item (QuestionnaireResponse) Nested groups and questions
.... item S 0..* Voir item (QuestionnaireResponse) Nested questionnaire response items

doco Documentation pour ce format

Bindings terminologiques

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

Contraintes

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

NomDrapeauxCard.TypeDescription et contraintes    Filter: Filtersdoco
.. QuestionnaireResponse C 0..* SDCQuestionnaireResponse(3.0.0) SDC Questionnaire Response
Constraints: sdcqr-1, sdcqr-2
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices pour extension Contenu/Règles pour toutes les slices
.... extension:signature 0..* Signature A signature attesting to the content
URL: http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature
Constraints: ext-1
.... extension:completionMode 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
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... partOf Σ 0..* Reference(Observation | Procedure | Observation Hook Profile(0.13.5) | Procedure hook profil(0.13.5)) Part of this action
... questionnaire SΣ 1..1 canonical(SDCBaseQuestionnaire(3.0.0) | AP-HP Questionnaire Profile(0.13.5)) Form being answered
.... Slices pour extension Contenu/Règles pour toutes les slices
..... extension:questionnaireDisplay S 0..1 string Display name for canonical reference
URL: http://hl7.org/fhir/StructureDefinition/display
Constraints: ext-1
... status ?!SΣ 1..1 code in-progress | completed | amended | entered-in-error | stopped
Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response.
... subject 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
... encounter Σ 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
... authored SΣ 1..1 dateTime Date the answers were gathered
... author 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
... item SC 0..* BackboneElement Groups and questions
Constraints: qrs-1
.... Slices pour extension Contenu/Règles pour toutes les slices
..... extension:itemMedia 0..1 Attachment Media to display
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemMedia
Constraints: ext-1
..... extension:ItemSignature 0..* Signature A signature attesting to the content
URL: http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... linkId S 1..1 string Pointer to specific item from Questionnaire
.... text S 0..1 string Name for group or question text
.... answer S 0..* BackboneElement The response(s) to the question
..... Slices pour extension Contenu/Règles pour toutes les slices
...... extension:itemAnswerMedia 0..1 Attachment Answer Media to display
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemAnswerMedia
Constraints: ext-1
...... extension:ordinalValue 0..1 decimal Assigned Ordinal Value
URL: http://hl7.org/fhir/StructureDefinition/ordinalValue
Constraints: ext-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... value[x] S 0..1 Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
...... valueBoolean boolean
...... valueDate date
...... valueDateTime dateTime
...... valueTime time
...... valueDecimal decimal
...... valueInteger integer
...... valueString string
...... valueCoding Coding
...... valueUri uri
...... valueQuantity Quantity
...... valueAttachment Attachment
...... valueReference Reference(Any)
..... item S 0..* Voir item (QuestionnaireResponse) Nested groups and questions
.... item S 0..* Voir item (QuestionnaireResponse) Nested questionnaire response items

doco Documentation pour ce format

Bindings terminologiques

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

Contraintes

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

NomDrapeauxCard.TypeDescription et contraintes    Filter: Filtersdoco
.. QuestionnaireResponse 0..* SDCQuestionnaireResponse(3.0.0) SDC Questionnaire Response
... partOf 0..* Reference(Observation | Procedure | Observation Hook Profile(0.13.5) | Procedure hook profil(0.13.5)) Part of this action
... questionnaire 1..1 canonical(SDCBaseQuestionnaire(3.0.0) | AP-HP Questionnaire Profile(0.13.5)) Form being answered
... subject 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
... author 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

doco Documentation pour ce format

Snapshot View

NomDrapeauxCard.TypeDescription et contraintes    Filter: Filtersdoco
.. QuestionnaireResponse C 0..* SDCQuestionnaireResponse(3.0.0) SDC Questionnaire Response
Constraints: sdcqr-1, sdcqr-2
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 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
... contained 0..* Resource Contained, inline Resources
... Slices pour extension 0..* Extension Extension
Slice: Non ordonné, Ouvert par value:url
Constraints: ext-1
.... extension:signature 0..* Signature A signature attesting to the content
URL: http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature
Constraints: ext-1
.... extension:completionMode 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
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... identifier SΣ 0..1 Identifier Unique id for this set of answers
... basedOn Σ 0..* Reference(CarePlan | ServiceRequest) Request fulfilled by this QuestionnaireResponse
... partOf Σ 0..* Reference(Observation | Procedure | Observation Hook Profile(0.13.5) | Procedure hook profil(0.13.5)) Part of this action
... questionnaire SΣ 1..1 canonical(SDCBaseQuestionnaire(3.0.0) | AP-HP Questionnaire Profile(0.13.5)) Form being answered
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices pour extension 0..* Extension Extension
Slice: Non ordonné, Ouvert par value:url
Constraints: ext-1
..... extension:questionnaireDisplay S 0..1 string Display name for canonical reference
URL: http://hl7.org/fhir/StructureDefinition/display
Constraints: ext-1
.... value 0..1 string Primitive value for canonical
... status ?!SΣ 1..1 code in-progress | completed | amended | entered-in-error | stopped
Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response.
... subject 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
... encounter Σ 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
... authored SΣ 1..1 dateTime Date the answers were gathered
... author 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
... source Σ 0..1 Reference(Patient | Practitioner | PractitionerRole | RelatedPerson) The person who answered the questions
... item SC 0..* BackboneElement Groups and questions
Constraints: qrs-1
.... id 0..1 string Unique id for inter-element referencing
.... Slices pour extension 0..* Extension Extension
Slice: Non ordonné, Ouvert par value:url
Constraints: ext-1
..... extension:itemMedia 0..1 Attachment Media to display
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemMedia
Constraints: ext-1
..... extension:ItemSignature 0..* Signature A signature attesting to the content
URL: http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... linkId S 1..1 string Pointer to specific item from Questionnaire
.... definition 0..1 uri ElementDefinition - details for the item
.... text S 0..1 string Name for group or question text
.... answer S 0..* BackboneElement The response(s) to the question
..... id 0..1 string Unique id for inter-element referencing
..... Slices pour extension 0..* Extension Extension
Slice: Non ordonné, Ouvert par value:url
Constraints: ext-1
...... extension:itemAnswerMedia 0..1 Attachment Answer Media to display
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemAnswerMedia
Constraints: ext-1
...... extension:ordinalValue 0..1 decimal Assigned Ordinal Value
URL: http://hl7.org/fhir/StructureDefinition/ordinalValue
Constraints: ext-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... value[x] S 0..1 Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
...... valueBoolean boolean
...... valueDate date
...... valueDateTime dateTime
...... valueTime time
...... valueDecimal decimal
...... valueInteger integer
...... valueString string
...... valueCoding Coding
...... valueUri uri
...... valueQuantity Quantity
...... valueAttachment Attachment
...... valueReference Reference(Any)
..... item S 0..* Voir item (QuestionnaireResponse) Nested groups and questions
.... item S 0..* Voir item (QuestionnaireResponse) Nested questionnaire response items

doco Documentation pour ce format

Bindings terminologiques

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

Contraintes

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