# Patient image via REST

**URL:** https://talk.openmrs.org/t/patient-image-via-rest/2715
**Category:** Development
**Tags:** rest
**Created:** [August 7, 2015, 6:15am UTC](https://talk.openmrs.org/t/patient-image-via-rest/2715 "2015-08-07T06:15:00Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![maimoonak](https://talk.openmrs.org/letter_avatar/maimoonak/32/5_5575768a8748004e209b776fc1b2916d.png) [@maimoonak](https://talk.openmrs.org/u/maimoonak)
#### Post date: [August 7, 2015, 6:15am UTC](https://talk.openmrs.org/t/patient-image-via-rest/2715/1 "2015-08-07T06:15:01Z")

</div>

Hi all,

We are using OpenMRS to manage data from an external app that submits data via REST. We need to capture and save patient images along with other demographic information. The Patient Image and Registration modules are working fine in OpenMRS but is there any way to submit image for a patient via REST call or is there any work under progress for this?

---

<div class="post-metadata">

### Author: ![raff](https://talk.openmrs.org/user_avatar/talk.openmrs.org/raff/32/11894_2.png) [@raff](https://talk.openmrs.org/u/raff)
#### Post date: [August 7, 2015, 8:03am UTC](https://talk.openmrs.org/t/patient-image-via-rest/2715/2 "2015-08-07T08:03:35Z")

</div>

Could you please share a link to the code repository of the patient image module? It is possible that simply POSTing an image to the right URL in the module will work.

---

<div class="post-metadata">

### Author: ![maimoonak](https://talk.openmrs.org/letter_avatar/maimoonak/32/5_5575768a8748004e209b776fc1b2916d.png) [@maimoonak](https://talk.openmrs.org/u/maimoonak)
#### Post date: [August 7, 2015, 9:09am UTC](https://talk.openmrs.org/t/patient-image-via-rest/2715/3 "2015-08-07T09:09:26Z")

</div>

I donot have code for any of these modules. I tried the wiki to search it but could not find the link to source. I installed module from openmrs module repository (image attached)

Below are wiki links: [https://wiki.openmrs.org/display/docs/Registration+Module](https://wiki.openmrs.org/display/docs/Registration+Module)[OpenHMIS - Registration Module - Documentation - OpenMRS Wiki](https://wiki.openmrs.org/display/docs/OpenHMIS+-+Registration+Module) (link give for source doesnot work) [Patient Image Module - Documentation - OpenMRS Wiki](https://wiki.openmrs.org/display/docs/Patient+Image+Module)

 ![](https://talk.openmrs.org/uploads/default/original/2X/b/b25deda562cb07ce1faa6c536e0b911a0e38851e.png)

---

<div class="post-metadata">

### Author: ![raff](https://talk.openmrs.org/user_avatar/talk.openmrs.org/raff/32/11894_2.png) [@raff](https://talk.openmrs.org/u/raff)
#### Post date: [August 7, 2015, 9:11am UTC](https://talk.openmrs.org/t/patient-image-via-rest/2715/4 "2015-08-07T09:11:33Z")

</div>

@sunbiz may help you with the patient image module.

---

<div class="post-metadata">

### Author: ![sunbiz](https://talk.openmrs.org/user_avatar/talk.openmrs.org/sunbiz/32/520_2.png) [@sunbiz](https://talk.openmrs.org/u/sunbiz)
#### Post date: [August 8, 2015, 8:37am UTC](https://talk.openmrs.org/t/patient-image-via-rest/2715/5 "2015-08-08T08:37:08Z")

</div>

The patient image module can be found here - [http://svn.openmrs.org/openmrs-modules/patientimage/](http://svn.openmrs.org/openmrs-modules/patientimage/) This might be slightly newer with some webservices in it - [https://github.com/Raxa/patientimage](https://github.com/Raxa/patientimage)

---

<div class="post-metadata">

### Author: ![maimoonak](https://talk.openmrs.org/letter_avatar/maimoonak/32/5_5575768a8748004e209b776fc1b2916d.png) [@maimoonak](https://talk.openmrs.org/u/maimoonak)
#### Post date: [August 10, 2015, 5:32am UTC](https://talk.openmrs.org/t/patient-image-via-rest/2715/6 "2015-08-10T05:32:52Z")

</div>

Thanks alot @sunbiz . This looks promising. The 2nd code repository has webservices, we would look into it and get back incase of any problem.
