|
@@ -27,7 +27,10 @@ public class FIRP0200 extends QCCatalogue {
|
|
|
}
|
|
|
newbornWeightStr = newbornWeightStr.replace("-","");
|
|
|
if (!CatalogueUtil.isEmpty(newbornWeightStr)) {
|
|
|
- int newbornWeight = Integer.parseInt(newbornWeightStr);
|
|
|
+ double newbornWeight = Double.parseDouble(newbornWeightStr);
|
|
|
+ if (newbornWeight / 1000 >= 1){
|
|
|
+ newbornWeight = newbornWeight / 1000;
|
|
|
+ }
|
|
|
if (newbornWeight <= 1 || newbornWeight >= 10) {
|
|
|
status.set("-1");
|
|
|
}
|