Primary Mentor | |
Backup Mentor | |
Student |
Abstract
OpenMRS is using the FHIR API more and more in place of the REST API. However, the FHIR API is, by default, quite verbose. Supporting PATCH operations would allow us to support partial updates to FHIR resources without needing to send the whole resource from the client to the server.
...
Format for supporting a single patch
- Detect the incoming format(either json-merge patch, json-patch or xml-patch)
- Load the existing resource in the appropriate format
- Apply the patch
Required Skills
- Excellent Java skills.
...
- Leverage Hapi Fhir's support for Patch operations
- support all resources of R4 version in the openmrs-fhir2-module.
- support formats like Json-Merge Patch operations, Json Patch operations and XML-patch operations.
- Write up documentation for the work done preferably on the FhirIG
Resources
- https://smilecdr.com/docs/fhir_standard/fhir_crud_operations.html
- https://fhirblog.com/2019/08/13/updating-a-resource-using-patch/
- https://jsonpatch.com/
- https://jsonpatch.me/
- https://github.com/hapifhir/fhir-tutorial
- https://github.com/openmrs/openmrs-module-fhir2
...