PackagesCanonicalsLogsProblems
    Packages
    ca.on.ehr.r4@1.0.0-snapshot6
    http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-diagnosticReport-imaging
description: null
package_name: 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}
  effectiveDateTime: {type: dateTime, mustSupport: true, choiceOf: effective, index: 27}
  resultsInterpreter:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitioner', 'http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitionerRole']
    index: 38
  status: {mustSupport: true, index: 20}
  result:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-observation-imaging']
    index: 39
    elements:
      reference: {mustSupport: true, index: 40}
    required: [reference]
  effective:
    mustSupport: true
    choices: [effectiveDateTime]
    index: 26
  code:
    type: CodeableConcept
    short: Concept - reference to a terminology or just  text
    mustSupport: true
    index: 21
    elements:
      coding:
        elements:
          system: {index: 22}
        required: [system]
  identifier:
    mustSupport: true
    index: 1
    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: 2
            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: 3
                elements:
                  coding:
                    index: 4
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        mustSupport: true
                        type: uri
                        index: 5
                      code:
                        pattern: {type: code, value: ACSN}
                        mustSupport: true
                        type: code
                        index: 6
                      display: {mustSupport: true, index: 7}
                    required: [code, display, system]
                required: [coding]
              system: {mustSupport: true, index: 8}
              value: {mustSupport: true, index: 9}
            required: [system, type, value]
        identifier-placerOrderNumber:
          match:
            type:
              coding: {code: PLAC}
          schema:
            mustSupport: true
            index: 10
            elements:
              type:
                binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ehr/ValueSet/identifier-type'}
                mustSupport: true
                index: 11
                elements:
                  coding:
                    mustSupport: true
                    index: 12
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        mustSupport: true
                        type: uri
                        index: 13
                      code:
                        pattern: {type: code, value: PLAC}
                        mustSupport: true
                        type: code
                        index: 14
                      display: {mustSupport: true, index: 15}
                    required: [code, display, system]
                required: [coding]
              system: {mustSupport: true, index: 16}
              value: {mustSupport: true, index: 17}
            required: [system, type, value]
  issued: {mustSupport: true, index: 28}
  presentedForm:
    mustSupport: true
    index: 42
    elements:
      contentType: {mustSupport: true, index: 43}
      data: {mustSupport: true, index: 44}
    required: [data]
  basedOn:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-serviceRequest']
    index: 18
    elements:
      reference: {mustSupport: true, index: 19}
    required: [reference]
  imagingStudy:
    elements:
      reference: {mustSupport: true, index: 41}
    required: [reference]
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-patient']
    index: 23
    elements:
      reference: {mustSupport: true, index: 24}
    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: 29
    extensions:
      performerFunction:
        url: http://hl7.org/fhir/StructureDefinition/event-performerFunction
        type: Extension
        isModifier: false
        mustSupport: true
        index: 30
        elements:
          value:
            mustSupport: true
            choices: []
            index: 32
          value[x]:
            elements:
              coding:
                mustSupport: true
                index: 33
                elements:
                  system: {mustSupport: true, index: 34}
                  code: {mustSupport: true, index: 35}
                  display: {mustSupport: true, index: 36}
                required: [code, display, system]
            required: [coding]
    elements:
      extension:
        type: Extension
        isModifier: false
        mustSupport: true
        url: http://hl7.org/fhir/StructureDefinition/event-performerFunction
        index: 30
        slicing:
          slices:
            performerFunction:
              match: {}
              schema:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/event-performerFunction
                index: 30
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 32
                  value[x]:
                    elements:
                      coding:
                        mustSupport: true
                        index: 33
                        elements:
                          system: {mustSupport: true, index: 34}
                          code: {mustSupport: true, index: 35}
                          display: {mustSupport: true, index: 36}
                        required: [code, display, system]
                    required: [coding]
      reference: {mustSupport: true, index: 37}
    required: [reference]
package_version: 1.0.0-snapshot6
extensions:
  ext-di-addendum-of: {url: 'http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf', type: Extension, mustSupport: true, index: 0}
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]