description: 'R5: `Account.relatedAccount` (new:BackboneElement)' package_name: hl7.fhir.uv.xver-r5.r4b derivation: constraint name: ExtensionAccount_RelatedAccount 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: relationship: match: {url: relationship} schema: short: 'R5: Relationship of the associated Account (new)' base: {max: '*', min: 0, path: Extension.extension} index: 1 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: relationship} index: 2 value: short: Relationship of the associated Account choices: [valueCodeableConcept] base: {max: '1', min: 0, path: 'Extension.value[x]'} index: 4 valueCodeableConcept: short: Relationship of the associated Account type: CodeableConcept base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 5 required: [url] account: match: {url: account} schema: short: 'R5: Reference to an associated Account' _required: true base: {max: '*', min: 0, path: Extension.extension} index: 6 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: account} index: 7 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Reference to an associated Account choices: [valueReference] index: 9 valueReference: short: Reference to an associated Account refers: ['http://hl7.org/fhir/5.0/StructureDefinition/profile-Account|0.1.0', 'http://hl7.org/fhir/StructureDefinition/Account|4.3.0'] type: Reference base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 10 required: [url, valueReference, value] url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Account.relatedAccount'} index: 11 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} choices: [] index: 13 package_version: 0.1.0 extensions: relationship: url: relationship short: 'R5: Relationship of the associated Account (new)' base: {max: '*', min: 0, path: Extension.extension} index: 1 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: relationship} index: 2 value: short: Relationship of the associated Account choices: [valueCodeableConcept] base: {max: '1', min: 0, path: 'Extension.value[x]'} index: 4 valueCodeableConcept: short: Relationship of the associated Account type: CodeableConcept base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 5 required: [url] account: url: account short: 'R5: Reference to an associated Account' _required: true base: {max: '*', min: 0, path: Extension.extension} index: 6 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: account} index: 7 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Reference to an associated Account choices: [valueReference] index: 9 valueReference: short: Reference to an associated Account refers: ['http://hl7.org/fhir/5.0/StructureDefinition/profile-Account|0.1.0', 'http://hl7.org/fhir/StructureDefinition/Account|4.3.0'] type: Reference base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 10 required: [url, valueReference, value] class: extension kind: complex-type url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Account.relatedAccount base: http://hl7.org/fhir/StructureDefinition/Extension|4.3.0 version: 0.1.0 required: [url, extension]