zoukankan      html  css  js  c++  java
  • hl7 v2.X 版本中RSP_K23消息的构造

    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
  • 相关阅读:
    黄宗禹9.11作业
    黄宗禹第一次作业
    9.11
    9.18
    计算平均速度
    圆的周长与面积
    JAVA 作业
    9.11
    9.25
    计算平均速度题
  • 原文地址:https://www.cnblogs.com/muzizongheng/p/3257599.html
Copyright © 2011-2022 走看看