{"id":19903417,"url":"https://github.com/zdavatz/cpp2sqlite","last_synced_at":"2025-05-03T00:31:03.541Z","repository":{"id":34188409,"uuid":"165821542","full_name":"zdavatz/cpp2sqlite","owner":"zdavatz","description":"C++ tool to generate sqlite database containing Swiss Healthcare Public Domain Drug Information","archived":false,"fork":false,"pushed_at":"2025-03-21T07:44:32.000Z","size":11535,"stargazers_count":4,"open_issues_count":6,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-07T08:51:29.375Z","etag":null,"topics":["aips","bag","boost","cpp17","refdata","sai","sqlite-database","swissmedic","xlnt","xml"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zdavatz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-15T09:21:20.000Z","updated_at":"2025-03-21T07:44:36.000Z","dependencies_parsed_at":"2023-01-15T05:15:21.630Z","dependency_job_id":"d7bca59d-3172-4f5a-b6bc-5185d08fd0aa","html_url":"https://github.com/zdavatz/cpp2sqlite","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdavatz%2Fcpp2sqlite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdavatz%2Fcpp2sqlite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdavatz%2Fcpp2sqlite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdavatz%2Fcpp2sqlite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zdavatz","download_url":"https://codeload.github.com/zdavatz/cpp2sqlite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252126440,"owners_count":21698963,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aips","bag","boost","cpp17","refdata","sai","sqlite-database","swissmedic","xlnt","xml"],"created_at":"2024-11-12T20:23:39.558Z","updated_at":"2025-05-03T00:31:01.935Z","avatar_url":"https://github.com/zdavatz.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cpp2sqlite\nC++ tool to generate sqlite database containing Swiss Healthcare Public Domain Drug Information\n## History\nThis tool is a port of [aips2sqlite](https://github.com/zdavatz/aips2sqlite)\n## Requirements\n\n- Boost\n- C++17\n- sqlite\n- cmake\n- gcc-9\n- g++-9 `sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 9`\n- [xlnt](https://github.com/tfussell/xlnt) with `cmake -DSTATIC=on`, also apply [swissmedic.patch](https://github.com/zdavatz/cpp2sqlite/files/3584890/swissmedic.patch.txt)\n- jq (Command-line JSON processor)\n- [json](https://github.com/nlohmann/json.git)\n- xmllint\n\n## Installation\n$ git clone\\\n$ git submodule init\\\n$ git submodule update\n\nSee [build.sh](https://github.com/zdavatz/cpp2sqlite/blob/master/scripts/build.sh)\n## Usage\n### cpp2sqlite\n`./cpp2sqlite --inDir ~/.software/cpp2sqlite/input`\n### deepl translation\n_ run `build/sappinfo` to generate the unique language file.\\\n_ comment in the line 20 of [build.sh](https://github.com/zdavatz/cpp2sqlite/blob/master/scripts/build.sh#L20) to do the translations.\\\n_ if there are no errors, then commit `intput/deepl.sappinfo.out.fr.txt`.\n## Input Sources\n_ [AIPS](http://download.swissmedicinfo.ch)\\\n_ [BAG XML](http://www.spezialitätenliste.ch/File.axd?file=XMLPublications.zip)\\\n_ [Refdata Artikel](https://www.refdata.ch/de/artikel/abfrage/artikel-refdatabase-gtin)\\\n_ [Refdata Partner](https://www.refdata.ch/de/partner/abfrage/partner-refdatabase-gln)\\\n_ [Refdata SAI](https://sai.refdata.ch/download)\\\n_ [Swissmedic](https://www.swissmedic.ch/dam/swissmedic/de/dokumente/listen/excel-version_zugelasseneverpackungen.xlsx.download.xlsx/excel-version_zugelasseneverpackungen.xlsx)\\\n_ [Swissmedic HPC](https://www.swissmedic.ch/swissmedic/de/home/humanarzneimittel/marktueberwachung/health-professional-communication--hpc-.html)\\\n_ [Swissmedic Chargenrückrufe](https://www.swissmedic.ch/swissmedic/de/home/humanarzneimittel/marktueberwachung/qualitaetsmaengel-und-chargenrueckrufe/chargenrueckrufe.html)\\\n_ [EPha](http://download.epha.ch/data/matrix/matrix.csv)\\\n_ [Swisspeddose](https://swisspeddose.ch)\\\n_ [Sappinfo](https://sappinfo.ch)\\\n_ [Drugshortage](https://drugshortage.ch)\n## Output Sqlite Database\n_ [amiko_db_de](http://pillbox.oddb.org/amiko_db_full_idx_de.zip)\\\n_ [amiko_db_fr](http://pillbox.oddb.org/amiko_db_full_idx_fr.zip)\n## Glossary\n_ [GTIN](http://www.ywesee.com/Main/EANCode)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzdavatz%2Fcpp2sqlite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzdavatz%2Fcpp2sqlite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzdavatz%2Fcpp2sqlite/lists"}