Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


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

  1. Detect the incoming format(either json-merge patch, json-patch or xml-patch)
  2. Load the existing resource in the appropriate format
  3. Apply the patch

Required Skills

  • Excellent Java skills.

Project Length

  • Medium, 175 hours.

Objectives

  • 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

...

  • Implement JSON PATCH operations on all OpenMRS FHIR R4 resources and ensure to have the tests working perfectly. - COMPLETED ✅
  • Implement JSON MERGE PATCH operations on all OpenMRS FHIR R4 resources and ensure to have the tests working perfectly. - COMPLETED ✅
  • Implement XML PATCH operations on all OpenMRS FHIR R4 resources and ensure to have the tests working perfectly. - COMPLETED ✅

Repositories: 

Pull Requests: 

Found Issues:

  • Medication Dispense was not added to the landing page of the FhirIG
  • Medication was not added to the landing page of the FhirIG

Fixed Issues:

Other related work:

During this GSoC jouney, i was able to do other work on the FHIR module as assigned by my mentor and below are the pull requests;-

Talk Thread links:

Jira Epic

Weekly Blog Posts:

Throughout the development cycle, I chronicled my progress and insights through weekly blog posts:


Video(Demo)

Widget Connector
urlhttps://www.youtube.com/watch?v=U_E5f4A38HE

Resources:

...