PackagesCanonicalsLogsProblems
    Packages
    OntariomiCDRFHIRImplementationGuide@0.10.00-0.1.0
    http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-ImagingStudy
description: null
package_name: OntariomiCDRFHIRImplementationGuide
derivation: constraint
name: MiCdrImagingStudy
type: ImagingStudy
elements:
  description: {mustSupport: true, index: 365}
  started: {mustSupport: true, index: 355}
  numberOfSeries: {mustSupport: true, index: 360}
  interpreter:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-practitioner', 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-practitionerrole']
    index: 358
  series:
    mustSupport: true
    index: 366
    elements:
      description: {mustSupport: true, index: 370}
      started: {mustSupport: true, index: 375}
      laterality: {mustSupport: true, index: 374}
      instance:
        mustSupport: true
        index: 379
        elements:
          uid: {mustSupport: true, index: 380}
          sopClass: {mustSupport: true, index: 381}
          number: {mustSupport: true, index: 382}
          title: {mustSupport: true, index: 383}
      number: {mustSupport: true, index: 368}
      uid: {mustSupport: true, index: 367}
      modality: {mustSupport: true, index: 369}
      bodySite: {mustSupport: true, index: 373}
      endpoint: {mustSupport: true, index: 372}
      numberOfInstances: {mustSupport: true, index: 371}
      performer:
        mustSupport: true
        index: 376
        elements:
          function: {mustSupport: true, index: 377}
          actor: {mustSupport: true, index: 378}
  encounter:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-encounter']
    index: 354
  reasonCode: {mustSupport: true, index: 363}
  modality: {mustSupport: true, index: 352}
  note: {mustSupport: true, index: 364}
  referrer:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-practitioner', 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-practitionerrole']
    index: 357
  extension:
    array: true
    min: 5
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: 'extension[category-type].value[x]', type: value}
      min: 1
      slices:
        ext-mi-imagingstudy-category:
          match:
            extension[category-type]: {'value[x]': null}
          schema: {type: Extension, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-imagingstudy-category', index: 1}
        ext-mi-imagingstudy-category-procedure:
          match:
            extension[category-type]: {'value[x]': null}
          schema:
            mustSupport: true
            _required: true
            index: 168
            extensions:
              category-type:
                url: category-type
                index: 170
                elements:
                  url:
                    pattern: {type: Uri, value: category-type}
                    index: 171
                  value:
                    choices: []
                    index: 173
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: $this, type: type}
                      min: null
                      slices:
                        valueCoding:
                          match: {}
                          schema:
                            pattern:
                              type: Coding
                              value: {code: '276218009', system: 'http://snomed.info/sct', display: Procedure type}
                            choices: [valueCoding]
                            _required: true
                            index: 175
                          min: 1
                  valueCoding:
                    type: Coding
                    pattern:
                      type: Coding
                      value: {code: '276218009', system: 'http://snomed.info/sct', display: Procedure type}
                    choiceOf: value
                    index: 176
                    slicing:
                      slices:
                        valueCoding:
                          match: {}
                          schema:
                            type: Coding
                            pattern:
                              type: Coding
                              value: {code: '276218009', system: 'http://snomed.info/sct', display: Procedure type}
                            choiceOf: value
                            _required: true
                            index: 176
                          min: 1
                required: [valueCoding]
              category-value:
                url: category-value
                index: 177
                elements:
                  url:
                    pattern: {type: Uri, value: category-value}
                    index: 178
                  value:
                    elements:
                      coding:
                        extensions: {}
                        elements:
                          extension:
                            elements:
                              value:
                                choices: []
                                index: 206
                                slicing:
                                  rules: open
                                  ordered: false
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        pattern: {type: Code, value: sct}
                                        choices: []
                                        index: 208
                  valueCodeableConcept:
                    type: CodeableConcept
                    choiceOf: value
                    index: 183
                    slicing:
                      slices:
                        valueCodeableConcept:
                          match: {}
                          schema: {type: CodeableConcept, choiceOf: value, _required: true, index: 183}
                          min: 1
                  value[x]:
                    elements:
                      coding:
                        elements:
                          system:
                            pattern: {type: Uri, value: 'http://snomed.info/sct'}
                            index: 209
                required: [valueCodeableConcept]
            elements:
              extension:
                index: 169
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    category-type:
                      match: {url: category-type}
                      schema:
                        index: 170
                        elements:
                          url:
                            pattern: {type: Uri, value: category-type}
                            index: 171
                          value:
                            choices: []
                            index: 173
                            slicing:
                              rules: open
                              ordered: false
                              discriminator:
                              - {path: $this, type: type}
                              min: null
                              slices:
                                valueCoding:
                                  match: {}
                                  schema:
                                    pattern:
                                      type: Coding
                                      value: {code: '276218009', system: 'http://snomed.info/sct', display: Procedure type}
                                    choices: [valueCoding]
                                    _required: true
                                    index: 175
                                  min: 1
                          valueCoding:
                            type: Coding
                            pattern:
                              type: Coding
                              value: {code: '276218009', system: 'http://snomed.info/sct', display: Procedure type}
                            choiceOf: value
                            index: 176
                            slicing:
                              slices:
                                valueCoding:
                                  match: {}
                                  schema:
                                    type: Coding
                                    pattern:
                                      type: Coding
                                      value: {code: '276218009', system: 'http://snomed.info/sct', display: Procedure type}
                                    choiceOf: value
                                    _required: true
                                    index: 176
                                  min: 1
                        required: [valueCoding]
                    category-value:
                      match: {url: category-value}
                      schema:
                        index: 177
                        elements:
                          url:
                            pattern: {type: Uri, value: category-value}
                            index: 178
                          value:
                            elements:
                              coding:
                                extensions: {}
                                elements:
                                  extension:
                                    elements:
                                      value:
                                        choices: []
                                        index: 206
                                        slicing:
                                          rules: open
                                          ordered: false
                                          discriminator:
                                          - {path: $this, type: type}
                                          min: null
                                          slices:
                                            valueCode:
                                              match: {}
                                              schema:
                                                pattern: {type: Code, value: sct}
                                                choices: []
                                                index: 208
                          valueCodeableConcept:
                            type: CodeableConcept
                            choiceOf: value
                            index: 183
                            slicing:
                              slices:
                                valueCodeableConcept:
                                  match: {}
                                  schema: {type: CodeableConcept, choiceOf: value, _required: true, index: 183}
                                  min: 1
                          value[x]:
                            elements:
                              coding:
                                elements:
                                  system:
                                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                                    index: 209
                        required: [valueCodeableConcept]
              url:
                pattern: {type: Uri, value: ext-mi-imagingstudy-category/procedure}
                index: 210
        ext-mi-imagingstudy-category-modality:
          match:
            extension[category-type]: {'value[x]': null}
          schema:
            mustSupport: true
            index: 211
            extensions:
              category-type:
                url: category-type
                index: 213
                elements:
                  url:
                    pattern: {type: Uri, value: category-type}
                    index: 214
                  value:
                    choices: []
                    index: 216
                    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: [valueCoding]
                            _required: true
                            index: 218
                          min: 1
                  valueCoding:
                    type: Coding
                    pattern:
                      type: Coding
                      value: {code: '360037004', system: 'http://snomed.info/sct', display: Imaging modality}
                    choiceOf: value
                    index: 219
                    slicing:
                      slices:
                        valueCoding:
                          match: {}
                          schema:
                            type: Coding
                            pattern:
                              type: Coding
                              value: {code: '360037004', system: 'http://snomed.info/sct', display: Imaging modality}
                            choiceOf: value
                            _required: true
                            index: 219
                          min: 1
                required: [valueCoding]
              category-value:
                url: category-value
                index: 220
                elements:
                  url:
                    pattern: {type: Uri, value: category-value}
                    index: 221
                  value:
                    choices: []
                    index: 223
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: $this, type: type}
                      min: null
                      slices:
                        valueCodeableConcept:
                          match: {}
                          schema:
                            choices: [valueCodeableConcept]
                            _required: true
                            index: 225
                          min: 1
                  valueCodeableConcept:
                    type: CodeableConcept
                    choiceOf: value
                    index: 226
                    slicing:
                      slices:
                        valueCodeableConcept:
                          match: {}
                          schema: {type: CodeableConcept, choiceOf: value, _required: true, index: 226}
                          min: 1
                required: [valueCodeableConcept]
            elements:
              extension:
                index: 212
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    category-type:
                      match: {url: category-type}
                      schema:
                        index: 213
                        elements:
                          url:
                            pattern: {type: Uri, value: category-type}
                            index: 214
                          value:
                            choices: []
                            index: 216
                            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: [valueCoding]
                                    _required: true
                                    index: 218
                                  min: 1
                          valueCoding:
                            type: Coding
                            pattern:
                              type: Coding
                              value: {code: '360037004', system: 'http://snomed.info/sct', display: Imaging modality}
                            choiceOf: value
                            index: 219
                            slicing:
                              slices:
                                valueCoding:
                                  match: {}
                                  schema:
                                    type: Coding
                                    pattern:
                                      type: Coding
                                      value: {code: '360037004', system: 'http://snomed.info/sct', display: Imaging modality}
                                    choiceOf: value
                                    _required: true
                                    index: 219
                                  min: 1
                        required: [valueCoding]
                    category-value:
                      match: {url: category-value}
                      schema:
                        index: 220
                        elements:
                          url:
                            pattern: {type: Uri, value: category-value}
                            index: 221
                          value:
                            choices: []
                            index: 223
                            slicing:
                              rules: open
                              ordered: false
                              discriminator:
                              - {path: $this, type: type}
                              min: null
                              slices:
                                valueCodeableConcept:
                                  match: {}
                                  schema:
                                    choices: [valueCodeableConcept]
                                    _required: true
                                    index: 225
                                  min: 1
                          valueCodeableConcept:
                            type: CodeableConcept
                            choiceOf: value
                            index: 226
                            slicing:
                              slices:
                                valueCodeableConcept:
                                  match: {}
                                  schema: {type: CodeableConcept, choiceOf: value, _required: true, index: 226}
                                  min: 1
                        required: [valueCodeableConcept]
              url:
                pattern: {type: Uri, value: ext-mi-imagingstudy-category/modality}
                index: 227
        ext-mi-imagingstudy-category-specialty:
          match:
            extension[category-type]: {'value[x]': null}
          schema:
            mustSupport: true
            index: 228
            extensions:
              category-type:
                url: category-type
                index: 230
                elements:
                  url:
                    pattern: {type: Uri, value: category-type}
                    index: 231
                  value:
                    choices: []
                    index: 233
                    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: [valueCoding]
                            _required: true
                            index: 235
                          min: 1
                  valueCoding:
                    type: Coding
                    pattern:
                      type: Coding
                      value: {code: '394658006', system: 'http://snomed.info/sct', display: Clinical specialty}
                    choiceOf: value
                    index: 236
                    slicing:
                      slices:
                        valueCoding:
                          match: {}
                          schema:
                            type: Coding
                            pattern:
                              type: Coding
                              value: {code: '394658006', system: 'http://snomed.info/sct', display: Clinical specialty}
                            choiceOf: value
                            _required: true
                            index: 236
                          min: 1
                required: [valueCoding]
              category-value:
                url: category-value
                index: 237
                elements:
                  url:
                    pattern: {type: Uri, value: category-value}
                    index: 238
                  value:
                    choices: []
                    index: 240
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: $this, type: type}
                      min: null
                      slices:
                        valueCodeableConcept:
                          match: {}
                          schema:
                            choices: [valueCodeableConcept]
                            _required: true
                            index: 242
                          min: 1
                  valueCodeableConcept:
                    type: CodeableConcept
                    choiceOf: value
                    index: 243
                    slicing:
                      slices:
                        valueCodeableConcept:
                          match: {}
                          schema: {type: CodeableConcept, choiceOf: value, _required: true, index: 243}
                          min: 1
                required: [valueCodeableConcept]
            elements:
              extension:
                index: 229
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    category-type:
                      match: {url: category-type}
                      schema:
                        index: 230
                        elements:
                          url:
                            pattern: {type: Uri, value: category-type}
                            index: 231
                          value:
                            choices: []
                            index: 233
                            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: [valueCoding]
                                    _required: true
                                    index: 235
                                  min: 1
                          valueCoding:
                            type: Coding
                            pattern:
                              type: Coding
                              value: {code: '394658006', system: 'http://snomed.info/sct', display: Clinical specialty}
                            choiceOf: value
                            index: 236
                            slicing:
                              slices:
                                valueCoding:
                                  match: {}
                                  schema:
                                    type: Coding
                                    pattern:
                                      type: Coding
                                      value: {code: '394658006', system: 'http://snomed.info/sct', display: Clinical specialty}
                                    choiceOf: value
                                    _required: true
                                    index: 236
                                  min: 1
                        required: [valueCoding]
                    category-value:
                      match: {url: category-value}
                      schema:
                        index: 237
                        elements:
                          url:
                            pattern: {type: Uri, value: category-value}
                            index: 238
                          value:
                            choices: []
                            index: 240
                            slicing:
                              rules: open
                              ordered: false
                              discriminator:
                              - {path: $this, type: type}
                              min: null
                              slices:
                                valueCodeableConcept:
                                  match: {}
                                  schema:
                                    choices: [valueCodeableConcept]
                                    _required: true
                                    index: 242
                                  min: 1
                          valueCodeableConcept:
                            type: CodeableConcept
                            choiceOf: value
                            index: 243
                            slicing:
                              slices:
                                valueCodeableConcept:
                                  match: {}
                                  schema: {type: CodeableConcept, choiceOf: value, _required: true, index: 243}
                                  min: 1
                        required: [valueCodeableConcept]
              url:
                pattern: {type: Uri, value: ext-mi-imagingstudy-category/specialty}
                index: 244
        ext-mi-imagingstudy-category-bodypart:
          match:
            extension[category-type]: {'value[x]': null}
          schema:
            mustSupport: true
            index: 245
            extensions:
              category-type:
                url: category-type
                index: 247
                elements:
                  url:
                    pattern: {type: Uri, value: category-type}
                    index: 248
                  value:
                    choices: []
                    index: 250
                    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: [valueCoding]
                            _required: true
                            index: 252
                          min: 1
                  valueCoding:
                    type: Coding
                    pattern:
                      type: Coding
                      value: {code: '272427006', system: 'http://snomed.info/sct', display: Anatomical part descriptor}
                    choiceOf: value
                    index: 253
                    slicing:
                      slices:
                        valueCoding:
                          match: {}
                          schema:
                            type: Coding
                            pattern:
                              type: Coding
                              value: {code: '272427006', system: 'http://snomed.info/sct', display: Anatomical part descriptor}
                            choiceOf: value
                            _required: true
                            index: 253
                          min: 1
                required: [valueCoding]
              category-value:
                url: category-value
                index: 254
                elements:
                  url:
                    pattern: {type: Uri, value: category-value}
                    index: 255
                  value:
                    elements:
                      coding:
                        extensions: {}
                        elements:
                          extension:
                            elements:
                              value:
                                choices: []
                                index: 276
                                slicing:
                                  rules: open
                                  ordered: false
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        pattern: {type: Code, value: sct}
                                        choices: []
                                        index: 278
                  valueCodeableConcept:
                    type: CodeableConcept
                    choiceOf: value
                    index: 260
                    slicing:
                      slices:
                        valueCodeableConcept:
                          match: {}
                          schema: {type: CodeableConcept, choiceOf: value, _required: true, index: 260}
                          min: 1
                  value[x]:
                    elements:
                      coding:
                        elements:
                          system:
                            pattern: {type: Uri, value: 'http://snomed.info/sct'}
                            index: 279
                required: [valueCodeableConcept]
            elements:
              extension:
                index: 246
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    category-type:
                      match: {url: category-type}
                      schema:
                        index: 247
                        elements:
                          url:
                            pattern: {type: Uri, value: category-type}
                            index: 248
                          value:
                            choices: []
                            index: 250
                            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: [valueCoding]
                                    _required: true
                                    index: 252
                                  min: 1
                          valueCoding:
                            type: Coding
                            pattern:
                              type: Coding
                              value: {code: '272427006', system: 'http://snomed.info/sct', display: Anatomical part descriptor}
                            choiceOf: value
                            index: 253
                            slicing:
                              slices:
                                valueCoding:
                                  match: {}
                                  schema:
                                    type: Coding
                                    pattern:
                                      type: Coding
                                      value: {code: '272427006', system: 'http://snomed.info/sct', display: Anatomical part descriptor}
                                    choiceOf: value
                                    _required: true
                                    index: 253
                                  min: 1
                        required: [valueCoding]
                    category-value:
                      match: {url: category-value}
                      schema:
                        index: 254
                        elements:
                          url:
                            pattern: {type: Uri, value: category-value}
                            index: 255
                          value:
                            elements:
                              coding:
                                extensions: {}
                                elements:
                                  extension:
                                    elements:
                                      value:
                                        choices: []
                                        index: 276
                                        slicing:
                                          rules: open
                                          ordered: false
                                          discriminator:
                                          - {path: $this, type: type}
                                          min: null
                                          slices:
                                            valueCode:
                                              match: {}
                                              schema:
                                                pattern: {type: Code, value: sct}
                                                choices: []
                                                index: 278
                          valueCodeableConcept:
                            type: CodeableConcept
                            choiceOf: value
                            index: 260
                            slicing:
                              slices:
                                valueCodeableConcept:
                                  match: {}
                                  schema: {type: CodeableConcept, choiceOf: value, _required: true, index: 260}
                                  min: 1
                          value[x]:
                            elements:
                              coding:
                                elements:
                                  system:
                                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                                    index: 279
                        required: [valueCodeableConcept]
              url:
                pattern: {type: Uri, value: ext-mi-imagingstudy-category/bodypart}
                index: 280
        ext-mi-imagingstudy-category-laterality:
          match:
            extension[category-type]: {'value[x]': null}
          schema:
            mustSupport: true
            index: 281
            extensions:
              category-type:
                url: category-type
                index: 283
                elements:
                  url:
                    pattern: {type: Uri, value: category-type}
                    index: 284
                  value:
                    choices: []
                    index: 286
                    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: [valueCoding]
                            _required: true
                            index: 288
                          min: 1
                  valueCoding:
                    type: Coding
                    pattern:
                      type: Coding
                      value: {code: '272741003', system: 'http://snomed.info/sct', display: Laterality}
                    choiceOf: value
                    index: 289
                    slicing:
                      slices:
                        valueCoding:
                          match: {}
                          schema:
                            type: Coding
                            pattern:
                              type: Coding
                              value: {code: '272741003', system: 'http://snomed.info/sct', display: Laterality}
                            choiceOf: value
                            _required: true
                            index: 289
                          min: 1
                required: [valueCoding]
              category-value:
                url: category-value
                index: 290
                elements:
                  url:
                    pattern: {type: Uri, value: category-value}
                    index: 291
                  value:
                    elements:
                      coding:
                        extensions: {}
                        elements:
                          extension:
                            elements:
                              value:
                                choices: []
                                index: 312
                                slicing:
                                  rules: open
                                  ordered: false
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        pattern: {type: Code, value: sct}
                                        choices: []
                                        index: 314
                  valueCodeableConcept:
                    type: CodeableConcept
                    choiceOf: value
                    index: 296
                    slicing:
                      slices:
                        valueCodeableConcept:
                          match: {}
                          schema: {type: CodeableConcept, choiceOf: value, _required: true, index: 296}
                          min: 1
                  value[x]:
                    elements:
                      coding:
                        elements:
                          system:
                            pattern: {type: Uri, value: 'http://snomed.info/sct'}
                            index: 315
                required: [valueCodeableConcept]
            elements:
              extension:
                index: 282
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    category-type:
                      match: {url: category-type}
                      schema:
                        index: 283
                        elements:
                          url:
                            pattern: {type: Uri, value: category-type}
                            index: 284
                          value:
                            choices: []
                            index: 286
                            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: [valueCoding]
                                    _required: true
                                    index: 288
                                  min: 1
                          valueCoding:
                            type: Coding
                            pattern:
                              type: Coding
                              value: {code: '272741003', system: 'http://snomed.info/sct', display: Laterality}
                            choiceOf: value
                            index: 289
                            slicing:
                              slices:
                                valueCoding:
                                  match: {}
                                  schema:
                                    type: Coding
                                    pattern:
                                      type: Coding
                                      value: {code: '272741003', system: 'http://snomed.info/sct', display: Laterality}
                                    choiceOf: value
                                    _required: true
                                    index: 289
                                  min: 1
                        required: [valueCoding]
                    category-value:
                      match: {url: category-value}
                      schema:
                        index: 290
                        elements:
                          url:
                            pattern: {type: Uri, value: category-value}
                            index: 291
                          value:
                            elements:
                              coding:
                                extensions: {}
                                elements:
                                  extension:
                                    elements:
                                      value:
                                        choices: []
                                        index: 312
                                        slicing:
                                          rules: open
                                          ordered: false
                                          discriminator:
                                          - {path: $this, type: type}
                                          min: null
                                          slices:
                                            valueCode:
                                              match: {}
                                              schema:
                                                pattern: {type: Code, value: sct}
                                                choices: []
                                                index: 314
                          valueCodeableConcept:
                            type: CodeableConcept
                            choiceOf: value
                            index: 296
                            slicing:
                              slices:
                                valueCodeableConcept:
                                  match: {}
                                  schema: {type: CodeableConcept, choiceOf: value, _required: true, index: 296}
                                  min: 1
                          value[x]:
                            elements:
                              coding:
                                elements:
                                  system:
                                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                                    index: 315
                        required: [valueCodeableConcept]
              url:
                pattern: {type: Uri, value: ext-mi-imagingstudy-category/laterality}
                index: 316
        ext-mi-imagingstudy-category-contrast:
          match:
            extension[category-type]: {'value[x]': null}
          schema:
            mustSupport: true
            index: 317
            extensions:
              category-type:
                url: category-type
                index: 319
                elements:
                  url:
                    pattern: {type: Uri, value: category-type}
                    index: 320
                  value:
                    choices: []
                    index: 322
                    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: [valueCoding]
                            _required: true
                            index: 324
                          min: 1
                  valueCoding:
                    type: Coding
                    pattern:
                      type: Coding
                      value: {code: '263543005', system: 'http://snomed.info/sct', display: Contrast used}
                    choiceOf: value
                    index: 325
                    slicing:
                      slices:
                        valueCoding:
                          match: {}
                          schema:
                            type: Coding
                            pattern:
                              type: Coding
                              value: {code: '263543005', system: 'http://snomed.info/sct', display: Contrast used}
                            choiceOf: value
                            _required: true
                            index: 325
                          min: 1
                required: [valueCoding]
              category-value:
                url: category-value
                index: 326
                elements:
                  url:
                    pattern: {type: Uri, value: category-value}
                    index: 327
                  value:
                    choices: []
                    index: 329
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: $this, type: type}
                      min: null
                      slices:
                        valueCodeableConcept:
                          match: {}
                          schema:
                            choices: [valueCodeableConcept]
                            _required: true
                            index: 331
                          min: 1
                  valueCodeableConcept:
                    type: CodeableConcept
                    choiceOf: value
                    index: 332
                    slicing:
                      slices:
                        valueCodeableConcept:
                          match: {}
                          schema: {type: CodeableConcept, choiceOf: value, _required: true, index: 332}
                          min: 1
                required: [valueCodeableConcept]
            elements:
              extension:
                index: 318
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    category-type:
                      match: {url: category-type}
                      schema:
                        index: 319
                        elements:
                          url:
                            pattern: {type: Uri, value: category-type}
                            index: 320
                          value:
                            choices: []
                            index: 322
                            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: [valueCoding]
                                    _required: true
                                    index: 324
                                  min: 1
                          valueCoding:
                            type: Coding
                            pattern:
                              type: Coding
                              value: {code: '263543005', system: 'http://snomed.info/sct', display: Contrast used}
                            choiceOf: value
                            index: 325
                            slicing:
                              slices:
                                valueCoding:
                                  match: {}
                                  schema:
                                    type: Coding
                                    pattern:
                                      type: Coding
                                      value: {code: '263543005', system: 'http://snomed.info/sct', display: Contrast used}
                                    choiceOf: value
                                    _required: true
                                    index: 325
                                  min: 1
                        required: [valueCoding]
                    category-value:
                      match: {url: category-value}
                      schema:
                        index: 326
                        elements:
                          url:
                            pattern: {type: Uri, value: category-value}
                            index: 327
                          value:
                            choices: []
                            index: 329
                            slicing:
                              rules: open
                              ordered: false
                              discriminator:
                              - {path: $this, type: type}
                              min: null
                              slices:
                                valueCodeableConcept:
                                  match: {}
                                  schema:
                                    choices: [valueCodeableConcept]
                                    _required: true
                                    index: 331
                                  min: 1
                          valueCodeableConcept:
                            type: CodeableConcept
                            choiceOf: value
                            index: 332
                            slicing:
                              slices:
                                valueCodeableConcept:
                                  match: {}
                                  schema: {type: CodeableConcept, choiceOf: value, _required: true, index: 332}
                                  min: 1
                        required: [valueCodeableConcept]
              url:
                pattern: {type: Uri, value: ext-mi-imagingstudy-category/contrast}
                index: 333
  status: {mustSupport: true, index: 351}
  identifier:
    mustSupport: true
    index: 334
    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: 335
            elements:
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: ACSN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Accession ID}
                index: 336
                elements:
                  coding:
                    index: 337
                    elements:
                      system: {mustSupport: true, index: 338}
                      code: {mustSupport: true, index: 339}
                      display: {index: 340}
                    required: [display, system, code]
                required: [coding]
              system: {mustSupport: true, index: 341}
              value: {mustSupport: true, index: 342}
            required: [value, type, system]
        identifier-StudyInstanceID:
          match: {type: null}
          schema:
            mustSupport: true
            _required: true
            index: 343
            elements:
              type:
                mustSupport: true
                index: 344
                elements:
                  coding:
                    mustSupport: true
                    index: 345
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        mustSupport: true
                        index: 346
                      code:
                        pattern: {type: Code, value: FILL}
                        mustSupport: true
                        index: 347
                      display: {mustSupport: true, index: 348}
                    required: [display, system, code]
                required: [coding]
              system: {mustSupport: true, index: 349}
              value: {mustSupport: true, index: 350}
            required: [value, type, system]
  basedOn:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-servicerequest']
    index: 356
  endpoint: {mustSupport: true, index: 359}
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-patient']
    index: 353
  numberOfInstances: {mustSupport: true, index: 361}
  procedureCode: {mustSupport: true, index: 362}
package_version: 0.10.00-0.1.0
extensions:
  ext-mi-imagingstudy-category: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-imagingstudy-category', type: Extension, mustSupport: true, index: 1}
  ext-mi-imagingstudy-category-procedure:
    url: null
    mustSupport: true
    _required: true
    index: 168
    extensions:
      category-type:
        url: category-type
        index: 170
        elements:
          url:
            pattern: {type: Uri, value: category-type}
            index: 171
          value:
            choices: []
            index: 173
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: $this, type: type}
              min: null
              slices:
                valueCoding:
                  match: {}
                  schema:
                    pattern:
                      type: Coding
                      value: {code: '276218009', system: 'http://snomed.info/sct', display: Procedure type}
                    choices: [valueCoding]
                    _required: true
                    index: 175
                  min: 1
          valueCoding:
            type: Coding
            pattern:
              type: Coding
              value: {code: '276218009', system: 'http://snomed.info/sct', display: Procedure type}
            choiceOf: value
            index: 176
            slicing:
              slices:
                valueCoding:
                  match: {}
                  schema:
                    type: Coding
                    pattern:
                      type: Coding
                      value: {code: '276218009', system: 'http://snomed.info/sct', display: Procedure type}
                    choiceOf: value
                    _required: true
                    index: 176
                  min: 1
        required: [valueCoding]
      category-value:
        url: category-value
        index: 177
        elements:
          url:
            pattern: {type: Uri, value: category-value}
            index: 178
          value:
            elements:
              coding:
                extensions: {}
                elements:
                  extension:
                    elements:
                      value:
                        choices: []
                        index: 206
                        slicing:
                          rules: open
                          ordered: false
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueCode:
                              match: {}
                              schema:
                                pattern: {type: Code, value: sct}
                                choices: []
                                index: 208
          valueCodeableConcept:
            type: CodeableConcept
            choiceOf: value
            index: 183
            slicing:
              slices:
                valueCodeableConcept:
                  match: {}
                  schema: {type: CodeableConcept, choiceOf: value, _required: true, index: 183}
                  min: 1
          value[x]:
            elements:
              coding:
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 209
        required: [valueCodeableConcept]
    elements:
      extension:
        index: 169
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            category-type:
              match: {url: category-type}
              schema:
                index: 170
                elements:
                  url:
                    pattern: {type: Uri, value: category-type}
                    index: 171
                  value:
                    choices: []
                    index: 173
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: $this, type: type}
                      min: null
                      slices:
                        valueCoding:
                          match: {}
                          schema:
                            pattern:
                              type: Coding
                              value: {code: '276218009', system: 'http://snomed.info/sct', display: Procedure type}
                            choices: [valueCoding]
                            _required: true
                            index: 175
                          min: 1
                  valueCoding:
                    type: Coding
                    pattern:
                      type: Coding
                      value: {code: '276218009', system: 'http://snomed.info/sct', display: Procedure type}
                    choiceOf: value
                    index: 176
                    slicing:
                      slices:
                        valueCoding:
                          match: {}
                          schema:
                            type: Coding
                            pattern:
                              type: Coding
                              value: {code: '276218009', system: 'http://snomed.info/sct', display: Procedure type}
                            choiceOf: value
                            _required: true
                            index: 176
                          min: 1
                required: [valueCoding]
            category-value:
              match: {url: category-value}
              schema:
                index: 177
                elements:
                  url:
                    pattern: {type: Uri, value: category-value}
                    index: 178
                  value:
                    elements:
                      coding:
                        extensions: {}
                        elements:
                          extension:
                            elements:
                              value:
                                choices: []
                                index: 206
                                slicing:
                                  rules: open
                                  ordered: false
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        pattern: {type: Code, value: sct}
                                        choices: []
                                        index: 208
                  valueCodeableConcept:
                    type: CodeableConcept
                    choiceOf: value
                    index: 183
                    slicing:
                      slices:
                        valueCodeableConcept:
                          match: {}
                          schema: {type: CodeableConcept, choiceOf: value, _required: true, index: 183}
                          min: 1
                  value[x]:
                    elements:
                      coding:
                        elements:
                          system:
                            pattern: {type: Uri, value: 'http://snomed.info/sct'}
                            index: 209
                required: [valueCodeableConcept]
      url:
        pattern: {type: Uri, value: ext-mi-imagingstudy-category/procedure}
        index: 210
  ext-mi-imagingstudy-category-modality:
    url: null
    mustSupport: true
    index: 211
    extensions:
      category-type:
        url: category-type
        index: 213
        elements:
          url:
            pattern: {type: Uri, value: category-type}
            index: 214
          value:
            choices: []
            index: 216
            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: [valueCoding]
                    _required: true
                    index: 218
                  min: 1
          valueCoding:
            type: Coding
            pattern:
              type: Coding
              value: {code: '360037004', system: 'http://snomed.info/sct', display: Imaging modality}
            choiceOf: value
            index: 219
            slicing:
              slices:
                valueCoding:
                  match: {}
                  schema:
                    type: Coding
                    pattern:
                      type: Coding
                      value: {code: '360037004', system: 'http://snomed.info/sct', display: Imaging modality}
                    choiceOf: value
                    _required: true
                    index: 219
                  min: 1
        required: [valueCoding]
      category-value:
        url: category-value
        index: 220
        elements:
          url:
            pattern: {type: Uri, value: category-value}
            index: 221
          value:
            choices: []
            index: 223
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: $this, type: type}
              min: null
              slices:
                valueCodeableConcept:
                  match: {}
                  schema:
                    choices: [valueCodeableConcept]
                    _required: true
                    index: 225
                  min: 1
          valueCodeableConcept:
            type: CodeableConcept
            choiceOf: value
            index: 226
            slicing:
              slices:
                valueCodeableConcept:
                  match: {}
                  schema: {type: CodeableConcept, choiceOf: value, _required: true, index: 226}
                  min: 1
        required: [valueCodeableConcept]
    elements:
      extension:
        index: 212
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            category-type:
              match: {url: category-type}
              schema:
                index: 213
                elements:
                  url:
                    pattern: {type: Uri, value: category-type}
                    index: 214
                  value:
                    choices: []
                    index: 216
                    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: [valueCoding]
                            _required: true
                            index: 218
                          min: 1
                  valueCoding:
                    type: Coding
                    pattern:
                      type: Coding
                      value: {code: '360037004', system: 'http://snomed.info/sct', display: Imaging modality}
                    choiceOf: value
                    index: 219
                    slicing:
                      slices:
                        valueCoding:
                          match: {}
                          schema:
                            type: Coding
                            pattern:
                              type: Coding
                              value: {code: '360037004', system: 'http://snomed.info/sct', display: Imaging modality}
                            choiceOf: value
                            _required: true
                            index: 219
                          min: 1
                required: [valueCoding]
            category-value:
              match: {url: category-value}
              schema:
                index: 220
                elements:
                  url:
                    pattern: {type: Uri, value: category-value}
                    index: 221
                  value:
                    choices: []
                    index: 223
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: $this, type: type}
                      min: null
                      slices:
                        valueCodeableConcept:
                          match: {}
                          schema:
                            choices: [valueCodeableConcept]
                            _required: true
                            index: 225
                          min: 1
                  valueCodeableConcept:
                    type: CodeableConcept
                    choiceOf: value
                    index: 226
                    slicing:
                      slices:
                        valueCodeableConcept:
                          match: {}
                          schema: {type: CodeableConcept, choiceOf: value, _required: true, index: 226}
                          min: 1
                required: [valueCodeableConcept]
      url:
        pattern: {type: Uri, value: ext-mi-imagingstudy-category/modality}
        index: 227
  ext-mi-imagingstudy-category-specialty:
    url: null
    mustSupport: true
    index: 228
    extensions:
      category-type:
        url: category-type
        index: 230
        elements:
          url:
            pattern: {type: Uri, value: category-type}
            index: 231
          value:
            choices: []
            index: 233
            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: [valueCoding]
                    _required: true
                    index: 235
                  min: 1
          valueCoding:
            type: Coding
            pattern:
              type: Coding
              value: {code: '394658006', system: 'http://snomed.info/sct', display: Clinical specialty}
            choiceOf: value
            index: 236
            slicing:
              slices:
                valueCoding:
                  match: {}
                  schema:
                    type: Coding
                    pattern:
                      type: Coding
                      value: {code: '394658006', system: 'http://snomed.info/sct', display: Clinical specialty}
                    choiceOf: value
                    _required: true
                    index: 236
                  min: 1
        required: [valueCoding]
      category-value:
        url: category-value
        index: 237
        elements:
          url:
            pattern: {type: Uri, value: category-value}
            index: 238
          value:
            choices: []
            index: 240
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: $this, type: type}
              min: null
              slices:
                valueCodeableConcept:
                  match: {}
                  schema:
                    choices: [valueCodeableConcept]
                    _required: true
                    index: 242
                  min: 1
          valueCodeableConcept:
            type: CodeableConcept
            choiceOf: value
            index: 243
            slicing:
              slices:
                valueCodeableConcept:
                  match: {}
                  schema: {type: CodeableConcept, choiceOf: value, _required: true, index: 243}
                  min: 1
        required: [valueCodeableConcept]
    elements:
      extension:
        index: 229
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            category-type:
              match: {url: category-type}
              schema:
                index: 230
                elements:
                  url:
                    pattern: {type: Uri, value: category-type}
                    index: 231
                  value:
                    choices: []
                    index: 233
                    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: [valueCoding]
                            _required: true
                            index: 235
                          min: 1
                  valueCoding:
                    type: Coding
                    pattern:
                      type: Coding
                      value: {code: '394658006', system: 'http://snomed.info/sct', display: Clinical specialty}
                    choiceOf: value
                    index: 236
                    slicing:
                      slices:
                        valueCoding:
                          match: {}
                          schema:
                            type: Coding
                            pattern:
                              type: Coding
                              value: {code: '394658006', system: 'http://snomed.info/sct', display: Clinical specialty}
                            choiceOf: value
                            _required: true
                            index: 236
                          min: 1
                required: [valueCoding]
            category-value:
              match: {url: category-value}
              schema:
                index: 237
                elements:
                  url:
                    pattern: {type: Uri, value: category-value}
                    index: 238
                  value:
                    choices: []
                    index: 240
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: $this, type: type}
                      min: null
                      slices:
                        valueCodeableConcept:
                          match: {}
                          schema:
                            choices: [valueCodeableConcept]
                            _required: true
                            index: 242
                          min: 1
                  valueCodeableConcept:
                    type: CodeableConcept
                    choiceOf: value
                    index: 243
                    slicing:
                      slices:
                        valueCodeableConcept:
                          match: {}
                          schema: {type: CodeableConcept, choiceOf: value, _required: true, index: 243}
                          min: 1
                required: [valueCodeableConcept]
      url:
        pattern: {type: Uri, value: ext-mi-imagingstudy-category/specialty}
        index: 244
  ext-mi-imagingstudy-category-bodypart:
    url: null
    mustSupport: true
    index: 245
    extensions:
      category-type:
        url: category-type
        index: 247
        elements:
          url:
            pattern: {type: Uri, value: category-type}
            index: 248
          value:
            choices: []
            index: 250
            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: [valueCoding]
                    _required: true
                    index: 252
                  min: 1
          valueCoding:
            type: Coding
            pattern:
              type: Coding
              value: {code: '272427006', system: 'http://snomed.info/sct', display: Anatomical part descriptor}
            choiceOf: value
            index: 253
            slicing:
              slices:
                valueCoding:
                  match: {}
                  schema:
                    type: Coding
                    pattern:
                      type: Coding
                      value: {code: '272427006', system: 'http://snomed.info/sct', display: Anatomical part descriptor}
                    choiceOf: value
                    _required: true
                    index: 253
                  min: 1
        required: [valueCoding]
      category-value:
        url: category-value
        index: 254
        elements:
          url:
            pattern: {type: Uri, value: category-value}
            index: 255
          value:
            elements:
              coding:
                extensions: {}
                elements:
                  extension:
                    elements:
                      value:
                        choices: []
                        index: 276
                        slicing:
                          rules: open
                          ordered: false
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueCode:
                              match: {}
                              schema:
                                pattern: {type: Code, value: sct}
                                choices: []
                                index: 278
          valueCodeableConcept:
            type: CodeableConcept
            choiceOf: value
            index: 260
            slicing:
              slices:
                valueCodeableConcept:
                  match: {}
                  schema: {type: CodeableConcept, choiceOf: value, _required: true, index: 260}
                  min: 1
          value[x]:
            elements:
              coding:
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 279
        required: [valueCodeableConcept]
    elements:
      extension:
        index: 246
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            category-type:
              match: {url: category-type}
              schema:
                index: 247
                elements:
                  url:
                    pattern: {type: Uri, value: category-type}
                    index: 248
                  value:
                    choices: []
                    index: 250
                    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: [valueCoding]
                            _required: true
                            index: 252
                          min: 1
                  valueCoding:
                    type: Coding
                    pattern:
                      type: Coding
                      value: {code: '272427006', system: 'http://snomed.info/sct', display: Anatomical part descriptor}
                    choiceOf: value
                    index: 253
                    slicing:
                      slices:
                        valueCoding:
                          match: {}
                          schema:
                            type: Coding
                            pattern:
                              type: Coding
                              value: {code: '272427006', system: 'http://snomed.info/sct', display: Anatomical part descriptor}
                            choiceOf: value
                            _required: true
                            index: 253
                          min: 1
                required: [valueCoding]
            category-value:
              match: {url: category-value}
              schema:
                index: 254
                elements:
                  url:
                    pattern: {type: Uri, value: category-value}
                    index: 255
                  value:
                    elements:
                      coding:
                        extensions: {}
                        elements:
                          extension:
                            elements:
                              value:
                                choices: []
                                index: 276
                                slicing:
                                  rules: open
                                  ordered: false
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        pattern: {type: Code, value: sct}
                                        choices: []
                                        index: 278
                  valueCodeableConcept:
                    type: CodeableConcept
                    choiceOf: value
                    index: 260
                    slicing:
                      slices:
                        valueCodeableConcept:
                          match: {}
                          schema: {type: CodeableConcept, choiceOf: value, _required: true, index: 260}
                          min: 1
                  value[x]:
                    elements:
                      coding:
                        elements:
                          system:
                            pattern: {type: Uri, value: 'http://snomed.info/sct'}
                            index: 279
                required: [valueCodeableConcept]
      url:
        pattern: {type: Uri, value: ext-mi-imagingstudy-category/bodypart}
        index: 280
  ext-mi-imagingstudy-category-laterality:
    url: null
    mustSupport: true
    index: 281
    extensions:
      category-type:
        url: category-type
        index: 283
        elements:
          url:
            pattern: {type: Uri, value: category-type}
            index: 284
          value:
            choices: []
            index: 286
            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: [valueCoding]
                    _required: true
                    index: 288
                  min: 1
          valueCoding:
            type: Coding
            pattern:
              type: Coding
              value: {code: '272741003', system: 'http://snomed.info/sct', display: Laterality}
            choiceOf: value
            index: 289
            slicing:
              slices:
                valueCoding:
                  match: {}
                  schema:
                    type: Coding
                    pattern:
                      type: Coding
                      value: {code: '272741003', system: 'http://snomed.info/sct', display: Laterality}
                    choiceOf: value
                    _required: true
                    index: 289
                  min: 1
        required: [valueCoding]
      category-value:
        url: category-value
        index: 290
        elements:
          url:
            pattern: {type: Uri, value: category-value}
            index: 291
          value:
            elements:
              coding:
                extensions: {}
                elements:
                  extension:
                    elements:
                      value:
                        choices: []
                        index: 312
                        slicing:
                          rules: open
                          ordered: false
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueCode:
                              match: {}
                              schema:
                                pattern: {type: Code, value: sct}
                                choices: []
                                index: 314
          valueCodeableConcept:
            type: CodeableConcept
            choiceOf: value
            index: 296
            slicing:
              slices:
                valueCodeableConcept:
                  match: {}
                  schema: {type: CodeableConcept, choiceOf: value, _required: true, index: 296}
                  min: 1
          value[x]:
            elements:
              coding:
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 315
        required: [valueCodeableConcept]
    elements:
      extension:
        index: 282
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            category-type:
              match: {url: category-type}
              schema:
                index: 283
                elements:
                  url:
                    pattern: {type: Uri, value: category-type}
                    index: 284
                  value:
                    choices: []
                    index: 286
                    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: [valueCoding]
                            _required: true
                            index: 288
                          min: 1
                  valueCoding:
                    type: Coding
                    pattern:
                      type: Coding
                      value: {code: '272741003', system: 'http://snomed.info/sct', display: Laterality}
                    choiceOf: value
                    index: 289
                    slicing:
                      slices:
                        valueCoding:
                          match: {}
                          schema:
                            type: Coding
                            pattern:
                              type: Coding
                              value: {code: '272741003', system: 'http://snomed.info/sct', display: Laterality}
                            choiceOf: value
                            _required: true
                            index: 289
                          min: 1
                required: [valueCoding]
            category-value:
              match: {url: category-value}
              schema:
                index: 290
                elements:
                  url:
                    pattern: {type: Uri, value: category-value}
                    index: 291
                  value:
                    elements:
                      coding:
                        extensions: {}
                        elements:
                          extension:
                            elements:
                              value:
                                choices: []
                                index: 312
                                slicing:
                                  rules: open
                                  ordered: false
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        pattern: {type: Code, value: sct}
                                        choices: []
                                        index: 314
                  valueCodeableConcept:
                    type: CodeableConcept
                    choiceOf: value
                    index: 296
                    slicing:
                      slices:
                        valueCodeableConcept:
                          match: {}
                          schema: {type: CodeableConcept, choiceOf: value, _required: true, index: 296}
                          min: 1
                  value[x]:
                    elements:
                      coding:
                        elements:
                          system:
                            pattern: {type: Uri, value: 'http://snomed.info/sct'}
                            index: 315
                required: [valueCodeableConcept]
      url:
        pattern: {type: Uri, value: ext-mi-imagingstudy-category/laterality}
        index: 316
  ext-mi-imagingstudy-category-contrast:
    url: null
    mustSupport: true
    index: 317
    extensions:
      category-type:
        url: category-type
        index: 319
        elements:
          url:
            pattern: {type: Uri, value: category-type}
            index: 320
          value:
            choices: []
            index: 322
            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: [valueCoding]
                    _required: true
                    index: 324
                  min: 1
          valueCoding:
            type: Coding
            pattern:
              type: Coding
              value: {code: '263543005', system: 'http://snomed.info/sct', display: Contrast used}
            choiceOf: value
            index: 325
            slicing:
              slices:
                valueCoding:
                  match: {}
                  schema:
                    type: Coding
                    pattern:
                      type: Coding
                      value: {code: '263543005', system: 'http://snomed.info/sct', display: Contrast used}
                    choiceOf: value
                    _required: true
                    index: 325
                  min: 1
        required: [valueCoding]
      category-value:
        url: category-value
        index: 326
        elements:
          url:
            pattern: {type: Uri, value: category-value}
            index: 327
          value:
            choices: []
            index: 329
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: $this, type: type}
              min: null
              slices:
                valueCodeableConcept:
                  match: {}
                  schema:
                    choices: [valueCodeableConcept]
                    _required: true
                    index: 331
                  min: 1
          valueCodeableConcept:
            type: CodeableConcept
            choiceOf: value
            index: 332
            slicing:
              slices:
                valueCodeableConcept:
                  match: {}
                  schema: {type: CodeableConcept, choiceOf: value, _required: true, index: 332}
                  min: 1
        required: [valueCodeableConcept]
    elements:
      extension:
        index: 318
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            category-type:
              match: {url: category-type}
              schema:
                index: 319
                elements:
                  url:
                    pattern: {type: Uri, value: category-type}
                    index: 320
                  value:
                    choices: []
                    index: 322
                    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: [valueCoding]
                            _required: true
                            index: 324
                          min: 1
                  valueCoding:
                    type: Coding
                    pattern:
                      type: Coding
                      value: {code: '263543005', system: 'http://snomed.info/sct', display: Contrast used}
                    choiceOf: value
                    index: 325
                    slicing:
                      slices:
                        valueCoding:
                          match: {}
                          schema:
                            type: Coding
                            pattern:
                              type: Coding
                              value: {code: '263543005', system: 'http://snomed.info/sct', display: Contrast used}
                            choiceOf: value
                            _required: true
                            index: 325
                          min: 1
                required: [valueCoding]
            category-value:
              match: {url: category-value}
              schema:
                index: 326
                elements:
                  url:
                    pattern: {type: Uri, value: category-value}
                    index: 327
                  value:
                    choices: []
                    index: 329
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: $this, type: type}
                      min: null
                      slices:
                        valueCodeableConcept:
                          match: {}
                          schema:
                            choices: [valueCodeableConcept]
                            _required: true
                            index: 331
                          min: 1
                  valueCodeableConcept:
                    type: CodeableConcept
                    choiceOf: value
                    index: 332
                    slicing:
                      slices:
                        valueCodeableConcept:
                          match: {}
                          schema: {type: CodeableConcept, choiceOf: value, _required: true, index: 332}
                          min: 1
                required: [valueCodeableConcept]
      url:
        pattern: {type: Uri, value: ext-mi-imagingstudy-category/contrast}
        index: 333
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-ImagingStudy
base: http://hl7.org/fhir/StructureDefinition/ImagingStudy
version: 0.1.0
required: [identifier]