openmrs-android-sdk/src/main/java/com/openmrs/android_sdk/library/dao/EncounterDAO.java
/**
     * Update encounter int.
     *
     * @param encounterID the encounter id
     * @param encounter   the encounter
     * @param visitID     the visit id
     * @return the int
     */
Update encounter int.
@param encounterID the encounter id
@param encounter   the encounter
@param visitID     the visit id
@return the int
Update encounter int . @param encounterID the encounter id @param encounter the encounter @param visitID the visit id @return the int
public int updateEncounter(long encounterID, Encounter encounter, long visitID) {
        EncounterEntity encounterEntity = AppDatabaseHelper.convert(encounter, visitID);
        encounterEntity.setId(encounterID);
        int id = encounterRoomDAO.updateEncounter(encounterEntity);
        return id;
    }
public int updateEncounter ( long encounterID , Encounter encounter , long visitID ) { EncounterEntity encounterEntity = AppDatabaseHelper . convert ( encounter , visitID ) ; encounterEntity . setId ( encounterID ) ; int id = encounterRoomDAO . updateEncounter ( encounterEntity ) ; return id ; }
Update encounter int.
Update encounter int .