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: index: 81 extensions: definitionExtractValue: url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue type: Extension index: 105 extensions: definition: url: null index: 106 elements: value: choices: [] index: 108 expression: url: null index: 109 elements: value: choices: [] index: 111 fixed-value: {url: null, index: 112} elements: extension: index: 106 slicing: slices: definition: match: {} schema: index: 106 elements: value: choices: [] index: 108 expression: match: {} schema: index: 109 elements: value: choices: [] index: 111 fixed-value: match: {} schema: {index: 112} definitionExtract: url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract type: Extension index: 98 extensions: definition: url: null index: 99 elements: value: choices: [] index: 101 fullUrl: url: null index: 102 elements: value: choices: [] index: 104 elements: extension: index: 99 slicing: slices: definition: match: {} schema: index: 99 elements: value: choices: [] index: 101 fullUrl: match: {} schema: index: 102 elements: value: choices: [] index: 104 answerOptionsToggle: url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression type: Extension index: 84 extensions: option: url: null index: 85 elements: value: choices: [] index: 87 expression: {url: null, index: 88} elements: extension: index: 85 slicing: slices: option: match: {} schema: index: 85 elements: value: choices: [] index: 87 expression: match: {} schema: {index: 88} variable: url: http://hl7.org/fhir/StructureDefinition/variable type: Extension index: 122 elements: value: choices: [] index: 124 renderStyle: url: http://hl7.org/fhir/StructureDefinition/rendering-style type: Extension index: 95 elements: value: choices: [] index: 97 itemPopulationContext: url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext type: Extension index: 116 elements: value: choices: [] index: 118 extractAllocateId: url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extractAllocateId type: Extension index: 113 elements: value: 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 index: 92 elements: value: choices: [] index: 94 enableWhenExpression: url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression type: Extension index: 89 elements: value: choices: [] index: 91 required: [value] preferredTerminologyServer: url: http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer type: Extension index: 119 elements: value: 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 url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue index: 105 extensions: definition: url: null index: 106 elements: value: choices: [] index: 108 expression: url: null index: 109 elements: value: choices: [] index: 111 fixed-value: {url: null, index: 112} elements: extension: index: 106 slicing: slices: definition: match: {} schema: index: 106 elements: value: choices: [] index: 108 expression: match: {} schema: index: 109 elements: value: choices: [] index: 111 fixed-value: match: {} schema: {index: 112} definitionExtract: match: {url: null} schema: type: Extension url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract index: 98 extensions: definition: url: null index: 99 elements: value: choices: [] index: 101 fullUrl: url: null index: 102 elements: value: choices: [] index: 104 elements: extension: index: 99 slicing: slices: definition: match: {} schema: index: 99 elements: value: choices: [] index: 101 fullUrl: match: {} schema: index: 102 elements: value: choices: [] index: 104 answerOptionsToggle: match: {url: null} schema: type: Extension url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression index: 84 extensions: option: url: null index: 85 elements: value: choices: [] index: 87 expression: {url: null, index: 88} elements: extension: index: 85 slicing: slices: option: match: {} schema: index: 85 elements: value: choices: [] index: 87 expression: match: {} schema: {index: 88} variable: match: {url: null} schema: type: Extension url: http://hl7.org/fhir/StructureDefinition/variable index: 122 elements: value: choices: [] index: 124 renderStyle: match: {url: null} schema: type: Extension url: http://hl7.org/fhir/StructureDefinition/rendering-style index: 95 elements: value: choices: [] index: 97 itemPopulationContext: match: {url: null} schema: type: Extension url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext index: 116 elements: value: choices: [] index: 118 extractAllocateId: match: {url: null} schema: type: Extension url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extractAllocateId index: 113 elements: value: 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 url: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden index: 92 elements: value: choices: [] index: 94 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] preferredTerminologyServer: match: {url: null} schema: type: Extension url: http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer index: 119 elements: value: choices: [] index: 121 linkId: {index: 125} definition: {index: 126} text: index: 127 extensions: translation: url: http://hl7.org/fhir/StructureDefinition/translation type: Extension index: 129 extensions: lang: url: null index: 130 elements: value: choices: [] index: 132 content: url: null index: 133 elements: value: choices: [valueString] index: 135 valueString: {type: string, choiceOf: value, index: 136} elements: extension: index: 130 slicing: slices: lang: match: {} schema: index: 130 elements: value: choices: [] index: 132 content: match: {} schema: 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 index: 137 elements: value: choices: [] index: 139 xhtml: url: http://hl7.org/fhir/StructureDefinition/rendering-xhtml type: Extension index: 140 elements: value: 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 url: http://hl7.org/fhir/StructureDefinition/translation index: 129 extensions: lang: url: null index: 130 elements: value: choices: [] index: 132 content: url: null index: 133 elements: value: choices: [valueString] index: 135 valueString: {type: string, choiceOf: value, index: 136} elements: extension: index: 130 slicing: slices: lang: match: {} schema: index: 130 elements: value: choices: [] index: 132 content: match: {} schema: index: 133 elements: value: choices: [valueString] index: 135 valueString: {type: string, choiceOf: value, index: 136} renderStyle: match: {url: null} schema: type: Extension url: http://hl7.org/fhir/StructureDefinition/rendering-style index: 137 elements: value: choices: [] index: 139 xhtml: match: {url: null} schema: type: Extension url: http://hl7.org/fhir/StructureDefinition/rendering-xhtml index: 140 elements: value: choices: [] index: 142 enableWhen: index: 143 elements: answerDecimal: {type: decimal, choiceOf: answer, index: 149} answerDate: {type: date, choiceOf: answer, index: 151} answerInteger: {type: integer, choiceOf: answer, index: 150} question: {index: 144} answerDateTime: {type: dateTime, choiceOf: answer, index: 152} answer: choices: [answerBoolean, answerDecimal, answerInteger, answerDate, answerDateTime, answerTime, answerString, answerCoding] index: 147 answerString: {type: string, choiceOf: answer, index: 154} operator: {index: 145} answerBoolean: {type: boolean, choiceOf: answer, index: 148} answerCoding: {type: Coding, choiceOf: answer, index: 155} answerTime: {type: time, choiceOf: answer, index: 153} required: [text] slicing: rules: closed discriminator: - {path: type, type: value} min: null slices: group: match: {type: group} schema: array: true index: 156 extensions: definitionExtractValue: url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue type: Extension index: 170 extensions: definition: {url: null, index: 171} expression: {url: null, index: 172} fixed-value: {url: null, index: 173} elements: extension: index: 171 slicing: slices: definition: match: {} schema: {index: 171} expression: match: {} schema: {index: 172} fixed-value: match: {} schema: {index: 173} definitionExtract: url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract type: Extension index: 163 extensions: definition: {url: null, index: 164} fullUrl: {url: null, index: 165} ifNoneMatch: {url: null, index: 166} ifModifiedSince: {url: null, index: 167} ifMatch: {url: null, index: 168} ifNoneExist: {url: null, index: 169} elements: extension: index: 164 slicing: slices: definition: match: {} schema: {index: 164} fullUrl: match: {} schema: {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 index: 157 extensions: option: {url: null, index: 158} expression: {url: null, index: 159} elements: extension: index: 158 slicing: slices: option: match: {} schema: {index: 158} expression: match: {} schema: {index: 159} targetConstraint: url: http://hl7.org/fhir/StructureDefinition/targetConstraint type: Extension index: 184 extensions: key: {url: null, index: 185} severity: url: null index: 186 elements: value: pattern: {type: Code, value: error} choices: [] index: 188 expression: {url: null, index: 189} human: {url: null, index: 190} elements: extension: index: 185 slicing: slices: key: match: {} schema: {index: 185} severity: match: {} schema: index: 186 elements: value: pattern: {type: Code, value: error} choices: [] index: 188 expression: match: {} schema: {index: 189} human: match: {} schema: {index: 190} variable: {url: 'http://hl7.org/fhir/StructureDefinition/variable', min: 0, type: Extension, index: 177} renderStyle: {url: 'http://hl7.org/fhir/StructureDefinition/rendering-style', min: 0, max: 1, type: Extension, index: 162} collapsible: url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-collapsible type: Extension index: 178 elements: value: choices: [] index: 180 required: [value] itemControl: url: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl type: Extension 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, index: 175} extractAllocateId: {url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extractAllocateId', min: 0, type: Extension, 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: choices: [] index: 194 value[x]: elements: language: {index: 195} expression: {index: 196} required: [expression] sortIndex: url: null index: 197 elements: value: choices: [] index: 199 text: url: null index: 200 elements: value: 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: choices: [] index: 211 groupItems: url: null index: 212 elements: value: choices: [] index: 214 elements: extension: index: 192 slicing: slices: enableWhenExpression: match: {} schema: index: 192 elements: value: choices: [] index: 194 value[x]: elements: language: {index: 195} expression: {index: 196} required: [expression] sortIndex: match: {} schema: index: 197 elements: value: choices: [] index: 199 text: match: {} schema: index: 200 elements: value: 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: choices: [] index: 211 groupItems: match: {} schema: index: 212 elements: value: choices: [] index: 214 hidden: {url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-hidden', min: 0, max: 1, type: Extension, index: 161} enableWhenExpression: {url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression', min: 0, max: 1, type: Extension, index: 160} preferredTerminologyServer: {url: 'http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer', min: 0, type: Extension, index: 176} elements: extension: type: Extension url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression index: 157 slicing: slices: definitionExtractValue: match: {} schema: type: Extension url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue index: 170 extensions: definition: {url: null, index: 171} expression: {url: null, index: 172} fixed-value: {url: null, index: 173} elements: extension: index: 171 slicing: slices: definition: match: {} schema: {index: 171} expression: match: {} schema: {index: 172} fixed-value: match: {} schema: {index: 173} definitionExtract: match: {} schema: type: Extension url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract index: 163 extensions: definition: {url: null, index: 164} fullUrl: {url: null, index: 165} ifNoneMatch: {url: null, index: 166} ifModifiedSince: {url: null, index: 167} ifMatch: {url: null, index: 168} ifNoneExist: {url: null, index: 169} elements: extension: index: 164 slicing: slices: definition: match: {} schema: {index: 164} fullUrl: match: {} schema: {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 url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression index: 157 extensions: option: {url: null, index: 158} expression: {url: null, index: 159} elements: extension: index: 158 slicing: slices: option: match: {} schema: {index: 158} expression: match: {} schema: {index: 159} targetConstraint: match: {} schema: type: Extension url: http://hl7.org/fhir/StructureDefinition/targetConstraint index: 184 extensions: key: {url: null, index: 185} severity: url: null index: 186 elements: value: pattern: {type: Code, value: error} choices: [] index: 188 expression: {url: null, index: 189} human: {url: null, index: 190} elements: extension: index: 185 slicing: slices: key: match: {} schema: {index: 185} severity: match: {} schema: index: 186 elements: value: pattern: {type: Code, value: error} choices: [] index: 188 expression: match: {} schema: {index: 189} human: match: {} schema: {index: 190} variable: match: {} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/variable', index: 177} min: 0 renderStyle: match: {} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/rendering-style', index: 162} min: 0 max: 1 collapsible: match: {} schema: type: Extension url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-collapsible index: 178 elements: value: choices: [] index: 180 required: [value] itemControl: match: {} schema: type: Extension url: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl index: 181 elements: value: choices: [] index: 183 itemPopulationContext: match: {} schema: {type: Extension, url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext', index: 175} min: 0 max: 1 extractAllocateId: match: {} schema: {type: Extension, 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: choices: [] index: 194 value[x]: elements: language: {index: 195} expression: {index: 196} required: [expression] sortIndex: url: null index: 197 elements: value: choices: [] index: 199 text: url: null index: 200 elements: value: 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: choices: [] index: 211 groupItems: url: null index: 212 elements: value: choices: [] index: 214 elements: extension: index: 192 slicing: slices: enableWhenExpression: match: {} schema: index: 192 elements: value: choices: [] index: 194 value[x]: elements: language: {index: 195} expression: {index: 196} required: [expression] sortIndex: match: {} schema: index: 197 elements: value: choices: [] index: 199 text: match: {} schema: index: 200 elements: value: 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: choices: [] index: 211 groupItems: match: {} schema: index: 212 elements: value: choices: [] index: 214 hidden: match: {} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-hidden', index: 161} min: 0 max: 1 enableWhenExpression: match: {} schema: {type: Extension, url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression', index: 160} min: 0 max: 1 preferredTerminologyServer: match: {} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer', index: 176} min: 0 text: extensions: translation: url: http://hl7.org/fhir/StructureDefinition/translation type: Extension index: 215 extensions: lang: {url: null, index: 216} content: {url: null, index: 217} elements: extension: index: 216 slicing: slices: lang: match: {} schema: {index: 216} content: match: {} schema: {index: 217} renderStyle: {url: 'http://hl7.org/fhir/StructureDefinition/rendering-style', min: 0, max: 1, type: Extension, index: 218} xhtml: {url: 'http://hl7.org/fhir/StructureDefinition/rendering-xhtml', min: 0, max: 1, type: Extension, index: 219} elements: extension: type: Extension url: http://hl7.org/fhir/StructureDefinition/translation index: 215 slicing: slices: translation: match: {} schema: type: Extension url: http://hl7.org/fhir/StructureDefinition/translation index: 215 extensions: lang: {url: null, index: 216} content: {url: null, index: 217} elements: extension: index: 216 slicing: slices: lang: match: {} schema: {index: 216} content: match: {} schema: {index: 217} renderStyle: match: {} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/rendering-style', index: 218} min: 0 max: 1 xhtml: match: {} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/rendering-xhtml', index: 219} min: 0 max: 1 type: pattern: {type: Code, value: group} index: 220 required: {index: 221} repeats: {index: 222} item: {index: 223} display: match: {type: display} schema: array: true index: 224 extensions: enableWhenExpression: {url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression', min: 0, max: 1, type: Extension, index: 225} hidden: {url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-hidden', min: 0, max: 1, type: Extension, index: 226} renderStyle: {url: 'http://hl7.org/fhir/StructureDefinition/rendering-style', min: 0, max: 1, type: Extension, index: 227} preferredTerminologyServer: {url: 'http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer', min: 0, type: Extension, index: 228} variable: {url: 'http://hl7.org/fhir/StructureDefinition/variable', min: 0, type: Extension, index: 229} elements: extension: type: Extension url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression index: 225 slicing: slices: enableWhenExpression: match: {} schema: {type: Extension, url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression', index: 225} min: 0 max: 1 hidden: match: {} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-hidden', index: 226} min: 0 max: 1 renderStyle: match: {} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/rendering-style', index: 227} min: 0 max: 1 preferredTerminologyServer: match: {} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer', index: 228} min: 0 variable: match: {} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/variable', index: 229} min: 0 text: extensions: translation: url: http://hl7.org/fhir/StructureDefinition/translation type: Extension index: 230 extensions: lang: {url: null, index: 231} content: {url: null, index: 232} elements: extension: index: 231 slicing: slices: lang: match: {} schema: {index: 231} content: match: {} schema: {index: 232} renderStyle: {url: 'http://hl7.org/fhir/StructureDefinition/rendering-style', min: 0, max: 1, type: Extension, index: 233} xhtml: {url: 'http://hl7.org/fhir/StructureDefinition/rendering-xhtml', min: 0, max: 1, type: Extension, index: 234} elements: extension: type: Extension url: http://hl7.org/fhir/StructureDefinition/translation index: 230 slicing: slices: translation: match: {} schema: type: Extension url: http://hl7.org/fhir/StructureDefinition/translation index: 230 extensions: lang: {url: null, index: 231} content: {url: null, index: 232} elements: extension: index: 231 slicing: slices: lang: match: {} schema: {index: 231} content: match: {} schema: {index: 232} renderStyle: match: {} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/rendering-style', index: 233} min: 0 max: 1 xhtml: match: {} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/rendering-xhtml', index: 234} min: 0 max: 1 type: pattern: {type: Code, value: display} index: 235 question: match: {type: null} schema: constraint: onq-1: {human: minLength and maxLength are only allowed when type is string or text, source: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-questionnaire', severity: error, expression: 'extension(''http://hl7.org/fhir/StructureDefinition/minLength'').exists() or maxLength.exists() implies type=''string'' or type=''text'''} onq-2: {human: maxSize and mimeType are only permitted when type is 'attachment', source: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-questionnaire', severity: error, expression: 'extension(''http://hl7.org/fhir/StructureDefinition/maxSize'').exists() or extension(''http://hl7.org/fhir/StructureDefinition/maxSize'').exists() implies type=''attachment'''} onq-3: {human: maxSize and mimeType SHOULD both be declared when type is 'attachment', source: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-questionnaire', severity: warning, expression: 'type=''attachment'' implies extension(''http://hl7.org/fhir/StructureDefinition/maxSize'').exists() and extension(''http://hl7.org/fhir/StructureDefinition/maxSize'').exists()'} onq-4: {human: 'minValue and maxValue are only permitted when type is date, dateTime, decimal, integer, or time', source: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-questionnaire', severity: error, expression: 'extension(''http://hl7.org/fhir/StructureDefinition/minValue'').exists() or extension(''http://hl7.org/fhir/StructureDefinition/maxValue'').exists() implies type=''date'' or type=''dateTime'' or type=''decimal'' or type=''integer'' or type=''time'''} onq-5: {human: 'minValue and maxValue SHOULD be specified when type is date, dateTime, decimal, or integer', source: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-questionnaire', severity: warning, expression: 'type=''date'' or type=''dateTime'' or type=''decimal'' or type=''integer'' or type=''time'' implies extension(''http://hl7.org/fhir/StructureDefinition/minValue'').exists() and extension(''http://hl7.org/fhir/StructureDefinition/maxValue'').exists()'} onq-6: {human: choice orientation and item control are only permitted when there are options or a value set, source: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-questionnaire', severity: error, expression: '(extension(''http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation'').exists() or extension(''http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl'').exists()) implies (answerOption.exists() or answerValueSet.exists())'} onq-7: {human: minOccurs and maxOccurs are only permitted when repeats=true, source: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-questionnaire', severity: error, expression: '(extension(''http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs'').exists() or extension(''http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs'').exists()) implies repeats'} onq-8: {human: negativeStyle and negativeText question note extensions are only permitted for boolean questions, source: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-questionnaire', severity: error, expression: 'type!=''boolean'' implies extension(''http://ontariohealth.ca/fhir/eforms/StructureDefinition/question-note-info'').exists(extension(''negativeStyle'') or extension(''negativeText'').not())'} array: true index: 236 extensions: definitionExtractValue: url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue type: Extension index: 250 extensions: definition: {url: null, index: 251} expression: {url: null, index: 252} fixed-value: {url: null, index: 253} elements: extension: index: 251 slicing: slices: definition: match: {} schema: {index: 251} expression: match: {} schema: {index: 252} fixed-value: match: {} schema: {index: 253} definitionExtract: url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract type: Extension index: 243 extensions: definition: {url: null, index: 244} fullUrl: {url: null, index: 245} ifNoneMatch: {url: null, index: 246} ifModifiedSince: {url: null, index: 247} ifMatch: {url: null, index: 248} ifNoneExist: {url: null, index: 249} elements: extension: index: 244 slicing: slices: definition: match: {} schema: {index: 244} fullUrl: match: {} schema: {index: 245} ifNoneMatch: match: {} schema: {index: 246} ifModifiedSince: match: {} schema: {index: 247} ifMatch: match: {} schema: {index: 248} ifNoneExist: match: {} schema: {index: 249} answerOptionsToggle: url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression type: Extension index: 237 extensions: option: {url: null, index: 238} expression: {url: null, index: 239} elements: extension: index: 238 slicing: slices: option: match: {} schema: {index: 238} expression: match: {} schema: {index: 239} maxValue: url: http://hl7.org/fhir/StructureDefinition/maxValue type: Extension index: 274 elements: value: choices: [valueDate, valueDateTime, valueTime, valueDecimal, valueInteger] index: 276 valueDate: {type: date, choiceOf: value, index: 277} valueDateTime: {type: dateTime, choiceOf: value, index: 278} valueTime: {type: time, choiceOf: value, index: 279} valueDecimal: {type: decimal, choiceOf: value, index: 280} valueInteger: {type: integer, choiceOf: value, index: 281} sameLine: url: http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-same-line type: Extension index: 308 elements: value: choices: [] index: 310 targetConstraint: url: http://hl7.org/fhir/StructureDefinition/targetConstraint type: Extension index: 301 extensions: key: {url: null, index: 302} severity: url: null index: 303 elements: value: pattern: {type: Code, value: error} choices: [] index: 305 expression: {url: null, index: 306} human: {url: null, index: 307} elements: extension: index: 302 slicing: slices: key: match: {} schema: {index: 302} severity: match: {} schema: index: 303 elements: value: pattern: {type: Code, value: error} choices: [] index: 305 expression: match: {} schema: {index: 306} human: match: {} schema: {index: 307} variable: {url: 'http://hl7.org/fhir/StructureDefinition/variable', min: 0, type: Extension, index: 257} renderStyle: {url: 'http://hl7.org/fhir/StructureDefinition/rendering-style', min: 0, max: 1, type: Extension, index: 242} maxOccurs: url: http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs type: Extension index: 288 elements: value: choices: [] index: 290 itemControl: url: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl type: Extension index: 285 elements: value: choices: [] index: 287 initialExpression: url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression type: Extension index: 263 elements: value: choices: [] index: 265 value[x]: elements: language: pattern: {type: Code, value: text/fhirpath} index: 266 expression: {index: 267} required: [expression] choiceOrientation: url: http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation type: Extension index: 282 elements: value: choices: [] index: 284 itemPopulationContext: {url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext', min: 0, max: 1, type: Extension, index: 255} minValue: {url: 'http://hl7.org/fhir/StructureDefinition/minValue', min: 0, max: 1, type: Extension, index: 273} minLength: {url: 'http://hl7.org/fhir/StructureDefinition/minLength', min: 0, max: 1, type: Extension, index: 268} extractAllocateId: {url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extractAllocateId', min: 0, type: Extension, index: 254} choiceDiagram: url: http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-choice-diagram type: Extension index: 347 elements: value: choices: [] index: 349 noteInfo: url: http://ontariohealth.ca/fhir/eforms/StructureDefinition/question-note-info type: Extension index: 311 extensions: positiveText: url: null index: 341 elements: value: choices: [] index: 343 lastSeparator: url: null index: 326 elements: value: choices: [] index: 328 sortIndex: url: null index: 317 elements: value: choices: [] index: 319 style: url: null index: 329 elements: value: choices: [] index: 331 quoteAnswer: url: null index: 335 elements: value: choices: [] index: 337 enableWhenExpression: url: null index: 312 elements: value: choices: [] index: 314 value[x]: elements: language: {index: 315} expression: {index: 316} required: [expression] ownLine: url: null index: 332 elements: value: choices: [] index: 334 negativeStyle: url: null index: 344 elements: value: choices: [] index: 346 listSeparator: url: null index: 323 elements: value: choices: [] index: 325 negativeText: url: null index: 338 elements: value: choices: [] index: 340 text: url: null index: 320 elements: value: choices: [] index: 322 elements: extension: index: 312 slicing: slices: positiveText: match: {} schema: index: 341 elements: value: choices: [] index: 343 lastSeparator: match: {} schema: index: 326 elements: value: choices: [] index: 328 sortIndex: match: {} schema: index: 317 elements: value: choices: [] index: 319 style: match: {} schema: index: 329 elements: value: choices: [] index: 331 quoteAnswer: match: {} schema: index: 335 elements: value: choices: [] index: 337 enableWhenExpression: match: {} schema: index: 312 elements: value: choices: [] index: 314 value[x]: elements: language: {index: 315} expression: {index: 316} required: [expression] ownLine: match: {} schema: index: 332 elements: value: choices: [] index: 334 negativeStyle: match: {} schema: index: 344 elements: value: choices: [] index: 346 listSeparator: match: {} schema: index: 323 elements: value: choices: [] index: 325 negativeText: match: {} schema: index: 338 elements: value: choices: [] index: 340 text: match: {} schema: index: 320 elements: value: choices: [] index: 322 supportLink: url: http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink type: Extension index: 294 elements: value: extensions: {} elements: extension: elements: value: choices: [] index: 300 value[x]: extensions: uriLabel: {url: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/core-uri-label', min: 0, max: 1, type: Extension, index: 298} elements: extension: index: 297 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: uriLabel: match: {url: null} schema: {type: Extension, url: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/core-uri-label', index: 298} min: 0 max: 1 hidden: {url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-hidden', min: 0, max: 1, type: Extension, index: 241} minOccurs: url: http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs type: Extension index: 291 elements: value: choices: [] index: 293 mimeType: url: http://hl7.org/fhir/StructureDefinition/mimeType type: Extension index: 270 elements: value: choices: [] index: 272 enableWhenExpression: {url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression', min: 0, max: 1, type: Extension, index: 240} calculatedExpression: url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression type: Extension index: 258 elements: value: choices: [] index: 260 value[x]: elements: language: pattern: {type: Code, value: text/fhirpath} index: 261 expression: {index: 262} required: [expression] maxSize: {url: 'http://hl7.org/fhir/StructureDefinition/maxSize', min: 0, max: 1, type: Extension, index: 269} preferredTerminologyServer: {url: 'http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer', min: 0, type: Extension, index: 256} elements: definition: {index: 350} repeats: {index: 358} type: binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/eforms/ValueSet/question-item-type'} index: 356 answerOption: index: 362 extensions: noteInfo: url: http://ontariohealth.ca/fhir/eforms/StructureDefinition/option-note-info type: Extension index: 364 extensions: text: url: null index: 365 elements: value: choices: [] index: 367 style: url: null index: 368 elements: value: choices: [] index: 370 elements: extension: index: 365 slicing: slices: text: match: {} schema: index: 365 elements: value: choices: [] index: 367 style: match: {} schema: index: 368 elements: value: choices: [] index: 370 elements: extension: index: 363 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: noteInfo: match: {url: null} schema: type: Extension url: http://ontariohealth.ca/fhir/eforms/StructureDefinition/option-note-info index: 364 extensions: text: url: null index: 365 elements: value: choices: [] index: 367 style: url: null index: 368 elements: value: choices: [] index: 370 elements: extension: index: 365 slicing: slices: text: match: {} schema: index: 365 elements: value: choices: [] index: 367 style: match: {} schema: index: 368 elements: value: choices: [] index: 370 value: extensions: {} elements: extension: elements: value: choices: [] index: 383 valueInteger: {type: integer, choiceOf: value, index: 373} valueDate: {type: date, choiceOf: value, index: 374} valueTime: {type: time, choiceOf: value, index: 375} valueString: {type: string, choiceOf: value, index: 376} valueCoding: type: Coding choiceOf: value index: 380 slicing: slices: valueCoding: match: {} schema: {type: Coding, choiceOf: value, index: 380} min: 0 max: 1 value[x]: elements: system: {index: 384} code: {index: 385} display: {index: 386} required: [display, system, code] extension: type: Extension url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression index: 237 slicing: slices: definitionExtractValue: match: {} schema: type: Extension url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue index: 250 extensions: definition: {url: null, index: 251} expression: {url: null, index: 252} fixed-value: {url: null, index: 253} elements: extension: index: 251 slicing: slices: definition: match: {} schema: {index: 251} expression: match: {} schema: {index: 252} fixed-value: match: {} schema: {index: 253} definitionExtract: match: {} schema: type: Extension url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract index: 243 extensions: definition: {url: null, index: 244} fullUrl: {url: null, index: 245} ifNoneMatch: {url: null, index: 246} ifModifiedSince: {url: null, index: 247} ifMatch: {url: null, index: 248} ifNoneExist: {url: null, index: 249} elements: extension: index: 244 slicing: slices: definition: match: {} schema: {index: 244} fullUrl: match: {} schema: {index: 245} ifNoneMatch: match: {} schema: {index: 246} ifModifiedSince: match: {} schema: {index: 247} ifMatch: match: {} schema: {index: 248} ifNoneExist: match: {} schema: {index: 249} answerOptionsToggle: match: {} schema: type: Extension url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression index: 237 extensions: option: {url: null, index: 238} expression: {url: null, index: 239} elements: extension: index: 238 slicing: slices: option: match: {} schema: {index: 238} expression: match: {} schema: {index: 239} maxValue: match: {} schema: type: Extension url: http://hl7.org/fhir/StructureDefinition/maxValue index: 274 elements: value: choices: [valueDate, valueDateTime, valueTime, valueDecimal, valueInteger] index: 276 valueDate: {type: date, choiceOf: value, index: 277} valueDateTime: {type: dateTime, choiceOf: value, index: 278} valueTime: {type: time, choiceOf: value, index: 279} valueDecimal: {type: decimal, choiceOf: value, index: 280} valueInteger: {type: integer, choiceOf: value, index: 281} sameLine: match: {} schema: type: Extension url: http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-same-line index: 308 elements: value: choices: [] index: 310 targetConstraint: match: {} schema: type: Extension url: http://hl7.org/fhir/StructureDefinition/targetConstraint index: 301 extensions: key: {url: null, index: 302} severity: url: null index: 303 elements: value: pattern: {type: Code, value: error} choices: [] index: 305 expression: {url: null, index: 306} human: {url: null, index: 307} elements: extension: index: 302 slicing: slices: key: match: {} schema: {index: 302} severity: match: {} schema: index: 303 elements: value: pattern: {type: Code, value: error} choices: [] index: 305 expression: match: {} schema: {index: 306} human: match: {} schema: {index: 307} variable: match: {} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/variable', index: 257} min: 0 renderStyle: match: {} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/rendering-style', index: 242} min: 0 max: 1 maxOccurs: match: {} schema: type: Extension url: http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs index: 288 elements: value: choices: [] index: 290 itemControl: match: {} schema: type: Extension url: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl index: 285 elements: value: choices: [] index: 287 initialExpression: match: {} schema: type: Extension url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression index: 263 elements: value: choices: [] index: 265 value[x]: elements: language: pattern: {type: Code, value: text/fhirpath} index: 266 expression: {index: 267} required: [expression] choiceOrientation: match: {} schema: type: Extension url: http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation index: 282 elements: value: choices: [] index: 284 itemPopulationContext: match: {} schema: {type: Extension, url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext', index: 255} min: 0 max: 1 minValue: match: {} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/minValue', index: 273} min: 0 max: 1 minLength: match: {} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/minLength', index: 268} min: 0 max: 1 extractAllocateId: match: {} schema: {type: Extension, url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extractAllocateId', index: 254} min: 0 choiceDiagram: match: {} schema: type: Extension url: http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-choice-diagram index: 347 elements: value: choices: [] index: 349 noteInfo: match: {} schema: type: Extension url: http://ontariohealth.ca/fhir/eforms/StructureDefinition/question-note-info index: 311 extensions: positiveText: url: null index: 341 elements: value: choices: [] index: 343 lastSeparator: url: null index: 326 elements: value: choices: [] index: 328 sortIndex: url: null index: 317 elements: value: choices: [] index: 319 style: url: null index: 329 elements: value: choices: [] index: 331 quoteAnswer: url: null index: 335 elements: value: choices: [] index: 337 enableWhenExpression: url: null index: 312 elements: value: choices: [] index: 314 value[x]: elements: language: {index: 315} expression: {index: 316} required: [expression] ownLine: url: null index: 332 elements: value: choices: [] index: 334 negativeStyle: url: null index: 344 elements: value: choices: [] index: 346 listSeparator: url: null index: 323 elements: value: choices: [] index: 325 negativeText: url: null index: 338 elements: value: choices: [] index: 340 text: url: null index: 320 elements: value: choices: [] index: 322 elements: extension: index: 312 slicing: slices: positiveText: match: {} schema: index: 341 elements: value: choices: [] index: 343 lastSeparator: match: {} schema: index: 326 elements: value: choices: [] index: 328 sortIndex: match: {} schema: index: 317 elements: value: choices: [] index: 319 style: match: {} schema: index: 329 elements: value: choices: [] index: 331 quoteAnswer: match: {} schema: index: 335 elements: value: choices: [] index: 337 enableWhenExpression: match: {} schema: index: 312 elements: value: choices: [] index: 314 value[x]: elements: language: {index: 315} expression: {index: 316} required: [expression] ownLine: match: {} schema: index: 332 elements: value: choices: [] index: 334 negativeStyle: match: {} schema: index: 344 elements: value: choices: [] index: 346 listSeparator: match: {} schema: index: 323 elements: value: choices: [] index: 325 negativeText: match: {} schema: index: 338 elements: value: choices: [] index: 340 text: match: {} schema: index: 320 elements: value: choices: [] index: 322 supportLink: match: {} schema: type: Extension url: http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink index: 294 elements: value: extensions: {} elements: extension: elements: value: choices: [] index: 300 value[x]: extensions: uriLabel: {url: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/core-uri-label', min: 0, max: 1, type: Extension, index: 298} elements: extension: index: 297 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: uriLabel: match: {url: null} schema: {type: Extension, url: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/core-uri-label', index: 298} min: 0 max: 1 hidden: match: {} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-hidden', index: 241} min: 0 max: 1 minOccurs: match: {} schema: type: Extension url: http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs index: 291 elements: value: choices: [] index: 293 mimeType: match: {} schema: type: Extension url: http://hl7.org/fhir/StructureDefinition/mimeType index: 270 elements: value: choices: [] index: 272 enableWhenExpression: match: {} schema: {type: Extension, url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression', index: 240} min: 0 max: 1 calculatedExpression: match: {} schema: type: Extension url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression index: 258 elements: value: choices: [] index: 260 value[x]: elements: language: pattern: {type: Code, value: text/fhirpath} index: 261 expression: {index: 262} required: [expression] maxSize: match: {} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/maxSize', index: 269} min: 0 max: 1 preferredTerminologyServer: match: {} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer', index: 256} min: 0 readOnly: {index: 359} answerValueSet: {index: 361} initial: index: 387 elements: valueUri: {type: uri, choiceOf: value, index: 397} valueTime: {type: time, choiceOf: value, index: 395} valueDecimal: {type: decimal, choiceOf: value, index: 391} value: choices: [valueBoolean, valueDecimal, valueInteger, valueDate, valueDateTime, valueTime, valueString, valueUri, valueCoding] index: 389 valueString: {type: string, choiceOf: value, index: 396} valueBoolean: {type: boolean, choiceOf: value, index: 390} valueDateTime: {type: dateTime, choiceOf: value, index: 394} valueDate: {type: date, choiceOf: value, index: 393} valueCoding: {type: Coding, choiceOf: value, index: 398} valueInteger: {type: integer, choiceOf: value, index: 392} maxLength: {index: 360} required: {index: 357} text: extensions: translation: url: http://hl7.org/fhir/StructureDefinition/translation type: Extension index: 351 extensions: lang: {url: null, index: 352} content: {url: null, index: 353} elements: extension: index: 352 slicing: slices: lang: match: {} schema: {index: 352} content: match: {} schema: {index: 353} renderStyle: {url: 'http://hl7.org/fhir/StructureDefinition/rendering-style', min: 0, max: 1, type: Extension, index: 354} xhtml: {url: 'http://hl7.org/fhir/StructureDefinition/rendering-xhtml', min: 0, max: 1, type: Extension, index: 355} elements: extension: type: Extension url: http://hl7.org/fhir/StructureDefinition/translation index: 351 slicing: slices: translation: match: {} schema: type: Extension url: http://hl7.org/fhir/StructureDefinition/translation index: 351 extensions: lang: {url: null, index: 352} content: {url: null, index: 353} elements: extension: index: 352 slicing: slices: lang: match: {} schema: {index: 352} content: match: {} schema: {index: 353} renderStyle: match: {} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/rendering-style', index: 354} min: 0 max: 1 xhtml: match: {} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/rendering-xhtml', index: 355} 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: array: true index: 62 elements: code: pattern: type: Coding value: {code: focus, system: 'http://terminology.hl7.org/CodeSystem/usage-context-type'} index: 63 value: choices: [valueCodeableConcept] index: 65 valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 66} value[x]: elements: coding: elements: code: {index: 67} text: {index: 68} topic: match: code: {code: topic, system: 'http://terminology.hl7.org/CodeSystem/usage-context-type'} schema: array: true index: 69 elements: code: pattern: type: Coding value: {code: topic, system: 'http://terminology.hl7.org/CodeSystem/usage-context-type'} index: 70 value: choices: [valueCodeableConcept] index: 72 valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 73} value[x]: elements: text: {index: 74} copyright: {index: 75} experimental: {index: 54} title: index: 50 extensions: short-string: {url: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/core-short-string', min: 0, max: 1, type: Extension, index: 52} elements: extension: index: 51 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: short-string: match: {url: null} schema: {type: Extension, url: 'http://ontariohealth.ca/fhir/eforms/StructureDefinition/core-short-string', index: 52} min: 0 max: 1 extension: array: true min: 2 index: 1 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: 2 slices: definitionExtractValue: match: {url: null} schema: type: Extension url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue index: 31 extensions: definition: url: null index: 32 elements: value: choices: [] index: 34 expression: url: null index: 35 elements: value: choices: [] index: 37 value[x]: elements: language: pattern: {type: Code, value: text/fhirpath} index: 38 expression: {index: 39} required: [expression] fixed-value: {url: null, index: 40} elements: extension: index: 32 slicing: slices: definition: match: {} schema: index: 32 elements: value: choices: [] index: 34 expression: match: {} schema: index: 35 elements: value: choices: [] index: 37 value[x]: elements: language: pattern: {type: Code, value: text/fhirpath} index: 38 expression: {index: 39} required: [expression] fixed-value: match: {} schema: {index: 40} definitionExtract: match: {url: null} schema: type: Extension url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract index: 24 extensions: definition: url: null index: 25 elements: value: choices: [] index: 27 fullUrl: url: null index: 28 elements: value: choices: [] index: 30 elements: extension: index: 25 slicing: slices: definition: match: {} schema: index: 25 elements: value: choices: [] index: 27 fullUrl: match: {} schema: index: 28 elements: value: choices: [] index: 30 variable: match: {url: null} schema: type: Extension url: http://hl7.org/fhir/StructureDefinition/variable index: 19 elements: value: choices: [] index: 21 value[x]: elements: language: {index: 22} expression: {index: 23} required: [expression] launchContext: match: {url: null} schema: type: Extension url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext index: 12 extensions: name: url: null index: 13 elements: value: choices: [] index: 15 type: url: null index: 16 elements: value: choices: [] index: 18 elements: extension: index: 13 slicing: slices: name: match: {} schema: index: 13 elements: value: choices: [] index: 15 type: match: {} schema: index: 16 elements: value: choices: [] index: 18 versionAlgorithm: match: {url: null} schema: type: Extension url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm index: 2 elements: value: choices: [] index: 4 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: valueCoding: match: {} schema: pattern: type: Coding value: {code: semver, system: 'http://hl7.org/fhir/version-algorithm'} choices: [valueCoding] index: 6 min: 0 max: 1 valueCoding: type: Coding pattern: type: Coding value: {code: semver, system: 'http://hl7.org/fhir/version-algorithm'} choiceOf: value index: 7 slicing: slices: valueCoding: match: {} schema: type: Coding pattern: type: Coding value: {code: semver, system: 'http://hl7.org/fhir/version-algorithm'} choiceOf: value index: 7 min: 0 max: 1 entryMode: match: {url: null} schema: type: Extension url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-entryMode index: 8 elements: value: pattern: {type: Code, value: random} choices: [] index: 10 assembledFrom: match: {url: null} schema: {type: Extension, url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom', index: 11} min: 0 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-interim extensions: definitionExtractValue: url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue type: Extension index: 31 extensions: definition: url: null index: 32 elements: value: choices: [] index: 34 expression: url: null index: 35 elements: value: choices: [] index: 37 value[x]: elements: language: pattern: {type: Code, value: text/fhirpath} index: 38 expression: {index: 39} required: [expression] fixed-value: {url: null, index: 40} elements: extension: index: 32 slicing: slices: definition: match: {} schema: index: 32 elements: value: choices: [] index: 34 expression: match: {} schema: index: 35 elements: value: choices: [] index: 37 value[x]: elements: language: pattern: {type: Code, value: text/fhirpath} index: 38 expression: {index: 39} required: [expression] fixed-value: match: {} schema: {index: 40} definitionExtract: url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract type: Extension index: 24 extensions: definition: url: null index: 25 elements: value: choices: [] index: 27 fullUrl: url: null index: 28 elements: value: choices: [] index: 30 elements: extension: index: 25 slicing: slices: definition: match: {} schema: index: 25 elements: value: choices: [] index: 27 fullUrl: match: {} schema: index: 28 elements: value: choices: [] index: 30 variable: url: http://hl7.org/fhir/StructureDefinition/variable type: Extension index: 19 elements: value: choices: [] index: 21 value[x]: elements: language: {index: 22} expression: {index: 23} required: [expression] launchContext: url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext type: Extension index: 12 extensions: name: url: null index: 13 elements: value: choices: [] index: 15 type: url: null index: 16 elements: value: choices: [] index: 18 elements: extension: index: 13 slicing: slices: name: match: {} schema: index: 13 elements: value: choices: [] index: 15 type: match: {} schema: index: 16 elements: value: choices: [] index: 18 versionAlgorithm: url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm type: Extension index: 2 elements: value: choices: [] index: 4 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: valueCoding: match: {} schema: pattern: type: Coding value: {code: semver, system: 'http://hl7.org/fhir/version-algorithm'} choices: [valueCoding] index: 6 min: 0 max: 1 valueCoding: type: Coding pattern: type: Coding value: {code: semver, system: 'http://hl7.org/fhir/version-algorithm'} choiceOf: value index: 7 slicing: slices: valueCoding: match: {} schema: type: Coding pattern: type: Coding value: {code: semver, system: 'http://hl7.org/fhir/version-algorithm'} choiceOf: value index: 7 min: 0 max: 1 entryMode: url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-entryMode type: Extension index: 8 elements: value: pattern: {type: Code, value: random} choices: [] index: 10 assembledFrom: {url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom', min: 0, 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]