Results not received in Doctor Module after retest in Lab Technician

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Blocker
    • None
    • Affects Version/s: None
    • AMRIT Sprint 45, AMRIT Sprint 46, AMRIT Sprint 47
    • HWC Mobile App
    • UAT

      shashank.k@piramalswasthya.org , balamurugan.kariyaraj@piramalswasthya.org

      API Details -

       

      1. When Doctor select all test second time
        **
        Request

      {

        "subVisitCategory": "Management of Communicable Diseases including National Health Programs",

        "diagnosis": {

          "prescriptionID": 2801205,

          "vanID": 295,

          "parkingPlaceID": 33,

          "provisionalDiagnosisList": [

           

      {         "term": "Fiver "       }

          ],

          "beneficiaryRegID": "10460967",

          "benVisitID": "2700290",

          "visitCode": "30029502700290",

          "providerServiceMapID": "1717",

          "createdBy": "mokrong",

          "isSpecialist": false

        },

        "investigation": {

          "vanID": 295,

          "parkingPlaceID": 33,

          "beneficiaryRegID": "10460967",

          "benVisitID": "2700290",

          "visitCode": "30029502700290",

          "providerServiceMapID": "1717",

          "createdBy": "mokrong",

          "isSpecialist": false,

          "laboratoryList": [

           

      {         "procedureID": 101,         "procedureName": "Random Blood Glucose (RBS)",         "procedureDesc": "Random Blood Glucose (RBS)",         "procedureType": "Laboratory",         "gender": "unisex",         "providerServiceMapID": 1717       }

      ,

           

      {         "procedureID": 103,         "procedureName": "Urine Pregnancy Test (UPT)",         "procedureDesc": "Urine Pregnancy Test (UPT)",         "procedureType": "Laboratory",         "gender": "unisex",         "providerServiceMapID": 1717       }

      ,

           

      {         "procedureID": 104,         "procedureName": "RPR Card Test for Syphilis",         "procedureDesc": "RPR Card Test for Syphilis",         "procedureType": "Laboratory",         "gender": "unisex",         "providerServiceMapID": 1717       }

      ,

           

      {         "procedureID": 105,         "procedureName": "HIV-1 & HIV-2 (RDT)",         "procedureDesc": "HIV-1 & HIV-2 (RDT)",         "procedureType": "Laboratory",         "gender": "unisex",         "providerServiceMapID": 1717       }

      ,

           

      {         "procedureID": 106,         "procedureName": "Serum Uric Acid",         "procedureDesc": "Serum Uric Acid",         "procedureType": "Laboratory",         "gender": "unisex",         "providerServiceMapID": 1717       }

      ,

           

      {         "procedureID": 107,         "procedureName": "HBsAg (RDT)",         "procedureDesc": "Hepatitis B",         "procedureType": "Laboratory",         "gender": "unisex",         "providerServiceMapID": 1717       }

      ,

           

      {         "procedureID": 108,         "procedureName": "Serum Total Cholesterol",         "procedureDesc": "Serum Total Cholesterol",         "procedureType": "Laboratory",         "gender": "unisex",         "providerServiceMapID": 1717       }

      ,

           

      {         "procedureID": 110,         "procedureName": "Hemoglobin",         "procedureDesc": "Hemoglobin",         "procedureType": "Laboratory",         "gender": "unisex",         "providerServiceMapID": 1717       }

          ]

        },

        "prescription": [],

        "refer":

      {     "refrredToAdditionalServiceList": [       "HWC"     ],     "vanID": 295,     "parkingPlaceID": 33,     "beneficiaryRegID": "10460967",     "benVisitID": "2700290",     "visitCode": "30029502700290",     "providerServiceMapID": "1717",     "createdBy": "mokrong",     "isSpecialist": false   }

      ,

        "benFlowID": "3099505",

        "beneficiaryID": "728041856105",

        "doctorFlag": "3",

        "nurseFlag": "9",

        "pharmacist_flag": "0",

        "sessionID": "3",

        "parkingPlaceID": 33,

        "vanID": 295,

        "beneficiaryRegID": "10460967",

        "providerServiceMapID": "1717",

        "visitCode": "30029502700290",

        "benVisitID": "2700290",

        "serviceID": "1717",

        "createdBy": "mokrong",

        "isSpecialist": false

      }

      Response

      {

        "data":

      {     "response": "Data updated successfully"   }

      ,

        "statusCode": 200,

        "errorMessage": "Success",

        "status": "Success"

      }

      1. In Lab Technician Data Getting
        **
        API 

      https://uatamrit.piramalswasthya.org/hwc-api/labTechnician/get/prescribedProceduresList?apiKey=unde…

      Request

      {   "beneficiaryRegID": 10460967,   "benVisitID": 2700290,   "visitCode": 30029502700290 }

      Response

      {

        "data": {

          "radiologyList": [],

          "laboratoryList": [

            {

              "procedureDesc": "Urine Pregnancy Test (UPT)",

              "procedureType": "Laboratory",

              "prescriptionID": 2801205,

              "procedureCode": "Pregnancy",

              "procedureID": 103,

              "iotProcedureName": "Pregnancy",

              "isLabProcedure": true,

              "procedureName": "Urine Pregnancy Test (UPT)",

              "compListDetails": [

                {

                  "compOpt": [

                   

      {                 "name": "Invalid"               }

      ,

                   

      {                 "name": "Invalid"               }

      ,

                   

      {                 "name": "Invalid"               }

      ,

                   

      {                 "name": "Invalid"               }

      ,

                   

      {                 "name": "Invalid"               }

      ,

                   

      {                 "name": "Invalid"               }

      ,

                   

      {                 "name": "Negative"               }

      ,

                   

      {                 "name": "Negative"               }

      ,

                   

      {                 "name": "Negative"               }

      ,

                   

      {                 "name": "Negative"               }

      ,

                   

      {                 "name": "Negative"               }

      ,

                   

      {                 "name": "Negative"               }

      ,

                   

      {                 "name": "Positive"               }

      ,

                   

      {                 "name": "Positive"               }

      ,

                   

      {                 "name": "Positive"               }

      ,

                   

      {                 "name": "Positive"               }

      ,

                   

      {                 "name": "Positive"               }

      ,

                   

      {                 "name": "Positive"               }

                  ],

                  "componentCode": "rdtResult",

                  "testComponentID": 104,

                  "testComponentName": "Urine Pregnancy Test (UPT)",

                  "iotComponentName": "Pregnancy",

                  "iotProcedureID": "4",

                  "isDecimal": false,

                  "inputType": "DropDown",

                  "testComponentDesc": "Urine Pregnancy Test (UPT)"

                }

              ],

              "procedureStatusAPI": "/api/v1/urine_poct_test/pregnancy/status",

              "isMandatory": false,

              "procedureEndAPI": "/api/v1/urine_poct_test/pregnancy",

              "procedureStartAPI": "/api/v1/urine_poct_test/pregnancy"

            }

          ],

          "archive": [

            {

              "prescriptionID": 2801205,

              "procedureID": 101,

              "createdDate": "Sep 12, 2025, 4:24:26 PM",

              "procedureName": "Random Blood Glucose (RBS)",

              "procedureType": "Laboratory",

              "componentList": [

               

      {             "testResultValue": "80",             "fileIDs": [               null             ],             "testResultUnit": "mg/dl",             "testComponentID": 102,             "componentName": "Random Blood Glucose (RBS)",             "remarks": "Bad"           }

              ]

            },

            {

              "prescriptionID": 2801205,

              "procedureID": 104,

              "createdDate": "Sep 12, 2025, 4:24:26 PM",

              "procedureName": "RPR Card Test for Syphilis",

              "procedureType": "Laboratory",

              "componentList": [

               

      {             "testResultValue": "Positive",             "fileIDs": [               null             ],             "testComponentID": 105,             "componentName": "RPR Card Test for Syphilis",             "remarks": "negetive "           }

              ]

            },

            {

              "prescriptionID": 2801205,

              "procedureID": 105,

              "createdDate": "Sep 12, 2025, 4:24:26 PM",

              "procedureName": "HIV-1 \u0026 HIV-2 (RDT)",

              "procedureType": "Laboratory",

              "componentList": [

               

      {             "testResultValue": "Positive",             "fileIDs": [               null             ],             "testComponentID": 106,             "componentName": "HIV-1 \u0026 HIV-2 (RDT)",             "remarks": "neg"           }

              ]

            },

            {

              "prescriptionID": 2801205,

              "procedureID": 106,

              "createdDate": "Sep 12, 2025, 4:24:26 PM",

              "procedureName": "Serum Uric Acid",

              "procedureType": "Laboratory",

              "componentList": [

               

      {             "testResultValue": "25",             "fileIDs": [               null             ],             "testResultUnit": "mg/dl",             "testComponentID": 107,             "componentName": "Serum Uric Acid",             "remarks": "bad"           }

              ]

            },

            {

              "prescriptionID": 2801205,

              "procedureID": 107,

              "createdDate": "Sep 12, 2025, 4:24:26 PM",

              "procedureName": "HBsAg (RDT)",

              "procedureType": "Laboratory",

              "componentList": [

               

      {             "testResultValue": "Positive",             "fileIDs": [               null             ],             "testComponentID": 108,             "componentName": "HBsAg (RDT)",             "remarks": "pos"           }

              ]

            },

            {

              "prescriptionID": 2801205,

              "procedureID": 108,

              "createdDate": "Sep 12, 2025, 4:24:26 PM",

              "procedureName": "Serum Total Cholesterol",

              "procedureType": "Laboratory",

              "componentList": [

               

      {             "testResultValue": "120",             "fileIDs": [               null             ],             "testResultUnit": "mg/dl",             "testComponentID": 109,             "componentName": "Serum Total Cholesterol",             "remarks": "one twenty "           }

              ]

            },

            {

              "prescriptionID": 2801205,

              "procedureID": 110,

              "createdDate": "Sep 12, 2025, 4:24:26 PM",

              "procedureName": "Hemoglobin",

              "procedureType": "Laboratory",

              "componentList": [

               

      {             "testResultValue": "9",             "fileIDs": [               null             ],             "testResultUnit": "g/dL",             "testComponentID": 111,             "componentName": "Hemoglobin",             "remarks": "nine"           }

              ]

            }

          ]

        },

        "statusCode": 200,

        "errorMessage": "Success",

        "status": "Success"

      }

      1. Lab Technician Submit data
        **
        API
        https://uatamrit.piramalswasthya.org/hwc-api/labTechnician/save/LabTestResult?apiKey=undefined

      Request

      {

        "labTestResults": [

          {

            "prescriptionID": 2801205,

            "procedureID": 103,

            "compList": [

             

      {           "testComponentID": 104,           "remarks": "Bad"         }

            ]

          }

        ],

        "radiologyTestResults": [],

        "labCompleted": true,

        "createdBy": "mokrong",

        "doctorFlag": "2",

        "nurseFlag": "9",

        "beneficiaryRegID": 10460967,

        "beneficiaryID": 728041856105,

        "benFlowID": 3099505,

        "visitID": 2700290,

        "visitCode": 30029502700290,

        "providerServiceMapID": 1717,

        "vanID": 295,

        "parkingPlaceID": 33

      }

      Response

      {

        "data":

      {     "response": "Data saved successfully"   }

      ,

        "statusCode": 200,

        "errorMessage": "Success",

        "status": "Success"

      }

      1. When I Come Back in Doctor Page
        **
        API

      https://uatamrit.piramalswasthya.org/hwc-api/generalOPD/getBenCaseRecordFromDoctorGeneralOPD
      Request

      {   "benRegID": 10460967,   "visitCode": 30029502700290 }

      Response

      {

        "data": {

          "Refer":

      {       "benReferID": 350339,       "beneficiaryRegID": 10460967,       "benVisitID": 2700290,       "providerServiceMapID": 1717,       "visitCode": 30029502700290,       "serviceName": "HWC",       "deleted": false,       "processed": "N",       "createdBy": "mokrong",       "createdDate": "Sep 12, 2025, 6:23:51 PM",       "lastModDate": "Sep 12, 2025, 6:23:51 PM",       "vanID": 295,       "parkingPlaceID": 33,       "refrredToAdditionalServiceList": [         "HWC"       ],       "referralReasonList": []     }

      ,

          "prescription": [],

          "findings": {

            "beneficiaryRegID": 10460967,

            "benVisitID": 2700290,

            "visitCode": 30029502700290,

            "providerServiceMapID": 1717,

            "complaints": [

             

      {           "benChiefComplaintID": 961526,           "beneficiaryRegID": 10460967,           "benVisitID": 2700290,           "providerServiceMapID": 1717,           "visitCode": 30029502700290,           "chiefComplaintID": 2,           "chiefComplaint": "Abdominal Mass ",           "duration": 8,           "unitOfDuration": "Days"         }

            ]

          },

          "LabReport": [

            {

              "prescriptionID": 2801205,

              "procedureID": 101,

              "createdDate": "Sep 12, 2025, 4:24:26 PM",

              "procedureName": "Random Blood Glucose (RBS)",

              "procedureType": "Laboratory",

              "componentList": [

               

      {             "testResultValue": "80",             "fileIDs": [               null             ],             "testResultUnit": "mg/dl",             "testComponentID": 102,             "componentName": "Random Blood Glucose (RBS)",             "remarks": "Bad"           }

              ]

            },

            {

              "prescriptionID": 2801205,

              "procedureID": 104,

              "createdDate": "Sep 12, 2025, 4:24:26 PM",

              "procedureName": "RPR Card Test for Syphilis",

              "procedureType": "Laboratory",

              "componentList": [

               

      {             "testResultValue": "Positive",             "fileIDs": [               null             ],             "testComponentID": 105,             "componentName": "RPR Card Test for Syphilis",             "remarks": "negetive "           }

              ]

            },

            {

              "prescriptionID": 2801205,

              "procedureID": 105,

              "createdDate": "Sep 12, 2025, 4:24:26 PM",

              "procedureName": "HIV-1 \u0026 HIV-2 (RDT)",

              "procedureType": "Laboratory",

              "componentList": [

               

      {             "testResultValue": "Positive",             "fileIDs": [               null             ],             "testComponentID": 106,             "componentName": "HIV-1 \u0026 HIV-2 (RDT)",             "remarks": "neg"           }

              ]

            },

            {

              "prescriptionID": 2801205,

              "procedureID": 106,

              "createdDate": "Sep 12, 2025, 4:24:26 PM",

              "procedureName": "Serum Uric Acid",

              "procedureType": "Laboratory",

              "componentList": [

               

      {             "testResultValue": "25",             "fileIDs": [               null             ],             "testResultUnit": "mg/dl",             "testComponentID": 107,             "componentName": "Serum Uric Acid",             "remarks": "bad"           }

              ]

            },

            {

              "prescriptionID": 2801205,

              "procedureID": 107,

              "createdDate": "Sep 12, 2025, 4:24:26 PM",

              "procedureName": "HBsAg (RDT)",

              "procedureType": "Laboratory",

              "componentList": [

               

      {             "testResultValue": "Positive",             "fileIDs": [               null             ],             "testComponentID": 108,             "componentName": "HBsAg (RDT)",             "remarks": "pos"           }

              ]

            },

            {

              "prescriptionID": 2801205,

              "procedureID": 108,

              "createdDate": "Sep 12, 2025, 4:24:26 PM",

              "procedureName": "Serum Total Cholesterol",

              "procedureType": "Laboratory",

              "componentList": [

               

      {             "testResultValue": "120",             "fileIDs": [               null             ],             "testResultUnit": "mg/dl",             "testComponentID": 109,             "componentName": "Serum Total Cholesterol",             "remarks": "one twenty "           }

              ]

            },

            {

              "prescriptionID": 2801205,

              "procedureID": 110,

              "createdDate": "Sep 12, 2025, 4:24:26 PM",

              "procedureName": "Hemoglobin",

              "procedureType": "Laboratory",

              "componentList": [

               

      {             "testResultValue": "9",             "fileIDs": [               null             ],             "testResultUnit": "g/dL",             "testComponentID": 111,             "componentName": "Hemoglobin",             "remarks": "nine"           }

              ]

            }

          ],

          "diagnosis": {

            "prescriptionID": 2801205,

            "beneficiaryRegID": 10460967,

            "benVisitID": 2700290,

            "providerServiceMapID": 1717,

            "visitCode": 30029502700290,

            "diagnosisProvided": "Fiver",

            "diagnosisProvided_SCTCode": "N/A",

            "processed": "N",

            "createdBy": "mokrong",

            "createdDate": "Sep 12, 2025, 4:23:00 PM",

            "lastModDate": "Sep 12, 2025, 6:21:20 PM",

            "vanID": 295,

            "parkingPlaceID": 33,

            "provisionalDiagnosisList": [

             

      {           "conceptID": "N/A",           "term": "Fiver"         }

            ]

          },

          "investigation": {

            "beneficiaryRegID": 10460967,

            "benVisitID": 2700290,

            "visitCode": 30029502700290,

            "providerServiceMapID": 1717,

            "laboratoryList": [

             

      {           "procedureID": 101,           "procedureName": "Random Blood Glucose (RBS)"         }

      ,

             

      {           "procedureID": 103,           "procedureName": "Urine Pregnancy Test (UPT)"         }

      ,

             

      {           "procedureID": 104,           "procedureName": "RPR Card Test for Syphilis"         }

      ,

             

      {           "procedureID": 105,           "procedureName": "HIV-1 \u0026 HIV-2 (RDT)"         }

      ,

             

      {           "procedureID": 106,           "procedureName": "Serum Uric Acid"         }

      ,

             

      {           "procedureID": 107,           "procedureName": "HBsAg (RDT)"         }

      ,

             

      {           "procedureID": 108,           "procedureName": "Serum Total Cholesterol"         }

      ,

             

      {           "procedureID": 110,           "procedureName": "Hemoglobin"         }

      ,

             

      {           "procedureID": 105,           "procedureName": "HIV-1 \u0026 HIV-2 (RDT)"         }

      ,

             

      {           "procedureID": 103,           "procedureName": "Urine Pregnancy Test (UPT)"         }

      ,

             

      {           "procedureID": 101,           "procedureName": "Random Blood Glucose (RBS)"         }

      ,

             

      {           "procedureID": 107,           "procedureName": "HBsAg (RDT)"         }

      ,

             

      {           "procedureID": 101,           "procedureName": "Random Blood Glucose (RBS)"         }

      ,

             

      {           "procedureID": 103,           "procedureName": "Urine Pregnancy Test (UPT)"         }

      ,

             

      {           "procedureID": 104,           "procedureName": "RPR Card Test for Syphilis"         }

      ,

             

      {           "procedureID": 105,           "procedureName": "HIV-1 \u0026 HIV-2 (RDT)"         }

      ,

             

      {           "procedureID": 106,           "procedureName": "Serum Uric Acid"         }

      ,

             

      {           "procedureID": 107,           "procedureName": "HBsAg (RDT)"         }

      ,

             

      {           "procedureID": 108,           "procedureName": "Serum Total Cholesterol"         }

      ,

             

      {           "procedureID": 110,           "procedureName": "Hemoglobin"         }

      ,

             

      {           "procedureID": 101,           "procedureName": "Random Blood Glucose (RBS)"         }

      ,

             

      {           "procedureID": 103,           "procedureName": "Urine Pregnancy Test (UPT)"         }

      ,

             

      {           "procedureID": 104,           "procedureName": "RPR Card Test for Syphilis"         }

      ,

             

      {           "procedureID": 105,           "procedureName": "HIV-1 \u0026 HIV-2 (RDT)"         }

      ,

             

      {           "procedureID": 106,           "procedureName": "Serum Uric Acid"         }

      ,

             

      {           "procedureID": 107,           "procedureName": "HBsAg (RDT)"         }

      ,

             

      {           "procedureID": 108,           "procedureName": "Serum Total Cholesterol"         }

      ,

             

      {           "procedureID": 110,           "procedureName": "Hemoglobin"         }

      ,

             

      {           "procedureID": 101,           "procedureName": "Random Blood Glucose (RBS)"         }

      ,

             

      {           "procedureID": 103,           "procedureName": "Urine Pregnancy Test (UPT)"         }

      ,

             

      {           "procedureID": 104,           "procedureName": "RPR Card Test for Syphilis"         }

      ,

             

      {           "procedureID": 105,           "procedureName": "HIV-1 \u0026 HIV-2 (RDT)"         }

      ,

             

      {           "procedureID": 106,           "procedureName": "Serum Uric Acid"         }

      ,

             

      {           "procedureID": 107,           "procedureName": "HBsAg (RDT)"         }

      ,

             

      {           "procedureID": 108,           "procedureName": "Serum Total Cholesterol"         }

      ,

             

      {           "procedureID": 110,           "procedureName": "Hemoglobin"         }

      ,

             

      {           "procedureID": 101,           "procedureName": "Random Blood Glucose (RBS)"         }

      ,

             

      {           "procedureID": 103,           "procedureName": "Urine Pregnancy Test (UPT)"         }

      ,

             

      {           "procedureID": 104,           "procedureName": "RPR Card Test for Syphilis"         }

      ,

             

      {           "procedureID": 105,           "procedureName": "HIV-1 \u0026 HIV-2 (RDT)"         }

      ,

             

      {           "procedureID": 106,           "procedureName": "Serum Uric Acid"         }

      ,

             

      {           "procedureID": 107,           "procedureName": "HBsAg (RDT)"         }

      ,

             

      {           "procedureID": 108,           "procedureName": "Serum Total Cholesterol"         }

      ,

             

      {           "procedureID": 110,           "procedureName": "Hemoglobin"         }

      ,

             

      {           "procedureID": 101,           "procedureName": "Random Blood Glucose (RBS)"         }

      ,

             

      {           "procedureID": 103,           "procedureName": "Urine Pregnancy Test (UPT)"         }

      ,

             

      {           "procedureID": 104,           "procedureName": "RPR Card Test for Syphilis"         }

      ,

             

      {           "procedureID": 105,           "procedureName": "HIV-1 \u0026 HIV-2 (RDT)"         }

      ,

             

      {           "procedureID": 106,           "procedureName": "Serum Uric Acid"         }

      ,

             

      {           "procedureID": 107,           "procedureName": "HBsAg (RDT)"         }

      ,

             

      {           "procedureID": 108,           "procedureName": "Serum Total Cholesterol"         }

      ,

             

      {           "procedureID": 110,           "procedureName": "Hemoglobin"         }

      ,

             

      {           "procedureID": 101,           "procedureName": "Random Blood Glucose (RBS)"         }

      ,

             

      {           "procedureID": 103,           "procedureName": "Urine Pregnancy Test (UPT)"         }

      ,

             

      {           "procedureID": 104,           "procedureName": "RPR Card Test for Syphilis"         }

      ,

             

      {           "procedureID": 105,           "procedureName": "HIV-1 \u0026 HIV-2 (RDT)"         }

      ,

             

      {           "procedureID": 106,           "procedureName": "Serum Uric Acid"         }

      ,

             

      {           "procedureID": 107,           "procedureName": "HBsAg (RDT)"         }

      ,

             

      {           "procedureID": 108,           "procedureName": "Serum Total Cholesterol"         }

      ,

             

      {           "procedureID": 110,           "procedureName": "Hemoglobin"         }

      ,

             

      {           "procedureID": 101,           "procedureName": "Random Blood Glucose (RBS)"         }

      ,

             

      {           "procedureID": 103,           "procedureName": "Urine Pregnancy Test (UPT)"         }

      ,

             

      {           "procedureID": 104,           "procedureName": "RPR Card Test for Syphilis"         }

      ,

             

      {           "procedureID": 105,           "procedureName": "HIV-1 \u0026 HIV-2 (RDT)"         }

      ,

             

      {           "procedureID": 106,           "procedureName": "Serum Uric Acid"         }

      ,

             

      {           "procedureID": 107,           "procedureName": "HBsAg (RDT)"         }

      ,

             

      {           "procedureID": 108,           "procedureName": "Serum Total Cholesterol"         }

      ,

             

      {           "procedureID": 110,           "procedureName": "Hemoglobin"         }

            ]

          },

          "ArchivedVisitcodeForLabResult": [],

          "GraphData": {

            "bpList": [

             

      {           "date": "Sep 12, 2025",           "avgDysBP": 20,           "avgSysBP": 120         }

            ],

            "weightList": [

             

      {           "date": "Sep 12, 2025",           "weight": 60.0         }

            ],

            "bgList": []

          }

        },

        "statusCode": 200,

        "errorMessage": "Success",

        "status": "Success"

      }

            Assignee:
            Vanitha S
            Reporter:
            Sushant Yadav
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: