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: rs/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} type: uri 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: [code, display, system] required: [value, valueCoding] continuity: match: {} schema: mustSupport: true index: 9 elements: url: pattern: {type: uri, value: continuity} type: uri 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: [code, display, system] required: [value, valueCoding] outbound-referral-source: match: {} schema: mustSupport: true index: 17 elements: url: pattern: {type: uri, value: outbound-referral-source} type: uri 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: [code, display, system] required: [value, valueCoding] url: pattern: {type: uri, value: 'https://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-ServiceTerminationReason'} type: uri 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} type: uri 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: [code, display, system] required: [value, valueCoding] continuity: url: null mustSupport: true index: 9 elements: url: pattern: {type: uri, value: continuity} type: uri 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: [code, display, system] required: [value, valueCoding] outbound-referral-source: url: null mustSupport: true index: 17 elements: url: pattern: {type: uri, value: outbound-referral-source} type: uri 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: [code, display, system] required: [value, valueCoding] 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]