openmrs-android-sdk/src/main/java/com/openmrs/android_sdk/library/dao/PatientDAO.java
/**
     * Update patient boolean.
     *
     * @param patientID the patient id
     * @param patient   the patient
     * @return the boolean
     */
Update patient boolean.
@param patientID the patient id
@param patient   the patient
@return the boolean
Update patient boolean . @param patientID the patient id @param patient the patient @return the boolean
public boolean updatePatient(long patientID, Patient patient) {
        PatientEntity entity = AppDatabaseHelper.convert(patient);
        entity.setId(patientID);
        return patientRoomDAO.updatePatient(entity) > 0;
    }
public boolean updatePatient ( long patientID , Patient patient ) { PatientEntity entity = AppDatabaseHelper . convert ( patient ) ; entity . setId ( patientID ) ; return patientRoomDAO . updatePatient ( entity ) > 0 ; }
Update patient boolean.
Update patient boolean .