StructureDefinition-sdc-questionnaire-questionnaireAdaptive.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <StructureDefinition xmlns="http://hl7.org/fhir"> 3 <id value="sdc-questionnaire-questionnaireAdaptive" /> 4 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"> 5 <valueCode value="fhir" /> 6 </extension> 7 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"> 8 <valueInteger value="4"> 9 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"> 10 <valueCanonical value="http://hl7.org/fhir/uv/sdc/ImplementationGuide/hl7.fhir.uv.sdc" /> 11 </extension> 12 </valueInteger> 13 </extension> 14 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"> 15 <valueCode value="trial-use"> 16 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"> 17 <valueCanonical value="http://hl7.org/fhir/uv/sdc/ImplementationGuide/hl7.fhir.uv.sdc" /> 18 </extension> 19 </valueCode> 20 </extension> 21 <url value="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-questionnaireAdaptive" /> 22 <identifier> 23 <system value="urn:ietf:rfc:3986" /> 24 <value value="urn:oid:2.16.840.1.113883.4.642.40.17.42.49" /> 25 </identifier> 26 <version value="4.0.0-ballot" /> 27 <name value="QuestionnaireAdaptiveExtension" /> 28 <title value="Questionnaire Adaptive" /> 29 <status value="active" /> 30 <date value="2024-12-22T04:48:38.0000000+01:00" /> 31 <publisher value="HL7 International / FHIR Infrastructure" /> 32 <contact> 33 <name value="HL7 International / FHIR Infrastructure" /> 34 <telecom> 35 <system value="url" /> 36 <value value="http://www.hl7.org/Special/committees/fiwg" /> 37 </telecom> 38 </contact> 39 <contact> 40 <telecom> 41 <system value="url" /> 42 <value value="http://www.hl7.org/Special/committees/fiwg" /> 43 </telecom> 44 </contact> 45 <description value="Marks a questionnaire as being adaptive. Value can either be a boolean (if true, indicates adaptive) or a URL for the base URL of a server that can perform the nextQuestion operation for this particular questionnaire." /> 46 <jurisdiction> 47 <coding> 48 <system value="http://unstats.un.org/unsd/methods/m49/m49.htm" /> 49 <code value="001" /> 50 <display value="World" /> 51 </coding> 52 </jurisdiction> 53 <fhirVersion value="4.0.1" /> 54 <mapping> 55 <identity value="rim" /> 56 <uri value="http://hl7.org/v3" /> 57 <name value="RIM Mapping" /> 58 </mapping> 59 <kind value="complex-type" /> 60 <abstract value="false" /> 61 <context> 62 <type value="element" /> 63 <expression value="Questionnaire" /> 64 </context> 65 <type value="Extension" /> 66 <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" /> 67 <derivation value="constraint" /> 68 <snapshot> 69 <element id="Extension"> 70 <path value="Extension" /> 71 <short value="Marks a questionnaire as being adaptive." /> 72 <definition value="Marks a questionnaire as being adaptive. Value can either be a boolean (if true, indicates adaptive) or a URL for the base URL of a server that can perform the nextQuestion operation for this particular questionnaire." /> 73 <comment value="There can only be one in a questionnaire if the value used is boolean." /> 74 <min value="0" /> 75 <max value="*" /> 76 <base> 77 <path value="Extension" /> 78 <min value="0" /> 79 <max value="*" /> 80 </base> 81 <condition value="ele-1" /> 82 <constraint> 83 <key value="ele-1" /> 84 <severity value="error" /> 85 <human value="All FHIR elements must have a @value or children" /> 86 <expression value="hasValue() or (children().count() > id.count())" /> 87 <xpath value="@value|f:*|h:div" /> 88 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 89 </constraint> 90 <constraint> 91 <key value="ext-1" /> 92 <severity value="error" /> 93 <human value="Must have either extensions or value[x], not both" /> 94 <expression value="extension.exists() != value.exists()" /> 95 <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" /> 96 <source value="http://hl7.org/fhir/StructureDefinition/Extension" /> 97 </constraint> 98 <isModifier value="false" /> 99 </element> 100 <element id="Extension.id"> 101 <path value="Extension.id" /> 102 <representation value="xmlAttr" /> 103 <short value="Unique id for inter-element referencing" /> 104 <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." /> 105 <min value="0" /> 106 <max value="1" /> 107 <base> 108 <path value="Element.id" /> 109 <min value="0" /> 110 <max value="1" /> 111 </base> 112 <type> 113 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 114 <valueUrl value="string" /> 115 </extension> 116 <code value="http://hl7.org/fhirpath/System.String" /> 117 </type> 118 <isModifier value="false" /> 119 <isSummary value="false" /> 120 <mapping> 121 <identity value="rim" /> 122 <map value="n/a" /> 123 </mapping> 124 </element> 125 <element id="Extension.extension"> 126 <path value="Extension.extension" /> 127 <slicing> 128 <discriminator> 129 <type value="value" /> 130 <path value="url" /> 131 </discriminator> 132 <description value="Extensions are always sliced by (at least) url" /> 133 <rules value="open" /> 134 </slicing> 135 <short value="Extension" /> 136 <definition value="An Extension" /> 137 <min value="0" /> 138 <max value="0" /> 139 <base> 140 <path value="Element.extension" /> 141 <min value="0" /> 142 <max value="*" /> 143 </base> 144 <type> 145 <code value="Extension" /> 146 </type> 147 <constraint> 148 <key value="ele-1" /> 149 <severity value="error" /> 150 <human value="All FHIR elements must have a @value or children" /> 151 <expression value="hasValue() or (children().count() > id.count())" /> 152 <xpath value="@value|f:*|h:div" /> 153 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 154 </constraint> 155 <constraint> 156 <key value="ext-1" /> 157 <severity value="error" /> 158 <human value="Must have either extensions or value[x], not both" /> 159 <expression value="extension.exists() != value.exists()" /> 160 <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" /> 161 <source value="http://hl7.org/fhir/StructureDefinition/Extension" /> 162 </constraint> 163 <isModifier value="false" /> 164 <isSummary value="false" /> 165 </element> 166 <element id="Extension.url"> 167 <path value="Extension.url" /> 168 <representation value="xmlAttr" /> 169 <short value="identifies the meaning of the extension" /> 170 <definition value="Source of the definition for the extension code - a logical name or a URL." /> 171 <comment value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension." /> 172 <min value="1" /> 173 <max value="1" /> 174 <base> 175 <path value="Extension.url" /> 176 <min value="1" /> 177 <max value="1" /> 178 </base> 179 <type> 180 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 181 <valueUrl value="uri" /> 182 </extension> 183 <code value="http://hl7.org/fhirpath/System.String" /> 184 </type> 185 <fixedUri value="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-questionnaireAdaptive" /> 186 <isModifier value="false" /> 187 <isSummary value="false" /> 188 <mapping> 189 <identity value="rim" /> 190 <map value="N/A" /> 191 </mapping> 192 </element> 193 <element id="Extension.value[x]"> 194 <path value="Extension.value[x]" /> 195 <short value="Value of extension" /> 196 <definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list)." /> 197 <min value="0" /> 198 <max value="1" /> 199 <base> 200 <path value="Extension.value[x]" /> 201 <min value="0" /> 202 <max value="1" /> 203 </base> 204 <type> 205 <code value="boolean" /> 206 </type> 207 <type> 208 <code value="url" /> 209 </type> 210 <constraint> 211 <key value="ele-1" /> 212 <severity value="error" /> 213 <human value="All FHIR elements must have a @value or children" /> 214 <expression value="hasValue() or (children().count() > id.count())" /> 215 <xpath value="@value|f:*|h:div" /> 216 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 217 </constraint> 218 <isModifier value="false" /> 219 <isSummary value="false" /> 220 <mapping> 221 <identity value="rim" /> 222 <map value="N/A" /> 223 </mapping> 224 </element> 225 </snapshot> 226 <differential> 227 <element id="Extension"> 228 <path value="Extension" /> 229 <short value="Marks a questionnaire as being adaptive." /> 230 <definition value="Marks a questionnaire as being adaptive. Value can either be a boolean (if true, indicates adaptive) or a URL for the base URL of a server that can perform the nextQuestion operation for this particular questionnaire." /> 231 <comment value="There can only be one in a questionnaire if the value used is boolean." /> 232 </element> 233 <element id="Extension.extension"> 234 <path value="Extension.extension" /> 235 <max value="0" /> 236 </element> 237 <element id="Extension.url"> 238 <path value="Extension.url" /> 239 <fixedUri value="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-questionnaireAdaptive" /> 240 </element> 241 <element id="Extension.value[x]"> 242 <path value="Extension.value[x]" /> 243 <type> 244 <code value="boolean" /> 245 </type> 246 <type> 247 <code value="url" /> 248 </type> 249 </element> 250 </differential> 251 </StructureDefinition>