PackagesCanonicalsLogsProblems
    Packages
    ihe.pharm.meow@1.0.0-preview
    https://profiles.ihe.net/PHARM/MEOW/StructureDefinition/MedicationOverview
description: The profile for the full Medication overview as a Bundle type Document
package_name: ihe.pharm.meow
derivation: constraint
name: MedicationOverviewBundle
type: Bundle
elements:
  identifier: {mustSupport: true, index: 0}
  type:
    short: document
    pattern: {type: Code, value: document}
    index: 1
  total: {index: 2}
  link: {index: 3}
  entry:
    array: true
    min: 2
    index: 4
    slicing:
      rules: open
      description: Slicing based on the profile conformance of the sliced element
      discriminator:
      - {path: resource, type: profile}
      min: 2
      slices:
        Composition:
          match: {}
          schema:
            short: Composition
            _required: true
            index: 5
            elements:
              resource: {type: Composition, mustSupport: true, index: 6}
            required: [resource]
        Patient:
          match: {}
          schema:
            short: Patient for whom the record is concerned
            _required: true
            index: 7
            elements:
              resource: {type: Patient, mustSupport: true, index: 8}
            required: [resource]
        MedRecordTreatment:
          match: {}
          schema:
            short: Treatments associated with the patient
            array: true
            index: 9
            elements:
              resource: {type: CarePlan, mustSupport: true, index: 10}
            required: [resource]
        MedRecordTreatmentLine:
          match: {}
          schema:
            short: Treatment lines associated with the patient
            array: true
            index: 11
            elements:
              resource: {type: MedicationStatement, mustSupport: true, index: 12}
            required: [resource]
        MedRecordOrder:
          match: {}
          schema:
            short: Medication summaries associated with the patient
            array: true
            index: 13
            elements:
              resource: {type: MedicationRequest, mustSupport: true, index: 14}
            required: [resource]
        MedRecordDispense:
          match: {}
          schema:
            short: Medication summaries associated with the patient
            array: true
            index: 15
            elements:
              resource: {type: MedicationDispense, mustSupport: true, index: 16}
            required: [resource]
        MedRecordAdministration:
          match: {}
          schema:
            short: Medication summaries associated with the patient
            array: true
            index: 17
            elements:
              resource: {type: MedicationAdministration, mustSupport: true, index: 18}
            required: [resource]
        MedRecordUsage:
          match: {}
          schema:
            short: Medication summaries associated with the patient
            array: true
            index: 19
            elements:
              resource: {type: MedicationStatement, mustSupport: true, index: 20}
            required: [resource]
package_version: 1.0.0-preview
class: profile
kind: resource
url: https://profiles.ihe.net/PHARM/MEOW/StructureDefinition/MedicationOverview
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: 1.0.0-preview