Query & Retrieve in DICOM Q/R

Query & Retrieve in DICOM

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

 

Query即C-Find, Retrieve 即C-Move, 在放射影像设备、系统中是仅次于C-store(发送影像)应用最多的命令, 相较c-sore, c-find/c-move 要复杂很.....


 

Query/retrieve 简化序列图 (只有一个c-move-rsp 回合)


 

<?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" />


 

对于SCU (发起方)

通俗来讲Query 是指请求对方系统把 请求某个级别(Patient/Study/Series/Image)的信息传送给自己。当然也可以进行关联查询要求对方把各个级别的信息都返回给自己。

Retrieve是指SCU通过Query 拿到信息后,要求对方根据请求级别 (Patient/Study/Series/Image) 发送影像给己方。


 

对于SCP (服务提供方)

需要提供各个级别的服务供SCU Query/Retrieve.


 

C-Find/C-Move 有几个重要的概念

一个是 模型(Information model),

Patient root

Study root

Patientstudy root

一个是 级别(Query/retrieve level)

Patient level, study level, series level, image level


 

Patient root 下可有包含patient Level 在内的四个level

Study root 下只有三个level, study root 下不能q/r patient level 信息与影像。

C-find

既然需要依据某个条件查询一组或某个patient/study/series/image, 必须需要一个或一组查询键值, 同时需要告诉对方应该返回什么, 还有怎样区分每组数据。DICOM 中定义的query key, return key and unique key.

Unique key 为 patient id, study instance UID, series instance UID, SOP instance UID.

Query key 对应每个level 有不同的值,常见的比如检查级的studydate, 序列级的modality等,具体参见DICOM和IHE.

Unique key 必须在返回列中,否则SCU无法区分各组数据。


 

有些Q/R SCP 支持关联查询,SCU 可以根据Study level的query key来获取series.


 

C-move 相对简单

SCU 发送请求前,启动一个storage SCP 用于接收影像,

依据c-find 的返回结果,读取unique key,

Patient root

Patient level  Patient id

Study level   patient id, study instance UID

Series level   patient id, study instance UID, series instance UID

Image level   patient id, study instance UID, series instance UID, SOP instance UID


 

Study root

Study level   study instance UID

Series level   study instance UID, series instance UID

Image level   study instance UID, series instance UID, SOP instance UID

每个level, 自己及上一个级别的unique key 必须提供作为query key.


 

C-move 中还有一个概念叫Retrieve Destination AE. 通俗讲,就是告诉对方应该发送影像到什么地方。对于SCU, 通常它可以让他发送给自己,也可以让它发送给另一个AE(甚至另一台机器,系统)。这一点也是C-move 和C-Get的区别所在,C-get 只能要求对方发给自己。


 

Q/R SCU告诉对方(Q/R SCP) unique key 和retrieve destination, SCP通过解析retrieve destination AE title 获取在SCP方注册的IP和端口,发送影像至此storage SCP, 同时发送c-move-rsp 到 Q/R SCU. 当影像发送结束后会发送实际统计结果至Q/R SCU


 


 

在实现过程中以下几点需要注意:

SCP:

严格遵从IHE和DICOM定义,尽可能支持各个模型,各个级别,支持关联查询,支持list UID matching(多个UID),universal matching (query key = null), wild card matching (patient id = abc*),range matching (study date 20081115- 20081118) 作为条件。


 

对于mandatory return key, 如果SCU未提供,SCP 可选择提供,如果SCU 有问题,比如UID key 未作为 return key, SCP 一定要提供。


 

实际应用中还有很多要注意的细节,比如character set, 如果处理不好,问题也很多,对于global的项目,我们需要注意,对于有问题的产品就不再点名。


 

SCU:

严格遵从IHE和DICOM定义,尽可能支持各个模型,各个级别查询。一般来说,Study ROOT非关联查询大多厂商都提供,所以SCU要做到Study ROOT, study level, series level, image level 的查询与获取(Q/R).


 
--------------------- 
作者:lucky2all 
来源:CSDN 
原文:https://blog.csdn.net/lucky2all/article/details/3307753 
版权声明:本文为博主原创文章,转载请附上博文链接!

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
"Could not retrieve mirrorlist http://mirrorlist.centos.org"是一个错误信息,它表示在尝试获取CentOS镜像列表时出现了问题。这可能是由于网络连接问题或镜像服务器不可用导致的。 要解决这个问题,可以尝试以下几种方法: 1. 检查网络连接:确保您的网络连接正常工作,并且没有阻止访问镜像列表的防火墙或代理设置。 2. 使用其他镜像列表地址:尝试使用其他可用的CentOS镜像列表地址来获取列表。您可以在CentOS官方网站上找到可用的镜像列表地址。 3. 更改DNS设置:如果问题是由于DNS解析问题导致的,您可以尝试更改您的DNS设置为其他可靠的DNS服务器,例如Google DNS(8.8.8.8和8.8.4.4)。 4. 检查镜像服务器状态:如果问题是由于镜像服务器不可用导致的,您可以等待一段时间并再次尝试,或者尝试使用其他可用的镜像服务器。 请注意,这些方法可能需要根据您的具体情况进行适当调整。如果问题仍然存在,请参考相关文档或寻求更详细的技术支持。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *2* [Linux命令行界面,Centos7 yum命令异常报错Could not retrieve mirrorlist http://mirrorlist.centos.org...](https://blog.csdn.net/xuan_feng_/article/details/127338050)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] - *3* [mysql_wp_cluster_quickstart_windows.pdf](https://download.csdn.net/download/weixin_40675010/12034058)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值