Skip to contents

Prep mock coding/billing data frame

Usage

prep_claims(df, ...)

Arguments

df

[data.frame] data frame generated by mock_claims()

...

[dots] additional arguments

Value

A tibble

Examples

prep_claims(mock_claims(rows = 5))
#> # A tibble: 5 × 13
#>   claimid payer charges balance date_ser…¹ aging_bin   dar days_rel…² days_sub…³
#>   <chr>   <fct>   <dbl>   <dbl> <date>     <fct>     <dbl>      <dbl>      <dbl>
#> 1 1       Well…    167.    167. 2024-05-28 0-30         18          0          3
#> 2 2       Mass…     96.     96. 2024-05-20 0-30         17          1          0
#> 3 3       Medi…     77.     77. 2024-06-06 31-60        31          3          5
#> 4 4       Cigna     97.      0  2024-06-30 31-60        33          5          5
#> 5 5       New …    119.      0  2024-06-23 31-60        44          8          4
#> # ℹ abbreviated names: ¹​date_service, ²​days_release, ³​days_submission
#> # ℹ 4 more variables: days_acceptance <dbl>, days_adjudication <dbl>,
#> #   days_reconciliation <dbl>, dates <list>