PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh.mha.pds@2.0.0-alpha-preview-0.1
    http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-servicerequest-v2-draft
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.oh.mha.pds
derivation: constraint
name: ServiceRequestProfileV2draft
type: ServiceRequest
elements:
  category: {index: 10}
  meta:
    mustSupport: true
    index: 0
    elements:
      profile:
        mustSupport: true
        pattern: {type: Canonical, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-servicerequest'}
        index: 1
    required: [profile]
  authoredOn: {index: 13}
  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
        referralOrganizationReceivedDate:
          match: {}
          schema: {type: Extension, isModifier: false, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-ext-ServiceRequestOrganizationReceivedDate', index: 4}
          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: 14
    extensions:
      referralSourceType: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-referralSourceType', type: Extension, isModifier: false, mustSupport: true, index: 15}
    elements:
      extension:
        type: Extension
        isModifier: false
        mustSupport: true
        url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-referralSourceType
        index: 15
        slicing:
          slices:
            referralSourceType:
              match: {}
              schema: {type: Extension, isModifier: false, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-referralSourceType', index: 15}
      reference: {index: 16}
  status: {mustSupport: true, index: 8}
  identifier:
    mustSupport: true
    index: 5
    elements:
      system:
        binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mha/ServiceRequest-identifier-system'}
        mustSupport: true
        index: 6
      value: {mustSupport: true, index: 7}
    required: [value, system]
  intent: {mustSupport: true, index: 9}
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-patient']
    index: 11
    elements:
      reference: {mustSupport: true, index: 12}
    required: [reference]
package_version: 2.0.0-alpha-preview-0.1
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}
  referralOrganizationReceivedDate: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-ext-ServiceRequestOrganizationReceivedDate', max: 1, type: Extension, isModifier: false, mustSupport: true, index: 4}
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-servicerequest-v2-draft
base: http://hl7.org/fhir/StructureDefinition/ServiceRequest
version: 2.0.0
required: [meta]