patmun / pynetdicom_legacy

This project is deprecated and no longer maintained. Please switch to https://github.com/pydicom/pynetdicom3
Other
30 stars 25 forks source link

Query/Download Dicom for patient with ID example? #53

Open barchard opened 7 years ago

barchard commented 7 years ago

Hi, do you have any examples of querying and downloading Dicoms for a patient with a given ID? I'm guessing you have to query all of the studies for a patient first. I'm looking to write a DICOM to a user on a remote PACS. Thanks

naggie commented 7 years ago

I'd recommend reading "Digital Imaging and Communications in Medicine (DICOM): A Practical Introduction and Survival Guide" which should help you to understand.

Essentially a C-FIND followed by a C-MOVE for each returned series or study by StudyInstanceUID.