PackagesCanonicalsLogsProblems
    Packages
    rs/ca.on.ehr.r4@1.0.0-snapshot7
    http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-diagnosticReport-imaging
description: null
package_name: rs/ca.on.ehr.r4
derivation: constraint
name: DiagnosticReportImagingEHR
type: DiagnosticReport
elements:
  extension:
    type: Extension
    mustSupport: true
    url: http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf
    index: 0
    slicing:
      slices:
        ext-di-addendum-of:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf', index: 0}
        copiedParticipants:
          match: {}
          schema: {type: Extension, isModifier: false, mustSupport: true, url: 'http://ontariohealth.ca/StructureDefinition/oh-ehr-copied-participants-EXT', index: 1}
  effectiveDateTime: {type: dateTime, mustSupport: true, choiceOf: effective, index: 30}
  resultsInterpreter:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitioner', 'http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitionerRole']
    index: 41
  status: {mustSupport: true, index: 21}
  result:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-observation-imaging']
    index: 42
    elements:
      reference: {mustSupport: true, index: 43}
    required: [reference]
  effective:
    mustSupport: true
    choices: [effectiveDateTime]
    index: 29
  code:
    type: CodeableConcept
    mustSupport: true
    index: 22
    elements:
      coding:
        elements:
          system: {index: 23}
          display:
            extensions:
              translation:
                url: null
                index: 24
                extensions: {}
                elements:
                  extension: {array: true, min: 2, index: 25}
            elements:
              extension:
                index: 24
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        index: 24
                        extensions: {}
                        elements:
                          extension: {array: true, min: 2, index: 25}
        required: [system]
  identifier:
    mustSupport: true
    index: 2
    slicing:
      rules: open
      description: must contain one repetition of an accession number.
      discriminator:
      - {path: type.coding.code, type: value}
      min: 1
      slices:
        identifier-accession:
          match:
            type:
              coding: {code: ACSN}
          schema:
            short: Filler/Accession ID
            mustSupport: true
            _required: true
            index: 3
            elements:
              type:
                binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ehr/ValueSet/identifier-type'}
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: ACSN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Accession ID}
                type: CodeableConcept
                index: 4
                elements:
                  coding:
                    index: 5
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        mustSupport: true
                        type: uri
                        index: 6
                      code:
                        pattern: {type: code, value: ACSN}
                        mustSupport: true
                        type: code
                        index: 7
                      display: {mustSupport: true, index: 8}
                    required: [code, display, system]
                required: [coding]
              system: {mustSupport: true, index: 9}
              value: {mustSupport: true, index: 10}
            required: [system, type, value]
        identifier-placerOrderNumber:
          match:
            type:
              coding: {code: PLAC}
          schema:
            mustSupport: true
            index: 11
            elements:
              type:
                binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ehr/ValueSet/identifier-type'}
                mustSupport: true
                index: 12
                elements:
                  coding:
                    mustSupport: true
                    index: 13
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        mustSupport: true
                        type: uri
                        index: 14
                      code:
                        pattern: {type: code, value: PLAC}
                        mustSupport: true
                        type: code
                        index: 15
                      display: {mustSupport: true, index: 16}
                    required: [code, display, system]
                required: [coding]
              system: {mustSupport: true, index: 17}
              value: {mustSupport: true, index: 18}
            required: [system, type, value]
  issued: {mustSupport: true, index: 31}
  presentedForm:
    mustSupport: true
    index: 45
    elements:
      contentType: {mustSupport: true, index: 46}
      data: {mustSupport: true, index: 47}
    required: [data]
  basedOn:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-serviceRequest']
    index: 19
    elements:
      reference: {mustSupport: true, index: 20}
    required: [reference]
  imagingStudy:
    elements:
      reference: {mustSupport: true, index: 44}
    required: [reference]
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-patient']
    index: 26
    elements:
      reference: {mustSupport: true, index: 27}
    required: [reference]
  performer:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitioner', 'http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitionerRole']
    index: 32
    extensions:
      performerFunction:
        url: http://hl7.org/fhir/StructureDefinition/event-performerFunction
        type: Extension
        isModifier: false
        mustSupport: true
        index: 33
        elements:
          value:
            mustSupport: true
            choices: []
            index: 35
          value[x]:
            elements:
              coding:
                mustSupport: true
                index: 36
                elements:
                  system: {mustSupport: true, index: 37}
                  code: {mustSupport: true, index: 38}
                  display: {mustSupport: true, index: 39}
                required: [code, display, system]
            required: [coding]
    elements:
      extension:
        type: Extension
        isModifier: false
        mustSupport: true
        url: http://hl7.org/fhir/StructureDefinition/event-performerFunction
        index: 33
        slicing:
          slices:
            performerFunction:
              match: {}
              schema:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/event-performerFunction
                index: 33
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 35
                  value[x]:
                    elements:
                      coding:
                        mustSupport: true
                        index: 36
                        elements:
                          system: {mustSupport: true, index: 37}
                          code: {mustSupport: true, index: 38}
                          display: {mustSupport: true, index: 39}
                        required: [code, display, system]
                    required: [coding]
      reference: {mustSupport: true, index: 40}
    required: [reference]
package_version: 1.0.0-snapshot7
extensions:
  ext-di-addendum-of: {url: 'http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf', type: Extension, mustSupport: true, index: 0}
  copiedParticipants: {url: 'http://ontariohealth.ca/StructureDefinition/oh-ehr-copied-participants-EXT', type: Extension, isModifier: false, mustSupport: true, index: 1}
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-diagnosticReport-imaging
base: http://hl7.org/fhir/StructureDefinition/DiagnosticReport
version: 1.0.0
required: [identifier, result, subject]