li2b2 : server

This project emulates the core components of an i2b2 server backend. Basic functionality of PM, CRC, ONT and WORK cells allows the official i2b2 webclient to connect ot this emulated server.

License

License

GroupId

GroupId

de.li2b2.facade
ArtifactId

ArtifactId

li2b2-server
Last Version

Last Version

0.8
Release Date

Release Date

Type

Type

jar
Description

Description

li2b2 : server
This project emulates the core components of an i2b2 server backend. Basic functionality of PM, CRC, ONT and WORK cells allows the official i2b2 webclient to connect ot this emulated server.
Project Organization

Project Organization

R.W.Majeed

Download li2b2-server

How to add to project

<!-- https://jarcasting.com/artifacts/de.li2b2.facade/li2b2-server/ -->
<dependency>
    <groupId>de.li2b2.facade</groupId>
    <artifactId>li2b2-server</artifactId>
    <version>0.8</version>
</dependency>
// https://jarcasting.com/artifacts/de.li2b2.facade/li2b2-server/
implementation 'de.li2b2.facade:li2b2-server:0.8'
// https://jarcasting.com/artifacts/de.li2b2.facade/li2b2-server/
implementation ("de.li2b2.facade:li2b2-server:0.8")
'de.li2b2.facade:li2b2-server:jar:0.8'
<dependency org="de.li2b2.facade" name="li2b2-server" rev="0.8">
  <artifact name="li2b2-server" type="jar" />
</dependency>
@Grapes(
@Grab(group='de.li2b2.facade', module='li2b2-server', version='0.8')
)
libraryDependencies += "de.li2b2.facade" % "li2b2-server" % "0.8"
[de.li2b2.facade/li2b2-server "0.8"]

Dependencies

compile (7)

Group / Artifact Type Version
de.li2b2.facade : li2b2-api jar 0.8
de.li2b2.facade : li2b2-xml jar 0.8
javax.activation : javax.activation-api jar 1.2.0
javax.xml.bind : jaxb-api jar 2.3.1
com.sun.xml.bind : jaxb-impl jar 2.3.2
com.sun.xml.bind : jaxb-core jar 2.3.0.1
org.eclipse.jetty : jetty-server jar 9.4.26.v20200117

provided (4)

Group / Artifact Type Version
javax.enterprise : cdi-api jar 1.2
javax.ws.rs : javax.ws.rs-api jar 2.0.1
javax.inject : javax.inject jar 1
javax.annotation : javax.annotation-api jar 1.2

test (10)

Group / Artifact Type Version
de.li2b2.facade : li2b2-client jar 0.8
org.eclipse.jetty : jetty-servlet jar 9.4.26.v20200117
org.eclipse.jetty : jetty-util jar 9.4.26.v20200117
org.glassfish.jersey.core : jersey-server jar 2.30
org.glassfish.jersey.containers : jersey-container-servlet-core jar 2.30.1
org.glassfish.jersey.inject : jersey-hk2 jar 2.30.1
org.glassfish.jersey.containers : jersey-container-jetty-http jar 2.30.1
org.glassfish.jersey.ext.cdi : jersey-cdi1x-servlet jar 2.30.1
org.xmlunit : xmlunit-core jar 2.6.3
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

li2b2

li2b2 - Lightweight i2b2 server and client libraries

This project is meant to be used by other software projects. Except for demos, you can not run the software on its own.

Development of the li2b2-facate library was motivated by the AKTIN project https://aktin.org/

Example: Export ontology from i2b2 into XML file

  1. Put the release artifacts li2b2-client-.jar and li2b2-xml-.jar into a local directory
  2. Run from command line: E.g. in Windows/git-bash: java -cp "li2b2-client-0.7.jar;li2b2-xml-0.7.jar" de.sekmi.li2b2.client.ont.XMLExport

The tool will provide an example on the command line output. E.g. to download a partial tree from the online demo server, use the following command:

java -cp "li2b2-client-0.7.jar;li2b2-xml-0.7.jar" de.sekmi.li2b2.client.ont.XMLExport http://services.i2b2.org/i2b2/services/PMService/ demo@i2b2demo demouser '\\i2b2_REP\i2b2\Reports\'

To export the full ontology, you can omit the last argument (subtree to export). Use full exports with care, as they will produce large files and load on the server.

Users

The li2b2-facade library is used by the following projects:

If you are using our software or know others who do, please let us know.

For Developers

Compiling/Building the source code

li2b2 is written in Java and requires a Java 8 Runtime Environment. To build the project from source, you need to have maven installed.

Build the project by executing mvn clean install in the top directory (which also contains this README file).

Contributing

If you would like to contribute by working on the source code of this project, you might want to use an IDE.

The following instructions will show how to setup Eclipse for this purpose, although you can use any IDE you want.

For Eclipse, first run mvn clean install to build the project and then mvn eclipse:eclipse to generate Eclipse project files.

Open in Eclipse any workspace you want and import the projects by choosing File/Import... and then General/Existing Projects into Workspace. If you navigate the file browser to the top level directory, you should see four projects which can be imported.

Versions

Version
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1