
dcm4chee: Updating sps order status of an MWL item via HL7 and better HL7 compliance
Suppose you wish to update the sps status of an mwl item in dcm4chee, preferably in an HL7 compliant way. (Creating mwl items from scratch in dcm4chee via HL7 messages is easy and is discussed separately here.) The obvious guess…
Developing Dicom Apps: How to obtain an org root UID for free
If you have ever developed a DICOM-related application you may have at some point wondered how to obtain an org root UID. An org root UID is necessary for generating certain DICOM tags, such as studyUID, seriesUID, SOPInstanceUID, etc, in…

Dcm4chee: Configuring automated backups to the cloud (or anywhere really)
In a production PACS, a common setup is to back up studies either in real-time or on a periodic basis (ie: nightly) to a more secure, longer-term storage location (aka “nearline” storage). The studies will typically persist on the local…
DICOM Quickie: Copying a study from one PACS to another using dcmqr (query / retrieve)
Sending a dicom study from one PACS to another is quite simple using dcmqr from the dcm4che toolkit (I am currently using v2): dcmqr -highprior $FROM_PACS_AET@$FROM_PACS_HOST:$FROM_PACS_PORT -cmove $TO_PACS_AET \ -L $TO_PACS_AET \ -qStudyInstanceUID=”$STUDY_UID” It implements a dicom query (here we…

Dcm4chee: PACS Synchronization via Dicom Forwarding
Suppose you need to synchronize a secondary PACS with that of a primary one running dcm4chee. Perhaps this is part of a simple fault-tolerant networking solution with the secondary PACS acting as a hot-backup, or perhaps you have some other…
Flask+nginx+uwsgi: Fixing Occasional Bad Gateway 502 + / Sqlalchemy SSL Error: decryption failed or bad record mac
This took a non-trivial amount of time to resolve, so I decided it be worth writing it up in the hopes of helping some poor soul (be it my future self or not :P). I recently deployed a flask +…

Amazon S3 Pitfalls: How to innocuously rack up a $1,797 bill restoring 1TB of data from Amazon S3 Glacier
The title sounds preposterous, as if this couldn’t possibly happen to any well-meaning user just toying around with a pet-project (albeit a data intensive one :P). However a close reading of AWS’s terms, coupled with some horror stories around the…

Understanding HL7: Updating a Modality Work List (MWL) using an ORM^O01 message
Recently I’ve been playing with putting together a basic Radiology Information System (RIS), and one of the things that came up was how to add to a modality worklist (MWL) via an appropriately chosen HL7 message. In my setup, the…
DCM4CHEE: Updating the Modality Work List via HL7 / ORM^O01
Adding an item to dcm4chee’s modality work list (MWL) via an HL7 message is at first glance quite simple. For example sending the following ORM^O01 message: via the command-line using hl7snd from the dcm4che toolkit should work right out of…

Dcm4chee: Getting Weasis Working w/ TLS Encryption
After having set up dcm4chee w/ TLS encryption and gleefully performing a few dcmsnds or dcmqrs, you may find yourself a bit frustrated to discover that Weasis no longer seems to work with dcm4chee via weasis-pacs-connector. Note: This is a…
Recent Comments