|
|
|
@@ -612,12 +612,14 @@ public class DBHandler { |
|
|
|
private static Diagnose getDiagnose(ResultSet rs) throws SQLException { |
|
|
|
Diagnose diagnose = new Diagnose(); |
|
|
|
|
|
|
|
int mitarbid = rs.getInt("arzt"); |
|
|
|
diagnose.setDiagID(rs.getString("diagid")); |
|
|
|
diagnose.setFreiText(rs.getString("freitext")); |
|
|
|
diagnose.setArzt(new Mitarbeiter(rs.getInt("arzt"))); |
|
|
|
diagnose.setArzt(new Mitarbeiter(mitarbid)); |
|
|
|
diagnose.setMitarbid(mitarbid); |
|
|
|
diagnose.setDiagArt(DiagArt.parseString(rs.getString("diagart"))); |
|
|
|
setVersionInformation(diagnose, rs); |
|
|
|
diagnose.setIcd10code(getIcd10Code(rs.getString("icd10code"), rs.getInt("icd10version"))); |
|
|
|
setVersionInformation(diagnose, rs); |
|
|
|
return diagnose; |
|
|
|
} |
|
|
|
|
|
|
|
|