Skip to content

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

@ericbuckley

Description

@ericbuckley

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

Metadata

Metadata

Assignees

Labels

apiNew API feature

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions