Patient Image Project
Note: This design was created in early September, before conversations with team NYU. Please update with your latest plans and specs.
Adding REST layer to already existing service layer, opening up saving pictures by REST
Our system is built on top of the OpenMRS database model. We have already completed a module that stores and retrieves images: https://github.com/raxa/patientimage
Your students would be using Java to expose the image service to REST by modifying the PatientImageController file. Required functionality would be:
GET image for patient using image id, patient id
GET image list for patient (image metadata)
GET all images for a particular patient
POST image for a particular patient
Time required for this portion: 3 weeks
Allow user to upload pictures through file upload dialog box
Adding in dialog boxes for picture upload in Registration, Outpatient, and CHW modules using ExtJS and Sencha Touch. Registration file upload would come into "take photo" into new patient registration. Outpatient/CHW uploads would come as a button on the patient dashboard.
Time required: 1 week
Allow user to take a photo with an iPad/iPhone and save to server
--Determine correct way to take photo with iPad/iPhone as both a native app and web app using existing Sencha Touch/Cordova frameworks or HTML5.
Time required: 2 weeks
Allow user to take a photo with desktop machine -- research possible ways. Webcam?
--Determine correct way to take photo with desktop as both a native app and web app using existing ExtJS frameworks or HTML5.
Time required: 2 weeks