PackagesCanonicalsLogsProblems
    Packages
    ontariomicdrfhirimplementationguide@0.10.00-0.9.9-beta
    http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-ServiceRequest
description: null
package_name: ontariomicdrfhirimplementationguide
derivation: constraint
name: MICdrServiceRequest
type: ServiceRequest
elements:
  category:
    mustSupport: true
    index: 48
    extensions:
      ext-mi-category-type: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type', min: 1, max: 1, type: Extension, mustSupport: true, index: 50}
    elements:
      extension:
        index: 49
        slicing:
          slices:
            ext-mi-category-type:
              match: {}
              schema: {type: Extension, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type', index: 50}
              min: 1
              max: 1
      coding:
        mustSupport: true
        index: 51
        elements:
          system: {mustSupport: true, index: 52}
          code: {mustSupport: true, index: 53}
          display: {mustSupport: true, index: 54}
        required: [display, system, code]
    required: [extension]
    slicing:
      rules: open
      discriminator:
      - {path: extension.value.code, type: value}
      min: null
      slices:
        category-modality:
          match:
            extension:
              value: {code: null}
          schema:
            binding: {strength: required, valueSet: 'http://dicom.nema.org/medical/dicom/current/output/chtml/part16/sect_CID_29.html'}
            mustSupport: true
            index: 55
            extensions:
              ext-mi-category-type:
                url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type
                type: Extension
                mustSupport: true
                index: 57
                elements:
                  value:
                    choices: []
                    index: 59
                  value[x]:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 60
                      code:
                        pattern: {type: Code, value: '360037004'}
                        index: 61
            elements:
              extension:
                index: 56
                slicing:
                  slices:
                    ext-mi-category-type:
                      match: {}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type
                        index: 57
                        elements:
                          value:
                            choices: []
                            index: 59
                          value[x]:
                            elements:
                              system:
                                pattern: {type: Uri, value: 'http://snomed.info/sct'}
                                index: 60
                              code:
                                pattern: {type: Code, value: '360037004'}
                                index: 61
              coding:
                mustSupport: true
                index: 62
                elements:
                  system: {mustSupport: true, index: 63}
                  code: {mustSupport: true, index: 64}
                  display: {mustSupport: true, index: 65}
                required: [display, system, code]
            required: [extension, coding]
        category-specialty:
          match:
            extension:
              value: {code: null}
          schema:
            binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-procedure-specialty'}
            mustSupport: true
            index: 66
            extensions:
              ext-mi-category-type:
                url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type
                type: Extension
                mustSupport: true
                index: 68
                elements:
                  value:
                    choices: []
                    index: 70
                  value[x]:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 71
                      code:
                        pattern: {type: Code, value: '394658006'}
                        index: 72
            elements:
              extension:
                index: 67
                slicing:
                  slices:
                    ext-mi-category-type:
                      match: {}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type
                        index: 68
                        elements:
                          value:
                            choices: []
                            index: 70
                          value[x]:
                            elements:
                              system:
                                pattern: {type: Uri, value: 'http://snomed.info/sct'}
                                index: 71
                              code:
                                pattern: {type: Code, value: '394658006'}
                                index: 72
              coding:
                mustSupport: true
                index: 73
                elements:
                  system: {mustSupport: true, index: 74}
                  code: {mustSupport: true, index: 75}
                  display: {mustSupport: true, index: 76}
                required: [display, system, code]
            required: [extension, coding]
        cateogory-bodyPart:
          match:
            extension:
              value: {code: null}
          schema:
            binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-procedure-bodypart-sct'}
            mustSupport: true
            index: 77
            extensions:
              ext-mi-category-type:
                url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type
                type: Extension
                mustSupport: true
                index: 79
                elements:
                  value:
                    choices: []
                    index: 81
                  value[x]:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 82
                      code:
                        pattern: {type: Code, value: '272427006'}
                        index: 83
            elements:
              extension:
                index: 78
                slicing:
                  slices:
                    ext-mi-category-type:
                      match: {}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type
                        index: 79
                        elements:
                          value:
                            choices: []
                            index: 81
                          value[x]:
                            elements:
                              system:
                                pattern: {type: Uri, value: 'http://snomed.info/sct'}
                                index: 82
                              code:
                                pattern: {type: Code, value: '272427006'}
                                index: 83
              coding:
                mustSupport: true
                index: 84
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    mustSupport: true
                    index: 85
                  code: {mustSupport: true, index: 86}
                  display: {mustSupport: true, index: 87}
                required: [display, system, code]
            required: [extension, coding]
        category-laterality:
          match:
            extension:
              value: {code: null}
          schema:
            binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-procedure-laterality-sct'}
            mustSupport: true
            index: 88
            extensions:
              ext-mi-category-type:
                url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type
                type: Extension
                mustSupport: true
                index: 90
                elements:
                  value:
                    choices: []
                    index: 92
                  value[x]:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 93
                      code:
                        pattern: {type: Code, value: '272741003'}
                        index: 94
            elements:
              extension:
                index: 89
                slicing:
                  slices:
                    ext-mi-category-type:
                      match: {}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type
                        index: 90
                        elements:
                          value:
                            choices: []
                            index: 92
                          value[x]:
                            elements:
                              system:
                                pattern: {type: Uri, value: 'http://snomed.info/sct'}
                                index: 93
                              code:
                                pattern: {type: Code, value: '272741003'}
                                index: 94
              coding:
                mustSupport: true
                index: 95
                extensions:
                  ext-mi-code-type: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type', min: 1, max: 1, type: Extension, mustSupport: true, index: 97}
                elements:
                  extension:
                    index: 96
                    slicing:
                      slices:
                        ext-mi-code-type:
                          match: {}
                          schema: {type: Extension, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type', index: 97}
                          min: 1
                          max: 1
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    mustSupport: true
                    index: 98
                  code: {mustSupport: true, index: 99}
                  display: {mustSupport: true, index: 100}
                required: [extension, display, system, code]
            required: [extension, coding]
        category-contrast:
          match:
            extension:
              value: {code: null}
          schema:
            binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-procedure-contrast-used'}
            mustSupport: true
            index: 101
            extensions:
              ext-mi-category-type:
                url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type
                type: Extension
                mustSupport: true
                index: 103
                elements:
                  value:
                    choices: []
                    index: 105
                  value[x]:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 106
                      code:
                        pattern: {type: Code, value: '263543005'}
                        index: 107
            elements:
              extension:
                index: 102
                slicing:
                  slices:
                    ext-mi-category-type:
                      match: {}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type
                        index: 103
                        elements:
                          value:
                            choices: []
                            index: 105
                          value[x]:
                            elements:
                              system:
                                pattern: {type: Uri, value: 'http://snomed.info/sct'}
                                index: 106
                              code:
                                pattern: {type: Code, value: '263543005'}
                                index: 107
              coding:
                mustSupport: true
                index: 108
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    mustSupport: true
                    index: 109
                  code: {mustSupport: true, index: 110}
                  display: {mustSupport: true, index: 111}
                required: [display, system, code]
            required: [extension, coding]
  meta:
    mustSupport: true
    index: 0
    elements:
      profile: {mustSupport: true, index: 1}
    required: [profile]
  supportingInfo:
    mustSupport: true
    index: 165
    elements:
      display: {mustSupport: true, index: 166}
    required: [display]
  encounter:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-Encounter']
    index: 148
    elements:
      reference: {mustSupport: true, index: 149}
    required: [reference]
  reasonCode:
    mustSupport: true
    index: 159
    elements:
      coding:
        mustSupport: true
        index: 160
        elements:
          system: {mustSupport: true, index: 161}
          code: {mustSupport: true, index: 162}
          display: {mustSupport: true, index: 163}
        required: [display, system, code]
      text: {mustSupport: true, index: 164}
  authoredOn: {mustSupport: true, index: 152}
  note: {mustSupport: true, index: 168}
  requisition:
    mustSupport: true
    index: 38
    elements:
      type:
        mustSupport: true
        index: 39
        elements:
          coding:
            mustSupport: true
            index: 40
            elements:
              system:
                pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                mustSupport: true
                index: 41
              code:
                pattern: {type: Code, value: PLAC}
                mustSupport: true
                index: 42
              display:
                pattern: {type: String, value: Placer Identifier}
                mustSupport: true
                index: 43
            required: [display, system, code]
        required: [coding]
      system: {mustSupport: true, index: 44}
      value: {mustSupport: true, index: 45}
    required: [value, type, system]
  extension:
    type: Extension
    url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-ext-cc-list
    index: 2
    slicing:
      slices:
        ext-mi-copied-to-provider:
          match: {}
          schema: {type: Extension, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-ext-cc-list', index: 2}
  locationReference:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-Location']
    index: 157
    elements:
      reference: {mustSupport: true, index: 158}
    required: [reference]
  requester:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-Organization', 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-Practitioner', 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-PractitionerRole']
    index: 153
    elements:
      reference: {mustSupport: true, index: 154}
    required: [reference]
  priority: {mustSupport: true, index: 112}
  status: {mustSupport: true, index: 46}
  code:
    mustSupport: true
    index: 113
    elements:
      coding:
        mustSupport: true
        index: 114
        extensions:
          ext-mi-code-type: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type', min: 1, max: 1, type: Extension, mustSupport: true, index: 116}
        elements:
          extension:
            index: 115
            slicing:
              slices:
                ext-mi-code-type:
                  match: {}
                  schema: {type: Extension, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type', index: 116}
                  min: 1
                  max: 1
          code: {mustSupport: true, index: 117}
          display: {mustSupport: true, index: 118}
        required: [extension, display, code]
        slicing:
          rules: open
          discriminator:
          - {path: extension.value, type: value}
          min: 1
          slices:
            coding-local:
              match:
                extension: {value: null}
              schema:
                short: Local procedure code
                mustSupport: true
                index: 119
                extensions:
                  ext-mi-local-code:
                    url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type
                    type: Extension
                    isModifier: false
                    index: 121
                    elements:
                      value:
                        pattern: {type: Code, value: local}
                        choices: []
                        index: 123
                elements:
                  extension:
                    index: 120
                    slicing:
                      slices:
                        ext-mi-local-code:
                          match: {}
                          schema:
                            type: Extension
                            isModifier: false
                            url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type
                            index: 121
                            elements:
                              value:
                                pattern: {type: Code, value: local}
                                choices: []
                                index: 123
                  system: {mustSupport: true, index: 124}
                  code: {mustSupport: true, index: 125}
                  display: {mustSupport: true, index: 126}
                required: [extension, display, system, code]
            coding-provincial:
              match:
                extension: {value: null}
              schema:
                short: Provincial procedure code
                binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-procedure-type-provincial'}
                mustSupport: true
                index: 127
                extensions:
                  ext-mi-provincial-code:
                    url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type
                    type: Extension
                    isModifier: false
                    index: 129
                    elements:
                      value:
                        pattern: {type: Code, value: provincial}
                        choices: []
                        index: 131
                elements:
                  extension:
                    index: 128
                    slicing:
                      slices:
                        ext-mi-provincial-code:
                          match: {}
                          schema:
                            type: Extension
                            isModifier: false
                            url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type
                            index: 129
                            elements:
                              value:
                                pattern: {type: Code, value: provincial}
                                choices: []
                                index: 131
                  system:
                    pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/CodeSystem/procedure-type-mi-provincial'}
                    mustSupport: true
                    index: 132
                  code: {mustSupport: true, index: 133}
                  display: {mustSupport: true, index: 134}
                required: [extension, display, system, code]
            coding-sct:
              match:
                extension: {value: null}
              schema:
                short: SNOMED CT procedure code
                binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-procedure-type-sct'}
                mustSupport: true
                index: 135
                extensions:
                  ext-mi-snomed-code:
                    url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type
                    type: Extension
                    isModifier: false
                    index: 137
                    elements:
                      value:
                        pattern: {type: Code, value: sct}
                        choices: []
                        index: 139
                elements:
                  extension:
                    index: 136
                    slicing:
                      slices:
                        ext-mi-snomed-code:
                          match: {}
                          schema:
                            type: Extension
                            isModifier: false
                            url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type
                            index: 137
                            elements:
                              value:
                                pattern: {type: Code, value: sct}
                                choices: []
                                index: 139
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    mustSupport: true
                    index: 140
                  code: {mustSupport: true, index: 141}
                  display: {mustSupport: true, index: 142}
                required: [extension, display, system, code]
    required: [coding]
  identifier:
    mustSupport: true
    index: 3
    slicing:
      rules: open
      description: must contain one repetition of an accession number.
      discriminator:
      - {path: type.coding.code, type: value}
      min: 1
      slices:
        identifier-accession:
          match:
            type:
              coding: {code: ACSN}
          schema:
            short: Accession ID
            mustSupport: true
            _required: true
            index: 4
            elements:
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: ACSN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Accession ID}
                index: 5
                elements:
                  coding:
                    index: 6
                    elements:
                      system: {mustSupport: true, index: 7}
                      code:
                        pattern: {type: Code, value: ACSN}
                        mustSupport: true
                        index: 8
                      display: {mustSupport: true, index: 9}
                    required: [display, system, code]
                required: [coding]
              system: {mustSupport: true, index: 10}
              value: {mustSupport: true, index: 11}
            required: [value, type, system]
        identifier-placerOrderNumber:
          match:
            type:
              coding: {code: PLAC}
          schema:
            index: 12
            elements:
              type:
                mustSupport: true
                index: 13
                elements:
                  coding:
                    mustSupport: true
                    index: 14
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        mustSupport: true
                        index: 15
                      code:
                        pattern: {type: Code, value: PLAC}
                        mustSupport: true
                        index: 16
                      display: {mustSupport: true, index: 17}
                    required: [display, system, code]
                required: [coding]
              system: {mustSupport: true, index: 18}
              value: {mustSupport: true, index: 19}
            required: [value, type, system]
  bodySite: {mustSupport: true, index: 167}
  intent: {mustSupport: true, index: 47}
  replaces:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-ServiceRequest']
    index: 29
    elements:
      identifier:
        mustSupport: true
        index: 30
        elements:
          type:
            mustSupport: true
            index: 31
            elements:
              coding:
                mustSupport: true
                index: 32
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                    mustSupport: true
                    index: 33
                  code:
                    pattern: {type: Code, value: PLAC}
                    mustSupport: true
                    index: 34
                  display: {mustSupport: true, index: 35}
                required: [display, system, code]
            required: [coding]
          system: {mustSupport: true, index: 36}
          value: {mustSupport: true, index: 37}
        required: [value, type, system]
    required: [identifier]
  orderDetail:
    mustSupport: true
    index: 143
    elements:
      coding: {mustSupport: true, index: 144}
      text: {mustSupport: true, index: 145}
    required: [text]
  basedOn:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-ServiceRequest']
    index: 20
    elements:
      identifier:
        mustSupport: true
        index: 21
        elements:
          type:
            mustSupport: true
            index: 22
            elements:
              coding:
                mustSupport: true
                index: 23
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                    mustSupport: true
                    index: 24
                  code:
                    pattern: {type: Code, value: PLAC}
                    mustSupport: true
                    index: 25
                  display: {mustSupport: true, index: 26}
                required: [display, system, code]
            required: [coding]
          system: {mustSupport: true, index: 27}
          value: {mustSupport: true, index: 28}
        required: [value, type, system]
    required: [identifier]
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-Patient']
    index: 146
    elements:
      reference: {mustSupport: true, index: 147}
    required: [reference]
  occurrence:
    mustSupport: true
    choices: []
    index: 151
  performer:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-Organization', 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-Practitioner', 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-PractitionerRole']
    index: 155
    elements:
      reference: {mustSupport: true, index: 156}
    required: [reference]
package_version: 0.10.00-0.9.9-beta
extensions:
  ext-mi-copied-to-provider: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-ext-cc-list', type: Extension, index: 2}
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-ServiceRequest
base: http://hl7.org/fhir/StructureDefinition/ServiceRequest
version: 0.9.0
required: [identifier, meta, code]