View source: R/Basic_EndoPathExtractors.R
EndoscMeds | R Documentation |
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 numeric doses for use. It should be used after the textPrep function.
EndoscMeds(MedColumn)
MedColumn |
column of interest as a string vector |
This returns a dataframe
Other Endoscopy specific cleaning functions:
EndoscEndoscopist()
,
EndoscInstrument()
,
EndoscopyEvent()
MyendoNew <- cbind(EndoscMeds(Myendo$Medications), Myendo)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.