简体   繁体   English

难以理解hL7数据元素

[英]Trouble grabbing understanding data elements hL7

I am having a brain freeze for some reason understanding an HL7 concept. 由于某种原因,我因理解HL7概念而无法动脑。 And would appreciate some assistance. 并希望得到一些帮助。 Basically I need to grab data from the 9th component of a PID 3 and I don't have a sample message. 基本上,我需要从PID 3的第9个组件中获取数据,并且没有示例消息。

Per the HL7 SPEC (for version 2.5.1 this PID-3 is of type CX and is composed of 10 components. PID-3.1.9 (9TH component of this field is of type CWE which according to the spec has 10 elements). Is this the same thing as a subcomponent? 根据HL7 SPEC(对于2.5.1版,此PID-3为CX类型,由10个组件组成。PID-3.1.9(此字段的9TH组件为CWE类型,根据规范,该组件具有10个元素)。这和子组件一样吗?

If I have a field lets say PID-3.9 (meaning the 9th component of the third field of the pid segment) and I wanted to access/reference by name all the parts to that 9th component is this how it the hl7 message would look? 如果我有一个字段,可以说PID-3.9(表示pid段第三个字段的第9个组件),并且我想按名称访问/引用该第9个组件的所有部分,这是hl7消息的外观吗?

PID|1|||^^^^^^^^ MIA&ATL&CVG&DFT&CUN&DTW&BWI&JFK ^ PID | 1 |||| ^^^^^^^^^ MIA&ATL&CVG&DFT&CUN&DTW&BWI&JFK ^

First of all, I want to suggest that use HL7 2.x parser for message / field addressing. 首先,我想建议使用HL7 2.x解析器进行消息/字段寻址。 You can use HAPI Test Panel: 您可以使用HAPI测试面板:

HAPI (pronounced "happy") is a Java-based HL7 2.x parser with support for traditional (ER7) and XML encoding. HAPI(发音为“ happy”)是基于Java的HL7 2.x解析器,支持传统(ER7)和XML编码。 HL7 (www.hl7.org ) is a messaging standard for healthcare information systems. HL7(www.hl7.org)是医疗保健信息系统的消息传递标准。

You can reach and install HAPI Test Panel at http://hl7api.sourceforge.net/hapi-testpanel/install.html 您可以通过以下网址访问并安装HAPI测试面板: http://hl7api.sourceforge.net/hapi-testpanel/install.html

Sample view of HAPI Test Panel and subcomponents of PID-3-9 HAPI测试面板和PID-3-9子组件的示例视图

HAPI测试面板和PID-3-9子组件的示例视图

With HAPI Test Panel you can see data types of components or subcomponents. 使用HAPI测试面板,您可以查看组件或子组件的数据类型。

Here is the sample message for HL7 v2.5.1: You can find PID-3-9[1-9] in this message. 这是HL7 v2.5.1的示例消息:您可以在此消息中找到PID-3-9 [1-9]。

MSH|^~\&|NES|NINTENDO|TESTSYSTEM|TESTFACILITY|20010101000000||ADT^A04|Q123456789T123456789X123456|P|2.5.1
EVN|A04|20010101000000|||^KOOPA^BOWSER^^^^^^^CURRENT
PID|1||123456789^^^^^^^^PID3.9.1&PID3.9.2&PID3.9.3&PID3.9.4&PID3.9.5&PID3.9.6&PID3.9.7&PID3.9.8&PID3.9.9^^^^^|0123456789^AA^^JP|BROS^MARIO^^^^||19850101000000|M|||123 FAKE STREET^MARIO \T\ LUIGI BROS PLACE^TOADSTOOL KINGDOM^NES^A1B2C3^JP^HOME^^1234|1234|(555)555-0123^HOME^JP:1234567|||S|MSH|12345678|||||||0|||||N
NK1|1|PEACH^PRINCESS^^^^|SO|ANOTHER CASTLE^^TOADSTOOL KINGDOM^NES^^JP|(123)555-1234|(123)555-2345|NOK|||||||||||||
NK1|2|TOADSTOOL^PRINCESS^^^^|SO|YET ANOTHER CASTLE^^TOADSTOOL KINGDOM^NES^^JP|(123)555-3456|(123)555-4567|EMC|||||||||||||
PV1|1|O|ABCD^EFGH^|||^^|123456^DINO^YOSHI^^^^^^MSRM^CURRENT^^^NEIGHBOURHOOD DR
NBR^|^DOG^DUCKHUNT^^^^^^^CURRENT||CRD|||||||123456^DINO^YOSHI^^^^^^MSRM^CURRENT^^^NEIGHBOURHOOD DR
NBR^|AO|0123456789|1|||||||||||||||||||MSH||A|||20010101000000
IN1|1|PAR^PARENT||||LUIGI
IN1|2|FRI^FRIEND||||PRINCESS

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

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