-
Notifications
You must be signed in to change notification settings - Fork 659
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
Specialities on encounters #1047
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #1047 +/- ##
==========================================
+ Coverage 77% 80% +2%
+ Complexity 3690 3212 -478
==========================================
Files 170 120 -50
Lines 24000 21779 -2221
Branches 3332 2959 -373
==========================================
- Hits 18560 17458 -1102
+ Misses 4405 3403 -1002
+ Partials 1035 918 -117 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some comments and questions.
@eedrummer, can you resolve the conflicts? Then I'll merge it in if it passes the unit tests. |
Converting this to draft while we figure out the best way to address the underlying needs of this PR. Namely, how can we limit a provider location in Synthea to offer a subset of services. It may be something like fully enabling some of the clinical specialty infrastructure... or something else. |
…pecialty data not providing local enough cardiologists for the tests
There have been changes in Synthea since this PR was first submitted. When this was first created, the provider files had specialities listed. An update to the provider files removed specialties. The more recent commits attempt to add specialties back in using information from NPPES. It's unclear at the current moment whether this approach will be useable as the test suite is breaking because some patients in MA can't find a cardiologist. This may be due to me picking the wrong specialty for cardiology or it may be that the data isn't good enough for our purposes and a new approach is needed. |
After attempting to do some more work, it's clear that the Healthcare Provider Taxonomy Codes in NPPES aren't going to be useful for clinical specialty information for providers in Synthea. There are a few reasons for this:
If specialty information is to be incorporated into Synthea, it will likely have to come from a different source. |
Adds a
specialty
property on theEncounter
state in GMF. This will require the encounter to happen at a Provider that offers that specialty.The preferred provider infrastructure has been updated to handle this. People now have a preferred provider by encounter class and specialty.
Checkstyle fixes added in as well. It appears that there are now checkstyle violations on master 😲