4.2 IHE现场测试
实际测试时间用了5天,地点在天坛医院食堂2层礼堂。
如果是第一次来,确实有些会发怵,因为人多,场面显得很拥挤。
重要的是联系一些你认为技术力量好的单位进行测试,这样可以在测试用例的过程中通过率高一些,即便你自己有一些问题。
开始测试后,先搭建测试环境,包括本地IP的设置,程序相关设置等。
接下来就应该在网站上进入如下页面,点击你申报的系统,下边就列出当前系统中,你所申报的项目。
图4.1 选择申报系统 |
接下来就是开启测试Case了。
图4.2 开启测试用例 |
然后进入如下界面
图4.3 选择和你通过此用例的角色 |
接下来,就应该去联系这些角色对应的厂商,进行联合调试,如果没有问题,就可以提交用例。
万东所申报的是MOD-SWF,具体的测试用例如下
4.2.1SWF_MWL
检索条件包括了PatientName, Patient ID, Accession Number, Requested Procedure ID;
后台的检索的条件包括了:SPSStart Date, Modality, Scheduled Station AE Titile
4.2.2 SWF_MOD_IM
A.Simple Case
Accession Number
Study Instance UID
140 | N-Create PPS |
| N-CREATE PPS In-Progress from Modality to the IM. | O | |||
160 | C-Store |
| On the Modality, acquire images for this SPS. Store the images to the IM. | R | |||
170 | N-Set PPS |
| N-SET PPS Complete from the Modality to the IM. | R | |||
180 | N-Action |
| Storage Commitment N-ACTION from Modality to IM. | R | |||
200 | N-Event-Report |
| SC N-EVENT-REPORT from IM to Modality. (This is a message to capture on the Modality.) | R |
B. Unscheduled Case
Patient ID and Patient Name
Accession Number = NULL
Requested Procedure = NULL
Scheduled Procedure = NULL
280 | N-Create PPS |
| MPPS In-Progress from Modality to IM. | R | |||
300 | C-Store |
| On the Modality, acquire images and store them to the IM. | R | |||
320 | N-Set PPS |
| MPPS Complete from the Modality to the IM. (This is the message to capture on the IM.) | R |
C. Append-to-Normal Case
Performed Procedure Step ID is Different.
Study Instance UID, Study Date, Study Timeand Study Description is same.
00 | N-Create PPS |
| MPPS In-Progress from Modality to IM. | R | |||
520 | C-Store |
| On the Modality, acquire images for this SPS. Store the images to the IM. | R | |||
540 | C-Store |
| On the Modality, perform an additional Procedure Step that was not scheduled; acquire and store additional images to the IM. If the Modality cannot perform a different SPS, perform the first SPS a second time. (Some modalities may send another MPPS msg here.) | R | |||
560 | M-Set PPS |
| N-SET PPS Complete from the Modality to the IM. | R |
D. Abandoned Case
00 | N-Create PPS |
| N-CREATE PPS In-Progress from Modality to the IM. | R | |||
720 | C-Store |
| On the Modality, acquire images for this SPS. Store the images to the IM. | R | |||
740 | N-Set PPS |
| N-SET PPS DISCONTINUED from the Modality to IM. (This is the message to capture on the IM.) | R |
4.2.3SWF_modality_IM_Interface
Append Case
50 | N-Create PPS |
| MPPS In-Progress from Modality to IM. | R | |||
60 | C-STORE |
| On the Modality, acquire images for this SPS. Store the images to the IM. | R | |||
70 | C-STORE |
| On the Modality, perform an additional Procedure Step that was not scheduled; acquire and store additional images to the IM. If the Modality cannot perform a different SPS, perform the first SPS a second time. (Some modalities may send another MPPS msg here.) | R | |||
80 | N-Set PPS |
| N-SET PPS Complete from the Modality to the IM. | R | |||
90 | N-Action |
| Storage Commit N-ACTION from the Modality to the Image Manager. | R | |||
100 | N-Event-Report |
| Storage Commit N-EVENT-REPORT from the Image Manager to the Modality | R | |||
比4.4.5中的测试用例多存储确认; |
Abandon Case
230 | C-Find |
| -- | Modality queries the RIS Mall (DSS/OF) for worklist | R | ||
比4.4.5中的abandon多此步骤 | |||||||
240 | N-Create PPS |
| Modality selects the correct item off the worklist, starts the procedure and sends MPPS N-CREATE to the Image Manager. | R | |||
250 | C-STORE |
| Modality starts sending images to the Image Manager. | R | |||
260 | N-Set PPS |
| Modality abandons the procedure before it is complete and sends MPPS N-SET DISCONTINUED to the Image Manager . | R |
4.2.4SWF_OF_MODALITY_INTERFACE
这里的角色是Modality和OF,
AWorklist检索
A.1 对worklist的sps时间段,Modality,AE Title的过滤
A.2 病人姓名,病人ID,流水号(AccessionNumber),请求程序ID(Requested Procedure ID)
BUn-Scheduled Case
发送的MPPS必须包括:
Patient ID
Study Instance UID – 从设备上产生的
Procedure Code Sequence = NULL
Scheduled Step Attributes Sequence: = NULL
> Referenced Study Sequence
> Accession Number
> Requested Procedure Description
> Requested Procedure ID
> SPS Description
> Scheduled Procedure Code Sequence
> SPS ID
50 | C-Find | MWL Response | Modality queries the DSS/OF for worklist. | R | |||
60 | N-Create PPS |
| Modality selects the correct item off the worklist, starts the procedure, and sends MPPS N-CREATE to the DSS/OF. | R | |||
70 | C-STORE |
| -- | Modality collects images and stores them to the CENTRAL_ARCHIVE or an Image Manager. This step is not evaluated in this test. | R | ||
80 | N-Set PPS |
| Modality completes the procedure and sends MPPS N-SET COMPLETED to the DSS/OF. | R |
120 | N-Create PPS |
| Modality sends MPPS In Progress to DSS/OF. | R | |||
130 | NULL |
|
| -- | -- | Verify on the DSS/OF that a RP/SPS has been created for this procedure using the modality-provided Study Instance UID. | R |
140 | C-STORE |
| -- | Modality stores images to the CENTRAL_ARCHIVE or an Image Manager. This step is not evaluated in this test. | R | ||
150 | N-Set PPS |
| Modality completes the procedure and sends MPPS N-SET COMPLETED to the DSS/OF. | R |
4.2.5 SWF_SPS_PPS_CASES
180 | N-Create PPS |
| N-CREATE PPS In-Progress from Modality to the IM. | R | |||
200 | N-Create PPS |
| N-CREATE PPS In-Progress forwarded from the IM (PPS Mgr) to the DSS/OF. | R | |||
220 | C-Store |
| On the Modality, acquire images for this SPS. Store the images to the IM. | R | |||
240 | N-Set PPS |
| N-SET PPS Complete from the Modality to the IM (PPS Mgr). | R | |||
260 | N-Set PPS |
| N-SET PPS Complete forwarded from the IM (PPS Mgr) to the DSS/OF. | R |
380 | N-Create PPS |
| MPPS In-Progress from Modality to IM. | R | |||
420 | C-Store |
| On the Modality, acquire images and store them to the IM. | R | |||
440 | N-Set PPS |
| MPPS Complete from the Modality to the IM. (This is the message to capture on the IM.) | R |
640 | N-Create PPS |
| MPPS In-Progress from Modality to IM. | R | |||
700 | C-Store |
| On the Modality, acquire images for this SPS. Store the images to the IM. | R | |||
740 | C-Store |
| On the Modality, perform an additional Procedure Step that was not scheduled; acquire and store additional images to the IM. If the Modality cannot perform a different SPS, perform the first SPS a second time. (Some modalities may send another MPPS msg here.) | R | |||
760 | N-Set PPS |
| N-SET PPS Complete from the Modality to the IM. | R |
920 | N-Create PPS |
| N-CREATE PPS In-Progress from Modality to the IM. | R | |||
940 | C-Store |
| On the Modality, acquire images for this SPS. Store the images to the IM. | R | |||
960 | N-Set PPS |
| N-SET PPS DISCONTINUED from the Modality to IM. (This is the message to capture on the IM.) | R |
参加完IHE(2012.312-2012.3.16)MOD SWF 注册之后
实际的执行过程中,只要过SWF_MOD_IM后,SWF_madality_IM_Interface即可以通过。
只要SWF_SPS_PPS_CASES通过之后,SWF_OF_Modality_Interface就可以通过。
对于设备的角色来说,其实整个SWF就只要完成一个SWF_SPS_PPS_CASES,基本上就可以全部通过。
4.2.6 一点感想
1 整体来看,配置一定要做好,因为现场要加入不同的厂商的配置,如果不能灵活的切换,那么,会使你的工作很忙乱。
2 写好日志。这些日志,最好可以以单独的测试用例号来进行命名。EBM的日志系统做的很不错。
3 要帮助别人,别人也会帮助你。
4.2.7 一点收获
4.2.7.1 Accession Number和Patient ID的翻译
督查说Accession Number应当翻译成“检查号”,和当前的一序列检查相对应,Accession Number用来标识当前的医生预订的一次检查。一般来说
这个号应当打印到单据上。
Patint ID翻译成“病案号”,当前的病案下,可以包含多个检查。
4.2.7.2 Series生成规则
问了ebm一台湾的开发人员,Series可以说是“一次检查”,而Study可以描述成“一个序列的检查”;
不同的设备上的Series生成规则也不是很相同,比如CT可以用检查的身体部位来区分,也可以用增强和非增强来区分。
而且这些区分还和后处理有关系,CT中,图像处理参数一定是一个Series应用一组。而在RF中,可以一个Series会有几个序列的Image,一组后处理算法参数是应用到
Image上。
所以,不同的设备上生成的规则不尽相同,这样,就要根据一些原则,来自行设计。