Workflow integration

Correct the patient details of every remote study filed under one Patient ID

Change a patient ID, name, birth date or sex on Orthanc across all of their studies in one request, after seeing each study it rewrites.

Desktop app only, 1.6.0 or newerdcmage pro

Problem

A patient registered with a misspelled name or a wrong birth date keeps that mistake on every study the hospital acquires until someone corrects it. Orthanc keeps one record per patient, so it refuses a correction of one study whose new details disagree with the patient’s other studies. The patient’s details can change only for all of the patient’s studies together.

Steps

  1. Open one of the patient’s studies from the archive and change its Patient Name, Patient Birth Date, Patient Sex or Patient ID in the tag editor. Change nothing else.

  2. Open the change preview. With one study alone, a rename of a patient with other studies is refused, because the archive’s record for the patient disagrees with the new value.

  3. Tick Correct every study filed under this patient. The option appears only on an Orthanc connection with Commit correction chosen. dcmage reads every study the archive files under the patient’s current Patient ID and lists each one with its Study Instance UID, description, date, accession number and number of series. Read the list: every study on it is rewritten.

  4. Check the patient table as for a single study, then tick the confirmation.

  5. Select Correct N studies. dcmage reads both Patient IDs again first, and sends the correction only if the archive still files exactly the studies it listed.

When other values are edited

Only the four patient details are sent. If you also changed a study value such as Study Description, the preview names it and refuses: that value belongs to the opened study, not to every study of the patient. Remove that edit, or correct it on its own afterwards.

When the corrected Patient ID is already in use

Orthanc’s patient correction does not check whether the corrected Patient ID is already filed under other details: it files the studies there and two patients become one. dcmage checks instead. If another study under the corrected Patient ID carries a different name, birth date or sex, the preview names the tags that differ and refuses.

When the archive changed

If the patient gained or lost a study after the review, or the corrected Patient ID did, nothing is sent and the preview says so. Your changes stay, the study list is read again, and you confirm the patient again before sending. The same check protects a retry: if the answer to a correction was lost after the archive had applied it, the retry finds new studies under the patient and sends nothing a second time. Open the study again from the archive to see what it holds.

Limits

One correction rewrites at most 50 studies. Each study receives new Study, Series and SOP Instance UIDs, and the archive removes the originals.

Result

The check after the correction reads both Patient IDs and every study it made. It is verified only when none of the original studies is left, each original has one new study under the corrected patient, and each new study carries the corrected details, new identifiers, and every instance of its original. Where the archive declares the DcmageCorrection metadata, each new study gets its own line in it. The audit log records the correction without the patient’s ID or name.