Tonight I got a working FieldGenHandler for the tribe object. The registering of FieldGenHandlers through modules is working now. All the existing FieldGenHandler code exist in the core OpenMRS system. Because the tribe is inside a module, core system cannot have a dependency on the tribe module. Until midnight I could not think of a [...]
Archive for May, 2008
FieldGenHandler for tribe
May 30, 2008Tribe as a person attribute object
May 29, 2008So far everything was going okay. Tonight I implemented the Attributable interface. Now I can add tribe as a person attribute using the manage person attribute types page in the OpenMRS administration. But I cannot add or edit values for tribe person attribute type. I checked the source to learn how location and other person [...]
Web interface of the tribe module
May 28, 2008Tonight I assembled the tribe module and got it working. So far I have just extracted the code but did not try to run it. Tribe add, update and retire features are working okay. So far the tribe objects are working separately from the core OpenMRS system. The tribe module can create and update the [...]
Removing tribe from the core OpenMRS
May 27, 2008Tonight I went through the OpenMRS source and removed the tribe functionality. The useful parts were extracted to the new tribe module. The tribe module will host the tribe object and functionality to create, update and delete tribe modules. Tribe administration page will be hooked up to the OpenMRS from the OpenMRS administration page through [...]
Creating a module in OpenMRS
May 26, 2008Tribe project needs to create a OpenMRS module. There are lots of modules developed already which extend the core OpenMRS system with various enhancements. Some of them are listed in here. I started out with the basicmodule. Basic module provides the skeleton but a working module out of the box. I followed the instructions and [...]
Coding begins
May 26, 2008Google Summer of Code 2008 work officially begins today. I am planning to finish up the Tribe module early as possible. In the OpenMRS domain model the patient object has an association to a tribe object, probably because OpenMRS implemenations started out mainly from African countries. But not all OpenMRS implemenations need to identify the [...]
Google sent the gift
May 24, 2008I got the book yesterday, Google is sending for all the Google Summer of Code students. The book, Beautiful Code, is a collection of articles by leading programmers and designers. They talk about their experiences architecting and designing good code. It is an nice gift, well thought out by Google.
Computer related books go out of [...]
Setting up OpenMRS development environment
May 20, 2008I have run OpenMRS in a couple of machines in Linux as well as in Windows over the past month. Today I set it up in my desktop machine which I am planning to use these days. I have Kubuntu 8.04 with MySQL server 5.0, JDK 1.6, Apache Ant 1.7 and Apache Tomcat 6.
Checked out [...]