Hl7 2.3.1 and problem with demo

Discussion of open issues, suggestions and bugs regarding to (known as Delphi HL7) HL7 Components
mariusz.stefaniak
Posts: 8
Joined: Sat May 11, 2013 10:30 pm
Contact:

Re: Hl7 2.3.1 and problem with demo

Post by mariusz.stefaniak »

Hi there...

I worked out creating message with version 2.3.1 and as a result of my efforts I have the following

Code: Select all

MSH|^~\&|^LIS|^HIS|^ELAB|^HL7|20130614212201||ORM^O01|20130614210101|T|2.3.1|||AL|AL|POL|CP1250|PL
PID|1|75032107218^^^^PESEL|123456^PAT||Dean^John||19810612000000|F|||Walkers st.^^Portland^^63004||607288724
ORC|NW|6538^HIS|4567896500^ELAB|548^HIS|||^^^^^R||20111114091040|||589^Bazansky^Cris^^9716821^lek. med.^HIS|||||954^^HIS
OBR|1|6538^HIS||1^Complex blood test^ELAB^CBT||||||654^Kowalsky^Ann^^^^HIS||||20111114091230|^^^^^^4567896502
NTE|1|P|My comment
Now, I want to parse this message and get data from.
I use following code

Code: Select all

var
  msg : TdiORM_O01_231;
  x : string;
begin
  msg := TdiORM_O01_231.Create;
  msg.LoadFromFile(myFile);
My problem is, that I get only first, three lines of message (MSH, PID and ORC), without OBR and NTE lines.
In your example you use TdiORU_R01_xxx, but as I can read in you documentation this class is for results - not for orders.
My goal is to decode and use order information - how to get it?

I found some similar topic and solution was to download and install new version of component. It does not help. I use trial version 1.6.3.

regards
Mario
admin
Site Admin
Posts: 256
Joined: Sun Jun 05, 2011 8:06 pm

Re: Hl7 2.3.1 and problem with demo

Post by admin »

Hi,

Bug fixed.
Please download your setup file.

Best regards.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest