PackagesCanonicalsLogsProblems
    Packages
    OntariomiCDRFHIRImplementationGuide@0.10.00-0.1.0
    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: 16
    extensions:
      ext-mi-category-type: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type', min: 1, max: 1, type: Extension, mustSupport: true, index: 18}
    elements:
      extension:
        index: 17
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: 1
          slices:
            ext-mi-category-type:
              match: {url: null}
              schema: {type: Extension, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type', index: 18}
              min: 1
              max: 1
      coding:
        mustSupport: true
        index: 19
        elements:
          system: {mustSupport: true, index: 20}
          code: {mustSupport: true, index: 21}
          display:
            mustSupport: true
            index: 22
            extensions:
              ext-translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation', min: 0, max: 1, type: Extension, mustSupport: true, index: 24}
            elements:
              extension:
                index: 23
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    ext-translation:
                      match: {url: null}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/translation', index: 24}
                      min: 0
                      max: 1
        required: [display, system, code]
    required: [extension]
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: null
      slices:
        modality:
          match: {}
          schema:
            binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-procedure-modality'}
            mustSupport: true
            index: 25
            extensions:
              ext-mi-category-type:
                url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type
                type: Extension
                mustSupport: true
                index: 27
                elements:
                  value:
                    choices: []
                    index: 29
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: $this, type: type}
                      min: null
                      slices:
                        valueCoding:
                          match: {}
                          schema:
                            pattern:
                              type: Coding
                              value: {code: '360037004', system: 'http://snomed.info/sct', display: Imaging modality}
                            choices: []
                            index: 31
            elements:
              extension:
                index: 26
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    ext-mi-category-type:
                      match: {url: null}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type
                        index: 27
                        elements:
                          value:
                            choices: []
                            index: 29
                            slicing:
                              rules: open
                              ordered: false
                              discriminator:
                              - {path: $this, type: type}
                              min: null
                              slices:
                                valueCoding:
                                  match: {}
                                  schema:
                                    pattern:
                                      type: Coding
                                      value: {code: '360037004', system: 'http://snomed.info/sct', display: Imaging modality}
                                    choices: []
                                    index: 31
              coding:
                elements:
                  display:
                    extensions:
                      ext-translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation', min: 0, max: 1, type: Extension, mustSupport: true, index: 33}
                    elements:
                      extension:
                        index: 32
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: 0
                          slices:
                            ext-translation:
                              match: {url: null}
                              schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/translation', index: 33}
                              min: 0
                              max: 1
            required: [extension]
        specialty:
          match: {}
          schema:
            binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-procedure-specialty'}
            mustSupport: true
            index: 34
            extensions:
              ext-mi-category-type:
                url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type
                type: Extension
                mustSupport: true
                index: 36
                elements:
                  value:
                    choices: []
                    index: 38
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: $this, type: type}
                      min: null
                      slices:
                        valueCoding:
                          match: {}
                          schema:
                            pattern:
                              type: Coding
                              value: {code: '394658006', system: 'http://snomed.info/sct', display: Clinical specialty}
                            choices: []
                            index: 40
            elements:
              extension:
                index: 35
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    ext-mi-category-type:
                      match: {url: null}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type
                        index: 36
                        elements:
                          value:
                            choices: []
                            index: 38
                            slicing:
                              rules: open
                              ordered: false
                              discriminator:
                              - {path: $this, type: type}
                              min: null
                              slices:
                                valueCoding:
                                  match: {}
                                  schema:
                                    pattern:
                                      type: Coding
                                      value: {code: '394658006', system: 'http://snomed.info/sct', display: Clinical specialty}
                                    choices: []
                                    index: 40
              coding:
                elements:
                  display:
                    extensions:
                      ext-translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation', min: 0, max: 1, type: Extension, mustSupport: true, index: 42}
                    elements:
                      extension:
                        index: 41
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: 0
                          slices:
                            ext-translation:
                              match: {url: null}
                              schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/translation', index: 42}
                              min: 0
                              max: 1
            required: [extension]
        bodypart:
          match: {}
          schema:
            mustSupport: true
            index: 43
            extensions:
              ext-mi-category-type:
                url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type
                type: Extension
                mustSupport: true
                index: 45
                elements:
                  value:
                    choices: []
                    index: 47
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: $this, type: type}
                      min: null
                      slices:
                        valueCoding:
                          match: {}
                          schema:
                            pattern:
                              type: Coding
                              value: {code: '272427006', system: 'http://snomed.info/sct', display: Anatomical part descriptor}
                            choices: []
                            index: 49
            elements:
              extension:
                index: 44
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    ext-mi-category-type:
                      match: {url: null}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type
                        index: 45
                        elements:
                          value:
                            choices: []
                            index: 47
                            slicing:
                              rules: open
                              ordered: false
                              discriminator:
                              - {path: $this, type: type}
                              min: null
                              slices:
                                valueCoding:
                                  match: {}
                                  schema:
                                    pattern:
                                      type: Coding
                                      value: {code: '272427006', system: 'http://snomed.info/sct', display: Anatomical part descriptor}
                                    choices: []
                                    index: 49
              coding:
                array: true
                min: 2
                index: 50
                extensions:
                  ext-mi-code-type: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type', min: 1, max: 1, type: Extension, mustSupport: true, index: 52}
                elements:
                  extension:
                    index: 51
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: 1
                      slices:
                        ext-mi-code-type:
                          match: {url: null}
                          schema: {type: Extension, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type', index: 52}
                          min: 1
                          max: 1
                  display:
                    extensions:
                      ext-translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation', min: 0, max: 1, type: Extension, mustSupport: true, index: 54}
                    elements:
                      extension:
                        index: 53
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: 0
                          slices:
                            ext-translation:
                              match: {url: null}
                              schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/translation', index: 54}
                              min: 0
                              max: 1
                required: [extension]
                slicing:
                  rules: open
                  discriminator:
                  - {path: $this, type: pattern}
                  min: 2
                  slices:
                    dicom:
                      match: {}
                      schema:
                        short: DICOM body part code
                        binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-procedure-bodypart-dicom'}
                        mustSupport: true
                        _required: true
                        index: 55
                        extensions:
                          ext-mi-code-type:
                            url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type
                            type: Extension
                            mustSupport: true
                            index: 57
                            elements:
                              value:
                                choices: []
                                index: 59
                                slicing:
                                  rules: open
                                  ordered: false
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        pattern: {type: Code, value: dicom}
                                        choices: []
                                        index: 61
                        elements:
                          extension:
                            index: 56
                            slicing:
                              rules: open
                              discriminator:
                              - {path: url, type: value}
                              min: 1
                              slices:
                                ext-mi-code-type:
                                  match: {url: null}
                                  schema:
                                    type: Extension
                                    mustSupport: true
                                    url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type
                                    index: 57
                                    elements:
                                      value:
                                        choices: []
                                        index: 59
                                        slicing:
                                          rules: open
                                          ordered: false
                                          discriminator:
                                          - {path: $this, type: type}
                                          min: null
                                          slices:
                                            valueCode:
                                              match: {}
                                              schema:
                                                pattern: {type: Code, value: dicom}
                                                choices: []
                                                index: 61
                          system:
                            pattern: {type: Uri, value: 'http://dicom.nema.org/resources/ontology/DCM'}
                            index: 62
                          display:
                            extensions:
                              ext-translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation', min: 0, max: 1, type: Extension, mustSupport: true, index: 64}
                            elements:
                              extension:
                                index: 63
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: url, type: value}
                                  min: 0
                                  slices:
                                    ext-translation:
                                      match: {url: null}
                                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/translation', index: 64}
                                      min: 0
                                      max: 1
                        required: [extension]
                    sct:
                      match: {}
                      schema:
                        short: SNOMED CT body part code
                        binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-procedure-bodypart-sct'}
                        mustSupport: true
                        _required: true
                        index: 65
                        extensions:
                          ext-mi-code-type:
                            url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type
                            type: Extension
                            mustSupport: true
                            index: 67
                            elements:
                              value:
                                choices: []
                                index: 69
                                slicing:
                                  rules: open
                                  ordered: false
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        pattern: {type: Code, value: sct}
                                        choices: []
                                        index: 71
                        elements:
                          extension:
                            index: 66
                            slicing:
                              rules: open
                              discriminator:
                              - {path: url, type: value}
                              min: 1
                              slices:
                                ext-mi-code-type:
                                  match: {url: null}
                                  schema:
                                    type: Extension
                                    mustSupport: true
                                    url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type
                                    index: 67
                                    elements:
                                      value:
                                        choices: []
                                        index: 69
                                        slicing:
                                          rules: open
                                          ordered: false
                                          discriminator:
                                          - {path: $this, type: type}
                                          min: null
                                          slices:
                                            valueCode:
                                              match: {}
                                              schema:
                                                pattern: {type: Code, value: sct}
                                                choices: []
                                                index: 71
                          system:
                            pattern: {type: Uri, value: 'http://snomed.info/sct'}
                            index: 72
                          display:
                            extensions:
                              ext-translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation', min: 0, max: 1, type: Extension, mustSupport: true, index: 74}
                            elements:
                              extension:
                                index: 73
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: url, type: value}
                                  min: 0
                                  slices:
                                    ext-translation:
                                      match: {url: null}
                                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/translation', index: 74}
                                      min: 0
                                      max: 1
                        required: [extension]
            required: [extension]
        laterality:
          match: {}
          schema:
            mustSupport: true
            index: 75
            extensions:
              ext-mi-category-type:
                url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type
                type: Extension
                mustSupport: true
                index: 77
                elements:
                  value:
                    choices: []
                    index: 79
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: $this, type: type}
                      min: null
                      slices:
                        valueCoding:
                          match: {}
                          schema:
                            pattern:
                              type: Coding
                              value: {code: '272741003', system: 'http://snomed.info/sct', display: Laterality}
                            choices: []
                            index: 81
            elements:
              extension:
                index: 76
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    ext-mi-category-type:
                      match: {url: null}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type
                        index: 77
                        elements:
                          value:
                            choices: []
                            index: 79
                            slicing:
                              rules: open
                              ordered: false
                              discriminator:
                              - {path: $this, type: type}
                              min: null
                              slices:
                                valueCoding:
                                  match: {}
                                  schema:
                                    pattern:
                                      type: Coding
                                      value: {code: '272741003', system: 'http://snomed.info/sct', display: Laterality}
                                    choices: []
                                    index: 81
              coding:
                array: true
                min: 2
                index: 82
                extensions:
                  ext-mi-code-type: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type', min: 1, max: 1, type: Extension, mustSupport: true, index: 84}
                elements:
                  extension:
                    index: 83
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: 1
                      slices:
                        ext-mi-code-type:
                          match: {url: null}
                          schema: {type: Extension, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type', index: 84}
                          min: 1
                          max: 1
                  display:
                    extensions:
                      ext-translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation', min: 0, max: 1, type: Extension, mustSupport: true, index: 86}
                    elements:
                      extension:
                        index: 85
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: 0
                          slices:
                            ext-translation:
                              match: {url: null}
                              schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/translation', index: 86}
                              min: 0
                              max: 1
                required: [extension]
                slicing:
                  rules: open
                  discriminator:
                  - {path: $this, type: pattern}
                  min: 2
                  slices:
                    dicom:
                      match: {}
                      schema:
                        short: DICOM body part code
                        binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-procedure-laterality-dicom'}
                        mustSupport: true
                        _required: true
                        index: 87
                        extensions:
                          ext-mi-code-type:
                            url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type
                            type: Extension
                            mustSupport: true
                            index: 89
                            elements:
                              value:
                                choices: []
                                index: 91
                                slicing:
                                  rules: open
                                  ordered: false
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        pattern: {type: Code, value: dicom}
                                        choices: []
                                        index: 93
                        elements:
                          extension:
                            index: 88
                            slicing:
                              rules: open
                              discriminator:
                              - {path: url, type: value}
                              min: 1
                              slices:
                                ext-mi-code-type:
                                  match: {url: null}
                                  schema:
                                    type: Extension
                                    mustSupport: true
                                    url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type
                                    index: 89
                                    elements:
                                      value:
                                        choices: []
                                        index: 91
                                        slicing:
                                          rules: open
                                          ordered: false
                                          discriminator:
                                          - {path: $this, type: type}
                                          min: null
                                          slices:
                                            valueCode:
                                              match: {}
                                              schema:
                                                pattern: {type: Code, value: dicom}
                                                choices: []
                                                index: 93
                          system:
                            pattern: {type: Uri, value: 'http://dicom.nema.org/resources/ontology/DCM'}
                            index: 94
                          display:
                            extensions:
                              ext-translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation', min: 0, max: 1, type: Extension, mustSupport: true, index: 96}
                            elements:
                              extension:
                                index: 95
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: url, type: value}
                                  min: 0
                                  slices:
                                    ext-translation:
                                      match: {url: null}
                                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/translation', index: 96}
                                      min: 0
                                      max: 1
                        required: [extension]
                    sct:
                      match: {}
                      schema:
                        short: SNOMED CT body part code
                        binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-procedure-laterality-sct'}
                        mustSupport: true
                        _required: true
                        index: 97
                        extensions:
                          ext-mi-code-type:
                            url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type
                            type: Extension
                            mustSupport: true
                            index: 99
                            elements:
                              value:
                                choices: []
                                index: 101
                                slicing:
                                  rules: open
                                  ordered: false
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        pattern: {type: Code, value: sct}
                                        choices: []
                                        index: 103
                        elements:
                          extension:
                            index: 98
                            slicing:
                              rules: open
                              discriminator:
                              - {path: url, type: value}
                              min: 1
                              slices:
                                ext-mi-code-type:
                                  match: {url: null}
                                  schema:
                                    type: Extension
                                    mustSupport: true
                                    url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type
                                    index: 99
                                    elements:
                                      value:
                                        choices: []
                                        index: 101
                                        slicing:
                                          rules: open
                                          ordered: false
                                          discriminator:
                                          - {path: $this, type: type}
                                          min: null
                                          slices:
                                            valueCode:
                                              match: {}
                                              schema:
                                                pattern: {type: Code, value: sct}
                                                choices: []
                                                index: 103
                          system:
                            pattern: {type: Uri, value: 'http://snomed.info/sct'}
                            index: 104
                          display:
                            extensions:
                              ext-translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation', min: 0, max: 1, type: Extension, mustSupport: true, index: 106}
                            elements:
                              extension:
                                index: 105
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: url, type: value}
                                  min: 0
                                  slices:
                                    ext-translation:
                                      match: {url: null}
                                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/translation', index: 106}
                                      min: 0
                                      max: 1
                        required: [extension]
            required: [extension]
        contrast:
          match: {}
          schema:
            binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-procedure-contrast-used'}
            mustSupport: true
            index: 107
            extensions:
              ext-mi-category-type:
                url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type
                type: Extension
                mustSupport: true
                index: 109
                elements:
                  value:
                    choices: []
                    index: 111
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: $this, type: type}
                      min: null
                      slices:
                        valueCoding:
                          match: {}
                          schema:
                            pattern:
                              type: Coding
                              value: {code: '263543005', system: 'http://snomed.info/sct', display: Contrast used}
                            choices: []
                            index: 113
            elements:
              extension:
                index: 108
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    ext-mi-category-type:
                      match: {url: null}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type
                        index: 109
                        elements:
                          value:
                            choices: []
                            index: 111
                            slicing:
                              rules: open
                              ordered: false
                              discriminator:
                              - {path: $this, type: type}
                              min: null
                              slices:
                                valueCoding:
                                  match: {}
                                  schema:
                                    pattern:
                                      type: Coding
                                      value: {code: '263543005', system: 'http://snomed.info/sct', display: Contrast used}
                                    choices: []
                                    index: 113
              coding:
                elements:
                  display:
                    extensions:
                      ext-translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation', min: 0, max: 1, type: Extension, mustSupport: true, index: 115}
                    elements:
                      extension:
                        index: 114
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: 0
                          slices:
                            ext-translation:
                              match: {url: null}
                              schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/translation', index: 115}
                              min: 0
                              max: 1
            required: [extension]
  meta:
    mustSupport: true
    index: 0
    elements:
      profile:
        mustSupport: true
        pattern: {type: Canonical, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-ServiceRequest|1.0.0'}
        index: 1
    required: [profile]
  encounter:
    type: Reference
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-encounter']
    index: 155
  authoredOn: {mustSupport: true, index: 156}
  requisition: {mustSupport: true, index: 13}
  locationReference:
    type: Reference
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-location']
    index: 159
  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: 157
  status: {mustSupport: true, index: 14}
  code:
    mustSupport: true
    index: 116
    elements:
      coding:
        mustSupport: true
        index: 117
        extensions:
          ext-mi-code-type: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type', min: 1, max: 1, type: Extension, mustSupport: true, index: 119}
        elements:
          extension:
            index: 118
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: 1
              slices:
                ext-mi-code-type:
                  match: {url: null}
                  schema: {type: Extension, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type', index: 119}
                  min: 1
                  max: 1
          code: {mustSupport: true, index: 120}
          display:
            mustSupport: true
            index: 121
            extensions:
              ext-translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation', min: 0, max: 1, type: Extension, mustSupport: true, index: 123}
            elements:
              extension:
                index: 122
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    ext-translation:
                      match: {url: null}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/translation', index: 123}
                      min: 0
                      max: 1
        required: [extension, display, code]
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: 1
          slices:
            local:
              match: {system: null}
              schema:
                short: Local procedure code
                mustSupport: true
                _required: true
                index: 124
                extensions:
                  ext-mi-code-type:
                    url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type
                    type: Extension
                    mustSupport: true
                    index: 126
                    elements:
                      value:
                        choices: []
                        index: 128
                        slicing:
                          rules: open
                          ordered: false
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueCode:
                              match: {}
                              schema:
                                pattern: {type: Code, value: local}
                                choices: []
                                index: 130
                elements:
                  extension:
                    index: 125
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: 1
                      slices:
                        ext-mi-code-type:
                          match: {url: null}
                          schema:
                            type: Extension
                            mustSupport: true
                            url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type
                            index: 126
                            elements:
                              value:
                                choices: []
                                index: 128
                                slicing:
                                  rules: open
                                  ordered: false
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        pattern: {type: Code, value: local}
                                        choices: []
                                        index: 130
                  system: {index: 131}
                  display:
                    extensions:
                      ext-translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation', min: 0, max: 1, type: Extension, mustSupport: true, index: 133}
                    elements:
                      extension:
                        index: 132
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: 0
                          slices:
                            ext-translation:
                              match: {url: null}
                              schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/translation', index: 133}
                              min: 0
                              max: 1
                required: [extension, system]
            provincial:
              match: {system: 'http://ontariohealth.ca/fhir/CodeSystem/procedure-type-mi-provincial'}
              schema:
                short: Provincial procedure code
                binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-procedure-type-provincial'}
                mustSupport: true
                index: 134
                extensions:
                  ext-mi-code-type:
                    url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type
                    type: Extension
                    mustSupport: true
                    index: 136
                    elements:
                      value:
                        choices: []
                        index: 138
                        slicing:
                          rules: open
                          ordered: false
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueCode:
                              match: {}
                              schema:
                                pattern: {type: Code, value: provincial}
                                choices: []
                                index: 140
                elements:
                  extension:
                    index: 135
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: 1
                      slices:
                        ext-mi-code-type:
                          match: {url: null}
                          schema:
                            type: Extension
                            mustSupport: true
                            url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type
                            index: 136
                            elements:
                              value:
                                choices: []
                                index: 138
                                slicing:
                                  rules: open
                                  ordered: false
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        pattern: {type: Code, value: provincial}
                                        choices: []
                                        index: 140
                  system:
                    pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/CodeSystem/procedure-type-mi-provincial'}
                    index: 141
                  display:
                    extensions:
                      ext-translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation', min: 0, max: 1, type: Extension, mustSupport: true, index: 143}
                    elements:
                      extension:
                        index: 142
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: 0
                          slices:
                            ext-translation:
                              match: {url: null}
                              schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/translation', index: 143}
                              min: 0
                              max: 1
                required: [extension, system]
            sct:
              match: {system: 'http://snomed.info/sct'}
              schema:
                short: SNOMED CT procedure code
                binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-procedure-type-sct'}
                mustSupport: true
                index: 144
                extensions:
                  ext-mi-code-type:
                    url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type
                    type: Extension
                    mustSupport: true
                    index: 146
                    elements:
                      value:
                        choices: []
                        index: 148
                        slicing:
                          rules: open
                          ordered: false
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueCode:
                              match: {}
                              schema:
                                pattern: {type: Code, value: sct}
                                choices: []
                                index: 150
                elements:
                  extension:
                    index: 145
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: 1
                      slices:
                        ext-mi-code-type:
                          match: {url: null}
                          schema:
                            type: Extension
                            mustSupport: true
                            url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type
                            index: 146
                            elements:
                              value:
                                choices: []
                                index: 148
                                slicing:
                                  rules: open
                                  ordered: false
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        pattern: {type: Code, value: sct}
                                        choices: []
                                        index: 150
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 151
                  display:
                    extensions:
                      ext-translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation', min: 0, max: 1, type: Extension, mustSupport: true, index: 153}
                    elements:
                      extension:
                        index: 152
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: 0
                          slices:
                            ext-translation:
                              match: {url: null}
                              schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/translation', index: 153}
                              min: 0
                              max: 1
                required: [extension, system]
    required: [coding]
  identifier:
    mustSupport: true
    index: 2
    slicing:
      rules: open
      description: must contain one repetition of an accession number.
      discriminator:
      - {path: type, type: value}
      min: 1
      slices:
        identifier-accession:
          match:
            type:
              coding:
              - {code: ACSN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Accession ID}
          schema:
            short: Filler/Accession ID
            mustSupport: true
            _required: true
            index: 3
            elements:
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: ACSN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Accession ID}
                index: 4
                elements:
                  coding:
                    index: 5
                    elements:
                      system: {mustSupport: true, index: 6}
                      code: {mustSupport: true, index: 7}
                      display: {index: 8}
                    required: [display, system, code]
                required: [coding]
              system: {mustSupport: true, index: 9}
              value: {mustSupport: true, index: 10}
            required: [value, type, system]
  intent: {mustSupport: true, index: 15}
  replaces:
    type: Reference
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-servicerequest']
    index: 12
  basedOn:
    type: Reference
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-servicerequest']
    index: 11
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-patient']
    index: 154
  performer:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-organization']
    index: 158
package_version: 0.10.00-0.1.0
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-ServiceRequest
base: http://hl7.org/fhir/StructureDefinition/ServiceRequest
version: 0.1.0
required: [identifier, meta, code]