description: This cross-version extension represents Account.balance from http://hl7.org/fhir/StructureDefinition/Account|5.0.0 for use in FHIR R4. package_name: hl7.fhir.uv.xver derivation: constraint name: ext_R5_Account_balance type: Extension elements: extension: array: true min: 1 index: 0 slicing: rules: closed ordered: false discriminator: - {path: url, type: value} min: 1 slices: aggregate: match: {url: null} schema: short: Who is expected to pay this part of the balance isModifier: false index: 1 elements: value: base: {path: 'Extension.value[x]'} short: Who is expected to pay this part of the balance choices: [valueCodeableConcept] index: 3 valueCodeableConcept: base: {path: 'Extension.value[x]'} type: CodeableConcept short: Who is expected to pay this part of the balance choiceOf: value index: 4 term: match: {url: null} schema: short: current | 30 | 60 | 90 | 120 isModifier: false index: 5 elements: value: base: {path: 'Extension.value[x]'} short: current | 30 | 60 | 90 | 120 choices: [valueCodeableConcept] index: 7 valueCodeableConcept: base: {path: 'Extension.value[x]'} type: CodeableConcept short: current | 30 | 60 | 90 | 120 choiceOf: value index: 8 estimate: match: {url: null} schema: short: Estimated balance isModifier: false index: 9 elements: value: base: {path: 'Extension.value[x]'} short: Estimated balance choices: [valueBoolean] index: 11 valueBoolean: base: {path: 'Extension.value[x]'} type: boolean short: Estimated balance choiceOf: value index: 12 amount: match: {url: null} schema: short: Calculated amount isModifier: false _required: true index: 13 elements: value: base: {path: 'Extension.value[x]'} short: Calculated amount choices: [valueMoney] index: 15 valueMoney: base: {path: 'Extension.value[x]'} type: Money short: Calculated amount choiceOf: value index: 16 url: pattern: {type: Uri, value: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Account.balance'} index: 17 package_version: r5.r4-0.0.1-snapshot-1 extensions: aggregate: url: null short: Who is expected to pay this part of the balance isModifier: false index: 1 elements: value: base: {path: 'Extension.value[x]'} short: Who is expected to pay this part of the balance choices: [valueCodeableConcept] index: 3 valueCodeableConcept: base: {path: 'Extension.value[x]'} type: CodeableConcept short: Who is expected to pay this part of the balance choiceOf: value index: 4 term: url: null short: current | 30 | 60 | 90 | 120 isModifier: false index: 5 elements: value: base: {path: 'Extension.value[x]'} short: current | 30 | 60 | 90 | 120 choices: [valueCodeableConcept] index: 7 valueCodeableConcept: base: {path: 'Extension.value[x]'} type: CodeableConcept short: current | 30 | 60 | 90 | 120 choiceOf: value index: 8 estimate: url: null short: Estimated balance isModifier: false index: 9 elements: value: base: {path: 'Extension.value[x]'} short: Estimated balance choices: [valueBoolean] index: 11 valueBoolean: base: {path: 'Extension.value[x]'} type: boolean short: Estimated balance choiceOf: value index: 12 amount: url: null short: Calculated amount isModifier: false _required: true index: 13 elements: value: base: {path: 'Extension.value[x]'} short: Calculated amount choices: [valueMoney] index: 15 valueMoney: base: {path: 'Extension.value[x]'} type: Money short: Calculated amount choiceOf: value index: 16 class: extension kind: complex-type url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Account.balance base: http://hl7.org/fhir/StructureDefinition/Extension version: 0.0.1-snapshot-1 required: [url, extension]