problem
-
- Site Admin
- Posts: 256
- Joined: Sun Jun 05, 2011 8:06 pm
Re: problem
Hi,
Each message contains its own version information.
Example is for HL7 v 2.2
MSH|^~\&|ABL735^ABL735 Operating Theatres|ABL735^ABL735 Operating Theatres|||20010516135518||ORU^R01|20010516135518|P^not present|2.2
You must use v2.2 component.
Each message contains its own version information.
Example is for HL7 v 2.2
MSH|^~\&|ABL735^ABL735 Operating Theatres|ABL735^ABL735 Operating Theatres|||20010516135518||ORU^R01|20010516135518|P^not present|2.2
You must use v2.2 component.
-
- Posts: 3
- Joined: Wed Jul 27, 2011 5:59 am
Re: problem
Attached and please find the picture.
Source codes:
var
msg : TdiORU_R01_26;
Patient : TdiPN_26;
MsgStr : AnsiString;
i : integer;
begin
MsgStr :=
'MSH|^~\&|ABL735^ABL735 Operating Theatres|ABL735^ABL735 Operating Theatres|||'+
'20010516135518||ORU^R01|20010516135518|P^not present|2.6' + #13 +
.......
msg := TdiORU_R01_26.Create;
msg.AsString := Msg; //Parse message
Complie info:
[Error] Unit1.pas(54): Undeclared identifier: 'TdiPN_26'
[Error] Unit1.pas(94): Incompatible types: 'String' and 'TdiORU_R01_26'
Source codes:
var
msg : TdiORU_R01_26;
Patient : TdiPN_26;
MsgStr : AnsiString;
i : integer;
begin
MsgStr :=
'MSH|^~\&|ABL735^ABL735 Operating Theatres|ABL735^ABL735 Operating Theatres|||'+
'20010516135518||ORU^R01|20010516135518|P^not present|2.6' + #13 +
.......
msg := TdiORU_R01_26.Create;
msg.AsString := Msg; //Parse message
Complie info:
[Error] Unit1.pas(54): Undeclared identifier: 'TdiPN_26'
[Error] Unit1.pas(94): Incompatible types: 'String' and 'TdiORU_R01_26'
- Attachments
-
- 1.JPG (44.39 KiB) Viewed 15758 times
-
- Site Admin
- Posts: 256
- Joined: Sun Jun 05, 2011 8:06 pm
Re: problem
Hi,
Each version has its own structure. Can not switch to another version, by changing only the version information.
Version 2.6 does not contains 'PN' Data Type.
Please download and install : http://www.delphihl7.com/download/DelphiHL7v22Trial.exe
Try compile with this.
Each version has its own structure. Can not switch to another version, by changing only the version information.
Version 2.6 does not contains 'PN' Data Type.
Please download and install : http://www.delphihl7.com/download/DelphiHL7v22Trial.exe
Try compile with this.
Who is online
Users browsing this forum: No registered users and 0 guests