@mupagasi I looked around a little and it seems to be done here.
In short Bahmni sees the patient as admitted if his/her visit carries an attribute type ‘Admission Status’ set to "Admitted"
.
For everything to be consistent between EMR API and Bahmni Core you would need to modify setAdmissionStatus(Encounter, Visit)
so that it also invokes EMR API’s api to set the admitted or discharged disposition accordingly at the same time as when it is done in Bahmni Core.