Changeset 4157
- Timestamp:
- 05/09/08 14:23:56 (7 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
openmrs/trunk/src/api/org/openmrs/hl7/handler/ADTA28Handler.java
r4095 r4157 289 289 // Date of Birth 290 290 TS dateOfBirth = pid.getDateTimeOfBirth(); 291 if (dateOfBirth == null )291 if (dateOfBirth == null || dateOfBirth.getTime() == null || dateOfBirth.getTime().getValue() == null) 292 292 throw new HL7Exception("Missing birth date in the PID segment"); 293 293 patient.setBirthdate(tsToDate(dateOfBirth));