{"id":20911069,"url":"https://github.com/lren-chuv/i2b2-setup","last_synced_at":"2026-04-13T21:32:31.985Z","repository":{"id":144914461,"uuid":"80534224","full_name":"LREN-CHUV/i2b2-setup","owner":"LREN-CHUV","description":"I2B2 star schema deployed with Alembic","archived":false,"fork":false,"pushed_at":"2017-12-12T17:50:28.000Z","size":56,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-10T05:26:13.634Z","etag":null,"topics":["database-migrations","docker-image","i2b2"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LREN-CHUV.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-01-31T15:42:03.000Z","updated_at":"2017-02-24T10:43:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"f384a3aa-a648-47aa-96be-1d1a85837c8e","html_url":"https://github.com/LREN-CHUV/i2b2-setup","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/LREN-CHUV/i2b2-setup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LREN-CHUV%2Fi2b2-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LREN-CHUV%2Fi2b2-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LREN-CHUV%2Fi2b2-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LREN-CHUV%2Fi2b2-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LREN-CHUV","download_url":"https://codeload.github.com/LREN-CHUV/i2b2-setup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LREN-CHUV%2Fi2b2-setup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31771831,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T20:17:16.280Z","status":"ssl_error","status_checked_at":"2026-04-13T20:17:08.216Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["database-migrations","docker-image","i2b2"],"created_at":"2024-11-18T14:19:08.204Z","updated_at":"2026-04-13T21:32:31.960Z","avatar_url":"https://github.com/LREN-CHUV.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CHUV](https://img.shields.io/badge/CHUV-LREN-AF4C64.svg)](https://www.unil.ch/lren/en/home.html) [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://github.com/LREN-CHUV/i2b2-setup/blob/master/LICENSE) [![DockerHub](https://img.shields.io/badge/docker-hbpmip%2Fi2b2--setup-008bb8.svg)](https://hub.docker.com/r/hbpmip/i2b2-setup/) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/365ece9e92c042568a1f68e6650ff6b9)](https://www.codacy.com/app/hbp-mip/i2b2-setup?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=LREN-CHUV/i2b2-setup\u0026amp;utm_campaign=Badge_Grade) [![CircleCI](https://circleci.com/gh/LREN-CHUV/i2b2-setup.svg?style=svg)](https://circleci.com/gh/LREN-CHUV/i2b2-setup)\n\n# I2B2 setup\n\nMigration scripts for an I2B2 database.\n\n## Introduction\n\nThe goal of this project is to provide a Docker container including Alembic and a Python model of the I2B2 schema.\n\nWe use an I2B2 database twice in the Data Factory:\n\n* I2B2 capture database: this database is used to capture as much as possible information from hospitals or research datasets, even if we do not understand it or know yet how to use it in MIP. Information in this database will be transformed and normalised into the I2B2 CDE database each time the MIP CDE (Common Data Elements) evolve or the mapping for the source data to the normalised CDE data needs adjustment.\n* I2B2 CDE database: this database contains the variables selected by the Data Governance and Data Selection committee, in a normalised form in order to ensure a consistent representation of data across sites. Data in this database is then exported into the LDSM database, using a structure facilitating its use by Queries and the Algorithms.\n\n## Usage\n\nExample:\n\n`docker run --rm -e \"DB_URL=postgresql://postgres:postgres@localhost:5432/postgres\" hbpmip/i2b2-setup:1.5.2 upgrade head`\n\n## Build\n\nRun: `./build.sh`\n\n## Test\n\nRun: `cd tests \u0026\u0026 ./test.sh`\n\n## Publish on Docker Hub\n\nRun: `./publish.sh`\n\n## License\n\nCopyright (C) 2017 [LREN CHUV](https://www.unil.ch/lren/en/home.html)\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n# Acknowledgements\n\nThis work has been funded by the European Union Seventh Framework Program (FP7/2007­2013) under grant agreement no. 604102 (HBP)\n\nThis work is part of SP8 of the Human Brain Project (SGA1).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flren-chuv%2Fi2b2-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flren-chuv%2Fi2b2-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flren-chuv%2Fi2b2-setup/lists"}