|
From: Nico V. <ni...@sk...> - 2006-08-01 08:37:58
|
Hi, This is an issue that has been appearing a lot on this list ... I think it would indeed be a good idea to make the version with OBR the default ... since I think this is the one that will be used most (also for IHE). I'm afraid that the trick with the properties file can/will cause problems when MSH-9-3 (message structure) is populated since I don't think separate message structures like OMD_O01, OMN_O01 .. are defined in the hl7 standard. Regards Nico At 1/08/2006, Bravo Ruiz, Carlos wrote: >Content-class: urn:content-classes:message >Content-Type: multipart/alternative; > boundary="----_=_NextPart_001_01C6B53A.C8E44B49" > >Hello Davide (and all hapi developers): > >I have a similar problem, and I've solved it modifying the resource: > >ca/uhn/hl7v2/parser/eventmap/2.3.1.properties (2.3 in my case) > >...into the hapi .jar file. If you open the file, you'll see that there's >many property values for ORM_O01: > >... >... >ORM_O01 ORM_O01 >ORM_O01 OMD_O01 >ORM_O01 OMN_O01 >ORM_O01 OMS_O01 >ORM_O01 RDO_O01 > >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. > >To Bryan: I know this is not a solution. What would be the right way? > > > > >---------- >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|||Piazza >Rotonda >12^^039004^RA^48013^100||^^^mar...@is...^^^^^054634109012|||||BBNGNI43S61E335I^^^&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^Cesare >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 = (RDO_O01) in; >message.getRDO_O01_ORCRXONTERXRRXCNTEOBXNTEBLG(0).getRDO_O01_RXONTERXRRXCNTEOBXNTE().getRDO_O01_RXR(0)...... >and there's no the obr segment. > > > > > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share your >opinions on IT & business topics through brief surveys -- and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >_______________________________________________ >Hl7api-devel mailing list >Hl7...@li... >https://lists.sourceforge.net/lists/listinfo/hl7api-devel |