Page 1 of 1

Valid / check required segment

Posted: Tue Dec 04, 2018 8:00 pm
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.

Re: Valid / check required segment

Posted: Tue Dec 18, 2018 2:30 pm
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.