PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.erec@1.1.0-dft
    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/io/CA-eReC/ValueSet/servicerequest-category'}
    mustSupport: true
    index: 31
  meta:
    mustSupport: true
    index: 0
    elements:
      profile: {mustSupport: true, index: 1}
  supportingInfo:
    type: Reference
    mustSupport: true
    refers: ['http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/allergyintolerance-ca-core', 'http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/condition-ca-core', '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://hl7.org/fhir/StructureDefinition/Resource']
    index: 54
    elements:
      reference: {mustSupport: true, index: 55}
      identifier:
        mustSupport: true
        index: 56
        elements:
          system: {mustSupport: true, index: 57}
          value: {mustSupport: true, index: 58}
        required: [value, system]
  reasonCode:
    binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/healthconditioncode'}
    mustSupport: true
    index: 53
  authoredOn: {mustSupport: true, index: 38}
  note:
    mustSupport: true
    index: 59
    elements:
      author:
        choices: []
        index: 61
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            authorReference:
              match: {}
              schema:
                choices: [authorReference]
                index: 63
              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: 64
        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: 64
              min: 0
              max: 1
      author[x]:
        elements:
          reference: {mustSupport: true, index: 65}
          identifier:
            mustSupport: true
            index: 66
            elements:
              system: {mustSupport: true, index: 67}
              value: {mustSupport: true, index: 68}
            required: [value, system]
  requisition:
    short: '𝗨𝗦𝗘 𝗖𝗔𝗦𝗘 𝗦𝗨𝗣𝗣𝗢𝗥𝗧: Systems that support routing/chaining/splitting SHALL support'
    index: 26
    elements:
      system: {mustSupport: true, index: 27}
      value: {mustSupport: true, index: 28}
    required: [value, system]
  extension:
    index: 2
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        RequestStatusReason:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/request-statusReason
            index: 3
            elements:
              value:
                choices: []
                index: 5
        PatientPresentLocation:
          match: {url: null}
          schema: {type: Extension, short: 'USE CASE SUPPORT: Systems deployed in Ontario SHALL support', mustSupport: true, url: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Patient-Present-Location-EXT', index: 6}
        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: 7}
        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: 8}
        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: 9}
        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: 10}
        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: 11}
  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: 39
    extensions:
      ServiceRequesterDelegate: {url: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-ext-ServiceRequesterDelegate', min: 0, type: Extension, index: 41}
    elements:
      extension:
        index: 40
        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: 41}
              min: 0
      reference: {short: 'When the ServiceRequest is the focus of a message, the reference is mandatory and the referenced instance needs to be included in the Bundle.', mustSupport: true, index: 42}
      identifier:
        mustSupport: true
        index: 43
        elements:
          system: {mustSupport: true, index: 44}
          value: {mustSupport: true, index: 45}
        required: [value, system]
  status:
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/request-status'}
    mustSupport: true
    index: 29
  code:
    short: Note that the meaning of this field is to be used in conjunction with ServiceRequest.performer pointing to a HealthCareservice or PractitionerRole, 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: 'https://fhir.infoway-inforoute.ca/ValueSet/procedurecode'}
    mustSupport: true
    index: 32
  identifier:
    mustSupport: true
    index: 12
    elements:
      use: {mustSupport: true, index: 13}
      system: {mustSupport: true, index: 14}
      value: {mustSupport: true, index: 15}
    required: [value, system]
  intent:
    pattern: {type: Code, value: proposal}
    mustSupport: true
    index: 30
  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: 21
    elements:
      reference: {mustSupport: true, index: 22}
      identifier:
        mustSupport: true
        index: 23
        elements:
          system: {mustSupport: true, index: 24}
          value: {mustSupport: true, index: 25}
        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: 16
    elements:
      reference: {mustSupport: true, index: 17}
      identifier:
        mustSupport: true
        index: 18
        elements:
          system: {mustSupport: true, index: 19}
          value: {mustSupport: true, index: 20}
        required: [value, system]
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Patient']
    index: 33
    elements:
      reference: {mustSupport: true, index: 34}
      identifier:
        mustSupport: true
        index: 35
        elements:
          system: {mustSupport: true, index: 36}
          value: {mustSupport: true, index: 37}
        required: [value, system]
  performer:
    min: 1
    index: 46
    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: 47
        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: 48}
              min: 0
              max: 1
      reference: {short: 'When the ServiceRequest is the focus of a message, the reference is mandatory and the referenced instance needs to be included in the Bundle.', mustSupport: true, index: 49}
      identifier:
        mustSupport: true
        index: 50
        elements:
          system: {mustSupport: true, index: 51}
          value: {mustSupport: true, index: 52}
        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: 48}
package_version: 1.1.0-dft
extensions:
  RequestStatusReason:
    url: http://hl7.org/fhir/StructureDefinition/request-statusReason
    type: Extension
    mustSupport: true
    index: 3
    elements:
      value:
        choices: []
        index: 5
  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', mustSupport: true, index: 6}
  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: 7}
  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: 8}
  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: 9}
  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: 10}
  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: 11}
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]