New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AC-402:Implement the Provider Module #424

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
3 participants
@csmuthukuda
Contributor

csmuthukuda commented Jun 8, 2018

Hi
This is an Initial Commit.
This is not a complete PR.I will keep update my progress in here by updating this PR

Issue Link : https://issues.openmrs.org/browse/AC-402

}
@Override
public void delete(long tableObjectID) {

This comment has been minimized.

@codacy-bot
@codacy-bot
import org.openmrs.mobile.activities.BasePresenterContract;
import org.openmrs.mobile.activities.BaseView;
import org.openmrs.mobile.activities.syncedpatients.SyncedPatientsContract;
import org.openmrs.mobile.models.Patient;

This comment has been minimized.

import java.util.List;
import rx.Observable;
import rx.Observer;

This comment has been minimized.

@@ -0,0 +1,28 @@
package org.openmrs.mobile.activities.providermanager;
import android.support.annotation.NonNull;

This comment has been minimized.

import net.sqlcipher.Cursor;
import org.openmrs.mobile.databases.DBOpenHelper;

This comment has been minimized.

import org.openmrs.mobile.databases.DBOpenHelper;
import org.openmrs.mobile.databases.OpenMRSDBOpenHelper;
import org.openmrs.mobile.databases.tables.PatientTable;
import org.openmrs.mobile.activities.BasePresenter;
import org.openmrs.mobile.api.RestApi;
import org.openmrs.mobile.api.RestServiceBuilder;
import org.openmrs.mobile.api.retrofit.VisitApi;

This comment has been minimized.

import org.openmrs.mobile.R;
import org.openmrs.mobile.activities.ACBaseActivity;
import org.openmrs.mobile.activities.lastviewedpatients.LastViewedPatientsActivity;
@@ -0,0 +1,109 @@
package org.openmrs.mobile.activities.providermanager;
import android.content.Intent;

This comment has been minimized.

@@ -30,6 +30,7 @@
import android.support.v7.widget.RecyclerView;
import android.util.DisplayMetrics;
import android.util.TypedValue;
import android.view.Gravity;

This comment has been minimized.

*/
public class ProviderApi extends RetrofitApi {
private RestApi restApi;

This comment has been minimized.

import org.openmrs.mobile.databases.OpenMRSDBOpenHelper;
import org.openmrs.mobile.databases.tables.PatientTable;
import org.openmrs.mobile.databases.tables.ProviderTable;
import org.openmrs.mobile.models.Location;

This comment has been minimized.

@@ -0,0 +1,29 @@
package org.openmrs.mobile.dao;
import net.sqlcipher.Cursor;

This comment has been minimized.

import org.openmrs.mobile.activities.BasePresenterContract;
import org.openmrs.mobile.activities.BaseView;
import org.openmrs.mobile.activities.syncedpatients.SyncedPatientsContract;
import android.content.Intent;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;

This comment has been minimized.

}
@Override
public void onNext(Long aLong) {

This comment has been minimized.

@codacy-bot
@codacy-bot
import org.openmrs.mobile.models.Provider;
import java.util.ArrayList;
import java.util.List;

This comment has been minimized.

import org.openmrs.mobile.api.RestApi;
import org.openmrs.mobile.api.RestServiceBuilder;
import org.openmrs.mobile.api.retrofit.VisitApi;
import org.openmrs.mobile.dao.PatientDAO;

This comment has been minimized.

//Initialization Progress bar
private ProgressBar mProgressBar;
private MenuItem mAddProvidersMenuItem;

This comment has been minimized.

import net.sqlcipher.Cursor;
import org.openmrs.mobile.databases.DBOpenHelper;
import org.openmrs.mobile.databases.OpenMRSDBOpenHelper;
import org.openmrs.mobile.R;
import org.openmrs.mobile.activities.ACBaseActivity;
import org.openmrs.mobile.activities.lastviewedpatients.LastViewedPatientsActivity;
import org.openmrs.mobile.application.OpenMRS;

This comment has been minimized.

}
@Override
public void subscribe() {

This comment has been minimized.

@codacy-bot
@codacy-bot
*/
public class ProviderManagementPresenter extends BasePresenter implements ProviderManagerContract.Presenter {
RestApi restApi;

This comment has been minimized.

import org.openmrs.mobile.utilities.StringUtils;
public class ProviderManagementActivity extends ACBaseActivity {
private ProviderManagementPresenter mPresenter;

This comment has been minimized.

import org.openmrs.mobile.databases.tables.PatientTable;
import org.openmrs.mobile.databases.tables.ProviderTable;
import org.openmrs.mobile.models.Location;
import org.openmrs.mobile.models.Patient;

This comment has been minimized.

@dkayiwa

This comment has been minimized.

Show comment
Hide comment
@dkayiwa

dkayiwa Jun 19, 2018

Member

Did you take a look at the codacay-bot review comments?

Member

dkayiwa commented Jun 19, 2018

Did you take a look at the codacay-bot review comments?

@dkayiwa

This comment has been minimized.

Show comment
Hide comment
@dkayiwa

dkayiwa Jul 11, 2018

Member

@csmuthukuda can you take a look at these merge conflicts and comments above?

Member

dkayiwa commented Jul 11, 2018

@csmuthukuda can you take a look at these merge conflicts and comments above?

@csmuthukuda

This comment has been minimized.

Show comment
Hide comment
@csmuthukuda

csmuthukuda Jul 14, 2018

Contributor

@dkayiwa I'm still working on this feature while doing other features too. I have made a PR just to show my mentor to review the things. I'll let you know after this has been completed :)

Contributor

csmuthukuda commented Jul 14, 2018

@dkayiwa I'm still working on this feature while doing other features too. I have made a PR just to show my mentor to review the things. I'll let you know after this has been completed :)

@dkayiwa

This comment has been minimized.

Show comment
Hide comment
@dkayiwa

dkayiwa Aug 15, 2018

Member

@csmuthukuda what is the state of this?

Member

dkayiwa commented Aug 15, 2018

@csmuthukuda what is the state of this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment