PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.eu.imaging-r5@1.0.0-ballot
    http://hl7.eu/fhir/imaging-r5/StructureDefinition/DocumentReferenceImagingReport
description: Profile for DocumentReference resources used in the EEHRxF context, based on the IHE MHD Minimal DocumentReference profile. This profile is used for the DocumentReference resources that represent imaging reports in the EEHRxF context. It includes additional constraints and extensions specific to imaging reports, such as the type of report, the clinical specialty, the anatomical region of interest and the profile of the imaging report.
package_name: hl7.fhir.eu.imaging-r5
derivation: constraint
name: DocumentReferenceImagingReport
type: DocumentReference
elements:
  type:
    short: Type of Imaging Diagnostic Report
    index: 0
    elements:
      coding:
        index: 1
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: value}
          min: 1
          slices:
            imaging-report:
              match: {code: 85430-7, system: 'http://loinc.org'}
              schema:
                pattern:
                  type: Coding
                  value: {code: 85430-7, system: 'http://loinc.org'}
                _required: true
                index: 2
              min: 1
              max: 1
    required: [coding]
  category:
    index: 3
    elements:
      coding:
        index: 4
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: value}
          min: 1
          slices:
            priority-area:
              match: {code: Medical-Imaging, system: 'http://hl7.eu/fhir/eu-health-data-api/CodeSystem/eehrxf-document-priority-category-cs'}
              schema:
                pattern:
                  type: Coding
                  value: {code: Medical-Imaging, system: 'http://hl7.eu/fhir/eu-health-data-api/CodeSystem/eehrxf-document-priority-category-cs'}
                _required: true
                index: 5
              min: 1
              max: 1
    required: [coding]
  subject:
    type: Reference
    refers: ['http://hl7.eu/fhir/base-r5/StructureDefinition/patient-eu-core']
    index: 6
  bodySite:
    short: The anatomical region of the patient that is the focus of the imaging manifest, concept field is required.
    index: 7
    elements:
      concept:
        index: 8
        elements:
          coding:
            binding: {strength: extensible, valueSet: 'http://hl7.eu/fhir/imaging-r5/ValueSet/im-anatomical-region-valueset'}
            index: 9
    required: [concept]
  practiceSetting: {short: 'Clinical specialty (e.g., radiology, laboratory) - SHOULD be used for lab vs imaging differentiation', index: 10}
  date: {index: 11}
  custodian:
    type: Reference
    short: Organization that manages the Imaging Report
    refers: ['http://hl7.eu/fhir/base-r5/StructureDefinition/organization-eu']
    index: 12
  content:
    index: 13
    elements:
      profile:
        index: 14
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: value, type: value}
          min: 1
          slices:
            bundle-report:
              match: {value: null}
              schema:
                index: 15
                elements:
                  value:
                    choices: []
                    index: 17
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: $this, type: type}
                      min: null
                      slices:
                        valueCanonical:
                          match: {}
                          schema:
                            pattern: {type: Canonical, value: 'http://hl7.eu/fhir/imaging-r5/StructureDefinition/BundleReportEuImaging'}
                            choices: [valueCanonical]
                            index: 19
                          min: 0
                          max: 1
                  valueCanonical:
                    type: canonical
                    pattern: {type: Canonical, value: 'http://hl7.eu/fhir/imaging-r5/StructureDefinition/BundleReportEuImaging'}
                    choiceOf: value
                    index: 20
                    slicing:
                      slices:
                        valueCanonical:
                          match: {}
                          schema:
                            type: canonical
                            pattern: {type: Canonical, value: 'http://hl7.eu/fhir/imaging-r5/StructureDefinition/BundleReportEuImaging'}
                            choiceOf: value
                            index: 20
                          min: 0
                          max: 1
            bundle-report-minimal-metadata:
              match: {value: null}
              schema:
                index: 21
                elements:
                  value:
                    choices: []
                    index: 23
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: $this, type: type}
                      min: null
                      slices:
                        valueCanonical:
                          match: {}
                          schema:
                            pattern: {type: Canonical, value: 'http://hl7.eu/fhir/imaging-r5/StructureDefinition/BundleReportMinimalMetadataEuImaging'}
                            choices: [valueCanonical]
                            index: 25
                          min: 0
                          max: 1
                  valueCanonical:
                    type: canonical
                    pattern: {type: Canonical, value: 'http://hl7.eu/fhir/imaging-r5/StructureDefinition/BundleReportMinimalMetadataEuImaging'}
                    choiceOf: value
                    index: 26
                    slicing:
                      slices:
                        valueCanonical:
                          match: {}
                          schema:
                            type: canonical
                            pattern: {type: Canonical, value: 'http://hl7.eu/fhir/imaging-r5/StructureDefinition/BundleReportMinimalMetadataEuImaging'}
                            choiceOf: value
                            index: 26
                          min: 0
                          max: 1
    required: [profile]
package_version: 1.0.0-ballot
class: profile
kind: resource
url: http://hl7.eu/fhir/imaging-r5/StructureDefinition/DocumentReferenceImagingReport
base: http://hl7.org/fhir/StructureDefinition/DocumentReference
version: 1.0.0-ballot
required: [subject, type, date, category]