@Test public void testMedicineInfo() throws Exception { }
public HashMap medicineInfo(HashMap recipeLog){ HashMap medicine = new HashMap(); medicine.put("medicineId", recipeLog.get("medicineId")); medicine.put("medicineName", recipeLog.get("medicineName")); medicine.put("amount", recipeLog.get("amount")); medicine.put("dosage", recipeLog.get("dosage")); medicine.put("status", recipeLog.get("status")); medicine.put("frequency", recipeLog.get("frequency")); medicine.put("medicineUnit", recipeLog.get("medicineUnit")); medicine.put("medicineType", recipeLog.get("medicineType")); medicine.put("medicineFormulation", recipeLog.get("medicineFormulation")); medicine.put("medicineSpecification", recipeLog.get("medicineSpecification")); return medicine; }
RecipeManagementServiceImpl implements RecipeManagementService { public HashMap medicineInfo(HashMap recipeLog){ HashMap medicine = new HashMap(); medicine.put("medicineId", recipeLog.get("medicineId")); medicine.put("medicineName", recipeLog.get("medicineName")); medicine.put("amount", recipeLog.get("amount")); medicine.put("dosage", recipeLog.get("dosage")); medicine.put("status", recipeLog.get("status")); medicine.put("frequency", recipeLog.get("frequency")); medicine.put("medicineUnit", recipeLog.get("medicineUnit")); medicine.put("medicineType", recipeLog.get("medicineType")); medicine.put("medicineFormulation", recipeLog.get("medicineFormulation")); medicine.put("medicineSpecification", recipeLog.get("medicineSpecification")); return medicine; } }
RecipeManagementServiceImpl implements RecipeManagementService { public HashMap medicineInfo(HashMap recipeLog){ HashMap medicine = new HashMap(); medicine.put("medicineId", recipeLog.get("medicineId")); medicine.put("medicineName", recipeLog.get("medicineName")); medicine.put("amount", recipeLog.get("amount")); medicine.put("dosage", recipeLog.get("dosage")); medicine.put("status", recipeLog.get("status")); medicine.put("frequency", recipeLog.get("frequency")); medicine.put("medicineUnit", recipeLog.get("medicineUnit")); medicine.put("medicineType", recipeLog.get("medicineType")); medicine.put("medicineFormulation", recipeLog.get("medicineFormulation")); medicine.put("medicineSpecification", recipeLog.get("medicineSpecification")); return medicine; }  }
RecipeManagementServiceImpl implements RecipeManagementService { public HashMap medicineInfo(HashMap recipeLog){ HashMap medicine = new HashMap(); medicine.put("medicineId", recipeLog.get("medicineId")); medicine.put("medicineName", recipeLog.get("medicineName")); medicine.put("amount", recipeLog.get("amount")); medicine.put("dosage", recipeLog.get("dosage")); medicine.put("status", recipeLog.get("status")); medicine.put("frequency", recipeLog.get("frequency")); medicine.put("medicineUnit", recipeLog.get("medicineUnit")); medicine.put("medicineType", recipeLog.get("medicineType")); medicine.put("medicineFormulation", recipeLog.get("medicineFormulation")); medicine.put("medicineSpecification", recipeLog.get("medicineSpecification")); return medicine; }  @Override CommonResult listCurrentCaseRecipes(Integer caseId); HashMap medicineInfo(HashMap recipeLog); @Override CommonResult insertNewRecipe(); CommonResult preserveRecipes(RecipeCollectionParam recipeCollectionParam); CommonResult submitRecipes(RecipeCollectionParam recipeCollectionParam); CommonResult updateRecipes(RecipeCollectionParam recipeCollectionParam, Integer status); CommonResult insertTransactionLog(RecipeCollectionParam collectionParam, RecipeParam recipeParam,
                                             Integer creatorRoleId); }
RecipeManagementServiceImpl implements RecipeManagementService { public HashMap medicineInfo(HashMap recipeLog){ HashMap medicine = new HashMap(); medicine.put("medicineId", recipeLog.get("medicineId")); medicine.put("medicineName", recipeLog.get("medicineName")); medicine.put("amount", recipeLog.get("amount")); medicine.put("dosage", recipeLog.get("dosage")); medicine.put("status", recipeLog.get("status")); medicine.put("frequency", recipeLog.get("frequency")); medicine.put("medicineUnit", recipeLog.get("medicineUnit")); medicine.put("medicineType", recipeLog.get("medicineType")); medicine.put("medicineFormulation", recipeLog.get("medicineFormulation")); medicine.put("medicineSpecification", recipeLog.get("medicineSpecification")); return medicine; }  @Override CommonResult listCurrentCaseRecipes(Integer caseId); HashMap medicineInfo(HashMap recipeLog); @Override CommonResult insertNewRecipe(); CommonResult preserveRecipes(RecipeCollectionParam recipeCollectionParam); CommonResult submitRecipes(RecipeCollectionParam recipeCollectionParam); CommonResult updateRecipes(RecipeCollectionParam recipeCollectionParam, Integer status); CommonResult insertTransactionLog(RecipeCollectionParam collectionParam, RecipeParam recipeParam,
                                             Integer creatorRoleId);  }