Commit 13cee770 authored by R.W.Majeed's avatar R.W.Majeed

allow facts without encounter

parent 7cfd2317
......@@ -293,10 +293,10 @@ public class I2b2Inserter extends AbstractObservationHandler implements Observat
try{
I2b2Visit visit = o.getExtension(I2b2Visit.class);
return visit.getNum();
}/*catch( IllegalArgumentException e ){
}catch( IllegalArgumentException e ){
// i2b2 encounter not available, try to parse the encounter id as number
return Integer.parseInt(o.getEncounterId());
}*/finally{}
}//*/finally{}
}
/**
......
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