Find continuous infusion of drug when drug amount is missing
ireneangelucci opened this issue · comments
I am working with the infusionDrug.csv table and I noticed that for many entries the drugamount
is missing, as in the case below:
![Screenshot 2024-03-27 at 14 09 05](https://private-user-images.githubusercontent.com/113421884/317275974-871fdb69-6868-43aa-aa67-2857bd8b3c20.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMzMjU1MzksIm5iZiI6MTcyMzMyNTIzOSwicGF0aCI6Ii8xMTM0MjE4ODQvMzE3Mjc1OTc0LTg3MWZkYjY5LTY4NjgtNDNhYS1hYTY3LTI4NTdiZDhiM2MyMC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgxMFQyMTI3MTlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT00NDE0MTlkMjkzZmQ1MzQxMTI1NjA2NmQ4MmVjMjk2NWM3ZTZiM2Y0ZjZjNzg1MTRlNTQ2ZDlmYmE5OGJhOTYzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.X1w9cmaQAsJ4_U_myMLorRT2NzOdvBfgQnAUIsKfB2o)
In such a case, is there a way I can know if Heparin was administered continuously from infusiondrugoffset
= 32 to infusiondrugoffset
= 2363?
I know that if the drugamount
was also present I could consider the administration to be continuous up to the point when drugrate
* length of time is equal to the drugamount
, but in this case how can I know?
I am asking this because I would like to sample the data with a 5 minute time step, therefore I would like to know if, for example, between infusiondrugoffset
= 893 and infusiondrugoffset
= 953 the drugrate
should also be 1300. Thank you.
For this particular case, I think what you say makes sense, but I would work through some additional patients from the same hospital_id and test your assumptions, particularly if this is a important feature of your work.
For data like this, it will be difficult to assess when the infusion 'ends', and the only suggestion I can give is to try to incorporate some clinical knowledge (typical drugamounts, assessment intervals, etc) if you haven't already.