Patient Image Project

Note: This design was created in early September, before conversations with team NYU.  Please update with your latest plans and specs.
  1. Adding REST layer to already existing service layer, opening up saving pictures by REST
    1. 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 
    2. Your students would be using Java to expose the image service to REST by modifying the PatientImageController file. Required functionality would be:
      1. GET image for patient using image id, patient id
      2. GET image list for patient (image metadata)
      3. GET all images for a particular patient
      4. POST image for a particular patient
    3. Time required for this portion: 3 weeks
  2. Allow user to upload pictures through file upload dialog box
    1. 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.
    2. Time required: 1 week
  3. Allow user to take a photo with an iPad/iPhone and save to server
    1. --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.
    2. Time required: 2 weeks
  4. Allow user to take a photo with desktop machine -- research possible ways. Webcam?
    1. --Determine correct way to take photo with desktop as both a native app and web app using existing ExtJS frameworks or HTML5.
    2. Time required: 2 weeks