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

API endpoints to add patient details directly to MPI [MPIAPI] #159

Closed
ericbuckley opened this issue Dec 20, 2024 · 0 comments · Fixed by #174
Closed

API endpoints to add patient details directly to MPI [MPIAPI] #159

ericbuckley opened this issue Dec 20, 2024 · 0 comments · Fixed by #174
Assignees
Labels
feature New feature or request

Comments

@ericbuckley
Copy link
Collaborator

ericbuckley commented Dec 20, 2024

Summary

Add two new API endpoints that allow users to directly add/update patient record details in the MPI.

Details / Tasks

POST /patient -d '{"record": "...", "person": "person_reference_id"}'
Add the above endpoint to allow users to directly add a patient record to the MPI, skipping the record linkage algorithm.

PATCH /patient/<patient-reference-id> -d '{"record": "...", "person": "person_reference_id"}'
Add the above endpoint to allow users to update an existing patient record in the MPI.
NOTE: For this operation, the record and person attributes are optional. If not specified, the existing value will stay unchanged. However, at least 1 must be specified.

Related Issues/PRs

#155

Notes / Comments

This completes use cases 9 and 10 in #155

@ericbuckley ericbuckley added the feature New feature or request label Dec 20, 2024
@ericbuckley ericbuckley changed the title API endpoints to add patient details directly to MPI [MPI-API] API endpoints to add patient details directly to MPI [MPIAPI] Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants