PackagesCanonicalsLogsProblems
    Packages
    OntariomiCDRFHIRImplementationGuide@0.10.00-0.1.0
    http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-DiagnosticReport
description: null
package_name: OntariomiCDRFHIRImplementationGuide
derivation: constraint
name: MICdrDiagnosticReport
type: DiagnosticReport
elements:
  category:
    mustSupport: true
    index: 15
    extensions:
      ext-mi-category-type: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type', min: 1, max: 1, type: Extension, mustSupport: true, index: 17}
    elements:
      extension:
        index: 16
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: 1
          slices:
            ext-mi-category-type:
              match: {url: null}
              schema: {type: Extension, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type', index: 17}
              min: 1
              max: 1
      coding:
        mustSupport: true
        index: 18
        elements:
          system: {mustSupport: true, index: 19}
          code: {mustSupport: true, index: 20}
          display:
            mustSupport: true
            index: 21
            extensions:
              ext-translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation', min: 0, max: 1, type: Extension, mustSupport: true, index: 23}
            elements:
              extension:
                index: 22
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    ext-translation:
                      match: {url: null}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/translation', index: 23}
                      min: 0
                      max: 1
        required: [display, system, code]
    required: [extension]
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: null
      slices:
        modality:
          match: {}
          schema:
            binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-procedure-modality'}
            mustSupport: true
            index: 24
            extensions:
              ext-mi-category-type:
                url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type
                type: Extension
                mustSupport: true
                index: 26
                elements:
                  value:
                    choices: []
                    index: 28
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: $this, type: type}
                      min: null
                      slices:
                        valueCoding:
                          match: {}
                          schema:
                            pattern:
                              type: Coding
                              value: {code: '360037004', system: 'http://snomed.info/sct', display: Imaging modality}
                            choices: []
                            index: 30
            elements:
              extension:
                index: 25
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    ext-mi-category-type:
                      match: {url: null}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type
                        index: 26
                        elements:
                          value:
                            choices: []
                            index: 28
                            slicing:
                              rules: open
                              ordered: false
                              discriminator:
                              - {path: $this, type: type}
                              min: null
                              slices:
                                valueCoding:
                                  match: {}
                                  schema:
                                    pattern:
                                      type: Coding
                                      value: {code: '360037004', system: 'http://snomed.info/sct', display: Imaging modality}
                                    choices: []
                                    index: 30
              coding:
                elements:
                  display:
                    extensions:
                      ext-translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation', min: 0, max: 1, type: Extension, mustSupport: true, index: 32}
                    elements:
                      extension:
                        index: 31
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: 0
                          slices:
                            ext-translation:
                              match: {url: null}
                              schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/translation', index: 32}
                              min: 0
                              max: 1
            required: [extension]
        specialty:
          match: {}
          schema:
            binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-procedure-specialty'}
            mustSupport: true
            index: 33
            extensions:
              ext-mi-category-type:
                url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type
                type: Extension
                mustSupport: true
                index: 35
                elements:
                  value:
                    choices: []
                    index: 37
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: $this, type: type}
                      min: null
                      slices:
                        valueCoding:
                          match: {}
                          schema:
                            pattern:
                              type: Coding
                              value: {code: '394658006', system: 'http://snomed.info/sct', display: Clinical specialty}
                            choices: []
                            index: 39
            elements:
              extension:
                index: 34
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    ext-mi-category-type:
                      match: {url: null}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type
                        index: 35
                        elements:
                          value:
                            choices: []
                            index: 37
                            slicing:
                              rules: open
                              ordered: false
                              discriminator:
                              - {path: $this, type: type}
                              min: null
                              slices:
                                valueCoding:
                                  match: {}
                                  schema:
                                    pattern:
                                      type: Coding
                                      value: {code: '394658006', system: 'http://snomed.info/sct', display: Clinical specialty}
                                    choices: []
                                    index: 39
              coding:
                elements:
                  display:
                    extensions:
                      ext-translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation', min: 0, max: 1, type: Extension, mustSupport: true, index: 41}
                    elements:
                      extension:
                        index: 40
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: 0
                          slices:
                            ext-translation:
                              match: {url: null}
                              schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/translation', index: 41}
                              min: 0
                              max: 1
            required: [extension]
        bodypart:
          match: {}
          schema:
            mustSupport: true
            index: 42
            extensions:
              ext-mi-category-type:
                url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type
                type: Extension
                mustSupport: true
                index: 44
                elements:
                  value:
                    choices: []
                    index: 46
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: $this, type: type}
                      min: null
                      slices:
                        valueCoding:
                          match: {}
                          schema:
                            pattern:
                              type: Coding
                              value: {code: '272427006', system: 'http://snomed.info/sct', display: Anatomical part descriptor}
                            choices: []
                            index: 48
            elements:
              extension:
                index: 43
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    ext-mi-category-type:
                      match: {url: null}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type
                        index: 44
                        elements:
                          value:
                            choices: []
                            index: 46
                            slicing:
                              rules: open
                              ordered: false
                              discriminator:
                              - {path: $this, type: type}
                              min: null
                              slices:
                                valueCoding:
                                  match: {}
                                  schema:
                                    pattern:
                                      type: Coding
                                      value: {code: '272427006', system: 'http://snomed.info/sct', display: Anatomical part descriptor}
                                    choices: []
                                    index: 48
              coding:
                array: true
                min: 2
                index: 49
                extensions:
                  ext-mi-code-type: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type', min: 1, max: 1, type: Extension, mustSupport: true, index: 51}
                elements:
                  extension:
                    index: 50
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: 1
                      slices:
                        ext-mi-code-type:
                          match: {url: null}
                          schema: {type: Extension, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type', index: 51}
                          min: 1
                          max: 1
                  display:
                    extensions:
                      ext-translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation', min: 0, max: 1, type: Extension, mustSupport: true, index: 53}
                    elements:
                      extension:
                        index: 52
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: 0
                          slices:
                            ext-translation:
                              match: {url: null}
                              schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/translation', index: 53}
                              min: 0
                              max: 1
                required: [extension]
                slicing:
                  rules: open
                  discriminator:
                  - {path: $this, type: pattern}
                  min: 2
                  slices:
                    dicom:
                      match: {}
                      schema:
                        short: DICOM body part code
                        binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-procedure-bodypart-dicom'}
                        mustSupport: true
                        _required: true
                        index: 54
                        extensions:
                          ext-mi-code-type:
                            url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type
                            type: Extension
                            mustSupport: true
                            index: 56
                            elements:
                              value:
                                choices: []
                                index: 58
                                slicing:
                                  rules: open
                                  ordered: false
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        pattern: {type: Code, value: dicom}
                                        choices: []
                                        index: 60
                        elements:
                          extension:
                            index: 55
                            slicing:
                              rules: open
                              discriminator:
                              - {path: url, type: value}
                              min: 1
                              slices:
                                ext-mi-code-type:
                                  match: {url: null}
                                  schema:
                                    type: Extension
                                    mustSupport: true
                                    url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type
                                    index: 56
                                    elements:
                                      value:
                                        choices: []
                                        index: 58
                                        slicing:
                                          rules: open
                                          ordered: false
                                          discriminator:
                                          - {path: $this, type: type}
                                          min: null
                                          slices:
                                            valueCode:
                                              match: {}
                                              schema:
                                                pattern: {type: Code, value: dicom}
                                                choices: []
                                                index: 60
                          system:
                            pattern: {type: Uri, value: 'http://dicom.nema.org/resources/ontology/DCM'}
                            index: 61
                          display:
                            extensions:
                              ext-translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation', min: 0, max: 1, type: Extension, mustSupport: true, index: 63}
                            elements:
                              extension:
                                index: 62
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: url, type: value}
                                  min: 0
                                  slices:
                                    ext-translation:
                                      match: {url: null}
                                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/translation', index: 63}
                                      min: 0
                                      max: 1
                        required: [extension]
                    sct:
                      match: {}
                      schema:
                        short: SNOMED CT body part code
                        binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-procedure-bodypart-sct'}
                        mustSupport: true
                        _required: true
                        index: 64
                        extensions:
                          ext-mi-code-type:
                            url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type
                            type: Extension
                            mustSupport: true
                            index: 66
                            elements:
                              value:
                                choices: []
                                index: 68
                                slicing:
                                  rules: open
                                  ordered: false
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        pattern: {type: Code, value: sct}
                                        choices: []
                                        index: 70
                        elements:
                          extension:
                            index: 65
                            slicing:
                              rules: open
                              discriminator:
                              - {path: url, type: value}
                              min: 1
                              slices:
                                ext-mi-code-type:
                                  match: {url: null}
                                  schema:
                                    type: Extension
                                    mustSupport: true
                                    url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type
                                    index: 66
                                    elements:
                                      value:
                                        choices: []
                                        index: 68
                                        slicing:
                                          rules: open
                                          ordered: false
                                          discriminator:
                                          - {path: $this, type: type}
                                          min: null
                                          slices:
                                            valueCode:
                                              match: {}
                                              schema:
                                                pattern: {type: Code, value: sct}
                                                choices: []
                                                index: 70
                          system:
                            pattern: {type: Uri, value: 'http://snomed.info/sct'}
                            index: 71
                          display:
                            extensions:
                              ext-translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation', min: 0, max: 1, type: Extension, mustSupport: true, index: 73}
                            elements:
                              extension:
                                index: 72
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: url, type: value}
                                  min: 0
                                  slices:
                                    ext-translation:
                                      match: {url: null}
                                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/translation', index: 73}
                                      min: 0
                                      max: 1
                        required: [extension]
            required: [extension]
        laterality:
          match: {}
          schema:
            mustSupport: true
            index: 74
            extensions:
              ext-mi-category-type:
                url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type
                type: Extension
                mustSupport: true
                index: 76
                elements:
                  value:
                    choices: []
                    index: 78
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: $this, type: type}
                      min: null
                      slices:
                        valueCoding:
                          match: {}
                          schema:
                            pattern:
                              type: Coding
                              value: {code: '272741003', system: 'http://snomed.info/sct', display: Laterality}
                            choices: []
                            index: 80
            elements:
              extension:
                index: 75
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    ext-mi-category-type:
                      match: {url: null}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type
                        index: 76
                        elements:
                          value:
                            choices: []
                            index: 78
                            slicing:
                              rules: open
                              ordered: false
                              discriminator:
                              - {path: $this, type: type}
                              min: null
                              slices:
                                valueCoding:
                                  match: {}
                                  schema:
                                    pattern:
                                      type: Coding
                                      value: {code: '272741003', system: 'http://snomed.info/sct', display: Laterality}
                                    choices: []
                                    index: 80
              coding:
                array: true
                min: 2
                index: 81
                extensions:
                  ext-mi-code-type: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type', min: 1, max: 1, type: Extension, mustSupport: true, index: 83}
                elements:
                  extension:
                    index: 82
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: 1
                      slices:
                        ext-mi-code-type:
                          match: {url: null}
                          schema: {type: Extension, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type', index: 83}
                          min: 1
                          max: 1
                  display:
                    extensions:
                      ext-translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation', min: 0, max: 1, type: Extension, mustSupport: true, index: 85}
                    elements:
                      extension:
                        index: 84
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: 0
                          slices:
                            ext-translation:
                              match: {url: null}
                              schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/translation', index: 85}
                              min: 0
                              max: 1
                required: [extension]
                slicing:
                  rules: open
                  discriminator:
                  - {path: $this, type: pattern}
                  min: 2
                  slices:
                    dicom:
                      match: {}
                      schema:
                        short: DICOM body part code
                        binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-procedure-laterality-dicom'}
                        mustSupport: true
                        _required: true
                        index: 86
                        extensions:
                          ext-mi-code-type:
                            url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type
                            type: Extension
                            mustSupport: true
                            index: 88
                            elements:
                              value:
                                choices: []
                                index: 90
                                slicing:
                                  rules: open
                                  ordered: false
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        pattern: {type: Code, value: dicom}
                                        choices: []
                                        index: 92
                        elements:
                          extension:
                            index: 87
                            slicing:
                              rules: open
                              discriminator:
                              - {path: url, type: value}
                              min: 1
                              slices:
                                ext-mi-code-type:
                                  match: {url: null}
                                  schema:
                                    type: Extension
                                    mustSupport: true
                                    url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type
                                    index: 88
                                    elements:
                                      value:
                                        choices: []
                                        index: 90
                                        slicing:
                                          rules: open
                                          ordered: false
                                          discriminator:
                                          - {path: $this, type: type}
                                          min: null
                                          slices:
                                            valueCode:
                                              match: {}
                                              schema:
                                                pattern: {type: Code, value: dicom}
                                                choices: []
                                                index: 92
                          system:
                            pattern: {type: Uri, value: 'http://dicom.nema.org/resources/ontology/DCM'}
                            index: 93
                          display:
                            extensions:
                              ext-translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation', min: 0, max: 1, type: Extension, mustSupport: true, index: 95}
                            elements:
                              extension:
                                index: 94
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: url, type: value}
                                  min: 0
                                  slices:
                                    ext-translation:
                                      match: {url: null}
                                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/translation', index: 95}
                                      min: 0
                                      max: 1
                        required: [extension]
                    sct:
                      match: {}
                      schema:
                        short: SNOMED CT body part code
                        binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-procedure-laterality-sct'}
                        mustSupport: true
                        _required: true
                        index: 96
                        extensions:
                          ext-mi-code-type:
                            url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type
                            type: Extension
                            mustSupport: true
                            index: 98
                            elements:
                              value:
                                choices: []
                                index: 100
                                slicing:
                                  rules: open
                                  ordered: false
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        pattern: {type: Code, value: sct}
                                        choices: []
                                        index: 102
                        elements:
                          extension:
                            index: 97
                            slicing:
                              rules: open
                              discriminator:
                              - {path: url, type: value}
                              min: 1
                              slices:
                                ext-mi-code-type:
                                  match: {url: null}
                                  schema:
                                    type: Extension
                                    mustSupport: true
                                    url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type
                                    index: 98
                                    elements:
                                      value:
                                        choices: []
                                        index: 100
                                        slicing:
                                          rules: open
                                          ordered: false
                                          discriminator:
                                          - {path: $this, type: type}
                                          min: null
                                          slices:
                                            valueCode:
                                              match: {}
                                              schema:
                                                pattern: {type: Code, value: sct}
                                                choices: []
                                                index: 102
                          system:
                            pattern: {type: Uri, value: 'http://snomed.info/sct'}
                            index: 103
                          display:
                            extensions:
                              ext-translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation', min: 0, max: 1, type: Extension, mustSupport: true, index: 105}
                            elements:
                              extension:
                                index: 104
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: url, type: value}
                                  min: 0
                                  slices:
                                    ext-translation:
                                      match: {url: null}
                                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/translation', index: 105}
                                      min: 0
                                      max: 1
                        required: [extension]
            required: [extension]
        contrast:
          match: {}
          schema:
            binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-procedure-contrast-used'}
            mustSupport: true
            index: 106
            extensions:
              ext-mi-category-type:
                url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type
                type: Extension
                mustSupport: true
                index: 108
                elements:
                  value:
                    choices: []
                    index: 110
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: $this, type: type}
                      min: null
                      slices:
                        valueCoding:
                          match: {}
                          schema:
                            pattern:
                              type: Coding
                              value: {code: '263543005', system: 'http://snomed.info/sct', display: Contrast used}
                            choices: []
                            index: 112
            elements:
              extension:
                index: 107
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    ext-mi-category-type:
                      match: {url: null}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type
                        index: 108
                        elements:
                          value:
                            choices: []
                            index: 110
                            slicing:
                              rules: open
                              ordered: false
                              discriminator:
                              - {path: $this, type: type}
                              min: null
                              slices:
                                valueCoding:
                                  match: {}
                                  schema:
                                    pattern:
                                      type: Coding
                                      value: {code: '263543005', system: 'http://snomed.info/sct', display: Contrast used}
                                    choices: []
                                    index: 112
              coding:
                elements:
                  display:
                    extensions:
                      ext-translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation', min: 0, max: 1, type: Extension, mustSupport: true, index: 114}
                    elements:
                      extension:
                        index: 113
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: 0
                          slices:
                            ext-translation:
                              match: {url: null}
                              schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/translation', index: 114}
                              min: 0
                              max: 1
            required: [extension]
  meta:
    mustSupport: true
    index: 0
    elements:
      profile: {mustSupport: true, index: 1}
    required: [profile]
  encounter:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-encounter']
    index: 154
  extension:
    index: 2
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        ext-di-addendum-of:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf', index: 3}
          min: 0
  effectiveDateTime: {type: dateTime, mustSupport: true, choiceOf: effective, index: 157}
  resultsInterpreter:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-organization', 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-practitioner', 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-practitionerrole']
    index: 160
  status: {mustSupport: true, index: 14}
  result:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-observation']
    index: 161
  effective:
    mustSupport: true
    choices: [effectiveDateTime]
    index: 156
  code:
    mustSupport: true
    index: 115
    elements:
      coding:
        mustSupport: true
        index: 116
        extensions:
          ext-mi-code-type: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type', min: 1, max: 1, type: Extension, mustSupport: true, index: 118}
        elements:
          extension:
            index: 117
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: 1
              slices:
                ext-mi-code-type:
                  match: {url: null}
                  schema: {type: Extension, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type', index: 118}
                  min: 1
                  max: 1
          system: {mustSupport: true, index: 119}
          code: {mustSupport: true, index: 120}
          display:
            mustSupport: true
            index: 121
            extensions:
              ext-translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation', min: 0, max: 1, type: Extension, mustSupport: true, index: 123}
            elements:
              extension:
                index: 122
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    ext-translation:
                      match: {url: null}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/translation', index: 123}
                      min: 0
                      max: 1
        required: [extension, display, system, code]
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: 1
          slices:
            local:
              match: {}
              schema:
                short: Local procedure code
                mustSupport: true
                _required: true
                index: 124
                extensions:
                  ext-mi-code-type:
                    url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type
                    type: Extension
                    mustSupport: true
                    index: 126
                    elements:
                      value:
                        choices: []
                        index: 128
                        slicing:
                          rules: open
                          ordered: false
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueCode:
                              match: {}
                              schema:
                                pattern: {type: Code, value: local}
                                choices: []
                                index: 130
                elements:
                  extension:
                    index: 125
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: 1
                      slices:
                        ext-mi-code-type:
                          match: {url: null}
                          schema:
                            type: Extension
                            mustSupport: true
                            url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type
                            index: 126
                            elements:
                              value:
                                choices: []
                                index: 128
                                slicing:
                                  rules: open
                                  ordered: false
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        pattern: {type: Code, value: local}
                                        choices: []
                                        index: 130
                  display:
                    extensions:
                      ext-translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation', min: 0, max: 1, type: Extension, mustSupport: true, index: 132}
                    elements:
                      extension:
                        index: 131
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: 0
                          slices:
                            ext-translation:
                              match: {url: null}
                              schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/translation', index: 132}
                              min: 0
                              max: 1
                required: [extension]
            provincial:
              match: {}
              schema:
                short: Provincial procedure code
                binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-procedure-type-provincial'}
                mustSupport: true
                index: 133
                extensions:
                  ext-mi-code-type:
                    url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type
                    type: Extension
                    mustSupport: true
                    index: 135
                    elements:
                      value:
                        choices: []
                        index: 137
                        slicing:
                          rules: open
                          ordered: false
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueCode:
                              match: {}
                              schema:
                                pattern: {type: Code, value: provincial}
                                choices: []
                                index: 139
                elements:
                  extension:
                    index: 134
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: 1
                      slices:
                        ext-mi-code-type:
                          match: {url: null}
                          schema:
                            type: Extension
                            mustSupport: true
                            url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type
                            index: 135
                            elements:
                              value:
                                choices: []
                                index: 137
                                slicing:
                                  rules: open
                                  ordered: false
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        pattern: {type: Code, value: provincial}
                                        choices: []
                                        index: 139
                  system:
                    pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/CodeSystem/procedure-type-mi-provincial'}
                    index: 140
                  display:
                    extensions:
                      ext-translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation', min: 0, max: 1, type: Extension, mustSupport: true, index: 142}
                    elements:
                      extension:
                        index: 141
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: 0
                          slices:
                            ext-translation:
                              match: {url: null}
                              schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/translation', index: 142}
                              min: 0
                              max: 1
                required: [extension]
            sct:
              match: {}
              schema:
                short: SNOMED CT procedure code
                binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-procedure-type-sct'}
                mustSupport: true
                index: 143
                extensions:
                  ext-mi-code-type:
                    url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type
                    type: Extension
                    mustSupport: true
                    index: 145
                    elements:
                      value:
                        choices: []
                        index: 147
                        slicing:
                          rules: open
                          ordered: false
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueCode:
                              match: {}
                              schema:
                                pattern: {type: Code, value: sct}
                                choices: []
                                index: 149
                elements:
                  extension:
                    index: 144
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: 1
                      slices:
                        ext-mi-code-type:
                          match: {url: null}
                          schema:
                            type: Extension
                            mustSupport: true
                            url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type
                            index: 145
                            elements:
                              value:
                                choices: []
                                index: 147
                                slicing:
                                  rules: open
                                  ordered: false
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        pattern: {type: Code, value: sct}
                                        choices: []
                                        index: 149
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 150
                  display:
                    extensions:
                      ext-translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation', min: 0, max: 1, type: Extension, mustSupport: true, index: 152}
                    elements:
                      extension:
                        index: 151
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: 0
                          slices:
                            ext-translation:
                              match: {url: null}
                              schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/translation', index: 152}
                              min: 0
                              max: 1
                required: [extension]
    required: [coding]
  identifier:
    mustSupport: true
    index: 4
    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: 5
            elements:
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: ACSN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Accession ID}
                index: 6
                elements:
                  coding:
                    index: 7
                    elements:
                      system: {mustSupport: true, index: 8}
                      code: {mustSupport: true, index: 9}
                      display: {index: 10}
                    required: [display, system, code]
                required: [coding]
              system: {mustSupport: true, index: 11}
              value: {mustSupport: true, index: 12}
            required: [value, type, system]
  issued: {mustSupport: true, index: 158}
  presentedForm:
    mustSupport: true
    index: 163
    elements:
      contentType: {mustSupport: true, index: 164}
      data: {mustSupport: true, index: 165}
    required: [data]
  basedOn:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-servicerequest']
    index: 13
  imagingStudy:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-imagingstudy']
    index: 162
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-patient']
    index: 153
  performer:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-organization', 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-practitioner', 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-practitionerrole']
    index: 159
package_version: 0.10.00-0.1.0
extensions:
  ext-di-addendum-of: {url: 'http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf', min: 0, type: Extension, mustSupport: true, index: 3}
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-DiagnosticReport
base: http://hl7.org/fhir/StructureDefinition/DiagnosticReport
version: 0.1.0
required: [identifier, subject, meta]