Primary Mentor : Harsha Kumara / @harsha89 Backup Mentor: Daniel Kayiwa / @dkayiwa Student: Kwateng Ofori / @kwateng Project Wiki: https://wiki.openmrs.org/display/projects/FHIR+Module+Enhancements+Project
- Upgrading HAPI FHIR Library(COMPLETED)
- Upgrading DSTU2 resources to DSTU3(COMPLETED)
- Swagger document generation improvements after library upgrade(COMPLETED)
- Integrate swagger code generator which allows users to generate SDK(MOVED)
- Research on new FHIR resources which can support for OpenMRS(COMPLETED)
- Implement GET, PUT, POST, DELETE operations for new resources(COMPLETED)
- Improve the test coverage(COMPLETED)
Due to the major version upgrade, it took time than expected. My mentor suggested not to do the SDK generation during this summer of code. During this summer of code, I have upgraded HAPI FHIR library to the latest version. Then migrated all DSTU2 resources to DSTU3. Fixed all the issues arose after version upgrade in multiple places including swagger document generation. Added FHIR MedicationRequest resource to the FHIR module which represents OpenMRS DrugOrder.
Documentation for the MedicationRequest has added
Code Contributions and JIRA issues
[FM-199] DSTU3 Upgrade for FHIR library Issue: https://issues.openmrs.org/browse/FM-199 Pull request : https://github.com/openmrs/openmrs-module-fhir/pull/132 Pull request merge : https://github.com/openmrs/openmrs-module-fhir/commit/da88dd6863ddf671d2e80805d42f2be7a494dffd
[FM-200] Add create, search and get MedicationRequest implementation Issue: https://issues.openmrs.org/browse/FM-200 Pull request : https://github.com/openmrs/openmrs-module-fhir/pull/134 Pull request merge : https://github.com/openmrs/openmrs-module-fhir/commit/12cec34f3be8a374228d4c0f787ab07c00de7d8f
[FM-201] Update a medication request Issue: https://issues.openmrs.org/browse/FM-201 Pull request : https://github.com/openmrs/openmrs-module-fhir/pull/135 Pull request merge : https://github.com/openmrs/openmrs-module-fhir/commit/9f7654c6155ac4fd65427db5cbc7a85b1b6f0688
[FM-194] ResourceNotFoundException exception does not take Encounter class extend from Resource class as argument in STU3 migration Issue: https://issues.openmrs.org/browse/FM-194
[FM-195] Condition.Status unmapped Issue: https://issues.openmrs.org/browse/FM-195
[FM-196] No attachment in ImageStudy Issue: https://issues.openmrs.org/browse/FM-196
[FM-197] Obs with setEncounter removed STU3 Issue: https://issues.openmrs.org/browse/FM-197
[FM-198] Migrating to STU3 encounter.setIndication(indications); not found Issue: https://issues.openmrs.org/browse/FM-198
Get Medication Request Resource By Id
Create Medication Request
Created Medication Request Representation
Mid Term Video
It’s a good experience to work with OpenMRS. My mentor helped me a lot when I faced difficult situations. Community members are very helpful. Thank you for giving this valuable opportunity.
Suggestions to improve the program
The program is well arranged. It would be nice to have a session(Google Hangout) online with the participation of all students and mentors.
Thank you very much for my mentor @harsha89 and all the community members.