Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only show the CPT codes that exist for the specific surgery case #196

Merged
merged 2 commits into from
Feb 14, 2022

Conversation

JackWilb
Copy link
Member

@JackWilb JackWilb commented Nov 11, 2021

Fixes the bug the Ryan saw (although it might be that the data is still not perfect -- we'll have to do some digging)

There's one caveat, and that's surgeries for a visit that occur on the same date of which there are 57. Those surgery cases get duplicated codes from both of the surgeries. This is a limitation of the data, since the DTM (datetime) column, only contains date. This would be fixed if they gave us actual times

@haihan-lin
Copy link
Collaborator

Is there any front end change required for this?

@JackWilb
Copy link
Member Author

Is there any front end change required for this?

No. This just changes how we calculate the CPT codes for a surgery case, by using the date instead of just the visit number. This means the CPT codes will match the filters better, than it does on main before this change.

This should be good to go

@JackWilb JackWilb merged commit c720144 into main Feb 14, 2022
@JackWilb JackWilb deleted the fix-cpt-per-surgery branch February 14, 2022 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants