PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh-ereferral-econsult@0.11.0-alpha1.0.6
    http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-ServiceRequest
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: 71
    elements:
      reference: {mustSupport: true, index: 72}
      identifier:
        mustSupport: true
        index: 73
        elements:
          system: {mustSupport: true, index: 74}
          value: {mustSupport: true, index: 75}
  reasonCode:
    mustSupport: true
    index: 65
    elements:
      coding:
        mustSupport: true
        index: 66
        elements:
          system: {mustSupport: true, index: 67}
          code: {mustSupport: true, index: 68}
          display: {mustSupport: true, index: 69}
        required: [display, system, code]
      text: {mustSupport: true, index: 70}
  authoredOn: {mustSupport: true, index: 52}
  note:
    mustSupport: true
    index: 77
    elements:
      author:
        choices: [authorReference, authorString]
        index: 79
      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: 80
      authorString: {type: string, choiceOf: author, index: 81}
      text: {mustSupport: true, index: 82}
  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: 'http://ehealthontario.ca/fhir/StructureDefinition/ext-patient-present-location'}
          schema:
            type: Extension
            mustSupport: true
            url: http://ehealthontario.ca/fhir/StructureDefinition/ext-patient-present-location
            index: 3
            elements:
              url:
                pattern: {type: Uri, value: 'http://ehealthontario.ca/fhir/StructureDefinition/ext-patient-present-location'}
                index: 4
              value:
                mustSupport: true
                choices: []
                index: 6
              value[x]:
                elements:
                  reference: {mustSupport: true, index: 7}
                  identifier: {mustSupport: true, index: 8}
        RoutingOptions:
          match: {url: 'http://ehealthontario.ca/fhir/StructureDefinition/ext-routing-options'}
          schema:
            type: Extension
            mustSupport: true
            url: http://ehealthontario.ca/fhir/StructureDefinition/ext-routing-options
            index: 9
            elements:
              url:
                pattern: {type: Uri, value: 'http://ehealthontario.ca/fhir/StructureDefinition/ext-routing-options'}
                index: 10
              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
        CopiedParticipants:
          match: {url: null}
          schema: {type: Extension, isModifier: false, mustSupport: true, url: 'http://ehealthontario.ca/fhir/StructureDefinition/ext-copied-participants', index: 14}
          min: 0
          max: 1
        DART:
          match: {url: null}
          schema: {type: Extension, url: 'http://ehealthontario.ca/fhir/StructureDefinition/ext-dart', index: 15}
          min: 0
          max: 1
        DARC:
          match: {url: null}
          schema: {type: Extension, url: 'http://ehealthontario.ca/fhir/StructureDefinition/ext-darc', index: 16}
          min: 0
          max: 1
  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: 76}
  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-HealthcareService', 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-PractitionerRole']
    index: 58
    extensions:
      performerIdentifier: {url: 'http://ehealthontario.ca/fhir/StructureDefinition/ext-performer-identifier', min: 0, max: 1, type: Extension, isModifier: false, mustSupport: true, index: 60}
    elements:
      extension:
        index: 59
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            performerIdentifier:
              match: {url: null}
              schema: {type: Extension, isModifier: false, mustSupport: true, url: 'http://ehealthontario.ca/fhir/StructureDefinition/ext-performer-identifier', index: 60}
              min: 0
              max: 1
      reference: {mustSupport: true, index: 61}
      identifier:
        mustSupport: true
        index: 62
        elements:
          system: {mustSupport: true, index: 63}
          value: {mustSupport: true, index: 64}
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:
      url:
        pattern: {type: Uri, value: 'http://ehealthontario.ca/fhir/StructureDefinition/ext-patient-present-location'}
        index: 4
      value:
        mustSupport: true
        choices: []
        index: 6
      value[x]:
        elements:
          reference: {mustSupport: true, index: 7}
          identifier: {mustSupport: true, index: 8}
  RoutingOptions:
    url: http://ehealthontario.ca/fhir/StructureDefinition/ext-routing-options
    type: Extension
    mustSupport: true
    index: 9
    elements:
      url:
        pattern: {type: Uri, value: 'http://ehealthontario.ca/fhir/StructureDefinition/ext-routing-options'}
        index: 10
      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
  CopiedParticipants: {url: 'http://ehealthontario.ca/fhir/StructureDefinition/ext-copied-participants', min: 0, max: 1, type: Extension, isModifier: false, mustSupport: true, index: 14}
  DART: {url: 'http://ehealthontario.ca/fhir/StructureDefinition/ext-dart', min: 0, max: 1, type: Extension, index: 15}
  DARC: {url: 'http://ehealthontario.ca/fhir/StructureDefinition/ext-darc', min: 0, max: 1, type: Extension, 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.1
required: [authoredOn, requester, meta, performer]