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