Cumuluz Translate Implementation Guide
0.1.0 - ci-build

Cumuluz Translate Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Logical Model: LogicalQuestionnaireAnswer - Detailed Descriptions

Draft as of 2026-10-29

Definitions for the logical-questionnaire-answer logical model.

See the documentation on how to interpret the contents of this table

0. logical-questionnaire-answer
Definition

One normalized answer occurrence from a version-specific QuestionnaireResponse item. Repeated item.answer values create separate logical answers with the same sourceLinkId; they must never overwrite a singleton value slot.


Base definition for all elements in a resource.

ShortLogical Model: Questionnaire AnswerBase for all elements
Control0..*
This element is affected by the following invariants: ele-1
Is Modifierfalse
Logical ModelInstances of this logical model are not marked to be the target of a Reference
Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
2. logical-questionnaire-answer.id
Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

ShortUnique id for inter-element referencing
Control0..1
Typestring
Is Modifierfalse
XML FormatIn the XML format, this property is represented as an attribute.
Summaryfalse
4. logical-questionnaire-answer.extension
Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

ShortAdditional content defined by implementations
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Control0..*
TypeExtension
Is Modifierfalse
Summaryfalse
Alternate Namesextensions, user content
Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
SlicingThis element introduces a set of slices on logical-questionnaire-answer.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
  • value @ url
  • 6. logical-questionnaire-answer.name
    Definition

    Questionnaire-definition-specific normalized answer name assigned by the source StructureMap.

    ShortQuestionnaire-definition-specific normalized answer name assigned by the source StructureMap.
    Control1..1
    Typestring
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    8. logical-questionnaire-answer.sourceLinkId
    Definition

    QuestionnaireResponse item linkId that supplied this answer.

    ShortQuestionnaireResponse item linkId that supplied this answer.
    Control0..1
    Typestring
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    10. logical-questionnaire-answer.stringValue
    Definition

    String-like answer value.

    ShortString-like answer value.
    Control0..1
    Typestring
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    12. logical-questionnaire-answer.booleanValue
    Definition

    Boolean answer value.

    ShortBoolean answer value.
    Control0..1
    Typeboolean
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    14. logical-questionnaire-answer.coding
    Definition

    Coded answer value.

    ShortCoded answer value.
    Control0..1
    TypeCoding
    16. logical-questionnaire-answer.detail
    Definition

    Named subordinate answers retained with their owning answer occurrence; legal role and relationship descriptions must not be joined across different occurrences.

    ShortNamed subordinate answers retained with their owning answer occurrence; legal role and relationship descriptions must not be joined across different occurrences.
    Control0..*
    Typehttps://translate-ig.cumuluz.dev/ig/StructureDefinition/logical-questionnaire-answer

    See the documentation on how to interpret the contents of this table

    0. logical-questionnaire-answer
    Definition

    One normalized answer occurrence from a version-specific QuestionnaireResponse item. Repeated item.answer values create separate logical answers with the same sourceLinkId; they must never overwrite a singleton value slot.

    ShortLogical Model: Questionnaire Answer
    Logical ModelInstances of this logical model are not marked to be the target of a Reference
    2. logical-questionnaire-answer.name
    Definition

    Questionnaire-definition-specific normalized answer name assigned by the source StructureMap.

    ShortQuestionnaire-definition-specific normalized answer name assigned by the source StructureMap.
    Control1..1
    Typestring
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    4. logical-questionnaire-answer.sourceLinkId
    Definition

    QuestionnaireResponse item linkId that supplied this answer.

    ShortQuestionnaireResponse item linkId that supplied this answer.
    Control0..1
    Typestring
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    6. logical-questionnaire-answer.stringValue
    Definition

    String-like answer value.

    ShortString-like answer value.
    Control0..1
    Typestring
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    8. logical-questionnaire-answer.booleanValue
    Definition

    Boolean answer value.

    ShortBoolean answer value.
    Control0..1
    Typeboolean
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    10. logical-questionnaire-answer.coding
    Definition

    Coded answer value.

    ShortCoded answer value.
    Control0..1
    TypeCoding
    12. logical-questionnaire-answer.detail
    Definition

    Named subordinate answers retained with their owning answer occurrence; legal role and relationship descriptions must not be joined across different occurrences.

    ShortNamed subordinate answers retained with their owning answer occurrence; legal role and relationship descriptions must not be joined across different occurrences.
    Control0..*
    Typehttps://translate-ig.cumuluz.dev/ig/StructureDefinition/logical-questionnaire-answer

    See the documentation on how to interpret the contents of this table

    0. logical-questionnaire-answer
    Definition

    One normalized answer occurrence from a version-specific QuestionnaireResponse item. Repeated item.answer values create separate logical answers with the same sourceLinkId; they must never overwrite a singleton value slot.

    ShortLogical Model: Questionnaire Answer
    Control0..*
    This element is affected by the following invariants: ele-1
    Is Modifierfalse
    Logical ModelInstances of this logical model are not marked to be the target of a Reference
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    2. logical-questionnaire-answer.id
    Definition

    Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

    ShortUnique id for inter-element referencing
    Control0..1
    Typestring
    Is Modifierfalse
    XML FormatIn the XML format, this property is represented as an attribute.
    Summaryfalse
    4. logical-questionnaire-answer.extension
    Definition

    May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

    ShortAdditional content defined by implementations
    Comments

    There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

    Control0..*
    TypeExtension
    Is Modifierfalse
    Summaryfalse
    Alternate Namesextensions, user content
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    SlicingThis element introduces a set of slices on logical-questionnaire-answer.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
    • value @ url
    • 6. logical-questionnaire-answer.name
      Definition

      Questionnaire-definition-specific normalized answer name assigned by the source StructureMap.

      ShortQuestionnaire-definition-specific normalized answer name assigned by the source StructureMap.
      Control1..1
      Typestring
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      8. logical-questionnaire-answer.sourceLinkId
      Definition

      QuestionnaireResponse item linkId that supplied this answer.

      ShortQuestionnaireResponse item linkId that supplied this answer.
      Control0..1
      Typestring
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      10. logical-questionnaire-answer.stringValue
      Definition

      String-like answer value.

      ShortString-like answer value.
      Control0..1
      Typestring
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      12. logical-questionnaire-answer.booleanValue
      Definition

      Boolean answer value.

      ShortBoolean answer value.
      Control0..1
      Typeboolean
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      14. logical-questionnaire-answer.coding
      Definition

      Coded answer value.

      ShortCoded answer value.
      Control0..1
      TypeCoding
      16. logical-questionnaire-answer.detail
      Definition

      Named subordinate answers retained with their owning answer occurrence; legal role and relationship descriptions must not be joined across different occurrences.

      ShortNamed subordinate answers retained with their owning answer occurrence; legal role and relationship descriptions must not be joined across different occurrences.
      Control0..*
      Typehttps://translate-ig.cumuluz.dev/ig/StructureDefinition/logical-questionnaire-answer