|
[x]
Posted via EE Mobile
|
||
Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
||
| 10/30/2009 at 10:27AM PDT, ID: 24858801 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: |
SELECT DISTINCT
Encounter_Det.Patient_Id, Encounter_Det.Location,
CASE Patient_Personal.Patient_Type WHEN 'Collect' THEN 'Collections' WHEN 'Del Acct' THEN 'Delinquent Account' WHEN 'Fin Rest' THEN 'Financial Restriction'
WHEN 'FinDisch' THEN 'Financial Discharge' WHEN 'PayPlan' THEN 'Payment Plan' WHEN 'Pre Coll' THEN 'Pre Collections' WHEN 'SFA' THEN 'SFA' WHEN
'SFB' THEN 'SFB' WHEN 'SFC' THEN 'SFC' WHEN 'SFD' THEN 'SFD' WHEN 'SFE' THEN 'SFE' WHEN 'P100%' THEN 'P100%' ELSE 'NADA' END AS Patient_Type,
SUM(AccountLedger.Amount) AS Amount, AccountLedger.UserPost_Date
FROM MDS_ICCH.dbo.Patient_Personal AS Patient_Personal INNER JOIN
MDS_ICCH.dbo.Encounter_Det AS Encounter_Det ON Patient_Personal.Patient_Id = Encounter_Det.Patient_Id INNER JOIN
MDS_ICCH.dbo.CPT_Code AS CPT_Code ON Encounter_Det.CPT_Code = CPT_Code.CPT_Code INNER JOIN
AccountLedger ON Patient_Personal.Patient_Id = AccountLedger.Patient_Id AND
Encounter_Det.Encounter_Date = AccountLedger.Encounter_Date
WHERE (CPT_Code.billable_flag = 1) AND (Encounter_Det.Delete_Id IS NULL) AND (Encounter_Det.Delete_Date IS NULL) AND
(AccountLedger.TransactionType_Id = 'PMT:CAPCOPAY' OR
AccountLedger.TransactionType_Id = 'PMT:CAPCOPAY:COR' OR
AccountLedger.TransactionType_Id = 'PMT:COPAY' OR
AccountLedger.TransactionType_Id = 'PMT:COPAY:COR' OR
AccountLedger.TransactionType_Id = 'PMT:ENCPT' OR
AccountLedger.TransactionType_Id = 'PMT:ENCPT:COR' OR
AccountLedger.TransactionType_Id = 'PMT:EOCPT' OR
AccountLedger.TransactionType_Id = 'PMT:EOCPT:COR' OR
AccountLedger.TransactionType_Id = 'PMT:TOSPMT' OR
AccountLedger.TransactionType_Id = 'PMT:TOSPMT:COR')
GROUP BY Encounter_Det.Patient_Id, Encounter_Det.Location,
CASE Patient_Personal.Patient_Type WHEN 'Collect' THEN 'Collections' WHEN 'Del Acct' THEN 'Delinquent Account' WHEN 'Fin Rest' THEN 'Financial Restriction'
WHEN 'FinDisch' THEN 'Financial Discharge' WHEN 'PayPlan' THEN 'Payment Plan' WHEN 'Pre Coll' THEN 'Pre Collections' WHEN 'SFA' THEN 'SFA' WHEN
'SFB' THEN 'SFB' WHEN 'SFC' THEN 'SFC' WHEN 'SFD' THEN 'SFD' WHEN 'SFE' THEN 'SFE' WHEN 'P100%' THEN 'P100%' ELSE 'NADA' END,
AccountLedger.UserPost_Date
ORDER BY Encounter_Det.Patient_Id
|
Advertisement