PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.erec@1.0.2-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: extensible, valueSet: 'http://fhir.infoway-inforoute.ca/ValueSet/interventioncodesubsetcare'}
    mustSupport: true
    index: 24
  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: 43
    elements:
      reference: {mustSupport: true, index: 44}
      identifier:
        mustSupport: true
        index: 45
        elements:
          system: {mustSupport: true, index: 46}
          value: {mustSupport: true, index: 47}
        required: [value, system]
  reasonCode:
    binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/procedure-reason'}
    mustSupport: true
    index: 42
  authoredOn: {mustSupport: true, index: 31}
  note:
    mustSupport: true
    index: 48
    elements:
      author:
        choices: []
        index: 50
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            authorReference:
              match: {}
              schema:
                choices: [authorReference]
                index: 52
              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: 53
        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: 53
              min: 0
              max: 1
      author[x]:
        elements:
          reference: {mustSupport: true, index: 54}
          identifier:
            mustSupport: true
            index: 55
            elements:
              system: {mustSupport: true, index: 56}
              value: {mustSupport: true, index: 57}
            required: [value, system]
  requisition:
    short: '𝗨𝗦𝗘 𝗖𝗔𝗦𝗘 𝗦𝗨𝗣𝗣𝗢𝗥𝗧: Systems that support routing/chaining/splitting SHALL support'
    index: 19
    elements:
      system: {mustSupport: true, index: 20}
      value: {mustSupport: true, index: 21}
    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}
  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: 32
    elements:
      reference: {mustSupport: true, index: 33}
      identifier:
        mustSupport: true
        index: 34
        elements:
          system: {mustSupport: true, index: 35}
          value: {mustSupport: true, index: 36}
        required: [value, system]
  status:
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/request-status'}
    mustSupport: true
    index: 22
  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: 25
  identifier:
    mustSupport: true
    index: 6
    elements:
      system: {mustSupport: true, index: 7}
      value: {mustSupport: true, index: 8}
    required: [value, system]
  intent:
    pattern: {type: Code, value: proposal}
    mustSupport: true
    index: 23
  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: 14
    elements:
      reference: {mustSupport: true, index: 15}
      identifier:
        mustSupport: true
        index: 16
        elements:
          system: {mustSupport: true, index: 17}
          value: {mustSupport: true, index: 18}
        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: 9
    elements:
      reference: {mustSupport: true, index: 10}
      identifier:
        mustSupport: true
        index: 11
        elements:
          system: {mustSupport: true, index: 12}
          value: {mustSupport: true, index: 13}
        required: [value, system]
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Patient']
    index: 26
    elements:
      reference: {mustSupport: true, index: 27}
      identifier:
        mustSupport: true
        index: 28
        elements:
          system: {mustSupport: true, index: 29}
          value: {mustSupport: true, index: 30}
        required: [value, system]
  performer:
    type: Reference
    mustSupport: true
    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']
    array: true
    min: 1
    index: 37
    elements:
      reference: {mustSupport: true, index: 38}
      identifier:
        mustSupport: true
        index: 39
        elements:
          system: {mustSupport: true, index: 40}
          value: {mustSupport: true, index: 41}
        required: [value, system]
package_version: 1.0.2-dft
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}
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: 1.0.0
required: [authoredOn, requester, performer]