PackagesCanonicalsLogsProblems
    Packages
    sfm.030521@1.0.1
    http://ehelse.no/fhir/StructureDefinition/sfm-generaldispenseextention
description: Information about banda dispense
package_name: sfm.030521
derivation: constraint
name: SfmGeneraldispenseextention
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        product:
          match: {url: product}
          schema:
            short: Product number
            _required: true
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: product}
                index: 2
              value:
                choices: [valueString]
                index: 4
              valueString: {type: string, choiceOf: value, index: 5}
        productgroup:
          match: {url: productgroup}
          schema:
            short: Group the product is registered in
            _required: true
            index: 6
            elements:
              url:
                pattern: {type: Uri, value: productgroup}
                index: 7
              value:
                choices: [valueCodeableConcept]
                index: 9
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 10}
              value[x]:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.1.7403'}
                        index: 11
        text:
          match: {url: text}
          schema:
            short: Usage instructions
            index: 12
            elements:
              url:
                pattern: {type: Uri, value: text}
                index: 13
              value:
                choices: [valueString]
                index: 15
              valueString: {type: string, choiceOf: value, index: 16}
        performer:
          match: {url: performer}
          schema:
            short: Who has dispenced the product
            _required: true
            index: 17
            elements:
              url:
                pattern: {type: Uri, value: performer}
                index: 18
              value:
                choices: [valueString]
                index: 20
              valueString: {type: string, choiceOf: value, index: 21}
        name:
          match: {url: name}
          schema:
            short: Name of the product dispensed
            _required: true
            index: 22
            elements:
              url:
                pattern: {type: Uri, value: name}
                index: 23
              value:
                choices: [valueString]
                index: 25
              valueString: {type: string, choiceOf: value, index: 26}
        noofpackages:
          match: {url: noofpackages}
          schema:
            index: 27
            elements:
              url:
                pattern: {type: Uri, value: noofpackages}
                index: 28
              value:
                choices: [valueDecimal]
                index: 30
              valueDecimal: {type: decimal, choiceOf: value, index: 31}
        whenHandedOver:
          match: {url: whenHandedOver}
          schema:
            _required: true
            index: 32
            elements:
              url:
                pattern: {type: Uri, value: whenHandedOver}
                index: 33
              value:
                choices: [valueDate]
                index: 35
              valueDate: {type: date, choiceOf: value, index: 36}
  url:
    pattern: {type: Uri, value: 'http://ehelse.no/fhir/StructureDefinition/sfm-generaldispenseextention'}
    index: 37
  value:
    choices: []
    index: 39
package_version: 1.0.1
extensions:
  product:
    url: product
    short: Product number
    _required: true
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: product}
        index: 2
      value:
        choices: [valueString]
        index: 4
      valueString: {type: string, choiceOf: value, index: 5}
  productgroup:
    url: productgroup
    short: Group the product is registered in
    _required: true
    index: 6
    elements:
      url:
        pattern: {type: Uri, value: productgroup}
        index: 7
      value:
        choices: [valueCodeableConcept]
        index: 9
      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 10}
      value[x]:
        elements:
          coding:
            elements:
              system:
                pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.1.7403'}
                index: 11
  text:
    url: text
    short: Usage instructions
    index: 12
    elements:
      url:
        pattern: {type: Uri, value: text}
        index: 13
      value:
        choices: [valueString]
        index: 15
      valueString: {type: string, choiceOf: value, index: 16}
  performer:
    url: performer
    short: Who has dispenced the product
    _required: true
    index: 17
    elements:
      url:
        pattern: {type: Uri, value: performer}
        index: 18
      value:
        choices: [valueString]
        index: 20
      valueString: {type: string, choiceOf: value, index: 21}
  name:
    url: name
    short: Name of the product dispensed
    _required: true
    index: 22
    elements:
      url:
        pattern: {type: Uri, value: name}
        index: 23
      value:
        choices: [valueString]
        index: 25
      valueString: {type: string, choiceOf: value, index: 26}
  noofpackages:
    url: noofpackages
    index: 27
    elements:
      url:
        pattern: {type: Uri, value: noofpackages}
        index: 28
      value:
        choices: [valueDecimal]
        index: 30
      valueDecimal: {type: decimal, choiceOf: value, index: 31}
  whenHandedOver:
    url: whenHandedOver
    _required: true
    index: 32
    elements:
      url:
        pattern: {type: Uri, value: whenHandedOver}
        index: 33
      value:
        choices: [valueDate]
        index: 35
      valueDate: {type: date, choiceOf: value, index: 36}
class: extension
kind: complex-type
url: http://ehelse.no/fhir/StructureDefinition/sfm-generaldispenseextention
base: http://hl7.org/fhir/StructureDefinition/Extension
version: '1.0'