openmrs-android-sdk/src/main/java/com/openmrs/android_sdk/library/dao/VisitDAO.java
/**
     * Delete visits by patient id observable.
     *
     * @param id the id
     * @return the observable
     */
Delete visits by patient id observable.
@param id the id
@return the observable
Delete visits by patient id observable . @param id the id @return the observable
public Observable<Boolean> deleteVisitsByPatientId(Long id) {
        return AppDatabaseHelper.createObservableIO(() -> {
            visitRoomDAO.deleteVisitsByPatientId(id);
            return true;
        });
    }
public Observable < Boolean > deleteVisitsByPatientId ( Long id ) { return AppDatabaseHelper . createObservableIO ( ( ) -> { visitRoomDAO . deleteVisitsByPatientId ( id ) ; return true ; } ) ; }
Delete visits by patient id observable.
Delete visits by patient id observable .