description: 'R4: `SubstanceSpecification.relationship` (new:BackboneElement)' package_name: hl7.fhir.uv.xver-r4.r3 derivation: constraint name: ExtensionSubstanceSpecification_Relationship 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: substance: match: {url: substance} schema: short: 'R4: A pointer to another substance, as a resource or just a representational 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: substance} index: 2 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: A pointer to another substance, as a resource or just a representational code choices: [valueReference, valueReference, valueCodeableConcept] index: 4 valueReference: short: A pointer to another substance, as a resource or just a representational code refers: ['http://hl7.org/fhir/4.0/StructureDefinition/profile-SubstanceSpecification|0.1.0'] type: Reference base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 5 valueCodeableConcept: short: A pointer to another substance, as a resource or just a representational code type: CodeableConcept base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 7 required: [url] relationship: match: {url: relationship} schema: short: 'R4: For example "salt to parent", "active moiety", "starting material" (new)' base: {max: '*', min: 0, path: Extension.extension} index: 8 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: relationship} index: 9 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: For example "salt to parent", "active moiety", "starting material" choices: [valueCodeableConcept] index: 11 valueCodeableConcept: short: For example "salt to parent", "active moiety", "starting material" type: CodeableConcept base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 12 required: [url] isDefining: match: {url: isDefining} schema: short: 'R4: For example where an enzyme strongly bonds with a particular substance, this is a defining relationship for that enzyme, out of several possible substance relationships (new)' base: {max: '*', min: 0, path: Extension.extension} index: 13 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: isDefining} index: 14 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: For example where an enzyme strongly bonds with a particular substance, this is a defining relationship for that enzyme, out of several possible substance relationships choices: [valueBoolean] index: 16 valueBoolean: short: For example where an enzyme strongly bonds with a particular substance, this is a defining relationship for that enzyme, out of several possible substance relationships type: boolean base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 17 required: [url] amount: match: {url: amount} schema: short: 'R4: A numeric factor for the relationship, for instance to express that the salt of a substance has some percentage of the active substance in relation to some other (new)' base: {max: '*', min: 0, path: Extension.extension} index: 18 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: amount} index: 19 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: A numeric factor for the relationship, for instance to express that the salt of a substance has some percentage of the active substance in relation to some other choices: [valueQuantity, valueRange, valueRatio, valueString] index: 21 valueQuantity: short: A numeric factor for the relationship, for instance to express that the salt of a substance has some percentage of the active substance in relation to some other type: Quantity base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 22 valueRange: short: A numeric factor for the relationship, for instance to express that the salt of a substance has some percentage of the active substance in relation to some other type: Range base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 23 valueRatio: short: A numeric factor for the relationship, for instance to express that the salt of a substance has some percentage of the active substance in relation to some other type: Ratio base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 24 valueString: short: A numeric factor for the relationship, for instance to express that the salt of a substance has some percentage of the active substance in relation to some other type: string base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 25 required: [url] amountRatioLowLimit: match: {url: amountRatioLowLimit} schema: short: 'R4: For use when the numeric (new)' base: {max: '*', min: 0, path: Extension.extension} index: 26 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: amountRatioLowLimit} index: 27 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: For use when the numeric choices: [valueRatio] index: 29 valueRatio: short: For use when the numeric type: Ratio base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 30 required: [url] amountType: match: {url: amountType} schema: short: 'R4: An operator for the amount, for example "average", "approximately", "less than" (new)' base: {max: '*', min: 0, path: Extension.extension} index: 31 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: amountType} index: 32 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: An operator for the amount, for example "average", "approximately", "less than" choices: [valueCodeableConcept] index: 34 valueCodeableConcept: short: An operator for the amount, for example "average", "approximately", "less than" type: CodeableConcept base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 35 required: [url] source: match: {url: source} schema: short: 'R4: Supporting literature (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: source} index: 37 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Supporting literature choices: [valueReference, valueReference] index: 39 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: 40 required: [url] url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: 'http://hl7.org/fhir/4.0/StructureDefinition/extension-SubstanceSpecification.relationship'} index: 42 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} choices: [] index: 44 package_version: 0.1.0 extensions: substance: url: substance short: 'R4: A pointer to another substance, as a resource or just a representational 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: substance} index: 2 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: A pointer to another substance, as a resource or just a representational code choices: [valueReference, valueReference, valueCodeableConcept] index: 4 valueReference: short: A pointer to another substance, as a resource or just a representational code refers: ['http://hl7.org/fhir/4.0/StructureDefinition/profile-SubstanceSpecification|0.1.0'] type: Reference base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 5 valueCodeableConcept: short: A pointer to another substance, as a resource or just a representational code type: CodeableConcept base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 7 required: [url] relationship: url: relationship short: 'R4: For example "salt to parent", "active moiety", "starting material" (new)' base: {max: '*', min: 0, path: Extension.extension} index: 8 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: relationship} index: 9 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: For example "salt to parent", "active moiety", "starting material" choices: [valueCodeableConcept] index: 11 valueCodeableConcept: short: For example "salt to parent", "active moiety", "starting material" type: CodeableConcept base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 12 required: [url] isDefining: url: isDefining short: 'R4: For example where an enzyme strongly bonds with a particular substance, this is a defining relationship for that enzyme, out of several possible substance relationships (new)' base: {max: '*', min: 0, path: Extension.extension} index: 13 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: isDefining} index: 14 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: For example where an enzyme strongly bonds with a particular substance, this is a defining relationship for that enzyme, out of several possible substance relationships choices: [valueBoolean] index: 16 valueBoolean: short: For example where an enzyme strongly bonds with a particular substance, this is a defining relationship for that enzyme, out of several possible substance relationships type: boolean base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 17 required: [url] amount: url: amount short: 'R4: A numeric factor for the relationship, for instance to express that the salt of a substance has some percentage of the active substance in relation to some other (new)' base: {max: '*', min: 0, path: Extension.extension} index: 18 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: amount} index: 19 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: A numeric factor for the relationship, for instance to express that the salt of a substance has some percentage of the active substance in relation to some other choices: [valueQuantity, valueRange, valueRatio, valueString] index: 21 valueQuantity: short: A numeric factor for the relationship, for instance to express that the salt of a substance has some percentage of the active substance in relation to some other type: Quantity base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 22 valueRange: short: A numeric factor for the relationship, for instance to express that the salt of a substance has some percentage of the active substance in relation to some other type: Range base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 23 valueRatio: short: A numeric factor for the relationship, for instance to express that the salt of a substance has some percentage of the active substance in relation to some other type: Ratio base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 24 valueString: short: A numeric factor for the relationship, for instance to express that the salt of a substance has some percentage of the active substance in relation to some other type: string base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 25 required: [url] amountRatioLowLimit: url: amountRatioLowLimit short: 'R4: For use when the numeric (new)' base: {max: '*', min: 0, path: Extension.extension} index: 26 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: amountRatioLowLimit} index: 27 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: For use when the numeric choices: [valueRatio] index: 29 valueRatio: short: For use when the numeric type: Ratio base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 30 required: [url] amountType: url: amountType short: 'R4: An operator for the amount, for example "average", "approximately", "less than" (new)' base: {max: '*', min: 0, path: Extension.extension} index: 31 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: amountType} index: 32 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: An operator for the amount, for example "average", "approximately", "less than" choices: [valueCodeableConcept] index: 34 valueCodeableConcept: short: An operator for the amount, for example "average", "approximately", "less than" type: CodeableConcept base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 35 required: [url] source: url: source short: 'R4: Supporting literature (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: source} index: 37 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Supporting literature choices: [valueReference, valueReference] index: 39 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: 40 required: [url] class: extension kind: complex-type url: http://hl7.org/fhir/4.0/StructureDefinition/extension-SubstanceSpecification.relationship base: http://hl7.org/fhir/StructureDefinition/Extension version: 0.1.0 required: [url]