PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.xver-r4.r3@0.1.0
    http://hl7.org/fhir/4.0/StructureDefinition/extension-SubstanceSpecification.moiety
description: 'R4: `SubstanceSpecification.moiety` (new:BackboneElement)'
package_name: hl7.fhir.uv.xver-r4.r3
derivation: constraint
name: ExtensionSubstanceSpecification_Moiety
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:
        role:
          match: {url: role}
          schema:
            short: 'R4: Role that the moiety is playing (new)'
            base: {max: '*', min: 0, path: Extension.extension}
            index: 1
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: role}
                index: 2
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Role that the moiety is playing
                choices: [valueCodeableConcept]
                index: 4
              valueCodeableConcept:
                short: Role that the moiety is playing
                type: CodeableConcept
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 5
            required: [url]
        identifier:
          match: {url: identifier}
          schema:
            short: 'R4: Identifier by which this moiety substance is known (new)'
            base: {max: '*', min: 0, path: Extension.extension}
            index: 6
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: identifier}
                index: 7
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Identifier by which this moiety substance is known
                choices: [valueIdentifier]
                index: 9
              valueIdentifier:
                short: Identifier by which this moiety substance is known
                type: Identifier
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 10
            required: [url]
        name:
          match: {url: name}
          schema:
            short: 'R4: Textual name for this moiety substance (new)'
            base: {max: '*', min: 0, path: Extension.extension}
            index: 11
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: name}
                index: 12
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Textual name for this moiety substance
                choices: [valueString]
                index: 14
              valueString:
                short: Textual name for this moiety substance
                type: string
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 15
            required: [url]
        stereochemistry:
          match: {url: stereochemistry}
          schema:
            short: 'R4: Stereochemistry type (new)'
            base: {max: '*', min: 0, path: Extension.extension}
            index: 16
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: stereochemistry}
                index: 17
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Stereochemistry type
                choices: [valueCodeableConcept]
                index: 19
              valueCodeableConcept:
                short: Stereochemistry type
                type: CodeableConcept
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 20
            required: [url]
        opticalActivity:
          match: {url: opticalActivity}
          schema:
            short: 'R4: Optical activity type (new)'
            base: {max: '*', min: 0, path: Extension.extension}
            index: 21
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: opticalActivity}
                index: 22
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Optical activity type
                choices: [valueCodeableConcept]
                index: 24
              valueCodeableConcept:
                short: Optical activity type
                type: CodeableConcept
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 25
            required: [url]
        molecularFormula:
          match: {url: molecularFormula}
          schema:
            short: 'R4: Molecular formula (new)'
            base: {max: '*', min: 0, path: Extension.extension}
            index: 26
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: molecularFormula}
                index: 27
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Molecular formula
                choices: [valueString]
                index: 29
              valueString:
                short: Molecular formula
                type: string
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 30
            required: [url]
        amount:
          match: {url: amount}
          schema:
            short: 'R4: Quantitative value for this moiety (new)'
            base: {max: '*', min: 0, path: Extension.extension}
            index: 31
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: amount}
                index: 32
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Quantitative value for this moiety
                choices: [valueQuantity, valueString]
                index: 34
              valueQuantity:
                short: Quantitative value for this moiety
                type: Quantity
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 35
              valueString:
                short: Quantitative value for this moiety
                type: string
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 36
            required: [url]
  url:
    base: {max: '1', min: 1, path: Extension.url}
    pattern: {type: Uri, value: 'http://hl7.org/fhir/4.0/StructureDefinition/extension-SubstanceSpecification.moiety'}
    index: 37
  value:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    choices: []
    index: 39
package_version: 0.1.0
extensions:
  role:
    url: role
    short: 'R4: Role that the moiety is playing (new)'
    base: {max: '*', min: 0, path: Extension.extension}
    index: 1
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: role}
        index: 2
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Role that the moiety is playing
        choices: [valueCodeableConcept]
        index: 4
      valueCodeableConcept:
        short: Role that the moiety is playing
        type: CodeableConcept
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        choiceOf: value
        index: 5
    required: [url]
  identifier:
    url: identifier
    short: 'R4: Identifier by which this moiety substance is known (new)'
    base: {max: '*', min: 0, path: Extension.extension}
    index: 6
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: identifier}
        index: 7
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Identifier by which this moiety substance is known
        choices: [valueIdentifier]
        index: 9
      valueIdentifier:
        short: Identifier by which this moiety substance is known
        type: Identifier
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        choiceOf: value
        index: 10
    required: [url]
  name:
    url: name
    short: 'R4: Textual name for this moiety substance (new)'
    base: {max: '*', min: 0, path: Extension.extension}
    index: 11
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: name}
        index: 12
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Textual name for this moiety substance
        choices: [valueString]
        index: 14
      valueString:
        short: Textual name for this moiety substance
        type: string
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        choiceOf: value
        index: 15
    required: [url]
  stereochemistry:
    url: stereochemistry
    short: 'R4: Stereochemistry type (new)'
    base: {max: '*', min: 0, path: Extension.extension}
    index: 16
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: stereochemistry}
        index: 17
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Stereochemistry type
        choices: [valueCodeableConcept]
        index: 19
      valueCodeableConcept:
        short: Stereochemistry type
        type: CodeableConcept
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        choiceOf: value
        index: 20
    required: [url]
  opticalActivity:
    url: opticalActivity
    short: 'R4: Optical activity type (new)'
    base: {max: '*', min: 0, path: Extension.extension}
    index: 21
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: opticalActivity}
        index: 22
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Optical activity type
        choices: [valueCodeableConcept]
        index: 24
      valueCodeableConcept:
        short: Optical activity type
        type: CodeableConcept
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        choiceOf: value
        index: 25
    required: [url]
  molecularFormula:
    url: molecularFormula
    short: 'R4: Molecular formula (new)'
    base: {max: '*', min: 0, path: Extension.extension}
    index: 26
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: molecularFormula}
        index: 27
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Molecular formula
        choices: [valueString]
        index: 29
      valueString:
        short: Molecular formula
        type: string
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        choiceOf: value
        index: 30
    required: [url]
  amount:
    url: amount
    short: 'R4: Quantitative value for this moiety (new)'
    base: {max: '*', min: 0, path: Extension.extension}
    index: 31
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: amount}
        index: 32
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Quantitative value for this moiety
        choices: [valueQuantity, valueString]
        index: 34
      valueQuantity:
        short: Quantitative value for this moiety
        type: Quantity
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        choiceOf: value
        index: 35
      valueString:
        short: Quantitative value for this moiety
        type: string
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        choiceOf: value
        index: 36
    required: [url]
class: extension
kind: complex-type
url: http://hl7.org/fhir/4.0/StructureDefinition/extension-SubstanceSpecification.moiety
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 0.1.0
required: [url]