Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dermatologist/quick-ctakes

QTakes - Apache cTAKES™ REST API on Quarkus
https://github.com/dermatologist/quick-ctakes

ctakes ctakes-clinical-pipeline docker docker-compose quarkus rest-api

Last synced: 24 days ago
JSON representation

QTakes - Apache cTAKES™ REST API on Quarkus

Awesome Lists containing this project

README

        

# :rocket: QTakes - Apache cTAKES™ on Quarkus

![quick-ctakes](https://forthebadge.com/images/badges/made-with-java.svg)
[![Twitter Follow](https://img.shields.io/twitter/follow/beapen?style=social)](https://twitter.com/beapen)

Apache cTAKES™ is a natural language processing system for the extraction of information from electronic medical record clinical free-text. A web application providing REST API for cTAKES is available from the [original repository](https://github.com/apache/ctakes). This is an extension of the REST API using Quarkus, (the Supersonic Subatomic Java Framework) designed for containers (docker).

**04/10/2021: Updated with cTakes patch 4.0.0.1 for UmlsKey**
## You need

* docker
* java 8
* maven

## How to use

### STEP 1: Create the database

You can use a local or remote MySQL database. The SQL data scripts are available in [this repo](https://github.com/GoTeamEpsilon/ctakes-rest-service). Refer to the section titled 'SQL Data Scripts.' You can also spin up a docker container with these scripts as below (Yes, it has to be MySQL 5):

```
FROM mysql:5

COPY ./sno_rx_16ab_db/ /docker-entrypoint-initdb.d/
```

### STEP 2: Check out this repo and add the details

```
git clone https://github.com/dermatologist/quick-ctakes.git
```
Add the database details in customDictionary.xml in the resources folder. Make changes to the Default.piper if needed

### STEP 3: Build the java application, test it and package it
```
cd quick-ctakes
./mvnw clean compile quarkus:dev
mvn clean package -DskipTests

```
### STEP 4: Dockarize it
* See the docker folder for details
```
docker build -f src/main/docker/Dockerfile.jvm -t