StructureDefinition-ServiceBillingCode.xml
  1 <?xml version="1.0" encoding="utf-8"?>
  2 <StructureDefinition xmlns="http://hl7.org/fhir">
  3   <id value="ServiceBillingCode" />
  4   <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
  5     <valueCode value="oo" />
  6   </extension>
  7   <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics">
  8     <valueCode value="can-bind" />
  9   </extension>
 10   <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
 11     <valueInteger value="2">
 12       <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
 13         <valueCanonical value="http://hl7.org/fhir/uv/order-catalog/ImplementationGuide/ig-uv-order-catalog" />
 14       </extension>
 15     </valueInteger>
 16   </extension>
 17   <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
 18     <valueCode value="trial-use">
 19       <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
 20         <valueCanonical value="http://hl7.org/fhir/uv/order-catalog/ImplementationGuide/ig-uv-order-catalog" />
 21       </extension>
 22     </valueCode>
 23   </extension>
 24   <url value="http://hl7.org/fhir/uv/order-catalog/StructureDefinition/ServiceBillingCode" />
 25   <identifier>
 26     <system value="urn:ietf:rfc:3986" />
 27     <value value="urn:oid:2.16.840.1.113883.4.642.40.999.42.24" />
 28   </identifier>
 29   <version value="1.0.0-ballot" />
 30   <name value="ServiceBillingCode" />
 31   <title value="Healthcare Service Billing Code" />
 32   <status value="draft" />
 33   <date value="2025-03-06T19:13:11.0000000+01:00" />
 34   <publisher value="HL7 International / Orders and Observations" />
 35   <contact>
 36     <telecom>
 37       <system value="url" />
 38       <value value="http://www.hl7.org/Special/committees/orders" />
 39     </telecom>
 40   </contact>
 41   <description value="This extension to PlanDefinition conveys a billing code associated with the service represented by the PlanDefinition instance. It may also reference the billing rules associated with this code as a ChargeItemDefinition" />
 42   <jurisdiction>
 43     <coding>
 44       <system value="http://unstats.un.org/unsd/methods/m49/m49.htm" />
 45       <code value="001" />
 46     </coding>
 47   </jurisdiction>
 48   <purpose value="This extension to PlanDefinition is usable for potentially any kind of service or protocole represented by an instance of PlanDefinition" />
 49   <fhirVersion value="5.0.0" />
 50   <mapping>
 51     <identity value="rim" />
 52     <uri value="http://hl7.org/v3" />
 53     <name value="RIM Mapping" />
 54   </mapping>
 55   <kind value="complex-type" />
 56   <abstract value="false" />
 57   <context>
 58     <type value="element" />
 59     <expression value="PlanDefinition" />
 60   </context>
 61   <type value="Extension" />
 62   <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
 63   <derivation value="constraint" />
 64   <snapshot>
 65     <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
 66       <valueString value="5.0.0" />
 67     </extension>
 68     <element id="Extension">
 69       <path value="Extension" />
 70       <short value="Optional Extensions Element" />
 71       <definition value="Optional Extension Element - found in all resources." />
 72       <min value="0" />
 73       <max value="*" />
 74       <base>
 75         <path value="Extension" />
 76         <min value="0" />
 77         <max value="*" />
 78       </base>
 79       <constraint>
 80         <key value="ele-1" />
 81         <severity value="error" />
 82         <human value="All FHIR elements must have a @value or children" />
 83         <expression value="hasValue() or (children().count() > id.count())" />
 84         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
 85       </constraint>
 86       <constraint>
 87         <key value="ext-1" />
 88         <severity value="error" />
 89         <human value="Must have either extensions or value[x], not both" />
 90         <expression value="extension.exists() != value.exists()" />
 91         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
 92       </constraint>
 93       <isModifier value="false" />
 94       <mapping>
 95         <identity value="rim" />
 96         <map value="n/a,N/A" />
 97       </mapping>
 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="id" />
