Overview:
...
- The is module built on the MVC (model , view and controller) architecture in which model, view and controller are isolated.
- The model describes the data models received and show from back-end and data model to send data to back-end.
- View describes how the data fetched from back-end will be shown to the user.
- Controller handles all the actions performed by the user and make the changes in the view accordingly.
- Apart from these there is one another thing : store. Store is used to pull and push the data from back-end.
- Store uses models to specify the format of the data sent and received.
- Store is directly connected to the view (form, list, grid etc.).
- In the view many sencha touch components are used to built the UI, like sencha navigation list is used to make the patient list.
- Sencha list are used to make lab history, examination list and treatment summery(drug list).
- An plugin for ext grid is used to make grid in sencha and that grid is used to make UI for drug panel, medication history and refer to doctor panel.
- Sencha form components like search fields, picker fields, select fields, text fields etc. are used to make the forms.
Major Work Done In This Summer:
- Work done before mid term evaluation:
- Made the patient list using the sencha navigation list
- Made the top half of the more info panel ( RAXAJSS-175 )
- Made UI for history, diagnosis and treatment tab( RAXAJSS-176, RAXAJSS-177, RAXAJSS-179 )
- Made UI for refer to doctor, medication history and lab order list and implement searching and sorting in it( RAXAJSS-176 )
- Added searching and sorting in the patient list ( RAXAJSS-168 )
- Work done after mid term evaluation:
- Made UI for examination tab (RAXAJSS-176).
- Fetched the patient list from the server using REST calls (RAXAJSS-165, RAXAJSS-166, RAXAJSS-167).
- Added the fuctionality to add an encounter with the obervations using REST calls.
- Added fuctionality to place an drug order using REST calls.
Tasks Completed :
(Last week : 21 May - 27 may):
...
(week 2: 28 may - 3 jun):
- RAXAJSS-168 : Outpatient: Add ability to Filter and Sort the Patient List
- RAXAJSS-165 : Outpatient: Patient Model - Use mocked JSON response to create model of patients assigned to doctor
- RAXAJSS-166 : Outpatient: Patients store -- get doctors patient list via call to OpenMRS REST Api
...