MIT-LCP / MIT-LCP/mimic-code

MIMIC-III Concepts for Sqlite3 or DuckDB (probably now DuckDB)

Open
#1,495 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
3.4k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

Prerequisites
Description

Filing this because I am considering adding it: Create a set of scripts that will add the MIMIC-III concepts views to the Sqlite3 version of the database.

Has anyone tried this before, and if so any encountered difficulties? I'm having some initial success just with regexp-ing the Postgres scripts, though that may or may not be a practical solution for the whole task. Sqlite does not have functions/procedures, so some things might have to be done with python functions--which would preclude embedding them into materialized views (pretty sure), however, simply building the concepts entities as static tables may be an acceptable solution for the kinds of use cases you'd want to use this data and Sqlite for. Or maybe regexping the Postgres/BigQuery SQL will get me to views in Sqlite3 dialect.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing PostgreSQL and BigQuery concept SQL and the MIMIC-III documentation. Determine which concepts can be translated to SQLite or DuckDB, and whether Python functions or static tables are needed for unsupported database features. Done means the concepts are reproducibly created and usable in the target database.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgresql, python, sqlite
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.