description: Proposed constraints on the ServiceRequest resource for the minimal set of data required to request for service such as diagnostic investigations, treatments, or operations to be performed package_name: ca.on.oh.mha-pds derivation: constraint name: ServiceRequestProfile type: ServiceRequest elements: category: {index: 10} meta: mustSupport: true index: 0 elements: profile: mustSupport: true pattern: {type: Canonical, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-servicerequest'} index: 1 required: [profile] encounter: {mustSupport: true, index: 20} authoredOn: {mustSupport: true, index: 21} extension: index: 2 slicing: rules: open discriminator: - {path: url, type: value} min: 0 slices: referralType: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'https://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-ext-ReferralType', index: 3} min: 0 max: 1 referralSourceType: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-referralSourceType', index: 4} min: 0 locationReference: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-location'] index: 24 requester: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-organization', 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-patient'] index: 22 elements: reference: {mustSupport: true, index: 23} required: [reference] status: {mustSupport: true, index: 8} code: elements: coding: mustSupport: true index: 11 slicing: rules: open discriminator: - {path: system, type: value} min: null slices: LabOrder: match: {system: null} schema: short: Laboratory procedure code binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/pCLOCD'} index: 12 elements: system: {index: 13} code: {index: 14} required: [system, code] '@default': match: {system: null} schema: index: 15 elements: system: {index: 16} code: {index: 17} required: [system, code] identifier: mustSupport: true index: 5 elements: system: binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mha/ServiceRequest-identifier-system'} mustSupport: true index: 6 value: {mustSupport: true, index: 7} required: [value, system] intent: {mustSupport: true, index: 9} subject: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-patient'] index: 18 elements: reference: {mustSupport: true, index: 19} required: [reference] package_version: 0.9.0-alpha-1.9.7.26 extensions: referralType: {url: 'https://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-ext-ReferralType', min: 0, max: 1, type: Extension, mustSupport: true, index: 3} referralSourceType: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-referralSourceType', min: 0, type: Extension, mustSupport: true, index: 4} class: profile kind: resource url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-servicerequest base: http://hl7.org/fhir/StructureDefinition/ServiceRequest version: 1.0.0 required: [meta]