StructureDefinition-ch-orf-desiredaccommodation.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <StructureDefinition xmlns="http://hl7.org/fhir"> 3 <id value="ch-orf-desiredaccommodation" /> 4 <url value="http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-desiredaccommodation" /> 5 <version value="4.0.0-ballot-ci-build" /> 6 <name value="ChOrfDesiredAccommodation" /> 7 <title value="CH ORF Desired Accommodation" /> 8 <status value="active" /> 9 <date value="2024-12-18T11:31:04.0000000+01:00" /> 10 <publisher value="HL7 Switzerland" /> 11 <contact> 12 <name value="HL7 Switzerland" /> 13 <telecom> 14 <system value="url" /> 15 <value value="https://www.hl7.ch/" /> 16 </telecom> 17 </contact> 18 <description value="Desired Accommodation during the Requested Encounter." /> 19 <jurisdiction> 20 <coding> 21 <system value="urn:iso:std:iso:3166" /> 22 <code value="CH" /> 23 </coding> 24 </jurisdiction> 25 <copyright value="CC0-1.0" /> 26 <fhirVersion value="4.0.1" /> 27 <mapping> 28 <identity value="rim" /> 29 <uri value="http://hl7.org/v3" /> 30 <name value="RIM Mapping" /> 31 </mapping> 32 <kind value="complex-type" /> 33 <abstract value="false" /> 34 <context> 35 <type value="element" /> 36 <expression value="Encounter" /> 37 </context> 38 <type value="Extension" /> 39 <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" /> 40 <derivation value="constraint" /> 41 <snapshot> 42 <element id="Extension"> 43 <path value="Extension" /> 44 <short value="CH ORF Desired Accommodation" /> 45 <definition value="Desired Accommodation during the Requested Encounter." /> 46 <min value="0" /> 47 <max value="*" /> 48 <base> 49 <path value="Extension" /> 50 <min value="0" /> 51 <max value="*" /> 52 </base> 53 <condition value="ele-1" /> 54 <constraint> 55 <key value="ele-1" /> 56 <severity value="error" /> 57 <human value="All FHIR elements must have a @value or children" /> 58 <expression value="hasValue() or (children().count() > id.count())" /> 59 <xpath value="@value|f:*|h:div" /> 60 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 61 </constraint> 62 <constraint> 63 <key value="ext-1" /> 64 <severity value="error" /> 65 <human value="Must have either extensions or value[x], not both" /> 66 <expression value="extension.exists() != value.exists()" /> 67 <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" /> 68 <source value="http://hl7.org/fhir/StructureDefinition/Extension" /> 69 </constraint> 70 <isModifier value="false" /> 71 </element> 72 <element id="Extension.id"> 73 <path value="Extension.id" /> 74 <representation value="xmlAttr" /> 75 <short value="Unique id for inter-element referencing" /> 76 <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." /> 77 <min value="0" /> 78 <max value="1" /> 79 <base> 80 <path value="Element.id" /> 81 <min value="0" /> 82 <max value="1" /> 83 </base> 84 <type> 85 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 86 <valueUrl value="string" /> 87 </extension> 88 <code value="http://hl7.org/fhirpath/System.String" /> 89 </type> 90 <isModifier value="false" /> 91 <isSummary value="false" /> 92 <mapping> 93 <identity value="rim" /> 94 <map value="n/a" /> 95 </mapping> 96 </element> 97 <element id="Extension.extension"> 98 <path value="Extension.extension" /> 99 <slicing> 100 <discriminator> 101 <type value="value" /> 102 <path value="url" /> 103 </discriminator> 104 <description value="Extensions are always sliced by (at least) url" /> 105 <rules value="open" /> 106 </slicing> 107 <short value="Extension" /> 108 <definition value="An Extension" /> 109 <min value="0" /> 110 <max value="0" /> 111 <base> 112 <path value="Element.extension" /> 113 <min value="0" /> 114 <max value="*" /> 115 </base> 116 <type> 117 <code value="Extension" /> 118 </type> 119 <constraint> 120 <key value="ele-1" /> 121 <severity value="error" /> 122 <human value="All FHIR elements must have a @value or children" /> 123 <expression value="hasValue() or (children().count() > id.count())" /> 124 <xpath value="@value|f:*|h:div" /> 125 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 126 </constraint> 127 <constraint> 128 <key value="ext-1" /> 129 <severity value="error" /> 130 <human value="Must have either extensions or value[x], not both" /> 131 <expression value="extension.exists() != value.exists()" /> 132 <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" /> 133 <source value="http://hl7.org/fhir/StructureDefinition/Extension" /> 134 </constraint> 135 <isModifier value="false" /> 136 <isSummary value="false" /> 137 </element> 138 <element id="Extension.url"> 139 <path value="Extension.url" /> 140 <representation value="xmlAttr" /> 141 <short value="identifies the meaning of the extension" /> 142 <definition value="Source of the definition for the extension code - a logical name or a URL." /> 143 <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." /> 144 <min value="1" /> 145 <max value="1" /> 146 <base> 147 <path value="Extension.url" /> 148 <min value="1" /> 149 <max value="1" /> 150 </base> 151 <type> 152 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 153 <valueUrl value="uri" /> 154 </extension> 155 <code value="http://hl7.org/fhirpath/System.String" /> 156 </type> 157 <fixedUri value="http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-desiredaccommodation" /> 158 <isModifier value="false" /> 159 <isSummary value="false" /> 160 <mapping> 161 <identity value="rim" /> 162 <map value="N/A" /> 163 </mapping> 164 </element> 165 <element id="Extension.value[x]"> 166 <path value="Extension.value[x]" /> 167 <slicing> 168 <discriminator> 169 <type value="type" /> 170 <path value="$this" /> 171 </discriminator> 172 <ordered value="false" /> 173 <rules value="closed" /> 174 </slicing> 175 <short value="Value of extension" /> 176 <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)." /> 177 <min value="1" /> 178 <max value="1" /> 179 <base> 180 <path value="Extension.value[x]" /> 181 <min value="0" /> 182 <max value="1" /> 183 </base> 184 <type> 185 <code value="Coding" /> 186 </type> 187 <constraint> 188 <key value="ele-1" /> 189 <severity value="error" /> 190 <human value="All FHIR elements must have a @value or children" /> 191 <expression value="hasValue() or (children().count() > id.count())" /> 192 <xpath value="@value|f:*|h:div" /> 193 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 194 </constraint> 195 <isModifier value="false" /> 196 <isSummary value="false" /> 197 <mapping> 198 <identity value="rim" /> 199 <map value="N/A" /> 200 </mapping> 201 </element> 202 <element id="Extension.value[x]:valueCoding"> 203 <path value="Extension.value[x]" /> 204 <sliceName value="valueCoding" /> 205 <short value="Desired Accommodation during the Requested Encounter" /> 206 <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)." /> 207 <min value="1" /> 208 <max value="1" /> 209 <base> 210 <path value="Extension.value[x]" /> 211 <min value="0" /> 212 <max value="1" /> 213 </base> 214 <type> 215 <code value="Coding" /> 216 </type> 217 <constraint> 218 <key value="ele-1" /> 219 <severity value="error" /> 220 <human value="All FHIR elements must have a @value or children" /> 221 <expression value="hasValue() or (children().count() > id.count())" /> 222 <xpath value="@value|f:*|h:div" /> 223 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 224 </constraint> 225 <isModifier value="false" /> 226 <isSummary value="false" /> 227 <binding> 228 <strength value="required" /> 229 <valueSet value="http://fhir.ch/ig/ch-orf/ValueSet/ch-orf-vs-desiredaccommodation" /> 230 </binding> 231 <mapping> 232 <identity value="rim" /> 233 <map value="N/A" /> 234 </mapping> 235 </element> 236 </snapshot> 237 <differential> 238 <element id="Extension"> 239 <path value="Extension" /> 240 <short value="CH ORF Desired Accommodation" /> 241 <definition value="Desired Accommodation during the Requested Encounter." /> 242 </element> 243 <element id="Extension.extension"> 244 <path value="Extension.extension" /> 245 <max value="0" /> 246 </element> 247 <element id="Extension.url"> 248 <path value="Extension.url" /> 249 <fixedUri value="http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-desiredaccommodation" /> 250 </element> 251 <element id="Extension.value[x]"> 252 <path value="Extension.value[x]" /> 253 <slicing> 254 <discriminator> 255 <type value="type" /> 256 <path value="$this" /> 257 </discriminator> 258 <ordered value="false" /> 259 <rules value="open" /> 260 </slicing> 261 <min value="1" /> 262 </element> 263 <element id="Extension.value[x]:valueCoding"> 264 <path value="Extension.value[x]" /> 265 <sliceName value="valueCoding" /> 266 <short value="Desired Accommodation during the Requested Encounter" /> 267 <min value="1" /> 268 <max value="1" /> 269 <type> 270 <code value="Coding" /> 271 </type> 272 <binding> 273 <strength value="required" /> 274 <valueSet value="http://fhir.ch/ig/ch-orf/ValueSet/ch-orf-vs-desiredaccommodation" /> 275 </binding> 276 </element> 277 </differential> 278 </StructureDefinition>