Commit 889e117c authored by R.W.Majeed's avatar R.W.Majeed

observation count added to export summary

parent f44d64e6
......@@ -384,5 +384,8 @@ public class GroupedXMLWriter extends GroupedObservationHandler{
}
this.observationCount ++;
}
public int getObservationCount(){
return this.observationCount;
}
}
......@@ -3,12 +3,14 @@ package de.sekmi.histream.export;
public class ExportSummary {
private int patientCount;
private int visitCount;
private int obsCount;
// TODO maybe add information for additional tables (e.g. table ids and maybe counts)
ExportSummary(int patientCount, int visitCount){
ExportSummary(int patientCount, int visitCount, int observationCount){
this.patientCount = patientCount;
this.visitCount = visitCount;
this.obsCount = observationCount;
}
public int getPatientCount(){
return patientCount;
......@@ -16,4 +18,7 @@ public class ExportSummary {
public int getVisitCount(){
return visitCount;
}
public int getObservationCount(){
return obsCount;
}
}
......@@ -148,7 +148,7 @@ public class TableExport {
}
}
}
return new ExportSummary(fe.getPatientCount(), fe.getVisitCount());
return new ExportSummary(fe.getPatientCount(), fe.getVisitCount(), fe.getObservationCount());
}
public int getPatientCount(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment