Expanding on coded value sources in Observations Suranga Nath Kasthurirathne Primary Mentor : Glen...
-
Upload
shanon-porter -
Category
Documents
-
view
212 -
download
0
Transcript of Expanding on coded value sources in Observations Suranga Nath Kasthurirathne Primary Mentor : Glen...
Suranga Nath Kasthurirathne - OpenMRS 2011
1
Expanding on coded value sources in Observations
Suranga Nath Kasthurirathne
Primary Mentor : Glen McCallum Backup Mentor : Burke Mamlin
Suranga Nath Kasthurirathne - OpenMRS 2011
2
Initial Discussion
Existing solutionObs currently support a finite list of data types
The (initial) Requirements Expand on system to allow users to define obs
using domain data objects
Suranga Nath Kasthurirathne - OpenMRS 2011
3
Requirements (Refined)
Support creation of Obs using any user defined custom data type
Minimal changes to the existing database
Converging on custom data types
Suranga Nath Kasthurirathne - OpenMRS 2011
4
Solution Alternatives
Expanding on the database design
Support custom data types by expanding on complex observations using handlersExpand hierarchy to support all possible
custom data types, and how this data can be displayed
Suranga Nath Kasthurirathne - OpenMRS 2011
5
The New handler system
Automatic registrationClear precedence system based on priority
assigned for each handlerOverride handlers based on user
requirementsMultiple layers of handlers that can be inter
changed based on priorityAddresses ‘which data type, and how it is
displayed’
Suranga Nath Kasthurirathne - OpenMRS 2011
6
Suranga Nath Kasthurirathne - OpenMRS 2011
7
Progress to date
Completed work on ConceptsFirst draft of Handler class hierarchySupports automatic registration of handlersAbility to prioritize handlersUI changes allowing users to create complex
data observations using new handlersMoved existing image and Text handlers to
new approach (75% done)
Suranga Nath Kasthurirathne - OpenMRS 2011
8
Progress to date…
Users can now create, void and unvoid obs created using custom data types
Implementation of fieldGen layer to support easy data entryWhy fieldGen?Support for other data handler layers
Suranga Nath Kasthurirathne - OpenMRS 2011
9
Outstanding IssuesSelect refreshing of jsp to interact with tagsFinalize handler HierarchyIron out issues in Text and Image handlers
Handler config : Constraining possible data valuesConstraining domain objects using a string
value (?)Constraints for Image and Text Handlers (?)