Skip to content

C++ tool to generate sqlite database containing Swiss Healthcare Public Domain Drug Information

License

Notifications You must be signed in to change notification settings

b123400/cpp2sqlite

 
 

Repository files navigation

cpp2sqlite

C++ tool to generate sqlite database containing Swiss Healthcare Public Domain Drug Information

History

This tool is a port of aips2sqlite

Requirements

  • Boost
  • C++17
  • sqlite
  • cmake
  • gcc-7.3.1
  • xlnt with cmake -DSTATIC=on, also apply swissmedic.patch
  • jq (Command-line JSON processor)
  • json

Installation

$ git clone
$ git submodule init
$ git submodule update

See build.sh

Usage

cpp2sqlite

./cpp2sqlite --inDir ~/.software/cpp2sqlite/input

deepl translation

_ run build/sappinfo to generate the unique language file.
_ comment in the line 8 of build.sh to do the translations.
_ if there are no errors, then commit intput/deepl.sappinfo.out.fr.txt.

Input Sources

_ AIPS
_ BAG XML
_ Refdata
_ Swissmedic
_ EPha
_ Swisspeddose
_ Sappinfo

Output Sqlite Database

_ amiko_db_de
_ amiko_db_fr

Glossary

_ GTIN

About

C++ tool to generate sqlite database containing Swiss Healthcare Public Domain Drug Information

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 94.1%
  • Shell 4.4%
  • CMake 1.3%
  • C 0.2%