PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh.mha-pds@0.9.0-alpha-1.9.4
    http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-EpisodeOfCare
description: null
package_name: ca.on.oh.mha-pds
derivation: constraint
name: EpisodeOfCare
type: EpisodeOfCare
elements:
  meta:
    mustSupport: true
    index: 0
    elements:
      profile: {mustSupport: true, index: 1}
    required: [profile]
  extension:
    index: 2
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        FirstContactDate:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'https://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-ext-FirstContactDate', index: 3}
          min: 0
          max: 1
        EligibilityScreeningDate:
          match: {url: null}
          schema:
            type: Extension
            url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-eligibilityScreeningDate
            index: 4
            elements:
              value:
                mustSupport: true
                choices: []
                index: 6
        ServiceInitiationDate:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-ServiceInitiationDate', index: 7}
          min: 0
        InitialAssessmentDate:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-InitialAssessmentDate
            index: 8
            elements:
              value:
                choices: []
                index: 10
        ServiceTerminationReason:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: https://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-ServiceTerminationReason
            index: 11
            elements:
              value:
                mustSupport: true
                choices: []
                index: 13
              value[x]:
                elements:
                  coding:
                    elements:
                      code: {index: 14}
  identifier:
    mustSupport: true
    index: 15
    elements:
      system: {mustSupport: true, index: 16}
      value: {mustSupport: true, index: 17}
    required: [value, system]
  status: {mustSupport: true, index: 18}
  patient:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-patient']
    index: 19
    elements:
      reference: {mustSupport: true, index: 20}
    required: [reference]
  managingOrganization:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-organization']
    index: 21
    elements:
      reference: {mustSupport: true, index: 22}
    required: [reference]
  period:
    mustSupport: true
    index: 23
    elements:
      start: {mustSupport: true, index: 24}
      end: {mustSupport: true, index: 25}
  referralRequest:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-servicerequest']
    index: 26
    elements:
      reference: {mustSupport: true, index: 27}
    required: [reference]
package_version: 0.9.0-alpha-1.9.4
extensions:
  FirstContactDate: {url: 'https://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-ext-FirstContactDate', min: 0, max: 1, type: Extension, mustSupport: true, index: 3}
  EligibilityScreeningDate:
    url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-eligibilityScreeningDate
    type: Extension
    index: 4
    elements:
      value:
        mustSupport: true
        choices: []
        index: 6
  ServiceInitiationDate: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-ServiceInitiationDate', min: 0, type: Extension, mustSupport: true, index: 7}
  InitialAssessmentDate:
    url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-InitialAssessmentDate
    type: Extension
    mustSupport: true
    index: 8
    elements:
      value:
        choices: []
        index: 10
  ServiceTerminationReason:
    url: https://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-ServiceTerminationReason
    type: Extension
    mustSupport: true
    index: 11
    elements:
      value:
        mustSupport: true
        choices: []
        index: 13
      value[x]:
        elements:
          coding:
            elements:
              code: {index: 14}
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-EpisodeOfCare
base: http://hl7.org/fhir/StructureDefinition/EpisodeOfCare
version: null
required: [managingOrganization, identifier, meta]