Répertoire national de l’Offre et des Ressources en santé et accompagnement médico-social
0.4.0-snapshot-2 - ci-build
Répertoire national de l’Offre et des Ressources en santé et accompagnement médico-social - Local Development build (v0.4.0-snapshot-2) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
Official URL: https://interop.esante.gouv.fr/ig/fhir/ror/StructureDefinition/ror-questionnaire | Version: 0.4.0-snapshot-2 | |||
Draft as of 2024-10-23 | Computable Name: RORQuestionnaire |
Fiche de saisie de l’offre de soins
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from Questionnaire
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Questionnaire | 0..* | Questionnaire | A structured set of questions | |
identifier | S | 0..1 | Identifier | Identifiant de la fiche de saisie. Exemple FDS-092 |
version | S | 0..1 | string | version de la fiche de saisie |
name | S | 1..1 | string | Nom utilisé par les systèmes pour référencer la fiche exemple FDS-092 |
title | S | 1..1 | string | Titre de la fiche. Exemple Unité d'accueil de jour, Equipe spécialisée Alzheimer (ESA), Unité d'Hébergement « traditionnelle » , en EHPAD Petite unité de vie (PUV) |
derivedFrom | S | 0..* | canonical(Questionnaire) | Fiche(s) de saisie parente(s) |
status | 1..1 | code | Statut de la fiche | |
subjectType | S | 1..* | code | Types de Ressources qui seront alimentées lors de la saisie de cette fiche : HealthcareService, Organization, Practioner, PractionerRole, Location |
date | S | 0..1 | dateTime | Date du dernier changement |
publisher | S | 0..1 | string | Nom de l'éditeur del a fiche: Etablissement ou personne |
description | S | 0..1 | markdown | Description de l'objet de la feuille de saisie |
Slices for useContext | S | 1..* | UsageContext | Contexte d'usage de la fiche de consignes de saisie de spécifier pour quelle(s) Catégorie(s) d'EG elle est applicable ainsi que potentiellemnt la spécialité ordinale et la profession Slice: Unordered, Open by pattern:code |
useContext:All Slices | Content/Rules for all slices | |||
code | 1..1 | Coding | Type of context being specified Binding: Value Set type pour le contexte d'usage de la fiche de saisie (extensible) | |
useContext:catEG | 1..* | UsageContext | Contexte d'usage de la fiche de consignes de saisie afin de spécifier pour quelle(s) Catégorie(s) d'EG elle est applicable | |
code | 1..1 | Coding | Type of context being specified Required Pattern: At least the following | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: https://mos.esante.gouv.fr/NOS/TRE_R67-TypeStructure-EJ-EG/FHIR/TRE-R67-TypeStructure-EJ-EG | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: EG | |
Slices for value[x] | 1..1 | CodeableConcept, Quantity, Range, Reference(PlanDefinition | ResearchStudy | InsurancePlan | HealthcareService | Group | Location | Organization) | Value that defines the context Slice: Unordered, Open by type:$this | |
value[x]:valueCodeableConcept | S | 0..1 | CodeableConcept | Catégorie(s) d'EG pour la(es)quelle(s) cette fiche de consigne de saisie est disponible Binding: https://mos.esante.gouv.fr/NOS/JDV_J55-CategorieEG-ROR/FHIR/JDV-J55-CategorieEG-ROR (required) |
useContext:catPS | 0..* | UsageContext | Contexte d'usage de la fiche de consignes de saisie afin de spécifier pour quelle(s) Catégorie(s) de profession elle est applicable | |
code | 1..1 | Coding | Type of context being specified Required Pattern: At least the following | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: https://mos.esante.gouv.fr/NOS/TRE_R288-TypeProfession/FHIR/TRE-R288-TypeProfession | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: P01 | |
Slices for value[x] | 1..1 | CodeableConcept, Quantity, Range, Reference(PlanDefinition | ResearchStudy | InsurancePlan | HealthcareService | Group | Location | Organization) | Value that defines the context Slice: Unordered, Open by type:$this | |
value[x]:valueCodeableConcept | S | 0..1 | CodeableConcept | Catégorie(s) de profession pour la(es)quelle(s) cette fiche de consigne de saisie est disponible Binding: https://mos.esante.gouv.fr/NOS/JDV_J229-ProfessionSante-ROR/FHIR/JDV-J229-ProfessionSante-ROR (required) |
useContext:catSpeOrdinal | 0..* | UsageContext | Contexte d'usage de la fiche de consignes de saisie afin de spécifier pour quelle(s) Catégorie(s) de spécialité ordinale elle est applicable | |
code | 1..1 | Coding | Type of context being specified Required Pattern: At least the following | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: https://mos.esante.gouv.fr/NOS/TRE_R04-TypeSavoirFaire/FHIR/TRE-R04-TypeSavoirFaire | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: S | |
Slices for value[x] | 1..1 | CodeableConcept, Quantity, Range, Reference(PlanDefinition | ResearchStudy | InsurancePlan | HealthcareService | Group | Location | Organization) | Value that defines the context Slice: Unordered, Open by type:$this | |
value[x]:valueCodeableConcept | S | 0..1 | CodeableConcept | Catégorie(s) de spécialité ordinale pour la(es)quelle(s) cette fiche de consigne de saisie est disponible Binding: https://mos.esante.gouv.fr/NOS/JDV_J210-SpecialiteOrdinale-ROR/FHIR/JDV-J210-SpecialiteOrdinale-ROR (required) |
purpose | S | 0..1 | markdown | Pourquoi cette fiche est-il défini |
approvalDate | S | 0..1 | date | Date de validation de la fiche de saisie |
lastReviewDate | S | 0..1 | date | Date de dernière revue de la fiche |
effectivePeriod | S | 0..1 | Period | Periode de validité de la fiche |
code | 0..0 | |||
item | S | 0..* | BackboneElement | Structure du champs de la fiche |
linkId | 1..1 | string | Unique id pour l'item de la fiche | |
definition | S | 0..1 | uri | Element concerné par la saisie |
code | 0..0 | |||
prefix | S | 0..1 | string | E.g. "1(a)", "2.5.3" |
text | S | 0..1 | string | Texte pour l'item |
type | 1..1 | code | Ti=ype de l'item group | display | boolean | decimal | integer | date | dateTime ... | |
enableWhen | S | 0..* | BackboneElement | Item autorisé / disponible que sous condition |
enableBehavior | S | 0..1 | code | all | any |
required | S | 0..1 | boolean | Champs requis |
repeats | S | 0..1 | boolean | Si l'item peut de répeter |
readOnly | S | 0..1 | boolean | En lecture seule |
answerValueSet | S | 0..1 | canonical(ValueSet) | Ensemble de valeurs autorisées en réponse |
answerOption | S | 0..* | BackboneElement | Réponses permises |
initialSelected | S | 0..1 | boolean | Option de réponse sélectionnée par défaut |
initial | S | 0..* | BackboneElement | Valeur(s) initiale(s) |
Documentation for this format |
Path | Conformance | ValueSet | URI |
Questionnaire.useContext.code | extensible | RORUsageContextTypeVShttps://interop.esante.gouv.fr/ig/fhir/ror/ValueSet/ror-usage-context-type-vs from this IG | |
Questionnaire.useContext:catEG.value[x]:valueCodeableConcept | required | https://mos.esante.gouv.fr/NOS/JDV_J55-CategorieEG-ROR/FHIR/JDV-J55-CategorieEG-RORhttps://mos.esante.gouv.fr/NOS/JDV_J55-CategorieEG-ROR/FHIR/JDV-J55-CategorieEG-ROR | |
Questionnaire.useContext:catPS.value[x]:valueCodeableConcept | required | https://mos.esante.gouv.fr/NOS/JDV_J229-ProfessionSante-ROR/FHIR/JDV-J229-ProfessionSante-RORhttps://mos.esante.gouv.fr/NOS/JDV_J229-ProfessionSante-ROR/FHIR/JDV-J229-ProfessionSante-ROR | |
Questionnaire.useContext:catSpeOrdinal.value[x]:valueCodeableConcept | required | https://mos.esante.gouv.fr/NOS/JDV_J210-SpecialiteOrdinale-ROR/FHIR/JDV-J210-SpecialiteOrdinale-RORhttps://mos.esante.gouv.fr/NOS/JDV_J210-SpecialiteOrdinale-ROR/FHIR/JDV-J210-SpecialiteOrdinale-ROR |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Questionnaire | C | 0..* | Questionnaire | A structured set of questions que-2: The link ids for groups and questions must be unique within the questionnaire que-0: Name should be usable as an identifier for the module by machine processing applications such as code generation |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
modifierExtension | ?!N | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url |
identifier | SΣ | 0..1 | Identifier | Identifiant de la fiche de saisie. Exemple FDS-092 |
version | SΣ | 0..1 | string | version de la fiche de saisie |
name | SΣC | 1..1 | string | Nom utilisé par les systèmes pour référencer la fiche exemple FDS-092 |
title | SΣ | 1..1 | string | Titre de la fiche. Exemple Unité d'accueil de jour, Equipe spécialisée Alzheimer (ESA), Unité d'Hébergement « traditionnelle » , en EHPAD Petite unité de vie (PUV) |
derivedFrom | S | 0..* | canonical(Questionnaire) | Fiche(s) de saisie parente(s) |
status | ?!Σ | 1..1 | code | Statut de la fiche Binding: PublicationStatus (required): The lifecycle status of an artifact. |
subjectType | SΣ | 1..* | code | Types de Ressources qui seront alimentées lors de la saisie de cette fiche : HealthcareService, Organization, Practioner, PractionerRole, Location Binding: ResourceType (required): One of the resource types defined as part of this version of FHIR. |
date | SΣ | 0..1 | dateTime | Date du dernier changement |
publisher | SΣ | 0..1 | string | Nom de l'éditeur del a fiche: Etablissement ou personne |
description | S | 0..1 | markdown | Description de l'objet de la feuille de saisie |
Slices for useContext | SΣ | 1..* | UsageContext | Contexte d'usage de la fiche de consignes de saisie de spécifier pour quelle(s) Catégorie(s) d'EG elle est applicable ainsi que potentiellemnt la spécialité ordinale et la profession Slice: Unordered, Open by pattern:code |
useContext:All Slices | Content/Rules for all slices | |||
code | Σ | 1..1 | Coding | Type of context being specified Binding: Value Set type pour le contexte d'usage de la fiche de saisie (extensible) |
value[x] | Σ | 1..1 | Value that defines the context Binding: Context of Use ValueSet (example): A code that defines the specific value for the context being specified. | |
valueCodeableConcept | CodeableConcept | |||
valueQuantity | Quantity | |||
valueRange | Range | |||
valueReference | Reference(PlanDefinition | ResearchStudy | InsurancePlan | HealthcareService | Group | Location | Organization) | |||
useContext:catEG | Σ | 1..* | UsageContext | Contexte d'usage de la fiche de consignes de saisie afin de spécifier pour quelle(s) Catégorie(s) d'EG elle est applicable |
code | Σ | 1..1 | Coding | Type of context being specified Binding: UsageContextType (extensible): A code that specifies a type of context being specified by a usage context. Required Pattern: At least the following |
system | 1..1 | uri | Identity of the terminology system Fixed Value: https://mos.esante.gouv.fr/NOS/TRE_R67-TypeStructure-EJ-EG/FHIR/TRE-R67-TypeStructure-EJ-EG | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: EG | |
Slices for value[x] | Σ | 1..1 | Value that defines the context Slice: Unordered, Open by type:$this Binding: Context of Use ValueSet (example): A code that defines the specific value for the context being specified. | |
valueCodeableConcept | CodeableConcept | |||
valueQuantity | Quantity | |||
valueRange | Range | |||
valueReference | Reference(PlanDefinition | ResearchStudy | InsurancePlan | HealthcareService | Group | Location | Organization) | |||
value[x]:valueCodeableConcept | SΣ | 0..1 | CodeableConcept | Catégorie(s) d'EG pour la(es)quelle(s) cette fiche de consigne de saisie est disponible Binding: https://mos.esante.gouv.fr/NOS/JDV_J55-CategorieEG-ROR/FHIR/JDV-J55-CategorieEG-ROR (required) |
useContext:catPS | Σ | 0..* | UsageContext | Contexte d'usage de la fiche de consignes de saisie afin de spécifier pour quelle(s) Catégorie(s) de profession elle est applicable |
code | Σ | 1..1 | Coding | Type of context being specified Binding: UsageContextType (extensible): A code that specifies a type of context being specified by a usage context. Required Pattern: At least the following |
system | 1..1 | uri | Identity of the terminology system Fixed Value: https://mos.esante.gouv.fr/NOS/TRE_R288-TypeProfession/FHIR/TRE-R288-TypeProfession | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: P01 | |
Slices for value[x] | Σ | 1..1 | Value that defines the context Slice: Unordered, Open by type:$this Binding: Context of Use ValueSet (example): A code that defines the specific value for the context being specified. | |
valueCodeableConcept | CodeableConcept | |||
valueQuantity | Quantity | |||
valueRange | Range | |||
valueReference | Reference(PlanDefinition | ResearchStudy | InsurancePlan | HealthcareService | Group | Location | Organization) | |||
value[x]:valueCodeableConcept | SΣ | 0..1 | CodeableConcept | Catégorie(s) de profession pour la(es)quelle(s) cette fiche de consigne de saisie est disponible Binding: https://mos.esante.gouv.fr/NOS/JDV_J229-ProfessionSante-ROR/FHIR/JDV-J229-ProfessionSante-ROR (required) |
useContext:catSpeOrdinal | Σ | 0..* | UsageContext | Contexte d'usage de la fiche de consignes de saisie afin de spécifier pour quelle(s) Catégorie(s) de spécialité ordinale elle est applicable |
code | Σ | 1..1 | Coding | Type of context being specified Binding: UsageContextType (extensible): A code that specifies a type of context being specified by a usage context. Required Pattern: At least the following |
system | 1..1 | uri | Identity of the terminology system Fixed Value: https://mos.esante.gouv.fr/NOS/TRE_R04-TypeSavoirFaire/FHIR/TRE-R04-TypeSavoirFaire | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: S | |
Slices for value[x] | Σ | 1..1 | Value that defines the context Slice: Unordered, Open by type:$this Binding: Context of Use ValueSet (example): A code that defines the specific value for the context being specified. | |
valueCodeableConcept | CodeableConcept | |||
valueQuantity | Quantity | |||
valueRange | Range | |||
valueReference | Reference(PlanDefinition | ResearchStudy | InsurancePlan | HealthcareService | Group | Location | Organization) | |||
value[x]:valueCodeableConcept | SΣ | 0..1 | CodeableConcept | Catégorie(s) de spécialité ordinale pour la(es)quelle(s) cette fiche de consigne de saisie est disponible Binding: https://mos.esante.gouv.fr/NOS/JDV_J210-SpecialiteOrdinale-ROR/FHIR/JDV-J210-SpecialiteOrdinale-ROR (required) |
purpose | S | 0..1 | markdown | Pourquoi cette fiche est-il défini |
approvalDate | S | 0..1 | date | Date de validation de la fiche de saisie |
lastReviewDate | S | 0..1 | date | Date de dernière revue de la fiche |
effectivePeriod | SΣC | 0..1 | Period | Periode de validité de la fiche per-1: If present, start SHALL have a lower value than end |
item | SC | 0..* | BackboneElement | Structure du champs de la fiche que-9: Read-only can't be specified for "display" items que-8: Initial values can't be specified for groups or display items que-6: Required and repeat aren't permitted for display items que-5: Only 'choice' and 'open-choice' items can have answerValueSet que-4: A question cannot have both answerOption and answerValueSet que-3: Display items cannot have a "code" asserted que-10: Maximum length can only be declared for simple question types que-1: Group items must have nested items, display items cannot have nested items que-13: Can only have multiple initial values for repeating items que-11: If one or more answerOption is present, initial[x] must be missing que-12: If there are more than one enableWhen, enableBehavior must be specified |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
linkId | 1..1 | string | Unique id pour l'item de la fiche | |
definition | S | 0..1 | uri | Element concerné par la saisie |
prefix | S | 0..1 | string | E.g. "1(a)", "2.5.3" |
text | S | 0..1 | string | Texte pour l'item |
type | 1..1 | code | Ti=ype de l'item group | display | boolean | decimal | integer | date | dateTime ... Binding: QuestionnaireItemType (required): Distinguishes groups from questions and display text and indicates data type for questions. | |
enableWhen | ?!SC | 0..* | BackboneElement | Item autorisé / disponible que sous condition que-7: If the operator is 'exists', the value must be a boolean |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
question | 1..1 | string | Question that determines whether item is enabled | |
operator | 1..1 | code | exists | = | != | > | < | >= | <= Binding: QuestionnaireItemOperator (required): The criteria by which a question is enabled. | |
answer[x] | C | 1..1 | Value for question comparison based on operator Binding: QuestionnaireAnswerCodes (example): Allowed values to answer questions. | |
answerBoolean | boolean | |||
answerDecimal | decimal | |||
answerInteger | integer | |||
answerDate | date | |||
answerDateTime | dateTime | |||
answerTime | time | |||
answerString | string | |||
answerCoding | Coding | |||
answerQuantity | Quantity | |||
answerReference | Reference(Resource) | |||
enableBehavior | SC | 0..1 | code | all | any Binding: EnableWhenBehavior (required): Controls how multiple enableWhen values are interpreted - whether all or any must be true. |
required | SC | 0..1 | boolean | Champs requis |
repeats | SC | 0..1 | boolean | Si l'item peut de répeter |
readOnly | SC | 0..1 | boolean | En lecture seule |
maxLength | C | 0..1 | integer | No more than this many characters |
answerValueSet | SC | 0..1 | canonical(ValueSet) | Ensemble de valeurs autorisées en réponse |
answerOption | SC | 0..* | BackboneElement | Réponses permises |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
value[x] | 1..1 | Answer value Binding: QuestionnaireAnswerCodes (example): Allowed values to answer questions. | ||
valueInteger | integer | |||
valueDate | date | |||
valueTime | time | |||
valueString | string | |||
valueCoding | Coding | |||
valueReference | Reference(Resource) | |||
initialSelected | S | 0..1 | boolean | Option de réponse sélectionnée par défaut |
initial | SC | 0..* | BackboneElement | Valeur(s) initiale(s) |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
value[x] | 1..1 | Actual value for initializing the question Binding: QuestionnaireAnswerCodes (example): Allowed values to answer questions. | ||
valueBoolean | boolean | |||
valueDecimal | decimal | |||
valueInteger | integer | |||
valueDate | date | |||
valueDateTime | dateTime | |||
valueTime | time | |||
valueString | string | |||
valueUri | uri | |||
valueAttachment | Attachment | |||
valueCoding | Coding | |||
valueQuantity | Quantity | |||
valueReference | Reference(Resource) | |||
Documentation for this format |
Path | Conformance | ValueSet / Code | URI |
Questionnaire.status | required | PublicationStatushttp://hl7.org/fhir/ValueSet/publication-status|4.0.1 from the FHIR Standard | |
Questionnaire.subjectType | required | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types|4.0.1 from the FHIR Standard | |
Questionnaire.useContext.code | extensible | RORUsageContextTypeVShttps://interop.esante.gouv.fr/ig/fhir/ror/ValueSet/ror-usage-context-type-vs from this IG | |
Questionnaire.useContext.value[x] | example | Context of Use ValueSethttp://hl7.org/fhir/ValueSet/use-context from the FHIR Standard | |
Questionnaire.useContext:catEG.code | extensible | Pattern: EGhttp://hl7.org/fhir/ValueSet/usage-context-type from the FHIR Standard | |
Questionnaire.useContext:catEG.value[x] | example | Context of Use ValueSethttp://hl7.org/fhir/ValueSet/use-context from the FHIR Standard | |
Questionnaire.useContext:catEG.value[x]:valueCodeableConcept | required | https://mos.esante.gouv.fr/NOS/JDV_J55-CategorieEG-ROR/FHIR/JDV-J55-CategorieEG-RORhttps://mos.esante.gouv.fr/NOS/JDV_J55-CategorieEG-ROR/FHIR/JDV-J55-CategorieEG-ROR | |
Questionnaire.useContext:catPS.code | extensible | Pattern: P01http://hl7.org/fhir/ValueSet/usage-context-type from the FHIR Standard | |
Questionnaire.useContext:catPS.value[x] | example | Context of Use ValueSethttp://hl7.org/fhir/ValueSet/use-context from the FHIR Standard | |
Questionnaire.useContext:catPS.value[x]:valueCodeableConcept | required | https://mos.esante.gouv.fr/NOS/JDV_J229-ProfessionSante-ROR/FHIR/JDV-J229-ProfessionSante-RORhttps://mos.esante.gouv.fr/NOS/JDV_J229-ProfessionSante-ROR/FHIR/JDV-J229-ProfessionSante-ROR | |
Questionnaire.useContext:catSpeOrdinal.code | extensible | Pattern: Shttp://hl7.org/fhir/ValueSet/usage-context-type from the FHIR Standard | |
Questionnaire.useContext:catSpeOrdinal.value[x] | example | Context of Use ValueSethttp://hl7.org/fhir/ValueSet/use-context from the FHIR Standard | |
Questionnaire.useContext:catSpeOrdinal.value[x]:valueCodeableConcept | required | https://mos.esante.gouv.fr/NOS/JDV_J210-SpecialiteOrdinale-ROR/FHIR/JDV-J210-SpecialiteOrdinale-RORhttps://mos.esante.gouv.fr/NOS/JDV_J210-SpecialiteOrdinale-ROR/FHIR/JDV-J210-SpecialiteOrdinale-ROR | |
Questionnaire.item.type | required | QuestionnaireItemTypehttp://hl7.org/fhir/ValueSet/item-type|4.0.1 from the FHIR Standard | |
Questionnaire.item.enableWhen.operator | required | QuestionnaireItemOperatorhttp://hl7.org/fhir/ValueSet/questionnaire-enable-operator|4.0.1 from the FHIR Standard | |
Questionnaire.item.enableWhen.answer[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard | |
Questionnaire.item.enableBehavior | required | EnableWhenBehaviorhttp://hl7.org/fhir/ValueSet/questionnaire-enable-behavior|4.0.1 from the FHIR Standard | |
Questionnaire.item.answerOption.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard | |
Questionnaire.item.initial.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | Questionnaire | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Questionnaire | 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 | Questionnaire | 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 | Questionnaire | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Questionnaire | 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 | Questionnaire.modifierExtension, Questionnaire.item.modifierExtension, Questionnaire.item.enableWhen.modifierExtension, Questionnaire.item.answerOption.modifierExtension, Questionnaire.item.initial.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
per-1 | error | Questionnaire.effectivePeriod | If present, start SHALL have a lower value than end : start.hasValue().not() or end.hasValue().not() or (start <= end) | |
que-0 | warning | Questionnaire | Name should be usable as an identifier for the module by machine processing applications such as code generation : name.matches('[A-Z]([A-Za-z0-9_]){0,254}') | |
que-1 | error | Questionnaire.item | Group items must have nested items, display items cannot have nested items : (type='group' implies item.empty().not()) and (type.trace('type')='display' implies item.trace('item').empty()) | |
que-2 | error | Questionnaire | The link ids for groups and questions must be unique within the questionnaire : descendants().linkId.isDistinct() | |
que-3 | error | Questionnaire.item | Display items cannot have a "code" asserted : type!='display' or code.empty() | |
que-4 | error | Questionnaire.item | A question cannot have both answerOption and answerValueSet : answerOption.empty() or answerValueSet.empty() | |
que-5 | error | Questionnaire.item | Only 'choice' and 'open-choice' items can have answerValueSet : (type ='choice' or type = 'open-choice' or type = 'decimal' or type = 'integer' or type = 'date' or type = 'dateTime' or type = 'time' or type = 'string' or type = 'quantity') or (answerValueSet.empty() and answerOption.empty()) | |
que-6 | error | Questionnaire.item | Required and repeat aren't permitted for display items : type!='display' or (required.empty() and repeats.empty()) | |
que-7 | error | Questionnaire.item.enableWhen | If the operator is 'exists', the value must be a boolean : operator = 'exists' implies (answer is Boolean) | |
que-8 | error | Questionnaire.item | Initial values can't be specified for groups or display items : (type!='group' and type!='display') or initial.empty() | |
que-9 | error | Questionnaire.item | Read-only can't be specified for "display" items : type!='display' or readOnly.empty() | |
que-10 | error | Questionnaire.item | Maximum length can only be declared for simple question types : (type in ('boolean' | 'decimal' | 'integer' | 'string' | 'text' | 'url' | 'open-choice')) or maxLength.empty() | |
que-11 | error | Questionnaire.item | If one or more answerOption is present, initial[x] must be missing : answerOption.empty() or initial.empty() | |
que-12 | error | Questionnaire.item | If there are more than one enableWhen, enableBehavior must be specified : enableWhen.count() > 2 implies enableBehavior.exists() | |
que-13 | error | Questionnaire.item | Can only have multiple initial values for repeating items : repeats=true or initial.count() <= 1 |
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
Questionnaire | C | 0..* | Questionnaire | A structured set of questions que-2: The link ids for groups and questions must be unique within the questionnaire que-0: Name should be usable as an identifier for the module by machine processing applications such as code generation | ||||
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 | ||||
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
extension | N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
modifierExtension | ?!N | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url | ||||
url | Σ | 0..1 | uri | Canonical identifier for this questionnaire, represented as a URI (globally unique) | ||||
identifier | SΣ | 0..1 | Identifier | Identifiant de la fiche de saisie. Exemple FDS-092 | ||||
version | SΣ | 0..1 | string | version de la fiche de saisie | ||||
name | SΣC | 1..1 | string | Nom utilisé par les systèmes pour référencer la fiche exemple FDS-092 | ||||
title | SΣ | 1..1 | string | Titre de la fiche. Exemple Unité d'accueil de jour, Equipe spécialisée Alzheimer (ESA), Unité d'Hébergement « traditionnelle » , en EHPAD Petite unité de vie (PUV) | ||||
derivedFrom | S | 0..* | canonical(Questionnaire) | Fiche(s) de saisie parente(s) | ||||
status | ?!Σ | 1..1 | code | Statut de la fiche Binding: PublicationStatus (required): The lifecycle status of an artifact. | ||||
experimental | Σ | 0..1 | boolean | For testing purposes, not real usage | ||||
subjectType | SΣ | 1..* | code | Types de Ressources qui seront alimentées lors de la saisie de cette fiche : HealthcareService, Organization, Practioner, PractionerRole, Location Binding: ResourceType (required): One of the resource types defined as part of this version of FHIR. | ||||
date | SΣ | 0..1 | dateTime | Date du dernier changement | ||||
publisher | SΣ | 0..1 | string | Nom de l'éditeur del a fiche: Etablissement ou personne | ||||
contact | Σ | 0..* | ContactDetail | Contact details for the publisher | ||||
description | S | 0..1 | markdown | Description de l'objet de la feuille de saisie | ||||
Slices for useContext | SΣ | 1..* | UsageContext | Contexte d'usage de la fiche de consignes de saisie de spécifier pour quelle(s) Catégorie(s) d'EG elle est applicable ainsi que potentiellemnt la spécialité ordinale et la profession Slice: Unordered, Open by pattern:code | ||||
useContext:All Slices | Content/Rules for all slices | |||||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
code | Σ | 1..1 | Coding | Type of context being specified Binding: Value Set type pour le contexte d'usage de la fiche de saisie (extensible) | ||||
value[x] | Σ | 1..1 | Value that defines the context Binding: Context of Use ValueSet (example): A code that defines the specific value for the context being specified. | |||||
valueCodeableConcept | CodeableConcept | |||||||
valueQuantity | Quantity | |||||||
valueRange | Range | |||||||
valueReference | Reference(PlanDefinition | ResearchStudy | InsurancePlan | HealthcareService | Group | Location | Organization) | |||||||
useContext:catEG | Σ | 1..* | UsageContext | Contexte d'usage de la fiche de consignes de saisie afin de spécifier pour quelle(s) Catégorie(s) d'EG elle est applicable | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
code | Σ | 1..1 | Coding | Type of context being specified Binding: UsageContextType (extensible): A code that specifies a type of context being specified by a usage context. Required Pattern: At least the following | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
system | 1..1 | uri | Identity of the terminology system Fixed Value: https://mos.esante.gouv.fr/NOS/TRE_R67-TypeStructure-EJ-EG/FHIR/TRE-R67-TypeStructure-EJ-EG | |||||
version | 0..1 | string | Version of the system - if relevant | |||||
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: EG | |||||
display | 0..1 | string | Representation defined by the system | |||||
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |||||
Slices for value[x] | Σ | 1..1 | Value that defines the context Slice: Unordered, Open by type:$this Binding: Context of Use ValueSet (example): A code that defines the specific value for the context being specified. | |||||
valueCodeableConcept | CodeableConcept | |||||||
valueQuantity | Quantity | |||||||
valueRange | Range | |||||||
valueReference | Reference(PlanDefinition | ResearchStudy | InsurancePlan | HealthcareService | Group | Location | Organization) | |||||||
value[x]:valueCodeableConcept | SΣ | 0..1 | CodeableConcept | Catégorie(s) d'EG pour la(es)quelle(s) cette fiche de consigne de saisie est disponible Binding: https://mos.esante.gouv.fr/NOS/JDV_J55-CategorieEG-ROR/FHIR/JDV-J55-CategorieEG-ROR (required) | ||||
useContext:catPS | Σ | 0..* | UsageContext | Contexte d'usage de la fiche de consignes de saisie afin de spécifier pour quelle(s) Catégorie(s) de profession elle est applicable | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
code | Σ | 1..1 | Coding | Type of context being specified Binding: UsageContextType (extensible): A code that specifies a type of context being specified by a usage context. Required Pattern: At least the following | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
system | 1..1 | uri | Identity of the terminology system Fixed Value: https://mos.esante.gouv.fr/NOS/TRE_R288-TypeProfession/FHIR/TRE-R288-TypeProfession | |||||
version | 0..1 | string | Version of the system - if relevant | |||||
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: P01 | |||||
display | 0..1 | string | Representation defined by the system | |||||
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |||||
Slices for value[x] | Σ | 1..1 | Value that defines the context Slice: Unordered, Open by type:$this Binding: Context of Use ValueSet (example): A code that defines the specific value for the context being specified. | |||||
valueCodeableConcept | CodeableConcept | |||||||
valueQuantity | Quantity | |||||||
valueRange | Range | |||||||
valueReference | Reference(PlanDefinition | ResearchStudy | InsurancePlan | HealthcareService | Group | Location | Organization) | |||||||
value[x]:valueCodeableConcept | SΣ | 0..1 | CodeableConcept | Catégorie(s) de profession pour la(es)quelle(s) cette fiche de consigne de saisie est disponible Binding: https://mos.esante.gouv.fr/NOS/JDV_J229-ProfessionSante-ROR/FHIR/JDV-J229-ProfessionSante-ROR (required) | ||||
useContext:catSpeOrdinal | Σ | 0..* | UsageContext | Contexte d'usage de la fiche de consignes de saisie afin de spécifier pour quelle(s) Catégorie(s) de spécialité ordinale elle est applicable | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
code | Σ | 1..1 | Coding | Type of context being specified Binding: UsageContextType (extensible): A code that specifies a type of context being specified by a usage context. Required Pattern: At least the following | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
system | 1..1 | uri | Identity of the terminology system Fixed Value: https://mos.esante.gouv.fr/NOS/TRE_R04-TypeSavoirFaire/FHIR/TRE-R04-TypeSavoirFaire | |||||
version | 0..1 | string | Version of the system - if relevant | |||||
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: S | |||||
display | 0..1 | string | Representation defined by the system | |||||
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |||||
Slices for value[x] | Σ | 1..1 | Value that defines the context Slice: Unordered, Open by type:$this Binding: Context of Use ValueSet (example): A code that defines the specific value for the context being specified. | |||||
valueCodeableConcept | CodeableConcept | |||||||
valueQuantity | Quantity | |||||||
valueRange | Range | |||||||
valueReference | Reference(PlanDefinition | ResearchStudy | InsurancePlan | HealthcareService | Group | Location | Organization) | |||||||
value[x]:valueCodeableConcept | SΣ | 0..1 | CodeableConcept | Catégorie(s) de spécialité ordinale pour la(es)quelle(s) cette fiche de consigne de saisie est disponible Binding: https://mos.esante.gouv.fr/NOS/JDV_J210-SpecialiteOrdinale-ROR/FHIR/JDV-J210-SpecialiteOrdinale-ROR (required) | ||||
jurisdiction | Σ | 0..* | CodeableConcept | Intended jurisdiction for questionnaire (if applicable) Binding: Jurisdiction ValueSet (extensible): Countries and regions within which this artifact is targeted for use. | ||||
purpose | S | 0..1 | markdown | Pourquoi cette fiche est-il défini | ||||
copyright | 0..1 | markdown | Use and/or publishing restrictions | |||||
approvalDate | S | 0..1 | date | Date de validation de la fiche de saisie | ||||
lastReviewDate | S | 0..1 | date | Date de dernière revue de la fiche | ||||
effectivePeriod | SΣC | 0..1 | Period | Periode de validité de la fiche per-1: If present, start SHALL have a lower value than end | ||||
item | SC | 0..* | BackboneElement | Structure du champs de la fiche que-9: Read-only can't be specified for "display" items que-8: Initial values can't be specified for groups or display items que-6: Required and repeat aren't permitted for display items que-5: Only 'choice' and 'open-choice' items can have answerValueSet que-4: A question cannot have both answerOption and answerValueSet que-3: Display items cannot have a "code" asserted que-10: Maximum length can only be declared for simple question types que-1: Group items must have nested items, display items cannot have nested items que-13: Can only have multiple initial values for repeating items que-11: If one or more answerOption is present, initial[x] must be missing que-12: If there are more than one enableWhen, enableBehavior must be specified | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
linkId | 1..1 | string | Unique id pour l'item de la fiche | |||||
definition | S | 0..1 | uri | Element concerné par la saisie | ||||
prefix | S | 0..1 | string | E.g. "1(a)", "2.5.3" | ||||
text | S | 0..1 | string | Texte pour l'item | ||||
type | 1..1 | code | Ti=ype de l'item group | display | boolean | decimal | integer | date | dateTime ... Binding: QuestionnaireItemType (required): Distinguishes groups from questions and display text and indicates data type for questions. | |||||
enableWhen | ?!SC | 0..* | BackboneElement | Item autorisé / disponible que sous condition que-7: If the operator is 'exists', the value must be a boolean | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
question | 1..1 | string | Question that determines whether item is enabled | |||||
operator | 1..1 | code | exists | = | != | > | < | >= | <= Binding: QuestionnaireItemOperator (required): The criteria by which a question is enabled. | |||||
answer[x] | C | 1..1 | Value for question comparison based on operator Binding: QuestionnaireAnswerCodes (example): Allowed values to answer questions. | |||||
answerBoolean | boolean | |||||||
answerDecimal | decimal | |||||||
answerInteger | integer | |||||||
answerDate | date | |||||||
answerDateTime | dateTime | |||||||
answerTime | time | |||||||
answerString | string | |||||||
answerCoding | Coding | |||||||
answerQuantity | Quantity | |||||||
answerReference | Reference(Resource) | |||||||
enableBehavior | SC | 0..1 | code | all | any Binding: EnableWhenBehavior (required): Controls how multiple enableWhen values are interpreted - whether all or any must be true. | ||||
required | SC | 0..1 | boolean | Champs requis | ||||
repeats | SC | 0..1 | boolean | Si l'item peut de répeter | ||||
readOnly | SC | 0..1 | boolean | En lecture seule | ||||
maxLength | C | 0..1 | integer | No more than this many characters | ||||
answerValueSet | SC | 0..1 | canonical(ValueSet) | Ensemble de valeurs autorisées en réponse | ||||
answerOption | SC | 0..* | BackboneElement | Réponses permises | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
value[x] | 1..1 | Answer value Binding: QuestionnaireAnswerCodes (example): Allowed values to answer questions. | ||||||
valueInteger | integer | |||||||
valueDate | date | |||||||
valueTime | time | |||||||
valueString | string | |||||||
valueCoding | Coding | |||||||
valueReference | Reference(Resource) | |||||||
initialSelected | S | 0..1 | boolean | Option de réponse sélectionnée par défaut | ||||
initial | SC | 0..* | BackboneElement | Valeur(s) initiale(s) | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
value[x] | 1..1 | Actual value for initializing the question Binding: QuestionnaireAnswerCodes (example): Allowed values to answer questions. | ||||||
valueBoolean | boolean | |||||||
valueDecimal | decimal | |||||||
valueInteger | integer | |||||||
valueDate | date | |||||||
valueDateTime | dateTime | |||||||
valueTime | time | |||||||
valueString | string | |||||||
valueUri | uri | |||||||
valueAttachment | Attachment | |||||||
valueCoding | Coding | |||||||
valueQuantity | Quantity | |||||||
valueReference | Reference(Resource) | |||||||
item | C | 0..* | See item (Questionnaire) | Nested questionnaire items | ||||
Documentation for this format |
Path | Conformance | ValueSet / Code | URI | |||
Questionnaire.language | preferred | CommonLanguages
http://hl7.org/fhir/ValueSet/languages from the FHIR Standard | ||||
Questionnaire.status | required | PublicationStatushttp://hl7.org/fhir/ValueSet/publication-status|4.0.1 from the FHIR Standard | ||||
Questionnaire.subjectType | required | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types|4.0.1 from the FHIR Standard | ||||
Questionnaire.useContext.code | extensible | RORUsageContextTypeVShttps://interop.esante.gouv.fr/ig/fhir/ror/ValueSet/ror-usage-context-type-vs from this IG | ||||
Questionnaire.useContext.value[x] | example | Context of Use ValueSethttp://hl7.org/fhir/ValueSet/use-context from the FHIR Standard | ||||
Questionnaire.useContext:catEG.code | extensible | Pattern: EGhttp://hl7.org/fhir/ValueSet/usage-context-type from the FHIR Standard | ||||
Questionnaire.useContext:catEG.value[x] | example | Context of Use ValueSethttp://hl7.org/fhir/ValueSet/use-context from the FHIR Standard | ||||
Questionnaire.useContext:catEG.value[x]:valueCodeableConcept | required | https://mos.esante.gouv.fr/NOS/JDV_J55-CategorieEG-ROR/FHIR/JDV-J55-CategorieEG-RORhttps://mos.esante.gouv.fr/NOS/JDV_J55-CategorieEG-ROR/FHIR/JDV-J55-CategorieEG-ROR | ||||
Questionnaire.useContext:catPS.code | extensible | Pattern: P01http://hl7.org/fhir/ValueSet/usage-context-type from the FHIR Standard | ||||
Questionnaire.useContext:catPS.value[x] | example | Context of Use ValueSethttp://hl7.org/fhir/ValueSet/use-context from the FHIR Standard | ||||
Questionnaire.useContext:catPS.value[x]:valueCodeableConcept | required | https://mos.esante.gouv.fr/NOS/JDV_J229-ProfessionSante-ROR/FHIR/JDV-J229-ProfessionSante-RORhttps://mos.esante.gouv.fr/NOS/JDV_J229-ProfessionSante-ROR/FHIR/JDV-J229-ProfessionSante-ROR | ||||
Questionnaire.useContext:catSpeOrdinal.code | extensible | Pattern: Shttp://hl7.org/fhir/ValueSet/usage-context-type from the FHIR Standard | ||||
Questionnaire.useContext:catSpeOrdinal.value[x] | example | Context of Use ValueSethttp://hl7.org/fhir/ValueSet/use-context from the FHIR Standard | ||||
Questionnaire.useContext:catSpeOrdinal.value[x]:valueCodeableConcept | required | https://mos.esante.gouv.fr/NOS/JDV_J210-SpecialiteOrdinale-ROR/FHIR/JDV-J210-SpecialiteOrdinale-RORhttps://mos.esante.gouv.fr/NOS/JDV_J210-SpecialiteOrdinale-ROR/FHIR/JDV-J210-SpecialiteOrdinale-ROR | ||||
Questionnaire.jurisdiction | extensible | Jurisdiction ValueSethttp://hl7.org/fhir/ValueSet/jurisdiction from the FHIR Standard | ||||
Questionnaire.item.type | required | QuestionnaireItemTypehttp://hl7.org/fhir/ValueSet/item-type|4.0.1 from the FHIR Standard | ||||
Questionnaire.item.enableWhen.operator | required | QuestionnaireItemOperatorhttp://hl7.org/fhir/ValueSet/questionnaire-enable-operator|4.0.1 from the FHIR Standard | ||||
Questionnaire.item.enableWhen.answer[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard | ||||
Questionnaire.item.enableBehavior | required | EnableWhenBehaviorhttp://hl7.org/fhir/ValueSet/questionnaire-enable-behavior|4.0.1 from the FHIR Standard | ||||
Questionnaire.item.answerOption.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard | ||||
Questionnaire.item.initial.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | Questionnaire | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Questionnaire | 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 | Questionnaire | 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 | Questionnaire | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Questionnaire | 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 | Questionnaire.extension, Questionnaire.modifierExtension, Questionnaire.useContext.extension, Questionnaire.useContext:catEG.extension, Questionnaire.useContext:catPS.extension, Questionnaire.useContext:catSpeOrdinal.extension, Questionnaire.item.extension, Questionnaire.item.modifierExtension, Questionnaire.item.enableWhen.extension, Questionnaire.item.enableWhen.modifierExtension, Questionnaire.item.answerOption.extension, Questionnaire.item.answerOption.modifierExtension, Questionnaire.item.initial.extension, Questionnaire.item.initial.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
per-1 | error | Questionnaire.effectivePeriod | If present, start SHALL have a lower value than end : start.hasValue().not() or end.hasValue().not() or (start <= end) | |
que-0 | warning | Questionnaire | Name should be usable as an identifier for the module by machine processing applications such as code generation : name.matches('[A-Z]([A-Za-z0-9_]){0,254}') | |
que-1 | error | Questionnaire.item | Group items must have nested items, display items cannot have nested items : (type='group' implies item.empty().not()) and (type.trace('type')='display' implies item.trace('item').empty()) | |
que-2 | error | Questionnaire | The link ids for groups and questions must be unique within the questionnaire : descendants().linkId.isDistinct() | |
que-3 | error | Questionnaire.item | Display items cannot have a "code" asserted : type!='display' or code.empty() | |
que-4 | error | Questionnaire.item | A question cannot have both answerOption and answerValueSet : answerOption.empty() or answerValueSet.empty() | |
que-5 | error | Questionnaire.item | Only 'choice' and 'open-choice' items can have answerValueSet : (type ='choice' or type = 'open-choice' or type = 'decimal' or type = 'integer' or type = 'date' or type = 'dateTime' or type = 'time' or type = 'string' or type = 'quantity') or (answerValueSet.empty() and answerOption.empty()) | |
que-6 | error | Questionnaire.item | Required and repeat aren't permitted for display items : type!='display' or (required.empty() and repeats.empty()) | |
que-7 | error | Questionnaire.item.enableWhen | If the operator is 'exists', the value must be a boolean : operator = 'exists' implies (answer is Boolean) | |
que-8 | error | Questionnaire.item | Initial values can't be specified for groups or display items : (type!='group' and type!='display') or initial.empty() | |
que-9 | error | Questionnaire.item | Read-only can't be specified for "display" items : type!='display' or readOnly.empty() | |
que-10 | error | Questionnaire.item | Maximum length can only be declared for simple question types : (type in ('boolean' | 'decimal' | 'integer' | 'string' | 'text' | 'url' | 'open-choice')) or maxLength.empty() | |
que-11 | error | Questionnaire.item | If one or more answerOption is present, initial[x] must be missing : answerOption.empty() or initial.empty() | |
que-12 | error | Questionnaire.item | If there are more than one enableWhen, enableBehavior must be specified : enableWhen.count() > 2 implies enableBehavior.exists() | |
que-13 | error | Questionnaire.item | Can only have multiple initial values for repeating items : repeats=true or initial.count() <= 1 |
This structure is derived from Questionnaire
Summary
Mandatory: 5 elements
Must-Support: 30 elements
Prohibited: 2 elements
Slices
This structure defines the following Slices:
Differential View
This structure is derived from Questionnaire
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Questionnaire | 0..* | Questionnaire | A structured set of questions | |
identifier | S | 0..1 | Identifier | Identifiant de la fiche de saisie. Exemple FDS-092 |
version | S | 0..1 | string | version de la fiche de saisie |
name | S | 1..1 | string | Nom utilisé par les systèmes pour référencer la fiche exemple FDS-092 |
title | S | 1..1 | string | Titre de la fiche. Exemple Unité d'accueil de jour, Equipe spécialisée Alzheimer (ESA), Unité d'Hébergement « traditionnelle » , en EHPAD Petite unité de vie (PUV) |
derivedFrom | S | 0..* | canonical(Questionnaire) | Fiche(s) de saisie parente(s) |
status | 1..1 | code | Statut de la fiche | |
subjectType | S | 1..* | code | Types de Ressources qui seront alimentées lors de la saisie de cette fiche : HealthcareService, Organization, Practioner, PractionerRole, Location |
date | S | 0..1 | dateTime | Date du dernier changement |
publisher | S | 0..1 | string | Nom de l'éditeur del a fiche: Etablissement ou personne |
description | S | 0..1 | markdown | Description de l'objet de la feuille de saisie |
Slices for useContext | S | 1..* | UsageContext | Contexte d'usage de la fiche de consignes de saisie de spécifier pour quelle(s) Catégorie(s) d'EG elle est applicable ainsi que potentiellemnt la spécialité ordinale et la profession Slice: Unordered, Open by pattern:code |
useContext:All Slices | Content/Rules for all slices | |||
code | 1..1 | Coding | Type of context being specified Binding: Value Set type pour le contexte d'usage de la fiche de saisie (extensible) | |
useContext:catEG | 1..* | UsageContext | Contexte d'usage de la fiche de consignes de saisie afin de spécifier pour quelle(s) Catégorie(s) d'EG elle est applicable | |
code | 1..1 | Coding | Type of context being specified Required Pattern: At least the following | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: https://mos.esante.gouv.fr/NOS/TRE_R67-TypeStructure-EJ-EG/FHIR/TRE-R67-TypeStructure-EJ-EG | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: EG | |
Slices for value[x] | 1..1 | CodeableConcept, Quantity, Range, Reference(PlanDefinition | ResearchStudy | InsurancePlan | HealthcareService | Group | Location | Organization) | Value that defines the context Slice: Unordered, Open by type:$this | |
value[x]:valueCodeableConcept | S | 0..1 | CodeableConcept | Catégorie(s) d'EG pour la(es)quelle(s) cette fiche de consigne de saisie est disponible Binding: https://mos.esante.gouv.fr/NOS/JDV_J55-CategorieEG-ROR/FHIR/JDV-J55-CategorieEG-ROR (required) |
useContext:catPS | 0..* | UsageContext | Contexte d'usage de la fiche de consignes de saisie afin de spécifier pour quelle(s) Catégorie(s) de profession elle est applicable | |
code | 1..1 | Coding | Type of context being specified Required Pattern: At least the following | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: https://mos.esante.gouv.fr/NOS/TRE_R288-TypeProfession/FHIR/TRE-R288-TypeProfession | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: P01 | |
Slices for value[x] | 1..1 | CodeableConcept, Quantity, Range, Reference(PlanDefinition | ResearchStudy | InsurancePlan | HealthcareService | Group | Location | Organization) | Value that defines the context Slice: Unordered, Open by type:$this | |
value[x]:valueCodeableConcept | S | 0..1 | CodeableConcept | Catégorie(s) de profession pour la(es)quelle(s) cette fiche de consigne de saisie est disponible Binding: https://mos.esante.gouv.fr/NOS/JDV_J229-ProfessionSante-ROR/FHIR/JDV-J229-ProfessionSante-ROR (required) |
useContext:catSpeOrdinal | 0..* | UsageContext | Contexte d'usage de la fiche de consignes de saisie afin de spécifier pour quelle(s) Catégorie(s) de spécialité ordinale elle est applicable | |
code | 1..1 | Coding | Type of context being specified Required Pattern: At least the following | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: https://mos.esante.gouv.fr/NOS/TRE_R04-TypeSavoirFaire/FHIR/TRE-R04-TypeSavoirFaire | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: S | |
Slices for value[x] | 1..1 | CodeableConcept, Quantity, Range, Reference(PlanDefinition | ResearchStudy | InsurancePlan | HealthcareService | Group | Location | Organization) | Value that defines the context Slice: Unordered, Open by type:$this | |
value[x]:valueCodeableConcept | S | 0..1 | CodeableConcept | Catégorie(s) de spécialité ordinale pour la(es)quelle(s) cette fiche de consigne de saisie est disponible Binding: https://mos.esante.gouv.fr/NOS/JDV_J210-SpecialiteOrdinale-ROR/FHIR/JDV-J210-SpecialiteOrdinale-ROR (required) |
purpose | S | 0..1 | markdown | Pourquoi cette fiche est-il défini |
approvalDate | S | 0..1 | date | Date de validation de la fiche de saisie |
lastReviewDate | S | 0..1 | date | Date de dernière revue de la fiche |
effectivePeriod | S | 0..1 | Period | Periode de validité de la fiche |
code | 0..0 | |||
item | S | 0..* | BackboneElement | Structure du champs de la fiche |
linkId | 1..1 | string | Unique id pour l'item de la fiche | |
definition | S | 0..1 | uri | Element concerné par la saisie |
code | 0..0 | |||
prefix | S | 0..1 | string | E.g. "1(a)", "2.5.3" |
text | S | 0..1 | string | Texte pour l'item |
type | 1..1 | code | Ti=ype de l'item group | display | boolean | decimal | integer | date | dateTime ... | |
enableWhen | S | 0..* | BackboneElement | Item autorisé / disponible que sous condition |
enableBehavior | S | 0..1 | code | all | any |
required | S | 0..1 | boolean | Champs requis |
repeats | S | 0..1 | boolean | Si l'item peut de répeter |
readOnly | S | 0..1 | boolean | En lecture seule |
answerValueSet | S | 0..1 | canonical(ValueSet) | Ensemble de valeurs autorisées en réponse |
answerOption | S | 0..* | BackboneElement | Réponses permises |
initialSelected | S | 0..1 | boolean | Option de réponse sélectionnée par défaut |
initial | S | 0..* | BackboneElement | Valeur(s) initiale(s) |
Documentation for this format |
Path | Conformance | ValueSet | URI |
Questionnaire.useContext.code | extensible | RORUsageContextTypeVShttps://interop.esante.gouv.fr/ig/fhir/ror/ValueSet/ror-usage-context-type-vs from this IG | |
Questionnaire.useContext:catEG.value[x]:valueCodeableConcept | required | https://mos.esante.gouv.fr/NOS/JDV_J55-CategorieEG-ROR/FHIR/JDV-J55-CategorieEG-RORhttps://mos.esante.gouv.fr/NOS/JDV_J55-CategorieEG-ROR/FHIR/JDV-J55-CategorieEG-ROR | |
Questionnaire.useContext:catPS.value[x]:valueCodeableConcept | required | https://mos.esante.gouv.fr/NOS/JDV_J229-ProfessionSante-ROR/FHIR/JDV-J229-ProfessionSante-RORhttps://mos.esante.gouv.fr/NOS/JDV_J229-ProfessionSante-ROR/FHIR/JDV-J229-ProfessionSante-ROR | |
Questionnaire.useContext:catSpeOrdinal.value[x]:valueCodeableConcept | required | https://mos.esante.gouv.fr/NOS/JDV_J210-SpecialiteOrdinale-ROR/FHIR/JDV-J210-SpecialiteOrdinale-RORhttps://mos.esante.gouv.fr/NOS/JDV_J210-SpecialiteOrdinale-ROR/FHIR/JDV-J210-SpecialiteOrdinale-ROR |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Questionnaire | C | 0..* | Questionnaire | A structured set of questions que-2: The link ids for groups and questions must be unique within the questionnaire que-0: Name should be usable as an identifier for the module by machine processing applications such as code generation |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
modifierExtension | ?!N | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url |
identifier | SΣ | 0..1 | Identifier | Identifiant de la fiche de saisie. Exemple FDS-092 |
version | SΣ | 0..1 | string | version de la fiche de saisie |
name | SΣC | 1..1 | string | Nom utilisé par les systèmes pour référencer la fiche exemple FDS-092 |
title | SΣ | 1..1 | string | Titre de la fiche. Exemple Unité d'accueil de jour, Equipe spécialisée Alzheimer (ESA), Unité d'Hébergement « traditionnelle » , en EHPAD Petite unité de vie (PUV) |
derivedFrom | S | 0..* | canonical(Questionnaire) | Fiche(s) de saisie parente(s) |
status | ?!Σ | 1..1 | code | Statut de la fiche Binding: PublicationStatus (required): The lifecycle status of an artifact. |
subjectType | SΣ | 1..* | code | Types de Ressources qui seront alimentées lors de la saisie de cette fiche : HealthcareService, Organization, Practioner, PractionerRole, Location Binding: ResourceType (required): One of the resource types defined as part of this version of FHIR. |
date | SΣ | 0..1 | dateTime | Date du dernier changement |
publisher | SΣ | 0..1 | string | Nom de l'éditeur del a fiche: Etablissement ou personne |
description | S | 0..1 | markdown | Description de l'objet de la feuille de saisie |
Slices for useContext | SΣ | 1..* | UsageContext | Contexte d'usage de la fiche de consignes de saisie de spécifier pour quelle(s) Catégorie(s) d'EG elle est applicable ainsi que potentiellemnt la spécialité ordinale et la profession Slice: Unordered, Open by pattern:code |
useContext:All Slices | Content/Rules for all slices | |||
code | Σ | 1..1 | Coding | Type of context being specified Binding: Value Set type pour le contexte d'usage de la fiche de saisie (extensible) |
value[x] | Σ | 1..1 | Value that defines the context Binding: Context of Use ValueSet (example): A code that defines the specific value for the context being specified. | |
valueCodeableConcept | CodeableConcept | |||
valueQuantity | Quantity | |||
valueRange | Range | |||
valueReference | Reference(PlanDefinition | ResearchStudy | InsurancePlan | HealthcareService | Group | Location | Organization) | |||
useContext:catEG | Σ | 1..* | UsageContext | Contexte d'usage de la fiche de consignes de saisie afin de spécifier pour quelle(s) Catégorie(s) d'EG elle est applicable |
code | Σ | 1..1 | Coding | Type of context being specified Binding: UsageContextType (extensible): A code that specifies a type of context being specified by a usage context. Required Pattern: At least the following |
system | 1..1 | uri | Identity of the terminology system Fixed Value: https://mos.esante.gouv.fr/NOS/TRE_R67-TypeStructure-EJ-EG/FHIR/TRE-R67-TypeStructure-EJ-EG | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: EG | |
Slices for value[x] | Σ | 1..1 | Value that defines the context Slice: Unordered, Open by type:$this Binding: Context of Use ValueSet (example): A code that defines the specific value for the context being specified. | |
valueCodeableConcept | CodeableConcept | |||
valueQuantity | Quantity | |||
valueRange | Range | |||
valueReference | Reference(PlanDefinition | ResearchStudy | InsurancePlan | HealthcareService | Group | Location | Organization) | |||
value[x]:valueCodeableConcept | SΣ | 0..1 | CodeableConcept | Catégorie(s) d'EG pour la(es)quelle(s) cette fiche de consigne de saisie est disponible Binding: https://mos.esante.gouv.fr/NOS/JDV_J55-CategorieEG-ROR/FHIR/JDV-J55-CategorieEG-ROR (required) |
useContext:catPS | Σ | 0..* | UsageContext | Contexte d'usage de la fiche de consignes de saisie afin de spécifier pour quelle(s) Catégorie(s) de profession elle est applicable |
code | Σ | 1..1 | Coding | Type of context being specified Binding: UsageContextType (extensible): A code that specifies a type of context being specified by a usage context. Required Pattern: At least the following |
system | 1..1 | uri | Identity of the terminology system Fixed Value: https://mos.esante.gouv.fr/NOS/TRE_R288-TypeProfession/FHIR/TRE-R288-TypeProfession | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: P01 | |
Slices for value[x] | Σ | 1..1 | Value that defines the context Slice: Unordered, Open by type:$this Binding: Context of Use ValueSet (example): A code that defines the specific value for the context being specified. | |
valueCodeableConcept | CodeableConcept | |||
valueQuantity | Quantity | |||
valueRange | Range | |||
valueReference | Reference(PlanDefinition | ResearchStudy | InsurancePlan | HealthcareService | Group | Location | Organization) | |||
value[x]:valueCodeableConcept | SΣ | 0..1 | CodeableConcept | Catégorie(s) de profession pour la(es)quelle(s) cette fiche de consigne de saisie est disponible Binding: https://mos.esante.gouv.fr/NOS/JDV_J229-ProfessionSante-ROR/FHIR/JDV-J229-ProfessionSante-ROR (required) |
useContext:catSpeOrdinal | Σ | 0..* | UsageContext | Contexte d'usage de la fiche de consignes de saisie afin de spécifier pour quelle(s) Catégorie(s) de spécialité ordinale elle est applicable |
code | Σ | 1..1 | Coding | Type of context being specified Binding: UsageContextType (extensible): A code that specifies a type of context being specified by a usage context. Required Pattern: At least the following |
system | 1..1 | uri | Identity of the terminology system Fixed Value: https://mos.esante.gouv.fr/NOS/TRE_R04-TypeSavoirFaire/FHIR/TRE-R04-TypeSavoirFaire | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: S | |
Slices for value[x] | Σ | 1..1 | Value that defines the context Slice: Unordered, Open by type:$this Binding: Context of Use ValueSet (example): A code that defines the specific value for the context being specified. | |
valueCodeableConcept | CodeableConcept | |||
valueQuantity | Quantity | |||
valueRange | Range | |||
valueReference | Reference(PlanDefinition | ResearchStudy | InsurancePlan | HealthcareService | Group | Location | Organization) | |||
value[x]:valueCodeableConcept | SΣ | 0..1 | CodeableConcept | Catégorie(s) de spécialité ordinale pour la(es)quelle(s) cette fiche de consigne de saisie est disponible Binding: https://mos.esante.gouv.fr/NOS/JDV_J210-SpecialiteOrdinale-ROR/FHIR/JDV-J210-SpecialiteOrdinale-ROR (required) |
purpose | S | 0..1 | markdown | Pourquoi cette fiche est-il défini |
approvalDate | S | 0..1 | date | Date de validation de la fiche de saisie |
lastReviewDate | S | 0..1 | date | Date de dernière revue de la fiche |
effectivePeriod | SΣC | 0..1 | Period | Periode de validité de la fiche per-1: If present, start SHALL have a lower value than end |
item | SC | 0..* | BackboneElement | Structure du champs de la fiche que-9: Read-only can't be specified for "display" items que-8: Initial values can't be specified for groups or display items que-6: Required and repeat aren't permitted for display items que-5: Only 'choice' and 'open-choice' items can have answerValueSet que-4: A question cannot have both answerOption and answerValueSet que-3: Display items cannot have a "code" asserted que-10: Maximum length can only be declared for simple question types que-1: Group items must have nested items, display items cannot have nested items que-13: Can only have multiple initial values for repeating items que-11: If one or more answerOption is present, initial[x] must be missing que-12: If there are more than one enableWhen, enableBehavior must be specified |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
linkId | 1..1 | string | Unique id pour l'item de la fiche | |
definition | S | 0..1 | uri | Element concerné par la saisie |
prefix | S | 0..1 | string | E.g. "1(a)", "2.5.3" |
text | S | 0..1 | string | Texte pour l'item |
type | 1..1 | code | Ti=ype de l'item group | display | boolean | decimal | integer | date | dateTime ... Binding: QuestionnaireItemType (required): Distinguishes groups from questions and display text and indicates data type for questions. | |
enableWhen | ?!SC | 0..* | BackboneElement | Item autorisé / disponible que sous condition que-7: If the operator is 'exists', the value must be a boolean |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
question | 1..1 | string | Question that determines whether item is enabled | |
operator | 1..1 | code | exists | = | != | > | < | >= | <= Binding: QuestionnaireItemOperator (required): The criteria by which a question is enabled. | |
answer[x] | C | 1..1 | Value for question comparison based on operator Binding: QuestionnaireAnswerCodes (example): Allowed values to answer questions. | |
answerBoolean | boolean | |||
answerDecimal | decimal | |||
answerInteger | integer | |||
answerDate | date | |||
answerDateTime | dateTime | |||
answerTime | time | |||
answerString | string | |||
answerCoding | Coding | |||
answerQuantity | Quantity | |||
answerReference | Reference(Resource) | |||
enableBehavior | SC | 0..1 | code | all | any Binding: EnableWhenBehavior (required): Controls how multiple enableWhen values are interpreted - whether all or any must be true. |
required | SC | 0..1 | boolean | Champs requis |
repeats | SC | 0..1 | boolean | Si l'item peut de répeter |
readOnly | SC | 0..1 | boolean | En lecture seule |
maxLength | C | 0..1 | integer | No more than this many characters |
answerValueSet | SC | 0..1 | canonical(ValueSet) | Ensemble de valeurs autorisées en réponse |
answerOption | SC | 0..* | BackboneElement | Réponses permises |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
value[x] | 1..1 | Answer value Binding: QuestionnaireAnswerCodes (example): Allowed values to answer questions. | ||
valueInteger | integer | |||
valueDate | date | |||
valueTime | time | |||
valueString | string | |||
valueCoding | Coding | |||
valueReference | Reference(Resource) | |||
initialSelected | S | 0..1 | boolean | Option de réponse sélectionnée par défaut |
initial | SC | 0..* | BackboneElement | Valeur(s) initiale(s) |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
value[x] | 1..1 | Actual value for initializing the question Binding: QuestionnaireAnswerCodes (example): Allowed values to answer questions. | ||
valueBoolean | boolean | |||
valueDecimal | decimal | |||
valueInteger | integer | |||
valueDate | date | |||
valueDateTime | dateTime | |||
valueTime | time | |||
valueString | string | |||
valueUri | uri | |||
valueAttachment | Attachment | |||
valueCoding | Coding | |||
valueQuantity | Quantity | |||
valueReference | Reference(Resource) | |||
Documentation for this format |
Path | Conformance | ValueSet / Code | URI |
Questionnaire.status | required | PublicationStatushttp://hl7.org/fhir/ValueSet/publication-status|4.0.1 from the FHIR Standard | |
Questionnaire.subjectType | required | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types|4.0.1 from the FHIR Standard | |
Questionnaire.useContext.code | extensible | RORUsageContextTypeVShttps://interop.esante.gouv.fr/ig/fhir/ror/ValueSet/ror-usage-context-type-vs from this IG | |
Questionnaire.useContext.value[x] | example | Context of Use ValueSethttp://hl7.org/fhir/ValueSet/use-context from the FHIR Standard | |
Questionnaire.useContext:catEG.code | extensible | Pattern: EGhttp://hl7.org/fhir/ValueSet/usage-context-type from the FHIR Standard | |
Questionnaire.useContext:catEG.value[x] | example | Context of Use ValueSethttp://hl7.org/fhir/ValueSet/use-context from the FHIR Standard | |
Questionnaire.useContext:catEG.value[x]:valueCodeableConcept | required | https://mos.esante.gouv.fr/NOS/JDV_J55-CategorieEG-ROR/FHIR/JDV-J55-CategorieEG-RORhttps://mos.esante.gouv.fr/NOS/JDV_J55-CategorieEG-ROR/FHIR/JDV-J55-CategorieEG-ROR | |
Questionnaire.useContext:catPS.code | extensible | Pattern: P01http://hl7.org/fhir/ValueSet/usage-context-type from the FHIR Standard | |
Questionnaire.useContext:catPS.value[x] | example | Context of Use ValueSethttp://hl7.org/fhir/ValueSet/use-context from the FHIR Standard | |
Questionnaire.useContext:catPS.value[x]:valueCodeableConcept | required | https://mos.esante.gouv.fr/NOS/JDV_J229-ProfessionSante-ROR/FHIR/JDV-J229-ProfessionSante-RORhttps://mos.esante.gouv.fr/NOS/JDV_J229-ProfessionSante-ROR/FHIR/JDV-J229-ProfessionSante-ROR | |
Questionnaire.useContext:catSpeOrdinal.code | extensible | Pattern: Shttp://hl7.org/fhir/ValueSet/usage-context-type from the FHIR Standard | |
Questionnaire.useContext:catSpeOrdinal.value[x] | example | Context of Use ValueSethttp://hl7.org/fhir/ValueSet/use-context from the FHIR Standard | |
Questionnaire.useContext:catSpeOrdinal.value[x]:valueCodeableConcept | required | https://mos.esante.gouv.fr/NOS/JDV_J210-SpecialiteOrdinale-ROR/FHIR/JDV-J210-SpecialiteOrdinale-RORhttps://mos.esante.gouv.fr/NOS/JDV_J210-SpecialiteOrdinale-ROR/FHIR/JDV-J210-SpecialiteOrdinale-ROR | |
Questionnaire.item.type | required | QuestionnaireItemTypehttp://hl7.org/fhir/ValueSet/item-type|4.0.1 from the FHIR Standard | |
Questionnaire.item.enableWhen.operator | required | QuestionnaireItemOperatorhttp://hl7.org/fhir/ValueSet/questionnaire-enable-operator|4.0.1 from the FHIR Standard | |
Questionnaire.item.enableWhen.answer[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard | |
Questionnaire.item.enableBehavior | required | EnableWhenBehaviorhttp://hl7.org/fhir/ValueSet/questionnaire-enable-behavior|4.0.1 from the FHIR Standard | |
Questionnaire.item.answerOption.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard | |
Questionnaire.item.initial.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | Questionnaire | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Questionnaire | 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 | Questionnaire | 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 | Questionnaire | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Questionnaire | 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 | Questionnaire.modifierExtension, Questionnaire.item.modifierExtension, Questionnaire.item.enableWhen.modifierExtension, Questionnaire.item.answerOption.modifierExtension, Questionnaire.item.initial.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
per-1 | error | Questionnaire.effectivePeriod | If present, start SHALL have a lower value than end : start.hasValue().not() or end.hasValue().not() or (start <= end) | |
que-0 | warning | Questionnaire | Name should be usable as an identifier for the module by machine processing applications such as code generation : name.matches('[A-Z]([A-Za-z0-9_]){0,254}') | |
que-1 | error | Questionnaire.item | Group items must have nested items, display items cannot have nested items : (type='group' implies item.empty().not()) and (type.trace('type')='display' implies item.trace('item').empty()) | |
que-2 | error | Questionnaire | The link ids for groups and questions must be unique within the questionnaire : descendants().linkId.isDistinct() | |
que-3 | error | Questionnaire.item | Display items cannot have a "code" asserted : type!='display' or code.empty() | |
que-4 | error | Questionnaire.item | A question cannot have both answerOption and answerValueSet : answerOption.empty() or answerValueSet.empty() | |
que-5 | error | Questionnaire.item | Only 'choice' and 'open-choice' items can have answerValueSet : (type ='choice' or type = 'open-choice' or type = 'decimal' or type = 'integer' or type = 'date' or type = 'dateTime' or type = 'time' or type = 'string' or type = 'quantity') or (answerValueSet.empty() and answerOption.empty()) | |
que-6 | error | Questionnaire.item | Required and repeat aren't permitted for display items : type!='display' or (required.empty() and repeats.empty()) | |
que-7 | error | Questionnaire.item.enableWhen | If the operator is 'exists', the value must be a boolean : operator = 'exists' implies (answer is Boolean) | |
que-8 | error | Questionnaire.item | Initial values can't be specified for groups or display items : (type!='group' and type!='display') or initial.empty() | |
que-9 | error | Questionnaire.item | Read-only can't be specified for "display" items : type!='display' or readOnly.empty() | |
que-10 | error | Questionnaire.item | Maximum length can only be declared for simple question types : (type in ('boolean' | 'decimal' | 'integer' | 'string' | 'text' | 'url' | 'open-choice')) or maxLength.empty() | |
que-11 | error | Questionnaire.item | If one or more answerOption is present, initial[x] must be missing : answerOption.empty() or initial.empty() | |
que-12 | error | Questionnaire.item | If there are more than one enableWhen, enableBehavior must be specified : enableWhen.count() > 2 implies enableBehavior.exists() | |
que-13 | error | Questionnaire.item | Can only have multiple initial values for repeating items : repeats=true or initial.count() <= 1 |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
Questionnaire | C | 0..* | Questionnaire | A structured set of questions que-2: The link ids for groups and questions must be unique within the questionnaire que-0: Name should be usable as an identifier for the module by machine processing applications such as code generation | ||||
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 | ||||
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
extension | N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
modifierExtension | ?!N | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url | ||||
url | Σ | 0..1 | uri | Canonical identifier for this questionnaire, represented as a URI (globally unique) | ||||
identifier | SΣ | 0..1 | Identifier | Identifiant de la fiche de saisie. Exemple FDS-092 | ||||
version | SΣ | 0..1 | string | version de la fiche de saisie | ||||
name | SΣC | 1..1 | string | Nom utilisé par les systèmes pour référencer la fiche exemple FDS-092 | ||||
title | SΣ | 1..1 | string | Titre de la fiche. Exemple Unité d'accueil de jour, Equipe spécialisée Alzheimer (ESA), Unité d'Hébergement « traditionnelle » , en EHPAD Petite unité de vie (PUV) | ||||
derivedFrom | S | 0..* | canonical(Questionnaire) | Fiche(s) de saisie parente(s) | ||||
status | ?!Σ | 1..1 | code | Statut de la fiche Binding: PublicationStatus (required): The lifecycle status of an artifact. | ||||
experimental | Σ | 0..1 | boolean | For testing purposes, not real usage | ||||
subjectType | SΣ | 1..* | code | Types de Ressources qui seront alimentées lors de la saisie de cette fiche : HealthcareService, Organization, Practioner, PractionerRole, Location Binding: ResourceType (required): One of the resource types defined as part of this version of FHIR. | ||||
date | SΣ | 0..1 | dateTime | Date du dernier changement | ||||
publisher | SΣ | 0..1 | string | Nom de l'éditeur del a fiche: Etablissement ou personne | ||||
contact | Σ | 0..* | ContactDetail | Contact details for the publisher | ||||
description | S | 0..1 | markdown | Description de l'objet de la feuille de saisie | ||||
Slices for useContext | SΣ | 1..* | UsageContext | Contexte d'usage de la fiche de consignes de saisie de spécifier pour quelle(s) Catégorie(s) d'EG elle est applicable ainsi que potentiellemnt la spécialité ordinale et la profession Slice: Unordered, Open by pattern:code | ||||
useContext:All Slices | Content/Rules for all slices | |||||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
code | Σ | 1..1 | Coding | Type of context being specified Binding: Value Set type pour le contexte d'usage de la fiche de saisie (extensible) | ||||
value[x] | Σ | 1..1 | Value that defines the context Binding: Context of Use ValueSet (example): A code that defines the specific value for the context being specified. | |||||
valueCodeableConcept | CodeableConcept | |||||||
valueQuantity | Quantity | |||||||
valueRange | Range | |||||||
valueReference | Reference(PlanDefinition | ResearchStudy | InsurancePlan | HealthcareService | Group | Location | Organization) | |||||||
useContext:catEG | Σ | 1..* | UsageContext | Contexte d'usage de la fiche de consignes de saisie afin de spécifier pour quelle(s) Catégorie(s) d'EG elle est applicable | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
code | Σ | 1..1 | Coding | Type of context being specified Binding: UsageContextType (extensible): A code that specifies a type of context being specified by a usage context. Required Pattern: At least the following | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
system | 1..1 | uri | Identity of the terminology system Fixed Value: https://mos.esante.gouv.fr/NOS/TRE_R67-TypeStructure-EJ-EG/FHIR/TRE-R67-TypeStructure-EJ-EG | |||||
version | 0..1 | string | Version of the system - if relevant | |||||
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: EG | |||||
display | 0..1 | string | Representation defined by the system | |||||
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |||||
Slices for value[x] | Σ | 1..1 | Value that defines the context Slice: Unordered, Open by type:$this Binding: Context of Use ValueSet (example): A code that defines the specific value for the context being specified. | |||||
valueCodeableConcept | CodeableConcept | |||||||
valueQuantity | Quantity | |||||||
valueRange | Range | |||||||
valueReference | Reference(PlanDefinition | ResearchStudy | InsurancePlan | HealthcareService | Group | Location | Organization) | |||||||
value[x]:valueCodeableConcept | SΣ | 0..1 | CodeableConcept | Catégorie(s) d'EG pour la(es)quelle(s) cette fiche de consigne de saisie est disponible Binding: https://mos.esante.gouv.fr/NOS/JDV_J55-CategorieEG-ROR/FHIR/JDV-J55-CategorieEG-ROR (required) | ||||
useContext:catPS | Σ | 0..* | UsageContext | Contexte d'usage de la fiche de consignes de saisie afin de spécifier pour quelle(s) Catégorie(s) de profession elle est applicable | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
code | Σ | 1..1 | Coding | Type of context being specified Binding: UsageContextType (extensible): A code that specifies a type of context being specified by a usage context. Required Pattern: At least the following | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
system | 1..1 | uri | Identity of the terminology system Fixed Value: https://mos.esante.gouv.fr/NOS/TRE_R288-TypeProfession/FHIR/TRE-R288-TypeProfession | |||||
version | 0..1 | string | Version of the system - if relevant | |||||
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: P01 | |||||
display | 0..1 | string | Representation defined by the system | |||||
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |||||
Slices for value[x] | Σ | 1..1 | Value that defines the context Slice: Unordered, Open by type:$this Binding: Context of Use ValueSet (example): A code that defines the specific value for the context being specified. | |||||
valueCodeableConcept | CodeableConcept | |||||||
valueQuantity | Quantity | |||||||
valueRange | Range | |||||||
valueReference | Reference(PlanDefinition | ResearchStudy | InsurancePlan | HealthcareService | Group | Location | Organization) | |||||||
value[x]:valueCodeableConcept | SΣ | 0..1 | CodeableConcept | Catégorie(s) de profession pour la(es)quelle(s) cette fiche de consigne de saisie est disponible Binding: https://mos.esante.gouv.fr/NOS/JDV_J229-ProfessionSante-ROR/FHIR/JDV-J229-ProfessionSante-ROR (required) | ||||
useContext:catSpeOrdinal | Σ | 0..* | UsageContext | Contexte d'usage de la fiche de consignes de saisie afin de spécifier pour quelle(s) Catégorie(s) de spécialité ordinale elle est applicable | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
code | Σ | 1..1 | Coding | Type of context being specified Binding: UsageContextType (extensible): A code that specifies a type of context being specified by a usage context. Required Pattern: At least the following | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
system | 1..1 | uri | Identity of the terminology system Fixed Value: https://mos.esante.gouv.fr/NOS/TRE_R04-TypeSavoirFaire/FHIR/TRE-R04-TypeSavoirFaire | |||||
version | 0..1 | string | Version of the system - if relevant | |||||
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: S | |||||
display | 0..1 | string | Representation defined by the system | |||||
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |||||
Slices for value[x] | Σ | 1..1 | Value that defines the context Slice: Unordered, Open by type:$this Binding: Context of Use ValueSet (example): A code that defines the specific value for the context being specified. | |||||
valueCodeableConcept | CodeableConcept | |||||||
valueQuantity | Quantity | |||||||
valueRange | Range | |||||||
valueReference | Reference(PlanDefinition | ResearchStudy | InsurancePlan | HealthcareService | Group | Location | Organization) | |||||||
value[x]:valueCodeableConcept | SΣ | 0..1 | CodeableConcept | Catégorie(s) de spécialité ordinale pour la(es)quelle(s) cette fiche de consigne de saisie est disponible Binding: https://mos.esante.gouv.fr/NOS/JDV_J210-SpecialiteOrdinale-ROR/FHIR/JDV-J210-SpecialiteOrdinale-ROR (required) | ||||
jurisdiction | Σ | 0..* | CodeableConcept | Intended jurisdiction for questionnaire (if applicable) Binding: Jurisdiction ValueSet (extensible): Countries and regions within which this artifact is targeted for use. | ||||
purpose | S | 0..1 | markdown | Pourquoi cette fiche est-il défini | ||||
copyright | 0..1 | markdown | Use and/or publishing restrictions | |||||
approvalDate | S | 0..1 | date | Date de validation de la fiche de saisie | ||||
lastReviewDate | S | 0..1 | date | Date de dernière revue de la fiche | ||||
effectivePeriod | SΣC | 0..1 | Period | Periode de validité de la fiche per-1: If present, start SHALL have a lower value than end | ||||
item | SC | 0..* | BackboneElement | Structure du champs de la fiche que-9: Read-only can't be specified for "display" items que-8: Initial values can't be specified for groups or display items que-6: Required and repeat aren't permitted for display items que-5: Only 'choice' and 'open-choice' items can have answerValueSet que-4: A question cannot have both answerOption and answerValueSet que-3: Display items cannot have a "code" asserted que-10: Maximum length can only be declared for simple question types que-1: Group items must have nested items, display items cannot have nested items que-13: Can only have multiple initial values for repeating items que-11: If one or more answerOption is present, initial[x] must be missing que-12: If there are more than one enableWhen, enableBehavior must be specified | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
linkId | 1..1 | string | Unique id pour l'item de la fiche | |||||
definition | S | 0..1 | uri | Element concerné par la saisie | ||||
prefix | S | 0..1 | string | E.g. "1(a)", "2.5.3" | ||||
text | S | 0..1 | string | Texte pour l'item | ||||
type | 1..1 | code | Ti=ype de l'item group | display | boolean | decimal | integer | date | dateTime ... Binding: QuestionnaireItemType (required): Distinguishes groups from questions and display text and indicates data type for questions. | |||||
enableWhen | ?!SC | 0..* | BackboneElement | Item autorisé / disponible que sous condition que-7: If the operator is 'exists', the value must be a boolean | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
question | 1..1 | string | Question that determines whether item is enabled | |||||
operator | 1..1 | code | exists | = | != | > | < | >= | <= Binding: QuestionnaireItemOperator (required): The criteria by which a question is enabled. | |||||
answer[x] | C | 1..1 | Value for question comparison based on operator Binding: QuestionnaireAnswerCodes (example): Allowed values to answer questions. | |||||
answerBoolean | boolean | |||||||
answerDecimal | decimal | |||||||
answerInteger | integer | |||||||
answerDate | date | |||||||
answerDateTime | dateTime | |||||||
answerTime | time | |||||||
answerString | string | |||||||
answerCoding | Coding | |||||||
answerQuantity | Quantity | |||||||
answerReference | Reference(Resource) | |||||||
enableBehavior | SC | 0..1 | code | all | any Binding: EnableWhenBehavior (required): Controls how multiple enableWhen values are interpreted - whether all or any must be true. | ||||
required | SC | 0..1 | boolean | Champs requis | ||||
repeats | SC | 0..1 | boolean | Si l'item peut de répeter | ||||
readOnly | SC | 0..1 | boolean | En lecture seule | ||||
maxLength | C | 0..1 | integer | No more than this many characters | ||||
answerValueSet | SC | 0..1 | canonical(ValueSet) | Ensemble de valeurs autorisées en réponse | ||||
answerOption | SC | 0..* | BackboneElement | Réponses permises | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
value[x] | 1..1 | Answer value Binding: QuestionnaireAnswerCodes (example): Allowed values to answer questions. | ||||||
valueInteger | integer | |||||||
valueDate | date | |||||||
valueTime | time | |||||||
valueString | string | |||||||
valueCoding | Coding | |||||||
valueReference | Reference(Resource) | |||||||
initialSelected | S | 0..1 | boolean | Option de réponse sélectionnée par défaut | ||||
initial | SC | 0..* | BackboneElement | Valeur(s) initiale(s) | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
value[x] | 1..1 | Actual value for initializing the question Binding: QuestionnaireAnswerCodes (example): Allowed values to answer questions. | ||||||
valueBoolean | boolean | |||||||
valueDecimal | decimal | |||||||
valueInteger | integer | |||||||
valueDate | date | |||||||
valueDateTime | dateTime | |||||||
valueTime | time | |||||||
valueString | string | |||||||
valueUri | uri | |||||||
valueAttachment | Attachment | |||||||
valueCoding | Coding | |||||||
valueQuantity | Quantity | |||||||
valueReference | Reference(Resource) | |||||||
item | C | 0..* | See item (Questionnaire) | Nested questionnaire items | ||||
Documentation for this format |
Path | Conformance | ValueSet / Code | URI | |||
Questionnaire.language | preferred | CommonLanguages
http://hl7.org/fhir/ValueSet/languages from the FHIR Standard | ||||
Questionnaire.status | required | PublicationStatushttp://hl7.org/fhir/ValueSet/publication-status|4.0.1 from the FHIR Standard | ||||
Questionnaire.subjectType | required | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types|4.0.1 from the FHIR Standard | ||||
Questionnaire.useContext.code | extensible | RORUsageContextTypeVShttps://interop.esante.gouv.fr/ig/fhir/ror/ValueSet/ror-usage-context-type-vs from this IG | ||||
Questionnaire.useContext.value[x] | example | Context of Use ValueSethttp://hl7.org/fhir/ValueSet/use-context from the FHIR Standard | ||||
Questionnaire.useContext:catEG.code | extensible | Pattern: EGhttp://hl7.org/fhir/ValueSet/usage-context-type from the FHIR Standard | ||||
Questionnaire.useContext:catEG.value[x] | example | Context of Use ValueSethttp://hl7.org/fhir/ValueSet/use-context from the FHIR Standard | ||||
Questionnaire.useContext:catEG.value[x]:valueCodeableConcept | required | https://mos.esante.gouv.fr/NOS/JDV_J55-CategorieEG-ROR/FHIR/JDV-J55-CategorieEG-RORhttps://mos.esante.gouv.fr/NOS/JDV_J55-CategorieEG-ROR/FHIR/JDV-J55-CategorieEG-ROR | ||||
Questionnaire.useContext:catPS.code | extensible | Pattern: P01http://hl7.org/fhir/ValueSet/usage-context-type from the FHIR Standard | ||||
Questionnaire.useContext:catPS.value[x] | example | Context of Use ValueSethttp://hl7.org/fhir/ValueSet/use-context from the FHIR Standard | ||||
Questionnaire.useContext:catPS.value[x]:valueCodeableConcept | required | https://mos.esante.gouv.fr/NOS/JDV_J229-ProfessionSante-ROR/FHIR/JDV-J229-ProfessionSante-RORhttps://mos.esante.gouv.fr/NOS/JDV_J229-ProfessionSante-ROR/FHIR/JDV-J229-ProfessionSante-ROR | ||||
Questionnaire.useContext:catSpeOrdinal.code | extensible | Pattern: Shttp://hl7.org/fhir/ValueSet/usage-context-type from the FHIR Standard | ||||
Questionnaire.useContext:catSpeOrdinal.value[x] | example | Context of Use ValueSethttp://hl7.org/fhir/ValueSet/use-context from the FHIR Standard | ||||
Questionnaire.useContext:catSpeOrdinal.value[x]:valueCodeableConcept | required | https://mos.esante.gouv.fr/NOS/JDV_J210-SpecialiteOrdinale-ROR/FHIR/JDV-J210-SpecialiteOrdinale-RORhttps://mos.esante.gouv.fr/NOS/JDV_J210-SpecialiteOrdinale-ROR/FHIR/JDV-J210-SpecialiteOrdinale-ROR | ||||
Questionnaire.jurisdiction | extensible | Jurisdiction ValueSethttp://hl7.org/fhir/ValueSet/jurisdiction from the FHIR Standard | ||||
Questionnaire.item.type | required | QuestionnaireItemTypehttp://hl7.org/fhir/ValueSet/item-type|4.0.1 from the FHIR Standard | ||||
Questionnaire.item.enableWhen.operator | required | QuestionnaireItemOperatorhttp://hl7.org/fhir/ValueSet/questionnaire-enable-operator|4.0.1 from the FHIR Standard | ||||
Questionnaire.item.enableWhen.answer[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard | ||||
Questionnaire.item.enableBehavior | required | EnableWhenBehaviorhttp://hl7.org/fhir/ValueSet/questionnaire-enable-behavior|4.0.1 from the FHIR Standard | ||||
Questionnaire.item.answerOption.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard | ||||
Questionnaire.item.initial.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | Questionnaire | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Questionnaire | 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 | Questionnaire | 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 | Questionnaire | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Questionnaire | 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 | Questionnaire.extension, Questionnaire.modifierExtension, Questionnaire.useContext.extension, Questionnaire.useContext:catEG.extension, Questionnaire.useContext:catPS.extension, Questionnaire.useContext:catSpeOrdinal.extension, Questionnaire.item.extension, Questionnaire.item.modifierExtension, Questionnaire.item.enableWhen.extension, Questionnaire.item.enableWhen.modifierExtension, Questionnaire.item.answerOption.extension, Questionnaire.item.answerOption.modifierExtension, Questionnaire.item.initial.extension, Questionnaire.item.initial.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
per-1 | error | Questionnaire.effectivePeriod | If present, start SHALL have a lower value than end : start.hasValue().not() or end.hasValue().not() or (start <= end) | |
que-0 | warning | Questionnaire | Name should be usable as an identifier for the module by machine processing applications such as code generation : name.matches('[A-Z]([A-Za-z0-9_]){0,254}') | |
que-1 | error | Questionnaire.item | Group items must have nested items, display items cannot have nested items : (type='group' implies item.empty().not()) and (type.trace('type')='display' implies item.trace('item').empty()) | |
que-2 | error | Questionnaire | The link ids for groups and questions must be unique within the questionnaire : descendants().linkId.isDistinct() | |
que-3 | error | Questionnaire.item | Display items cannot have a "code" asserted : type!='display' or code.empty() | |
que-4 | error | Questionnaire.item | A question cannot have both answerOption and answerValueSet : answerOption.empty() or answerValueSet.empty() | |
que-5 | error | Questionnaire.item | Only 'choice' and 'open-choice' items can have answerValueSet : (type ='choice' or type = 'open-choice' or type = 'decimal' or type = 'integer' or type = 'date' or type = 'dateTime' or type = 'time' or type = 'string' or type = 'quantity') or (answerValueSet.empty() and answerOption.empty()) | |
que-6 | error | Questionnaire.item | Required and repeat aren't permitted for display items : type!='display' or (required.empty() and repeats.empty()) | |
que-7 | error | Questionnaire.item.enableWhen | If the operator is 'exists', the value must be a boolean : operator = 'exists' implies (answer is Boolean) | |
que-8 | error | Questionnaire.item | Initial values can't be specified for groups or display items : (type!='group' and type!='display') or initial.empty() | |
que-9 | error | Questionnaire.item | Read-only can't be specified for "display" items : type!='display' or readOnly.empty() | |
que-10 | error | Questionnaire.item | Maximum length can only be declared for simple question types : (type in ('boolean' | 'decimal' | 'integer' | 'string' | 'text' | 'url' | 'open-choice')) or maxLength.empty() | |
que-11 | error | Questionnaire.item | If one or more answerOption is present, initial[x] must be missing : answerOption.empty() or initial.empty() | |
que-12 | error | Questionnaire.item | If there are more than one enableWhen, enableBehavior must be specified : enableWhen.count() > 2 implies enableBehavior.exists() | |
que-13 | error | Questionnaire.item | Can only have multiple initial values for repeating items : repeats=true or initial.count() <= 1 |
This structure is derived from Questionnaire
Summary
Mandatory: 5 elements
Must-Support: 30 elements
Prohibited: 2 elements
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron