Clearing out FileCopy Orders in dcm4chee2.x
Every now and then you might find your legacy dcm4chee2 instance inundated with FileCopy orders, due to a bug in one of your HSM copy command scripts or otherwise. It happened to me a few weeks back, one instance had…
Getting Acquired or Selling Your Software: Tax Issues in the US
Disclaimer: We do not provide tax, legal or accounting advice. This material has been prepared for informational purposes only, and is not intended to provide, and should not be relied on for, tax, legal or accounting advice. You should consult…
WordPress Security: Part 2 (Or Why fail2ban Rocks)
I wrote previously about a few simple steps for stopping basic attacks in a wordpress install. Back then I was just dipping my feet into the world of wordpress, and while the steps I outlined there are a solid first…

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…
Recent Comments