I have identified a few issues I need to still work on:
Incorporate MSDRG 768 in a reasonable way
Fix the procedures to start with procedure 1 instead of procedure 2 (I fixed the actual field names, but how I am unpacking the list of other procedures seems to have the wrong indexing still)
Understand why the emergency type procedure records include so many non-hospital records
Continue to improve accuracy and completeness of data
Here is the latest run with the additions:
csv_HCAIPDD_03-29-2024_0047.csv
Let me know how it looks!
I have identified a few issues I need to still work on: