python - How to retrieve patient and study detail from DCM4CHEE? -


i need fetch data dcm4chee uploaded modality.

as tried utility tools like: getscu: retrieves .dcm file of particular studyinstanceid don't want download .dcm images,

i need fetch information like: patientid, accessionnumber , studyid using querytool of dcm4chee.

first of all, not "good practice" create patient information directly dcm4chee. correct workflow his/ris send request in fotmato hl7 orm, this:

msh|^~&\|cpx-ris|example hospital|pacs||20050701||orm^o01|71200517353359|p|2.3||||||| pid|1|807|eth0809||johnson^karen||12130919120000|f||0|4708 indian paint^^example^texas^77777|williamson|||0|0|0|eth0809||^0^20050701120000|||||||||| pv1|1|o|||||3^jack^johnson|162^speed^john|||||||||||en01156|||||||||||||||||||||||||20050701174500|||||||| orc|nw|ex01369|ex01369||||^^^20050701174500||20050701|2^frontdesk||||||||| obr|1|ex01369|ex01369|1299^ct abd/pelvis w/o contrast & 3drecon||||||||||||||||||||ct|||^^^20050701174500|||||||||20050701174500|||||||  

you can see in more detail in official documentation on hl7 specifications orm-oru. can review orm hl7 service refers integration of dcm4chee , hl7.

the "hard way" connect directly database dcm4chee , make insertions , query directly, recommend check following link: database schema diagram


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -