description: 'R5: `Account.procedure` (new:BackboneElement)' package_name: hl7.fhir.uv.xver-r5.r4 derivation: constraint name: ExtensionAccount_Procedure 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: sequence: match: {url: sequence} schema: short: 'R5: Ranking of the procedure (for each type) (new)' base: {max: '*', min: 0, path: Extension.extension} index: 1 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: sequence} index: 2 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Ranking of the procedure (for each type) choices: [valuePositiveInt] index: 4 valuePositiveInt: short: Ranking of the procedure (for each type) type: positiveInt base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 5 required: [url] code: match: {url: code} schema: short: 'R5: The procedure relevant to the account (new)' _required: true base: {max: '*', min: 0, path: Extension.extension} index: 6 extensions: _datatype: url: http://hl7.org/fhir/StructureDefinition/_datatype base: {max: '*', min: 0, path: Extension.extension} short: DataType slice for a FHIR R5 `CodeableReference` value _required: true index: 8 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/_datatype'} index: 9 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} pattern: {type: String, value: CodeableReference} choices: [valueString] index: 11 valueString: type: string pattern: {type: String, value: CodeableReference} base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 12 required: [url, valueString, value] concept: url: concept short: 'R5: Reference to a concept (by class)' base: {max: '*', min: 0, path: Extension.extension} index: 13 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: concept} index: 14 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Reference to a concept (by class) choices: [valueCodeableConcept] index: 16 valueCodeableConcept: short: Reference to a concept (by class) type: CodeableConcept base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 17 required: [url] reference: url: reference short: 'R5: Reference to a resource (by instance)' base: {max: '*', min: 0, path: Extension.extension} index: 18 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: reference} index: 19 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Reference to a resource (by instance) choices: [valueReference] index: 21 valueReference: short: Reference to a resource (by instance) refers: ['http://hl7.org/fhir/5.0/StructureDefinition/profile-Procedure|0.1.0', 'http://hl7.org/fhir/StructureDefinition/Procedure|4.0.1'] type: Reference base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 22 required: [url] elements: extension: base: {max: '*', min: 0, path: Extension.extension} array: true min: 1 index: 7 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: 1 slices: _datatype: match: {url: 'http://hl7.org/fhir/StructureDefinition/_datatype'} schema: base: {max: '*', min: 0, path: Extension.extension} short: DataType slice for a FHIR R5 `CodeableReference` value _required: true index: 8 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/_datatype'} index: 9 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} pattern: {type: String, value: CodeableReference} choices: [valueString] index: 11 valueString: type: string pattern: {type: String, value: CodeableReference} base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 12 required: [url, valueString, value] concept: match: {url: concept} schema: short: 'R5: Reference to a concept (by class)' base: {max: '*', min: 0, path: Extension.extension} index: 13 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: concept} index: 14 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Reference to a concept (by class) choices: [valueCodeableConcept] index: 16 valueCodeableConcept: short: Reference to a concept (by class) type: CodeableConcept base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 17 required: [url] reference: match: {url: reference} schema: short: 'R5: Reference to a resource (by instance)' base: {max: '*', min: 0, path: Extension.extension} index: 18 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: reference} index: 19 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Reference to a resource (by instance) choices: [valueReference] index: 21 valueReference: short: Reference to a resource (by instance) refers: ['http://hl7.org/fhir/5.0/StructureDefinition/profile-Procedure|0.1.0', 'http://hl7.org/fhir/StructureDefinition/Procedure|4.0.1'] type: Reference base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 22 required: [url] url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: code} index: 23 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} choices: [] index: 25 required: [url, extension] dateOfService: match: {url: dateOfService} schema: short: 'R5: Date of the procedure (when coded procedure) (new)' base: {max: '*', min: 0, path: Extension.extension} index: 26 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: dateOfService} index: 27 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Date of the procedure (when coded procedure) choices: [valueDateTime] index: 29 valueDateTime: short: Date of the procedure (when coded procedure) type: dateTime base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 30 required: [url] type: match: {url: type} schema: short: 'R5: How this procedure value should be used in charging the account (new)' array: true base: {max: '*', min: 0, path: Extension.extension} index: 31 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: type} index: 32 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: How this procedure value should be used in charging the account choices: [valueCodeableConcept] index: 34 valueCodeableConcept: short: How this procedure value should be used in charging the account type: CodeableConcept base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 35 required: [url] packageCode: match: {url: packageCode} schema: short: 'R5: Package Code specific for billing (new)' array: true base: {max: '*', min: 0, path: Extension.extension} index: 36 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: packageCode} index: 37 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Package Code specific for billing choices: [valueCodeableConcept] index: 39 valueCodeableConcept: short: Package Code specific for billing type: CodeableConcept base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 40 required: [url] device: match: {url: device} schema: short: 'R5: Any devices that were associated with the procedure (new)' array: true base: {max: '*', min: 0, path: Extension.extension} index: 41 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: device} index: 42 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Any devices that were associated with the procedure choices: [valueReference] index: 44 valueReference: short: Any devices that were associated with the procedure refers: ['http://hl7.org/fhir/5.0/StructureDefinition/profile-Device|0.1.0', 'http://hl7.org/fhir/StructureDefinition/Device|4.0.1'] type: Reference base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 45 required: [url] url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Account.procedure'} index: 46 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} choices: [] index: 48 package_version: 0.1.0 extensions: sequence: url: sequence short: 'R5: Ranking of the procedure (for each type) (new)' base: {max: '*', min: 0, path: Extension.extension} index: 1 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: sequence} index: 2 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Ranking of the procedure (for each type) choices: [valuePositiveInt] index: 4 valuePositiveInt: short: Ranking of the procedure (for each type) type: positiveInt base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 5 required: [url] code: url: code short: 'R5: The procedure relevant to the account (new)' _required: true base: {max: '*', min: 0, path: Extension.extension} index: 6 extensions: _datatype: url: http://hl7.org/fhir/StructureDefinition/_datatype base: {max: '*', min: 0, path: Extension.extension} short: DataType slice for a FHIR R5 `CodeableReference` value _required: true index: 8 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/_datatype'} index: 9 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} pattern: {type: String, value: CodeableReference} choices: [valueString] index: 11 valueString: type: string pattern: {type: String, value: CodeableReference} base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 12 required: [url, valueString, value] concept: url: concept short: 'R5: Reference to a concept (by class)' base: {max: '*', min: 0, path: Extension.extension} index: 13 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: concept} index: 14 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Reference to a concept (by class) choices: [valueCodeableConcept] index: 16 valueCodeableConcept: short: Reference to a concept (by class) type: CodeableConcept base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 17 required: [url] reference: url: reference short: 'R5: Reference to a resource (by instance)' base: {max: '*', min: 0, path: Extension.extension} index: 18 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: reference} index: 19 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Reference to a resource (by instance) choices: [valueReference] index: 21 valueReference: short: Reference to a resource (by instance) refers: ['http://hl7.org/fhir/5.0/StructureDefinition/profile-Procedure|0.1.0', 'http://hl7.org/fhir/StructureDefinition/Procedure|4.0.1'] type: Reference base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 22 required: [url] elements: extension: base: {max: '*', min: 0, path: Extension.extension} array: true min: 1 index: 7 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: 1 slices: _datatype: match: {url: 'http://hl7.org/fhir/StructureDefinition/_datatype'} schema: base: {max: '*', min: 0, path: Extension.extension} short: DataType slice for a FHIR R5 `CodeableReference` value _required: true index: 8 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/_datatype'} index: 9 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} pattern: {type: String, value: CodeableReference} choices: [valueString] index: 11 valueString: type: string pattern: {type: String, value: CodeableReference} base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 12 required: [url, valueString, value] concept: match: {url: concept} schema: short: 'R5: Reference to a concept (by class)' base: {max: '*', min: 0, path: Extension.extension} index: 13 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: concept} index: 14 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Reference to a concept (by class) choices: [valueCodeableConcept] index: 16 valueCodeableConcept: short: Reference to a concept (by class) type: CodeableConcept base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 17 required: [url] reference: match: {url: reference} schema: short: 'R5: Reference to a resource (by instance)' base: {max: '*', min: 0, path: Extension.extension} index: 18 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: reference} index: 19 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Reference to a resource (by instance) choices: [valueReference] index: 21 valueReference: short: Reference to a resource (by instance) refers: ['http://hl7.org/fhir/5.0/StructureDefinition/profile-Procedure|0.1.0', 'http://hl7.org/fhir/StructureDefinition/Procedure|4.0.1'] type: Reference base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 22 required: [url] url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: code} index: 23 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} choices: [] index: 25 required: [url, extension] dateOfService: url: dateOfService short: 'R5: Date of the procedure (when coded procedure) (new)' base: {max: '*', min: 0, path: Extension.extension} index: 26 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: dateOfService} index: 27 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Date of the procedure (when coded procedure) choices: [valueDateTime] index: 29 valueDateTime: short: Date of the procedure (when coded procedure) type: dateTime base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 30 required: [url] type: url: type short: 'R5: How this procedure value should be used in charging the account (new)' array: true base: {max: '*', min: 0, path: Extension.extension} index: 31 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: type} index: 32 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: How this procedure value should be used in charging the account choices: [valueCodeableConcept] index: 34 valueCodeableConcept: short: How this procedure value should be used in charging the account type: CodeableConcept base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 35 required: [url] packageCode: url: packageCode short: 'R5: Package Code specific for billing (new)' array: true base: {max: '*', min: 0, path: Extension.extension} index: 36 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: packageCode} index: 37 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Package Code specific for billing choices: [valueCodeableConcept] index: 39 valueCodeableConcept: short: Package Code specific for billing type: CodeableConcept base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 40 required: [url] device: url: device short: 'R5: Any devices that were associated with the procedure (new)' array: true base: {max: '*', min: 0, path: Extension.extension} index: 41 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: device} index: 42 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Any devices that were associated with the procedure choices: [valueReference] index: 44 valueReference: short: Any devices that were associated with the procedure refers: ['http://hl7.org/fhir/5.0/StructureDefinition/profile-Device|0.1.0', 'http://hl7.org/fhir/StructureDefinition/Device|4.0.1'] type: Reference base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 45 required: [url] class: extension kind: complex-type url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Account.procedure base: http://hl7.org/fhir/StructureDefinition/Extension|4.0.1 version: 0.1.0 required: [url, extension]