Data migration

Migrating legacy medical imaging archives: beyond DICOM transfer

What happens when historical dental or medical images are held in proprietary systems that cannot export usable DICOM studies? A practical look at data discovery, patient identity reconciliation, image fidelity, custom conversion and migration assurance.

By Healthinc · 10 min read ·

Share by email

Moving a conventional PACS archive into a new picture archiving and communication system (PACS) or vendor neutral archive (VNA) can be a substantial undertaking. But at least the source images are usually already represented as DICOM objects.

Older dental imaging systems, departmental archives and specialist applications can present a very different problem. There may be no supported bulk export, no usable DICOM interface and little documentation of the underlying storage architecture. Image data may be embedded in a database or distributed across files on a server. The patient and examination information needed to make sense of those images may be stored separately.

Systems such as Planmeca DIMAXIS, Digora and Scanora are examples of the kinds of environments that warrant careful investigation. The available extraction methods and data structures depend on the particular product version and installation.

The objective is to preserve an accessible, correctly identified and clinically meaningful imaging history. A collection of successfully transferred files is only part of that outcome.

Establish what can be recovered

When Healthinc began its DIMAXIS and DIMAXIS Legacy migration work, we had experience with DICOM, software development and healthcare system integration, but we did not already know the detailed internals of those particular databases.

We approached the work in stages, beginning with a technical analysis and proof of concept. This allowed us to determine how the data was organised, identify practical limitations and demonstrate representative converted outputs before committing to full-scale processing.

Our investigation found patient demographics, image metadata and image payloads held in separate database tables. Image data included common raster formats as well as existing DICOM objects. Establishing the relationships between those records was essential to recovering the images in their correct clinical context.

Area of investigation Questions to resolve
Data storage Is the payload in a database, a file share or both?
Encoding Can the original images be decoded? Are there proprietary formats or unsupported objects?
Clinical context How are patients, examinations and images associated?
Image presentation Are acquisition properties, pixel depth or display settings available?
Destination Which object types and identifiers will the receiving archive and viewer support?

This analysis is a meaningful deliverable in its own right. It establishes the technical feasibility of the migration and informs the scope, estimated volumes, implementation approach and acceptance criteria. If important information cannot be recovered reliably, that should be understood before the organisation commits to implementation.

In the DIMAXIS analysis, our prototype converted 182 representative images from two generations of the source system. Automated checks and DICOM viewer inspections were used to assess the sample outputs. That work established a practical route forward for the agreed raster-image migration; specialised 3D formats were assessed separately.

Patient identity and clinical context

An image that is technically correct but associated with the wrong patient is not a successful migration.

Older imaging applications may use internal patient numbers that no longer correspond to the identifiers used by the current patient administration system (PAS), hospital information system (HIS) or practice management system. Different generations of the same application can even use different identifier schemes.

We encountered this during the DIMAXIS work. Reconciliation required cross-referencing the imaging records against an authoritative patient management data source rather than simply copying historical identifiers into DICOM.

A migration must account for the assigning authority of each identifier, approved cross-reference mappings, demographic discrepancies and historical patient merges. An identifier should not be treated as globally unique just because it is unique within one database.

Legacy imaging records and an authoritative patient system feed identity reconciliation; validated matches proceed to DICOM conversion, while ambiguous and unmatched records go to exception review.

Illustrative reconciliation workflow. Matching rules and resolution responsibilities are agreed with the organisation responsible for patient identity.

Depending on the data available, some records can be matched automatically using approved identifier cross-references. Others require investigation. Demographics can support verification, but an apparent name and date-of-birth match should not by itself be assumed to establish identity.

The original identifier, the resolved identifier and the basis for the match should remain traceable. Ambiguous records should be held for review rather than assigned to a patient by guesswork.

Historical examination dates, acquisition context and relationships between images also need to be preserved where available. If several images belong to the same examination, creating unrelated studies for every image can make the resulting archive unnecessarily difficult to use.

Preserving the image, not just the file

Converting a JPEG, BMP or TIFF into a DICOM file can appear straightforward. Medical imaging introduces additional considerations.

A source image may contain more grayscale information than is visible in an ordinary image viewer. Some images use a higher bit depth, a particular photometric interpretation or a display transformation that controls how the recorded intensities are presented. A conversion process that renders everything to an eight-bit bitmap can discard information that was still available in the original data.

The DICOM standard provides mechanisms to represent these properties and, where appropriate for the selected object type, to specify grayscale display transformations. A Value of Interest lookup table (VOI LUT), or a window centre and width, can determine how pixel values map to displayed brightness.

Two linear grayscale display mappings of the same illustrative input intensity range: a wide window produces a smaller difference between two nearby values; a narrower window increases the displayed contrast between those values without changing the stored source.

Conceptual example using synthetic values, not patient images or a comparison from a clinical migration. Different window settings can change displayed contrast while the stored pixel values remain unchanged.

The appropriate conversion depends on what the original application stored. A presentation-ready image may already have had a transformation applied, while another image may retain a broader range of acquisition values. Applying a transform twice can be as problematic as omitting it.

