PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh.mha@pds-0.9.0-alpha-1.9.7.38
    https://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-ServiceTerminationReason
description: The reason the client is terminated from the service. The termination could occur at different stages of service provision (first contact, intake, screening and waitlist, service delivery or service completion).
package_name: ca.on.oh.mha
derivation: constraint
name: ServiceTerminationReason
type: Extension
elements:
  extension:
    index: 0
    slicing:
      slices:
        reason:
          match: {}
          schema:
            mustSupport: true
            _required: true
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: reason}
                index: 2
              value:
                mustSupport: true
                choices: [valueCoding]
                index: 4
              valueCoding: {type: Coding, mustSupport: true, choiceOf: value, index: 5}
              value[x]:
                elements:
                  system: {mustSupport: true, index: 6}
                  code: {mustSupport: true, index: 7}
                  display: {mustSupport: true, index: 8}
                required: [display, system, code]
            required: [valueCoding, value]
        continuity:
          match: {}
          schema:
            mustSupport: true
            index: 9
            elements:
              url:
                pattern: {type: Uri, value: continuity}
                index: 10
              value:
                choices: [valueCoding]
                index: 12
              valueCoding: {type: Coding, choiceOf: value, index: 13}
              value[x]:
                elements:
                  system: {mustSupport: true, index: 14}
                  code: {mustSupport: true, index: 15}
                  display: {mustSupport: true, index: 16}
                required: [display, system, code]
            required: [valueCoding, value]
        outbound-referral-source:
          match: {}
          schema:
            mustSupport: true
            index: 17
            elements:
              url:
                pattern: {type: Uri, value: outbound-referral-source}
                index: 18
              value:
                mustSupport: true
                choices: [valueCoding]
                index: 20
              valueCoding: {type: Coding, mustSupport: true, choiceOf: value, index: 21}
              value[x]:
                elements:
                  system: {mustSupport: true, index: 22}
                  code: {mustSupport: true, index: 23}
                  display: {mustSupport: true, index: 24}
                required: [display, system, code]
            required: [valueCoding, value]
  url:
    pattern: {type: Uri, value: 'https://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-ServiceTerminationReason'}
    index: 25
package_version: pds-0.9.0-alpha-1.9.7.38
extensions:
  reason:
    url: null
    mustSupport: true
    _required: true
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: reason}
        index: 2
      value:
        mustSupport: true
        choices: [valueCoding]
        index: 4
      valueCoding: {type: Coding, mustSupport: true, choiceOf: value, index: 5}
      value[x]:
        elements:
          system: {mustSupport: true, index: 6}
          code: {mustSupport: true, index: 7}
          display: {mustSupport: true, index: 8}
        required: [display, system, code]
    required: [valueCoding, value]
  continuity:
    url: null
    mustSupport: true
    index: 9
    elements:
      url:
        pattern: {type: Uri, value: continuity}
        index: 10
      value:
        choices: [valueCoding]
        index: 12
      valueCoding: {type: Coding, choiceOf: value, index: 13}
      value[x]:
        elements:
          system: {mustSupport: true, index: 14}
          code: {mustSupport: true, index: 15}
          display: {mustSupport: true, index: 16}
        required: [display, system, code]
    required: [valueCoding, value]
  outbound-referral-source:
    url: null
    mustSupport: true
    index: 17
    elements:
      url:
        pattern: {type: Uri, value: outbound-referral-source}
        index: 18
      value:
        mustSupport: true
        choices: [valueCoding]
        index: 20
      valueCoding: {type: Coding, mustSupport: true, choiceOf: value, index: 21}
      value[x]:
        elements:
          system: {mustSupport: true, index: 22}
          code: {mustSupport: true, index: 23}
          display: {mustSupport: true, index: 24}
        required: [display, system, code]
    required: [valueCoding, value]
class: extension
kind: complex-type
url: https://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-ServiceTerminationReason
base: http://hl7.org/fhir/StructureDefinition/Extension
version: null
required: [extension]