description: ServiceRequest is the main resource use to send all referral related information to the destination system. package_name: ca.on.oh-ereferral-econsult derivation: constraint name: EReferralServiceRequest type: ServiceRequest elements: category: binding: {strength: extensible, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/interventioncodesubsetcare'} mustSupport: true index: 31 elements: coding: mustSupport: true index: 32 elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} mustSupport: true index: 33 code: binding: {strength: extensible, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/interventioncodesubsetcare'} mustSupport: true index: 34 display: {mustSupport: true, index: 35} required: [display, system, code] meta: mustSupport: true index: 0 elements: profile: {mustSupport: true, index: 1} required: [profile] supportingInfo: type: Reference mustSupport: true refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-AllergyIntolerance', 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Communication', 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Condition', 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Consent', 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-DocumentReference', 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-QuestionnaireResponse', 'http://hl7.org/fhir/StructureDefinition/Resource'] index: 69 elements: reference: {mustSupport: true, index: 70} identifier: mustSupport: true index: 71 elements: system: {mustSupport: true, index: 72} value: {mustSupport: true, index: 73} reasonCode: mustSupport: true index: 63 elements: coding: mustSupport: true index: 64 elements: system: {mustSupport: true, index: 65} code: {mustSupport: true, index: 66} display: {mustSupport: true, index: 67} required: [display, system, code] text: {mustSupport: true, index: 68} authoredOn: {mustSupport: true, index: 52} note: mustSupport: true index: 75 elements: author: choices: [authorReference, authorString] index: 77 authorReference: type: Reference choiceOf: author refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Organization', 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Patient', 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Practitioner'] index: 78 authorString: {type: string, choiceOf: author, index: 79} text: {mustSupport: true, index: 80} requisition: mustSupport: true index: 26 elements: system: {mustSupport: true, index: 27} value: {mustSupport: true, index: 28} extension: index: 2 slicing: rules: open discriminator: - {path: url, type: value} min: 0 slices: PatientPresentLocation: match: {url: null} schema: type: Extension mustSupport: true url: http://ehealthontario.ca/fhir/StructureDefinition/ext-patient-present-location index: 3 elements: value: mustSupport: true choices: [] index: 5 value[x]: elements: reference: {mustSupport: true, index: 6} identifier: mustSupport: true index: 7 elements: system: {mustSupport: true, index: 8} value: {mustSupport: true, index: 9} RoutingOptions: match: {url: null} schema: type: Extension mustSupport: true url: http://ehealthontario.ca/fhir/StructureDefinition/ext-routing-options index: 10 elements: value: mustSupport: true choices: [] index: 12 value[x]: elements: coding: binding: {strength: extensible, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/ereferral-source-types'} mustSupport: true index: 13 elements: system: pattern: {type: Uri, value: 'http://ehealthontario.ca/fhir/CodeSystem/ereferral-source-types'} mustSupport: true index: 14 code: {mustSupport: true, index: 15} display: {mustSupport: true, index: 16} requester: type: Reference mustSupport: true refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Patient', 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-PractitionerRole'] index: 53 elements: reference: {mustSupport: true, index: 54} identifier: mustSupport: true index: 55 elements: system: {mustSupport: true, index: 56} value: {mustSupport: true, index: 57} priority: {mustSupport: true, index: 36} status: binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/request-status'} mustSupport: true index: 29 code: binding: {strength: extensible, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/interventioncodesubsetcare'} mustSupport: true index: 37 elements: coding: mustSupport: true index: 38 elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} mustSupport: true index: 39 code: binding: {strength: extensible, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/interventioncodesubsetcare'} mustSupport: true index: 40 display: {mustSupport: true, index: 41} required: [display, system, code] identifier: mustSupport: true index: 17 elements: type: mustSupport: true index: 18 elements: coding: mustSupport: true index: 19 elements: system: {mustSupport: true, index: 20} code: {mustSupport: true, index: 21} display: {mustSupport: true, index: 22} system: {mustSupport: true, index: 23} value: {mustSupport: true, index: 24} bodySite: {index: 74} intent: pattern: {type: Code, value: proposal} mustSupport: true index: 30 orderDetail: mustSupport: true index: 42 elements: coding: mustSupport: true index: 43 elements: system: {mustSupport: true, index: 44} code: {mustSupport: true, index: 45} display: {mustSupport: true, index: 46} required: [display, system, code] basedOn: type: Reference refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-ServiceRequest'] index: 25 subject: type: Reference mustSupport: true refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Patient'] index: 47 elements: reference: {mustSupport: true, index: 48} identifier: mustSupport: true index: 49 elements: system: {mustSupport: true, index: 50} value: {mustSupport: true, index: 51} performer: type: Reference mustSupport: true refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-PractitionerRole'] index: 58 elements: reference: {mustSupport: true, index: 59} identifier: mustSupport: true index: 60 elements: system: {mustSupport: true, index: 61} value: {mustSupport: true, index: 62} package_version: 0.11.0-alpha1.0.6 extensions: PatientPresentLocation: url: http://ehealthontario.ca/fhir/StructureDefinition/ext-patient-present-location type: Extension mustSupport: true index: 3 elements: value: mustSupport: true choices: [] index: 5 value[x]: elements: reference: {mustSupport: true, index: 6} identifier: mustSupport: true index: 7 elements: system: {mustSupport: true, index: 8} value: {mustSupport: true, index: 9} RoutingOptions: url: http://ehealthontario.ca/fhir/StructureDefinition/ext-routing-options type: Extension mustSupport: true index: 10 elements: value: mustSupport: true choices: [] index: 12 value[x]: elements: coding: binding: {strength: extensible, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/ereferral-source-types'} mustSupport: true index: 13 elements: system: pattern: {type: Uri, value: 'http://ehealthontario.ca/fhir/CodeSystem/ereferral-source-types'} mustSupport: true index: 14 code: {mustSupport: true, index: 15} display: {mustSupport: true, index: 16} class: profile kind: resource url: http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-ServiceRequest base: http://hl7.org/fhir/StructureDefinition/ServiceRequest version: 1.0.0 required: [authoredOn, requester, meta, performer]