description: 'R4: `SubstanceSpecification.code` (new:BackboneElement)' package_name: hl7.fhir.uv.xver-r4.r3 derivation: constraint name: ExtensionSubstanceSpecification_Code type: Extension elements: extension: base: {max: '*', min: 0, path: Extension.extension} array: true index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: 0 slices: code: match: {url: code} schema: short: 'R4: The specific code (new)' base: {max: '*', min: 0, path: Extension.extension} index: 1 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: code} index: 2 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: The specific code choices: [valueCodeableConcept] index: 4 valueCodeableConcept: short: The specific code type: CodeableConcept base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 5 required: [url] status: match: {url: status} schema: short: 'R4: Status of the code assignment (new)' base: {max: '*', min: 0, path: Extension.extension} index: 6 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: status} index: 7 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Status of the code assignment choices: [valueCodeableConcept] index: 9 valueCodeableConcept: short: Status of the code assignment type: CodeableConcept base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 10 required: [url] statusDate: match: {url: statusDate} schema: short: 'R4: The date at which the code status is changed as part of the terminology maintenance (new)' base: {max: '*', min: 0, path: Extension.extension} index: 11 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: statusDate} index: 12 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: The date at which the code status is changed as part of the terminology maintenance choices: [valueDateTime] index: 14 valueDateTime: short: The date at which the code status is changed as part of the terminology maintenance type: dateTime base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 15 required: [url] comment: match: {url: comment} schema: short: 'R4: Any comment can be provided in this field, if necessary (new)' base: {max: '*', min: 0, path: Extension.extension} index: 16 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: comment} index: 17 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Any comment can be provided in this field, if necessary choices: [valueString] index: 19 valueString: short: Any comment can be provided in this field, if necessary type: string base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 20 required: [url] source: match: {url: source} schema: short: 'R4: Supporting literature (new)' array: true base: {max: '*', min: 0, path: Extension.extension} index: 21 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: source} index: 22 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Supporting literature choices: [valueReference, valueReference] index: 24 valueReference: short: Supporting literature refers: ['http://hl7.org/fhir/4.0/StructureDefinition/profile-DocumentReference|0.1.0'] type: Reference base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 25 required: [url] url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: 'http://hl7.org/fhir/4.0/StructureDefinition/extension-SubstanceSpecification.code'} index: 27 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} choices: [] index: 29 package_version: 0.1.0 extensions: code: url: code short: 'R4: The specific code (new)' base: {max: '*', min: 0, path: Extension.extension} index: 1 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: code} index: 2 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: The specific code choices: [valueCodeableConcept] index: 4 valueCodeableConcept: short: The specific code type: CodeableConcept base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 5 required: [url] status: url: status short: 'R4: Status of the code assignment (new)' base: {max: '*', min: 0, path: Extension.extension} index: 6 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: status} index: 7 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Status of the code assignment choices: [valueCodeableConcept] index: 9 valueCodeableConcept: short: Status of the code assignment type: CodeableConcept base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 10 required: [url] statusDate: url: statusDate short: 'R4: The date at which the code status is changed as part of the terminology maintenance (new)' base: {max: '*', min: 0, path: Extension.extension} index: 11 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: statusDate} index: 12 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: The date at which the code status is changed as part of the terminology maintenance choices: [valueDateTime] index: 14 valueDateTime: short: The date at which the code status is changed as part of the terminology maintenance type: dateTime base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 15 required: [url] comment: url: comment short: 'R4: Any comment can be provided in this field, if necessary (new)' base: {max: '*', min: 0, path: Extension.extension} index: 16 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: comment} index: 17 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Any comment can be provided in this field, if necessary choices: [valueString] index: 19 valueString: short: Any comment can be provided in this field, if necessary type: string base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 20 required: [url] source: url: source short: 'R4: Supporting literature (new)' array: true base: {max: '*', min: 0, path: Extension.extension} index: 21 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: source} index: 22 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Supporting literature choices: [valueReference, valueReference] index: 24 valueReference: short: Supporting literature refers: ['http://hl7.org/fhir/4.0/StructureDefinition/profile-DocumentReference|0.1.0'] type: Reference base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 25 required: [url] class: extension kind: complex-type url: http://hl7.org/fhir/4.0/StructureDefinition/extension-SubstanceSpecification.code base: http://hl7.org/fhir/StructureDefinition/Extension version: 0.1.0 required: [url]