StructureDefinition-sdc-questionnaire-targetStructureMap.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <StructureDefinition xmlns="http://hl7.org/fhir"> 3 <id value="sdc-questionnaire-targetStructureMap" /> 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-targetStructureMap" /> 22 <identifier> 23 <system value="urn:ietf:rfc:3986" /> 24 <value value="urn:oid:2.16.840.1.113883.4.642.40.17.42.56" /> 25 </identifier> 26 <version value="4.0.0-ballot" /> 27 <name value="TargetStructureMapExtension" /> 28 <title value="Extract StructureMap - Target structure map" /> 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="StructureMaps that have QuestionnaireResponses of this Questionnaire as 'source'- i.e. that can be used to create other artifacts from QuestionnaireResponses that are valid against this Questionnaire. If multiple maps are specified, then multiple extraction outputs will be produced. Authors can choose between a single output 'transaction' Bundle or multiple outputs depending on the desired behavior and maintenance process." /> 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 <purpose value="While it's possible to query for StructureMaps associated with a Questionnaire, it might not be obvious what repository to query. This allows a Questionnaire to specifically identify known relevant maps." /> 54 <fhirVersion value="4.0.1" /> 55 <mapping> 56 <identity value="rim" /> 57 <uri value="http://hl7.org/v3" /> 58 <name value="RIM Mapping" /> 59 </mapping> 60 <kind value="complex-type" /> 61 <abstract value="false" /> 62 <context> 63 <type value="element" /> 64 <expression value="Questionnaire" /> 65 </context> 66 <type value="Extension" /> 67 <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" /> 68 <derivation value="constraint" /> 69 <snapshot> 70 <element id="Extension"> 71 <path value="Extension" /> 72 <short value="Map to artifacts that can be populated from this Questionnaire" /> 73 <definition value="StructureMaps that have QuestionnaireResponses of this Questionnaire as 'source'- i.e. that can be used to create other artifacts from QuestionnaireResponses that are valid against this Questionnaire." /> 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-targetStructureMap" /> 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="canonical" /> 206 <targetProfile value="http://hl7.org/fhir/StructureDefinition/StructureMap" /> 207 </type> 208 <constraint> 209 <key value="ele-1" /> 210 <severity value="error" /> 211 <human value="All FHIR elements must have a @value or children" /> 212 <expression value="hasValue() or (children().count() > id.count())" /> 213 <xpath value="@value|f:*|h:div" /> 214 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 215 </constraint> 216 <isModifier value="false" /> 217 <isSummary value="false" /> 218 <mapping> 219 <identity value="rim" /> 220 <map value="N/A" /> 221 </mapping> 222 </element> 223 </snapshot> 224 <differential> 225 <element id="Extension"> 226 <path value="Extension" /> 227 <short value="Map to artifacts that can be populated from this Questionnaire" /> 228 <definition value="StructureMaps that have QuestionnaireResponses of this Questionnaire as 'source'- i.e. that can be used to create other artifacts from QuestionnaireResponses that are valid against this Questionnaire." /> 229 </element> 230 <element id="Extension.extension"> 231 <path value="Extension.extension" /> 232 <max value="0" /> 233 </element> 234 <element id="Extension.url"> 235 <path value="Extension.url" /> 236 <fixedUri value="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-targetStructureMap" /> 237 </element> 238 <element id="Extension.value[x]"> 239 <path value="Extension.value[x]" /> 240 <type> 241 <code value="canonical" /> 242 <targetProfile value="http://hl7.org/fhir/StructureDefinition/StructureMap" /> 243 </type> 244 </element> 245 </differential> 246 </StructureDefinition>