|
@@ -155,7 +155,7 @@ public class ConsentEvent {
|
|
final ArrayList<DataPiexVO> dataPiexVOArrayList = getDataPiex(patientInfoVO.getPid(), patientInfoVO.getInDd());
|
|
final ArrayList<DataPiexVO> dataPiexVOArrayList = getDataPiex(patientInfoVO.getPid(), patientInfoVO.getInDd());
|
|
final int dataPiexSize = dataPiexVOArrayList.size();
|
|
final int dataPiexSize = dataPiexVOArrayList.size();
|
|
if (dataPiexSize > 0) {
|
|
if (dataPiexSize > 0) {
|
|
- String message = String.format(instance.getString(R.string.piexMessage), dataPiexVOArrayList.get(0).getCreateDateTime());
|
|
|
|
|
|
+ String message = String.format(instance.getString(R.string.piexMessage), dataPiexVOArrayList.get(0).getUpdateDateTime());
|
|
instance.csAlert.show();
|
|
instance.csAlert.show();
|
|
instance.csAlert.setContent(message, "");
|
|
instance.csAlert.setContent(message, "");
|
|
instance.csAlert.btnConfirm.setText(instance.getString(R.string.yes));
|
|
instance.csAlert.btnConfirm.setText(instance.getString(R.string.yes));
|
|
@@ -169,8 +169,11 @@ public class ConsentEvent {
|
|
String itemVal = dataPiexVOArrayList.get(i).getItemVal();
|
|
String itemVal = dataPiexVOArrayList.get(i).getItemVal();
|
|
|
|
|
|
globalParam.put(connParm, itemVal);
|
|
globalParam.put(connParm, itemVal);
|
|
- consentFacade.startConsent(map, certPass, apiType);
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ map.put("globalParam", globalParam);
|
|
|
|
+ consentFacade.startConsent(map, certPass, apiType);
|
|
}
|
|
}
|
|
});
|
|
});
|
|
instance.csAlert.btnCancel.setOnClickListener(new View.OnClickListener() {
|
|
instance.csAlert.btnCancel.setOnClickListener(new View.OnClickListener() {
|
|
@@ -230,13 +233,11 @@ public class ConsentEvent {
|
|
HashMap<String, String> mData = new HashMap<String, String>();
|
|
HashMap<String, String> mData = new HashMap<String, String>();
|
|
mData.put("instCd", BuildConfig.INST_CD);
|
|
mData.put("instCd", BuildConfig.INST_CD);
|
|
mData.put("pid", pid);
|
|
mData.put("pid", pid);
|
|
- mData.put("clnDate", clnDate);
|
|
|
|
Log.e(TAG, "getDataPiex mData -- > " + mData);
|
|
Log.e(TAG, "getDataPiex mData -- > " + mData);
|
|
|
|
|
|
HttpSoapConnection connection = new HttpSoapConnection(ConsentConfig.HOST_HOSPITAL, ConsentConfig.GET_DATA_PIEX, mData);
|
|
HttpSoapConnection connection = new HttpSoapConnection(ConsentConfig.HOST_HOSPITAL, ConsentConfig.GET_DATA_PIEX, mData);
|
|
try {
|
|
try {
|
|
SoapObject object = connection.execute().get();
|
|
SoapObject object = connection.execute().get();
|
|
- Log.e(TAG, "getDataPiex object -- > " + object);
|
|
|
|
|
|
|
|
result = SoapParser.getDataPiex(object);
|
|
result = SoapParser.getDataPiex(object);
|
|
Log.e(TAG, "getDataPiex result -- > " + result.size());
|
|
Log.e(TAG, "getDataPiex result -- > " + result.size());
|