biocodellc / biocode-fims

Biocode Field Information Management System
4 stars 2 forks source link

requiredValueFromOtherColumn #79

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
An example, assume we have the following defined rule attributes:

Column = Genetic Sample Type Primary
OtherColumn = Kind of Object
Text Contents = <field>Genetic Sample</field>

*First case (and most important!):*
if 
      Kind Of Object = "Genetic Sample" (potentially could have multiple values but probably just one)
then
      Check that Genetic Sample Type Primary has some value in it. (otherwise throw error/warning)

*Splitting out another related another rule, (less important), 
"extraneousValueFromOtherColumn"*

Column = Genetic Sample Type Primary
Other Column = Kind of Object

if 
      Kind Of Object = "Bulky Specimen" or, something NOT from list 
then
      Check that Genetic Sample Type Primary has NO value in it (otherwise throw error/warning)

Original issue reported on code.google.com by jdec...@gmail.com on 29 Aug 2014 at 8:00

GoogleCodeExporter commented 9 years ago
This change was fixed in a recent commit.   I'm leaving the 
"extraneousValueFromOtherColumn" rule as won't fix, at least until someone 
specifically requests it.

Original comment by jdec...@gmail.com on 8 Sep 2014 at 11:46