PackagesCanonicalsLogsProblems
    Packages
    sfm.030521@1.0.1
    http://ehelse.no/fhir/StructureDefinition/sfm-packing
description: Extention to describe what packing a magistrell medication have.
package_name: sfm.030521
derivation: constraint
name: SfmPacking
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        packingcoded:
          match: {url: packingcoded}
          schema:
            short: Code identified how medication is packed
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: packingcoded}
                index: 2
              value:
                choices: [valueCodeableConcept]
                index: 4
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 5}
              value[x]:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.1.7452'}
                        index: 6
        pumptype:
          match: {url: pumptype}
          schema:
            short: Information about type of pump
            index: 7
            elements:
              url:
                pattern: {type: Uri, value: pumptype}
                index: 8
              value:
                choices: [valueString]
                index: 10
              valueString: {type: string, choiceOf: value, index: 11}
  url:
    pattern: {type: Uri, value: 'http://ehelse.no/fhir/StructureDefinition/sfm-packing'}
    index: 12
  value:
    choices: []
    index: 14
package_version: 1.0.1
extensions:
  packingcoded:
    url: packingcoded
    short: Code identified how medication is packed
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: packingcoded}
        index: 2
      value:
        choices: [valueCodeableConcept]
        index: 4
      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 5}
      value[x]:
        elements:
          coding:
            elements:
              system:
                pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.1.7452'}
                index: 6
  pumptype:
    url: pumptype
    short: Information about type of pump
    index: 7
    elements:
      url:
        pattern: {type: Uri, value: pumptype}
        index: 8
      value:
        choices: [valueString]
        index: 10
      valueString: {type: string, choiceOf: value, index: 11}
class: extension
kind: complex-type
url: http://ehelse.no/fhir/StructureDefinition/sfm-packing
base: http://hl7.org/fhir/StructureDefinition/Extension
version: '1.0'