|
From: Johan T. <jt...@us...> - 2006-10-13 07:37:55
|
Update of /cvsroot/vienti/vienti/source/se/biobanksregistersyd/vienti/datasources In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv27468/source/se/biobanksregistersyd/vienti/datasources Modified Files: DsSympathy_RBBR.java Log Message: Put the referral id in the dataset to be written to file. Remove a few debug variable assignments that was accidentially left behind in the last commit. Index: DsSympathy_RBBR.java =================================================================== RCS file: /cvsroot/vienti/vienti/source/se/biobanksregistersyd/vienti/datasources/DsSympathy_RBBR.java,v retrieving revision 1.19 retrieving revision 1.20 diff -u -d -r1.19 -r1.20 --- DsSympathy_RBBR.java 11 Oct 2006 15:00:30 -0000 1.19 +++ DsSympathy_RBBR.java 13 Oct 2006 07:37:52 -0000 1.20 @@ -24,6 +24,11 @@ ** liable for any use that may be made of the information contained herein. ** ** $Log$ + ** Revision 1.20 2006/10/13 07:37:52 jtorin + ** Put the referral id in the dataset to be written to file. + ** Remove a few debug variable assignments that was accidentially + ** left behind in the last commit. + ** ** Revision 1.19 2006/10/11 15:00:30 jtorin ** Call a stored procedure in the database instead of executing an SQL-query. ** Rewrote the whole tuple parse logic from scratch since the format of @@ -367,8 +372,6 @@ // // Example of multiple glass&blocks. // startdate = "2005-08-30 09:50:00"; // enddate = "2005-08-30 10:55:01"; - startdate = "2006-10-10 00:50:00"; - enddate = "2006-10-11 00:50:00"; CallableStatement cs; try { @@ -448,6 +451,7 @@ /* Read basic data. */ String patientid = rs.getString("patientid").trim(); + String referralId = remisstyp + remissar + "-" + remissnr; // Sampling date String provdat = null; if (rs.getString("provdat") != null) { @@ -471,6 +475,7 @@ /* Put data into the dataset. */ dataset.put("rbbr:personId", patientid); + dataset.put("rbbr:referralId", referralId); if (provdat != null) { dataset.put("base:samplingDate", provdat); } |