简体   繁体   English

HL7段-消息类型与段

[英]HL7 Segment - Message type Vs segments

Are there any restrictions on the Segments that should be used for a Specific message type? 对特定消息类型应使用的细分是否有任何限制? For Ex: If I have to create a sample HL7 ADT^A05 or REF message.. Can I include any segment that I like, or HL7 has some rules defined to choose the segments for specific message type? 例如:如果我必须创建示例HL7 ADT ^ A05或REF消息。我可以包括我喜欢的任何段,还是HL7定义了一些规则来选择特定消息类型的段?

Is the below Hl7 Message correct? 以下Hl7消息正确吗?

MSH|^~&|DASH|DASH-GCD|CentralLogic|COCXXX|20130730183557||REF^I12|20130730183339|P|2.3.1|||AL|AL
PID|0||26||Test^Patient^^^||19950115|M|||||Phone#^Email||||||SSN#|PD1|||||PCP FName^LName|RF1|Pending|Patient ETA|Direct Admit|Doc-to-Doc|Critical|Admission#||||Note Info|PRD|RP|Smith^Ken^|1600 Medical Center Way^^Eureka^CA^95521||(707)555-5555||NPI#PRD|RT|Pacific Heart Group^Physician Name|Admitting Facility Name||(707)444-8300
NUP|Bed Location|Bed StatusIN1|1|||Insurance Company Name|Patient Gr ID|Patient Member ID||||||||IN2|Insured’s Employee ID|Insured’s Social Security Number|Insured’s Employer Name|OBX|1|CE|1010.1^BODY WEIGHT||154|LBOBX|2|CE|1010.1^HEIGHT||75|INDG1|1|I9|786.59|Chest pain||DG1|2|I9|794.31|Sun Burn||AL1|1|DRUG|Codeine|AL1|2|DRUG|PCN|RXO|CE|Albuterol 2.5 mg via Ben q6h prn sob||||||ODT|CE||Test Instruction

1. HL7 defines sets of messages and recommended segments. 1. HL7定义消息集和建议的句段。 Exact valid form depends on the HL7 conformance profile that your and the-other system support. 确切的有效格式取决于您和其他系统支持的HL7一致性配置文件

For an example of conformance profiles and some tool to use it see eg http://hl7api.sourceforge.net/conformance.html 有关一致性配置文件和使用它的工具的示例,请参见例如http://hl7api.sourceforge.net/conformance.html

2. For list of conceptually valid segments in particular messages check appropriate version of the HL7 specification at http://www.hl7.org/implement/standards/product_brief.cfm?product_id=185 . 2.有关特定消息中概念上有效的段的列表,请访问http://www.hl7.org/implement/standards/product_brief.cfm?product_id=185检查HL7规范的适当版本。

In case of your message take a look at "HL7 Messaging Standard Version 2.3.1". 如果收到消息,请查看“ HL7 Messaging Standard版本2.3.1”。 For more up-to-date specification with better description look at "HL7 Messaging Standard Version 2.5" as this version is said to be (no proof available) most elaborate out of the HL7 2.x range. 有关最新的规范和更好的描述,请参阅“ HL7 Messaging Standard Version 2.5”,因为该版本(没有可用的证据)是HL7 2.x范围以外最详细的版本。

3. For conceptual overview of messages and their meaning and system-wide IHE integration profiles refer to recommendations provided by http://www.ihe.net/Technical_Frameworks/ 3.有关消息及其含义的概念概述以及系统范围的IHE集成配置文件,请参阅http://www.ihe.net/Technical_Frameworks/提供的建议

4. Useful piece of software that can help you diagnose/ validate basic HL7 structure is Inner Harbour Software's HL7Spy 4.可以帮助您诊断/ 验证基本HL7结构的有用软件Inner Harbor Software的HL7Spy

I'm not an expert just providing some links to get you started 我不是专家,只是提供一些链接来帮助您入门

There are restrictions defined by HL7 on the segment to use. HL7定义了要使用的段的限制。 That being said, your messages will also be defined by the data exchange needs of the systems you are interfacing, and for that you should develop a specification. 话虽如此,您的消息也将由您所连接的系统的数据交换需求来定义,为此,您应该制定一个规范。

The specification (conformance profile) would contain: 规范(一致性配置文件)将包含:

  • Message types (trigger events) 消息类型(触发事件)
  • Supported segment list for each trigger event 每个触发事件支持的细分列表
  • Supported fields 支持的领域
  • Suported codes for coded fields 编码字段的支持代码
  • Details about data semantic 有关数据语义的详细信息

This article explains what goes into a spec: http://caristix.com/blog/2013/02/hl7-survival-guide-chapter-6-hl7-interface-specifications/ . 本文介绍了规范的内容: http : //caristix.com/blog/2013/02/hl7-survival-guide-chapter-6-hl7-interface-specifications/ It gives several reference sources. 它提供了一些参考资料。

This will be helpful The segments list with their specification composites/fields. 这将很有帮助细分列表及其规范组合/字段。

http://www.mexi.be/documents/hl7/htindex.htm or this other one http://www.hosinc.com/products/interfaces/interface_documentation.htm http://www.mexi.be/documents/hl7/htindex.htm或其他http://www.hosinc.com/products/interfaces/interface_documentation.htm

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM