PackagesCanonicalsLogsProblems
    Packages
    sfm.030521@1.0.1
    http://ehelse.no/fhir/StructureDefinition/sfm-GeneralDispense
description: Dispence for nutrition and material.
package_name: sfm.030521
derivation: constraint
name: SfmGeneralDispense
type: Basic
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        dispenseinfo:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: http://ehelse.no/fhir/StructureDefinition/sfm-dispenseinfo
            index: 1
            extensions:
              prescriptionid: {url: null, mustSupport: true, index: 3}
              cancelation: {url: null, mustSupport: true, index: 4}
              concluded: {url: null, mustSupport: true, index: 5}
              substitutionreservationcustomer: {url: null, mustSupport: true, index: 6}
              cancelationid: {url: null, mustSupport: true, index: 7}
              batchnumber: {url: null, mustSupport: true, index: 8}
              refcode: {url: null, max: 0, index: 9}
              refparagraph: {url: null, mustSupport: true, index: 10}
            elements:
              extension:
                index: 2
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    prescriptionid:
                      match: {url: null}
                      schema: {mustSupport: true, index: 3}
                    cancelation:
                      match: {url: null}
                      schema: {mustSupport: true, index: 4}
                    concluded:
                      match: {url: null}
                      schema: {mustSupport: true, index: 5}
                    substitutionreservationcustomer:
                      match: {url: null}
                      schema: {mustSupport: true, index: 6}
                    cancelationid:
                      match: {url: null}
                      schema: {mustSupport: true, index: 7}
                    batchnumber:
                      match: {url: null}
                      schema: {mustSupport: true, index: 8}
                    refcode:
                      match: {url: null}
                      schema: {index: 9}
                      max: 0
                    refparagraph:
                      match: {url: null}
                      schema: {mustSupport: true, index: 10}
        generaldispenseinfo:
          match: {url: null}
          schema:
            type: Extension
            url: http://ehelse.no/fhir/StructureDefinition/sfm-generaldispenseextention
            index: 11
            extensions:
              product: {url: null, mustSupport: true, index: 13}
              text: {url: null, mustSupport: true, index: 14}
              performer: {url: null, mustSupport: true, index: 15}
            elements:
              extension:
                index: 12
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    product:
                      match: {url: null}
                      schema: {mustSupport: true, index: 13}
                    text:
                      match: {url: null}
                      schema: {mustSupport: true, index: 14}
                    performer:
                      match: {url: null}
                      schema: {mustSupport: true, index: 15}
        intervention:
          match: {url: null}
          schema: {type: Extension, url: 'http://example.org/fhir/StructureDefinition/sfm-Intervention', index: 16}
  identifier: {index: 17}
  code:
    binding: {strength: required, valueSet: 'urn:oid:2.16.578.1.12.4.1.1.8279'}
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: ERM6, system: 'urn:oid:2.16.578.1.12.4.1.1.8279'}
        - {code: ERM8, system: 'urn:oid:2.16.578.1.12.4.1.1.8279'}
    index: 18
    elements:
      coding:
        elements:
          system:
            pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.1.8279'}
            index: 19
  subject: {short: Identifies the patient, mustSupport: true, index: 20}
  author:
    type: Reference
    short: Who dispensed product
    mustSupport: true
    refers: ['http://ehelse.no/fhir/StructureDefinition/sfm-PractitionerRole']
    index: 21
package_version: 1.0.1
extensions:
  dispenseinfo:
    url: http://ehelse.no/fhir/StructureDefinition/sfm-dispenseinfo
    type: Extension
    mustSupport: true
    index: 1
    extensions:
      prescriptionid: {url: null, mustSupport: true, index: 3}
      cancelation: {url: null, mustSupport: true, index: 4}
      concluded: {url: null, mustSupport: true, index: 5}
      substitutionreservationcustomer: {url: null, mustSupport: true, index: 6}
      cancelationid: {url: null, mustSupport: true, index: 7}
      batchnumber: {url: null, mustSupport: true, index: 8}
      refcode: {url: null, max: 0, index: 9}
      refparagraph: {url: null, mustSupport: true, index: 10}
    elements:
      extension:
        index: 2
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            prescriptionid:
              match: {url: null}
              schema: {mustSupport: true, index: 3}
            cancelation:
              match: {url: null}
              schema: {mustSupport: true, index: 4}
            concluded:
              match: {url: null}
              schema: {mustSupport: true, index: 5}
            substitutionreservationcustomer:
              match: {url: null}
              schema: {mustSupport: true, index: 6}
            cancelationid:
              match: {url: null}
              schema: {mustSupport: true, index: 7}
            batchnumber:
              match: {url: null}
              schema: {mustSupport: true, index: 8}
            refcode:
              match: {url: null}
              schema: {index: 9}
              max: 0
            refparagraph:
              match: {url: null}
              schema: {mustSupport: true, index: 10}
  generaldispenseinfo:
    url: http://ehelse.no/fhir/StructureDefinition/sfm-generaldispenseextention
    type: Extension
    index: 11
    extensions:
      product: {url: null, mustSupport: true, index: 13}
      text: {url: null, mustSupport: true, index: 14}
      performer: {url: null, mustSupport: true, index: 15}
    elements:
      extension:
        index: 12
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            product:
              match: {url: null}
              schema: {mustSupport: true, index: 13}
            text:
              match: {url: null}
              schema: {mustSupport: true, index: 14}
            performer:
              match: {url: null}
              schema: {mustSupport: true, index: 15}
  intervention: {url: 'http://example.org/fhir/StructureDefinition/sfm-Intervention', type: Extension, index: 16}
class: profile
kind: resource
url: http://ehelse.no/fhir/StructureDefinition/sfm-GeneralDispense
base: http://hl7.org/fhir/StructureDefinition/Basic
version: '1.0'