This cleans medication column from the report assuming such a column exists. It gets rid of common entries that are not needed. It also splits the medication into fentanyl and midazolam doses for use in the global rating scale tables later. It should be used after the Extractor and the optional NewLines has been used.
EndoscMeds(dataframe, MedColumn)
dataframe | dataframe with column of interest |
---|---|
MedColumn | column of interest |
cc<-EndoscMeds(Myendo,'Medications')