# Project: Implement Spring Data to LibreHealth Toolkit

**URL:** <https://forums.librehealth.io/t/project-implement-spring-data-to-librehealth-toolkit/2341>\
**Category:** Toolkit\
**Tags:** gsoc2018, toolkit, gsoc2018-project\
**Created:** [April 24, 2018, 2:33pm UTC](https://forums.librehealth.io/t/project-implement-spring-data-to-librehealth-toolkit/2341 "2018-04-24T14:33:33Z")\
**Posts on this page:** 1\
**Showing post:** 101

<div class="post-metadata">

**Author:** ![prashadi](https://forums.librehealth.io/user_avatar/forums.librehealth.io/prashadi/32/460_2.png) [@prashadi](https://forums.librehealth.io/u/prashadi)\
**Post date:** [August 19, 2018, 1:28am UTC](https://forums.librehealth.io/t/project-implement-spring-data-to-librehealth-toolkit/2341/101 "2018-08-19T01:28:47Z")

</div>

@yashdsaraf I’m getting following error in your latest master and merged code with my branch when viewing the patients. Do you have any idea?

There was an unexpected error (type=Internal Server Error, status=500).

JSON encoding error: org.hl7.fhir.dstu3.model.Encounter$EncounterStatus cannot be cast to org.hl7.fhir.dstu3.model.Enumerations$AdministrativeGender; nested exception is com.fasterxml.jackson.databind.JsonMappingException: org.hl7.fhir.dstu3.model.Encounter$EncounterStatus cannot be cast to org.hl7.fhir.dstu3.model.Enumerations$AdministrativeGender (through reference chain: java.util.ArrayList[0]-\>org.openmrs.model.CPatient[“gender”])

---

_[View the full topic](https://forums.librehealth.io/t/project-implement-spring-data-to-librehealth-toolkit/2341)._
