Commit 541b253c authored by R.W.Majeed's avatar R.W.Majeed

fixed missed duplicate for first fact of new patient

parent 4c470947
......@@ -72,9 +72,14 @@ public class Validator extends AbstractObservationHandler implements Transformat
visits.clear();
prevVisit = encid;
visits.add(encid);
// clear concepts
concepts.clear();
// add concept
if( duplicateConceptCheck ){
concepts.add(new StartPlusConcept(t));
}
prevPatient = patid; // remember patient to suppress errors for the same patient
......
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