- Timestamp:
- 04/22/08 18:44:35 (9 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
openmrs/trunk/src/api/org/openmrs/hl7/handler/ORUR01Handler.java
r3847 r3997 226 226 Obs obs = parseObs(encounter, obx, obr); 227 227 if (obs != null) { 228 228 229 // set the obsGroup on this obs 229 230 if (obsGrouper != null) 231 // set the obs to the group. This assumes the group is already 232 // on the encounter and that when the encounter is saved it will 233 // propagate to the children obs 230 234 obsGrouper.addGroupMember(obs); 231 235 232 // set this obs on the encounter object that we 233 // will be saving later 234 log.debug("Obs is not null. Adding to encounter object"); 235 encounter.addObs(obs); 236 log.debug("Done with this obs"); 236 else { 237 // set this obs on the encounter object that we 238 // will be saving later 239 log.debug("Obs is not null. Adding to encounter object"); 240 encounter.addObs(obs); 241 log.debug("Done with this obs"); 242 } 237 243 } 238 244 } catch (HL7Exception e) {