Bahmni 0.91.. Unable to create new Bed layout

Hi @gsluthra, Thanks for your quick reply. I’m using Bahmni 0.92. I finally found the solution. based on this post bed-management-while-creating-new-beds-layout-shows-error. Here are detailed steps i did :

1- Connect to mysql :

mysql -u root -p openmrs

2- enter the cmd line below to display the bed layout table

show create table bed_location_map;

Copy the line containing “bed_id” for precise details of this field

bed_id` int(11) NOT NULL,

3- the solution to this problem is to lift the NOT NULL constraint on this field. To do so, execute the command below:

alter table bed_location_map modify bed_id int(11);

4- Log out of Mysql and restart the openmrs service

exit;

sudo service openmrs restart