etails">Details<a class="anchor" aria-label="anchor" href="#details"></a></h2>
    <p>This is a vectorized function in that it returns a vector. It can be applied
inside of a <code>mutate</code> statement when using <code>dplyr</code> if desired. A data.frame/tibble
is required, along with a principal diagnosis column, a principal procedure column,
and a column for the DRG number. These are needed so that the function can
join the dx_cc_mapping and px_cc_mapping columns to provide the service line.
Th