Advertisement
Advertisement
| 05.09.2008 at 08:53AM PDT, ID: 23389857 |
|
[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: |
SELECT Distinct lastname, firstname,case when bytlanguage = 2 then 'English' when bytlanguage = 3 THEN 'Spanish' when bytlanguage = 1 THEN 'English' when bytlanguage = 4 THEN 'English' else 'English' end as 'Language', appt.phone, CONVERT(VARCHAR,APPTDATE, 101) as apptdate, CONVERT(VARCHAR(10), time_hour, 120) + ':' + case when len(time_minute) > 1 then CONVERT(VARCHAR(10), time_minute, 120) else CONVERT(VARCHAR(10), time_minute, 120) + '0' end as time,apptreason, name_last, name_first FROM DDB_APPT_BASE as appt inner join ddb_pat_base as pat on appt.patid = pat.patid inner join ddb_rsc_base as rsc on appt.prprovid = rsc.urscid inner join tblpatient as p on appt.chart = p.strpatientid WHERE CONVERT(VARCHAR,APPTDATE, 101) = CONVERT(VARCHAR,DateAdd(dd, CASE WHEN DATEPART(weekday, getdate()) IN ( 5,6) THEN 4 ELSE 2 END , GetDate()), 101) and rsc.defaultclinic = 30 ORDER BY APPTDATE DESC |