MonetaryComponent.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <StructureDefinition xmlns="http://hl7.org/fhir">
3 <id value="MonetaryComponent" />
4 <meta>
5 <lastUpdated value="2023-03-26T06:21:02.749+02:00" />
6 </meta>
7 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
8 <valueCode value="trial-use" />
9 </extension>
10 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics">
11 <valueCode value="has-range" />
12 </extension>
13 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics">
14 <valueCode value="is-continuous" />
15 </extension>
16 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics">
17 <valueCode value="has-units" />
18 </extension>
19 <url value="http://hl7.org/fhir/StructureDefinition/MonetaryComponent" />
20 <version value="5.0.0" />
21 <name value="MonetaryComponent" />
22 <status value="draft" />
23 <experimental value="false" />
24 <date value="2023-03-26T06:21:02.0000000+02:00" />
25 <publisher value="HL7 FHIR Standard" />
26 <contact>
27 <telecom>
28 <system value="url" />
29 <value value="http://hl7.org/fhir" />
30 </telecom>
31 </contact>
32 <description value="MonetaryComponent Type: Availability data for an {item}." />
33 <jurisdiction>
34 <coding>
35 <system value="http://unstats.un.org/unsd/methods/m49/m49.htm" />
36 <code value="001" />
37 <display value="World" />
38 </coding>
39 </jurisdiction>
40 <fhirVersion value="5.0.0" />
41 <mapping>
42 <identity value="rim" />
43 <uri value="http://hl7.org/v3" />
44 <name value="RIM Mapping" />
45 </mapping>
46 <kind value="complex-type" />
47 <abstract value="false" />
48 <type value="MonetaryComponent" />
49 <baseDefinition value="http://hl7.org/fhir/StructureDefinition/DataType" />
50 <derivation value="specialization" />
51 <snapshot>
52 <element id="MonetaryComponent">
53 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
54 <valueCode value="trial-use" />
55 </extension>
56 <path value="MonetaryComponent" />
57 <short value="Availability data for an {item}" />
58 <definition value="Availability data for an {item}." />
59 <min value="0" />
60 <max value="*" />
61 <base>
62 <path value="MonetaryComponent" />
63 <min value="0" />
64 <max value="*" />
65 </base>
66 <constraint>
67 <key value="ele-1" />
68 <severity value="error" />
69 <human value="All FHIR elements must have a @value or children" />
70 <expression value="hasValue() or (children().count() > id.count())" />
71 <source value="http://hl7.org/fhir/StructureDefinition/Element" />
72 </constraint>
73 <isModifier value="false" />
74 <mapping>
75 <identity value="rim" />
76 <map value="n/a" />
77 </mapping>
78 </element>
79 <element id="MonetaryComponent.id">
80 <path value="MonetaryComponent.id" />
81 <representation value="xmlAttr" />
82 <short value="Unique id for inter-element referencing" />
83 <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
84 <min value="0" />
85 <max value="1" />
86 <base>
87 <path value="Element.id" />
88 <min value="0" />
89 <max value="1" />
90 </base>
91 <type>
92 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
93 <valueUrl value="id" />
94 </extension>
95 <code value="http://hl7.org/fhirpath/System.String" />
96 </type>
97 <condition value="ele-1" />
98 <isModifier value="false" />
99 <isSummary value="false" />
100 <mapping>
101 <identity value="rim" />
102 <map value="n/a" />
103 </mapping>
104 </element>
105 <element id="MonetaryComponent.extension">
106 <path value="MonetaryComponent.extension" />
107 <slicing>
108 <discriminator>
109 <type value="value" />
110 <path value="url" />
111 </discriminator>
112 <description value="Extensions are always sliced by (at least) url" />
113 <rules value="open" />
114 </slicing>
115 <short value="Additional content defined by implementations" />
116 <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
117 <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
118 <alias value="extensions" />
119 <alias value="user content" />
120 <min value="0" />
121 <max value="*" />
122 <base>
123 <path value="Element.extension" />
124 <min value="0" />
125 <max value="*" />
126 </base>
127 <type>
128 <code value="Extension" />
129 </type>
130 <constraint>
131 <key value="ele-1" />
132 <severity value="error" />
133 <human value="All FHIR elements must have a @value or children" />
134 <expression value="hasValue() or (children().count() > id.count())" />
135 <source value="http://hl7.org/fhir/StructureDefinition/Element" />
136 </constraint>
137 <constraint>
138 <key value="ext-1" />
139 <severity value="error" />
140 <human value="Must have either extensions or value[x], not both" />
141 <expression value="extension.exists() != value.exists()" />
142 <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
143 </constraint>
144 <isModifier value="false" />
145 <isSummary value="false" />
146 <mapping>
147 <identity value="rim" />
148 <map value="n/a" />
149 </mapping>
150 </element>
151 <element id="MonetaryComponent.type">
152 <path value="MonetaryComponent.type" />
153 <short value="base | surcharge | deduction | discount | tax | informational" />
154 <definition value="base | surcharge | deduction | discount | tax | informational." />
155 <min value="1" />
156 <max value="1" />
157 <base>
158 <path value="MonetaryComponent.type" />
159 <min value="1" />
160 <max value="1" />
161 </base>
162 <type>
163 <code value="code" />
164 </type>
165 <constraint>
166 <key value="ele-1" />
167 <severity value="error" />
168 <human value="All FHIR elements must have a @value or children" />
169 <expression value="hasValue() or (children().count() > id.count())" />
170 <source value="http://hl7.org/fhir/StructureDefinition/Element" />
171 </constraint>
172 <isModifier value="false" />
173 <isSummary value="true" />
174 <binding>
175 <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
176 <valueString value="The purpose for which an extended contact detail should be used." />
177 </extension>
178 <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
179 <valueString value="PriceComponentType" />
180 </extension>
181 <strength value="required" />
182 <description value="The purpose for which an extended contact detail should be used." />
183 <valueSet value="http://hl7.org/fhir/ValueSet/price-component-type|5.0.0" />
184 </binding>
185 </element>
186 <element id="MonetaryComponent.code">
187 <path value="MonetaryComponent.code" />
188 <short value="Codes may be used to differentiate between kinds of taxes, surcharges, discounts etc." />
189 <definition value="Codes may be used to differentiate between kinds of taxes, surcharges, discounts etc." />
190 <min value="0" />
191 <max value="1" />
192 <base>
193 <path value="MonetaryComponent.code" />
194 <min value="0" />
195 <max value="1" />
196 </base>
197 <type>
198 <code value="CodeableConcept" />
199 </type>
200 <constraint>
201 <key value="ele-1" />
202 <severity value="error" />
203 <human value="All FHIR elements must have a @value or children" />
204 <expression value="hasValue() or (children().count() > id.count())" />
205 <source value="http://hl7.org/fhir/StructureDefinition/Element" />
206 </constraint>
207 <isModifier value="false" />
208 <isSummary value="true" />
209 <binding>
210 <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
211 <valueString value="Codes may be used to differentiate between kinds of taxes, surcharges, discounts etc." />
212 </extension>
213 <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
214 <valueString value="PriceComponentCode" />
215 </extension>
216 <strength value="example" />
217 <description value="Codes may be used to differentiate between kinds of taxes, surcharges, discounts etc." />
218 </binding>
219 </element>
220 <element id="MonetaryComponent.factor">
221 <path value="MonetaryComponent.factor" />
222 <short value="Factor used for calculating this component" />
223 <definition value="Factor used for calculating this component." />
224 <min value="0" />
225 <max value="1" />
226 <base>
227 <path value="MonetaryComponent.factor" />
228 <min value="0" />
229 <max value="1" />
230 </base>
231 <type>
232 <code value="decimal" />
233 </type>
234 <constraint>
235 <key value="ele-1" />
236 <severity value="error" />
237 <human value="All FHIR elements must have a @value or children" />
238 <expression value="hasValue() or (children().count() > id.count())" />
239 <source value="http://hl7.org/fhir/StructureDefinition/Element" />
240 </constraint>
241 <isModifier value="false" />
242 <isSummary value="true" />
243 </element>
244 <element id="MonetaryComponent.amount">
245 <path value="MonetaryComponent.amount" />
246 <short value="Explicit value amount to be used" />
247 <definition value="Explicit value amount to be used." />
248 <min value="0" />
249 <max value="1" />
250 <base>
251 <path value="MonetaryComponent.amount" />
252 <min value="0" />
253 <max value="1" />
254 </base>
255 <type>
256 <code value="Money" />
257 </type>
258 <constraint>
259 <key value="ele-1" />
260 <severity value="error" />
261 <human value="All FHIR elements must have a @value or children" />
262 <expression value="hasValue() or (children().count() > id.count())" />
263 <source value="http://hl7.org/fhir/StructureDefinition/Element" />
264 </constraint>
265 <isModifier value="false" />
266 <isSummary value="true" />
267 </element>
268 </snapshot>
269 <differential>
270 <element id="MonetaryComponent">
271 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
272 <valueCode value="trial-use" />
273 </extension>
274 <path value="MonetaryComponent" />
275 <short value="Availability data for an {item}" />
276 <definition value="Availability data for an {item}." />
277 <min value="0" />
278 <max value="*" />
279 </element>
280 <element id="MonetaryComponent.type">
281 <path value="MonetaryComponent.type" />
282 <short value="base | surcharge | deduction | discount | tax | informational" />
283 <definition value="base | surcharge | deduction | discount | tax | informational." />
284 <min value="1" />
285 <max value="1" />
286 <type>
287 <code value="code" />
288 </type>
289 <isSummary value="true" />
290 <binding>
291 <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
292 <valueString value="The purpose for which an extended contact detail should be used." />
293 </extension>
294 <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
295 <valueString value="PriceComponentType" />
296 </extension>
297 <strength value="required" />
298 <description value="The purpose for which an extended contact detail should be used." />
299 <valueSet value="http://hl7.org/fhir/ValueSet/price-component-type|5.0.0" />
300 </binding>
301 </element>
302 <element id="MonetaryComponent.code">
303 <path value="MonetaryComponent.code" />
304 <short value="Codes may be used to differentiate between kinds of taxes, surcharges, discounts etc." />
305 <definition value="Codes may be used to differentiate between kinds of taxes, surcharges, discounts etc." />
306 <min value="0" />
307 <max value="1" />
308 <type>
309 <code value="CodeableConcept" />
310 </type>
311 <isSummary value="true" />
312 <binding>
313 <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
314 <valueString value="Codes may be used to differentiate between kinds of taxes, surcharges, discounts etc." />
315 </extension>
316 <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
317 <valueString value="PriceComponentCode" />
318 </extension>
319 <strength value="example" />
320 <description value="Codes may be used to differentiate between kinds of taxes, surcharges, discounts etc." />
321 </binding>
322 </element>
323 <element id="MonetaryComponent.factor">
324 <path value="MonetaryComponent.factor" />
325 <short value="Factor used for calculating this component" />
326 <definition value="Factor used for calculating this component." />
327 <min value="0" />
328 <max value="1" />
329 <type>
330 <code value="decimal" />
331 </type>
332 <isSummary value="true" />
333 </element>
334 <element id="MonetaryComponent.amount">
335 <path value="MonetaryComponent.amount" />
336 <short value="Explicit value amount to be used" />
337 <definition value="Explicit value amount to be used." />
338 <min value="0" />
339 <max value="1" />
340 <type>
341 <code value="Money" />
342 </type>
343 <isSummary value="true" />
344 </element>
345 </differential>
346 </StructureDefinition>