Hi Alessandro,
hmm ... looks like one of the frequently asked questions on this forum ;-)
As you can see in the HL7 standard doc, the RSP^K22 event uses the
RSP_K21 message structure, so you should use the HAPI RSP_K21 message
structure class.
Hope this helps.
Kind Regards
Nico
At 20/11/2008, alessandro wrote:
>Hallo all
>
>I'm writing code for the messages: QBP^Q22 (Find Candidates) and the
>response RSP^K22 (Find candidates response) in ver2.5
>
>unfortunately this messages are not implemented in the package
>ca.uhn.hl7v2.model.v25.message.*
>
>for the QBP^Q22 I don't have problem, I used the class
>ca.uhn.hl7v2.model.v25.message.QBP^Qnn
>and I did like this for the segment QPD:
>...
>terser.set("QPD-1-1","Q22");
>terser.set("QPD-1-2","Find Candidates");
>terser.set("QPD-1-3","HL7v2.5");
>...
>and for the User Parameters (in succesive fields)
>terser.set("QPD-3-1",@PID.5.1=DYLAN);
>terser.set("QPD-4-1",@PID.5.2=BOB);
>...
>
>For his response RSP^K22 (Find candidates response) there is the problem.
>
>Maybe someone has an implementation of the class v25.message.RSP^K22
>or maybe have solved the problem to parse this RSP^K22
>
>thanks in advance
>Alex DP
>
>
>
>
>
>
>-------------------------------------------------------------------------
>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>Build the coolest Linux based applications with Moblin SDK & win great prizes
>Grand prize is a trip for two to an Open Source event anywhere in the world
>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>_______________________________________________
>Hl7api-devel mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/hl7api-devel
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Hl7api-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel