From: <va...@po...> - 2005-04-21 17:53:37
|
I=92ve a problem to create the message QBP^Q23 like specified in the HL7 = 2.5 documentation. The message to create is : =20 MSH|^&~\|CLINREG|WESTCLIN|HOSPMPI|HOSP|199912121135-0600||QBP^Q23^QBP_Q21= |1| D|2.5 QPD|Q23^Get Corresponding IDs^HL7nnnn|111069|112234^^^METRO HOSPITAL|^^^WESTCLINIC~^^^SOUTH LAB| RCP||I| =20 The problem is that the QPD segment have only 3 fields. =20 1. Message Query Name (CE) 2. QueryTag (ST) 3. UserParametersInsuccessivefields (Varies) =20 =20 Then to add the value in the QPD-3 (112234^^^METRO HOSPITAL), I do the following: =20 QPD qpd; CX personIdentidier =3D new CX(); personIdentidier.getIDNumber().setValue(patientId); personIdentidier.getAssigningAuthority().getNamespaceID().setValue(this.p= ati entIdAssigningAuthority); qpd.getUserParametersInsuccessivefields().setData(personIdentidier); =20 But how I can add the QPD-4 (|^^^WESTCLINIC~^^^SOUTH LAB) like required = in the HL7 documentation? =20 Can you help me please? =20 Micha=EBl Vastrat Solution Architect Polymedis s.a. TVA: BE 0862.454.516 RPM Mons Parc Initialis - rue Descartes, 2 B-7000 Mons T=E9l.: +32(0) 65321598 www.polymedis.com =20 |