PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.erec@1.1.0-dft-ballot
    http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-ServiceRequest
description: ServiceRequest is the main resource used to send all referral related information to the destination system.
package_name: ca.infoway.io.erec
derivation: constraint
name: ServiceRequest
type: ServiceRequest
elements:
  category:
    binding: {strength: preferred, valueSet: 'http://fhir.infoway-inforoute.ca/ValueSet/interventioncodesubsetcare'}
    mustSupport: true
    index: 25
  supportingInfo:
    type: Reference
    mustSupport: true
    refers: ['http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Communication', 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-DocumentReference', 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-QuestionnaireResponse', 'http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/allergyintolerance-ca-ps', 'http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/condition-ca-ps', 'http://hl7.org/fhir/StructureDefinition/Resource']
    index: 48
    elements:
      reference: {mustSupport: true, index: 49}
      identifier:
        mustSupport: true
        index: 50
        elements:
          system: {mustSupport: true, index: 51}
          value: {mustSupport: true, index: 52}
        required: [value, system]
  reasonCode:
    binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/procedure-reason'}
    mustSupport: true
    index: 47
  authoredOn: {mustSupport: true, index: 32}
  note:
    mustSupport: true
    index: 53
    elements:
      author:
        choices: []
        index: 55
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            authorReference:
              match: {}
              schema:
                choices: [authorReference]
                index: 57
              min: 0
              max: 1
      authorReference:
        type: Reference
        choiceOf: author
        refers: ['http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Organization', 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Patient', 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Practitioner']
        index: 58
        slicing:
          slices:
            authorReference:
              match: {}
              schema:
                type: Reference
                choiceOf: author
                refers: ['http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Organization', 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Patient', 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Practitioner']
                index: 58
              min: 0
              max: 1
      author[x]:
        elements:
          reference: {mustSupport: true, index: 59}
          identifier:
            mustSupport: true
            index: 60
            elements:
              system: {mustSupport: true, index: 61}
              value: {mustSupport: true, index: 62}
            required: [value, system]
  requisition:
    short: '𝗨𝗦𝗘 𝗖𝗔𝗦𝗘 𝗦𝗨𝗣𝗣𝗢𝗥𝗧: Systems that support routing/chaining/splitting SHALL support'
    index: 20
    elements:
      system: {mustSupport: true, index: 21}
      value: {mustSupport: true, index: 22}
    required: [value, system]
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        PatientPresentLocation:
          match: {url: null}
          schema: {type: Extension, short: 'USE CASE SUPPORT: Systems deployed in Ontario SHALL support', url: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Patient-Present-Location-EXT', index: 1}
        DARC:
          match: {url: null}
          schema: {type: Extension, short: 'USE CASE SUPPORT: Systems deployed in Ontario SHALL support', url: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/DARC-EXT', index: 2}
        DART:
          match: {url: null}
          schema: {type: Extension, short: 'USE CASE SUPPORT: Systems deployed in Ontario SHALL support', url: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/DART-ext', index: 3}
        RoutingOptions:
          match: {url: null}
          schema: {type: Extension, short: 'USE CASE SUPPORT: Systems deployed in Ontario SHALL support', url: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/Routing-Options-EXT', index: 4}
        CopiedParticipants:
          match: {url: null}
          schema: {type: Extension, short: 'USE CASE SUPPORT: Systems deployed in Ontario SHALL support', url: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-copied-participants-EXT', index: 5}
        ServiceProviderPreference:
          match: {url: null}
          schema: {type: Extension, short: 'USE CASE SUPPORT: Systems deployed in Ontario SHALL support', url: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-ext-ServiceProviderPreference', index: 6}
  requester:
    type: Reference
    mustSupport: true
    refers: ['http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Patient', 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-PractitionerRole']
    index: 33
    extensions:
      ServiceRequesterDelegate: {url: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-ext-ServiceRequesterDelegate', min: 0, max: 1, type: Extension, index: 35}
    elements:
      extension:
        index: 34
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            ServiceRequesterDelegate:
              match: {url: null}
              schema: {type: Extension, url: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-ext-ServiceRequesterDelegate', index: 35}
              min: 0
              max: 1
      reference: {mustSupport: true, index: 36}
      identifier:
        mustSupport: true
        index: 37
        elements:
          system: {mustSupport: true, index: 38}
          value: {mustSupport: true, index: 39}
        required: [value, system]
  status:
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/request-status'}
    mustSupport: true
    index: 23
  code:
    short: Note that the meaning of this field is to be used in conjunction with ServiceRequest.performer pointing to a HealthCareservice, and .code further specifies the service, for example code could be a specific procedure under the specificed HealthcareService (e.g., HealthcareService = Orthopaedic Surgeon, code=Knee Surgery)
    binding: {strength: extensible, valueSet: 'http://fhir.infoway-inforoute.ca/ValueSet/interventioncodesubsetcare'}
    mustSupport: true
    index: 26
  identifier:
    mustSupport: true
    index: 7
    elements:
      system: {mustSupport: true, index: 8}
      value: {mustSupport: true, index: 9}
    required: [value, system]
  intent:
    pattern: {type: Code, value: proposal}
    mustSupport: true
    index: 24
  replaces:
    type: Reference
    short: '𝗨𝗦𝗘 𝗖𝗔𝗦𝗘 𝗦𝗨𝗣𝗣𝗢𝗥𝗧: Systems that support routing/chaining/splitting SHALL support'
    refers: ['http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-ServiceRequest']
    index: 15
    elements:
      reference: {mustSupport: true, index: 16}
      identifier:
        mustSupport: true
        index: 17
        elements:
          system: {mustSupport: true, index: 18}
          value: {mustSupport: true, index: 19}
        required: [value, system]
  basedOn:
    type: Reference
    short: '𝗨𝗦𝗘 𝗖𝗔𝗦𝗘 𝗦𝗨𝗣𝗣𝗢𝗥𝗧: Systems that support routing/chaining/splitting SHALL support'
    refers: ['http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-ServiceRequest']
    index: 10
    elements:
      reference: {mustSupport: true, index: 11}
      identifier:
        mustSupport: true
        index: 12
        elements:
          system: {mustSupport: true, index: 13}
          value: {mustSupport: true, index: 14}
        required: [value, system]
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Patient']
    index: 27
    elements:
      reference: {mustSupport: true, index: 28}
      identifier:
        mustSupport: true
        index: 29
        elements:
          system: {mustSupport: true, index: 30}
          value: {mustSupport: true, index: 31}
        required: [value, system]
  performer:
    min: 1
    index: 40
    refers: ['http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-HealthcareService', 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-PractitionerRole']
    type: Reference
    mustSupport: true
    array: true
    elements:
      extension:
        index: 41
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            PerformerIdentifier:
              match: {url: null}
              schema: {type: Extension, url: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-performer-identifier-EXT', index: 42}
              min: 0
              max: 1
      reference: {mustSupport: true, index: 43}
      identifier:
        mustSupport: true
        index: 44
        elements:
          system: {mustSupport: true, index: 45}
          value: {mustSupport: true, index: 46}
        required: [value, system]
    extensions:
      PerformerIdentifier: {url: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-performer-identifier-EXT', min: 0, max: 1, type: Extension, index: 42}
package_version: 1.1.0-dft-ballot
extensions:
  PatientPresentLocation: {url: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Patient-Present-Location-EXT', type: Extension, short: 'USE CASE SUPPORT: Systems deployed in Ontario SHALL support', index: 1}
  DARC: {url: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/DARC-EXT', type: Extension, short: 'USE CASE SUPPORT: Systems deployed in Ontario SHALL support', index: 2}
  DART: {url: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/DART-ext', type: Extension, short: 'USE CASE SUPPORT: Systems deployed in Ontario SHALL support', index: 3}
  RoutingOptions: {url: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/Routing-Options-EXT', type: Extension, short: 'USE CASE SUPPORT: Systems deployed in Ontario SHALL support', index: 4}
  CopiedParticipants: {url: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-copied-participants-EXT', type: Extension, short: 'USE CASE SUPPORT: Systems deployed in Ontario SHALL support', index: 5}
  ServiceProviderPreference: {url: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-ext-ServiceProviderPreference', type: Extension, short: 'USE CASE SUPPORT: Systems deployed in Ontario SHALL support', index: 6}
class: profile
kind: resource
url: http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-ServiceRequest
base: http://hl7.org/fhir/StructureDefinition/ServiceRequest
version: null
required: [authoredOn, requester, performer]