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
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编码