RSP_K23消息有MSH, MSA, ERR, QAK, QPD, PID几个segment,其中ERR,PID为可选。
1. 当MSA有err时,ERR段填充出错的详细信息。
2. 当MSA为AA,QAK为Ok时,PID不为空; 否则,PID应为空
3. 当MSA有err时, QAK的response status应为AE / AR
4. 当Q23请求的消息中Wanted return domain为空时, k23返回的Patient Id List不应包含Q23中请求时的PID
5. K23返回的消息中PID-6, PID-9即Mother‘s Maiden Name和Patient Alias 应为空;PID-5即Patient Name的第2个实例的Name Type Code应为S, 代表Coded Pseudo-Name to ensure anonymity;
正确消息:
MSH|^~\&|IHE PIX Manager|UIH|NIST_Hydra_PIX_Consumer|NIST|20130810082517||RSP^K23^RSP_K23|IHE PIX Manager-20130810082517-1|P|2.5||||||UNICODE UTF-8
MSA|AE|NIST-20130810082516
ERR|||204^UnknownKeyIdentifier^^^Patient Id is not exist|E
QAK|QRY12434188486468|AE
QPD|Q23^IHE PIX Query|QRY12434188486468|HC-352^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO|^^^NIST2010-2&2.16.840.1.113883.3.72.5.9.2&ISO
错误消息1 :
MSH|^~\&|IHE PIX Manager|UIH|NIST_Hydra_PIX_Consumer|NIST|20130810082517||RSP^K23^RSP_K23|IHE PIX Manager-20130810082517-1|P|2.5||||||UNICODE UTF-8
MSA|AE|NIST-20130810082516
ERR|||204^UnknownKeyIdentifier^^^Patient Id is not exist|E
QAK|QRY12434188486468|AE
QPD|Q23^IHE PIX Query|QRY12434188486468|HC-352^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO|^^^NIST2010-2&2.16.840.1.113883.3.72.5.9.2&ISO
***PID|||||^^^^^^L~^^^^^^S|^^^^^^L~^^^^^^S|||^^^^^^L~^^^^^^S***
错误消息2:
MSH|^~\&|IHE PIX Manager|UIH|NIST_Hydra_PIX_Consumer|NIST|20130810082517||RSP^K23^RSP_K23|IHE PIX Manager-20130810082517-1|P|2.5||||||UNICODE UTF-8
MSA|AE|NIST-20130810082516
ERR|||204^UnknownKeyIdentifier^^^Patient Id is not exist|E
QAK|QRY12434188486468|***NF***
QPD|Q23^IHE PIX Query|QRY12434188486468|HC-352^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO|^^^NIST2010-2&2.16.840.1.113883.3.72.5.9.2&ISO
错误消息3:
MSH|^~\&|IHE PIX Manager|UIH|NIST_Hydra_PIX_Consumer|NIST|20130810082517||***ACK***^K23^RSP_K23|IHE PIX Manager-20130810082517-1|P|2.5||||||UNICODE UTF-8
MSA|AE|NIST-20130810082516
ERR|||204^UnknownKeyIdentifier^^^Patient Id is not exist|E
QAK|QRY12434188486468|AE
QPD|Q23^IHE PIX Query|QRY12434188486468|HC-352^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO|^^^NIST2010-2&2.16.840.1.113883.3.72.5.9.2&ISO
- 前言
- HL7 Tools suite
- HL7 Event Type
- HL7 ADT Message Sample
- IHE-PIX 备注
- HL7 V2 分隔符
- 有关HL7 的C# 源码
- Pix mesa 自动化测试
- hl7 V2中Message Control ID的含义及应用
- hl7消息中和时间有关的字段的格式
- hl7中V2版本的ACK消息的构造
- hl7 v2.X 版本中RSP_K23消息的构造
- HL7及PIX相关的测试工具
- HL7 标准及实现指南 必看的网址
- IHE 官方网址有用资源介绍
- PIX v2版本中Query 失败时, ERR段的构造
- AspNet WebApi 中应用fo-dicom抛出异常:No codec registered for tranfer syntax:
- DicomIoException: Requested 132 bytes past end of fixed length stream.