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
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
recordandpersonattributes 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