description: 'R4B: `Invoice.lineItem.priceComponent` (new:BackboneElement)' package_name: hl7.fhir.uv.xver-r4b.r3 derivation: constraint name: ExtensionInvoice_LineItem_PriceComponent type: Extension elements: extension: base: {max: '*', min: 0, path: Extension.extension} array: true min: 1 index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: 1 slices: type: match: {url: type} schema: short: 'R4B: base | surcharge | deduction | discount | tax | informational (new)' _required: true base: {max: '*', min: 0, path: Extension.extension} index: 1 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: type} index: 2 value: short: base | surcharge | deduction | discount | tax | informational choices: [valueCode] base: {max: '1', min: 0, path: 'Extension.value[x]'} index: 4 valueCode: short: base | surcharge | deduction | discount | tax | informational type: code base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 5 required: [url, valueCode, value] code: match: {url: code} schema: short: 'R4B: Code identifying the specific component (new)' base: {max: '*', min: 0, path: Extension.extension} index: 6 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: code} index: 7 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Code identifying the specific component choices: [valueCodeableConcept] index: 9 valueCodeableConcept: short: Code identifying the specific component type: CodeableConcept base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 10 required: [url] factor: match: {url: factor} schema: short: 'R4B: Factor used for calculating this component (new)' base: {max: '*', min: 0, path: Extension.extension} index: 11 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: factor} index: 12 value: short: Factor used for calculating this component choices: [valueDecimal] base: {max: '1', min: 0, path: 'Extension.value[x]'} index: 14 valueDecimal: short: Factor used for calculating this component type: decimal base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 15 required: [url] amount: match: {url: amount} schema: short: 'R4B: Monetary amount associated with this component (new)' base: {max: '*', min: 0, path: Extension.extension} index: 16 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: amount} index: 17 value: short: Monetary amount associated with this component choices: [valueMoney] base: {max: '1', min: 0, path: 'Extension.value[x]'} index: 19 valueMoney: short: Monetary amount associated with this component type: Money base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 20 required: [url] url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: 'http://hl7.org/fhir/4.3/StructureDefinition/extension-Invoice.lineItem.priceComponent'} index: 21 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} choices: [] index: 23 package_version: 0.1.0 extensions: type: url: type short: 'R4B: base | surcharge | deduction | discount | tax | informational (new)' _required: true base: {max: '*', min: 0, path: Extension.extension} index: 1 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: type} index: 2 value: short: base | surcharge | deduction | discount | tax | informational choices: [valueCode] base: {max: '1', min: 0, path: 'Extension.value[x]'} index: 4 valueCode: short: base | surcharge | deduction | discount | tax | informational type: code base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 5 required: [url, valueCode, value] code: url: code short: 'R4B: Code identifying the specific component (new)' base: {max: '*', min: 0, path: Extension.extension} index: 6 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: code} index: 7 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Code identifying the specific component choices: [valueCodeableConcept] index: 9 valueCodeableConcept: short: Code identifying the specific component type: CodeableConcept base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 10 required: [url] factor: url: factor short: 'R4B: Factor used for calculating this component (new)' base: {max: '*', min: 0, path: Extension.extension} index: 11 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: factor} index: 12 value: short: Factor used for calculating this component choices: [valueDecimal] base: {max: '1', min: 0, path: 'Extension.value[x]'} index: 14 valueDecimal: short: Factor used for calculating this component type: decimal base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 15 required: [url] amount: url: amount short: 'R4B: Monetary amount associated with this component (new)' base: {max: '*', min: 0, path: Extension.extension} index: 16 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: amount} index: 17 value: short: Monetary amount associated with this component choices: [valueMoney] base: {max: '1', min: 0, path: 'Extension.value[x]'} index: 19 valueMoney: short: Monetary amount associated with this component type: Money base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 20 required: [url] class: extension kind: complex-type url: http://hl7.org/fhir/4.3/StructureDefinition/extension-Invoice.lineItem.priceComponent base: http://hl7.org/fhir/StructureDefinition/Extension version: 0.1.0 required: [url, extension]