HL7协议的使用和相关参考资料整理

HL7培训资料:
https://max.book118.com/html/2017/1029/138154158.shtm
基于websocket的HL7教程:
https://saravanansubramanian.com/hl7tutorials/
HL7 java api:
https://hapifhir.github.io/hapi-hl7v2/
HL7工具:
HL7Spy
7Edit

相关博客:
HL7 V2和V3标准和实现指南:
https://blog.csdn.net/muzizongheng/article/details/10134553

EBS开源项目中关于HL7的实现
https://github.com/wso2/micro-integrator

https://github.com/wso2/micro-integrator/tree/master/components/mediation/inbound-endpoints/org.wso2.micro.integrator.inbound.endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/protocol/hl7

https://www.programcreek.com/java-api-examples/?code=wso2%2Fmicro-integrator%2Fmicro-integrator-master%2Fcomponents%2Fmediation%2Finbound-endpoints%2Forg.wso2.micro.integrator.inbound.endpoint%2Fsrc%2Fmain%2Fjava%2Forg%2Fwso2%2Fcarbon%2Finbound%2Fendpoint%2Fprotocol%2Fhl7%2Futil%2FHL7MessageUtils.java#

HL7Spy使用:
https://blog.csdn.net/bdb1018/article/details/106237819

其他解析相关博客:
https://www.programcreek.com/java-api-examples/?api=ca.uhn.hl7v2.model.Message

分段符号和数据类型(HL7体系入门级介绍):
https://blog.csdn.net/hhj240251352/article/details/79927667?spm=1001.2014.3001.5501

HL7 v2 消息类型
http://www.neohope.com/category/specification/hl7/

hl7消息解析
https://blog.csdn.net/TianKongShuLovey/article/details/114580134

HL7在线解析:
https://hl7messageparser.azurewebsites.net/Parse/ParseView

解析项目:
https://github.com/search?q=hl7解析

java mvnrepository

<!-- https://mvnrepository.com/artifact/ca.uhn.hapi/hapi-base -->
<dependency>
    <groupId>ca.uhn.hapi</groupId>
    <artifactId>hapi-base</artifactId>
    <version>2.3</version>
</dependency>


解析工具
<dependency>
    <groupId>ca.uhn.hapi</groupId>
    <artifactId>hapi-structures-v26</artifactId>
    <version>2.3</version>
</dependency>

hl7 v2在socket通讯中应该注意的问题:

1.hl7 v2在socket通讯时,是需要有起始及结束字符的

  • 起始字符为0x0b
  • 结束字符为0x1c 0x0d

2.正确处理换行

  • 要将\r\n改为\r(0x0d)

  • 单独的\n也替换为\r(0x0d)

3.同一socket收发信息,可以用msgid作为区分
4.因为utf-8的通用性及其编码规则比较适合网络传输,所以可以采用utf-8编码

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值