OBX Observation value

Discussion of open issues, suggestions and bugs regarding to (known as Delphi HL7) HL7 Components
Post Reply
lucas.amiune
Posts: 25
Joined: Mon Oct 29, 2012 7:41 pm

OBX Observation value

Post by lucas.amiune »

Hi there,

I'm trying to save some RTF tags into OBX-5 field using HL7 version 2.3.1 on messages type ORU^R01, when I save the RTF tags into TdiNodeData.AsString it's all fine.
But when I try to save in TdiOBX_231.ObservationValue[0] the TdiNodeData appears with some character like '\E'

I would like to know if there is anyway to avoid this character to be inserted on my String.
========

i.e.
foo: TdiNodeData;
obx: TTdiOBX_231;

foo.AsString := '{\rtf1\par';
obx.ObservationValue[0] := foo; //<--- This foo value is '{\E\rtf\E\par'

Can someone help me?
admin
Site Admin
Posts: 256
Joined: Sun Jun 05, 2011 8:06 pm

Re: OBX Observation value

Post by admin »

Hi,
Please use Value property instead AsString property.

Best regards.
lucas.amiune
Posts: 25
Joined: Mon Oct 29, 2012 7:41 pm

Re: OBX Observation value

Post by lucas.amiune »

Thank you very much!

It Worked.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests