## Union of https://interop.esante.gouv.fr/ig/fhir/ror/StructureDefinition/ror-questionnaire and https://interop.esante.gouv.fr/ig/fhir/ror/StructureDefinition/ror-questionnaire

This is the set of resources that conform to either of the profiles RORQuestionnaire (https://interop.esante.gouv.fr/ig/fhir/ror/StructureDefinition/ror-questionnaire) and RORQuestionnaire (https://interop.esante.gouv.fr/ig/fhir/ror/StructureDefinition/ror-questionnaire). E.g. what you have to deal with if you get resources conforming to one of them

### Structure

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Questionnaire | C | 0..* |  | A structured set of questions dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: 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 dom-6: A resource should have narrative for robust management dom-5: If a resource is contained in another resource, it SHALL NOT have a security label 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
meta | Σ | 0..1 | Meta | Metadata about the resource ele-1: All FHIR elements must have a @value or children
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children
language |  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language. ele-1: All FHIR elements must have a @value or children
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation ele-1: All FHIR elements must have a @value or children
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
url | Σ | 0..1 | uri | Canonical identifier for this questionnaire, represented as a URI (globally unique) ele-1: All FHIR elements must have a @value or children
identifier | S Σ | 0..1 | Identifier | Identifiant de la fiche de saisie. Exemple FDS-092 ele-1: All FHIR elements must have a @value or children
version | S Σ | 0..1 | string | version de la fiche de saisie ele-1: All FHIR elements must have a @value or children
name | S Σ | 1..1 | string | Nom utilisé par les systèmes pour référencer la fiche exemple FDS-092 ele-1: All FHIR elements must have a @value or children
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) ele-1: All FHIR elements must have a @value or children
derivedFrom | S | 0..* | canonical(Questionnaire) | Fiche(s) de saisie parente(s) ele-1: All FHIR elements must have a @value or children
status | ?!Σ | 1..1 | code | Statut de la fiche Binding: ?? (required): The lifecycle status of an artifact. ele-1: All FHIR elements must have a @value or children
experimental | Σ | 0..1 | boolean | For testing purposes, not real usage ele-1: All FHIR elements must have a @value or children
subjectType | S Σ | 1..* | code | Types de Ressources qui seront alimentées lors de la saisie de cette fiche : HealthcareService, Organization, Practioner, PractionerRole, Location Binding: ?? (required): One of the resource types defined as part of this version of FHIR. ele-1: All FHIR elements must have a @value or children
date | S Σ | 0..1 | dateTime | Date du dernier changement ele-1: All FHIR elements must have a @value or children
publisher | S Σ | 0..1 | string | Nom de l'éditeur del a fiche: Etablissement ou personne ele-1: All FHIR elements must have a @value or children
contact | Σ | 0..* | ContactDetail | Contact details for the publisher ele-1: All FHIR elements must have a @value or children
description | S | 0..1 | markdown | Description de l'objet de la feuille de saisie ele-1: All FHIR elements must have a @value or children
useContext | S Σ | 1..* | UsageContext | left: 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; right: 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, la profession et ou le domaine de l'offre ele-1: All FHIR elements must have a @value or children
extension |  | 0..* | Extension | Additional content defined by implementations ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
code | Σ | 1..1 | Coding | Type of context being specified Binding: ?? (extensible) ele-1: All FHIR elements must have a @value or children
value[x] | Σ | 1..1 |  | Value that defines the context Binding: ?? (example): A code that defines the specific value for the context being specified. ele-1: All FHIR elements must have a @value or children
valueCodeableConcept |  |  | CodeableConcept |
valueQuantity |  |  | Quantity |
valueRange |  |  | Range |
valueReference |  |  | Reference(PlanDefinition | ResearchStudy | InsurancePlan | HealthcareService | Group | Location | Organization) |
jurisdiction | Σ | 0..* | CodeableConcept | Intended jurisdiction for questionnaire (if applicable) Binding: ?? (extensible): Countries and regions within which this artifact is targeted for use. ele-1: All FHIR elements must have a @value or children
purpose | S | 0..1 | markdown | Pourquoi cette fiche est-il défini ele-1: All FHIR elements must have a @value or children
copyright |  | 0..1 | markdown | Use and/or publishing restrictions ele-1: All FHIR elements must have a @value or children
approvalDate | S | 0..1 | date | Date de validation de la fiche de saisie ele-1: All FHIR elements must have a @value or children
lastReviewDate | S | 0..1 | date | Date de dernière revue de la fiche ele-1: All FHIR elements must have a @value or children
effectivePeriod | S Σ C | 0..1 | Period | Periode de validité de la fiche ele-1: All FHIR elements must have a @value or children per-1: If present, start SHALL have a lower value than end
item | S C | 0..* | BackboneElement | Structure du champs de la fiche ele-1: All FHIR elements must have a @value or children 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
extension |  | 0..* | Extension | Additional content defined by implementations ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
linkId |  | 1..1 | string | Unique id pour l'item de la fiche ele-1: All FHIR elements must have a @value or children
definition | S | 0..1 | uri | Element concerné par la saisie ele-1: All FHIR elements must have a @value or children
prefix | S | 0..1 | string | E.g. "1(a)", "2.5.3" ele-1: All FHIR elements must have a @value or children
text | S | 0..1 | string | Texte pour l'item ele-1: All FHIR elements must have a @value or children
type |  | 1..1 | code | left: Ti=ype de l'item group | display | boolean | decimal | integer | date | dateTime ...; right: Type de l'item group | display | boolean | decimal | integer | date | dateTime ... Binding: ?? (required): Distinguishes groups from questions and display text and indicates data type for questions. ele-1: All FHIR elements must have a @value or children
enableWhen | ?!S C | 0..* | BackboneElement | Item autorisé / disponible que sous condition ele-1: All FHIR elements must have a @value or children que-7: If the operator is 'exists', the value must be a boolean
extension |  | 0..* | Extension | Additional content defined by implementations ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
question |  | 1..1 | string | Question that determines whether item is enabled ele-1: All FHIR elements must have a @value or children
operator |  | 1..1 | code | exists | = | != | > | < | >= | <= Binding: ?? (required): The criteria by which a question is enabled. ele-1: All FHIR elements must have a @value or children
answer[x] |  | 1..1 |  | Value for question comparison based on operator Binding: ?? (example): Allowed values to answer questions. ele-1: All FHIR elements must have a @value or children
answerBoolean |  |  | boolean |
answerDecimal |  |  | decimal |
answerInteger |  |  | integer |
answerDate |  |  | date |
answerDateTime |  |  | dateTime |
answerTime |  |  | time |
answerString |  |  | string |
answerCoding |  |  | Coding |
answerQuantity |  |  | Quantity |
answerReference |  |  | Reference(Resource) |
enableBehavior | S | 0..1 | code | all | any Binding: ?? (required): Controls how multiple enableWhen values are interpreted - whether all or any must be true. ele-1: All FHIR elements must have a @value or children
required | S | 0..1 | boolean | Champs requis ele-1: All FHIR elements must have a @value or children
repeats | S | 0..1 | boolean | Si l'item peut de répeter ele-1: All FHIR elements must have a @value or children
readOnly | S | 0..1 | boolean | En lecture seule ele-1: All FHIR elements must have a @value or children
maxLength |  | 0..1 | integer | No more than this many characters ele-1: All FHIR elements must have a @value or children
answerValueSet | S | 0..1 | canonical(ValueSet) | Ensemble de valeurs autorisées en réponse ele-1: All FHIR elements must have a @value or children
answerOption | S | 0..* | BackboneElement | Réponses permises ele-1: All FHIR elements must have a @value or children
extension |  | 0..* | Extension | Additional content defined by implementations ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
value[x] |  | 1..1 |  | Answer value Binding: ?? (example): Allowed values to answer questions. ele-1: All FHIR elements must have a @value or children
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 ele-1: All FHIR elements must have a @value or children
initial | S | 0..* | BackboneElement | Valeur(s) initiale(s) ele-1: All FHIR elements must have a @value or children
extension |  | 0..* | Extension | Additional content defined by implementations ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
value[x] |  | 1..1 |  | Actual value for initializing the question Binding: ?? (example): Allowed values to answer questions. ele-1: All FHIR elements must have a @value or children
valueBoolean |  |  | boolean |
valueDecimal |  |  | decimal |
valueInteger |  |  | integer |
valueDate |  |  | date |
valueDateTime |  |  | dateTime |
valueTime |  |  | time |
valueString |  |  | string |
valueUri |  |  | uri |
valueAttachment |  |  | Attachment |
valueCoding |  |  | Coding |
valueQuantity |  |  | Quantity |
valueReference |  |  | Reference(Resource) |
item |  | 0..* |  | Nested questionnaire items
Documentation for this format