PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh-eforms@1.0.0-alpha1.0.0
    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:
    mustSupport: true
    index: 58
    extensions:
      short-string: {url: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/core-short-string', min: 0, max: 1, type: Extension, mustSupport: true, 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, mustSupport: true, 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: {mustSupport: true, index: 56}
  publisher: {mustSupport: true, index: 57}
  approvalDate: {mustSupport: true, index: 76}
  item:
    index: 81
    extensions:
      definitionExtractValue:
        url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue
        type: Extension
        mustSupport: true
        index: 105
        extensions:
          definition:
            url: null
            mustSupport: true
            index: 106
            elements:
              value:
                mustSupport: true
                choices: []
                index: 108
          expression:
            url: null
            mustSupport: true
            index: 109
            elements:
              value:
                mustSupport: true
                choices: []
                index: 111
          fixed-value: {url: null, mustSupport: true, index: 112}
        elements:
          extension:
            mustSupport: true
            index: 106
            slicing:
              slices:
                definition:
                  match: {}
                  schema:
                    mustSupport: true
                    index: 106
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 108
                expression:
                  match: {}
                  schema:
                    mustSupport: true
                    index: 109
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 111
                fixed-value:
                  match: {}
                  schema: {mustSupport: true, index: 112}
      definitionExtract:
        url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract
        type: Extension
        mustSupport: true
        index: 98
        extensions:
          definition:
            url: null
            mustSupport: true
            index: 99
            elements:
              value:
                mustSupport: true
                choices: []
                index: 101
          fullUrl:
            url: null
            mustSupport: true
            index: 102
            elements:
              value:
                mustSupport: true
                choices: []
                index: 104
        elements:
          extension:
            mustSupport: true
            index: 99
            slicing:
              slices:
                definition:
                  match: {}
                  schema:
                    mustSupport: true
                    index: 99
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 101
                fullUrl:
                  match: {}
                  schema:
                    mustSupport: true
                    index: 102
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 104
      answerOptionsToggle:
        url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression
        type: Extension
        mustSupport: true
        index: 84
        extensions:
          option:
            url: null
            mustSupport: true
            index: 85
            elements:
              value:
                mustSupport: true
                choices: []
                index: 87
          expression: {url: null, mustSupport: true, index: 88}
        elements:
          extension:
            mustSupport: true
            index: 85
            slicing:
              slices:
                option:
                  match: {}
                  schema:
                    mustSupport: true
                    index: 85
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 87
                expression:
                  match: {}
                  schema: {mustSupport: true, index: 88}
      variable:
        url: http://hl7.org/fhir/StructureDefinition/variable
        type: Extension
        mustSupport: true
        index: 122
        elements:
          value:
            mustSupport: true
            choices: []
            index: 124
      renderStyle:
        url: http://hl7.org/fhir/StructureDefinition/rendering-style
        type: Extension
        mustSupport: true
        index: 95
        elements:
          value:
            mustSupport: true
            choices: []
            index: 97
      itemPopulationContext:
        url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext
        type: Extension
        mustSupport: true
        index: 116
        elements:
          value:
            mustSupport: true
            choices: []
            index: 118
      extractAllocateId:
        url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extractAllocateId
        type: Extension
        mustSupport: true
        index: 113
        elements:
          value:
            mustSupport: true
            choices: []
            index: 115
      itemStyle: {url: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-questionnaire-itemStyle', min: 0, max: 1, type: Extension, index: 83}
      hidden:
        url: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
        type: Extension
        mustSupport: true
        index: 92
        elements:
          value:
            mustSupport: true
            choices: []
            index: 94
      enableWhenExpression:
        url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
        type: Extension
        mustSupport: true
        index: 89
        elements:
          value:
            mustSupport: true
            choices: []
            index: 91
        required: [value]
      preferredTerminologyServer:
        url: http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer
        type: Extension
        mustSupport: true
        index: 119
        elements:
          value:
            mustSupport: true
            choices: []
            index: 121
    elements:
      extension:
        index: 82
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            definitionExtractValue:
              match: {url: null}
              schema:
                type: Extension
                mustSupport: true
                url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue
                index: 105
                extensions:
                  definition:
                    url: null
                    mustSupport: true
                    index: 106
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 108
                  expression:
                    url: null
                    mustSupport: true
                    index: 109
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 111
                  fixed-value: {url: null, mustSupport: true, index: 112}
                elements:
                  extension:
                    mustSupport: true
                    index: 106
                    slicing:
                      slices:
                        definition:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 106
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 108
                        expression:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 109
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 111
                        fixed-value:
                          match: {}
                          schema: {mustSupport: true, index: 112}
            definitionExtract:
              match: {url: null}
              schema:
                type: Extension
                mustSupport: true
                url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract
                index: 98
                extensions:
                  definition:
                    url: null
                    mustSupport: true
                    index: 99
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 101
                  fullUrl:
                    url: null
                    mustSupport: true
                    index: 102
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 104
                elements:
                  extension:
                    mustSupport: true
                    index: 99
                    slicing:
                      slices:
                        definition:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 99
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 101
                        fullUrl:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 102
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 104
            answerOptionsToggle:
              match: {url: null}
              schema:
                type: Extension
                mustSupport: true
                url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression
                index: 84
                extensions:
                  option:
                    url: null
                    mustSupport: true
                    index: 85
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 87
                  expression: {url: null, mustSupport: true, index: 88}
                elements:
                  extension:
                    mustSupport: true
                    index: 85
                    slicing:
                      slices:
                        option:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 85
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 87
                        expression:
                          match: {}
                          schema: {mustSupport: true, index: 88}
            variable:
              match: {url: null}
              schema:
                type: Extension
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/variable
                index: 122
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 124
            renderStyle:
              match: {url: null}
              schema:
                type: Extension
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/rendering-style
                index: 95
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 97
            itemPopulationContext:
              match: {url: null}
              schema:
                type: Extension
                mustSupport: true
                url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext
                index: 116
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 118
            extractAllocateId:
              match: {url: null}
              schema:
                type: Extension
                mustSupport: true
                url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extractAllocateId
                index: 113
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 115
            itemStyle:
              match: {url: null}
              schema: {type: Extension, url: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-questionnaire-itemStyle', index: 83}
              min: 0
              max: 1
            hidden:
              match: {url: null}
              schema:
                type: Extension
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
                index: 92
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 94
            enableWhenExpression:
              match: {url: null}
              schema:
                type: Extension
                mustSupport: true
                url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
                index: 89
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 91
                required: [value]
            preferredTerminologyServer:
              match: {url: null}
              schema:
                type: Extension
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer
                index: 119
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 121
      linkId: {mustSupport: true, index: 125}
      definition: {mustSupport: true, index: 126}
      text:
        mustSupport: true
        index: 127
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            mustSupport: true
            index: 129
            extensions:
              lang:
                url: null
                mustSupport: true
                index: 130
                elements:
                  value:
                    choices: []
                    index: 132
              content:
                url: null
                mustSupport: true
                index: 133
                elements:
                  value:
                    choices: [valueString]
                    index: 135
                  valueString: {type: string, choiceOf: value, index: 136}
            elements:
              extension:
                mustSupport: true
                index: 130
                slicing:
                  slices:
                    lang:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 130
                        elements:
                          value:
                            choices: []
                            index: 132
                    content:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 133
                        elements:
                          value:
                            choices: [valueString]
                            index: 135
                          valueString: {type: string, choiceOf: value, index: 136}
          renderStyle:
            url: http://hl7.org/fhir/StructureDefinition/rendering-style
            type: Extension
            mustSupport: true
            index: 137
            elements:
              value:
                mustSupport: true
                choices: []
                index: 139
          xhtml:
            url: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
            type: Extension
            mustSupport: true
            index: 140
            elements:
              value:
                mustSupport: true
                choices: []
                index: 142
        elements:
          extension:
            index: 128
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: url, type: value}
              min: null
              slices:
                translation:
                  match: {url: null}
                  schema:
                    type: Extension
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 129
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        index: 130
                        elements:
                          value:
                            choices: []
                            index: 132
                      content:
                        url: null
                        mustSupport: true
                        index: 133
                        elements:
                          value:
                            choices: [valueString]
                            index: 135
                          valueString: {type: string, choiceOf: value, index: 136}
                    elements:
                      extension:
                        mustSupport: true
                        index: 130
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 130
                                elements:
                                  value:
                                    choices: []
                                    index: 132
                            content:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 133
                                elements:
                                  value:
                                    choices: [valueString]
                                    index: 135
                                  valueString: {type: string, choiceOf: value, index: 136}
                renderStyle:
                  match: {url: null}
                  schema:
                    type: Extension
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/rendering-style
                    index: 137
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 139
                xhtml:
                  match: {url: null}
                  schema:
                    type: Extension
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
                    index: 140
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 142
      enableWhen:
        mustSupport: true
        index: 143
        elements:
          answerDecimal: {type: decimal, mustSupport: true, choiceOf: answer, index: 149}
          answerDate: {type: date, mustSupport: true, choiceOf: answer, index: 151}
          answerInteger: {type: integer, mustSupport: true, choiceOf: answer, index: 150}
          question: {mustSupport: true, index: 144}
          answerDateTime: {type: dateTime, mustSupport: true, choiceOf: answer, index: 152}
          answer:
            mustSupport: true
            choices: [answerBoolean, answerDecimal, answerInteger, answerDate, answerDateTime, answerTime, answerString, answerCoding]
            index: 147
          answerString: {type: string, mustSupport: true, choiceOf: answer, index: 154}
          operator: {mustSupport: true, index: 145}
          answerBoolean: {type: boolean, mustSupport: true, choiceOf: answer, index: 148}
          answerCoding: {type: Coding, mustSupport: true, choiceOf: answer, index: 155}
          answerTime: {type: time, mustSupport: true, choiceOf: answer, index: 153}
    required: [text]
    slicing:
      rules: closed
      discriminator:
      - {path: type, type: value}
      min: null
      slices:
        group:
          match: {type: group}
          schema:
            mustSupport: true
            array: true
            index: 156
            extensions:
              definitionExtractValue:
                url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue
                type: Extension
                mustSupport: true
                index: 170
                extensions:
                  definition: {url: null, mustSupport: true, index: 171}
                  expression: {url: null, mustSupport: true, index: 172}
                  fixed-value: {url: null, mustSupport: true, index: 173}
                elements:
                  extension:
                    mustSupport: true
                    index: 171
                    slicing:
                      slices:
                        definition:
                          match: {}
                          schema: {mustSupport: true, index: 171}
                        expression:
                          match: {}
                          schema: {mustSupport: true, index: 172}
                        fixed-value:
                          match: {}
                          schema: {mustSupport: true, index: 173}
              definitionExtract:
                url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract
                type: Extension
                mustSupport: true
                index: 163
                extensions:
                  definition: {url: null, mustSupport: true, index: 164}
                  fullUrl: {url: null, mustSupport: true, index: 165}
                  ifNoneMatch: {url: null, index: 166}
                  ifModifiedSince: {url: null, index: 167}
                  ifMatch: {url: null, index: 168}
                  ifNoneExist: {url: null, index: 169}
                elements:
                  extension:
                    mustSupport: true
                    index: 164
                    slicing:
                      slices:
                        definition:
                          match: {}
                          schema: {mustSupport: true, index: 164}
                        fullUrl:
                          match: {}
                          schema: {mustSupport: true, index: 165}
                        ifNoneMatch:
                          match: {}
                          schema: {index: 166}
                        ifModifiedSince:
                          match: {}
                          schema: {index: 167}
                        ifMatch:
                          match: {}
                          schema: {index: 168}
                        ifNoneExist:
                          match: {}
                          schema: {index: 169}
              answerOptionsToggle:
                url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression
                type: Extension
                mustSupport: true
                index: 157
                extensions:
                  option: {url: null, mustSupport: true, index: 158}
                  expression: {url: null, mustSupport: true, index: 159}
                elements:
                  extension:
                    mustSupport: true
                    index: 158
                    slicing:
                      slices:
                        option:
                          match: {}
                          schema: {mustSupport: true, index: 158}
                        expression:
                          match: {}
                          schema: {mustSupport: true, index: 159}
              targetConstraint:
                url: http://hl7.org/fhir/StructureDefinition/targetConstraint
                type: Extension
                mustSupport: true
                index: 184
                extensions:
                  key: {url: null, mustSupport: true, index: 185}
                  severity:
                    url: null
                    mustSupport: true
                    index: 186
                    elements:
                      value:
                        pattern: {type: Code, value: error}
                        choices: []
                        index: 188
                  expression: {url: null, mustSupport: true, index: 189}
                  human: {url: null, mustSupport: true, index: 190}
                elements:
                  extension:
                    mustSupport: true
                    index: 185
                    slicing:
                      slices:
                        key:
                          match: {}
                          schema: {mustSupport: true, index: 185}
                        severity:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 186
                            elements:
                              value:
                                pattern: {type: Code, value: error}
                                choices: []
                                index: 188
                        expression:
                          match: {}
                          schema: {mustSupport: true, index: 189}
                        human:
                          match: {}
                          schema: {mustSupport: true, index: 190}
              variable: {url: 'http://hl7.org/fhir/StructureDefinition/variable', min: 0, type: Extension, mustSupport: true, index: 177}
              renderStyle: {url: 'http://hl7.org/fhir/StructureDefinition/rendering-style', min: 0, max: 1, type: Extension, mustSupport: true, index: 162}
              collapsible:
                url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-collapsible
                type: Extension
                mustSupport: true
                index: 178
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 180
                required: [value]
              itemControl:
                url: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
                type: Extension
                mustSupport: true
                index: 181
                elements:
                  value:
                    choices: []
                    index: 183
              itemPopulationContext: {url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext', min: 0, max: 1, type: Extension, mustSupport: true, index: 175}
              extractAllocateId: {url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extractAllocateId', min: 0, type: Extension, mustSupport: true, index: 174}
              noteInfo:
                url: http://ontariohealth.ca/fhir/eforms/StructureDefinition/group-note-info
                type: Extension
                index: 191
                extensions:
                  enableWhenExpression:
                    url: null
                    index: 192
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 194
                      value[x]:
                        elements:
                          language: {mustSupport: true, index: 195}
                          expression: {mustSupport: true, index: 196}
                        required: [expression]
                  sortIndex:
                    url: null
                    mustSupport: true
                    index: 197
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 199
                  text:
                    url: null
                    index: 200
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 202
                  listSeparator:
                    url: null
                    index: 203
                    elements:
                      value:
                        choices: []
                        index: 205
                  lastSeparator:
                    url: null
                    index: 206
                    elements:
                      value:
                        choices: []
                        index: 208
                  style:
                    url: null
                    index: 209
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 211
                  groupItems:
                    url: null
                    mustSupport: true
                    index: 212
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 214
                elements:
                  extension:
                    index: 192
                    slicing:
                      slices:
                        enableWhenExpression:
                          match: {}
                          schema:
                            index: 192
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 194
                              value[x]:
                                elements:
                                  language: {mustSupport: true, index: 195}
                                  expression: {mustSupport: true, index: 196}
                                required: [expression]
                        sortIndex:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 197
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 199
                        text:
                          match: {}
                          schema:
                            index: 200
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 202
                        listSeparator:
                          match: {}
                          schema:
                            index: 203
                            elements:
                              value:
                                choices: []
                                index: 205
                        lastSeparator:
                          match: {}
                          schema:
                            index: 206
                            elements:
                              value:
                                choices: []
                                index: 208
                        style:
                          match: {}
                          schema:
                            index: 209
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 211
                        groupItems:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 212
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 214
              hidden: {url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-hidden', min: 0, max: 1, type: Extension, mustSupport: true, index: 161}
              enableWhenExpression: {url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression', min: 0, max: 1, type: Extension, mustSupport: true, index: 160}
              preferredTerminologyServer: {url: 'http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer', min: 0, type: Extension, mustSupport: true, index: 176}
            elements:
              extension:
                type: Extension
                mustSupport: true
                url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression
                index: 157
                slicing:
                  slices:
                    definitionExtractValue:
                      match: {}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue
                        index: 170
                        extensions:
                          definition: {url: null, mustSupport: true, index: 171}
                          expression: {url: null, mustSupport: true, index: 172}
                          fixed-value: {url: null, mustSupport: true, index: 173}
                        elements:
                          extension:
                            mustSupport: true
                            index: 171
                            slicing:
                              slices:
                                definition:
                                  match: {}
                                  schema: {mustSupport: true, index: 171}
                                expression:
                                  match: {}
                                  schema: {mustSupport: true, index: 172}
                                fixed-value:
                                  match: {}
                                  schema: {mustSupport: true, index: 173}
                    definitionExtract:
                      match: {}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract
                        index: 163
                        extensions:
                          definition: {url: null, mustSupport: true, index: 164}
                          fullUrl: {url: null, mustSupport: true, index: 165}
                          ifNoneMatch: {url: null, index: 166}
                          ifModifiedSince: {url: null, index: 167}
                          ifMatch: {url: null, index: 168}
                          ifNoneExist: {url: null, index: 169}
                        elements:
                          extension:
                            mustSupport: true
                            index: 164
                            slicing:
                              slices:
                                definition:
                                  match: {}
                                  schema: {mustSupport: true, index: 164}
                                fullUrl:
                                  match: {}
                                  schema: {mustSupport: true, index: 165}
                                ifNoneMatch:
                                  match: {}
                                  schema: {index: 166}
                                ifModifiedSince:
                                  match: {}
                                  schema: {index: 167}
                                ifMatch:
                                  match: {}
                                  schema: {index: 168}
                                ifNoneExist:
                                  match: {}
                                  schema: {index: 169}
                    answerOptionsToggle:
                      match: {}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression
                        index: 157
                        extensions:
                          option: {url: null, mustSupport: true, index: 158}
                          expression: {url: null, mustSupport: true, index: 159}
                        elements:
                          extension:
                            mustSupport: true
                            index: 158
                            slicing:
                              slices:
                                option:
                                  match: {}
                                  schema: {mustSupport: true, index: 158}
                                expression:
                                  match: {}
                                  schema: {mustSupport: true, index: 159}
                    targetConstraint:
                      match: {}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/targetConstraint
                        index: 184
                        extensions:
                          key: {url: null, mustSupport: true, index: 185}
                          severity:
                            url: null
                            mustSupport: true
                            index: 186
                            elements:
                              value:
                                pattern: {type: Code, value: error}
                                choices: []
                                index: 188
                          expression: {url: null, mustSupport: true, index: 189}
                          human: {url: null, mustSupport: true, index: 190}
                        elements:
                          extension:
                            mustSupport: true
                            index: 185
                            slicing:
                              slices:
                                key:
                                  match: {}
                                  schema: {mustSupport: true, index: 185}
                                severity:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 186
                                    elements:
                                      value:
                                        pattern: {type: Code, value: error}
                                        choices: []
                                        index: 188
                                expression:
                                  match: {}
                                  schema: {mustSupport: true, index: 189}
                                human:
                                  match: {}
                                  schema: {mustSupport: true, index: 190}
                    variable:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/variable', index: 177}
                      min: 0
                    renderStyle:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/rendering-style', index: 162}
                      min: 0
                      max: 1
                    collapsible:
                      match: {}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-collapsible
                        index: 178
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 180
                        required: [value]
                    itemControl:
                      match: {}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
                        index: 181
                        elements:
                          value:
                            choices: []
                            index: 183
                    itemPopulationContext:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext', index: 175}
                      min: 0
                      max: 1
                    extractAllocateId:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extractAllocateId', index: 174}
                      min: 0
                    noteInfo:
                      match: {}
                      schema:
                        type: Extension
                        url: http://ontariohealth.ca/fhir/eforms/StructureDefinition/group-note-info
                        index: 191
                        extensions:
                          enableWhenExpression:
                            url: null
                            index: 192
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 194
                              value[x]:
                                elements:
                                  language: {mustSupport: true, index: 195}
                                  expression: {mustSupport: true, index: 196}
                                required: [expression]
                          sortIndex:
                            url: null
                            mustSupport: true
                            index: 197
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 199
                          text:
                            url: null
                            index: 200
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 202
                          listSeparator:
                            url: null
                            index: 203
                            elements:
                              value:
                                choices: []
                                index: 205
                          lastSeparator:
                            url: null
                            index: 206
                            elements:
                              value:
                                choices: []
                                index: 208
                          style:
                            url: null
                            index: 209
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 211
                          groupItems:
                            url: null
                            mustSupport: true
                            index: 212
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 214
                        elements:
                          extension:
                            index: 192
                            slicing:
                              slices:
                                enableWhenExpression:
                                  match: {}
                                  schema:
                                    index: 192
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 194
                                      value[x]:
                                        elements:
                                          language: {mustSupport: true, index: 195}
                                          expression: {mustSupport: true, index: 196}
                                        required: [expression]
                                sortIndex:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 197
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 199
                                text:
                                  match: {}
                                  schema:
                                    index: 200
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 202
                                listSeparator:
                                  match: {}
                                  schema:
                                    index: 203
                                    elements:
                                      value:
                                        choices: []
                                        index: 205
                                lastSeparator:
                                  match: {}
                                  schema:
                                    index: 206
                                    elements:
                                      value:
                                        choices: []
                                        index: 208
                                style:
                                  match: {}
                                  schema:
                                    index: 209
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 211
                                groupItems:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 212
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 214
                    hidden:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-hidden', index: 161}
                      min: 0
                      max: 1
                    enableWhenExpression:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression', index: 160}
                      min: 0
                      max: 1
                    preferredTerminologyServer:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer', index: 176}
                      min: 0
              text:
                extensions:
                  translation:
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    type: Extension
                    mustSupport: true
                    index: 215
                    extensions:
                      lang: {url: null, mustSupport: true, index: 216}
                      content: {url: null, mustSupport: true, index: 217}
                    elements:
                      extension:
                        mustSupport: true
                        index: 216
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema: {mustSupport: true, index: 216}
                            content:
                              match: {}
                              schema: {mustSupport: true, index: 217}
                  renderStyle: {url: 'http://hl7.org/fhir/StructureDefinition/rendering-style', min: 0, max: 1, type: Extension, mustSupport: true, index: 218}
                  xhtml: {url: 'http://hl7.org/fhir/StructureDefinition/rendering-xhtml', min: 0, max: 1, type: Extension, mustSupport: true, index: 219}
                elements:
                  extension:
                    type: Extension
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 215
                    slicing:
                      slices:
                        translation:
                          match: {}
                          schema:
                            type: Extension
                            mustSupport: true
                            url: http://hl7.org/fhir/StructureDefinition/translation
                            index: 215
                            extensions:
                              lang: {url: null, mustSupport: true, index: 216}
                              content: {url: null, mustSupport: true, index: 217}
                            elements:
                              extension:
                                mustSupport: true
                                index: 216
                                slicing:
                                  slices:
                                    lang:
                                      match: {}
                                      schema: {mustSupport: true, index: 216}
                                    content:
                                      match: {}
                                      schema: {mustSupport: true, index: 217}
                        renderStyle:
                          match: {}
                          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/rendering-style', index: 218}
                          min: 0
                          max: 1
                        xhtml:
                          match: {}
                          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/rendering-xhtml', index: 219}
                          min: 0
                          max: 1
              type:
                pattern: {type: Code, value: group}
                index: 220
              required: {mustSupport: true, index: 221}
              repeats: {mustSupport: true, index: 222}
              item: {mustSupport: true, index: 223}
        display:
          match: {type: display}
          schema:
            mustSupport: true
            array: true
            index: 224
            extensions:
              definitionExtractValue:
                url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue
                type: Extension
                mustSupport: true
                index: 238
                extensions:
                  definition: {url: null, mustSupport: true, index: 239}
                  expression: {url: null, mustSupport: true, index: 240}
                  fixed-value: {url: null, mustSupport: true, index: 241}
                elements:
                  extension:
                    mustSupport: true
                    index: 239
                    slicing:
                      slices:
                        definition:
                          match: {}
                          schema: {mustSupport: true, index: 239}
                        expression:
                          match: {}
                          schema: {mustSupport: true, index: 240}
                        fixed-value:
                          match: {}
                          schema: {mustSupport: true, index: 241}
              definitionExtract:
                url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract
                type: Extension
                mustSupport: true
                index: 231
                extensions:
                  definition: {url: null, mustSupport: true, index: 232}
                  fullUrl: {url: null, mustSupport: true, index: 233}
                  ifNoneMatch: {url: null, index: 234}
                  ifModifiedSince: {url: null, index: 235}
                  ifMatch: {url: null, index: 236}
                  ifNoneExist: {url: null, index: 237}
                elements:
                  extension:
                    mustSupport: true
                    index: 232
                    slicing:
                      slices:
                        definition:
                          match: {}
                          schema: {mustSupport: true, index: 232}
                        fullUrl:
                          match: {}
                          schema: {mustSupport: true, index: 233}
                        ifNoneMatch:
                          match: {}
                          schema: {index: 234}
                        ifModifiedSince:
                          match: {}
                          schema: {index: 235}
                        ifMatch:
                          match: {}
                          schema: {index: 236}
                        ifNoneExist:
                          match: {}
                          schema: {index: 237}
              answerOptionsToggle:
                url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression
                type: Extension
                mustSupport: true
                index: 225
                extensions:
                  option: {url: null, mustSupport: true, index: 226}
                  expression: {url: null, mustSupport: true, index: 227}
                elements:
                  extension:
                    mustSupport: true
                    index: 226
                    slicing:
                      slices:
                        option:
                          match: {}
                          schema: {mustSupport: true, index: 226}
                        expression:
                          match: {}
                          schema: {mustSupport: true, index: 227}
              variable: {url: 'http://hl7.org/fhir/StructureDefinition/variable', min: 0, type: Extension, mustSupport: true, index: 245}
              renderStyle: {url: 'http://hl7.org/fhir/StructureDefinition/rendering-style', min: 0, max: 1, type: Extension, mustSupport: true, index: 230}
              itemPopulationContext: {url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext', min: 0, max: 1, type: Extension, mustSupport: true, index: 243}
              extractAllocateId: {url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extractAllocateId', min: 0, type: Extension, mustSupport: true, index: 242}
              hidden: {url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-hidden', min: 0, max: 1, type: Extension, mustSupport: true, index: 229}
              enableWhenExpression: {url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression', min: 0, max: 1, type: Extension, mustSupport: true, index: 228}
              preferredTerminologyServer: {url: 'http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer', min: 0, type: Extension, mustSupport: true, index: 244}
            elements:
              extension:
                type: Extension
                mustSupport: true
                url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression
                index: 225
                slicing:
                  slices:
                    definitionExtractValue:
                      match: {}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue
                        index: 238
                        extensions:
                          definition: {url: null, mustSupport: true, index: 239}
                          expression: {url: null, mustSupport: true, index: 240}
                          fixed-value: {url: null, mustSupport: true, index: 241}
                        elements:
                          extension:
                            mustSupport: true
                            index: 239
                            slicing:
                              slices:
                                definition:
                                  match: {}
                                  schema: {mustSupport: true, index: 239}
                                expression:
                                  match: {}
                                  schema: {mustSupport: true, index: 240}
                                fixed-value:
                                  match: {}
                                  schema: {mustSupport: true, index: 241}
                    definitionExtract:
                      match: {}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract
                        index: 231
                        extensions:
                          definition: {url: null, mustSupport: true, index: 232}
                          fullUrl: {url: null, mustSupport: true, index: 233}
                          ifNoneMatch: {url: null, index: 234}
                          ifModifiedSince: {url: null, index: 235}
                          ifMatch: {url: null, index: 236}
                          ifNoneExist: {url: null, index: 237}
                        elements:
                          extension:
                            mustSupport: true
                            index: 232
                            slicing:
                              slices:
                                definition:
                                  match: {}
                                  schema: {mustSupport: true, index: 232}
                                fullUrl:
                                  match: {}
                                  schema: {mustSupport: true, index: 233}
                                ifNoneMatch:
                                  match: {}
                                  schema: {index: 234}
                                ifModifiedSince:
                                  match: {}
                                  schema: {index: 235}
                                ifMatch:
                                  match: {}
                                  schema: {index: 236}
                                ifNoneExist:
                                  match: {}
                                  schema: {index: 237}
                    answerOptionsToggle:
                      match: {}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression
                        index: 225
                        extensions:
                          option: {url: null, mustSupport: true, index: 226}
                          expression: {url: null, mustSupport: true, index: 227}
                        elements:
                          extension:
                            mustSupport: true
                            index: 226
                            slicing:
                              slices:
                                option:
                                  match: {}
                                  schema: {mustSupport: true, index: 226}
                                expression:
                                  match: {}
                                  schema: {mustSupport: true, index: 227}
                    variable:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/variable', index: 245}
                      min: 0
                    renderStyle:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/rendering-style', index: 230}
                      min: 0
                      max: 1
                    itemPopulationContext:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext', index: 243}
                      min: 0
                      max: 1
                    extractAllocateId:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extractAllocateId', index: 242}
                      min: 0
                    hidden:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-hidden', index: 229}
                      min: 0
                      max: 1
                    enableWhenExpression:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression', index: 228}
                      min: 0
                      max: 1
                    preferredTerminologyServer:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer', index: 244}
                      min: 0
              text:
                extensions:
                  translation:
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    type: Extension
                    mustSupport: true
                    index: 246
                    extensions:
                      lang: {url: null, mustSupport: true, index: 247}
                      content: {url: null, mustSupport: true, index: 248}
                    elements:
                      extension:
                        mustSupport: true
                        index: 247
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema: {mustSupport: true, index: 247}
                            content:
                              match: {}
                              schema: {mustSupport: true, index: 248}
                  renderStyle: {url: 'http://hl7.org/fhir/StructureDefinition/rendering-style', min: 0, max: 1, type: Extension, mustSupport: true, index: 249}
                  xhtml: {url: 'http://hl7.org/fhir/StructureDefinition/rendering-xhtml', min: 0, max: 1, type: Extension, mustSupport: true, index: 250}
                elements:
                  extension:
                    type: Extension
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 246
                    slicing:
                      slices:
                        translation:
                          match: {}
                          schema:
                            type: Extension
                            mustSupport: true
                            url: http://hl7.org/fhir/StructureDefinition/translation
                            index: 246
                            extensions:
                              lang: {url: null, mustSupport: true, index: 247}
                              content: {url: null, mustSupport: true, index: 248}
                            elements:
                              extension:
                                mustSupport: true
                                index: 247
                                slicing:
                                  slices:
                                    lang:
                                      match: {}
                                      schema: {mustSupport: true, index: 247}
                                    content:
                                      match: {}
                                      schema: {mustSupport: true, index: 248}
                        renderStyle:
                          match: {}
                          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/rendering-style', index: 249}
                          min: 0
                          max: 1
                        xhtml:
                          match: {}
                          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/rendering-xhtml', index: 250}
                          min: 0
                          max: 1
              type:
                pattern: {type: Code, value: display}
                index: 251
        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'}
            mustSupport: true
            array: true
            index: 252
            extensions:
              definitionExtractValue:
                url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue
                type: Extension
                mustSupport: true
                index: 266
                extensions:
                  definition: {url: null, mustSupport: true, index: 267}
                  expression: {url: null, mustSupport: true, index: 268}
                  fixed-value: {url: null, mustSupport: true, index: 269}
                elements:
                  extension:
                    mustSupport: true
                    index: 267
                    slicing:
                      slices:
                        definition:
                          match: {}
                          schema: {mustSupport: true, index: 267}
                        expression:
                          match: {}
                          schema: {mustSupport: true, index: 268}
                        fixed-value:
                          match: {}
                          schema: {mustSupport: true, index: 269}
              definitionExtract:
                url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract
                type: Extension
                mustSupport: true
                index: 259
                extensions:
                  definition: {url: null, mustSupport: true, index: 260}
                  fullUrl: {url: null, mustSupport: true, index: 261}
                  ifNoneMatch: {url: null, index: 262}
                  ifModifiedSince: {url: null, index: 263}
                  ifMatch: {url: null, index: 264}
                  ifNoneExist: {url: null, index: 265}
                elements:
                  extension:
                    mustSupport: true
                    index: 260
                    slicing:
                      slices:
                        definition:
                          match: {}
                          schema: {mustSupport: true, index: 260}
                        fullUrl:
                          match: {}
                          schema: {mustSupport: true, index: 261}
                        ifNoneMatch:
                          match: {}
                          schema: {index: 262}
                        ifModifiedSince:
                          match: {}
                          schema: {index: 263}
                        ifMatch:
                          match: {}
                          schema: {index: 264}
                        ifNoneExist:
                          match: {}
                          schema: {index: 265}
              answerOptionsToggle:
                url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression
                type: Extension
                mustSupport: true
                index: 253
                extensions:
                  option: {url: null, mustSupport: true, index: 254}
                  expression: {url: null, mustSupport: true, index: 255}
                elements:
                  extension:
                    mustSupport: true
                    index: 254
                    slicing:
                      slices:
                        option:
                          match: {}
                          schema: {mustSupport: true, index: 254}
                        expression:
                          match: {}
                          schema: {mustSupport: true, index: 255}
              maxValue:
                url: http://hl7.org/fhir/StructureDefinition/maxValue
                type: Extension
                mustSupport: true
                index: 290
                elements:
                  value:
                    choices: [valueDate, valueDateTime, valueTime, valueDecimal, valueInteger]
                    index: 292
                  valueDate: {type: date, choiceOf: value, index: 293}
                  valueDateTime: {type: dateTime, choiceOf: value, index: 294}
                  valueTime: {type: time, choiceOf: value, index: 295}
                  valueDecimal: {type: decimal, choiceOf: value, index: 296}
                  valueInteger: {type: integer, choiceOf: value, index: 297}
              sameLine:
                url: http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-same-line
                type: Extension
                mustSupport: true
                index: 324
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 326
              targetConstraint:
                url: http://hl7.org/fhir/StructureDefinition/targetConstraint
                type: Extension
                mustSupport: true
                index: 317
                extensions:
                  key: {url: null, mustSupport: true, index: 318}
                  severity:
                    url: null
                    mustSupport: true
                    index: 319
                    elements:
                      value:
                        pattern: {type: Code, value: error}
                        choices: []
                        index: 321
                  expression: {url: null, mustSupport: true, index: 322}
                  human: {url: null, mustSupport: true, index: 323}
                elements:
                  extension:
                    mustSupport: true
                    index: 318
                    slicing:
                      slices:
                        key:
                          match: {}
                          schema: {mustSupport: true, index: 318}
                        severity:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 319
                            elements:
                              value:
                                pattern: {type: Code, value: error}
                                choices: []
                                index: 321
                        expression:
                          match: {}
                          schema: {mustSupport: true, index: 322}
                        human:
                          match: {}
                          schema: {mustSupport: true, index: 323}
              variable: {url: 'http://hl7.org/fhir/StructureDefinition/variable', min: 0, type: Extension, mustSupport: true, index: 273}
              renderStyle: {url: 'http://hl7.org/fhir/StructureDefinition/rendering-style', min: 0, max: 1, type: Extension, mustSupport: true, index: 258}
              maxOccurs:
                url: http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs
                type: Extension
                mustSupport: true
                index: 304
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 306
              itemControl:
                url: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
                type: Extension
                mustSupport: true
                index: 301
                elements:
                  value:
                    choices: []
                    index: 303
              initialExpression:
                url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
                type: Extension
                mustSupport: true
                index: 279
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 281
                  value[x]:
                    elements:
                      language:
                        pattern: {type: Code, value: text/fhirpath}
                        index: 282
                      expression: {mustSupport: true, index: 283}
                    required: [expression]
              choiceOrientation:
                url: http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation
                type: Extension
                mustSupport: true
                index: 298
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 300
              itemPopulationContext: {url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext', min: 0, max: 1, type: Extension, mustSupport: true, index: 271}
              minValue: {url: 'http://hl7.org/fhir/StructureDefinition/minValue', min: 0, max: 1, type: Extension, mustSupport: true, index: 289}
              minLength: {url: 'http://hl7.org/fhir/StructureDefinition/minLength', min: 0, max: 1, type: Extension, mustSupport: true, index: 284}
              extractAllocateId: {url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extractAllocateId', min: 0, type: Extension, mustSupport: true, index: 270}
              choiceDiagram:
                url: http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-choice-diagram
                type: Extension
                index: 363
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 365
              noteInfo:
                url: http://ontariohealth.ca/fhir/eforms/StructureDefinition/question-note-info
                type: Extension
                index: 327
                extensions:
                  positiveText:
                    url: null
                    mustSupport: true
                    index: 357
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 359
                  lastSeparator:
                    url: null
                    index: 342
                    elements:
                      value:
                        choices: []
                        index: 344
                  sortIndex:
                    url: null
                    mustSupport: true
                    index: 333
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 335
                  style:
                    url: null
                    index: 345
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 347
                  quoteAnswer:
                    url: null
                    index: 351
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 353
                  enableWhenExpression:
                    url: null
                    index: 328
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 330
                      value[x]:
                        elements:
                          language: {mustSupport: true, index: 331}
                          expression: {mustSupport: true, index: 332}
                        required: [expression]
                  ownLine:
                    url: null
                    index: 348
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 350
                  negativeStyle:
                    url: null
                    mustSupport: true
                    index: 360
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 362
                  listSeparator:
                    url: null
                    index: 339
                    elements:
                      value:
                        choices: []
                        index: 341
                  negativeText:
                    url: null
                    mustSupport: true
                    index: 354
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 356
                  text:
                    url: null
                    index: 336
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 338
                elements:
                  extension:
                    index: 328
                    slicing:
                      slices:
                        positiveText:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 357
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 359
                        lastSeparator:
                          match: {}
                          schema:
                            index: 342
                            elements:
                              value:
                                choices: []
                                index: 344
                        sortIndex:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 333
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 335
                        style:
                          match: {}
                          schema:
                            index: 345
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 347
                        quoteAnswer:
                          match: {}
                          schema:
                            index: 351
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 353
                        enableWhenExpression:
                          match: {}
                          schema:
                            index: 328
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 330
                              value[x]:
                                elements:
                                  language: {mustSupport: true, index: 331}
                                  expression: {mustSupport: true, index: 332}
                                required: [expression]
                        ownLine:
                          match: {}
                          schema:
                            index: 348
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 350
                        negativeStyle:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 360
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 362
                        listSeparator:
                          match: {}
                          schema:
                            index: 339
                            elements:
                              value:
                                choices: []
                                index: 341
                        negativeText:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 354
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 356
                        text:
                          match: {}
                          schema:
                            index: 336
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 338
              supportLink:
                url: http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink
                type: Extension
                mustSupport: true
                index: 310
                elements:
                  value:
                    extensions: {}
                    elements:
                      extension:
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 316
                  value[x]:
                    extensions:
                      uriLabel: {url: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/core-uri-label', min: 0, max: 1, type: Extension, mustSupport: true, index: 314}
                    elements:
                      extension:
                        index: 313
                        slicing:
                          rules: open
                          ordered: false
                          discriminator:
                          - {path: url, type: value}
                          min: null
                          slices:
                            uriLabel:
                              match: {url: null}
                              schema: {type: Extension, mustSupport: true, url: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/core-uri-label', index: 314}
                              min: 0
                              max: 1
              hidden: {url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-hidden', min: 0, max: 1, type: Extension, mustSupport: true, index: 257}
              minOccurs:
                url: http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs
                type: Extension
                mustSupport: true
                index: 307
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 309
              mimeType:
                url: http://hl7.org/fhir/StructureDefinition/mimeType
                type: Extension
                mustSupport: true
                index: 286
                elements:
                  value:
                    choices: []
                    index: 288
              enableWhenExpression: {url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression', min: 0, max: 1, type: Extension, mustSupport: true, index: 256}
              calculatedExpression:
                url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression
                type: Extension
                mustSupport: true
                index: 274
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 276
                  value[x]:
                    elements:
                      language:
                        pattern: {type: Code, value: text/fhirpath}
                        index: 277
                      expression: {mustSupport: true, index: 278}
                    required: [expression]
              maxSize: {url: 'http://hl7.org/fhir/StructureDefinition/maxSize', min: 0, max: 1, type: Extension, mustSupport: true, index: 285}
              preferredTerminologyServer: {url: 'http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer', min: 0, type: Extension, mustSupport: true, index: 272}
            elements:
              definition: {index: 366}
              repeats: {mustSupport: true, index: 374}
              type:
                binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/eforms/ValueSet/question-item-type'}
                mustSupport: true
                index: 372
              answerOption:
                mustSupport: true
                index: 378
                extensions:
                  noteInfo:
                    url: http://ontariohealth.ca/fhir/eforms/StructureDefinition/option-note-info
                    type: Extension
                    mustSupport: true
                    index: 380
                    extensions:
                      text:
                        url: null
                        index: 381
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 383
                      style:
                        url: null
                        index: 384
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 386
                    elements:
                      extension:
                        index: 381
                        slicing:
                          slices:
                            text:
                              match: {}
                              schema:
                                index: 381
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 383
                            style:
                              match: {}
                              schema:
                                index: 384
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 386
                elements:
                  extension:
                    index: 379
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        noteInfo:
                          match: {url: null}
                          schema:
                            type: Extension
                            mustSupport: true
                            url: http://ontariohealth.ca/fhir/eforms/StructureDefinition/option-note-info
                            index: 380
                            extensions:
                              text:
                                url: null
                                index: 381
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 383
                              style:
                                url: null
                                index: 384
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 386
                            elements:
                              extension:
                                index: 381
                                slicing:
                                  slices:
                                    text:
                                      match: {}
                                      schema:
                                        index: 381
                                        elements:
                                          value:
                                            mustSupport: true
                                            choices: []
                                            index: 383
                                    style:
                                      match: {}
                                      schema:
                                        index: 384
                                        elements:
                                          value:
                                            mustSupport: true
                                            choices: []
                                            index: 386
                  value:
                    extensions: {}
                    elements:
                      extension:
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 399
                  valueInteger: {type: integer, mustSupport: true, choiceOf: value, index: 389}
                  valueDate: {type: date, mustSupport: true, choiceOf: value, index: 390}
                  valueTime: {type: time, mustSupport: true, choiceOf: value, index: 391}
                  valueString: {type: string, mustSupport: true, choiceOf: value, index: 392}
                  valueCoding:
                    type: Coding
                    mustSupport: true
                    choiceOf: value
                    index: 396
                    slicing:
                      slices:
                        valueCoding:
                          match: {}
                          schema: {type: Coding, mustSupport: true, choiceOf: value, index: 396}
                          min: 0
                          max: 1
                  value[x]:
                    elements:
                      system: {mustSupport: true, index: 400}
                      code: {mustSupport: true, index: 401}
                      display: {mustSupport: true, index: 402}
                    required: [display, system, code]
              extension:
                type: Extension
                mustSupport: true
                url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression
                index: 253
                slicing:
                  slices:
                    definitionExtractValue:
                      match: {}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue
                        index: 266
                        extensions:
                          definition: {url: null, mustSupport: true, index: 267}
                          expression: {url: null, mustSupport: true, index: 268}
                          fixed-value: {url: null, mustSupport: true, index: 269}
                        elements:
                          extension:
                            mustSupport: true
                            index: 267
                            slicing:
                              slices:
                                definition:
                                  match: {}
                                  schema: {mustSupport: true, index: 267}
                                expression:
                                  match: {}
                                  schema: {mustSupport: true, index: 268}
                                fixed-value:
                                  match: {}
                                  schema: {mustSupport: true, index: 269}
                    definitionExtract:
                      match: {}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract
                        index: 259
                        extensions:
                          definition: {url: null, mustSupport: true, index: 260}
                          fullUrl: {url: null, mustSupport: true, index: 261}
                          ifNoneMatch: {url: null, index: 262}
                          ifModifiedSince: {url: null, index: 263}
                          ifMatch: {url: null, index: 264}
                          ifNoneExist: {url: null, index: 265}
                        elements:
                          extension:
                            mustSupport: true
                            index: 260
                            slicing:
                              slices:
                                definition:
                                  match: {}
                                  schema: {mustSupport: true, index: 260}
                                fullUrl:
                                  match: {}
                                  schema: {mustSupport: true, index: 261}
                                ifNoneMatch:
                                  match: {}
                                  schema: {index: 262}
                                ifModifiedSince:
                                  match: {}
                                  schema: {index: 263}
                                ifMatch:
                                  match: {}
                                  schema: {index: 264}
                                ifNoneExist:
                                  match: {}
                                  schema: {index: 265}
                    answerOptionsToggle:
                      match: {}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression
                        index: 253
                        extensions:
                          option: {url: null, mustSupport: true, index: 254}
                          expression: {url: null, mustSupport: true, index: 255}
                        elements:
                          extension:
                            mustSupport: true
                            index: 254
                            slicing:
                              slices:
                                option:
                                  match: {}
                                  schema: {mustSupport: true, index: 254}
                                expression:
                                  match: {}
                                  schema: {mustSupport: true, index: 255}
                    maxValue:
                      match: {}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/maxValue
                        index: 290
                        elements:
                          value:
                            choices: [valueDate, valueDateTime, valueTime, valueDecimal, valueInteger]
                            index: 292
                          valueDate: {type: date, choiceOf: value, index: 293}
                          valueDateTime: {type: dateTime, choiceOf: value, index: 294}
                          valueTime: {type: time, choiceOf: value, index: 295}
                          valueDecimal: {type: decimal, choiceOf: value, index: 296}
                          valueInteger: {type: integer, choiceOf: value, index: 297}
                    sameLine:
                      match: {}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-same-line
                        index: 324
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 326
                    targetConstraint:
                      match: {}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/targetConstraint
                        index: 317
                        extensions:
                          key: {url: null, mustSupport: true, index: 318}
                          severity:
                            url: null
                            mustSupport: true
                            index: 319
                            elements:
                              value:
                                pattern: {type: Code, value: error}
                                choices: []
                                index: 321
                          expression: {url: null, mustSupport: true, index: 322}
                          human: {url: null, mustSupport: true, index: 323}
                        elements:
                          extension:
                            mustSupport: true
                            index: 318
                            slicing:
                              slices:
                                key:
                                  match: {}
                                  schema: {mustSupport: true, index: 318}
                                severity:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 319
                                    elements:
                                      value:
                                        pattern: {type: Code, value: error}
                                        choices: []
                                        index: 321
                                expression:
                                  match: {}
                                  schema: {mustSupport: true, index: 322}
                                human:
                                  match: {}
                                  schema: {mustSupport: true, index: 323}
                    variable:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/variable', index: 273}
                      min: 0
                    renderStyle:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/rendering-style', index: 258}
                      min: 0
                      max: 1
                    maxOccurs:
                      match: {}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs
                        index: 304
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 306
                    itemControl:
                      match: {}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
                        index: 301
                        elements:
                          value:
                            choices: []
                            index: 303
                    initialExpression:
                      match: {}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
                        index: 279
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 281
                          value[x]:
                            elements:
                              language:
                                pattern: {type: Code, value: text/fhirpath}
                                index: 282
                              expression: {mustSupport: true, index: 283}
                            required: [expression]
                    choiceOrientation:
                      match: {}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation
                        index: 298
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 300
                    itemPopulationContext:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext', index: 271}
                      min: 0
                      max: 1
                    minValue:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/minValue', index: 289}
                      min: 0
                      max: 1
                    minLength:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/minLength', index: 284}
                      min: 0
                      max: 1
                    extractAllocateId:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extractAllocateId', index: 270}
                      min: 0
                    choiceDiagram:
                      match: {}
                      schema:
                        type: Extension
                        url: http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-choice-diagram
                        index: 363
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 365
                    noteInfo:
                      match: {}
                      schema:
                        type: Extension
                        url: http://ontariohealth.ca/fhir/eforms/StructureDefinition/question-note-info
                        index: 327
                        extensions:
                          positiveText:
                            url: null
                            mustSupport: true
                            index: 357
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 359
                          lastSeparator:
                            url: null
                            index: 342
                            elements:
                              value:
                                choices: []
                                index: 344
                          sortIndex:
                            url: null
                            mustSupport: true
                            index: 333
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 335
                          style:
                            url: null
                            index: 345
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 347
                          quoteAnswer:
                            url: null
                            index: 351
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 353
                          enableWhenExpression:
                            url: null
                            index: 328
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 330
                              value[x]:
                                elements:
                                  language: {mustSupport: true, index: 331}
                                  expression: {mustSupport: true, index: 332}
                                required: [expression]
                          ownLine:
                            url: null
                            index: 348
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 350
                          negativeStyle:
                            url: null
                            mustSupport: true
                            index: 360
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 362
                          listSeparator:
                            url: null
                            index: 339
                            elements:
                              value:
                                choices: []
                                index: 341
                          negativeText:
                            url: null
                            mustSupport: true
                            index: 354
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 356
                          text:
                            url: null
                            index: 336
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 338
                        elements:
                          extension:
                            index: 328
                            slicing:
                              slices:
                                positiveText:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 357
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 359
                                lastSeparator:
                                  match: {}
                                  schema:
                                    index: 342
                                    elements:
                                      value:
                                        choices: []
                                        index: 344
                                sortIndex:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 333
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 335
                                style:
                                  match: {}
                                  schema:
                                    index: 345
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 347
                                quoteAnswer:
                                  match: {}
                                  schema:
                                    index: 351
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 353
                                enableWhenExpression:
                                  match: {}
                                  schema:
                                    index: 328
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 330
                                      value[x]:
                                        elements:
                                          language: {mustSupport: true, index: 331}
                                          expression: {mustSupport: true, index: 332}
                                        required: [expression]
                                ownLine:
                                  match: {}
                                  schema:
                                    index: 348
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 350
                                negativeStyle:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 360
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 362
                                listSeparator:
                                  match: {}
                                  schema:
                                    index: 339
                                    elements:
                                      value:
                                        choices: []
                                        index: 341
                                negativeText:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 354
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 356
                                text:
                                  match: {}
                                  schema:
                                    index: 336
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 338
                    supportLink:
                      match: {}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink
                        index: 310
                        elements:
                          value:
                            extensions: {}
                            elements:
                              extension:
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 316
                          value[x]:
                            extensions:
                              uriLabel: {url: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/core-uri-label', min: 0, max: 1, type: Extension, mustSupport: true, index: 314}
                            elements:
                              extension:
                                index: 313
                                slicing:
                                  rules: open
                                  ordered: false
                                  discriminator:
                                  - {path: url, type: value}
                                  min: null
                                  slices:
                                    uriLabel:
                                      match: {url: null}
                                      schema: {type: Extension, mustSupport: true, url: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/core-uri-label', index: 314}
                                      min: 0
                                      max: 1
                    hidden:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-hidden', index: 257}
                      min: 0
                      max: 1
                    minOccurs:
                      match: {}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs
                        index: 307
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 309
                    mimeType:
                      match: {}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/mimeType
                        index: 286
                        elements:
                          value:
                            choices: []
                            index: 288
                    enableWhenExpression:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression', index: 256}
                      min: 0
                      max: 1
                    calculatedExpression:
                      match: {}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression
                        index: 274
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 276
                          value[x]:
                            elements:
                              language:
                                pattern: {type: Code, value: text/fhirpath}
                                index: 277
                              expression: {mustSupport: true, index: 278}
                            required: [expression]
                    maxSize:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/maxSize', index: 285}
                      min: 0
                      max: 1
                    preferredTerminologyServer:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer', index: 272}
                      min: 0
              readOnly: {mustSupport: true, index: 375}
              answerValueSet: {mustSupport: true, index: 377}
              initial:
                mustSupport: true
                index: 403
                elements:
                  valueUri: {type: uri, mustSupport: true, choiceOf: value, index: 413}
                  valueTime: {type: time, mustSupport: true, choiceOf: value, index: 411}
                  valueDecimal: {type: decimal, mustSupport: true, choiceOf: value, index: 407}
                  value:
                    mustSupport: true
                    choices: [valueBoolean, valueDecimal, valueInteger, valueDate, valueDateTime, valueTime, valueString, valueUri, valueCoding]
                    index: 405
                  valueString: {type: string, mustSupport: true, choiceOf: value, index: 412}
                  valueBoolean: {type: boolean, mustSupport: true, choiceOf: value, index: 406}
                  valueDateTime: {type: dateTime, mustSupport: true, choiceOf: value, index: 410}
                  valueDate: {type: date, mustSupport: true, choiceOf: value, index: 409}
                  valueCoding: {type: Coding, mustSupport: true, choiceOf: value, index: 414}
                  valueInteger: {type: integer, mustSupport: true, choiceOf: value, index: 408}
              maxLength: {mustSupport: true, index: 376}
              required: {mustSupport: true, index: 373}
              text:
                extensions:
                  translation:
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    type: Extension
                    mustSupport: true
                    index: 367
                    extensions:
                      lang: {url: null, mustSupport: true, index: 368}
                      content: {url: null, mustSupport: true, index: 369}
                    elements:
                      extension:
                        mustSupport: true
                        index: 368
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema: {mustSupport: true, index: 368}
                            content:
                              match: {}
                              schema: {mustSupport: true, index: 369}
                  renderStyle: {url: 'http://hl7.org/fhir/StructureDefinition/rendering-style', min: 0, max: 1, type: Extension, mustSupport: true, index: 370}
                  xhtml: {url: 'http://hl7.org/fhir/StructureDefinition/rendering-xhtml', min: 0, max: 1, type: Extension, mustSupport: true, index: 371}
                elements:
                  extension:
                    type: Extension
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 367
                    slicing:
                      slices:
                        translation:
                          match: {}
                          schema:
                            type: Extension
                            mustSupport: true
                            url: http://hl7.org/fhir/StructureDefinition/translation
                            index: 367
                            extensions:
                              lang: {url: null, mustSupport: true, index: 368}
                              content: {url: null, mustSupport: true, index: 369}
                            elements:
                              extension:
                                mustSupport: true
                                index: 368
                                slicing:
                                  slices:
                                    lang:
                                      match: {}
                                      schema: {mustSupport: true, index: 368}
                                    content:
                                      match: {}
                                      schema: {mustSupport: true, index: 369}
                        renderStyle:
                          match: {}
                          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/rendering-style', index: 370}
                          min: 0
                          max: 1
                        xhtml:
                          match: {}
                          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/rendering-xhtml', index: 371}
                          min: 0
                          max: 1
  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:
            mustSupport: true
            array: true
            index: 62
            elements:
              code:
                pattern:
                  type: Coding
                  value: {code: focus, system: 'http://terminology.hl7.org/CodeSystem/usage-context-type'}
                index: 63
              value:
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 65
              valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 66}
              value[x]:
                elements:
                  coding:
                    elements:
                      code: {index: 67}
                  text: {mustSupport: true, index: 68}
        topic:
          match:
            code: {code: topic, system: 'http://terminology.hl7.org/CodeSystem/usage-context-type'}
          schema:
            mustSupport: true
            array: true
            index: 69
            elements:
              code:
                pattern:
                  type: Coding
                  value: {code: topic, system: 'http://terminology.hl7.org/CodeSystem/usage-context-type'}
                index: 70
              value:
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 72
              valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 73}
              value[x]:
                elements:
                  text: {mustSupport: true, index: 74}
  copyright: {mustSupport: true, index: 75}
  experimental: {mustSupport: true, index: 54}
  title:
    mustSupport: true
    index: 50
    extensions:
      short-string: {url: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/core-short-string', min: 0, max: 1, type: Extension, mustSupport: true, 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, mustSupport: true, 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
            mustSupport: true
            url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue
            index: 31
            extensions:
              definition:
                url: null
                mustSupport: true
                index: 32
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 34
              expression:
                url: null
                mustSupport: true
                index: 35
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 37
                  value[x]:
                    elements:
                      language:
                        pattern: {type: Code, value: text/fhirpath}
                        index: 38
                      expression: {mustSupport: true, index: 39}
                    required: [expression]
              fixed-value: {url: null, mustSupport: true, index: 40}
            elements:
              extension:
                mustSupport: true
                index: 32
                slicing:
                  slices:
                    definition:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 32
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 34
                    expression:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 35
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 37
                          value[x]:
                            elements:
                              language:
                                pattern: {type: Code, value: text/fhirpath}
                                index: 38
                              expression: {mustSupport: true, index: 39}
                            required: [expression]
                    fixed-value:
                      match: {}
                      schema: {mustSupport: true, index: 40}
        definitionExtract:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract
            index: 24
            extensions:
              definition:
                url: null
                mustSupport: true
                index: 25
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 27
              fullUrl:
                url: null
                mustSupport: true
                index: 28
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 30
            elements:
              extension:
                mustSupport: true
                index: 25
                slicing:
                  slices:
                    definition:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 25
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 27
                    fullUrl:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 28
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 30
        variable:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/variable
            index: 19
            elements:
              value:
                mustSupport: true
                choices: []
                index: 21
              value[x]:
                elements:
                  language: {mustSupport: true, index: 22}
                  expression: {mustSupport: true, index: 23}
                required: [expression]
        launchContext:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            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
            mustSupport: true
            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
            mustSupport: true
            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
        extractAllocateId:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extractAllocateId
            index: 41
            elements:
              value:
                mustSupport: true
                choices: []
                index: 43
        responseRenderingLiquid:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-responseRenderingLiquid
            index: 44
            elements:
              value:
                mustSupport: true
                choices: []
                index: 46
              value[x]:
                elements:
                  reference: {mustSupport: true, index: 47}
                required: [reference]
            required: [value]
  contained: {mustSupport: true, index: 0}
  status:
    pattern: {type: Code, value: active}
    index: 53
  url: {mustSupport: true, index: 48}
  code: {mustSupport: true, index: 80}
  version: {mustSupport: true, index: 49}
  effectivePeriod:
    mustSupport: true
    index: 77
    elements:
      start: {short: When to start using form, mustSupport: true, index: 78}
      end: {short: When to stop using form, mustSupport: true, index: 79}
package_version: 1.0.0-alpha1.0.0
extensions:
  definitionExtractValue:
    url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue
    type: Extension
    mustSupport: true
    index: 31
    extensions:
      definition:
        url: null
        mustSupport: true
        index: 32
        elements:
          value:
            mustSupport: true
            choices: []
            index: 34
      expression:
        url: null
        mustSupport: true
        index: 35
        elements:
          value:
            mustSupport: true
            choices: []
            index: 37
          value[x]:
            elements:
              language:
                pattern: {type: Code, value: text/fhirpath}
                index: 38
              expression: {mustSupport: true, index: 39}
            required: [expression]
      fixed-value: {url: null, mustSupport: true, index: 40}
    elements:
      extension:
        mustSupport: true
        index: 32
        slicing:
          slices:
            definition:
              match: {}
              schema:
                mustSupport: true
                index: 32
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 34
            expression:
              match: {}
              schema:
                mustSupport: true
                index: 35
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 37
                  value[x]:
                    elements:
                      language:
                        pattern: {type: Code, value: text/fhirpath}
                        index: 38
                      expression: {mustSupport: true, index: 39}
                    required: [expression]
            fixed-value:
              match: {}
              schema: {mustSupport: true, index: 40}
  definitionExtract:
    url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract
    type: Extension
    mustSupport: true
    index: 24
    extensions:
      definition:
        url: null
        mustSupport: true
        index: 25
        elements:
          value:
            mustSupport: true
            choices: []
            index: 27
      fullUrl:
        url: null
        mustSupport: true
        index: 28
        elements:
          value:
            mustSupport: true
            choices: []
            index: 30
    elements:
      extension:
        mustSupport: true
        index: 25
        slicing:
          slices:
            definition:
              match: {}
              schema:
                mustSupport: true
                index: 25
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 27
            fullUrl:
              match: {}
              schema:
                mustSupport: true
                index: 28
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 30
  variable:
    url: http://hl7.org/fhir/StructureDefinition/variable
    type: Extension
    mustSupport: true
    index: 19
    elements:
      value:
        mustSupport: true
        choices: []
        index: 21
      value[x]:
        elements:
          language: {mustSupport: true, index: 22}
          expression: {mustSupport: true, index: 23}
        required: [expression]
  launchContext:
    url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext
    type: Extension
    mustSupport: true
    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
    mustSupport: true
    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
    mustSupport: true
    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, type: Extension, index: 11}
  extractAllocateId:
    url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extractAllocateId
    type: Extension
    mustSupport: true
    index: 41
    elements:
      value:
        mustSupport: true
        choices: []
        index: 43
  responseRenderingLiquid:
    url: http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-responseRenderingLiquid
    type: Extension
    mustSupport: true
    index: 44
    elements:
      value:
        mustSupport: true
        choices: []
        index: 46
      value[x]:
        elements:
          reference: {mustSupport: true, 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]