Skip to content

RADar-AZDelta/azd-radar-dev-keunFirebase

Repository files navigation

Keun

Keun (West Flemish for rabbit) is a web based modern variant of the Usagi OMOP CDM mapping tool.

THIS IS ALPHA SOFTWARE (almost production ready)

Introduction

Although Usagi does the job, it has some issues:

  • It is slow (especially when loading large CSV's)
  • You need to install the dictionaries from Athena
  • It requires software installation (Java)
  • No four-eye principle
  • It doesn't do translations
  • The search result of Usagi are not on par with Athena

Therefore we decided to make a modern web variant of Usagi:

  • No installation, just run it from your browser
  • Made with Svelte: cybernetically enhanced web apps
  • Includes the super fast svelte-datatable component. So it can handle very, very lage CSV files. It uses the Arquero library in a web worker.
  • Uses Athena in the background
  • Translation are done by Bergamot: machine translation done locally in your browser

Setup

If you want to setup Keun locally on your own device you will need to provide some information in the .env file. The following values are required

PUBLIC_MAPPINGDATA_PATH= This is the route to the API for your concepts
PUBLIC_ATHENA_DETAIL= This is the detail page of concepts
Firebase implementation

There is an implementation made to use Firebase with Keun. This will use Firestore & Storage from Firebase. You can even host the Keun application on Firebase, but this will need to be configured through the firebase.json with your own firestore & storage rules.

With Firebase you can also enable authentication. Change the firebase.ts file according to the auth provider you'll use.

To implement the Firebase environment, add the following values to your .env file:

PUBLIC_FIREBASE_AUTH_DOMAIN=
PUBLIC_FIREBASE_DATABASE_URL=
PUBLIC_FIREBASE_PROJECT_ID=
PUBLIC_FIREBASE_STORAGE_BUCKET=
PUBLIC_FIREBASE_MESSAGING_SENDER_ID=
PUBLIC_FIREBASE_APP_ID=

The values for Firebase can be found when creating a Firebase project.

Usage

Menu

Add a file to Keun
Download a file
Delete a file

Mapping

Mapping to an existing concept
Mapping to a custom concept
Actions on a row
Automap
Map to multiple concepts

License

Copyright © 2023 RADar-AZDelta. Released under the GNU General Public License v3.0.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published