CU-DBMI-Peds / phoenix

R, Python, and SQL implementations of the Phoenix Sepsis Criteria
http://cu-dbmi-peds.github.io/phoenix/
Other
4 stars 2 forks source link

Data Range Checks #2

Open dewittpe opened 8 months ago

dewittpe commented 8 months ago

Enhancement:

Add functions for checking data assumptions, e.g., look at age and expect a distribution of ages between 0 and 216 for months (0 to 18 years), or Sp02 values only mapping to SF Ratios when SpO2 <= 97, GCS as an integer value between 3 and 15, ...

dewittpe commented 8 months ago

@magic-lantern - I've started a branch feature-data-checks with one method for checking the age values. I think that a lot of the other variables can have simple functions for checks. Some will be more complex. Just a starting idea.