Valid / check required segment

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

Valid / check required segment

Post by ppb » Tue Dec 04, 2018 8:00 pm

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: 216
Joined: Sun Jun 05, 2011 8:06 pm

Re: Valid / check required segment

Post by admin » Tue Dec 18, 2018 2:30 pm

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