Skip to content
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

Add Practitioner Details #903

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Codacy
SebaMutuku committed Sep 28, 2022
commit 8433c15b37cfa709044807bc7454d82896983787
Original file line number Diff line number Diff line change
@@ -258,7 +258,7 @@ public Facts getPreviousContactTestsFacts(String baseEntityId) {
*/
private Cursor getAllTests(String baseEntityId, SQLiteDatabase database) {
String selection = "";
String orderBy = "MAX("+ ID + ") DESC";
String orderBy = "MAX(" + ID + ") DESC";
String[] selectionArgs = null;

if (StringUtils.isNotBlank(baseEntityId)) {
@@ -318,7 +318,7 @@ public Facts getAllTestResultsForIndividualTest(String baseEntityId, String indi
public Facts getPreviousContactFacts(String baseEntityId, String contactNo, boolean checkNegative) {
Cursor mCursor = null;
String selection = "";
String orderBy = "MAX("+ ID + ") DESC";
String orderBy = "MAX(" + ID + ") DESC";
String[] selectionArgs = null;
Facts previousContactFacts = new Facts();
try {