dancoster / DrugLab

Repository for the drug<>lab pair
1 stars 0 forks source link

Filter 'error' medications (MIMIC) #22

Open dancoster opened 1 year ago

dancoster commented 1 year ago
  1. Remove duplicated medications from the same time with the same dosage.
  2. Remove medication with dosage <= 0.

Please report the count of each of the exclusions above cohort in MIMIC.

dancoster commented 3 months ago

Add this to code

rfeinsod commented 2 months ago

This is part of the code, This simply applies to dosage, and the problem we faced now was related to before_time

dancoster commented 2 months ago

In the different groups we had administrations with negative dosage / zero dosage. I thought this function aim to solve these issues.