Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Note

This page represents work by ?Kevin Peters for ?Summer Of Code 2008 and may have been replaced by work elsewhere.

Table of Contents
outlinetrue
indent20px
stylenone
printablefalse

...

Access the Logic Web Service Module in the Module Repository and download the latest file (a .omod file). Install this module in OpenMRS (Administration - -> Manage Modules --> Add Module).

Limiting Access by IP Address

...

Panel
Code Block
: <?xml version="1.0" encoding="utf-8"?>
: <tokenList>
:     <token name="TOKEN_1" type="TEXT" />
:     <token name="TOKEN_2" type="BOOLEAN" />
:     <token name="TOKEN_3" type="DATETIME" />
:     <token name="TOKEN_N" type="NUMERIC" scale="3" precision="5" />
: </tokenList>
: 
: <!--
: 
: Scale is an optional attribute that describes the maximum number
:     of digits to the right of the decimal point.
:

: Precision is an optional attribute that describes the maximum
:     number of decimal digits.
: 
: -->

getData

http://demo.openmrs.org/openmrs/moduleServlet/logicws/api/getData?query=SELECT AGGREGATE X {TOKEN_1} OPERATOR OPERAND:SPLIT_1:SPLIT_2|AGGREGATE X {TOKEN_2} OPERATOR OPERAND:SPLIT_1:SPLIT_2 FROM COHORT&datastyle=DATASTYLE

...

To get involved in working on the Logic Web Service, see the Reporting Framework Integration Project /wiki/spaces/AR/pages/18513958.