Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register

Changeset 5113

Show
Ignore:
Timestamp:
07/31/08 18:26:05 (5 months ago)
Author:
tmdugan
Message:

-- chica

* added a check to keep from saving 0.0 as the result for null weights

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • openmrs-modules/chica/ruleLibrary/consumeWeight.java

    r5008 r5113  
    123123                ConceptService conceptService = Context.getConceptService(); 
    124124                 
     125                if(primaryResult == null && secondaryResult == null){ 
     126                        return Result.emptyResult(); 
     127                } 
     128                 
    125129                if(primaryResult == null || primaryResult.length() == 0) 
    126130                {