PackagesCanonicalsLogsProblems
    Packages
    ca.on.dhdr.r4@4.0.3-snapshot3
    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
        type: string
        index: 18
      code:
        mustSupport: true
        index: 19
        elements:
          coding:
            mustSupport: true
            index: 20
            elements:
              system:
                pattern: {type: uri, value: 'http://loinc.org'}
                mustSupport: true
                type: uri
                index: 21
              code:
                pattern: {type: code, value: 29550-1}
                mustSupport: true
                type: code
                index: 22
              display:
                pattern: {type: string, value: Medication dispensed}
                mustSupport: true
                type: string
                index: 23
            required: [code, display, system]
        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: [code, entry, title]
  type:
    mustSupport: true
    index: 4
    elements:
      coding:
        mustSupport: true
        index: 5
        elements:
          system:
            pattern: {type: uri, value: 'http://loinc.org'}
            mustSupport: true
            type: uri
            index: 6
          code:
            pattern: {type: code, value: 29550-1}
            mustSupport: true
            type: code
            index: 7
          display:
            pattern: {type: string, value: Medication dispensed}
            mustSupport: true
            type: string
            index: 8
        required: [code, display, system]
    required: [coding]
  title:
    pattern: {type: string, value: Medication dispensed}
    mustSupport: true
    type: string
    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: [system, value]
  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-snapshot3
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: [custodian, identifier, section, subject]