OpenClinica User Manual/CRFDefinitionQuirks

From Wikibooks, open books for an open world
< OpenClinica User Manual
Jump to navigation Jump to search

Quirks[edit]

Numeric fields

  1. OpenClinica stores numbers as strings, so will happily store both .72 and 0.72 (though they are equivalent) as they both validate as numbers.
  2. When defining a numeric field in a CRF, note that the width of a decimal field includes the space required for the decimal point. So 4(2) [width:4; 2 decimal places] will accommodate 9.72, but not 11.72. 11.72 would require a 5(2) definition. It may be simpler to define the field width as w(2), and rely on the range to limit the results.