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