|
From: Bravo R. C. <ES...@so...> - 2006-08-01 07:19:25
|
Hello Davide (and all hapi developers): =20 I have a similar problem, and I've solved it modifying the resource: =20 ca/uhn/hl7v2/parser/eventmap/2.3.1.properties (2.3 in my case) =20 ...into the hapi .jar file. If you open the file, you'll see that = there's many property values for ORM_O01: =20 ... ... ORM_O01 ORM_O01 ORM_O01 OMD_O01 ORM_O01 OMN_O01 ORM_O01 OMS_O01 ORM_O01 RDO_O01 =20 Just delete the properties that makes the parser choose a different = structure. I've only mantain the first one, because in my project the = applications only use ORM_O01 messages. =20 To Bryan: I know this is not a solution. What would be the right way?=20 =20 =20 =20 ________________________________ De: hl7...@li... en nombre de Davide = Antoni Enviado el: vie 28/07/2006 12:17 Para: hl7...@li... CC: Bryan Tripp Asunto: [HAPI-devel] OBR SEGMENT Hi. i have this message: MSH|^~\&|MMG|MMG000005|ECC|ITACA|20060727135003||ORM^O01|00000513|P|2.3.1= PID|||BBNGNI43S61E335I^^^CF|00010027|ABBANALE^GINA||19431121000000|F|||Pi= azza Rotonda 12^^039004^RA^48013^100||^^^mar...@is...^^^^^054634109012|||||BBN= GNI43S61E335I^^^&CF|839012438||||094023|||140104||100 PV1|||||||||||||||||||200607081155^^^MMG000005 ORC|NW|200607081155^MMG000005||200607081155^MMG000005|||1^QID QJ1\T\2100,2100,,\R\^^20060708+0100^20060716+0100||20060708115649|^Medico= ||00000001^Medico^Cesare||^^^^^^^^088 56754321|||MMG^Medico Di Famiglia OBR|1|200607081155^MMG000005||0000000001^Telemetria Pressoria||||||||||||^Medico^Cesare||ECC|||||||||^QID = QJ1\T\2100,2100,,\R\ ORC|NW|200607081155^MMG000005||200607081155^MMG000005|||||20060708115649|= ^Medico||00000001^Medico^Cesare||^^^^^^^^088 56754321|||MMG^Medico Di Famiglia OBR|2|200607081155^MMG000005||^AGRONOMO/A#Angolo Via della Ginestra, davanti alla Latteria#Badante peruviana : = Adelita#||||||||||||^Medico^Cesare ORC|NW|200607081155^MMG000005||200607081155^MMG000005|||||20060708115649|= ^Medico||00000001^Medico^Cesare||^^^^^^^^088 56754321|||MMG^Medico Di Famiglia OBR|3|200607081155^MMG000005||^Ricciotti#Giuseppe##3320919991#0551181812#= 2#||||||||||||^Medico^Cesare ORC|NW|200607081155^MMG000005||200607081155^MMG000005|||||20060708115649|= ^Medico||00000001^Medico^Cesare||^^^^^^^^088 56754321|||MMG^Medico Di Famiglia OBR|4|200607081155^MMG000005||^Lattanzio#Aurelio##3291910012#0558261761#|= |||||||||||^Medico^Cesare ORC|NW|200607081155^MMG000005||200607081155^MMG000005|||||20060708115649|= ^Medico||00000001^Medico^Cesare||^^^^^^^^088 56754321|||MMG^Medico Di Famiglia OBR|5|200607081155^MMG000005||^75.0#180.0#||||||||||||^Medico^Cesare ORC|NW|200607081155^MMG000005||200607081155^MMG000005|||||20060708115649|= ^Medico||00000001^Medico^Cesare||^^^^^^^^088 56754321|||MMG^Medico Di Famiglia OBR|6|200607081155^MMG000005||^100#150#100#50#90#50#||||||||||||^Medico^C= esare ORC|NW|200607081155^MMG000005||200607081155^MMG000005|||||20060708115649|= ^Medico||00000001^Medico^Cesare||^^^^^^^^088 56754321|||MMG^Medico Di Famiglia OBR|7|200607081155^MMG000005||^Via Emilia 33 Cerignola#088 56754321#3368919991#ces...@ho...#Cerignola#null#||||||||||||^= Medico^Cesare ORC|NW|200607081155^MMG000005||200607081155^MMG000005|||||20060708115649|= ^Medico||00000001^Medico^Cesare||^^^^^^^^088 56754321|||MMG^Medico Di Famiglia OBR|8|200607081155^MMG000005||^Chirurgia Plastica#Luned?, mercoled?,gioved? : 16-19:30 venerd? : 10-12:30#null#||||||||||||^Medico^Cesare ORC|NW|200607081155^MMG000005||200607081155^MMG000005|||||20060708115649|= ^Medico||00000001^Medico^Cesare||^^^^^^^^088 56754321|||MMG^Medico Di Famiglia OBR|9|200607081155^MMG000005||^Farmaco 1 : Nome NORVASC 5 MG#Farmaco 1 : Orario 0900#Farmaco 1 : Dosaggio 1#Farmaco 2 : Nome CARDIOASPIRINIA#Farmaco 2 : Orario 1300#Farmaco 2 : Dosaggio 1#Farmaco 3 : Nome TRENTAL 600 MG#Farmaco 3 : Orario 2100#Farmaco 3 : Dosaggio 1#||||||||||||^Medico^Cesare ORC|NW|200607081155^MMG000005||200607081155^MMG000005|||||20060708115649|= ^Medico||00000001^Medico^Cesare||^^^^^^^^088 56754321|||MMG^Medico Di Famiglia OBR|10|200607081155^MMG000005||^Farmaco 4 : Nome MODURETIC#Farmaco 4 : Orario #Farmaco 4 : Dosaggio AL BISOGNO#Farmaco 5 : Nome #Farmaco 5 : Orario #Farmaco 5 : Dosaggio #Farmaco 6 : Nome #Farmaco 6 : Orario #Farmaco 6 : Dosaggio #||||||||||||^Medico^Cesare ORC|NW|200607081155^MMG000005||200607081155^MMG000005|||||20060708115649|= ^Medico||00000001^Medico^Cesare||^^^^^^^^088 56754321|||MMG^Medico Di Famiglia OBR|11|200607081155^MMG000005||^#||||||||||||^Medico^Cesare ORC|NW|200607081155^MMG000005||200607081155^MMG000005|||||20060708115649|= ^Medico||00000001^Medico^Cesare||^^^^^^^^088 56754321|||MMG^Medico Di Famiglia OBR|12|200607081155^MMG000005||^POLLINI#FANS#01-TRAPIANTO CUORE##01-CARDIOPATIA#01-CARDIOPATIA#||||||||||||^Medico^Cesare The parser recognize this message as RDO_O01 how to for retrive the OBR Segment of this message i use hapy 0.4.2 RDO_O01 message =3D (RDO_O01) in; message.getRDO_O01_ORCRXONTERXRRXCNTEOBXNTEBLG(0).getRDO_O01_RXONTERXRRXC= NTEOBXNTE().getRDO_O01_RXR(0)...... and there's no the obr segment. |