PackagesCanonicalsLogsProblems
    Packages
    ca.on.dhdr.r4@4.0.3-snapshot5
    http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Composition-medDis
description: null
package_name: ca.on.dhdr.r4
derivation: constraint
name: CompositionDHDRMedicationDispenseSubmission
type: Composition
elements:
  date: {mustSupport: true, index: 11}
  section:
    mustSupport: true
    index: 17
    elements:
      title:
        pattern: {type: String, value: Medication dispensed}
        mustSupport: true
        index: 18
      code:
        mustSupport: true
        index: 19
        elements:
          coding:
            mustSupport: true
            index: 20
            elements:
              system:
                pattern: {type: Uri, value: 'http://loinc.org'}
                mustSupport: true
                index: 21
              code:
                pattern: {type: Code, value: 29550-1}
                mustSupport: true
                index: 22
              display:
                pattern: {type: String, value: Medication dispensed}
                mustSupport: true
                index: 23
            required: [display, system, code]
        required: [coding]
      entry:
        type: Reference
        mustSupport: true
        refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-MedicationDispense-submission']
        index: 24
        elements:
          reference: {mustSupport: true, index: 25}
        required: [reference]
    required: [entry, title, code]
  type:
    mustSupport: true
    index: 4
    elements:
      coding:
        mustSupport: true
        index: 5
        elements:
          system:
            pattern: {type: Uri, value: 'http://loinc.org'}
            mustSupport: true
            index: 6
          code:
            pattern: {type: Code, value: 29550-1}
            mustSupport: true
            index: 7
          display:
            pattern: {type: String, value: Medication dispensed}
            mustSupport: true
            index: 8
        required: [display, system, code]
    required: [coding]
  title:
    pattern: {type: String, value: Medication dispensed}
    mustSupport: true
    index: 14
  author:
    type: Reference
    mustSupport: true
    refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-PractitionerRole-submission']
    index: 12
    elements:
      reference: {mustSupport: true, index: 13}
    required: [reference]
  custodian:
    type: Reference
    mustSupport: true
    refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Organization-submission']
    index: 15
    elements:
      reference: {mustSupport: true, index: 16}
    required: [reference]
  status: {mustSupport: true, index: 3}
  identifier:
    mustSupport: true
    index: 0
    elements:
      system: {mustSupport: true, index: 1}
      value: {mustSupport: true, index: 2}
    required: [value, system]
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Patient-submission']
    index: 9
    elements:
      reference: {mustSupport: true, index: 10}
    required: [reference]
package_version: 4.0.3-snapshot5
class: profile
kind: resource
url: http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Composition-medDis
base: http://hl7.org/fhir/StructureDefinition/Composition
version: 4.0.2
required: [section, identifier, subject, custodian]