Different message types supported?

67 views
Skip to first unread message

Iaam Onkara

unread,
May 3, 2017, 1:00:38 PM5/3/17
to ruby-hl7
Hi 


What are the different message types supported by ruby-hl7? I am interested in 

ADT - this is very basic need, but can't find any examples/code in the repo
BAR -?
OMI -?
ORU - seems like its supported

Thanks,
Onkara

Christian Pennaforte

unread,
May 4, 2017, 6:19:10 AM5/4/17
to ruby...@googlegroups.com
Hi Onkara,

The segments I've got are (on my fork, see others too) : 

➜  ruby-hl7 git:(master) ls lib/segments 
aig.rb cwe.rb err.rb hd.rb  msh.rb nte.rb obx.rb oru.rb pv1.rb qrd.rb rgs.rb sft.rb xpn.rb
ail.rb cx.rb  evn.rb msa.rb nk1.rb obr.rb orc.rb pid.rb pv2.rb qrf.rb sch.rb spm.rb zvi.rb

But you can describe your missing segments too, just add a class in lib/segments.

Regards,
-- 
Christian

--
You received this message because you are subscribed to the Google Groups "ruby-hl7" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-hl7+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Iaam Onkara

unread,
May 4, 2017, 11:40:00 AM5/4/17
to ruby-hl7
Hi Christian,

It seems to consume ADT message I need these segments https://datica.com/academy/hl7-201-the-admission-discharge-transfer-adt-message/  supported. For OBX messages there are other segments still researching ...

Regards,
Onkara

Iaam Onkara

unread,
May 4, 2017, 11:08:24 PM5/4/17
to ruby-hl7
Even though messages are composed of segments but message type and events are equally important. 

But I don't see any reference of events or message types in ruby-hl7 gem? 

Christian Pennaforte

unread,
May 5, 2017, 4:53:32 AM5/5/17
to ruby...@googlegroups.com
In the gem, there are the basic segments for an ADT message (MSH, PID, EVN...) and their fields.
Maybe looking at ruby-hl7/lib/test/hl7_messages.rb can help you figure out how to use these ?

Regards,
-- 
Christian
Reply all
Reply to author
Forward
0 new messages