PackagesCanonicalsLogsProblems
    Packages
    sfm.030521@1.0.1
    http://ehelse.no/fhir/StructureDefinition/sfm-MedicationDispense
description: Medication dispence information
package_name: sfm.030521
derivation: constraint
name: SfmMedicationDispense
type: MedicationDispense
elements:
  whenHandedOver: {mustSupport: true, index: 22}
  substitution: {mustSupport: true, index: 24}
  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, mustSupport: true, 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: {mustSupport: true, index: 9}
                    refparagraph:
                      match: {url: null}
                      schema: {mustSupport: true, index: 10}
        intervention:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://example.org/fhir/StructureDefinition/sfm-Intervention', index: 11}
  status: {mustSupport: true, index: 13}
  dosageInstruction: {mustSupport: true, index: 23}
  identifier: {index: 12}
  medicationReference:
    type: Reference
    mustSupport: true
    choiceOf: medication
    refers: ['http://ehelse.no/fhir/StructureDefinition/sfm-Magistrell-Medication', 'http://ehelse.no/fhir/StructureDefinition/sfm-Medication']
    index: 16
  quantity: {mustSupport: true, index: 21}
  authorizingPrescription:
    type: Reference
    mustSupport: true
    refers: ['http://ehelse.no/fhir/StructureDefinition/sfm-MedicationStatement', 'http://hl7.org/fhir/StructureDefinition/MedicationRequest']
    index: 20
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://ehelse.no/fhir/StructureDefinition/sfm-Patient', 'http://hl7.org/fhir/StructureDefinition/Group']
    index: 17
  performer:
    mustSupport: true
    index: 18
    elements:
      actor: {index: 19}
  medication:
    mustSupport: true
    choices: [medicationReference]
    index: 15
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, mustSupport: true, 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: {mustSupport: true, index: 9}
            refparagraph:
              match: {url: null}
              schema: {mustSupport: true, index: 10}
  intervention: {url: 'http://example.org/fhir/StructureDefinition/sfm-Intervention', type: Extension, mustSupport: true, index: 11}
class: profile
kind: resource
url: http://ehelse.no/fhir/StructureDefinition/sfm-MedicationDispense
base: http://hl7.org/fhir/StructureDefinition/MedicationDispense
version: '1.0'