diff --git a/omod/src/main/java/org/raxa/module/raxacore/web/v1_0/controller/DrugInventoryController.java b/omod/src/main/java/org/raxa/module/raxacore/web/v1_0/controller/DrugInventoryController.java index c911be1483..2a023f548e 100644 --- a/omod/src/main/java/org/raxa/module/raxacore/web/v1_0/controller/DrugInventoryController.java +++ b/omod/src/main/java/org/raxa/module/raxacore/web/v1_0/controller/DrugInventoryController.java @@ -165,7 +165,7 @@ private SimpleObject getFieldsFromDrugInventory(DrugInventory di) { if (d != null) { drugObj.add("uuid", d.getUuid()); drugObj.add("display", d.getName()); - drugObj.add("dosageForm", d.getDosageForm().getName()); + drugObj.add("dosageForm", d.getDosageForm().getName().getName()); } obj.add("drug", drugObj); obj.add("quantity", di.getQuantity());