Difference between revisions of "NotEnoughMembers"

From mn/ifi/inf5750
Jump to: navigation, search
(Division of labour)
(Group members)
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
== Group members ==
 
== Group members ==
* Axel Hjelmervik Hansen (axelhha)
+
* Axel Hansen (axelhha)
* André Djupvik Sørensen (andredsor)
+
* André Djupvik Sørensen (andreds)
  
 
== Assignment ==
 
== Assignment ==
Line 10: Line 10:
 
The application will make it possible to visualise stock level data in two different ways:
 
The application will make it possible to visualise stock level data in two different ways:
  
* The time trend of the stock for one organisation unit.
+
* The time trend of the chosen stock for one organisation unit .
* An estimate of numbers of months left of stock for a selection of organisation units.
+
* An estimate of numbers of months left of the chosen stock for a selection of organisation units.
  
Both will support configurable max and min stock levels. An administrator should be able to set the max and min threshold as a default value, but users will have the possibility to override the values of the thresholds.
+
Both will support configurable max and min stock levels, and organisation units with an estimation outside the threshold will be highlighted. An administrator should be able to set the max and min threshold as a default value, but users will have the possibility to override the values of the thresholds.
 +
 
 +
The calculations of the estimate of numbers of months left of stock is based on the average amounts of stock used in recent periods and the amount in stock this period.
 +
 +
(Stock available at the end of month)/average(Stock used in x recent months) = Estimated months of stock left
 +
 
 +
The app will also include an interface for selecting data elements and indicators for the analysis, so the app will be usable in different countries.
  
 
== Architecture ==
 
== Architecture ==
The main framework we will be using will be React
 
 
* [https://reactjs.org/ React]
 
* [https://reactjs.org/ React]
 
**As our project will mainly revolve around UI and we're both interested in learning React, this seemed like the proper choice.
 
**As our project will mainly revolve around UI and we're both interested in learning React, this seemed like the proper choice.
 
* DHIS2 Data Visualizer
 
* DHIS2 Data Visualizer
 
**We want to reuse as much as possible of the plugins/tools that already exists in DHIS2.
 
**We want to reuse as much as possible of the plugins/tools that already exists in DHIS2.
 +
**We ended up using React Chartjs 2 due to time limitations.
  
 
== Development timeline ==
 
== Development timeline ==
 +
 +
{| class="wikitable"
 +
|-
 +
! Date
 +
! Goal
 +
! Comment
 +
|-
 +
| 05-11
 +
| Prototype
 +
|
 +
|-
 +
| 19-11
 +
| All features implemented
 +
|
 +
|-
 +
| 26-11
 +
| Final testing
 +
|
 +
|}
 +
 +
==Licensing==
 +
We are using React Chartjs 2 which uses the MIT license.
  
 
== Division of labour ==
 
== Division of labour ==
Line 28: Line 56:
  
 
As we're both new to React, this approach will also make sure that the average quality will be concise.
 
As we're both new to React, this approach will also make sure that the average quality will be concise.
 +
 +
== Usage ==
 +
*npm install
 +
*npm start
 +
 +
If you want a build in  DHIS2:
 +
 +
*npm run build
 +
*cd build
 +
*zip -r NAME.zip
  
 
== Project repository ==
 
== Project repository ==
 +
https://github.uio.no/NotEnoughMembers/

Latest revision as of 20:02, 8 December 2018

Group members

  • Axel Hansen (axelhha)
  • André Djupvik Sørensen (andreds)

Assignment

Stock Level Visualisations

Project description requirements

The application will make it possible to visualise stock level data in two different ways:

  • The time trend of the chosen stock for one organisation unit .
  • An estimate of numbers of months left of the chosen stock for a selection of organisation units.

Both will support configurable max and min stock levels, and organisation units with an estimation outside the threshold will be highlighted. An administrator should be able to set the max and min threshold as a default value, but users will have the possibility to override the values of the thresholds.

The calculations of the estimate of numbers of months left of stock is based on the average amounts of stock used in recent periods and the amount in stock this period.

(Stock available at the end of month)/average(Stock used in x recent months) = Estimated months of stock left

The app will also include an interface for selecting data elements and indicators for the analysis, so the app will be usable in different countries.

Architecture

  • React
    • As our project will mainly revolve around UI and we're both interested in learning React, this seemed like the proper choice.
  • DHIS2 Data Visualizer
    • We want to reuse as much as possible of the plugins/tools that already exists in DHIS2.
    • We ended up using React Chartjs 2 due to time limitations.

Development timeline

Date Goal Comment
05-11 Prototype
19-11 All features implemented
26-11 Final testing

Licensing

We are using React Chartjs 2 which uses the MIT license.

Division of labour

To ensure that every team member has a good knowledge of the project, each will work a little bit on everything.

As we're both new to React, this approach will also make sure that the average quality will be concise.

Usage

  • npm install
  • npm start

If you want a build in DHIS2:

  • npm run build
  • cd build
  • zip -r NAME.zip

Project repository

https://github.uio.no/NotEnoughMembers/