Valid / check required segment

Discussion of open issues, suggestions and bugs regarding to (known as Delphi HL7) HL7 Components
Post Reply
ppb
Posts: 9
Joined: Sat Sep 08, 2012 11:09 am

Valid / check required segment

Post by ppb »

Hello everybody,

Is there any function or procedure to check the required segment in the library
According to HL7 standard when
Parsing a message ?
type : checkParserMessage( ORL_O22 , .......

Thank and best regards.
admin
Site Admin
Posts: 256
Joined: Sun Jun 05, 2011 8:06 pm

Re: Valid / check required segment

Post by admin »

Hi,

New version released : 1.7.10!

Best regards.
----------------------------------------------------

Dear users,

Besa Software is glad to release the new version 1.7.10

This version includes:
+ Added "ParserStatus" property to TBSHL7Message class.
+ Added "ParserMessage" property to TBSHL7Message class.

Code: Select all

var
  msg : TbsADT_A01_22;
begin
  msg := TbsADT_A01_22.Create;
  msg.AsHL7:= 'HL7 Message';
  
  // Check is successfully parsed.
  if msg.ParserStatus=False then
    ShowMessage(msg.ParserMessage);

  msg.Free;
end;
We're looking forward to your comments and suggestions.
Besa HL7 Team.
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests