I am trying to build an SPQ_Q08 message to send to a third party data 
repository for return of data to be displayed in my web application. I am 
stumped on how to correctly build the Input Parameters List field of the SPQ 
segment.  Since the data type defined for this field is QIP and I have to pass 
multiple values in the query parameter list (@OBR22^<date and time stamp>[EMAIL 
PROTECTED]<person identifier>[EMAIL PROTECTED]<some value>,etc) I would like to 
know if anyone has any sample code that they could provide if they have 
experience with passing stored query parameters in this segment?  Also, when 
receiving the HL7 message back from the third party data repository their specs 
state that they will send a ERP_R09 message back with the information from the 
query.  However, besides the standard segments returned in the ERP_R09 message 
(MSH, MSA, [ERR],QAK, and ERQ) they are also going to send back a PID, 
PV1,[NTE],ORC,OBR,[NTE],OBX segments.  Once again from looking at the API docs 
I see
  that the ERP_R09 class already is defined to handle the MSH, MSA, ERR, QAK, 
and ERQ segments but not the PID, PV1, ORC, OBR, and OBX segments.  Am I going 
to need to create my own custom ERP_R09 message and include the additional 
segments that I am going to need.  Any examples or hints would be greatly 
appreciated.  Thanks..

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Hl7api-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to