Image property What the conversion must consider
Bit depth Preserve available source precision; avoid unnecessary reduction to eight bits.
Photometric interpretation Represent grayscale polarity or colour correctly.
Windowing and LUTs Retain or derive appropriate display settings where supported and justified.
Spatial calibration Preserve reliable pixel spacing or calibration information; do not invent measurements.
Compression Avoid unnecessary lossy recompression and retain known loss history.
Annotations and overlays Determine what information is embedded in the pixels or stored separately.

The source image, the converted object and the destination viewer should be compared. A successful DICOM decode or a checksum alone does not establish that the image is presented appropriately. Display fidelity and the ability to use the available image information are separate validation concerns.

Choosing the appropriate DICOM representation

DICOM is more than a file extension. Its Information Object Definitions (IODs) describe different kinds of clinical information, and the corresponding storage SOP Classes determine how those objects can be exchanged.

For example, a Secondary Capture object can represent an image originating in a non-DICOM format. The DIMAXIS analysis used Secondary Capture for the representative converted raster images, preserving study associations where known and generating new identifiers for the converted objects.

The same approach would not necessarily be appropriate for a native CT volume. Existing valid DICOM instances should generally retain their clinical information and identity where possible. For derived objects, new identifiers and a consistent mapping strategy are needed, particularly so rerunning a migration does not create unnecessary duplicates.

Metadata should be taken from reliable source records, derived according to documented rules or populated according to an agreed approach where the standard allows it. Missing clinical information should not be fabricated to satisfy a validation check.

Dental 3D models and STL

Dental imaging archives may contain more than X-rays. They can also hold cone-beam CT datasets, intraoral scan outputs and three-dimensional surface models used in dental planning and manufacturing.

An STL file describes a surface mesh. It is not equivalent to the underlying volumetric CT data, and converting that mesh into a set of screenshots would lose its three-dimensional properties.

The DICOM standard includes an Encapsulated STL Information Object Definition. This allows the original model to be represented within a DICOM object alongside the associated patient and study information. Other model formats and volumetric datasets require their own assessment.

Before choosing this approach, the project needs to establish that the source model can be reliably associated with the patient and examination, that its geometry and units are understood, and that the destination can store, retrieve and make the model available to an appropriate application. An archive accepting an Encapsulated STL object does not necessarily mean its viewer can display the model.

We investigated STL as a separate consideration in the dental migration work. It was outside the initial raster-image conversion scope; it should be evaluated and validated independently rather than assumed to follow the same conversion pathway.

From analysis to an auditable migration

Once the approach has been demonstrated on representative data, the tools must be able to process the agreed archive reliably at scale.

For the DIMAXIS work, we developed a conversion service using .NET and a DICOM library. The service processed records in batches, captured processing outcomes and incorporated automated validation. Bounded batches helped manage memory usage while processing images stored in the source databases.

Migration delivery stages: source discovery, representative conversion and agreed rules, approval, automated bulk processing, destination verification and reconciliation.

Analysis and representative conversion establish feasibility. Bulk processing follows an agreed scope and validation approach.

A practical migration pipeline also needs to deal with partial failures. One corrupt image should not cause every remaining record to be abandoned. Failed records need to be identifiable, with sufficient context to investigate the cause and retry appropriately. The process should distinguish newly processed records from those already delivered.

Validation should take place at several levels:

  • Identity and metadata: confirm the patient match, examination context and mapped DICOM attributes against the agreed source of truth.
  • Pixel or model integrity: verify the retained image information or encapsulated payload, using appropriate comparisons and checksums.
  • Clinical presentation: inspect representative converted data in suitable viewers, including the receiving environment where available.
  • Delivery and completeness: reconcile eligible source records against converted, delivered, excluded and unresolved records; verify destination visibility and retrieval as applicable.

A count of source files and a count of DICOM instances may not reconcile directly. A single source object could contain multiple frames, and some source records may be excluded or consolidated under agreed rules. The reconciliation must account for those relationships, rather than treating matching totals as sufficient proof.

The final migration report should explain what was processed, what was delivered, how the results were validated and what exceptions remain. That evidence helps the organisation decide when it can retire its legacy application safely.

When there is no off-the-shelf solution

An established DICOM migration product may be the most practical choice when both systems expose standard interfaces and the required metadata is already available. The situation changes when the source system cannot export the information needed by the destination.

The DIMAXIS work is an example of why Healthinc combines healthcare interoperability expertise with software development. We started with unfamiliar source systems, investigated them, demonstrated the conversion and went on to deliver the agreed migration work. Our approach was based on the data we actually found, rather than on an assumed export capability.

Our extraction, conversion, validation and integration experience gives us a foundation for investigating other legacy environments, even where the database or storage format is not one we have encountered before. It does not remove the need to establish feasibility for each installation.

Keeping a legacy application running in read-only mode may be a reasonable interim decision, but it still requires storage, backups, tested recovery, access controls, maintenance and people who understand the system. These ongoing requirements should be weighed against the cost and feasibility of migration to an established archive.

If your organisation has historical medical or dental imaging that cannot be migrated through conventional DICOM interfaces, Healthinc’s data migration and integration services can help establish what is recoverable and how it can be delivered to your new environment.

References

  1. DICOM PS3.3 — Secondary Capture Image IODs (A.8)
  2. DICOM PS3.3 — VOI LUT Module (C.11.2)
  3. DICOM PS3.3 — Encapsulated 3D Manufacturing Model IODs (A.85)

Related resources

← All insights

On this page