tuva-health / desynpuf

0 stars 0 forks source link

merge claims into encounters #1

Open aneiderhiser opened 2 years ago

aneiderhiser commented 2 years ago

Each claim is currently mapped to its own encounter. Two corrections need to be made:

1) Overlapping inpatient claims need to be merged to create a single inpatient encounter 2) Carrier claims that overlap with inpatient and outpatient claims need to be merged

This is necessary to get accurate statistics such as number of visits and total cost of the visit