This application facilitates preparation on online clinical assessment
entry forms and generates Struts JSP and Form bean code for the generic
assessment management engine (GAME) in HID web application.
Each online clinical assessment consists of multiple pages. Each page
consists of an arbitary depth container and display elements hierarchy.
A container contains zero or more display components. A display component
corresponds to a form field like text entry field, radio button or to
styled text. Each container has a layout manager which constraints how its
children (other containers and/or display elements) are laid out wrt each other
and their parent container.
For installation and other documentation refer to calm.pdf
in $CAS_LAYOUT_HOME/doc directory.
- JDK 1.5+ is necessary for CALM which uses Java generics is a major Java language enhancement only available Java 5 (JDK 1.5) or later. The latest JDK available is recommended.
(http://java.sun.com/j2se/downloads/)
- Apache Ant for build (1.6.x or later) (http://ant.apache.org/)
- Make sure your database is setup for CALM
Postgres Support
Postgres is the recommended and supported version starting with CALM and HID web app.
Use the latest Postgres db generation scripts available via;
- From BIRN CVS (matching tag BURAK_DEV_BRANCH_6_2_08)
cvs checkout -r BURAK_DEV_BRANCH_6_2_08 BIRN/HID
- Bundled with the public distribution in BIRN/HID/Schema/Postgres directory
In Both cases, the instructions are in BIRN/HID/Schema/Postgres/README file
Getting the source code from stratch
You can get the latest CALM from BIRN CVS server via
cvs checkout BIRN/cas_layout
Build and Configuration
In $CAS_LAYOUTL_HOME, build CALM by running
When you are running ant for the first time you will be asked about database
connection parameters. Ant uses that information to create configuration files
$CAS_LAYOUT_HOME/conf/caslayout.properties and
$CAS_LAYOUT_HOME/conf/log4.properties.
Running CALM
cd to $CAS_LAYOUT_HOME/bin and add execution permission to the script calm.sh and run it like
to see the usage information. Without parameters calm.sh starts the GUI.
Usage: ${JAVA} caslayout.ui.ClinicalAssessmentLayoutManager [-schema \
-xml ] [-help] [-version]
or ${JAVA} caslayout.ui.ClinicalAssessmentLayoutManager -add -xml
where
-help - displays this information
-schema -xml are the CALM XML Schema and the CALM document
to be validated against the schema
-add to add the provided assessment to the HID database
To validate a CALM document via the provided XML schema (for example)
calm.sh -schema $CAS_LAYOUT_HOME/conf/calm_document.xsd -xml $CAS_LAYOUT_HOME/examples/sars.xml
To register an assessment with HID database without starting up GUI
calm.sh -add -xml $CAS_LAYOUT_HOME/examples/sars.xml
For any questions, comments, bug reports contact I. Burak Ozyurt
(iozyurt@ucsd.edu)
----------
A list of changes in recent versions
2.1 :(15-Oct-2008)
- Database registration for an assessment can be done from command
line without GUI now.
- Updated cadebase to use Java generics for better type safety.
2.0 :(11-Oct-2007)
- Bulk Assessment Data Upload from Excel workbooks.
- Simplified declarative clinical assessment form layout XML language
- Automatic online assessment form generation from Excel workbooks.
1.7 :(18-Apr-2007)
- CALM generated forms are fully integrated with HID web app at Struts
code generation step, fully automating new assessment form additions.