kdjonesmtb2
Technical User
Hello
I would like create a loop that will cycle through up to 12 occurrences of the following field
I am not sure what the correct syntax is for building a next loop around the code below
Select Case dt_cptsearchtext' & cstr(iCheck2)
Case "0762","0729"
If DT_servicecode ="Medical" Then
Reporter.ReportEvent 0, "Compare Medical Code - CPT Code", "Passed CPT Code in Health Trio and QNXT match; Test Case=[" & DT_Test_Case &"]; Health Trio=[" & dt_cptsearchtext & cstr (iCheck2) & "]; QNXT=[" & QNXT_codeid & cstr (iCheck2) & "]; QNXT Description=[ " & QNXT_Description1 & "]" 'This code adds CPT code and CPT description to the Report Event screen
End if
Case "", ""
If DT_servicecode="Medical" Then
Reporter.ReportEvent 1, "Compare Medical Code - CPT Code", "Failed CPT in Health Trio and QNXT - Codes Required!; Test Case=[" & DT_Test_Case &"]; Health Trio =[" & dt_cptsearchtext & cstr (icheck2) & "]; QNXT=[" & QNXT_codeid & cstr (icheck2) & "]" 'This code adds CPT code and CPT description to the Report Event screen
End If
End Select
Thanks!
I would like create a loop that will cycle through up to 12 occurrences of the following field
I am not sure what the correct syntax is for building a next loop around the code below
Select Case dt_cptsearchtext' & cstr(iCheck2)
Case "0762","0729"
If DT_servicecode ="Medical" Then
Reporter.ReportEvent 0, "Compare Medical Code - CPT Code", "Passed CPT Code in Health Trio and QNXT match; Test Case=[" & DT_Test_Case &"]; Health Trio=[" & dt_cptsearchtext & cstr (iCheck2) & "]; QNXT=[" & QNXT_codeid & cstr (iCheck2) & "]; QNXT Description=[ " & QNXT_Description1 & "]" 'This code adds CPT code and CPT description to the Report Event screen
End if
Case "", ""
If DT_servicecode="Medical" Then
Reporter.ReportEvent 1, "Compare Medical Code - CPT Code", "Failed CPT in Health Trio and QNXT - Codes Required!; Test Case=[" & DT_Test_Case &"]; Health Trio =[" & dt_cptsearchtext & cstr (icheck2) & "]; QNXT=[" & QNXT_codeid & cstr (icheck2) & "]" 'This code adds CPT code and CPT description to the Report Event screen
End If
End Select
Thanks!