Difference between revisions of "Dynamic Team Børek Embedding apps in patient tracker"
From mn/ifi/inf5750
(28 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 | + | *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 | + | *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 | + | *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 = | = 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> |
− | * | + | *<strike>Add markers in patient dashboard page from patients attributes</strike> |
− | * | + | *<strike>Scale the uploaded photo to the table size</strike> |
− | * | + | *<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. | |
− | [[File: | + | [[File:Picture.png|700px|thumb|left|Patient management page picture]] |
+ | 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
Contents
Group
Reidar André Brenna
Guttorm Dyregrov
Jorun Ramstad
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 runningFind the right .vm files to work inMake tables to add maps and picture in on the two pages we are working onWorking maps with hard coded markersUpload photos from diskAdd markers in patient dashboard page from patients attributesScale the uploaded photo to the table sizeAdd markers from patients attributes on patient management pageSave uploaded picture
Progress snapshot
Map with marker at patients residence location and a table to upload pictures in on the patient dashboard 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.
The picture is uploaded and scaled to the table size
Team meeting and slogan
Every Monday @ 12:15
"Go Team Børek, Dynamicly"