description: 'R4: `SubstanceAmount.amount[x]` (new:Quantity, Range, string)' package_name: hl7.fhir.uv.xver-r4.r3 derivation: constraint name: ExtensionSubstanceAmount_Amount type: Extension elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: 'http://hl7.org/fhir/4.0/StructureDefinition/extension-SubstanceAmount.amount'} index: 0 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Used to capture quantitative values for a variety of elements. If only limits are given, the arithmetic mean would be the average. If only a single definite value for a given element is given, it would be captured in this field choices: [valueQuantity, valueRange, valueString] index: 2 valueQuantity: short: Used to capture quantitative values for a variety of elements. If only limits are given, the arithmetic mean would be the average. If only a single definite value for a given element is given, it would be captured in this field type: Quantity base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 3 valueRange: short: Used to capture quantitative values for a variety of elements. If only limits are given, the arithmetic mean would be the average. If only a single definite value for a given element is given, it would be captured in this field type: Range base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 4 valueString: short: Used to capture quantitative values for a variety of elements. If only limits are given, the arithmetic mean would be the average. If only a single definite value for a given element is given, it would be captured in this field type: string base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 5 package_version: 0.1.0 class: extension kind: complex-type url: http://hl7.org/fhir/4.0/StructureDefinition/extension-SubstanceAmount.amount base: http://hl7.org/fhir/StructureDefinition/Extension version: 0.1.0 required: [url]