Sunday, July 28, 2013

6th Week at OpenMRS

This week is a busy week for me since i had our careers fair at university. Meanwhile i'm readying for the interviews, I have start work on check summary view of my module.In this view managerial level person can see the summary of the check assignments. Summary include user wise check summary, record stages wise summary and record status wise summary. Please find my screenshot below to get a clear understanding about how it works. Oh! Mid term evaluations!

Check Summary View

Sunday, July 21, 2013

5th Week at OpenMRS

Time flies and we have completed the 5th week at GSoC. During this week I have work on improving the record view of my module. I have finalized the database schema for my module. I have done changes to the views of the module according to the feedback received at the discussion with my primary mentor and the backup mentor. Past week I have refresh my knowledge in JQuery and learn new things to improve my user interface. I have added the record view of the integrity record below. Next week I'm planning to work in providing summaries for records with the time. Managerial level person will be mostly benefited from the summary feature. Mid evaluations coming closer and closer.Need to get ready :D !
Figure 1  :Record View

Saturday, July 13, 2013

4th Week at OpenMRS

It has been closed to a month since GSoC coding period started. This week I mostly engage in finalizing the data tables required to the module.During this week I have able to setup the database for my module. I have faced some problems during the initialization of the database.But with the good documentations available in the OpenMRS wiki and the community support it won't be a much problem to me to figure out and fix the issues.Meanwhile I have implement my service layer of the module. I  finished the manager view implementation of my module. My mentor Jeremy Keiper and backup mentor Ada Yeung had a wonderful discussion about the views of the module.I had a great feedback during our discussion.Now I continue to do modification required in the module according to the received feedback. Figure 1 shows the manager view UI of my module which enables managers to assign records to users to follow up and fix the data integrity violations in the openmrs database. Apart from assigning users, manager can remove assignees, track progress of a record through record summary view and summary of the whole check. Busy weeks coming ahead. 

Saturday, July 6, 2013

3rd Week at OpenMRS

This week is a fine week for me.I have studied about the configurations of a module of OpenMRS.As I previously mentioned in the post, for a module there will be a service layer and hibernate data access layer. For a module there are 4 major types of configuration files available. Please find the details of each configuration files. All the configurations are in the omod module's resources folder.

  • Config XML (config.xml)
This is the main configuration file of a module which is in XML language.In here module developer need to mention about about the module id,name,version,package,author,description,activator,updateURL as main configurations. Please find Figure 1  for more descriptive information about this configuration.

Figure 1:config.xml
  • Module application context xml (moduleApplicationContext.xml)
This is the configuration file where developer need to mention about the web pages and web controllers mappings.Also in this section spring bean settings for services  need to be configured.

  • Liquibase (liquibase.xml)
This is the major configuration of databases.All the database table creations and adding constraints for the database tables according to the database design is need to be specify here.
  • Hibernate mapping files
Developer need to map the Pojo classes to the hibernate configurations.There will be hibernate classes for each pojo class.

Last I need to mention about the message property files in resource folder which used for the internationalization purposes.Developer need to include strings displayed in the web pages as property file entries and refer them through spring.

This week I have created my pojo classes and my manager front end. Busy weeks coming ahead.I always trying to give valuable information about module creating on each of my blog posts.