-
Notifications
You must be signed in to change notification settings - Fork 2
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
New Link API Endpoint #79
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #79 +/- ##
==========================================
- Coverage 92.75% 92.61% -0.15%
==========================================
Files 17 17
Lines 759 785 +26
==========================================
+ Hits 704 727 +23
- Misses 55 58 +3 ☔ View full report in Codecov by Sentry. |
eb881cf
to
958337b
Compare
6c2092c
to
2ca6a95
Compare
2ca6a95
to
96bfd65
Compare
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.
nice work, that was easier than I thought it be!
Co-authored-by: Eric Buckley <eric.buckley@gmail.com>
Description
Create a new API endpoint, /link, that behaves similar to the existing /link-record endpoint. The difference is that it will accept a raw PII payload rather than a FHIR bundle.
Related Issues
closes #5
Additional Notes
Overview of changes
/link
src.recordlinker.linking.link.link_record_against_mpi
function to accept aschemas.PIIRecord
instead of a FHIR bundle.src.recordlinker.linking.link.link_record_against_mpi
now returns apatient_reference_id
in addition to the other values in the returned tuplepatient_reference_id
column topatient
mpi tableinternal_id
column toperson_reference_id
in theperson
mpi table<--------------------- REMOVE THE LINES BELOW BEFORE MERGING --------------------->
Checklist
Please review and complete the following checklist before submitting your pull request:
Checklist for Reviewers
Please review and complete the following checklist during the review process: