Flowsheet Module Technical Overview

Description

http://openmrs.atlassian.net/wiki/display/docs/Flowsheet+Module

Flowsheet is available as a module which can be installed into openmrs using the "Manage Modules" functionality

User interface

The user interface for the flowsheet module has been created using the following

The population of the GUI (flowsheet) is done via an AJAX request which returns a JSON string which is then passed to the JQuery grid and the filter controls. 
Core of the logic is in the flowhsheet.js file.

Server Side

At the server side we have a controller FlowsheetFormController which handles the AJAX requests passed to the url /flowsheet.json 

?

?The controller returns a json string in the following format

{ entries : [{conceptId:"1",value:"10",date: "2001-01-12"}], conceptMap:{         "1":            {             name:"concept name",             numeric:{hi:"1",low:"12",unit:"unit"},             desc:"description",             classType:"Test",             dataType:"Coded"            }, conceptClasses:["Test","Diagnosis","Finding"],  obsDates:["2001-01-12","2002-01-12","2010-01-12"] };