Generated Narrative: StructureDefinition ext-R4B-Invoice.lineItem Name Flags Card. Type Description & Constraints Extension 0..* Extension R4B: Line items of this Invoice (new) #xD; Slices for extension 1..* Extension Extension Slice: Unordered, Open by value:url #xD; extension:sequence 0..1 Extension R4B: Sequence number of line item (new) #xD; url 1..1 uri "sequence" #xD; value[x] 0..1 positiveInt Sequence number of line item #xD; extension:chargeItem 1..1 Extension R4B: Reference to ChargeItem containing details of this line item or an inline billing code (new) #xD; url 1..1 uri "chargeItem" #xD; value[x] 1..1 Reference to ChargeItem containing details of this line item or an inline billing code #xD; valueReference Reference(Cross-version Profile for R4B.ChargeItem for use in FHIR STU3(0.1.0) | ChargeItem) #xD; valueCodeableConcept CodeableConcept #xD; extension:priceComponent 0..* Extension R4B: Components of total line item price (new) #xD; Slices for extension 1..* Extension Extension Slice: Unordered, Open by value:url #xD; extension:type 1..1 Extension R4B: base | surcharge | deduction | discount | tax | informational (new) #xD; url 1..1 uri "type" #xD; value[x] 1..1 code base | surcharge | deduction | discount | tax | informational Binding: R4BInvoicePriceComponentTypeForR3 (0.1.0) (required): Codes indicating the kind of the price component. #xD; extension:code 0..1 Extension R4B: Code identifying the specific component (new) #xD; url 1..1 uri "code" #xD; value[x] 0..1 CodeableConcept Code identifying the specific component #xD; extension:factor 0..1 Extension R4B: Factor used for calculating this component (new) #xD; url 1..1 uri "factor" #xD; value[x] 0..1 decimal Factor used for calculating this component #xD; extension:amount 0..1 Extension R4B: Monetary amount associated with this component (new) #xD; url 1..1 uri "amount" #xD; value[x] 0..1 Money Monetary amount associated with this component #xD; url 1..1 uri "priceComponent" #xD; value[x] 0..0 Value of extension #xD; url 1..1 uri "http://hl7.org/fhir/4.3/StructureDefinition/extension-Invoice.lineItem" #xD; value[x] 0..0 Value of extension #xD; Documentation for this format
R4B: `Invoice.lineItem` (new:BackboneElement)
This extension is part of the cross-version definitions generated to enable use of the element `Invoice.lineItem` as defined in FHIR R4B in FHIR STU3. The source element is defined as: `Invoice.lineItem` 0..* `BackboneElement` Across FHIR versions, the element set has been mapped as: * R4B: `Invoice.lineItem` 0..* `BackboneElement` Following are the generation technical comments: Element `Invoice.lineItem` is not mapped to FHIR STU3, since FHIR R4B `Invoice` is not mapped. Element `Invoice.lineItem` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
Element `Invoice.lineItem` is not mapped to FHIR STU3, since FHIR R4B `Invoice` is not mapped. Element `Invoice.lineItem` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
All FHIR elements must have a @value or children
hasValue() | (children().count() > id.count())
Must have either extensions or value[x], not both
exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Extensions are always sliced by (at least) url
R4B: `Invoice.lineItem.sequence` (new:positiveInt)
Element `Invoice.lineItem.sequence` is part of an existing definition because parent element `Invoice.lineItem` requires a cross-version extension. Element `Invoice.lineItem.sequence` is not mapped to FHIR STU3, since FHIR R4B `Invoice` is not mapped. Element `Invoice.lineItem.sequence` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
Additional Content defined by implementations
May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
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.
Source of the definition for the extension code - a logical name or a URL.
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.
Sequence in which the items appear on the invoice.
R4B: Reference to ChargeItem containing details of this line item or an inline billing code (new)
R4B: `Invoice.lineItem.chargeItem[x]` (new:CodeableConcept, Reference(ChargeItem))
Element `Invoice.lineItem.chargeItem[x]` is part of an existing definition because parent element `Invoice.lineItem` requires a cross-version extension. Element `Invoice.lineItem.chargeItem[x]` is not mapped to FHIR STU3, since FHIR R4B `Invoice` is not mapped. Element `Invoice.lineItem.chargeItem[x]` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
Reference to ChargeItem containing details of this line item or an inline billing code
The ChargeItem contains information such as the billing code, date, amount etc. If no further details are required for the lineItem, inline billing codes can be added using the CodeableConcept data type instead of the Reference.
R4B: Components of total line item price (new)
R4B: `Invoice.lineItem.priceComponent` (new:BackboneElement)
Element `Invoice.lineItem.priceComponent` is part of an existing definition because parent element `Invoice.lineItem` requires a cross-version extension. Element `Invoice.lineItem.priceComponent` is not mapped to FHIR STU3, since FHIR R4B `Invoice` is not mapped. Element `Invoice.lineItem.priceComponent` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
Element `Invoice.lineItem.priceComponent` is part of an existing definition because parent element `Invoice.lineItem` requires a cross-version extension. Element `Invoice.lineItem.priceComponent` is not mapped to FHIR STU3, since FHIR R4B `Invoice` is not mapped. Element `Invoice.lineItem.priceComponent` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). Creating extension because element `Invoice.lineItem.priceComponent` is a content reference and requires an extesion definition.
R4B: base | surcharge | deduction | discount | tax | informational (new)
R4B: `Invoice.lineItem.priceComponent.type` (new:code)
Element `Invoice.lineItem.priceComponent.type` is part of an existing definition because parent element `Invoice.lineItem.priceComponent` requires a cross-version extension. Element `Invoice.lineItem.priceComponent.type` is not mapped to FHIR STU3, since FHIR R4B `Invoice` is not mapped. Element `Invoice.lineItem.priceComponent.type` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
base | surcharge | deduction | discount | tax | informational
This code identifies the type of the component.
Codes indicating the kind of the price component.
R4B: Code identifying the specific component (new)
R4B: `Invoice.lineItem.priceComponent.code` (new:CodeableConcept)
Element `Invoice.lineItem.priceComponent.code` is part of an existing definition because parent element `Invoice.lineItem.priceComponent` requires a cross-version extension. Element `Invoice.lineItem.priceComponent.code` is not mapped to FHIR STU3, since FHIR R4B `Invoice` is not mapped. Element `Invoice.lineItem.priceComponent.code` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
A code that identifies the component. Codes may be used to differentiate between kinds of taxes, surcharges, discounts etc.
R4B: Factor used for calculating this component (new)
R4B: `Invoice.lineItem.priceComponent.factor` (new:decimal)
Element `Invoice.lineItem.priceComponent.factor` is part of an existing definition because parent element `Invoice.lineItem.priceComponent` requires a cross-version extension. Element `Invoice.lineItem.priceComponent.factor` is not mapped to FHIR STU3, since FHIR R4B `Invoice` is not mapped. Element `Invoice.lineItem.priceComponent.factor` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). There is no reason to carry the price in the instance of a ChargeItem unless circumstances require a manual override. The list prices or are usually defined in a back catalogue of the billing codes (see ChargeItem.definition). Derived profiles may require a ChargeItem.overrideReason to be provided if either factor or price are manually overridden.
Element `Invoice.lineItem.priceComponent.factor` is part of an existing definition because parent element `Invoice.lineItem.priceComponent` requires a cross-version extension. Element `Invoice.lineItem.priceComponent.factor` is not mapped to FHIR STU3, since FHIR R4B `Invoice` is not mapped. Element `Invoice.lineItem.priceComponent.factor` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
Factor used for calculating this component
The factor that has been applied on the base price for calculating this component.
There is no reason to carry the price in the instance of a ChargeItem unless circumstances require a manual override. The list prices or are usually defined in a back catalogue of the billing codes (see ChargeItem.definition). Derived profiles may require a ChargeItem.overrideReason to be provided if either factor or price are manually overridden.
R4B: Monetary amount associated with this component (new)
R4B: `Invoice.lineItem.priceComponent.amount` (new:Money)
Element `Invoice.lineItem.priceComponent.amount` is part of an existing definition because parent element `Invoice.lineItem.priceComponent` requires a cross-version extension. Element `Invoice.lineItem.priceComponent.amount` is not mapped to FHIR STU3, since FHIR R4B `Invoice` is not mapped. Element `Invoice.lineItem.priceComponent.amount` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). There is no reason to carry the price in the instance of a ChargeItem unless circumstances require a manual override. The list prices or are usually defined in a back catalogue of the billing codes (see ChargeItem.definition). Derived profiles may require a ChargeItem.overrideReason to be provided if either factor or price are manually overridden.
Element `Invoice.lineItem.priceComponent.amount` is part of an existing definition because parent element `Invoice.lineItem.priceComponent` requires a cross-version extension. Element `Invoice.lineItem.priceComponent.amount` is not mapped to FHIR STU3, since FHIR R4B `Invoice` is not mapped. Element `Invoice.lineItem.priceComponent.amount` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
Monetary amount associated with this component
The amount calculated for this component.
Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).