Loading histream-i2b2/src/main/java/de/sekmi/histream/i2b2/PostgresPatientStore.java +13 −9 Original line number Diff line number Diff line Loading @@ -341,7 +341,11 @@ public class PostgresPatientStore extends PostgresExtension<I2b2Patient> impleme update.setTimestamp(2, inaccurateSqlTimestamp(patient.getBirthDate())); update.setTimestamp(3, inaccurateSqlTimestamp(patient.getDeathDate())); update.setString(4, getSexCd(patient)); if( patient.getSourceTimestamp() != null ){ update.setTimestamp(5, Timestamp.from(patient.getSourceTimestamp())); }else{ update.setTimestamp(5, null); } update.setString(6, patient.getSourceId()); update.setInt(7, patient.getNum()); update.executeUpdate(); Loading Loading
histream-i2b2/src/main/java/de/sekmi/histream/i2b2/PostgresPatientStore.java +13 −9 Original line number Diff line number Diff line Loading @@ -341,7 +341,11 @@ public class PostgresPatientStore extends PostgresExtension<I2b2Patient> impleme update.setTimestamp(2, inaccurateSqlTimestamp(patient.getBirthDate())); update.setTimestamp(3, inaccurateSqlTimestamp(patient.getDeathDate())); update.setString(4, getSexCd(patient)); if( patient.getSourceTimestamp() != null ){ update.setTimestamp(5, Timestamp.from(patient.getSourceTimestamp())); }else{ update.setTimestamp(5, null); } update.setString(6, patient.getSourceId()); update.setInt(7, patient.getNum()); update.executeUpdate(); Loading