Changeset 3397
- Timestamp:
- 02/15/08 13:32:44 (11 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
openmrs-modules/dss/metadata/config.xml
r3386 r3397 7 7 <id>dss</id> 8 8 <name>Dss</name> 9 <version>2.0 4</version>9 <version>2.05</version> 10 10 <package>org.openmrs.module.@MODULE_ID@</package> 11 11 <author>Vibha Anand and Tammy Dugan</author> openmrs-modules/dss/src/org/openmrs/module/dss/DssElement.java
r3386 r3397 3 3 */ 4 4 package org.openmrs.module.dss; 5 6 import org.openmrs.logic.result.Result; 5 7 6 8 /** … … 10 12 public class DssElement 11 13 { 12 private String text = null;14 private Result result = null; 13 15 private Integer ruleId = null; 14 16 private Integer fieldId = null; … … 18 20 * @param ruleId 19 21 */ 20 public DssElement( String text, int ruleId)22 public DssElement(Result result, int ruleId) 21 23 { 22 this. text = text;24 this.result = result; 23 25 this.ruleId = ruleId; 24 26 } 25 27 26 28 /** 27 * @return the text29 * @return the result 28 30 */ 29 public String getText()31 public Result getResult() 30 32 { 31 return this. text;33 return this.result; 32 34 } 33 35 openmrs-modules/dss/src/org/openmrs/module/dss/DssManager.java
r3386 r3397 94 94 if (currResult != null) 95 95 { 96 currDssElement = new DssElement(currResult .toString(),96 currDssElement = new DssElement(currResult, 97 97 currRule.getRuleId()); 98 98 dssElements.add(currDssElement);