|
@@ -22,6 +22,7 @@
|
|
$totalNotesWithBillingClosed = 0;
|
|
$totalNotesWithBillingClosed = 0;
|
|
$totalNotesWithClaimingClosed = 0;
|
|
$totalNotesWithClaimingClosed = 0;
|
|
foreach($patient->notesAscending as $note){
|
|
foreach($patient->notesAscending as $note){
|
|
|
|
+ if($note->is_cancelled) continue;
|
|
$hcpIdToProMap[$note->hcp_pro_id] = $note->hcpPro;
|
|
$hcpIdToProMap[$note->hcp_pro_id] = $note->hcpPro;
|
|
$d = $note->effective_dateest;
|
|
$d = $note->effective_dateest;
|
|
$firstDateSeenByHcpMap[$note->hcp_pro_id] = isset($firstDateSeenByHcpMap[$note->hcp_pro_id]) ? $firstDateSeenByHcpMap[$note->hcp_pro_id] : $d;
|
|
$firstDateSeenByHcpMap[$note->hcp_pro_id] = isset($firstDateSeenByHcpMap[$note->hcp_pro_id]) ? $firstDateSeenByHcpMap[$note->hcp_pro_id] : $d;
|
|
@@ -221,7 +222,7 @@
|
|
$loopLastContentByHcp = [];
|
|
$loopLastContentByHcp = [];
|
|
$rowIndex = 0;
|
|
$rowIndex = 0;
|
|
foreach($patient->notesAscending as $note){
|
|
foreach($patient->notesAscending as $note){
|
|
-
|
|
|
|
|
|
+ if($note->is_cancelled) continue;
|
|
$rowIndex++;
|
|
$rowIndex++;
|
|
|
|
|
|
$d = $note->effective_dateest;
|
|
$d = $note->effective_dateest;
|