PackagesCanonicalsLogsProblems
    Packages
    ca.on.mi@1.0.0
    http://ontariohealth.ca/fhir/mi/StructureDefinition/ca-on-mi-profile-diagnosticReport
description: null
package_name: ca.on.mi
derivation: constraint
name: MIDiagnosticReport
type: DiagnosticReport
elements:
  category:
    binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ehr/ValueSet/procedure-service-type'}
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: '394914008', system: 'http://snomed.info/sct', display: Radiology}
    index: 22
    elements:
      coding:
        mustSupport: true
        index: 23
        elements:
          system: {mustSupport: true, index: 24}
          code: {mustSupport: true, index: 25}
          display: {mustSupport: true, index: 26}
        required: [display, system, code]
    required: [coding]
  conclusion: {mustSupport: true, index: 65}
  encounter:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-encounter']
    index: 34
    elements:
      reference: {mustSupport: true, index: 35}
    required: [reference]
  extension:
    type: Extension
    mustSupport: true
    url: http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf
    index: 1
    slicing:
      slices:
        ext-di-addendum-of:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf', index: 1}
  effectiveDateTime: {type: dateTime, mustSupport: true, choiceOf: effective, index: 38}
  resultsInterpreter:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/mi/StructureDefinition/ca-on-mi-profile-organization', 'http://ontariohealth.ca/fhir/mi/StructureDefinition/ca-on-mi-profile-practitioner', 'http://ontariohealth.ca/fhir/mi/StructureDefinition/ca-on-mi-profile-practitionerRole']
    index: 59
    elements:
      reference: {mustSupport: true, index: 60}
    required: [reference]
  status: {mustSupport: true, index: 21}
  result:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/mi/StructureDefinition/ca-on-mi-profile-observation']
    index: 61
    elements:
      reference: {mustSupport: true, index: 62}
    required: [reference]
  language: {mustSupport: true, index: 0}
  effective:
    mustSupport: true
    choices: [effectiveDateTime]
    index: 37
  code:
    type: CodeableConcept
    binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ehr/ValueSet/diagnostic-report-code'}
    mustSupport: true
    index: 27
    elements:
      coding:
        index: 28
        elements:
          system: {index: 29}
          display:
            extensions:
              translation:
                url: null
                index: 30
                extensions: {}
                elements:
                  extension: {array: true, min: 2, index: 31}
            elements:
              extension:
                index: 30
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        index: 30
                        extensions: {}
                        elements:
                          extension: {array: true, min: 2, index: 31}
        required: [system]
    required: [coding]
  identifier:
    mustSupport: true
    index: 2
    slicing:
      rules: open
      description: must contain one repetition of an accession number.
      discriminator:
      - {path: type, type: pattern}
      min: 1
      slices:
        identifier-accession:
          match:
            type:
              coding:
              - {code: ACSN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Accession ID}
          schema:
            short: Filler/Accession ID
            mustSupport: true
            _required: true
            index: 3
            elements:
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: ACSN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Accession ID}
                index: 4
                elements:
                  coding:
                    index: 5
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        mustSupport: true
                        index: 6
                      code:
                        pattern: {type: Code, value: ACSN}
                        mustSupport: true
                        index: 7
                      display: {mustSupport: true, index: 8}
                    required: [display, system, code]
                required: [coding]
              system: {mustSupport: true, index: 9}
              value: {mustSupport: true, index: 10}
            required: [value, type, system]
        identifier-placerOrderNumber:
          match:
            type:
              coding:
              - {code: PLAC, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Placer Identifier}
          schema:
            mustSupport: true
            index: 11
            elements:
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: PLAC, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Placer Identifier}
                index: 12
                elements:
                  coding:
                    mustSupport: true
                    index: 13
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        mustSupport: true
                        index: 14
                      code:
                        pattern: {type: Code, value: PLAC}
                        mustSupport: true
                        index: 15
                      display: {mustSupport: true, index: 16}
                    required: [display, system, code]
                required: [coding]
              system: {mustSupport: true, index: 17}
              value: {mustSupport: true, index: 18}
            required: [value, type, system]
  issued: {mustSupport: true, index: 39}
  presentedForm:
    mustSupport: true
    index: 66
    elements:
      contentType:
        binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ehr/ValueSet/mime-type'}
        mustSupport: true
        index: 67
      data: {mustSupport: true, index: 68}
    required: [data]
  basedOn:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/mi/StructureDefinition/ca-on-mi-profile-serviceRequest']
    index: 19
    elements:
      reference: {mustSupport: true, index: 20}
    required: [reference]
  imagingStudy:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/mi/StructureDefinition/ca-on-mi-profile-imagingStudy']
    index: 63
    elements:
      reference: {mustSupport: true, index: 64}
    required: [reference]
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/mi/StructureDefinition/ca-on-mi-profile-patient']
    index: 32
    elements:
      reference: {mustSupport: true, index: 33}
    required: [reference]
  performer:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/mi/StructureDefinition/ca-on-mi-profile-organization', 'http://ontariohealth.ca/fhir/mi/StructureDefinition/ca-on-mi-profile-practitioner', 'http://ontariohealth.ca/fhir/mi/StructureDefinition/ca-on-mi-profile-practitionerRole']
    index: 40
    extensions:
      performerFunction:
        url: http://hl7.org/fhir/StructureDefinition/event-performerFunction
        type: Extension
        isModifier: false
        mustSupport: true
        index: 41
        elements:
          value:
            mustSupport: true
            choices: []
            index: 43
          value[x]:
            elements:
              coding:
                mustSupport: true
                index: 44
                elements:
                  system: {mustSupport: true, index: 45}
                  code: {mustSupport: true, index: 46}
                  display: {mustSupport: true, index: 47}
                required: [display, system, code]
            required: [coding]
    elements:
      extension:
        type: Extension
        isModifier: false
        mustSupport: true
        url: http://hl7.org/fhir/StructureDefinition/event-performerFunction
        index: 41
        slicing:
          slices:
            performerFunction:
              match: {}
              schema:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/event-performerFunction
                index: 41
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 43
                  value[x]:
                    elements:
                      coding:
                        mustSupport: true
                        index: 44
                        elements:
                          system: {mustSupport: true, index: 45}
                          code: {mustSupport: true, index: 46}
                          display: {mustSupport: true, index: 47}
                        required: [display, system, code]
                    required: [coding]
      reference: {mustSupport: true, index: 48}
    required: [reference]
    slicing:
      rules: open
      discriminator:
      - {path: extension.value, type: pattern}
      min: null
      slices:
        slicePerformer-ReportAuthor:
          match:
            extension: {value: null}
          schema:
            _required: true
            index: 49
            extensions:
              performerFunction:
                url: http://hl7.org/fhir/StructureDefinition/event-performerFunction
                type: Extension
                isModifier: false
                mustSupport: true
                index: 51
                elements:
                  value:
                    mustSupport: true
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: AUT, system: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType'}
                    choices: []
                    index: 53
                  value[x]:
                    elements:
                      coding:
                        mustSupport: true
                        index: 54
                        elements:
                          system: {mustSupport: true, index: 55}
                          code: {mustSupport: true, index: 56}
                          display: {mustSupport: true, index: 57}
                        required: [display, system, code]
                    required: [coding]
            elements:
              extension:
                index: 50
                slicing:
                  slices:
                    performerFunction:
                      match: {}
                      schema:
                        type: Extension
                        isModifier: false
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/event-performerFunction
                        index: 51
                        elements:
                          value:
                            mustSupport: true
                            pattern:
                              type: CodeableConcept
                              value:
                                coding:
                                - {code: AUT, system: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType'}
                            choices: []
                            index: 53
                          value[x]:
                            elements:
                              coding:
                                mustSupport: true
                                index: 54
                                elements:
                                  system: {mustSupport: true, index: 55}
                                  code: {mustSupport: true, index: 56}
                                  display: {mustSupport: true, index: 57}
                                required: [display, system, code]
                            required: [coding]
              reference: {mustSupport: true, index: 58}
            required: [extension, reference]
package_version: 1.0.0
extensions:
  ext-di-addendum-of: {url: 'http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf', type: Extension, mustSupport: true, index: 1}
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/mi/StructureDefinition/ca-on-mi-profile-diagnosticReport
base: http://hl7.org/fhir/StructureDefinition/DiagnosticReport
version: 1.0.0
required: [effectiveDateTime, issued, encounter, identifier, subject, category, effective]