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