PackagesCanonicalsLogsProblems
    Packages
    sfm.030521@1.0.1
    http://ehelse.no/fhir/StructureDefinition/sfm-MedicationBundle
description: Profile on Bundle for use as container for medications and prescription data in SFM API Basis
package_name: sfm.030521
derivation: constraint
name: SfmMedicationBundle
type: Bundle
elements:
  type:
    short: document
    pattern: {type: Code, value: document}
    index: 0
  total: {index: 1}
  link: {index: 2}
  entry:
    index: 3
    slicing:
      rules: open
      description: First entry will always be the SfmMedicationComposition. All other entries will be resources referred from this
      discriminator:
      - {path: resource.meta.profile, type: value}
      min: null
      slices:
        SfmMedicationComposition:
          match:
            resource:
              meta: {profile: null}
          schema:
            short: First entry is a SfmMedicationComposition
            _required: true
            index: 4
            elements:
              resource: {type: Resource, index: 5}
package_version: 1.0.1
class: profile
kind: resource
url: http://ehelse.no/fhir/StructureDefinition/sfm-MedicationBundle
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: '1.0'