Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register

Changeset 5336

Show
Ignore:
Timestamp:
08/21/08 18:54:03 (3 months ago)
Author:
tmdugan
Message:

-- chica

* fixed concept lookup

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • openmrs-modules/chica/web/src/org/openmrs/module/chica/web/LoadObsController.java

    r5206 r5336  
    192192                                                        openmrsObs.setLocation(location); 
    193193                                                        Concept question = conceptService 
    194                                                                         .getConceptByName(currObs.getObsvName()); 
     194                                                                        .getConceptByName(currObs.getObsvName().trim()); 
    195195                                                        if (question != null) { 
    196196                                                                openmrsObs.setConcept(question); 
     
    202202                                                                        Concept answer = conceptService 
    203203                                                                                        .getConceptByName(currObs 
    204                                                                                                         .getObsvVal()); 
     204                                                                                                        .getObsvVal().trim()); 
    205205 
    206206                                                                        if (answer != null) {