All, how would I create the following data in a QPD-3 field using HAPI:
number1^^^string&string1&string2

 

For example QPD 3.1 should be number 1,

QPD 3.4.1 should be string,

QPD 3.4.2 should be string1, and 

QPD 3.4.3 should be string 2.

 

I have the following code which allows me to set QPD 3.1, but that's it:

 

QPD qpd = pixMessage.getQPD(); 

            qpd.getMessageQueryName().getText().setValue("IHE PIX
Query");

            ID id = new ID(qpd.getMessage(), 0301);

            id.setValue(pixQueryInput.getGlobalPatientId());

            qpd.getUserParametersInsuccessivefields().setData(id);

            /*id.getExtraComponents().getComponent(3).

 
qpd.getField(3)[1].getExtraComponents().getComponent(0).setData(id);

            id.setValue("nsname");

 
qpd.getField(3)[4].getExtraComponents().getComponent(0).setData(id);

            id.setValue("uniId");

 
qpd.getField(3)[4].getExtraComponents().getComponent(1).setData(id);

            id.setValue("uniType");

 
qpd.getField(3)[4].getExtraComponents().getComponent(2).setData(id);*/

 

The commented out code is stuff that I tried...  Thanks!

 

Matthew Weaver
Technical Consultant
CGI Federal
12601 Fairlakes Circle
Fairfax, VA  22033
[EMAIL PROTECTED]
(703) 227 - 5678

Confidentiality Notice:
Proprietary/Confidential Information belonging to CGI and its affiliates
may be contained in this message. If you are not a recipient indicated
or intended in this message (or responsible for delivery of this message
to such person), or you think for any reason that this message may have
been addressed to you in error, you may not use or copy or deliver this
message to anyone else. In such case, you should destroy this message
and are asked to notify the sender by reply email.

 

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to