Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (19 sloc) 1013 Bytes

Style guide for the MIMIC Code Repository

Overview

This guide provides some general guidelines on formatting code for the MIMIC Code Repository. Maintaining a consistent-ish style across the repository should make the code simpler to read and reuse.

Required header information

Please include the following header information at the top of your code:

-- ------------------------------------------------------------------  
-- Title: Short descriptive title.  
-- Description: More detailed description explaining the purpose.  
-- MIMIC version: Version of MIMIC (e.g. MIMIC-III v1.1).  
-- References: References to relevant academic papers etc (optional).  
-- ------------------------------------------------------------------  

SQL

  • Always use uppercase for the reserved keywords like SELECT and WHERE.
  • Use lower case for other words such as table and column names.

For more detail, following the guidelines at: http://www.sqlstyle.guide/

Python

Guidelines to follow...