Changes between Version 1 and Version 2 of LEGACY - i2b2 - Importing data via web services
- Timestamp:
- 10/27/11 16:17:23 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
LEGACY - i2b2 - Importing data via web services
v1 v2 1 In an ideal world (as far as I can imagine it), we would be able to throw a PDO at a URL and have it import the data to i2b2. If we have to have some kind of middleware layer or a bespoke i2b2 cell for this is an open question. In the first instance we just need to be able to talk to i2b2 with a web service.1 In an ideal world (as far as I can imagine it), we would be able to throw a PDO at a URL and have it import the data to i2b2. This would allow us to import from the many different systems that BRISSKit will entail in a relatively simple way. If we have to have some kind of middleware layer or a bespoke i2b2 cell for this is an open question. In the first instance we just need to be able to talk to i2b2 with a web service... 2 2 3 Both the workbench and the web client talk to i2b2 with web services. Each message consists of a standard xml file with well defined headers containing all the metadata, then any PDOs are included in the body of the xml file. Different parts seem to be able to talk directly with different cells - so the ontology tree display talks with the ontology cell etc. 3 Inter-cell communication is done (almost) exclusively with web services as described in https://www.i2b2.org/software/files/PDF/current/MessageWrapper.pdf From what I understand, each message consists of a standard xml file with well defined headers containing all the metadata, then any PDOs are included in the body of the xml file. 4 5 Both the workbench and the web client talk to i2b2 with these web services. Different parts seem to be able to talk directly with different cells - so the ontology tree display talks with the ontology cell etc. 4 6 5 7 The web client is written completely in Javascript so it is entirely client-side code. In theory picking it apart would give us a rough idea of how messages are passed to/from i2b2. It is difficult to understand however... 6 8 7 The workbench works in a similar way, but written in Java. 9 The workbench works in a similar way, but written in Java. I think Jeff is going to have a look at this in the future. 8 10 9 Clearly other groups have got on top of this as they have lots of data in i2b2. 11 Clearly other groups have got on top of this as they have lots of data in i2b2, by lots I mean literally millions of patients! 12 10 13 11 14 There are a few projects around that look like they might be helpful in pointing us in the right direction. 12 15 13 * http://code.google.com/p/o2i2b2/ 14 * http://orbit.nlm.nih.gov/resource/r-engine-cell-integrating-r-i2b2-software-infrastructure 16 * http://informatics.kumc.edu/work/wiki/HERON - This is mostly SQL INSERTs (I think). 17 * http://code.google.com/p/o2i2b2/ - Apparently a framework for porting data into i2b2. All Java code I don't understand. 18 * http://orbit.nlm.nih.gov/resource/r-engine-cell-integrating-r-i2b2-software-infrastructure - i2b2 cell that communicates with R to do analysis on. The cell is written in Java. 19 * From Google groups: "We are working of a web application that will port data from REDCap to i2b2 via a CDISC ODM intermediate. We expect to be able to demonstrate this in early November. - Jim Gregoric Children's Hospital Boston" 20 * http://www.google.co.uk/url?sa=t&rct=j&q=%20erlangen%20i2b2&source=web&cd=3&ved=0CCoQFjAC&url=http%3A%2F%2Fwww.imi.med.uni-erlangen.de%2F~matesn%2Fi2b2%2520OntoImport%2520Suite%2Fi2b2%2520AUG%25202011%2520Poster.pdf&ei=DXWpTsS4KZLG8QPP1oWJDA&usg=AFQjCNEx-xCRWqyp3h-VHHtbvFQrR2xUOg&sig2=gKsATDlAJNK1FIbD05A6iQ - Another group using SQL INSERTs to put millions of bits of data in.