PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh-eforms@1.0.0-ballot4
    http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-questionnaire
description: Defines additional the Questionnaire requirements to align with used capabilities of the legacy Ontario form tool.
package_name: ca.on.oh-eforms
derivation: constraint
name: OntarioSDCQuestionnaire
type: Questionnaire
elements:
  description:
    index: 58
    extensions:
      short-string: {url: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/core-short-string', min: 0, max: 1, type: Extension, index: 60}
    elements:
      extension:
        index: 59
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            short-string:
              match: {url: null}
              schema: {type: Extension, url: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/core-short-string', index: 60}
              min: 0
              max: 1
  subjectType:
    pattern: {type: Code, value: Patient}
    index: 55
  date: {index: 56}
  publisher: {index: 57}
  approvalDate: {index: 76}
  item:
    constraint:
      onq-9: {human: All display items must have text or note details, source: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-questionnaire', severity: error, expression: 'type=''display'' implies text.exists() or extension(''http://ontariohealth.ca/fhir/eforms/StructureDefinition/display-note-info'').exists()'}
    index: 81
    extensions:
      renderStyle:
        url: http://hl7.org/fhir/StructureDefinition/rendering-style
        type: Extension
        index: 83
        elements:
          value:
            choices: []
            index: 85
      supportHyperlink:
        url: http://hl7.org/fhir/StructureDefinition/questionnaire-supportHyperlink
        type: Extension
        index: 86
        extensions:
          label: {url: null, index: 87}
          link: {url: null, index: 88}
        elements:
          extension:
            index: 87
            slicing:
              slices:
                label:
                  match: {}
                  schema: {index: 87}
                link:
                  match: {}
                  schema: {index: 88}
      enableWhenExpression:
        url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
        type: Extension
        index: 89
        elements:
          value:
            choices: []
            index: 91
        required: [value]
      hidden:
        url: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
        type: Extension
        index: 92
        elements:
          value:
            choices: []
            index: 94
      variable:
        url: http://hl7.org/fhir/StructureDefinition/variable
        type: Extension
        index: 95
        elements:
          value:
            choices: []
            index: 97
    elements:
      extension:
        index: 82
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            renderStyle:
              match: {url: null}
              schema:
                type: Extension
                url: http://hl7.org/fhir/StructureDefinition/rendering-style
                index: 83
                elements:
                  value:
                    choices: []
                    index: 85
            supportHyperlink:
              match: {url: null}
              schema:
                type: Extension
                url: http://hl7.org/fhir/StructureDefinition/questionnaire-supportHyperlink
                index: 86
                extensions:
                  label: {url: null, index: 87}
                  link: {url: null, index: 88}
                elements:
                  extension:
                    index: 87
                    slicing:
                      slices:
                        label:
                          match: {}
                          schema: {index: 87}
                        link:
                          match: {}
                          schema: {index: 88}
            enableWhenExpression:
              match: {url: null}
              schema:
                type: Extension
                url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
                index: 89
                elements:
                  value:
                    choices: []
                    index: 91
                required: [value]
            hidden:
              match: {url: null}
              schema:
                type: Extension
                url: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
                index: 92
                elements:
                  value:
                    choices: []
                    index: 94
            variable:
              match: {url: null}
              schema:
                type: Extension
                url: http://hl7.org/fhir/StructureDefinition/variable
                index: 95
                elements:
                  value:
                    choices: []
                    index: 97
      linkId: {index: 98}
      definition: {index: 99}
      text:
        index: 100
        extensions:
          renderStyle:
            url: http://hl7.org/fhir/StructureDefinition/rendering-style
            type: Extension
            index: 102
            elements:
              value:
                choices: []
                index: 104
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            index: 105
            extensions:
              lang:
                url: null
                index: 106
                elements:
                  value:
                    choices: []
                    index: 108
              content:
                url: null
                index: 109
                elements:
                  value:
                    choices: [valueString]
                    index: 111
                  valueString: {type: string, choiceOf: value, index: 112}
            elements:
              extension:
                index: 106
                slicing:
                  slices:
                    lang:
                      match: {}
                      schema:
                        index: 106
                        elements:
                          value:
                            choices: []
                            index: 108
                    content:
                      match: {}
                      schema:
                        index: 109
                        elements:
                          value:
                            choices: [valueString]
                            index: 111
                          valueString: {type: string, choiceOf: value, index: 112}
          xhtml:
            url: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
            type: Extension
            index: 113
            elements:
              value:
                choices: []
                index: 115
              value[x]:
                extensions:
                  translation:
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    type: Extension
                    index: 116
                    extensions:
                      lang: {url: null, index: 117}
                      content: {url: null, index: 118}
                    elements:
                      extension:
                        index: 117
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema: {index: 117}
                            content:
                              match: {}
                              schema: {index: 118}
                elements:
                  extension:
                    type: Extension
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 116
                    slicing:
                      slices:
                        translation:
                          match: {}
                          schema:
                            type: Extension
                            url: http://hl7.org/fhir/StructureDefinition/translation
                            index: 116
                            extensions:
                              lang: {url: null, index: 117}
                              content: {url: null, index: 118}
                            elements:
                              extension:
                                index: 117
                                slicing:
                                  slices:
                                    lang:
                                      match: {}
                                      schema: {index: 117}
                                    content:
                                      match: {}
                                      schema: {index: 118}
        elements:
          extension:
            index: 101
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: url, type: value}
              min: null
              slices:
                renderStyle:
                  match: {url: null}
                  schema:
                    type: Extension
                    url: http://hl7.org/fhir/StructureDefinition/rendering-style
                    index: 102
                    elements:
                      value:
                        choices: []
                        index: 104
                translation:
                  match: {url: null}
                  schema:
                    type: Extension
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 105
                    extensions:
                      lang:
                        url: null
                        index: 106
                        elements:
                          value:
                            choices: []
                            index: 108
                      content:
                        url: null
                        index: 109
                        elements:
                          value:
                            choices: [valueString]
                            index: 111
                          valueString: {type: string, choiceOf: value, index: 112}
                    elements:
                      extension:
                        index: 106
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema:
                                index: 106
                                elements:
                                  value:
                                    choices: []
                                    index: 108
                            content:
                              match: {}
                              schema:
                                index: 109
                                elements:
                                  value:
                                    choices: [valueString]
                                    index: 111
                                  valueString: {type: string, choiceOf: value, index: 112}
                xhtml:
                  match: {url: null}
                  schema:
                    type: Extension
                    url: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
                    index: 113
                    elements:
                      value:
                        choices: []
                        index: 115
                      value[x]:
                        extensions:
                          translation:
                            url: http://hl7.org/fhir/StructureDefinition/translation
                            type: Extension
                            index: 116
                            extensions:
                              lang: {url: null, index: 117}
                              content: {url: null, index: 118}
                            elements:
                              extension:
                                index: 117
                                slicing:
                                  slices:
                                    lang:
                                      match: {}
                                      schema: {index: 117}
                                    content:
                                      match: {}
                                      schema: {index: 118}
                        elements:
                          extension:
                            type: Extension
                            url: http://hl7.org/fhir/StructureDefinition/translation
                            index: 116
                            slicing:
                              slices:
                                translation:
                                  match: {}
                                  schema:
                                    type: Extension
                                    url: http://hl7.org/fhir/StructureDefinition/translation
                                    index: 116
                                    extensions:
                                      lang: {url: null, index: 117}
                                      content: {url: null, index: 118}
                                    elements:
                                      extension:
                                        index: 117
                                        slicing:
                                          slices:
                                            lang:
                                              match: {}
                                              schema: {index: 117}
                                            content:
                                              match: {}
                                              schema: {index: 118}
      enableWhen:
        index: 119
        elements:
          answerDecimal: {type: decimal, choiceOf: answer, index: 125}
          answerDate: {type: date, choiceOf: answer, index: 127}
          answerInteger: {type: integer, choiceOf: answer, index: 126}
          question: {index: 120}
          answerDateTime: {type: dateTime, choiceOf: answer, index: 128}
          answer:
            choices: [answerBoolean, answerDecimal, answerInteger, answerDate, answerDateTime, answerTime, answerString, answerCoding]
            index: 123
          answerString: {type: string, choiceOf: answer, index: 130}
          operator: {index: 121}
          answerBoolean: {type: boolean, choiceOf: answer, index: 124}
          answerCoding: {type: Coding, choiceOf: answer, index: 131}
          answerTime: {type: time, choiceOf: answer, index: 129}
    slicing:
      rules: closed
      discriminator:
      - {path: type, type: value}
      min: null
      slices:
        group:
          match: {type: group}
          schema:
            array: true
            index: 132
            extensions:
              definitionExtractValue:
                url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue
                type: Extension
                index: 154
                extensions:
                  definition:
                    url: null
                    index: 155
                    elements:
                      value:
                        choices: []
                        index: 157
                  expression:
                    url: null
                    index: 158
                    elements:
                      value:
                        choices: []
                        index: 160
                  fixed-value: {url: null, index: 161}
                elements:
                  extension:
                    index: 155
                    slicing:
                      slices:
                        definition:
                          match: {}
                          schema:
                            index: 155
                            elements:
                              value:
                                choices: []
                                index: 157
                        expression:
                          match: {}
                          schema:
                            index: 158
                            elements:
                              value:
                                choices: []
                                index: 160
                        fixed-value:
                          match: {}
                          schema: {index: 161}
              definitionExtract:
                url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract
                type: Extension
                index: 147
                extensions:
                  definition:
                    url: null
                    index: 148
                    elements:
                      value:
                        choices: []
                        index: 150
                  fullUrl:
                    url: null
                    index: 151
                    elements:
                      value:
                        choices: []
                        index: 153
                elements:
                  extension:
                    index: 148
                    slicing:
                      slices:
                        definition:
                          match: {}
                          schema:
                            index: 148
                            elements:
                              value:
                                choices: []
                                index: 150
                        fullUrl:
                          match: {}
                          schema:
                            index: 151
                            elements:
                              value:
                                choices: []
                                index: 153
              targetConstraint:
                url: http://hl7.org/fhir/StructureDefinition/targetConstraint
                type: Extension
                index: 140
                extensions:
                  key: {url: null, index: 141}
                  severity:
                    url: null
                    index: 142
                    elements:
                      value:
                        pattern: {type: Code, value: error}
                        choices: []
                        index: 144
                  expression: {url: null, index: 145}
                  human: {url: null, index: 146}
                elements:
                  extension:
                    index: 141
                    slicing:
                      slices:
                        key:
                          match: {}
                          schema: {index: 141}
                        severity:
                          match: {}
                          schema:
                            index: 142
                            elements:
                              value:
                                pattern: {type: Code, value: error}
                                choices: []
                                index: 144
                        expression:
                          match: {}
                          schema: {index: 145}
                        human:
                          match: {}
                          schema: {index: 146}
              collapsible:
                url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-collapsible
                type: Extension
                index: 134
                elements:
                  value:
                    choices: []
                    index: 136
                required: [value]
              itemControl:
                url: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
                type: Extension
                index: 137
                elements:
                  value:
                    choices: []
                    index: 139
              itemPopulationContext:
                url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext
                type: Extension
                index: 165
                elements:
                  value:
                    choices: []
                    index: 167
              extractAllocateId:
                url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extractAllocateId
                type: Extension
                index: 162
                elements:
                  value:
                    choices: []
                    index: 164
              noteInfo: {url: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/group-note-info', min: 0, max: 1, type: Extension, index: 168}
              preferredTerminologyServer: {url: 'http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer', min: 0, type: Extension, index: 133}
            elements:
              extension:
                type: Extension
                url: http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer
                index: 133
                slicing:
                  slices:
                    definitionExtractValue:
                      match: {}
                      schema:
                        type: Extension
                        url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue
                        index: 154
                        extensions:
                          definition:
                            url: null
                            index: 155
                            elements:
                              value:
                                choices: []
                                index: 157
                          expression:
                            url: null
                            index: 158
                            elements:
                              value:
                                choices: []
                                index: 160
                          fixed-value: {url: null, index: 161}
                        elements:
                          extension:
                            index: 155
                            slicing:
                              slices:
                                definition:
                                  match: {}
                                  schema:
                                    index: 155
                                    elements:
                                      value:
                                        choices: []
                                        index: 157
                                expression:
                                  match: {}
                                  schema:
                                    index: 158
                                    elements:
                                      value:
                                        choices: []
                                        index: 160
                                fixed-value:
                                  match: {}
                                  schema: {index: 161}
                    definitionExtract:
                      match: {}
                      schema:
                        type: Extension
                        url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract
                        index: 147
                        extensions:
                          definition:
                            url: null
                            index: 148
                            elements:
                              value:
                                choices: []
                                index: 150
                          fullUrl:
                            url: null
                            index: 151
                            elements:
                              value:
                                choices: []
                                index: 153
                        elements:
                          extension:
                            index: 148
                            slicing:
                              slices:
                                definition:
                                  match: {}
                                  schema:
                                    index: 148
                                    elements:
                                      value:
                                        choices: []
                                        index: 150
                                fullUrl:
                                  match: {}
                                  schema:
                                    index: 151
                                    elements:
                                      value:
                                        choices: []
                                        index: 153
                    targetConstraint:
                      match: {}
                      schema:
                        type: Extension
                        url: http://hl7.org/fhir/StructureDefinition/targetConstraint
                        index: 140
                        extensions:
                          key: {url: null, index: 141}
                          severity:
                            url: null
                            index: 142
                            elements:
                              value:
                                pattern: {type: Code, value: error}
                                choices: []
                                index: 144
                          expression: {url: null, index: 145}
                          human: {url: null, index: 146}
                        elements:
                          extension:
                            index: 141
                            slicing:
                              slices:
                                key:
                                  match: {}
                                  schema: {index: 141}
                                severity:
                                  match: {}
                                  schema:
                                    index: 142
                                    elements:
                                      value:
                                        pattern: {type: Code, value: error}
                                        choices: []
                                        index: 144
                                expression:
                                  match: {}
                                  schema: {index: 145}
                                human:
                                  match: {}
                                  schema: {index: 146}
                    collapsible:
                      match: {}
                      schema:
                        type: Extension
                        url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-collapsible
                        index: 134
                        elements:
                          value:
                            choices: []
                            index: 136
                        required: [value]
                    itemControl:
                      match: {}
                      schema:
                        type: Extension
                        url: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
                        index: 137
                        elements:
                          value:
                            choices: []
                            index: 139
                    itemPopulationContext:
                      match: {}
                      schema:
                        type: Extension
                        url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext
                        index: 165
                        elements:
                          value:
                            choices: []
                            index: 167
                    extractAllocateId:
                      match: {}
                      schema:
                        type: Extension
                        url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extractAllocateId
                        index: 162
                        elements:
                          value:
                            choices: []
                            index: 164
                    noteInfo:
                      match: {}
                      schema: {type: Extension, url: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/group-note-info', index: 168}
                      min: 0
                      max: 1
                    preferredTerminologyServer:
                      match: {}
                      schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer', index: 133}
                      min: 0
              type:
                pattern: {type: Code, value: group}
                index: 169
              required: {index: 170}
              repeats: {index: 171}
              item: {index: 172}
        display:
          match: {type: display}
          schema:
            array: true
            index: 173
            extensions:
              noteInfo: {url: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/display-note-info', min: 0, max: 1, type: Extension, index: 174}
            elements:
              extension:
                type: Extension
                url: http://ontariohealth.ca/fhir/eforms/StructureDefinition/display-note-info
                index: 174
                slicing:
                  slices:
                    noteInfo:
                      match: {}
                      schema: {type: Extension, url: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/display-note-info', index: 174}
                      min: 0
                      max: 1
              text:
                index: 175
                extensions:
                  expression:
                    url: http://hl7.org/fhir/StructureDefinition/cqf-expression
                    type: Extension
                    index: 176
                    elements:
                      value:
                        choices: []
                        index: 178
                      value[x]:
                        elements:
                          language:
                            pattern: {type: Code, value: text/fhirpath}
                            index: 179
                          expression: {index: 180}
                        required: [expression]
                elements:
                  extension:
                    type: Extension
                    url: http://hl7.org/fhir/StructureDefinition/cqf-expression
                    index: 176
                    slicing:
                      slices:
                        expression:
                          match: {}
                          schema:
                            type: Extension
                            url: http://hl7.org/fhir/StructureDefinition/cqf-expression
                            index: 176
                            elements:
                              value:
                                choices: []
                                index: 178
                              value[x]:
                                elements:
                                  language:
                                    pattern: {type: Code, value: text/fhirpath}
                                    index: 179
                                  expression: {index: 180}
                                required: [expression]
              type:
                pattern: {type: Code, value: display}
                index: 181
        question:
          match: {type: null}
          schema:
            constraint:
              onq-1: {human: minLength and maxLength are only allowed when type is string or text, source: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-questionnaire', severity: error, expression: 'extension(''http://hl7.org/fhir/StructureDefinition/minLength'').exists() or maxLength.exists() implies type=''string'' or type=''text'''}
              onq-2: {human: maxSize and mimeType are only permitted when type is 'attachment', source: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-questionnaire', severity: error, expression: 'extension(''http://hl7.org/fhir/StructureDefinition/maxSize'').exists() or extension(''http://hl7.org/fhir/StructureDefinition/maxSize'').exists() implies type=''attachment'''}
              onq-3: {human: maxSize and mimeType SHOULD both be declared when type is 'attachment', source: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-questionnaire', severity: warning, expression: 'type=''attachment'' implies extension(''http://hl7.org/fhir/StructureDefinition/maxSize'').exists() and extension(''http://hl7.org/fhir/StructureDefinition/maxSize'').exists()'}
              onq-4: {human: 'minValue and maxValue are only permitted when type is date, dateTime, decimal, integer, or time', source: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-questionnaire', severity: error, expression: 'extension(''http://hl7.org/fhir/StructureDefinition/minValue'').exists() or extension(''http://hl7.org/fhir/StructureDefinition/maxValue'').exists() implies type=''date'' or type=''dateTime'' or type=''decimal'' or type=''integer'' or type=''time'''}
              onq-5: {human: 'minValue and maxValue SHOULD be specified when type is date, dateTime, decimal, or integer', source: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-questionnaire', severity: warning, expression: 'type=''date'' or type=''dateTime'' or type=''decimal'' or type=''integer'' or type=''time'' implies extension(''http://hl7.org/fhir/StructureDefinition/minValue'').exists() and extension(''http://hl7.org/fhir/StructureDefinition/maxValue'').exists()'}
              onq-6: {human: choice orientation and item control are only permitted when there are options or a value set, source: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-questionnaire', severity: error, expression: '(extension(''http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation'').exists() or extension(''http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl'').exists()) implies (answerOption.exists() or answerValueSet.exists())'}
              onq-7: {human: minOccurs and maxOccurs are only permitted when repeats=true, source: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-questionnaire', severity: error, expression: '(extension(''http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs'').exists() or extension(''http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs'').exists()) implies repeats'}
              onq-8: {human: negativeStyle and negativeText question note extensions are only permitted for boolean questions, source: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-questionnaire', severity: error, expression: 'type!=''boolean'' implies extension(''http://ontariohealth.ca/fhir/eforms/StructureDefinition/question-note-info'').exists(extension(''negativeStyle'') or extension(''negativeText'')).not()'}
            array: true
            index: 182
            extensions:
              definitionExtractValue:
                url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue
                type: Extension
                index: 244
                extensions:
                  definition:
                    url: null
                    index: 245
                    elements:
                      value:
                        choices: []
                        index: 247
                  expression:
                    url: null
                    index: 248
                    elements:
                      value:
                        choices: []
                        index: 250
                  fixed-value: {url: null, index: 251}
                elements:
                  extension:
                    index: 245
                    slicing:
                      slices:
                        definition:
                          match: {}
                          schema:
                            index: 245
                            elements:
                              value:
                                choices: []
                                index: 247
                        expression:
                          match: {}
                          schema:
                            index: 248
                            elements:
                              value:
                                choices: []
                                index: 250
                        fixed-value:
                          match: {}
                          schema: {index: 251}
              definitionExtract:
                url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract
                type: Extension
                index: 237
                extensions:
                  definition:
                    url: null
                    index: 238
                    elements:
                      value:
                        choices: []
                        index: 240
                  fullUrl:
                    url: null
                    index: 241
                    elements:
                      value:
                        choices: []
                        index: 243
                elements:
                  extension:
                    index: 238
                    slicing:
                      slices:
                        definition:
                          match: {}
                          schema:
                            index: 238
                            elements:
                              value:
                                choices: []
                                index: 240
                        fullUrl:
                          match: {}
                          schema:
                            index: 241
                            elements:
                              value:
                                choices: []
                                index: 243
              answerOptionsToggle:
                url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression
                type: Extension
                index: 183
                extensions:
                  option:
                    url: null
                    index: 184
                    elements:
                      value:
                        choices: []
                        index: 186
                  expression: {url: null, index: 187}
                elements:
                  extension:
                    index: 184
                    slicing:
                      slices:
                        option:
                          match: {}
                          schema:
                            index: 184
                            elements:
                              value:
                                choices: []
                                index: 186
                        expression:
                          match: {}
                          schema: {index: 187}
              maxValue:
                url: http://hl7.org/fhir/StructureDefinition/maxValue
                type: Extension
                index: 197
                elements:
                  value:
                    choices: [valueDate, valueDateTime, valueTime, valueDecimal, valueInteger]
                    index: 199
                  valueDate: {type: date, choiceOf: value, index: 200}
                  valueDateTime: {type: dateTime, choiceOf: value, index: 201}
                  valueTime: {type: time, choiceOf: value, index: 202}
                  valueDecimal: {type: decimal, choiceOf: value, index: 203}
                  valueInteger: {type: integer, choiceOf: value, index: 204}
              targetConstraint:
                url: http://hl7.org/fhir/StructureDefinition/targetConstraint
                type: Extension
                index: 220
                extensions:
                  key: {url: null, index: 221}
                  severity:
                    url: null
                    index: 222
                    elements:
                      value:
                        pattern: {type: Code, value: error}
                        choices: []
                        index: 224
                  expression: {url: null, index: 225}
                  human: {url: null, index: 226}
                elements:
                  extension:
                    index: 221
                    slicing:
                      slices:
                        key:
                          match: {}
                          schema: {index: 221}
                        severity:
                          match: {}
                          schema:
                            index: 222
                            elements:
                              value:
                                pattern: {type: Code, value: error}
                                choices: []
                                index: 224
                        expression:
                          match: {}
                          schema: {index: 225}
                        human:
                          match: {}
                          schema: {index: 226}
              maxOccurs:
                url: http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs
                type: Extension
                index: 217
                elements:
                  value:
                    choices: []
                    index: 219
              itemControl:
                url: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
                type: Extension
                index: 208
                elements:
                  value:
                    choices: []
                    index: 210
              initialExpression:
                url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
                type: Extension
                index: 232
                elements:
                  value:
                    choices: []
                    index: 234
                  value[x]:
                    elements:
                      language:
                        pattern: {type: Code, value: text/fhirpath}
                        index: 235
                      expression: {index: 236}
                    required: [expression]
              choiceOrientation:
                url: http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation
                type: Extension
                index: 205
                elements:
                  value:
                    choices: []
                    index: 207
              itemPopulationContext:
                url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext
                type: Extension
                index: 255
                elements:
                  value:
                    choices: []
                    index: 257
              minValue: {url: 'http://hl7.org/fhir/StructureDefinition/minValue', min: 0, max: 1, type: Extension, index: 196}
              minLength: {url: 'http://hl7.org/fhir/StructureDefinition/minLength', min: 0, max: 1, type: Extension, index: 191}
              extractAllocateId:
                url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extractAllocateId
                type: Extension
                index: 252
                elements:
                  value:
                    choices: []
                    index: 254
              choiceDiagram:
                url: http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-choice-diagram
                type: Extension
                index: 211
                elements:
                  value:
                    choices: []
                    index: 213
              noteInfo: {url: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/question-note-info', min: 0, max: 1, type: Extension, index: 258}
              minOccurs:
                url: http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs
                type: Extension
                index: 214
                elements:
                  value:
                    choices: []
                    index: 216
              mimeType:
                url: http://hl7.org/fhir/StructureDefinition/mimeType
                type: Extension
                index: 193
                elements:
                  value:
                    choices: []
                    index: 195
              calculatedExpression:
                url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression
                type: Extension
                index: 227
                elements:
                  value:
                    choices: []
                    index: 229
                  value[x]:
                    elements:
                      language:
                        pattern: {type: Code, value: text/fhirpath}
                        index: 230
                      expression: {index: 231}
                    required: [expression]
              maxSize: {url: 'http://hl7.org/fhir/StructureDefinition/maxSize', min: 0, max: 1, type: Extension, index: 192}
              preferredTerminologyServer:
                url: http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer
                type: Extension
                index: 188
                elements:
                  value:
                    choices: []
                    index: 190
            elements:
              definition: {index: 259}
              repeats: {index: 262}
              type:
                binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/eforms/ValueSet/question-item-type'}
                index: 260
              answerOption:
                index: 266
                extensions:
                  noteInfo:
                    url: http://ontariohealth.ca/fhir/eforms/StructureDefinition/option-note-info
                    type: Extension
                    index: 268
                    extensions:
                      text:
                        url: null
                        index: 269
                        elements:
                          value:
                            choices: []
                            index: 271
                      style:
                        url: null
                        index: 272
                        elements:
                          value:
                            choices: []
                            index: 274
                    elements:
                      extension:
                        index: 269
                        slicing:
                          slices:
                            text:
                              match: {}
                              schema:
                                index: 269
                                elements:
                                  value:
                                    choices: []
                                    index: 271
                            style:
                              match: {}
                              schema:
                                index: 272
                                elements:
                                  value:
                                    choices: []
                                    index: 274
                elements:
                  extension:
                    index: 267
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        noteInfo:
                          match: {url: null}
                          schema:
                            type: Extension
                            url: http://ontariohealth.ca/fhir/eforms/StructureDefinition/option-note-info
                            index: 268
                            extensions:
                              text:
                                url: null
                                index: 269
                                elements:
                                  value:
                                    choices: []
                                    index: 271
                              style:
                                url: null
                                index: 272
                                elements:
                                  value:
                                    choices: []
                                    index: 274
                            elements:
                              extension:
                                index: 269
                                slicing:
                                  slices:
                                    text:
                                      match: {}
                                      schema:
                                        index: 269
                                        elements:
                                          value:
                                            choices: []
                                            index: 271
                                    style:
                                      match: {}
                                      schema:
                                        index: 272
                                        elements:
                                          value:
                                            choices: []
                                            index: 274
                  value:
                    extensions: {}
                    elements:
                      extension:
                        elements:
                          value:
                            choices: []
                            index: 287
                  valueInteger: {type: integer, choiceOf: value, index: 277}
                  valueDate: {type: date, choiceOf: value, index: 278}
                  valueTime: {type: time, choiceOf: value, index: 279}
                  valueString: {type: string, choiceOf: value, index: 280}
                  valueCoding:
                    type: Coding
                    choiceOf: value
                    index: 284
                    slicing:
                      slices:
                        valueCoding:
                          match: {}
                          schema: {type: Coding, choiceOf: value, index: 284}
                          min: 0
                          max: 1
                  value[x]:
                    elements:
                      system: {index: 288}
                      code: {index: 289}
                      display: {index: 290}
                    required: [display, system, code]
              extension:
                type: Extension
                url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression
                index: 183
                slicing:
                  slices:
                    definitionExtractValue:
                      match: {}
                      schema:
                        type: Extension
                        url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue
                        index: 244
                        extensions:
                          definition:
                            url: null
                            index: 245
                            elements:
                              value:
                                choices: []
                                index: 247
                          expression:
                            url: null
                            index: 248
                            elements:
                              value:
                                choices: []
                                index: 250
                          fixed-value: {url: null, index: 251}
                        elements:
                          extension:
                            index: 245
                            slicing:
                              slices:
                                definition:
                                  match: {}
                                  schema:
                                    index: 245
                                    elements:
                                      value:
                                        choices: []
                                        index: 247
                                expression:
                                  match: {}
                                  schema:
                                    index: 248
                                    elements:
                                      value:
                                        choices: []
                                        index: 250
                                fixed-value:
                                  match: {}
                                  schema: {index: 251}
                    definitionExtract:
                      match: {}
                      schema:
                        type: Extension
                        url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract
                        index: 237
                        extensions:
                          definition:
                            url: null
                            index: 238
                            elements:
                              value:
                                choices: []
                                index: 240
                          fullUrl:
                            url: null
                            index: 241
                            elements:
                              value:
                                choices: []
                                index: 243
                        elements:
                          extension:
                            index: 238
                            slicing:
                              slices:
                                definition:
                                  match: {}
                                  schema:
                                    index: 238
                                    elements:
                                      value:
                                        choices: []
                                        index: 240
                                fullUrl:
                                  match: {}
                                  schema:
                                    index: 241
                                    elements:
                                      value:
                                        choices: []
                                        index: 243
                    answerOptionsToggle:
                      match: {}
                      schema:
                        type: Extension
                        url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression
                        index: 183
                        extensions:
                          option:
                            url: null
                            index: 184
                            elements:
                              value:
                                choices: []
                                index: 186
                          expression: {url: null, index: 187}
                        elements:
                          extension:
                            index: 184
                            slicing:
                              slices:
                                option:
                                  match: {}
                                  schema:
                                    index: 184
                                    elements:
                                      value:
                                        choices: []
                                        index: 186
                                expression:
                                  match: {}
                                  schema: {index: 187}
                    maxValue:
                      match: {}
                      schema:
                        type: Extension
                        url: http://hl7.org/fhir/StructureDefinition/maxValue
                        index: 197
                        elements:
                          value:
                            choices: [valueDate, valueDateTime, valueTime, valueDecimal, valueInteger]
                            index: 199
                          valueDate: {type: date, choiceOf: value, index: 200}
                          valueDateTime: {type: dateTime, choiceOf: value, index: 201}
                          valueTime: {type: time, choiceOf: value, index: 202}
                          valueDecimal: {type: decimal, choiceOf: value, index: 203}
                          valueInteger: {type: integer, choiceOf: value, index: 204}
                    targetConstraint:
                      match: {}
                      schema:
                        type: Extension
                        url: http://hl7.org/fhir/StructureDefinition/targetConstraint
                        index: 220
                        extensions:
                          key: {url: null, index: 221}
                          severity:
                            url: null
                            index: 222
                            elements:
                              value:
                                pattern: {type: Code, value: error}
                                choices: []
                                index: 224
                          expression: {url: null, index: 225}
                          human: {url: null, index: 226}
                        elements:
                          extension:
                            index: 221
                            slicing:
                              slices:
                                key:
                                  match: {}
                                  schema: {index: 221}
                                severity:
                                  match: {}
                                  schema:
                                    index: 222
                                    elements:
                                      value:
                                        pattern: {type: Code, value: error}
                                        choices: []
                                        index: 224
                                expression:
                                  match: {}
                                  schema: {index: 225}
                                human:
                                  match: {}
                                  schema: {index: 226}
                    maxOccurs:
                      match: {}
                      schema:
                        type: Extension
                        url: http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs
                        index: 217
                        elements:
                          value:
                            choices: []
                            index: 219
                    itemControl:
                      match: {}
                      schema:
                        type: Extension
                        url: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
                        index: 208
                        elements:
                          value:
                            choices: []
                            index: 210
                    initialExpression:
                      match: {}
                      schema:
                        type: Extension
                        url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
                        index: 232
                        elements:
                          value:
                            choices: []
                            index: 234
                          value[x]:
                            elements:
                              language:
                                pattern: {type: Code, value: text/fhirpath}
                                index: 235
                              expression: {index: 236}
                            required: [expression]
                    choiceOrientation:
                      match: {}
                      schema:
                        type: Extension
                        url: http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation
                        index: 205
                        elements:
                          value:
                            choices: []
                            index: 207
                    itemPopulationContext:
                      match: {}
                      schema:
                        type: Extension
                        url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext
                        index: 255
                        elements:
                          value:
                            choices: []
                            index: 257
                    minValue:
                      match: {}
                      schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/minValue', index: 196}
                      min: 0
                      max: 1
                    minLength:
                      match: {}
                      schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/minLength', index: 191}
                      min: 0
                      max: 1
                    extractAllocateId:
                      match: {}
                      schema:
                        type: Extension
                        url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extractAllocateId
                        index: 252
                        elements:
                          value:
                            choices: []
                            index: 254
                    choiceDiagram:
                      match: {}
                      schema:
                        type: Extension
                        url: http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-choice-diagram
                        index: 211
                        elements:
                          value:
                            choices: []
                            index: 213
                    noteInfo:
                      match: {}
                      schema: {type: Extension, url: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/question-note-info', index: 258}
                      min: 0
                      max: 1
                    minOccurs:
                      match: {}
                      schema:
                        type: Extension
                        url: http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs
                        index: 214
                        elements:
                          value:
                            choices: []
                            index: 216
                    mimeType:
                      match: {}
                      schema:
                        type: Extension
                        url: http://hl7.org/fhir/StructureDefinition/mimeType
                        index: 193
                        elements:
                          value:
                            choices: []
                            index: 195
                    calculatedExpression:
                      match: {}
                      schema:
                        type: Extension
                        url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression
                        index: 227
                        elements:
                          value:
                            choices: []
                            index: 229
                          value[x]:
                            elements:
                              language:
                                pattern: {type: Code, value: text/fhirpath}
                                index: 230
                              expression: {index: 231}
                            required: [expression]
                    maxSize:
                      match: {}
                      schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/maxSize', index: 192}
                      min: 0
                      max: 1
                    preferredTerminologyServer:
                      match: {}
                      schema:
                        type: Extension
                        url: http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer
                        index: 188
                        elements:
                          value:
                            choices: []
                            index: 190
              readOnly: {index: 263}
              answerValueSet: {index: 265}
              initial:
                index: 291
                elements:
                  valueUri: {type: uri, choiceOf: value, index: 301}
                  valueTime: {type: time, choiceOf: value, index: 299}
                  valueDecimal: {type: decimal, choiceOf: value, index: 295}
                  value:
                    choices: [valueBoolean, valueDecimal, valueInteger, valueDate, valueDateTime, valueTime, valueString, valueUri, valueCoding]
                    index: 293
                  valueString: {type: string, choiceOf: value, index: 300}
                  valueBoolean: {type: boolean, choiceOf: value, index: 294}
                  valueDateTime: {type: dateTime, choiceOf: value, index: 298}
                  valueDate: {type: date, choiceOf: value, index: 297}
                  valueCoding: {type: Coding, choiceOf: value, index: 302}
                  valueInteger: {type: integer, choiceOf: value, index: 296}
              maxLength: {index: 264}
              required: {index: 261}
  useContext:
    index: 61
    slicing:
      rules: closed
      discriminator:
      - {path: code, type: value}
      min: null
      slices:
        focus:
          match:
            code: {code: focus, system: 'http://terminology.hl7.org/CodeSystem/usage-context-type'}
          schema:
            array: true
            index: 62
            elements:
              code:
                pattern:
                  type: Coding
                  value: {code: focus, system: 'http://terminology.hl7.org/CodeSystem/usage-context-type'}
                index: 63
              value:
                choices: [valueCodeableConcept]
                index: 65
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 66}
              value[x]:
                elements:
                  coding:
                    elements:
                      code: {index: 67}
                  text: {index: 68}
        topic:
          match:
            code: {code: topic, system: 'http://terminology.hl7.org/CodeSystem/usage-context-type'}
          schema:
            array: true
            index: 69
            elements:
              code:
                pattern:
                  type: Coding
                  value: {code: topic, system: 'http://terminology.hl7.org/CodeSystem/usage-context-type'}
                index: 70
              value:
                choices: [valueCodeableConcept]
                index: 72
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 73}
              value[x]:
                elements:
                  text: {index: 74}
  copyright: {index: 75}
  experimental: {index: 54}
  title:
    index: 50
    extensions:
      short-string: {url: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/core-short-string', min: 0, max: 1, type: Extension, index: 52}
    elements:
      extension:
        index: 51
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            short-string:
              match: {url: null}
              schema: {type: Extension, url: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/core-short-string', index: 52}
              min: 0
              max: 1
  extension:
    array: true
    min: 2
    index: 1
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 2
      slices:
        definitionExtractValue:
          match: {url: null}
          schema:
            type: Extension
            url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue
            index: 31
            extensions:
              definition:
                url: null
                index: 32
                elements:
                  value:
                    choices: []
                    index: 34
              expression:
                url: null
                index: 35
                elements:
                  value:
                    choices: []
                    index: 37
                  value[x]:
                    elements:
                      language:
                        pattern: {type: Code, value: text/fhirpath}
                        index: 38
                      expression: {index: 39}
                    required: [expression]
              fixed-value: {url: null, index: 40}
            elements:
              extension:
                index: 32
                slicing:
                  slices:
                    definition:
                      match: {}
                      schema:
                        index: 32
                        elements:
                          value:
                            choices: []
                            index: 34
                    expression:
                      match: {}
                      schema:
                        index: 35
                        elements:
                          value:
                            choices: []
                            index: 37
                          value[x]:
                            elements:
                              language:
                                pattern: {type: Code, value: text/fhirpath}
                                index: 38
                              expression: {index: 39}
                            required: [expression]
                    fixed-value:
                      match: {}
                      schema: {index: 40}
        definitionExtract:
          match: {url: null}
          schema:
            type: Extension
            url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract
            index: 24
            extensions:
              definition:
                url: null
                index: 25
                elements:
                  value:
                    choices: []
                    index: 27
              fullUrl:
                url: null
                index: 28
                elements:
                  value:
                    choices: []
                    index: 30
            elements:
              extension:
                index: 25
                slicing:
                  slices:
                    definition:
                      match: {}
                      schema:
                        index: 25
                        elements:
                          value:
                            choices: []
                            index: 27
                    fullUrl:
                      match: {}
                      schema:
                        index: 28
                        elements:
                          value:
                            choices: []
                            index: 30
        variable:
          match: {url: null}
          schema:
            type: Extension
            url: http://hl7.org/fhir/StructureDefinition/variable
            index: 19
            elements:
              value:
                choices: []
                index: 21
              value[x]:
                elements:
                  language: {index: 22}
                  expression: {index: 23}
                required: [expression]
        launchContext:
          match: {url: null}
          schema:
            type: Extension
            url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext
            index: 12
            extensions:
              name:
                url: null
                index: 13
                elements:
                  value:
                    choices: []
                    index: 15
              type:
                url: null
                index: 16
                elements:
                  value:
                    choices: []
                    index: 18
            elements:
              extension:
                index: 13
                slicing:
                  slices:
                    name:
                      match: {}
                      schema:
                        index: 13
                        elements:
                          value:
                            choices: []
                            index: 15
                    type:
                      match: {}
                      schema:
                        index: 16
                        elements:
                          value:
                            choices: []
                            index: 18
        versionAlgorithm:
          match: {url: null}
          schema:
            type: Extension
            url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm
            index: 2
            elements:
              value:
                choices: []
                index: 4
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this, type: type}
                  min: null
                  slices:
                    valueCoding:
                      match: {}
                      schema:
                        pattern:
                          type: Coding
                          value: {code: semver, system: 'http://hl7.org/fhir/version-algorithm'}
                        choices: [valueCoding]
                        index: 6
                      min: 0
                      max: 1
              valueCoding:
                type: Coding
                pattern:
                  type: Coding
                  value: {code: semver, system: 'http://hl7.org/fhir/version-algorithm'}
                choiceOf: value
                index: 7
                slicing:
                  slices:
                    valueCoding:
                      match: {}
                      schema:
                        type: Coding
                        pattern:
                          type: Coding
                          value: {code: semver, system: 'http://hl7.org/fhir/version-algorithm'}
                        choiceOf: value
                        index: 7
                      min: 0
                      max: 1
        entryMode:
          match: {url: null}
          schema:
            type: Extension
            url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-entryMode
            index: 8
            elements:
              value:
                pattern: {type: Code, value: random}
                choices: []
                index: 10
        assembledFrom:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom', index: 11}
          min: 0
          max: 1
        extractAllocateId:
          match: {url: null}
          schema:
            type: Extension
            url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extractAllocateId
            index: 41
            elements:
              value:
                choices: []
                index: 43
        responseRenderingLiquid:
          match: {url: null}
          schema:
            type: Extension
            url: http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-responseRenderingLiquid
            index: 44
            elements:
              value:
                choices: []
                index: 46
              value[x]:
                elements:
                  reference: {index: 47}
                required: [reference]
            required: [value]
  contained: {index: 0}
  status:
    pattern: {type: Code, value: active}
    index: 53
  url: {index: 48}
  code: {index: 80}
  version: {index: 49}
  effectivePeriod:
    index: 77
    elements:
      start: {short: When to start using form, index: 78}
      end: {short: When to stop using form, index: 79}
package_version: 1.0.0-ballot4
extensions:
  definitionExtractValue:
    url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue
    type: Extension
    index: 31
    extensions:
      definition:
        url: null
        index: 32
        elements:
          value:
            choices: []
            index: 34
      expression:
        url: null
        index: 35
        elements:
          value:
            choices: []
            index: 37
          value[x]:
            elements:
              language:
                pattern: {type: Code, value: text/fhirpath}
                index: 38
              expression: {index: 39}
            required: [expression]
      fixed-value: {url: null, index: 40}
    elements:
      extension:
        index: 32
        slicing:
          slices:
            definition:
              match: {}
              schema:
                index: 32
                elements:
                  value:
                    choices: []
                    index: 34
            expression:
              match: {}
              schema:
                index: 35
                elements:
                  value:
                    choices: []
                    index: 37
                  value[x]:
                    elements:
                      language:
                        pattern: {type: Code, value: text/fhirpath}
                        index: 38
                      expression: {index: 39}
                    required: [expression]
            fixed-value:
              match: {}
              schema: {index: 40}
  definitionExtract:
    url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract
    type: Extension
    index: 24
    extensions:
      definition:
        url: null
        index: 25
        elements:
          value:
            choices: []
            index: 27
      fullUrl:
        url: null
        index: 28
        elements:
          value:
            choices: []
            index: 30
    elements:
      extension:
        index: 25
        slicing:
          slices:
            definition:
              match: {}
              schema:
                index: 25
                elements:
                  value:
                    choices: []
                    index: 27
            fullUrl:
              match: {}
              schema:
                index: 28
                elements:
                  value:
                    choices: []
                    index: 30
  variable:
    url: http://hl7.org/fhir/StructureDefinition/variable
    type: Extension
    index: 19
    elements:
      value:
        choices: []
        index: 21
      value[x]:
        elements:
          language: {index: 22}
          expression: {index: 23}
        required: [expression]
  launchContext:
    url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext
    type: Extension
    index: 12
    extensions:
      name:
        url: null
        index: 13
        elements:
          value:
            choices: []
            index: 15
      type:
        url: null
        index: 16
        elements:
          value:
            choices: []
            index: 18
    elements:
      extension:
        index: 13
        slicing:
          slices:
            name:
              match: {}
              schema:
                index: 13
                elements:
                  value:
                    choices: []
                    index: 15
            type:
              match: {}
              schema:
                index: 16
                elements:
                  value:
                    choices: []
                    index: 18
  versionAlgorithm:
    url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm
    type: Extension
    index: 2
    elements:
      value:
        choices: []
        index: 4
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            valueCoding:
              match: {}
              schema:
                pattern:
                  type: Coding
                  value: {code: semver, system: 'http://hl7.org/fhir/version-algorithm'}
                choices: [valueCoding]
                index: 6
              min: 0
              max: 1
      valueCoding:
        type: Coding
        pattern:
          type: Coding
          value: {code: semver, system: 'http://hl7.org/fhir/version-algorithm'}
        choiceOf: value
        index: 7
        slicing:
          slices:
            valueCoding:
              match: {}
              schema:
                type: Coding
                pattern:
                  type: Coding
                  value: {code: semver, system: 'http://hl7.org/fhir/version-algorithm'}
                choiceOf: value
                index: 7
              min: 0
              max: 1
  entryMode:
    url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-entryMode
    type: Extension
    index: 8
    elements:
      value:
        pattern: {type: Code, value: random}
        choices: []
        index: 10
  assembledFrom: {url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom', min: 0, max: 1, type: Extension, index: 11}
  extractAllocateId:
    url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extractAllocateId
    type: Extension
    index: 41
    elements:
      value:
        choices: []
        index: 43
  responseRenderingLiquid:
    url: http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-responseRenderingLiquid
    type: Extension
    index: 44
    elements:
      value:
        choices: []
        index: 46
      value[x]:
        elements:
          reference: {index: 47}
        required: [reference]
    required: [value]
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-questionnaire
base: http://hl7.org/fhir/StructureDefinition/Questionnaire
version: null
required: [url, experimental, version, subjectType]