PackagesCanonicalsLogsProblems
    Packages
    ca.on.mha.pds@2.0.0-snapshot1
    http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-ServiceRequest
description: Proposed constraints on the ServiceRequest resource for the minimal set of data required to request for service such as diagnostic investigations, treatments, or operations to be performed
package_name: ca.on.mha.pds
derivation: constraint
name: ServiceRequestProfile
type: ServiceRequest
elements:
  occurrence[x]:
    elements:
      start: {mustSupport: true, index: 15}
      end:
        mustSupport: true
        index: 16
        extensions:
          dischargeReason: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-ext-DischargeReason', min: 1, max: 1, type: Extension, isModifier: false, mustSupport: true, index: 18}
        elements:
          extension:
            index: 17
            slicing:
              slices:
                dischargeReason:
                  match: {}
                  schema: {type: Extension, isModifier: false, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-ext-DischargeReason', index: 18}
                  min: 1
                  max: 1
        required: [extension]
  category: {index: 9}
  meta:
    index: 0
    elements:
      profile:
        pattern: {type: Canonical, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-ServiceRequest'}
        index: 1
    required: [profile]
  extension:
    type: Extension
    mustSupport: true
    url: https://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-ext-ReferralType
    index: 2
    slicing:
      slices:
        referralType:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'https://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-ext-ReferralType', index: 2}
          max: 1
        referralReceivedDate:
          match: {}
          schema: {type: Extension, isModifier: false, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-ext-ServiceRequestReceivedDate', index: 3}
          max: 1
  requester:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-Organization', 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-Patient']
    index: 19
    extensions:
      referralSourceType: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-referralSourceType', type: Extension, short: Organization Referral Source, isModifier: false, mustSupport: true, index: 20}
    elements:
      extension:
        type: Extension
        short: Organization Referral Source
        isModifier: false
        mustSupport: true
        url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-referralSourceType
        index: 20
        slicing:
          slices:
            referralSourceType:
              match: {}
              schema: {type: Extension, short: Organization Referral Source, isModifier: false, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-referralSourceType', index: 20}
      reference: {index: 21}
  occurrencePeriod: {type: Period, mustSupport: true, choiceOf: occurrence, index: 14}
  status: {mustSupport: true, index: 7}
  identifier:
    mustSupport: true
    index: 4
    elements:
      system:
        binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mha/ServiceRequest-identifier-system'}
        mustSupport: true
        index: 5
      value: {mustSupport: true, index: 6}
    required: [value, system]
  intent: {mustSupport: true, index: 8}
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-patient']
    index: 10
    elements:
      reference: {mustSupport: true, index: 11}
    required: [reference]
  occurrence:
    mustSupport: true
    choices: [occurrencePeriod]
    index: 13
package_version: 2.0.0-snapshot1
extensions:
  referralType: {url: 'https://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-ext-ReferralType', max: 1, type: Extension, mustSupport: true, index: 2}
  referralReceivedDate: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-ext-ServiceRequestReceivedDate', max: 1, type: Extension, isModifier: false, mustSupport: true, index: 3}
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-ServiceRequest
base: http://hl7.org/fhir/StructureDefinition/ServiceRequest
version: 2.0.0
required: [identifier, meta]