114         </extension>
115         <code value="http://hl7.org/fhirpath/System.String" />
116       </type>
117       <condition value="ele-1" />
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="Additional content defined by implementations" />
136       <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." />
137       <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." />
138       <alias value="extensions" />
139       <alias value="user content" />
140       <min value="0" />
141       <max value="*" />
142       <base>
143         <path value="Element.extension" />
144         <min value="0" />
145         <max value="*" />
146       </base>
147       <type>
148         <code value="Extension" />
149       </type>
150       <constraint>
151         <key value="ele-1" />
152         <severity value="error" />
153         <human value="All FHIR elements must have a @value or children" />
154         <expression value="hasValue() or (children().count() > id.count())" />
155         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
156       </constraint>
157       <constraint>
158         <key value="ext-1" />
159         <severity value="error" />
160         <human value="Must have either extensions or value[x], not both" />
161         <expression value="extension.exists() != value.exists()" />
162         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
163       </constraint>
164       <isModifier value="false" />
165       <isSummary value="false" />
166       <mapping>
167         <identity value="rim" />
168         <map value="n/a" />
169       </mapping>
170     </element>
171     <element id="Extension.url">
172       <path value="Extension.url" />
173       <representation value="xmlAttr" />
174       <short value="identifies the meaning of the extension" />
175       <definition value="Source of the definition for the extension code - a logical name or a URL." />
176       <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." />
177       <min value="1" />
178       <max value="1" />
179       <base>
180         <path value="Extension.url" />
181         <min value="1" />
182         <max value="1" />
183       </base>
184       <type>
185         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
186           <valueUrl value="uri" />
187         </extension>
188         <code value="http://hl7.org/fhirpath/System.String" />
189       </type>
190       <fixedUri value="http://hl7.org/fhir/uv/order-catalog/StructureDefinition/ServiceBillingCode" />
191       <isModifier value="false" />
192       <isSummary value="false" />
193       <mapping>
194         <identity value="rim" />
195         <map value="N/A" />
196       </mapping>
197     </element>
198     <element id="Extension.value[x]">
199       <path value="Extension.value[x]" />
200       <slicing>
201         <discriminator>
202           <type value="type" />
203           <path value="$this" />
204         </discriminator>
205         <ordered value="false" />
206         <rules value="closed" />
207       </slicing>
208       <short value="Value of extension" />
209       <definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list)." />
210       <min value="0" />
211       <max value="1" />
212       <base>
213         <path value="Extension.value[x]" />
214         <min value="0" />
215         <max value="1" />
216       </base>
217       <type>
218         <code value="CodeableConcept" />
219       </type>
220       <type>
221         <code value="Reference" />
222       </type>
223       <condition value="ext-1" />
224       <constraint>
225         <key value="ele-1" />
226         <severity value="error" />
227         <human value="All FHIR elements must have a @value or children" />
228         <expression value="hasValue() or (children().count() > id.count())" />
229         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
230       </constraint>
231       <isModifier value="false" />
232       <isSummary value="false" />
233       <mapping>
234         <identity value="rim" />
235         <map value="N/A" />
236       </mapping>
237     </element>
238     <element id="Extension.value[x]:valueCodeableConcept">
239       <path value="Extension.value[x]" />
240       <sliceName value="valueCodeableConcept" />
241       <short value="Value of extension" />
242       <definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list)." />
243       <min value="0" />
244       <max value="1" />
245       <base>
246         <path value="Extension.value[x]" />
247         <min value="0" />
248         <max value="1" />
249       </base>
250       <type>
251         <code value="CodeableConcept" />
252       </type>
253       <condition value="ext-1" />
254       <constraint>
255         <key value="ele-1" />
256         <severity value="error" />
257         <human value="All FHIR elements must have a @value or children" />
258         <expression value="hasValue() or (children().count() > id.count())" />
259         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
260       </constraint>
261       <isModifier value="false" />
262       <isSummary value="false" />
263       <mapping>
264         <identity value="rim" />
265         <map value="N/A" />
266       </mapping>
267     </element>
268     <element id="Extension.value[x]:valueReference">
269       <path value="Extension.value[x]" />
270       <sliceName value="valueReference" />
271       <short value="Value of extension" />
272       <definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list)." />
273       <min value="0" />
274       <max value="1" />
275       <base>
276         <path value="Extension.value[x]" />
277         <min value="0" />
278         <max value="1" />
279       </base>
280       <type>
281         <code value="Reference" />
282         <targetProfile value="http://hl7.org/fhir/uv/order-catalog/StructureDefinition/LabChargeItemDefinition" />
283         <aggregation value="referenced" />
284       </type>
285       <condition value="ext-1" />
286       <constraint>
287         <key value="ele-1" />
288         <severity value="error" />
289         <human value="All FHIR elements must have a @value or children" />
290         <expression value="hasValue() or (children().count() > id.count())" />
291         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
292       </constraint>
293       <isModifier value="false" />
294       <isSummary value="false" />
295       <mapping>
296         <identity value="rim" />
297         <map value="N/A" />
298       </mapping>
299     </element>
300   </snapshot>
301   <differential>
302     <element id="Extension.url">
303       <path value="Extension.url" />
304       <fixedUri value="http://hl7.org/fhir/uv/order-catalog/StructureDefinition/ServiceBillingCode" />
305     </element>
306     <element id="Extension.value[x]">
307       <path value="Extension.value[x]" />
308       <slicing>
309         <discriminator>
310           <type value="type" />
311           <path value="$this" />
312         </discriminator>
313         <rules value="closed" />
314       </slicing>
315       <type>
316         <code value="CodeableConcept" />
317       </type>
318       <type>
319         <code value="Reference" />
320       </type>
321     </element>
322     <element id="Extension.value[x]:valueCodeableConcept">
323       <path value="Extension.value[x]" />
324       <sliceName value="valueCodeableConcept" />
325       <type>
326         <code value="CodeableConcept" />
327       </type>
328     </element>
329     <element id="Extension.value[x]:valueReference">
330       <path value="Extension.value[x]" />
331       <sliceName value="valueReference" />
332       <type>
333         <code value="Reference" />
334         <targetProfile value="http://hl7.org/fhir/uv/order-catalog/StructureDefinition/LabChargeItemDefinition" />
335         <aggregation value="referenced" />
336       </type>
337     </element>
338   </differential>
339 </StructureDefinition>