PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch-emed@4.0.1
    http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-dispense
description: Extension to reference an external MedicationDispense and the Medication Dispense document that contains it
package_name: ch.fhir.ig.ch-emed
derivation: constraint
name: CHEMEDExtDispense
type: Extension
elements:
  extension:
    array: true
    min: 2
    index: 0
    slicing:
      slices:
        id:
          match: {}
          schema:
            short: Identifier of the referenced external MedicationDispense
            _required: true
            index: 1
            extensions: {}
            elements:
              extension: {index: 2}
              url:
                pattern: {type: Uri, value: id}
                index: 3
              value:
                choices: []
                index: 5
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this, type: type}
                  min: null
                  slices:
                    valueIdentifier:
                      match: {}
                      schema:
                        choices: [valueIdentifier]
                        index: 7
                      min: 0
                      max: 1
              valueIdentifier:
                type: Identifier
                choiceOf: value
                index: 8
                slicing:
                  slices:
                    valueIdentifier:
                      match: {}
                      schema: {type: Identifier, choiceOf: value, index: 8}
                      min: 0
                      max: 1
        externalDocumentId:
          match: {}
          schema:
            short: Identifier of the referenced external Medication Dispense document
            _required: true
            index: 9
            extensions: {}
            elements:
              extension: {index: 10}
              url:
                pattern: {type: Uri, value: externalDocumentId}
                index: 11
              value:
                choices: []
                index: 13
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this, type: type}
                  min: null
                  slices:
                    valueIdentifier:
                      match: {}
                      schema:
                        choices: [valueIdentifier]
                        index: 15
                      min: 0
                      max: 1
              valueIdentifier:
                type: Identifier
                choiceOf: value
                index: 16
                slicing:
                  slices:
                    valueIdentifier:
                      match: {}
                      schema: {type: Identifier, choiceOf: value, index: 16}
                      min: 0
                      max: 1
  url:
    pattern: {type: Uri, value: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-dispense'}
    index: 17
  value:
    choices: []
    index: 19
package_version: 4.0.1
extensions:
  id:
    url: null
    short: Identifier of the referenced external MedicationDispense
    _required: true
    index: 1
    extensions: {}
    elements:
      extension: {index: 2}
      url:
        pattern: {type: Uri, value: id}
        index: 3
      value:
        choices: []
        index: 5
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            valueIdentifier:
              match: {}
              schema:
                choices: [valueIdentifier]
                index: 7
              min: 0
              max: 1
      valueIdentifier:
        type: Identifier
        choiceOf: value
        index: 8
        slicing:
          slices:
            valueIdentifier:
              match: {}
              schema: {type: Identifier, choiceOf: value, index: 8}
              min: 0
              max: 1
  externalDocumentId:
    url: null
    short: Identifier of the referenced external Medication Dispense document
    _required: true
    index: 9
    extensions: {}
    elements:
      extension: {index: 10}
      url:
        pattern: {type: Uri, value: externalDocumentId}
        index: 11
      value:
        choices: []
        index: 13
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            valueIdentifier:
              match: {}
              schema:
                choices: [valueIdentifier]
                index: 15
              min: 0
              max: 1
      valueIdentifier:
        type: Identifier
        choiceOf: value
        index: 16
        slicing:
          slices:
            valueIdentifier:
              match: {}
              schema: {type: Identifier, choiceOf: value, index: 16}
              min: 0
              max: 1
class: extension
kind: complex-type
url: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-dispense
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 4.0.1