select count(*) from site_information where name='defaultOrganizationName'; Add default organization name for openelis INSERT INTO site_information(id, name, lastupdated, description, value, encrypted, value_type) VALUES ( nextVal( 'site_information_seq' ) , 'defaultOrganizationName', now(), 'Default organization name for department to be synced from openmrs', 'Bahmni', 'f', 'text' ); select count(*) from organization where name='Bahmni'; Add Bahmni organization INSERT INTO organization(id, name) VALUES ( nextVal( 'organization_seq' ) , 'Bahmni' ); Update Active Flag for Bahmni Organization update organization set is_active='Y' where name='Bahmni';