Description Usage Arguments Details Value Examples
This is the main workhorse function for the doseminer
package.
Pass in a character vector of prescribing instructions and it will extract
structured dosage information.
1 |
txt |
A character vector of freetext prescriptions |
To avoid redundant computation, it is recommended to remove duplicate
elements from the input vector. The results can be joined back to the
original data using the raw
column.
A data.frame
with seven columns:
the input character vector
a residual character vector of 'non-extracted' text. For debugging.
number of doses administered per day
number of days between doses
quantity of medication in each dose
unit of measurement of medication, if any
integer. Can the dose be zero? 1 if yes, otherwise 0
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.