PackagesCanonicalsLogsProblems
    Packages
    ca.on.hrm.r4@1.0.1-snapshot1
    http://ontariohealth.ca/fhir/StructureDefinition/ca-on-hrm-profile-diagnosticReport-submission
description: HRM DiagnosticReport Profile (Submission)
package_name: ca.on.hrm.r4
derivation: constraint
name: HRMProfileDiagnosticReportSubmission
type: DiagnosticReport
elements:
  category:
    type: CodeableConcept
    binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ehr/ValueSet/procedure-specialty'}
    mustSupport: true
    index: 31
    elements:
      coding:
        index: 32
        elements:
          system: {index: 33}
        required: [system]
    required: [coding]
  conclusionCode:
    type: CodeableConcept
    binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/clinicalfindingcode'}
    mustSupport: true
    index: 62
  conclusion: {mustSupport: true, index: 61}
  encounter:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-hrm-profile-encounter-submission']
    index: 39
    elements:
      reference: {mustSupport: true, index: 40}
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        ext-di-addendum-of:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf', index: 1}
          min: 0
        copiedParticipants:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://ontariohealth.ca/StructureDefinition/oh-ehr-copied-participants-EXT', index: 2}
          min: 0
        EHRRecipients:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: http://ontariohealth.ca/fhir/ehr/StructureDefinition/ext-recipient
            index: 3
            elements:
              value[x]:
                elements:
                  identifier: {mustSupport: true, index: 4}
        EHRUrgencyFlagExtension:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://ontariohealth.ca/fhir/ehr/StructureDefinition/ext-urgency-flag', index: 5}
          min: 0
          max: 1
  effectiveDateTime:
    type: dateTime
    mustSupport: true
    choiceOf: effective
    index: 46
    slicing:
      slices:
        effectiveDateTime:
          match: {}
          schema: {type: dateTime, mustSupport: true, choiceOf: effective, _required: true, index: 46}
          min: 1
          max: 1
  resultsInterpreter:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-hrm-profile-practitioner-submission', 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-hrm-profile-practitionerRole-submission']
    index: 57
    elements:
      reference: {mustSupport: true, index: 58}
  status: {mustSupport: true, index: 30}
  result:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-observation-imaging']
    index: 59
    elements:
      reference: {mustSupport: true, index: 60}
    required: [reference]
  effective:
    mustSupport: true
    choices: [effectiveDateTime]
    index: 45
    slicing:
      slices:
        effectiveDateTime:
          match: {}
          schema:
            mustSupport: true
            choices: [effectiveDateTime]
            _required: true
            index: 45
          min: 1
          max: 1
  code:
    type: CodeableConcept
    binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ehr/ValueSet/diagnostic-report-code'}
    mustSupport: true
    index: 34
    elements:
      coding:
        elements:
          system: {index: 35}
          display:
            extensions:
              translation:
                url: null
                index: 36
                extensions: {}
                elements:
                  extension: {array: true, min: 2, index: 37}
            elements:
              extension:
                index: 36
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        index: 36
                        extensions: {}
                        elements:
                          extension: {array: true, min: 2, index: 37}
        required: [system]
  identifier:
    mustSupport: true
    index: 6
    elements:
      type:
        mustSupport: true
        index: 7
        elements:
          coding:
            mustSupport: true
            index: 8
            elements:
              system: {mustSupport: true, index: 9}
              code: {mustSupport: true, index: 10}
      value: {mustSupport: true, index: 11}
    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: 12
            elements:
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: ACSN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Accession ID}
                index: 13
                elements:
                  coding:
                    index: 14
                    elements:
                      system: {index: 15}
                      code: {index: 16}
                      display: {mustSupport: true, index: 17}
                    required: [display, system, code]
                required: [coding]
              system: {mustSupport: true, index: 18}
              value: {index: 19}
            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: 20
            elements:
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: PLAC, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Placer Identifier}
                index: 21
                elements:
                  coding:
                    index: 22
                    elements:
                      system: {index: 23}
                      code: {index: 24}
                      display: {mustSupport: true, index: 25}
                    required: [display, system, code]
                required: [coding]
              system: {mustSupport: true, index: 26}
              value: {index: 27}
            required: [value, type, system]
  issued: {mustSupport: true, index: 47}
  presentedForm:
    mustSupport: true
    index: 63
    elements:
      contentType:
        binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ehr/ValueSet/mime-type'}
        mustSupport: true
        index: 64
      language: {mustSupport: true, index: 65}
      data: {mustSupport: true, index: 66}
      title: {mustSupport: true, index: 67}
      creation: {mustSupport: true, index: 68}
    required: [contentType, data]
  basedOn:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-hrm-profile-serviceRequest-submission']
    index: 28
    elements:
      reference: {mustSupport: true, index: 29}
    required: [reference]
  subject:
    type: Reference
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-hrm-profile-patient-submission']
    index: 38
  performer:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-hrm-profile-practitioner-submission', 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-hrm-profile-practitionerRole-submission']
    index: 48
    extensions:
      performerFunction:
        url: http://hl7.org/fhir/StructureDefinition/event-performerFunction
        type: Extension
        mustSupport: true
        index: 49
        elements:
          value:
            mustSupport: true
            choices: []
            index: 51
          value[x]:
            elements:
              coding:
                mustSupport: true
                index: 52
                elements:
                  system: {mustSupport: true, index: 53}
                  code: {mustSupport: true, index: 54}
                  display: {mustSupport: true, index: 55}
                required: [display, system, code]
            required: [coding]
    elements:
      extension:
        type: Extension
        mustSupport: true
        url: http://hl7.org/fhir/StructureDefinition/event-performerFunction
        index: 49
        slicing:
          slices:
            performerFunction:
              match: {}
              schema:
                type: Extension
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/event-performerFunction
                index: 49
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 51
                  value[x]:
                    elements:
                      coding:
                        mustSupport: true
                        index: 52
                        elements:
                          system: {mustSupport: true, index: 53}
                          code: {mustSupport: true, index: 54}
                          display: {mustSupport: true, index: 55}
                        required: [display, system, code]
                    required: [coding]
      reference: {mustSupport: true, index: 56}
package_version: 1.0.1-snapshot1
extensions:
  ext-di-addendum-of: {url: 'http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf', min: 0, type: Extension, mustSupport: true, index: 1}
  copiedParticipants: {url: 'http://ontariohealth.ca/StructureDefinition/oh-ehr-copied-participants-EXT', min: 0, type: Extension, mustSupport: true, index: 2}
  EHRRecipients:
    url: http://ontariohealth.ca/fhir/ehr/StructureDefinition/ext-recipient
    type: Extension
    mustSupport: true
    index: 3
    elements:
      value[x]:
        elements:
          identifier: {mustSupport: true, index: 4}
  EHRUrgencyFlagExtension: {url: 'http://ontariohealth.ca/fhir/ehr/StructureDefinition/ext-urgency-flag', min: 0, max: 1, type: Extension, mustSupport: true, index: 5}
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-hrm-profile-diagnosticReport-submission
base: http://hl7.org/fhir/StructureDefinition/DiagnosticReport
version: null
required: [effectiveDateTime, issued, presentedForm, identifier, category, effective, result, performer]