Difference between revisions of "Dynamic Team Børek Embedding apps in patient tracker"

From mn/ifi/inf5750
Jump to: navigation, search
 
(30 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
 
Reidar André Brenna  
 
Reidar André Brenna  
 +
[[File:reidar.jpg|500px|thumb|left|Reidar]]
 +
 +
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  
 
Guttorm Dyregrov  
 
Guttorm Dyregrov  
 +
 +
[[File:Guttorm.png]]
  
 
Jorun Ramstad  
 
Jorun Ramstad  
 +
[[File:jorun.png|500px|thumb|left|Jorun]]
 +
 +
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  
 
Snorre Lærum  
 
Snorre Lærum  
  
[https://launchpad.net/~dynamic.team.boerek launchpad.net/~dynamic.team.boerek]  
+
[https://launchpad.net/~dynamic.team.boerek launchpad.net/~dynamic.team.boerek]
  
 
= Repository  =
 
= Repository  =
Line 28: Line 36:
 
*Embed a simple web app into the existing DHIS2 tracker web pages
 
*Embed a simple web app into the existing DHIS2 tracker web pages
  
*Embed a map into the patient dashboard that displays all patients in the current region. (Reidar)
+
*Embed a map into the patient management page that displays all patients in the current region. (Reidar)
*Embed a new function into the patient dashboard that allows the user to set a location for a patient by clicking on a map. (Jorun)
+
*Embed a new function into the patient dashboard page that show that patient's residence location on a map. (Jorun)
 +
*Upload a photo to a given table on the patient dashboard page (Snorre and Guttorm)
  
 
== ''Extra (if time)''  ==
 
== ''Extra (if time)''  ==
  
*Add a mobile app that uploads picture of patient to the patient dashboard. (Snorre and Guttorm)
+
*Add a mobile app that uploads picture of patient to the patient dashboard page (Snorre and Guttorm)
 +
*Set patients location from a click on the map in patient dashboard page (Jorun)
 +
 
 +
= Architecture/technology  =
  
 +
*Plug-in functionality into existing architecture
  
= Architecture =
+
* Map
 +
  - Leaflet uses a permissive BSD open-source licence so can be incorporated into any site without legal worries.
 +
- http://switch2osm.org/using-tiles/getting-started-with-leaflet/
 +
- DHIS also uses the BSD licence
  
*Plug-in functionality into existing architecture
+
 
 +
 
 +
* Picture module:
 +
  - Storing pictures by reading the picture's DataURL and POSTing this string to
 +
    the systemSettings API with patientid+'img' as key.
 +
  - JS File API, jQuery, HTML, systemSettings API
 +
  - "No uploading" :)
 +
  - This solution can meet errors with normal/large pictures depending on the
 +
    individual webservers configuration concerning header/buffer sizes for     
 +
    request/response headers. If the GET/POST request exceeds the size limit, 
 +
    the web server will most likely respond with: 413 (Full head)
  
 
= Progress  =
 
= Progress  =
Line 46: Line 72:
 
*<strike>Make tables to add maps and picture in on the two pages we are working on </strike>
 
*<strike>Make tables to add maps and picture in on the two pages we are working on </strike>
 
*<strike>Working maps with hard coded markers</strike>
 
*<strike>Working maps with hard coded markers</strike>
*Add markers from patients attributes
+
*<strike>Upload photos from disk</strike>
*Set patient location form click on map
+
*<strike>Add markers in patient dashboard page from patients attributes</strike> 
*Upload photos from disk
+
*<strike>Scale the uploaded photo to the table size</strike>
*''app that takes and uploads pictures''
+
*<strike>Add markers from patients attributes on patient management page</strike>
 +
*<strike>Save uploaded picture</strike>
 +
 
 +
== Progress snapshot ==
 +
 
 +
[[File:PersonDashboard.png|700px|thumb|left|Patient dashboard page]]
 +
 
 +
Map with marker at patients residence location and a table to upload pictures in on the patient dashboard page.
 +
 
 +
[[File:PatientManagement.png|700px|thumb|left|Patient management page]]
 +
 
 +
Map on the patient management page where you list and search for patients. No markers jet, but they are supposed to be implemented shortly.
  
== Prosess snapshot ==
+
[[File:Picture.png|700px|thumb|left|Patient management page picture]]
  
[[File:patientDashboardMap.png]]
+
The picture is uploaded and scaled to the table size
  
 
= Team meeting and slogan  =
 
= Team meeting and slogan  =

Latest revision as of 20:37, 9 December 2013

Group

Reidar André Brenna

Reidar
































Guttorm Dyregrov

Guttorm.png

Jorun Ramstad

Jorun


















































Snorre Lærum

launchpad.net/~dynamic.team.boerek

Repository

launchpad.net/dhis2-patienttracker

Milestones

  • Milestone 1: 1st November
  • Milestone 2: 15th November
  • Milestone 3: 30th November
  • Finished, if applicable also with mobile app.
  • Final delivery: 8th December
  • Presentation: 9th December

Features

  • Embed a simple web app into the existing DHIS2 tracker web pages
  • Embed a map into the patient management page that displays all patients in the current region. (Reidar)
  • Embed a new function into the patient dashboard page that show that patient's residence location on a map. (Jorun)
  • Upload a photo to a given table on the patient dashboard page (Snorre and Guttorm)

Extra (if time)

  • Add a mobile app that uploads picture of patient to the patient dashboard page (Snorre and Guttorm)
  • Set patients location from a click on the map in patient dashboard page (Jorun)

Architecture/technology

  • Plug-in functionality into existing architecture
  • Map
- Leaflet uses a permissive BSD open-source licence so can be incorporated into any site without legal worries.
- http://switch2osm.org/using-tiles/getting-started-with-leaflet/
- DHIS also uses the BSD licence 


  • Picture module:
 - Storing pictures by reading the picture's DataURL and POSTing this string to
   the systemSettings API with patientid+'img' as key.
 - JS File API, jQuery, HTML, systemSettings API
 - "No uploading" :)
 - This solution can meet errors with normal/large pictures depending on the
   individual webservers configuration concerning header/buffer sizes for      
   request/response headers. If the GET/POST request exceeds the size limit,  
   the web server will most likely respond with: 413 (Full head)

Progress

  • Get the server up and running
  • Find the right .vm files to work in
  • Make tables to add maps and picture in on the two pages we are working on
  • Working maps with hard coded markers
  • Upload photos from disk
  • Add markers in patient dashboard page from patients attributes
  • Scale the uploaded photo to the table size
  • Add markers from patients attributes on patient management page
  • Save uploaded picture

Progress snapshot

Patient dashboard page

Map with marker at patients residence location and a table to upload pictures in on the patient dashboard page.

Patient management page

Map on the patient management page where you list and search for patients. No markers jet, but they are supposed to be implemented shortly.

Patient management page picture

The picture is uploaded and scaled to the table size

Team meeting and slogan

Every Monday @ 12:15

"Go Team Børek, Dynamicly"