TESTING SITE
National Outcomes and Casemix Collection — Version 02.01
The full specification for NOCC 02.01 can be found on the documentation site.
Main Content
NOCC version 02.01: Virtual Elements
Name | Base | Title | SQL |
---|---|---|---|
HonosCompletion | HONOS | Honos Completion Status | select ColId, ( cast(Hnos01 in ('0','1','2','3','4') as integer) + cast(Hnos02 in ('0','1','2','3','4') as integer) + cast(Hnos03 in ('0','1','2','3','4') as integer) + cast(Hnos04 in ('0','1','2','3','4') as integer) + cast(Hnos05 in ('0','1','2','3','4') as integer) + cast(Hnos06 in ('0','1','2','3','4') as integer) + cast(Hnos07 in ('0','1','2','3','4') as integer) + cast(Hnos08 in ('0','1','2','3','4') as integer) + cast(Hnos09 in ('0','1','2','3','4') as integer) + cast(Hnos10 in ('0','1','2','3','4') as integer) + cast(Hnos11 in ('0','1','2','3','4') as integer) + cast(Hnos12 in ('0','1','2','3','4') as integer) + 0 ) >= 10 as IsCompleted from HONOS |
Lsp16Completion | LSP16 | Lsp16 Completion Status | select ColId, ( cast(Lsp01 in ('0','1','2','3') as integer) + cast(Lsp02 in ('0','1','2','3') as integer) + cast(Lsp03 in ('0','1','2','3') as integer) + cast(Lsp04 in ('0','1','2','3') as integer) + cast(Lsp05 in ('0','1','2','3') as integer) + cast(Lsp06 in ('0','1','2','3') as integer) + cast(Lsp07 in ('0','1','2','3') as integer) + cast(Lsp08 in ('0','1','2','3') as integer) + cast(Lsp09 in ('0','1','2','3') as integer) + cast(Lsp10 in ('0','1','2','3') as integer) + cast(Lsp11 in ('0','1','2','3') as integer) + cast(Lsp12 in ('0','1','2','3') as integer) + cast(Lsp13 in ('0','1','2','3') as integer) + cast(Lsp14 in ('0','1','2','3') as integer) + cast(Lsp15 in ('0','1','2','3') as integer) + cast(Lsp16 in ('0','1','2','3') as integer) + 0 ) >= 14 as IsCompleted from LSP16 |
RugadlCompletion | RUGADL | Rugadl Completion Status | select ColId, ( cast(RugAdl1 in ('1','2','3','4','5') as integer) + cast(RugAdl2 in ('1','2','3','4','5') as integer) + cast(RugAdl3 in ('1','2','3','4','5') as integer) + cast(RugAdl4 in ('1','2','3','4','5') as integer) + 0 ) >= 4 as IsCompleted from RUGADL |
HonoscaCompletion | HONOSCA | Honosca Completion Status | select ColId, ( cast(HnosC01 in ('0','1','2','3','4') as integer) + cast(HnosC02 in ('0','1','2','3','4') as integer) + cast(HnosC03 in ('0','1','2','3','4') as integer) + cast(HnosC04 in ('0','1','2','3','4') as integer) + cast(HnosC05 in ('0','1','2','3','4') as integer) + cast(HnosC06 in ('0','1','2','3','4') as integer) + cast(HnosC07 in ('0','1','2','3','4') as integer) + cast(HnosC08 in ('0','1','2','3','4') as integer) + cast(HnosC09 in ('0','1','2','3','4') as integer) + cast(HnosC10 in ('0','1','2','3','4') as integer) + cast(HnosC11 in ('0','1','2','3','4') as integer) + cast(HnosC12 in ('0','1','2','3','4') as integer) + cast(HnosC13 in ('0','1','2','3','4') as integer) + 0 ) >= 11 as IsCompleted from HONOSCA |
CgasCompletion | CGAS | Cgas Completion Status | select ColId, ( Cgas between 1 and 100 ) as IsCompleted from CGAS |
FihsCompletion | FIHS | Fihs Completion Status | select ColId, ( cast(Fihs1 in ('1','2') as integer) + cast(Fihs2 in ('1','2') as integer) + cast(Fihs3 in ('1','2') as integer) + cast(Fihs4 in ('1','2') as integer) + cast(Fihs5 in ('1','2') as integer) + cast(Fihs6 in ('1','2') as integer) + cast(Fihs7 in ('1','2') as integer) + 0 ) >= 6 as IsCompleted from FIHS |
Mhi38Completion | MHI38 | Mhi38 Completion Status | select ColId, ( cast(MHI01 in ('1','2','3','4','5','6') as integer) + cast(MHI02 in ('1','2','3','4','5','6') as integer) + cast(MHI03 in ('1','2','3','4','5','6') as integer) + cast(MHI04 in ('1','2','3','4','5','6') as integer) + cast(MHI05 in ('1','2','3','4','5','6') as integer) + cast(MHI06 in ('1','2','3','4','5','6') as integer) + cast(MHI07 in ('1','2','3','4','5','6') as integer) + cast(MHI08 in ('1','2','3','4','5','6') as integer) + cast(MHI09 in ('1','2','3','4','5','6') as integer) + cast(MHI10 in ('1','2','3','4','5','6') as integer) + cast(MHI11 in ('1','2','3','4','5','6') as integer) + cast(MHI12 in ('1','2','3','4','5','6') as integer) + cast(MHI13 in ('1','2','3','4','5','6') as integer) + cast(MHI14 in ('1','2','3','4','5','6') as integer) + cast(MHI15 in ('1','2','3','4','5','6') as integer) + cast(MHI16 in ('1','2','3','4','5','6') as integer) + cast(MHI17 in ('1','2','3','4','5','6') as integer) + cast(MHI18 in ('1','2','3','4','5','6') as integer) + cast(MHI19 in ('1','2','3','4','5','6') as integer) + cast(MHI20 in ('1','2','3','4','5','6') as integer) + cast(MHI21 in ('1','2','3','4','5','6') as integer) + cast(MHI22 in ('1','2','3','4','5','6') as integer) + cast(MHI23 in ('1','2','3','4','5','6') as integer) + cast(MHI24 in ('1','2','3','4','5','6') as integer) + cast(MHI25 in ('1','2','3','4','5','6') as integer) + cast(MHI26 in ('1','2','3','4','5','6') as integer) + cast(MHI27 in ('1','2','3','4','5','6') as integer) + cast(MHI28 in ('1','2','3','4','5','6') as integer) + cast(MHI29 in ('1','2','3','4','5','6') as integer) + cast(MHI30 in ('1','2','3','4','5','6') as integer) + cast(MHI31 in ('1','2','3','4','5','6') as integer) + cast(MHI32 in ('1','2','3','4','5','6') as integer) + cast(MHI33 in ('1','2','3','4','5','6') as integer) + cast(MHI34 in ('1','2','3','4','5','6') as integer) + cast(MHI35 in ('1','2','3','4','5','6') as integer) + cast(MHI36 in ('1','2','3','4','5','6') as integer) + cast(MHI37 in ('1','2','3','4','5','6') as integer) + cast(MHI38 in ('1','2','3','4','5','6') as integer) + 0 ) >= 30 as IsCompleted from MHI38 |
Basis32Completion | BASIS32 | Basis32 Completion Status | select ColId, ( cast(BASIS01 in ('0','1','2','3','4') as integer) + cast(BASIS02 in ('0','1','2','3','4') as integer) + cast(BASIS03 in ('0','1','2','3','4') as integer) + cast(BASIS04 in ('0','1','2','3','4') as integer) + cast(BASIS05 in ('0','1','2','3','4') as integer) + cast(BASIS06 in ('0','1','2','3','4') as integer) + cast(BASIS07 in ('0','1','2','3','4') as integer) + cast(BASIS08 in ('0','1','2','3','4') as integer) + cast(BASIS09 in ('0','1','2','3','4') as integer) + cast(BASIS10 in ('0','1','2','3','4') as integer) + cast(BASIS11 in ('0','1','2','3','4') as integer) + cast(BASIS12 in ('0','1','2','3','4') as integer) + cast(BASIS13 in ('0','1','2','3','4') as integer) + cast(BASIS14 in ('0','1','2','3','4') as integer) + cast(BASIS15 in ('0','1','2','3','4') as integer) + cast(BASIS16 in ('0','1','2','3','4') as integer) + cast(BASIS17 in ('0','1','2','3','4') as integer) + cast(BASIS18 in ('0','1','2','3','4') as integer) + cast(BASIS19 in ('0','1','2','3','4') as integer) + cast(BASIS20 in ('0','1','2','3','4') as integer) + cast(BASIS21 in ('0','1','2','3','4') as integer) + cast(BASIS22 in ('0','1','2','3','4') as integer) + cast(BASIS23 in ('0','1','2','3','4') as integer) + cast(BASIS24 in ('0','1','2','3','4') as integer) + cast(BASIS25 in ('0','1','2','3','4') as integer) + cast(BASIS26 in ('0','1','2','3','4') as integer) + cast(BASIS27 in ('0','1','2','3','4') as integer) + cast(BASIS28 in ('0','1','2','3','4') as integer) + cast(BASIS29 in ('0','1','2','3','4') as integer) + cast(BASIS30 in ('0','1','2','3','4') as integer) + cast(BASIS31 in ('0','1','2','3','4') as integer) + cast(BASIS32 in ('0','1','2','3','4') as integer) + 0 ) >= 27 as IsCompleted from BASIS32 |
K10lmCompletion | K10LM | K10lm Completion Status | select ColId, ( cast(K10LM01 in ('1','2','3','4','5') as integer) + cast(K10LM02 in ('1','2','3','4','5') as integer) + cast(K10LM03 in ('1','2','3','4','5') as integer) + cast(K10LM04 in ('1','2','3','4','5') as integer) + cast(K10LM05 in ('1','2','3','4','5') as integer) + cast(K10LM06 in ('1','2','3','4','5') as integer) + cast(K10LM07 in ('1','2','3','4','5') as integer) + cast(K10LM08 in ('1','2','3','4','5') as integer) + cast(K10LM09 in ('1','2','3','4','5') as integer) + cast(K10LM10 in ('1','2','3','4','5') as integer) + 0 ) >= 9 as IsCompleted from K10LM |
K10l3dCompletion | K10L3D | K10l3d Completion Status | select ColId, ( cast(K10L3D01 in ('1','2','3','4','5') as integer) + cast(K10L3D02 in ('1','2','3','4','5') as integer) + cast(K10L3D03 in ('1','2','3','4','5') as integer) + cast(K10L3D04 in ('1','2','3','4','5') as integer) + cast(K10L3D05 in ('1','2','3','4','5') as integer) + cast(K10L3D06 in ('1','2','3','4','5') as integer) + cast(K10L3D07 in ('1','2','3','4','5') as integer) + cast(K10L3D08 in ('1','2','3','4','5') as integer) + cast(K10L3D09 in ('1','2','3','4','5') as integer) + cast(K10L3D10 in ('1','2','3','4','5') as integer) + 0 ) >= 9 as IsCompleted from K10L3D |
SdqCompletion | SDQ | Sdq Completion Status | select ColId, SDQVer, (( cast(SDQ03 in ('0','1','2') as integer) + cast(SDQ08 in ('0','1','2') as integer) + cast(SDQ13 in ('0','1','2') as integer) + cast(SDQ16 in ('0','1','2') as integer) + cast(SDQ24 in ('0','1','2') as integer) + 0 ) >= 3) and (( cast(SDQ05 in ('0','1','2') as integer) + cast(SDQ07 in ('0','1','2') as integer) + cast(SDQ12 in ('0','1','2') as integer) + cast(SDQ18 in ('0','1','2') as integer) + cast(SDQ22 in ('0','1','2') as integer) + 0 ) >= 3) and (( cast(SDQ02 in ('0','1','2') as integer) + cast(SDQ10 in ('0','1','2') as integer) + cast(SDQ15 in ('0','1','2') as integer) + cast(SDQ21 in ('0','1','2') as integer) + cast(SDQ25 in ('0','1','2') as integer) + 0 ) >= 3) and (( cast(SDQ06 in ('0','1','2') as integer) + cast(SDQ11 in ('0','1','2') as integer) + cast(SDQ14 in ('0','1','2') as integer) + cast(SDQ19 in ('0','1','2') as integer) + cast(SDQ23 in ('0','1','2') as integer) + 0 ) >= 3) as IsCompleted from SDQ |
DiagCompletion | DIAG | Diag Completion Status | select ColId, Dx1 <> ' ' and Dx1 is not null as IsCompleted from DIAG |
PocCompletion | POC | Poc Completion Status | select ColId, PoC in ('1','2','3','4','5') as IsCompleted from POC |
MhlsCompletion | MHLS | Mhls Completion Status | select ColId, LegalSt in ('1','2') as IsCompleted from MHLS |
HrChildAiCodCount | HR | HR-level count of collection occasions for Child age group in Inpatient setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD where Setting = '1' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrChildAiHonoscaCount | HR | HR-level count of all HONOSCA measures for Child age group in Inpatient setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonoscaCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrChildAiHonoscaCountChange | HR | Change in HR-level count of all HONOSCA measures for Child age group in Inpatient setting after Admission | select State, (New.Total - Old.Total) as Change from HrChildAiHonoscaCount as New join hist.HrChildAiHonoscaCount as Old using (State) |
HrChildAiHonoscaCountGrowth | HR | Growth in HR-level count of all HONOSCA measures for Child age group in Inpatient setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildAiHonoscaCount as New join hist.HrChildAiHonoscaCount as Old using (State) |
HrChildAiHonoscaCompleted | HR | HR-level count of completed HONOSCA measures for Child age group in Inpatient setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonoscaCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrChildAiHonoscaCompletedChange | HR | Change in HR-level count of completed HONOSCA measures for Child age group in Inpatient setting after Admission | select State, (New.Total - Old.Total) as Change from HrChildAiHonoscaCompleted as New join hist.HrChildAiHonoscaCompleted as Old using (State) |
HrChildAiHonoscaCompletedGrowth | HR | Growth in HR-level count of completed HONOSCA measures for Child age group in Inpatient setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildAiHonoscaCompleted as New join hist.HrChildAiHonoscaCompleted as Old using (State) |
HrChildAiHonoscaCompletionRate | HR | HR-level completion rate of HONOSCA measures for Child age group in Inpatient setting after Admission | select State, sd_div_safe(HrChildAiHonoscaCompleted.Total, HrChildAiCodCount.Total, 3) as Rate from HrChildAiHonoscaCompleted join HrChildAiCodCount using (State) |
HrChildAiHonoscaCompletionRateChange | HR | Change in HR-level completion rate of HONOSCA measures for Child age group in Inpatient setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrChildAiHonoscaCompletionRate as New join hist.HrChildAiHonoscaCompletionRate as Old using (State) |
HrChildAiCgasCount | HR | HR-level count of all CGAS measures for Child age group in Inpatient setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join CgasCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrChildAiCgasCountChange | HR | Change in HR-level count of all CGAS measures for Child age group in Inpatient setting after Admission | select State, (New.Total - Old.Total) as Change from HrChildAiCgasCount as New join hist.HrChildAiCgasCount as Old using (State) |
HrChildAiCgasCountGrowth | HR | Growth in HR-level count of all CGAS measures for Child age group in Inpatient setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildAiCgasCount as New join hist.HrChildAiCgasCount as Old using (State) |
HrChildAiCgasCompleted | HR | HR-level count of completed CGAS measures for Child age group in Inpatient setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join CgasCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrChildAiCgasCompletedChange | HR | Change in HR-level count of completed CGAS measures for Child age group in Inpatient setting after Admission | select State, (New.Total - Old.Total) as Change from HrChildAiCgasCompleted as New join hist.HrChildAiCgasCompleted as Old using (State) |
HrChildAiCgasCompletedGrowth | HR | Growth in HR-level count of completed CGAS measures for Child age group in Inpatient setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildAiCgasCompleted as New join hist.HrChildAiCgasCompleted as Old using (State) |
HrChildAiCgasCompletionRate | HR | HR-level completion rate of CGAS measures for Child age group in Inpatient setting after Admission | select State, sd_div_safe(HrChildAiCgasCompleted.Total, HrChildAiCodCount.Total, 3) as Rate from HrChildAiCgasCompleted join HrChildAiCodCount using (State) |
HrChildAiCgasCompletionRateChange | HR | Change in HR-level completion rate of CGAS measures for Child age group in Inpatient setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrChildAiCgasCompletionRate as New join hist.HrChildAiCgasCompletionRate as Old using (State) |
HrChildAiSdqCount | HR | HR-level count of all SDQ measures for Child age group in Inpatient setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join SdqCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrChildAiSdqCountChange | HR | Change in HR-level count of all SDQ measures for Child age group in Inpatient setting after Admission | select State, (New.Total - Old.Total) as Change from HrChildAiSdqCount as New join hist.HrChildAiSdqCount as Old using (State) |
HrChildAiSdqCountGrowth | HR | Growth in HR-level count of all SDQ measures for Child age group in Inpatient setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildAiSdqCount as New join hist.HrChildAiSdqCount as Old using (State) |
HrChildAiSdqCompleted | HR | HR-level count of completed SDQ measures for Child age group in Inpatient setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join SdqCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrChildAiSdqCompletedChange | HR | Change in HR-level count of completed SDQ measures for Child age group in Inpatient setting after Admission | select State, (New.Total - Old.Total) as Change from HrChildAiSdqCompleted as New join hist.HrChildAiSdqCompleted as Old using (State) |
HrChildAiSdqCompletedGrowth | HR | Growth in HR-level count of completed SDQ measures for Child age group in Inpatient setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildAiSdqCompleted as New join hist.HrChildAiSdqCompleted as Old using (State) |
HrChildAiSdqCompletionRate | HR | HR-level completion rate of SDQ measures for Child age group in Inpatient setting after Admission | select State, sd_div_safe(HrChildAiSdqCompleted.Total, HrChildAiCodCount.Total, 3) as Rate from HrChildAiSdqCompleted join HrChildAiCodCount using (State) |
HrChildAiSdqCompletionRateChange | HR | Change in HR-level completion rate of SDQ measures for Child age group in Inpatient setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrChildAiSdqCompletionRate as New join hist.HrChildAiSdqCompletionRate as Old using (State) |
HrChildRiCodCount | HR | HR-level count of collection occasions for Child age group in Inpatient setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD where Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRiHonoscaCount | HR | HR-level count of all HONOSCA measures for Child age group in Inpatient setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonoscaCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRiHonoscaCountChange | HR | Change in HR-level count of all HONOSCA measures for Child age group in Inpatient setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRiHonoscaCount as New join hist.HrChildRiHonoscaCount as Old using (State) |
HrChildRiHonoscaCountGrowth | HR | Growth in HR-level count of all HONOSCA measures for Child age group in Inpatient setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRiHonoscaCount as New join hist.HrChildRiHonoscaCount as Old using (State) |
HrChildRiHonoscaCompleted | HR | HR-level count of completed HONOSCA measures for Child age group in Inpatient setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonoscaCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRiHonoscaCompletedChange | HR | Change in HR-level count of completed HONOSCA measures for Child age group in Inpatient setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRiHonoscaCompleted as New join hist.HrChildRiHonoscaCompleted as Old using (State) |
HrChildRiHonoscaCompletedGrowth | HR | Growth in HR-level count of completed HONOSCA measures for Child age group in Inpatient setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRiHonoscaCompleted as New join hist.HrChildRiHonoscaCompleted as Old using (State) |
HrChildRiHonoscaCompletionRate | HR | HR-level completion rate of HONOSCA measures for Child age group in Inpatient setting after Review | select State, sd_div_safe(HrChildRiHonoscaCompleted.Total, HrChildRiCodCount.Total, 3) as Rate from HrChildRiHonoscaCompleted join HrChildRiCodCount using (State) |
HrChildRiHonoscaCompletionRateChange | HR | Change in HR-level completion rate of HONOSCA measures for Child age group in Inpatient setting after Review | select State, (New.Rate - Old.Rate) as Change from HrChildRiHonoscaCompletionRate as New join hist.HrChildRiHonoscaCompletionRate as Old using (State) |
HrChildRiCgasCount | HR | HR-level count of all CGAS measures for Child age group in Inpatient setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join CgasCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRiCgasCountChange | HR | Change in HR-level count of all CGAS measures for Child age group in Inpatient setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRiCgasCount as New join hist.HrChildRiCgasCount as Old using (State) |
HrChildRiCgasCountGrowth | HR | Growth in HR-level count of all CGAS measures for Child age group in Inpatient setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRiCgasCount as New join hist.HrChildRiCgasCount as Old using (State) |
HrChildRiCgasCompleted | HR | HR-level count of completed CGAS measures for Child age group in Inpatient setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join CgasCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRiCgasCompletedChange | HR | Change in HR-level count of completed CGAS measures for Child age group in Inpatient setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRiCgasCompleted as New join hist.HrChildRiCgasCompleted as Old using (State) |
HrChildRiCgasCompletedGrowth | HR | Growth in HR-level count of completed CGAS measures for Child age group in Inpatient setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRiCgasCompleted as New join hist.HrChildRiCgasCompleted as Old using (State) |
HrChildRiCgasCompletionRate | HR | HR-level completion rate of CGAS measures for Child age group in Inpatient setting after Review | select State, sd_div_safe(HrChildRiCgasCompleted.Total, HrChildRiCodCount.Total, 3) as Rate from HrChildRiCgasCompleted join HrChildRiCodCount using (State) |
HrChildRiCgasCompletionRateChange | HR | Change in HR-level completion rate of CGAS measures for Child age group in Inpatient setting after Review | select State, (New.Rate - Old.Rate) as Change from HrChildRiCgasCompletionRate as New join hist.HrChildRiCgasCompletionRate as Old using (State) |
HrChildRiFihsCount | HR | HR-level count of all FIHS measures for Child age group in Inpatient setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join FihsCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRiFihsCountChange | HR | Change in HR-level count of all FIHS measures for Child age group in Inpatient setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRiFihsCount as New join hist.HrChildRiFihsCount as Old using (State) |
HrChildRiFihsCountGrowth | HR | Growth in HR-level count of all FIHS measures for Child age group in Inpatient setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRiFihsCount as New join hist.HrChildRiFihsCount as Old using (State) |
HrChildRiFihsCompleted | HR | HR-level count of completed FIHS measures for Child age group in Inpatient setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join FihsCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRiFihsCompletedChange | HR | Change in HR-level count of completed FIHS measures for Child age group in Inpatient setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRiFihsCompleted as New join hist.HrChildRiFihsCompleted as Old using (State) |
HrChildRiFihsCompletedGrowth | HR | Growth in HR-level count of completed FIHS measures for Child age group in Inpatient setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRiFihsCompleted as New join hist.HrChildRiFihsCompleted as Old using (State) |
HrChildRiFihsCompletionRate | HR | HR-level completion rate of FIHS measures for Child age group in Inpatient setting after Review | select State, sd_div_safe(HrChildRiFihsCompleted.Total, HrChildRiCodCount.Total, 3) as Rate from HrChildRiFihsCompleted join HrChildRiCodCount using (State) |
HrChildRiFihsCompletionRateChange | HR | Change in HR-level completion rate of FIHS measures for Child age group in Inpatient setting after Review | select State, (New.Rate - Old.Rate) as Change from HrChildRiFihsCompletionRate as New join hist.HrChildRiFihsCompletionRate as Old using (State) |
HrChildRiSdqCount | HR | HR-level count of all SDQ measures for Child age group in Inpatient setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join SdqCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRiSdqCountChange | HR | Change in HR-level count of all SDQ measures for Child age group in Inpatient setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRiSdqCount as New join hist.HrChildRiSdqCount as Old using (State) |
HrChildRiSdqCountGrowth | HR | Growth in HR-level count of all SDQ measures for Child age group in Inpatient setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRiSdqCount as New join hist.HrChildRiSdqCount as Old using (State) |
HrChildRiSdqCompleted | HR | HR-level count of completed SDQ measures for Child age group in Inpatient setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join SdqCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRiSdqCompletedChange | HR | Change in HR-level count of completed SDQ measures for Child age group in Inpatient setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRiSdqCompleted as New join hist.HrChildRiSdqCompleted as Old using (State) |
HrChildRiSdqCompletedGrowth | HR | Growth in HR-level count of completed SDQ measures for Child age group in Inpatient setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRiSdqCompleted as New join hist.HrChildRiSdqCompleted as Old using (State) |
HrChildRiSdqCompletionRate | HR | HR-level completion rate of SDQ measures for Child age group in Inpatient setting after Review | select State, sd_div_safe(HrChildRiSdqCompleted.Total, HrChildRiCodCount.Total, 3) as Rate from HrChildRiSdqCompleted join HrChildRiCodCount using (State) |
HrChildRiSdqCompletionRateChange | HR | Change in HR-level completion rate of SDQ measures for Child age group in Inpatient setting after Review | select State, (New.Rate - Old.Rate) as Change from HrChildRiSdqCompletionRate as New join hist.HrChildRiSdqCompletionRate as Old using (State) |
HrChildRiDiagCount | HR | HR-level count of all DIAG measures for Child age group in Inpatient setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRiDiagCountChange | HR | Change in HR-level count of all DIAG measures for Child age group in Inpatient setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRiDiagCount as New join hist.HrChildRiDiagCount as Old using (State) |
HrChildRiDiagCountGrowth | HR | Growth in HR-level count of all DIAG measures for Child age group in Inpatient setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRiDiagCount as New join hist.HrChildRiDiagCount as Old using (State) |
HrChildRiDiagCompleted | HR | HR-level count of completed DIAG measures for Child age group in Inpatient setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRiDiagCompletedChange | HR | Change in HR-level count of completed DIAG measures for Child age group in Inpatient setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRiDiagCompleted as New join hist.HrChildRiDiagCompleted as Old using (State) |
HrChildRiDiagCompletedGrowth | HR | Growth in HR-level count of completed DIAG measures for Child age group in Inpatient setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRiDiagCompleted as New join hist.HrChildRiDiagCompleted as Old using (State) |
HrChildRiDiagCompletionRate | HR | HR-level completion rate of DIAG measures for Child age group in Inpatient setting after Review | select State, sd_div_safe(HrChildRiDiagCompleted.Total, HrChildRiCodCount.Total, 3) as Rate from HrChildRiDiagCompleted join HrChildRiCodCount using (State) |
HrChildRiDiagCompletionRateChange | HR | Change in HR-level completion rate of DIAG measures for Child age group in Inpatient setting after Review | select State, (New.Rate - Old.Rate) as Change from HrChildRiDiagCompletionRate as New join hist.HrChildRiDiagCompletionRate as Old using (State) |
HrChildRiMhlsCount | HR | HR-level count of all MHLS measures for Child age group in Inpatient setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRiMhlsCountChange | HR | Change in HR-level count of all MHLS measures for Child age group in Inpatient setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRiMhlsCount as New join hist.HrChildRiMhlsCount as Old using (State) |
HrChildRiMhlsCountGrowth | HR | Growth in HR-level count of all MHLS measures for Child age group in Inpatient setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRiMhlsCount as New join hist.HrChildRiMhlsCount as Old using (State) |
HrChildRiMhlsCompleted | HR | HR-level count of completed MHLS measures for Child age group in Inpatient setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRiMhlsCompletedChange | HR | Change in HR-level count of completed MHLS measures for Child age group in Inpatient setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRiMhlsCompleted as New join hist.HrChildRiMhlsCompleted as Old using (State) |
HrChildRiMhlsCompletedGrowth | HR | Growth in HR-level count of completed MHLS measures for Child age group in Inpatient setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRiMhlsCompleted as New join hist.HrChildRiMhlsCompleted as Old using (State) |
HrChildRiMhlsCompletionRate | HR | HR-level completion rate of MHLS measures for Child age group in Inpatient setting after Review | select State, sd_div_safe(HrChildRiMhlsCompleted.Total, HrChildRiCodCount.Total, 3) as Rate from HrChildRiMhlsCompleted join HrChildRiCodCount using (State) |
HrChildRiMhlsCompletionRateChange | HR | Change in HR-level completion rate of MHLS measures for Child age group in Inpatient setting after Review | select State, (New.Rate - Old.Rate) as Change from HrChildRiMhlsCompletionRate as New join hist.HrChildRiMhlsCompletionRate as Old using (State) |
HrChildDiCodCount | HR | HR-level count of collection occasions for Child age group in Inpatient setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD where Setting = '1' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrChildDiHonoscaCount | HR | HR-level count of all HONOSCA measures for Child age group in Inpatient setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonoscaCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrChildDiHonoscaCountChange | HR | Change in HR-level count of all HONOSCA measures for Child age group in Inpatient setting after Discharge | select State, (New.Total - Old.Total) as Change from HrChildDiHonoscaCount as New join hist.HrChildDiHonoscaCount as Old using (State) |
HrChildDiHonoscaCountGrowth | HR | Growth in HR-level count of all HONOSCA measures for Child age group in Inpatient setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildDiHonoscaCount as New join hist.HrChildDiHonoscaCount as Old using (State) |
HrChildDiHonoscaCompleted | HR | HR-level count of completed HONOSCA measures for Child age group in Inpatient setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonoscaCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrChildDiHonoscaCompletedChange | HR | Change in HR-level count of completed HONOSCA measures for Child age group in Inpatient setting after Discharge | select State, (New.Total - Old.Total) as Change from HrChildDiHonoscaCompleted as New join hist.HrChildDiHonoscaCompleted as Old using (State) |
HrChildDiHonoscaCompletedGrowth | HR | Growth in HR-level count of completed HONOSCA measures for Child age group in Inpatient setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildDiHonoscaCompleted as New join hist.HrChildDiHonoscaCompleted as Old using (State) |
HrChildDiHonoscaCompletionRate | HR | HR-level completion rate of HONOSCA measures for Child age group in Inpatient setting after Discharge | select State, sd_div_safe(HrChildDiHonoscaCompleted.Total, HrChildDiCodCount.Total, 3) as Rate from HrChildDiHonoscaCompleted join HrChildDiCodCount using (State) |
HrChildDiHonoscaCompletionRateChange | HR | Change in HR-level completion rate of HONOSCA measures for Child age group in Inpatient setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrChildDiHonoscaCompletionRate as New join hist.HrChildDiHonoscaCompletionRate as Old using (State) |
HrChildDiFihsCount | HR | HR-level count of all FIHS measures for Child age group in Inpatient setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join FihsCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrChildDiFihsCountChange | HR | Change in HR-level count of all FIHS measures for Child age group in Inpatient setting after Discharge | select State, (New.Total - Old.Total) as Change from HrChildDiFihsCount as New join hist.HrChildDiFihsCount as Old using (State) |
HrChildDiFihsCountGrowth | HR | Growth in HR-level count of all FIHS measures for Child age group in Inpatient setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildDiFihsCount as New join hist.HrChildDiFihsCount as Old using (State) |
HrChildDiFihsCompleted | HR | HR-level count of completed FIHS measures for Child age group in Inpatient setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join FihsCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrChildDiFihsCompletedChange | HR | Change in HR-level count of completed FIHS measures for Child age group in Inpatient setting after Discharge | select State, (New.Total - Old.Total) as Change from HrChildDiFihsCompleted as New join hist.HrChildDiFihsCompleted as Old using (State) |
HrChildDiFihsCompletedGrowth | HR | Growth in HR-level count of completed FIHS measures for Child age group in Inpatient setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildDiFihsCompleted as New join hist.HrChildDiFihsCompleted as Old using (State) |
HrChildDiFihsCompletionRate | HR | HR-level completion rate of FIHS measures for Child age group in Inpatient setting after Discharge | select State, sd_div_safe(HrChildDiFihsCompleted.Total, HrChildDiCodCount.Total, 3) as Rate from HrChildDiFihsCompleted join HrChildDiCodCount using (State) |
HrChildDiFihsCompletionRateChange | HR | Change in HR-level completion rate of FIHS measures for Child age group in Inpatient setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrChildDiFihsCompletionRate as New join hist.HrChildDiFihsCompletionRate as Old using (State) |
HrChildDiSdqCount | HR | HR-level count of all SDQ measures for Child age group in Inpatient setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join SdqCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrChildDiSdqCountChange | HR | Change in HR-level count of all SDQ measures for Child age group in Inpatient setting after Discharge | select State, (New.Total - Old.Total) as Change from HrChildDiSdqCount as New join hist.HrChildDiSdqCount as Old using (State) |
HrChildDiSdqCountGrowth | HR | Growth in HR-level count of all SDQ measures for Child age group in Inpatient setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildDiSdqCount as New join hist.HrChildDiSdqCount as Old using (State) |
HrChildDiSdqCompleted | HR | HR-level count of completed SDQ measures for Child age group in Inpatient setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join SdqCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrChildDiSdqCompletedChange | HR | Change in HR-level count of completed SDQ measures for Child age group in Inpatient setting after Discharge | select State, (New.Total - Old.Total) as Change from HrChildDiSdqCompleted as New join hist.HrChildDiSdqCompleted as Old using (State) |
HrChildDiSdqCompletedGrowth | HR | Growth in HR-level count of completed SDQ measures for Child age group in Inpatient setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildDiSdqCompleted as New join hist.HrChildDiSdqCompleted as Old using (State) |
HrChildDiSdqCompletionRate | HR | HR-level completion rate of SDQ measures for Child age group in Inpatient setting after Discharge | select State, sd_div_safe(HrChildDiSdqCompleted.Total, HrChildDiCodCount.Total, 3) as Rate from HrChildDiSdqCompleted join HrChildDiCodCount using (State) |
HrChildDiSdqCompletionRateChange | HR | Change in HR-level completion rate of SDQ measures for Child age group in Inpatient setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrChildDiSdqCompletionRate as New join hist.HrChildDiSdqCompletionRate as Old using (State) |
HrChildDiDiagCount | HR | HR-level count of all DIAG measures for Child age group in Inpatient setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrChildDiDiagCountChange | HR | Change in HR-level count of all DIAG measures for Child age group in Inpatient setting after Discharge | select State, (New.Total - Old.Total) as Change from HrChildDiDiagCount as New join hist.HrChildDiDiagCount as Old using (State) |
HrChildDiDiagCountGrowth | HR | Growth in HR-level count of all DIAG measures for Child age group in Inpatient setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildDiDiagCount as New join hist.HrChildDiDiagCount as Old using (State) |
HrChildDiDiagCompleted | HR | HR-level count of completed DIAG measures for Child age group in Inpatient setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrChildDiDiagCompletedChange | HR | Change in HR-level count of completed DIAG measures for Child age group in Inpatient setting after Discharge | select State, (New.Total - Old.Total) as Change from HrChildDiDiagCompleted as New join hist.HrChildDiDiagCompleted as Old using (State) |
HrChildDiDiagCompletedGrowth | HR | Growth in HR-level count of completed DIAG measures for Child age group in Inpatient setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildDiDiagCompleted as New join hist.HrChildDiDiagCompleted as Old using (State) |
HrChildDiDiagCompletionRate | HR | HR-level completion rate of DIAG measures for Child age group in Inpatient setting after Discharge | select State, sd_div_safe(HrChildDiDiagCompleted.Total, HrChildDiCodCount.Total, 3) as Rate from HrChildDiDiagCompleted join HrChildDiCodCount using (State) |
HrChildDiDiagCompletionRateChange | HR | Change in HR-level completion rate of DIAG measures for Child age group in Inpatient setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrChildDiDiagCompletionRate as New join hist.HrChildDiDiagCompletionRate as Old using (State) |
HrChildDiMhlsCount | HR | HR-level count of all MHLS measures for Child age group in Inpatient setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrChildDiMhlsCountChange | HR | Change in HR-level count of all MHLS measures for Child age group in Inpatient setting after Discharge | select State, (New.Total - Old.Total) as Change from HrChildDiMhlsCount as New join hist.HrChildDiMhlsCount as Old using (State) |
HrChildDiMhlsCountGrowth | HR | Growth in HR-level count of all MHLS measures for Child age group in Inpatient setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildDiMhlsCount as New join hist.HrChildDiMhlsCount as Old using (State) |
HrChildDiMhlsCompleted | HR | HR-level count of completed MHLS measures for Child age group in Inpatient setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrChildDiMhlsCompletedChange | HR | Change in HR-level count of completed MHLS measures for Child age group in Inpatient setting after Discharge | select State, (New.Total - Old.Total) as Change from HrChildDiMhlsCompleted as New join hist.HrChildDiMhlsCompleted as Old using (State) |
HrChildDiMhlsCompletedGrowth | HR | Growth in HR-level count of completed MHLS measures for Child age group in Inpatient setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildDiMhlsCompleted as New join hist.HrChildDiMhlsCompleted as Old using (State) |
HrChildDiMhlsCompletionRate | HR | HR-level completion rate of MHLS measures for Child age group in Inpatient setting after Discharge | select State, sd_div_safe(HrChildDiMhlsCompleted.Total, HrChildDiCodCount.Total, 3) as Rate from HrChildDiMhlsCompleted join HrChildDiCodCount using (State) |
HrChildDiMhlsCompletionRateChange | HR | Change in HR-level completion rate of MHLS measures for Child age group in Inpatient setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrChildDiMhlsCompletionRate as New join hist.HrChildDiMhlsCompletionRate as Old using (State) |
HrChildArCodCount | HR | HR-level count of collection occasions for Child age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD where Setting = '2' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrChildArHonoscaCount | HR | HR-level count of all HONOSCA measures for Child age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonoscaCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrChildArHonoscaCountChange | HR | Change in HR-level count of all HONOSCA measures for Child age group in Residential setting after Admission | select State, (New.Total - Old.Total) as Change from HrChildArHonoscaCount as New join hist.HrChildArHonoscaCount as Old using (State) |
HrChildArHonoscaCountGrowth | HR | Growth in HR-level count of all HONOSCA measures for Child age group in Residential setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildArHonoscaCount as New join hist.HrChildArHonoscaCount as Old using (State) |
HrChildArHonoscaCompleted | HR | HR-level count of completed HONOSCA measures for Child age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonoscaCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrChildArHonoscaCompletedChange | HR | Change in HR-level count of completed HONOSCA measures for Child age group in Residential setting after Admission | select State, (New.Total - Old.Total) as Change from HrChildArHonoscaCompleted as New join hist.HrChildArHonoscaCompleted as Old using (State) |
HrChildArHonoscaCompletedGrowth | HR | Growth in HR-level count of completed HONOSCA measures for Child age group in Residential setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildArHonoscaCompleted as New join hist.HrChildArHonoscaCompleted as Old using (State) |
HrChildArHonoscaCompletionRate | HR | HR-level completion rate of HONOSCA measures for Child age group in Residential setting after Admission | select State, sd_div_safe(HrChildArHonoscaCompleted.Total, HrChildArCodCount.Total, 3) as Rate from HrChildArHonoscaCompleted join HrChildArCodCount using (State) |
HrChildArHonoscaCompletionRateChange | HR | Change in HR-level completion rate of HONOSCA measures for Child age group in Residential setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrChildArHonoscaCompletionRate as New join hist.HrChildArHonoscaCompletionRate as Old using (State) |
HrChildArCgasCount | HR | HR-level count of all CGAS measures for Child age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join CgasCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrChildArCgasCountChange | HR | Change in HR-level count of all CGAS measures for Child age group in Residential setting after Admission | select State, (New.Total - Old.Total) as Change from HrChildArCgasCount as New join hist.HrChildArCgasCount as Old using (State) |
HrChildArCgasCountGrowth | HR | Growth in HR-level count of all CGAS measures for Child age group in Residential setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildArCgasCount as New join hist.HrChildArCgasCount as Old using (State) |
HrChildArCgasCompleted | HR | HR-level count of completed CGAS measures for Child age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join CgasCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrChildArCgasCompletedChange | HR | Change in HR-level count of completed CGAS measures for Child age group in Residential setting after Admission | select State, (New.Total - Old.Total) as Change from HrChildArCgasCompleted as New join hist.HrChildArCgasCompleted as Old using (State) |
HrChildArCgasCompletedGrowth | HR | Growth in HR-level count of completed CGAS measures for Child age group in Residential setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildArCgasCompleted as New join hist.HrChildArCgasCompleted as Old using (State) |
HrChildArCgasCompletionRate | HR | HR-level completion rate of CGAS measures for Child age group in Residential setting after Admission | select State, sd_div_safe(HrChildArCgasCompleted.Total, HrChildArCodCount.Total, 3) as Rate from HrChildArCgasCompleted join HrChildArCodCount using (State) |
HrChildArCgasCompletionRateChange | HR | Change in HR-level completion rate of CGAS measures for Child age group in Residential setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrChildArCgasCompletionRate as New join hist.HrChildArCgasCompletionRate as Old using (State) |
HrChildArSdqCount | HR | HR-level count of all SDQ measures for Child age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join SdqCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrChildArSdqCountChange | HR | Change in HR-level count of all SDQ measures for Child age group in Residential setting after Admission | select State, (New.Total - Old.Total) as Change from HrChildArSdqCount as New join hist.HrChildArSdqCount as Old using (State) |
HrChildArSdqCountGrowth | HR | Growth in HR-level count of all SDQ measures for Child age group in Residential setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildArSdqCount as New join hist.HrChildArSdqCount as Old using (State) |
HrChildArSdqCompleted | HR | HR-level count of completed SDQ measures for Child age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join SdqCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrChildArSdqCompletedChange | HR | Change in HR-level count of completed SDQ measures for Child age group in Residential setting after Admission | select State, (New.Total - Old.Total) as Change from HrChildArSdqCompleted as New join hist.HrChildArSdqCompleted as Old using (State) |
HrChildArSdqCompletedGrowth | HR | Growth in HR-level count of completed SDQ measures for Child age group in Residential setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildArSdqCompleted as New join hist.HrChildArSdqCompleted as Old using (State) |
HrChildArSdqCompletionRate | HR | HR-level completion rate of SDQ measures for Child age group in Residential setting after Admission | select State, sd_div_safe(HrChildArSdqCompleted.Total, HrChildArCodCount.Total, 3) as Rate from HrChildArSdqCompleted join HrChildArCodCount using (State) |
HrChildArSdqCompletionRateChange | HR | Change in HR-level completion rate of SDQ measures for Child age group in Residential setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrChildArSdqCompletionRate as New join hist.HrChildArSdqCompletionRate as Old using (State) |
HrChildRrCodCount | HR | HR-level count of collection occasions for Child age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD where Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRrHonoscaCount | HR | HR-level count of all HONOSCA measures for Child age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonoscaCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRrHonoscaCountChange | HR | Change in HR-level count of all HONOSCA measures for Child age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRrHonoscaCount as New join hist.HrChildRrHonoscaCount as Old using (State) |
HrChildRrHonoscaCountGrowth | HR | Growth in HR-level count of all HONOSCA measures for Child age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRrHonoscaCount as New join hist.HrChildRrHonoscaCount as Old using (State) |
HrChildRrHonoscaCompleted | HR | HR-level count of completed HONOSCA measures for Child age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonoscaCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRrHonoscaCompletedChange | HR | Change in HR-level count of completed HONOSCA measures for Child age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRrHonoscaCompleted as New join hist.HrChildRrHonoscaCompleted as Old using (State) |
HrChildRrHonoscaCompletedGrowth | HR | Growth in HR-level count of completed HONOSCA measures for Child age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRrHonoscaCompleted as New join hist.HrChildRrHonoscaCompleted as Old using (State) |
HrChildRrHonoscaCompletionRate | HR | HR-level completion rate of HONOSCA measures for Child age group in Residential setting after Review | select State, sd_div_safe(HrChildRrHonoscaCompleted.Total, HrChildRrCodCount.Total, 3) as Rate from HrChildRrHonoscaCompleted join HrChildRrCodCount using (State) |
HrChildRrHonoscaCompletionRateChange | HR | Change in HR-level completion rate of HONOSCA measures for Child age group in Residential setting after Review | select State, (New.Rate - Old.Rate) as Change from HrChildRrHonoscaCompletionRate as New join hist.HrChildRrHonoscaCompletionRate as Old using (State) |
HrChildRrCgasCount | HR | HR-level count of all CGAS measures for Child age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join CgasCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRrCgasCountChange | HR | Change in HR-level count of all CGAS measures for Child age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRrCgasCount as New join hist.HrChildRrCgasCount as Old using (State) |
HrChildRrCgasCountGrowth | HR | Growth in HR-level count of all CGAS measures for Child age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRrCgasCount as New join hist.HrChildRrCgasCount as Old using (State) |
HrChildRrCgasCompleted | HR | HR-level count of completed CGAS measures for Child age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join CgasCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRrCgasCompletedChange | HR | Change in HR-level count of completed CGAS measures for Child age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRrCgasCompleted as New join hist.HrChildRrCgasCompleted as Old using (State) |
HrChildRrCgasCompletedGrowth | HR | Growth in HR-level count of completed CGAS measures for Child age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRrCgasCompleted as New join hist.HrChildRrCgasCompleted as Old using (State) |
HrChildRrCgasCompletionRate | HR | HR-level completion rate of CGAS measures for Child age group in Residential setting after Review | select State, sd_div_safe(HrChildRrCgasCompleted.Total, HrChildRrCodCount.Total, 3) as Rate from HrChildRrCgasCompleted join HrChildRrCodCount using (State) |
HrChildRrCgasCompletionRateChange | HR | Change in HR-level completion rate of CGAS measures for Child age group in Residential setting after Review | select State, (New.Rate - Old.Rate) as Change from HrChildRrCgasCompletionRate as New join hist.HrChildRrCgasCompletionRate as Old using (State) |
HrChildRrFihsCount | HR | HR-level count of all FIHS measures for Child age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join FihsCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRrFihsCountChange | HR | Change in HR-level count of all FIHS measures for Child age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRrFihsCount as New join hist.HrChildRrFihsCount as Old using (State) |
HrChildRrFihsCountGrowth | HR | Growth in HR-level count of all FIHS measures for Child age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRrFihsCount as New join hist.HrChildRrFihsCount as Old using (State) |
HrChildRrFihsCompleted | HR | HR-level count of completed FIHS measures for Child age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join FihsCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRrFihsCompletedChange | HR | Change in HR-level count of completed FIHS measures for Child age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRrFihsCompleted as New join hist.HrChildRrFihsCompleted as Old using (State) |
HrChildRrFihsCompletedGrowth | HR | Growth in HR-level count of completed FIHS measures for Child age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRrFihsCompleted as New join hist.HrChildRrFihsCompleted as Old using (State) |
HrChildRrFihsCompletionRate | HR | HR-level completion rate of FIHS measures for Child age group in Residential setting after Review | select State, sd_div_safe(HrChildRrFihsCompleted.Total, HrChildRrCodCount.Total, 3) as Rate from HrChildRrFihsCompleted join HrChildRrCodCount using (State) |
HrChildRrFihsCompletionRateChange | HR | Change in HR-level completion rate of FIHS measures for Child age group in Residential setting after Review | select State, (New.Rate - Old.Rate) as Change from HrChildRrFihsCompletionRate as New join hist.HrChildRrFihsCompletionRate as Old using (State) |
HrChildRrSdqCount | HR | HR-level count of all SDQ measures for Child age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join SdqCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRrSdqCountChange | HR | Change in HR-level count of all SDQ measures for Child age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRrSdqCount as New join hist.HrChildRrSdqCount as Old using (State) |
HrChildRrSdqCountGrowth | HR | Growth in HR-level count of all SDQ measures for Child age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRrSdqCount as New join hist.HrChildRrSdqCount as Old using (State) |
HrChildRrSdqCompleted | HR | HR-level count of completed SDQ measures for Child age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join SdqCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRrSdqCompletedChange | HR | Change in HR-level count of completed SDQ measures for Child age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRrSdqCompleted as New join hist.HrChildRrSdqCompleted as Old using (State) |
HrChildRrSdqCompletedGrowth | HR | Growth in HR-level count of completed SDQ measures for Child age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRrSdqCompleted as New join hist.HrChildRrSdqCompleted as Old using (State) |
HrChildRrSdqCompletionRate | HR | HR-level completion rate of SDQ measures for Child age group in Residential setting after Review | select State, sd_div_safe(HrChildRrSdqCompleted.Total, HrChildRrCodCount.Total, 3) as Rate from HrChildRrSdqCompleted join HrChildRrCodCount using (State) |
HrChildRrSdqCompletionRateChange | HR | Change in HR-level completion rate of SDQ measures for Child age group in Residential setting after Review | select State, (New.Rate - Old.Rate) as Change from HrChildRrSdqCompletionRate as New join hist.HrChildRrSdqCompletionRate as Old using (State) |
HrChildRrDiagCount | HR | HR-level count of all DIAG measures for Child age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRrDiagCountChange | HR | Change in HR-level count of all DIAG measures for Child age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRrDiagCount as New join hist.HrChildRrDiagCount as Old using (State) |
HrChildRrDiagCountGrowth | HR | Growth in HR-level count of all DIAG measures for Child age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRrDiagCount as New join hist.HrChildRrDiagCount as Old using (State) |
HrChildRrDiagCompleted | HR | HR-level count of completed DIAG measures for Child age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRrDiagCompletedChange | HR | Change in HR-level count of completed DIAG measures for Child age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRrDiagCompleted as New join hist.HrChildRrDiagCompleted as Old using (State) |
HrChildRrDiagCompletedGrowth | HR | Growth in HR-level count of completed DIAG measures for Child age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRrDiagCompleted as New join hist.HrChildRrDiagCompleted as Old using (State) |
HrChildRrDiagCompletionRate | HR | HR-level completion rate of DIAG measures for Child age group in Residential setting after Review | select State, sd_div_safe(HrChildRrDiagCompleted.Total, HrChildRrCodCount.Total, 3) as Rate from HrChildRrDiagCompleted join HrChildRrCodCount using (State) |
HrChildRrDiagCompletionRateChange | HR | Change in HR-level completion rate of DIAG measures for Child age group in Residential setting after Review | select State, (New.Rate - Old.Rate) as Change from HrChildRrDiagCompletionRate as New join hist.HrChildRrDiagCompletionRate as Old using (State) |
HrChildRrMhlsCount | HR | HR-level count of all MHLS measures for Child age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRrMhlsCountChange | HR | Change in HR-level count of all MHLS measures for Child age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRrMhlsCount as New join hist.HrChildRrMhlsCount as Old using (State) |
HrChildRrMhlsCountGrowth | HR | Growth in HR-level count of all MHLS measures for Child age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRrMhlsCount as New join hist.HrChildRrMhlsCount as Old using (State) |
HrChildRrMhlsCompleted | HR | HR-level count of completed MHLS measures for Child age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRrMhlsCompletedChange | HR | Change in HR-level count of completed MHLS measures for Child age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRrMhlsCompleted as New join hist.HrChildRrMhlsCompleted as Old using (State) |
HrChildRrMhlsCompletedGrowth | HR | Growth in HR-level count of completed MHLS measures for Child age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRrMhlsCompleted as New join hist.HrChildRrMhlsCompleted as Old using (State) |
HrChildRrMhlsCompletionRate | HR | HR-level completion rate of MHLS measures for Child age group in Residential setting after Review | select State, sd_div_safe(HrChildRrMhlsCompleted.Total, HrChildRrCodCount.Total, 3) as Rate from HrChildRrMhlsCompleted join HrChildRrCodCount using (State) |
HrChildRrMhlsCompletionRateChange | HR | Change in HR-level completion rate of MHLS measures for Child age group in Residential setting after Review | select State, (New.Rate - Old.Rate) as Change from HrChildRrMhlsCompletionRate as New join hist.HrChildRrMhlsCompletionRate as Old using (State) |
HrChildDrCodCount | HR | HR-level count of collection occasions for Child age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD where Setting = '2' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrChildDrHonoscaCount | HR | HR-level count of all HONOSCA measures for Child age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonoscaCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrChildDrHonoscaCountChange | HR | Change in HR-level count of all HONOSCA measures for Child age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrChildDrHonoscaCount as New join hist.HrChildDrHonoscaCount as Old using (State) |
HrChildDrHonoscaCountGrowth | HR | Growth in HR-level count of all HONOSCA measures for Child age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildDrHonoscaCount as New join hist.HrChildDrHonoscaCount as Old using (State) |
HrChildDrHonoscaCompleted | HR | HR-level count of completed HONOSCA measures for Child age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonoscaCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrChildDrHonoscaCompletedChange | HR | Change in HR-level count of completed HONOSCA measures for Child age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrChildDrHonoscaCompleted as New join hist.HrChildDrHonoscaCompleted as Old using (State) |
HrChildDrHonoscaCompletedGrowth | HR | Growth in HR-level count of completed HONOSCA measures for Child age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildDrHonoscaCompleted as New join hist.HrChildDrHonoscaCompleted as Old using (State) |
HrChildDrHonoscaCompletionRate | HR | HR-level completion rate of HONOSCA measures for Child age group in Residential setting after Discharge | select State, sd_div_safe(HrChildDrHonoscaCompleted.Total, HrChildDrCodCount.Total, 3) as Rate from HrChildDrHonoscaCompleted join HrChildDrCodCount using (State) |
HrChildDrHonoscaCompletionRateChange | HR | Change in HR-level completion rate of HONOSCA measures for Child age group in Residential setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrChildDrHonoscaCompletionRate as New join hist.HrChildDrHonoscaCompletionRate as Old using (State) |
HrChildDrFihsCount | HR | HR-level count of all FIHS measures for Child age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join FihsCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrChildDrFihsCountChange | HR | Change in HR-level count of all FIHS measures for Child age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrChildDrFihsCount as New join hist.HrChildDrFihsCount as Old using (State) |
HrChildDrFihsCountGrowth | HR | Growth in HR-level count of all FIHS measures for Child age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildDrFihsCount as New join hist.HrChildDrFihsCount as Old using (State) |
HrChildDrFihsCompleted | HR | HR-level count of completed FIHS measures for Child age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join FihsCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrChildDrFihsCompletedChange | HR | Change in HR-level count of completed FIHS measures for Child age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrChildDrFihsCompleted as New join hist.HrChildDrFihsCompleted as Old using (State) |
HrChildDrFihsCompletedGrowth | HR | Growth in HR-level count of completed FIHS measures for Child age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildDrFihsCompleted as New join hist.HrChildDrFihsCompleted as Old using (State) |
HrChildDrFihsCompletionRate | HR | HR-level completion rate of FIHS measures for Child age group in Residential setting after Discharge | select State, sd_div_safe(HrChildDrFihsCompleted.Total, HrChildDrCodCount.Total, 3) as Rate from HrChildDrFihsCompleted join HrChildDrCodCount using (State) |
HrChildDrFihsCompletionRateChange | HR | Change in HR-level completion rate of FIHS measures for Child age group in Residential setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrChildDrFihsCompletionRate as New join hist.HrChildDrFihsCompletionRate as Old using (State) |
HrChildDrSdqCount | HR | HR-level count of all SDQ measures for Child age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join SdqCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrChildDrSdqCountChange | HR | Change in HR-level count of all SDQ measures for Child age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrChildDrSdqCount as New join hist.HrChildDrSdqCount as Old using (State) |
HrChildDrSdqCountGrowth | HR | Growth in HR-level count of all SDQ measures for Child age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildDrSdqCount as New join hist.HrChildDrSdqCount as Old using (State) |
HrChildDrSdqCompleted | HR | HR-level count of completed SDQ measures for Child age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join SdqCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrChildDrSdqCompletedChange | HR | Change in HR-level count of completed SDQ measures for Child age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrChildDrSdqCompleted as New join hist.HrChildDrSdqCompleted as Old using (State) |
HrChildDrSdqCompletedGrowth | HR | Growth in HR-level count of completed SDQ measures for Child age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildDrSdqCompleted as New join hist.HrChildDrSdqCompleted as Old using (State) |
HrChildDrSdqCompletionRate | HR | HR-level completion rate of SDQ measures for Child age group in Residential setting after Discharge | select State, sd_div_safe(HrChildDrSdqCompleted.Total, HrChildDrCodCount.Total, 3) as Rate from HrChildDrSdqCompleted join HrChildDrCodCount using (State) |
HrChildDrSdqCompletionRateChange | HR | Change in HR-level completion rate of SDQ measures for Child age group in Residential setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrChildDrSdqCompletionRate as New join hist.HrChildDrSdqCompletionRate as Old using (State) |
HrChildDrDiagCount | HR | HR-level count of all DIAG measures for Child age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrChildDrDiagCountChange | HR | Change in HR-level count of all DIAG measures for Child age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrChildDrDiagCount as New join hist.HrChildDrDiagCount as Old using (State) |
HrChildDrDiagCountGrowth | HR | Growth in HR-level count of all DIAG measures for Child age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildDrDiagCount as New join hist.HrChildDrDiagCount as Old using (State) |
HrChildDrDiagCompleted | HR | HR-level count of completed DIAG measures for Child age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrChildDrDiagCompletedChange | HR | Change in HR-level count of completed DIAG measures for Child age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrChildDrDiagCompleted as New join hist.HrChildDrDiagCompleted as Old using (State) |
HrChildDrDiagCompletedGrowth | HR | Growth in HR-level count of completed DIAG measures for Child age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildDrDiagCompleted as New join hist.HrChildDrDiagCompleted as Old using (State) |
HrChildDrDiagCompletionRate | HR | HR-level completion rate of DIAG measures for Child age group in Residential setting after Discharge | select State, sd_div_safe(HrChildDrDiagCompleted.Total, HrChildDrCodCount.Total, 3) as Rate from HrChildDrDiagCompleted join HrChildDrCodCount using (State) |
HrChildDrDiagCompletionRateChange | HR | Change in HR-level completion rate of DIAG measures for Child age group in Residential setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrChildDrDiagCompletionRate as New join hist.HrChildDrDiagCompletionRate as Old using (State) |
HrChildDrMhlsCount | HR | HR-level count of all MHLS measures for Child age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrChildDrMhlsCountChange | HR | Change in HR-level count of all MHLS measures for Child age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrChildDrMhlsCount as New join hist.HrChildDrMhlsCount as Old using (State) |
HrChildDrMhlsCountGrowth | HR | Growth in HR-level count of all MHLS measures for Child age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildDrMhlsCount as New join hist.HrChildDrMhlsCount as Old using (State) |
HrChildDrMhlsCompleted | HR | HR-level count of completed MHLS measures for Child age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrChildDrMhlsCompletedChange | HR | Change in HR-level count of completed MHLS measures for Child age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrChildDrMhlsCompleted as New join hist.HrChildDrMhlsCompleted as Old using (State) |
HrChildDrMhlsCompletedGrowth | HR | Growth in HR-level count of completed MHLS measures for Child age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildDrMhlsCompleted as New join hist.HrChildDrMhlsCompleted as Old using (State) |
HrChildDrMhlsCompletionRate | HR | HR-level completion rate of MHLS measures for Child age group in Residential setting after Discharge | select State, sd_div_safe(HrChildDrMhlsCompleted.Total, HrChildDrCodCount.Total, 3) as Rate from HrChildDrMhlsCompleted join HrChildDrCodCount using (State) |
HrChildDrMhlsCompletionRateChange | HR | Change in HR-level completion rate of MHLS measures for Child age group in Residential setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrChildDrMhlsCompletionRate as New join hist.HrChildDrMhlsCompletionRate as Old using (State) |
HrChildAaCodCount | HR | HR-level count of collection occasions for Child age group in Ambulatory setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD where Setting = '3' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrChildAaHonoscaCount | HR | HR-level count of all HONOSCA measures for Child age group in Ambulatory setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonoscaCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrChildAaHonoscaCountChange | HR | Change in HR-level count of all HONOSCA measures for Child age group in Ambulatory setting after Admission | select State, (New.Total - Old.Total) as Change from HrChildAaHonoscaCount as New join hist.HrChildAaHonoscaCount as Old using (State) |
HrChildAaHonoscaCountGrowth | HR | Growth in HR-level count of all HONOSCA measures for Child age group in Ambulatory setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildAaHonoscaCount as New join hist.HrChildAaHonoscaCount as Old using (State) |
HrChildAaHonoscaCompleted | HR | HR-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonoscaCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrChildAaHonoscaCompletedChange | HR | Change in HR-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Admission | select State, (New.Total - Old.Total) as Change from HrChildAaHonoscaCompleted as New join hist.HrChildAaHonoscaCompleted as Old using (State) |
HrChildAaHonoscaCompletedGrowth | HR | Growth in HR-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildAaHonoscaCompleted as New join hist.HrChildAaHonoscaCompleted as Old using (State) |
HrChildAaHonoscaCompletionRate | HR | HR-level completion rate of HONOSCA measures for Child age group in Ambulatory setting after Admission | select State, sd_div_safe(HrChildAaHonoscaCompleted.Total, HrChildAaCodCount.Total, 3) as Rate from HrChildAaHonoscaCompleted join HrChildAaCodCount using (State) |
HrChildAaHonoscaCompletionRateChange | HR | Change in HR-level completion rate of HONOSCA measures for Child age group in Ambulatory setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrChildAaHonoscaCompletionRate as New join hist.HrChildAaHonoscaCompletionRate as Old using (State) |
HrChildAaCgasCount | HR | HR-level count of all CGAS measures for Child age group in Ambulatory setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join CgasCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrChildAaCgasCountChange | HR | Change in HR-level count of all CGAS measures for Child age group in Ambulatory setting after Admission | select State, (New.Total - Old.Total) as Change from HrChildAaCgasCount as New join hist.HrChildAaCgasCount as Old using (State) |
HrChildAaCgasCountGrowth | HR | Growth in HR-level count of all CGAS measures for Child age group in Ambulatory setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildAaCgasCount as New join hist.HrChildAaCgasCount as Old using (State) |
HrChildAaCgasCompleted | HR | HR-level count of completed CGAS measures for Child age group in Ambulatory setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join CgasCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrChildAaCgasCompletedChange | HR | Change in HR-level count of completed CGAS measures for Child age group in Ambulatory setting after Admission | select State, (New.Total - Old.Total) as Change from HrChildAaCgasCompleted as New join hist.HrChildAaCgasCompleted as Old using (State) |
HrChildAaCgasCompletedGrowth | HR | Growth in HR-level count of completed CGAS measures for Child age group in Ambulatory setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildAaCgasCompleted as New join hist.HrChildAaCgasCompleted as Old using (State) |
HrChildAaCgasCompletionRate | HR | HR-level completion rate of CGAS measures for Child age group in Ambulatory setting after Admission | select State, sd_div_safe(HrChildAaCgasCompleted.Total, HrChildAaCodCount.Total, 3) as Rate from HrChildAaCgasCompleted join HrChildAaCodCount using (State) |
HrChildAaCgasCompletionRateChange | HR | Change in HR-level completion rate of CGAS measures for Child age group in Ambulatory setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrChildAaCgasCompletionRate as New join hist.HrChildAaCgasCompletionRate as Old using (State) |
HrChildAaSdqCount | HR | HR-level count of all SDQ measures for Child age group in Ambulatory setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join SdqCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrChildAaSdqCountChange | HR | Change in HR-level count of all SDQ measures for Child age group in Ambulatory setting after Admission | select State, (New.Total - Old.Total) as Change from HrChildAaSdqCount as New join hist.HrChildAaSdqCount as Old using (State) |
HrChildAaSdqCountGrowth | HR | Growth in HR-level count of all SDQ measures for Child age group in Ambulatory setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildAaSdqCount as New join hist.HrChildAaSdqCount as Old using (State) |
HrChildAaSdqCompleted | HR | HR-level count of completed SDQ measures for Child age group in Ambulatory setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join SdqCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrChildAaSdqCompletedChange | HR | Change in HR-level count of completed SDQ measures for Child age group in Ambulatory setting after Admission | select State, (New.Total - Old.Total) as Change from HrChildAaSdqCompleted as New join hist.HrChildAaSdqCompleted as Old using (State) |
HrChildAaSdqCompletedGrowth | HR | Growth in HR-level count of completed SDQ measures for Child age group in Ambulatory setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildAaSdqCompleted as New join hist.HrChildAaSdqCompleted as Old using (State) |
HrChildAaSdqCompletionRate | HR | HR-level completion rate of SDQ measures for Child age group in Ambulatory setting after Admission | select State, sd_div_safe(HrChildAaSdqCompleted.Total, HrChildAaCodCount.Total, 3) as Rate from HrChildAaSdqCompleted join HrChildAaCodCount using (State) |
HrChildAaSdqCompletionRateChange | HR | Change in HR-level completion rate of SDQ measures for Child age group in Ambulatory setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrChildAaSdqCompletionRate as New join hist.HrChildAaSdqCompletionRate as Old using (State) |
HrChildRaCodCount | HR | HR-level count of collection occasions for Child age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD where Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRaHonoscaCount | HR | HR-level count of all HONOSCA measures for Child age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonoscaCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRaHonoscaCountChange | HR | Change in HR-level count of all HONOSCA measures for Child age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRaHonoscaCount as New join hist.HrChildRaHonoscaCount as Old using (State) |
HrChildRaHonoscaCountGrowth | HR | Growth in HR-level count of all HONOSCA measures for Child age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRaHonoscaCount as New join hist.HrChildRaHonoscaCount as Old using (State) |
HrChildRaHonoscaCompleted | HR | HR-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonoscaCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRaHonoscaCompletedChange | HR | Change in HR-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRaHonoscaCompleted as New join hist.HrChildRaHonoscaCompleted as Old using (State) |
HrChildRaHonoscaCompletedGrowth | HR | Growth in HR-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRaHonoscaCompleted as New join hist.HrChildRaHonoscaCompleted as Old using (State) |
HrChildRaHonoscaCompletionRate | HR | HR-level completion rate of HONOSCA measures for Child age group in Ambulatory setting after Review | select State, sd_div_safe(HrChildRaHonoscaCompleted.Total, HrChildRaCodCount.Total, 3) as Rate from HrChildRaHonoscaCompleted join HrChildRaCodCount using (State) |
HrChildRaHonoscaCompletionRateChange | HR | Change in HR-level completion rate of HONOSCA measures for Child age group in Ambulatory setting after Review | select State, (New.Rate - Old.Rate) as Change from HrChildRaHonoscaCompletionRate as New join hist.HrChildRaHonoscaCompletionRate as Old using (State) |
HrChildRaCgasCount | HR | HR-level count of all CGAS measures for Child age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join CgasCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRaCgasCountChange | HR | Change in HR-level count of all CGAS measures for Child age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRaCgasCount as New join hist.HrChildRaCgasCount as Old using (State) |
HrChildRaCgasCountGrowth | HR | Growth in HR-level count of all CGAS measures for Child age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRaCgasCount as New join hist.HrChildRaCgasCount as Old using (State) |
HrChildRaCgasCompleted | HR | HR-level count of completed CGAS measures for Child age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join CgasCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRaCgasCompletedChange | HR | Change in HR-level count of completed CGAS measures for Child age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRaCgasCompleted as New join hist.HrChildRaCgasCompleted as Old using (State) |
HrChildRaCgasCompletedGrowth | HR | Growth in HR-level count of completed CGAS measures for Child age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRaCgasCompleted as New join hist.HrChildRaCgasCompleted as Old using (State) |
HrChildRaCgasCompletionRate | HR | HR-level completion rate of CGAS measures for Child age group in Ambulatory setting after Review | select State, sd_div_safe(HrChildRaCgasCompleted.Total, HrChildRaCodCount.Total, 3) as Rate from HrChildRaCgasCompleted join HrChildRaCodCount using (State) |
HrChildRaCgasCompletionRateChange | HR | Change in HR-level completion rate of CGAS measures for Child age group in Ambulatory setting after Review | select State, (New.Rate - Old.Rate) as Change from HrChildRaCgasCompletionRate as New join hist.HrChildRaCgasCompletionRate as Old using (State) |
HrChildRaFihsCount | HR | HR-level count of all FIHS measures for Child age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join FihsCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRaFihsCountChange | HR | Change in HR-level count of all FIHS measures for Child age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRaFihsCount as New join hist.HrChildRaFihsCount as Old using (State) |
HrChildRaFihsCountGrowth | HR | Growth in HR-level count of all FIHS measures for Child age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRaFihsCount as New join hist.HrChildRaFihsCount as Old using (State) |
HrChildRaFihsCompleted | HR | HR-level count of completed FIHS measures for Child age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join FihsCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRaFihsCompletedChange | HR | Change in HR-level count of completed FIHS measures for Child age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRaFihsCompleted as New join hist.HrChildRaFihsCompleted as Old using (State) |
HrChildRaFihsCompletedGrowth | HR | Growth in HR-level count of completed FIHS measures for Child age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRaFihsCompleted as New join hist.HrChildRaFihsCompleted as Old using (State) |
HrChildRaFihsCompletionRate | HR | HR-level completion rate of FIHS measures for Child age group in Ambulatory setting after Review | select State, sd_div_safe(HrChildRaFihsCompleted.Total, HrChildRaCodCount.Total, 3) as Rate from HrChildRaFihsCompleted join HrChildRaCodCount using (State) |
HrChildRaFihsCompletionRateChange | HR | Change in HR-level completion rate of FIHS measures for Child age group in Ambulatory setting after Review | select State, (New.Rate - Old.Rate) as Change from HrChildRaFihsCompletionRate as New join hist.HrChildRaFihsCompletionRate as Old using (State) |
HrChildRaSdqCount | HR | HR-level count of all SDQ measures for Child age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join SdqCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRaSdqCountChange | HR | Change in HR-level count of all SDQ measures for Child age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRaSdqCount as New join hist.HrChildRaSdqCount as Old using (State) |
HrChildRaSdqCountGrowth | HR | Growth in HR-level count of all SDQ measures for Child age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRaSdqCount as New join hist.HrChildRaSdqCount as Old using (State) |
HrChildRaSdqCompleted | HR | HR-level count of completed SDQ measures for Child age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join SdqCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRaSdqCompletedChange | HR | Change in HR-level count of completed SDQ measures for Child age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRaSdqCompleted as New join hist.HrChildRaSdqCompleted as Old using (State) |
HrChildRaSdqCompletedGrowth | HR | Growth in HR-level count of completed SDQ measures for Child age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRaSdqCompleted as New join hist.HrChildRaSdqCompleted as Old using (State) |
HrChildRaSdqCompletionRate | HR | HR-level completion rate of SDQ measures for Child age group in Ambulatory setting after Review | select State, sd_div_safe(HrChildRaSdqCompleted.Total, HrChildRaCodCount.Total, 3) as Rate from HrChildRaSdqCompleted join HrChildRaCodCount using (State) |
HrChildRaSdqCompletionRateChange | HR | Change in HR-level completion rate of SDQ measures for Child age group in Ambulatory setting after Review | select State, (New.Rate - Old.Rate) as Change from HrChildRaSdqCompletionRate as New join hist.HrChildRaSdqCompletionRate as Old using (State) |
HrChildRaDiagCount | HR | HR-level count of all DIAG measures for Child age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRaDiagCountChange | HR | Change in HR-level count of all DIAG measures for Child age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRaDiagCount as New join hist.HrChildRaDiagCount as Old using (State) |
HrChildRaDiagCountGrowth | HR | Growth in HR-level count of all DIAG measures for Child age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRaDiagCount as New join hist.HrChildRaDiagCount as Old using (State) |
HrChildRaDiagCompleted | HR | HR-level count of completed DIAG measures for Child age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRaDiagCompletedChange | HR | Change in HR-level count of completed DIAG measures for Child age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRaDiagCompleted as New join hist.HrChildRaDiagCompleted as Old using (State) |
HrChildRaDiagCompletedGrowth | HR | Growth in HR-level count of completed DIAG measures for Child age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRaDiagCompleted as New join hist.HrChildRaDiagCompleted as Old using (State) |
HrChildRaDiagCompletionRate | HR | HR-level completion rate of DIAG measures for Child age group in Ambulatory setting after Review | select State, sd_div_safe(HrChildRaDiagCompleted.Total, HrChildRaCodCount.Total, 3) as Rate from HrChildRaDiagCompleted join HrChildRaCodCount using (State) |
HrChildRaDiagCompletionRateChange | HR | Change in HR-level completion rate of DIAG measures for Child age group in Ambulatory setting after Review | select State, (New.Rate - Old.Rate) as Change from HrChildRaDiagCompletionRate as New join hist.HrChildRaDiagCompletionRate as Old using (State) |
HrChildRaMhlsCount | HR | HR-level count of all MHLS measures for Child age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRaMhlsCountChange | HR | Change in HR-level count of all MHLS measures for Child age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRaMhlsCount as New join hist.HrChildRaMhlsCount as Old using (State) |
HrChildRaMhlsCountGrowth | HR | Growth in HR-level count of all MHLS measures for Child age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRaMhlsCount as New join hist.HrChildRaMhlsCount as Old using (State) |
HrChildRaMhlsCompleted | HR | HR-level count of completed MHLS measures for Child age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrChildRaMhlsCompletedChange | HR | Change in HR-level count of completed MHLS measures for Child age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrChildRaMhlsCompleted as New join hist.HrChildRaMhlsCompleted as Old using (State) |
HrChildRaMhlsCompletedGrowth | HR | Growth in HR-level count of completed MHLS measures for Child age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildRaMhlsCompleted as New join hist.HrChildRaMhlsCompleted as Old using (State) |
HrChildRaMhlsCompletionRate | HR | HR-level completion rate of MHLS measures for Child age group in Ambulatory setting after Review | select State, sd_div_safe(HrChildRaMhlsCompleted.Total, HrChildRaCodCount.Total, 3) as Rate from HrChildRaMhlsCompleted join HrChildRaCodCount using (State) |
HrChildRaMhlsCompletionRateChange | HR | Change in HR-level completion rate of MHLS measures for Child age group in Ambulatory setting after Review | select State, (New.Rate - Old.Rate) as Change from HrChildRaMhlsCompletionRate as New join hist.HrChildRaMhlsCompletionRate as Old using (State) |
HrChildDaCodCount | HR | HR-level count of collection occasions for Child age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD where Setting = '3' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrChildDaHonoscaCount | HR | HR-level count of all HONOSCA measures for Child age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonoscaCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrChildDaHonoscaCountChange | HR | Change in HR-level count of all HONOSCA measures for Child age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrChildDaHonoscaCount as New join hist.HrChildDaHonoscaCount as Old using (State) |
HrChildDaHonoscaCountGrowth | HR | Growth in HR-level count of all HONOSCA measures for Child age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildDaHonoscaCount as New join hist.HrChildDaHonoscaCount as Old using (State) |
HrChildDaHonoscaCompleted | HR | HR-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonoscaCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrChildDaHonoscaCompletedChange | HR | Change in HR-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrChildDaHonoscaCompleted as New join hist.HrChildDaHonoscaCompleted as Old using (State) |
HrChildDaHonoscaCompletedGrowth | HR | Growth in HR-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildDaHonoscaCompleted as New join hist.HrChildDaHonoscaCompleted as Old using (State) |
HrChildDaHonoscaCompletionRate | HR | HR-level completion rate of HONOSCA measures for Child age group in Ambulatory setting after Discharge | select State, sd_div_safe(HrChildDaHonoscaCompleted.Total, HrChildDaCodCount.Total, 3) as Rate from HrChildDaHonoscaCompleted join HrChildDaCodCount using (State) |
HrChildDaHonoscaCompletionRateChange | HR | Change in HR-level completion rate of HONOSCA measures for Child age group in Ambulatory setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrChildDaHonoscaCompletionRate as New join hist.HrChildDaHonoscaCompletionRate as Old using (State) |
HrChildDaFihsCount | HR | HR-level count of all FIHS measures for Child age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join FihsCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrChildDaFihsCountChange | HR | Change in HR-level count of all FIHS measures for Child age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrChildDaFihsCount as New join hist.HrChildDaFihsCount as Old using (State) |
HrChildDaFihsCountGrowth | HR | Growth in HR-level count of all FIHS measures for Child age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildDaFihsCount as New join hist.HrChildDaFihsCount as Old using (State) |
HrChildDaFihsCompleted | HR | HR-level count of completed FIHS measures for Child age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join FihsCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrChildDaFihsCompletedChange | HR | Change in HR-level count of completed FIHS measures for Child age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrChildDaFihsCompleted as New join hist.HrChildDaFihsCompleted as Old using (State) |
HrChildDaFihsCompletedGrowth | HR | Growth in HR-level count of completed FIHS measures for Child age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildDaFihsCompleted as New join hist.HrChildDaFihsCompleted as Old using (State) |
HrChildDaFihsCompletionRate | HR | HR-level completion rate of FIHS measures for Child age group in Ambulatory setting after Discharge | select State, sd_div_safe(HrChildDaFihsCompleted.Total, HrChildDaCodCount.Total, 3) as Rate from HrChildDaFihsCompleted join HrChildDaCodCount using (State) |
HrChildDaFihsCompletionRateChange | HR | Change in HR-level completion rate of FIHS measures for Child age group in Ambulatory setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrChildDaFihsCompletionRate as New join hist.HrChildDaFihsCompletionRate as Old using (State) |
HrChildDaSdqCount | HR | HR-level count of all SDQ measures for Child age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join SdqCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrChildDaSdqCountChange | HR | Change in HR-level count of all SDQ measures for Child age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrChildDaSdqCount as New join hist.HrChildDaSdqCount as Old using (State) |
HrChildDaSdqCountGrowth | HR | Growth in HR-level count of all SDQ measures for Child age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildDaSdqCount as New join hist.HrChildDaSdqCount as Old using (State) |
HrChildDaSdqCompleted | HR | HR-level count of completed SDQ measures for Child age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join SdqCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrChildDaSdqCompletedChange | HR | Change in HR-level count of completed SDQ measures for Child age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrChildDaSdqCompleted as New join hist.HrChildDaSdqCompleted as Old using (State) |
HrChildDaSdqCompletedGrowth | HR | Growth in HR-level count of completed SDQ measures for Child age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildDaSdqCompleted as New join hist.HrChildDaSdqCompleted as Old using (State) |
HrChildDaSdqCompletionRate | HR | HR-level completion rate of SDQ measures for Child age group in Ambulatory setting after Discharge | select State, sd_div_safe(HrChildDaSdqCompleted.Total, HrChildDaCodCount.Total, 3) as Rate from HrChildDaSdqCompleted join HrChildDaCodCount using (State) |
HrChildDaSdqCompletionRateChange | HR | Change in HR-level completion rate of SDQ measures for Child age group in Ambulatory setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrChildDaSdqCompletionRate as New join hist.HrChildDaSdqCompletionRate as Old using (State) |
HrChildDaDiagCount | HR | HR-level count of all DIAG measures for Child age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrChildDaDiagCountChange | HR | Change in HR-level count of all DIAG measures for Child age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrChildDaDiagCount as New join hist.HrChildDaDiagCount as Old using (State) |
HrChildDaDiagCountGrowth | HR | Growth in HR-level count of all DIAG measures for Child age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildDaDiagCount as New join hist.HrChildDaDiagCount as Old using (State) |
HrChildDaDiagCompleted | HR | HR-level count of completed DIAG measures for Child age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrChildDaDiagCompletedChange | HR | Change in HR-level count of completed DIAG measures for Child age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrChildDaDiagCompleted as New join hist.HrChildDaDiagCompleted as Old using (State) |
HrChildDaDiagCompletedGrowth | HR | Growth in HR-level count of completed DIAG measures for Child age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildDaDiagCompleted as New join hist.HrChildDaDiagCompleted as Old using (State) |
HrChildDaDiagCompletionRate | HR | HR-level completion rate of DIAG measures for Child age group in Ambulatory setting after Discharge | select State, sd_div_safe(HrChildDaDiagCompleted.Total, HrChildDaCodCount.Total, 3) as Rate from HrChildDaDiagCompleted join HrChildDaCodCount using (State) |
HrChildDaDiagCompletionRateChange | HR | Change in HR-level completion rate of DIAG measures for Child age group in Ambulatory setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrChildDaDiagCompletionRate as New join hist.HrChildDaDiagCompletionRate as Old using (State) |
HrChildDaMhlsCount | HR | HR-level count of all MHLS measures for Child age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrChildDaMhlsCountChange | HR | Change in HR-level count of all MHLS measures for Child age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrChildDaMhlsCount as New join hist.HrChildDaMhlsCount as Old using (State) |
HrChildDaMhlsCountGrowth | HR | Growth in HR-level count of all MHLS measures for Child age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildDaMhlsCount as New join hist.HrChildDaMhlsCount as Old using (State) |
HrChildDaMhlsCompleted | HR | HR-level count of completed MHLS measures for Child age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrChildDaMhlsCompletedChange | HR | Change in HR-level count of completed MHLS measures for Child age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrChildDaMhlsCompleted as New join hist.HrChildDaMhlsCompleted as Old using (State) |
HrChildDaMhlsCompletedGrowth | HR | Growth in HR-level count of completed MHLS measures for Child age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrChildDaMhlsCompleted as New join hist.HrChildDaMhlsCompleted as Old using (State) |
HrChildDaMhlsCompletionRate | HR | HR-level completion rate of MHLS measures for Child age group in Ambulatory setting after Discharge | select State, sd_div_safe(HrChildDaMhlsCompleted.Total, HrChildDaCodCount.Total, 3) as Rate from HrChildDaMhlsCompleted join HrChildDaCodCount using (State) |
HrChildDaMhlsCompletionRateChange | HR | Change in HR-level completion rate of MHLS measures for Child age group in Ambulatory setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrChildDaMhlsCompletionRate as New join hist.HrChildDaMhlsCompletionRate as Old using (State) |
HrAdultAiCodCount | HR | HR-level count of collection occasions for Adult age group in Inpatient setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD where Setting = '1' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrAdultAiHonosCount | HR | HR-level count of all HONOS measures for Adult age group in Inpatient setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '1' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrAdultAiHonosCountChange | HR | Change in HR-level count of all HONOS measures for Adult age group in Inpatient setting after Admission | select State, (New.Total - Old.Total) as Change from HrAdultAiHonosCount as New join hist.HrAdultAiHonosCount as Old using (State) |
HrAdultAiHonosCountGrowth | HR | Growth in HR-level count of all HONOS measures for Adult age group in Inpatient setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultAiHonosCount as New join hist.HrAdultAiHonosCount as Old using (State) |
HrAdultAiHonosCompleted | HR | HR-level count of completed HONOS measures for Adult age group in Inpatient setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrAdultAiHonosCompletedChange | HR | Change in HR-level count of completed HONOS measures for Adult age group in Inpatient setting after Admission | select State, (New.Total - Old.Total) as Change from HrAdultAiHonosCompleted as New join hist.HrAdultAiHonosCompleted as Old using (State) |
HrAdultAiHonosCompletedGrowth | HR | Growth in HR-level count of completed HONOS measures for Adult age group in Inpatient setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultAiHonosCompleted as New join hist.HrAdultAiHonosCompleted as Old using (State) |
HrAdultAiHonosCompletionRate | HR | HR-level completion rate of HONOS measures for Adult age group in Inpatient setting after Admission | select State, sd_div_safe(HrAdultAiHonosCompleted.Total, HrAdultAiCodCount.Total, 3) as Rate from HrAdultAiHonosCompleted join HrAdultAiCodCount using (State) |
HrAdultAiHonosCompletionRateChange | HR | Change in HR-level completion rate of HONOS measures for Adult age group in Inpatient setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrAdultAiHonosCompletionRate as New join hist.HrAdultAiHonosCompletionRate as Old using (State) |
HrAdultAiPocCount | HR | HR-level count of all POC measures for Adult age group in Inpatient setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '1' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrAdultAiPocCountChange | HR | Change in HR-level count of all POC measures for Adult age group in Inpatient setting after Admission | select State, (New.Total - Old.Total) as Change from HrAdultAiPocCount as New join hist.HrAdultAiPocCount as Old using (State) |
HrAdultAiPocCountGrowth | HR | Growth in HR-level count of all POC measures for Adult age group in Inpatient setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultAiPocCount as New join hist.HrAdultAiPocCount as Old using (State) |
HrAdultAiPocCompleted | HR | HR-level count of completed POC measures for Adult age group in Inpatient setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrAdultAiPocCompletedChange | HR | Change in HR-level count of completed POC measures for Adult age group in Inpatient setting after Admission | select State, (New.Total - Old.Total) as Change from HrAdultAiPocCompleted as New join hist.HrAdultAiPocCompleted as Old using (State) |
HrAdultAiPocCompletedGrowth | HR | Growth in HR-level count of completed POC measures for Adult age group in Inpatient setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultAiPocCompleted as New join hist.HrAdultAiPocCompleted as Old using (State) |
HrAdultAiPocCompletionRate | HR | HR-level completion rate of POC measures for Adult age group in Inpatient setting after Admission | select State, sd_div_safe(HrAdultAiPocCompleted.Total, HrAdultAiCodCount.Total, 3) as Rate from HrAdultAiPocCompleted join HrAdultAiCodCount using (State) |
HrAdultAiPocCompletionRateChange | HR | Change in HR-level completion rate of POC measures for Adult age group in Inpatient setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrAdultAiPocCompletionRate as New join hist.HrAdultAiPocCompletionRate as Old using (State) |
HrAdultRiCodCount | HR | HR-level count of collection occasions for Adult age group in Inpatient setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD where Setting = '1' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRiHonosCount | HR | HR-level count of all HONOS measures for Adult age group in Inpatient setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '1' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRiHonosCountChange | HR | Change in HR-level count of all HONOS measures for Adult age group in Inpatient setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRiHonosCount as New join hist.HrAdultRiHonosCount as Old using (State) |
HrAdultRiHonosCountGrowth | HR | Growth in HR-level count of all HONOS measures for Adult age group in Inpatient setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRiHonosCount as New join hist.HrAdultRiHonosCount as Old using (State) |
HrAdultRiHonosCompleted | HR | HR-level count of completed HONOS measures for Adult age group in Inpatient setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRiHonosCompletedChange | HR | Change in HR-level count of completed HONOS measures for Adult age group in Inpatient setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRiHonosCompleted as New join hist.HrAdultRiHonosCompleted as Old using (State) |
HrAdultRiHonosCompletedGrowth | HR | Growth in HR-level count of completed HONOS measures for Adult age group in Inpatient setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRiHonosCompleted as New join hist.HrAdultRiHonosCompleted as Old using (State) |
HrAdultRiHonosCompletionRate | HR | HR-level completion rate of HONOS measures for Adult age group in Inpatient setting after Review | select State, sd_div_safe(HrAdultRiHonosCompleted.Total, HrAdultRiCodCount.Total, 3) as Rate from HrAdultRiHonosCompleted join HrAdultRiCodCount using (State) |
HrAdultRiHonosCompletionRateChange | HR | Change in HR-level completion rate of HONOS measures for Adult age group in Inpatient setting after Review | select State, (New.Rate - Old.Rate) as Change from HrAdultRiHonosCompletionRate as New join hist.HrAdultRiHonosCompletionRate as Old using (State) |
HrAdultRiDiagCount | HR | HR-level count of all DIAG measures for Adult age group in Inpatient setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '1' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRiDiagCountChange | HR | Change in HR-level count of all DIAG measures for Adult age group in Inpatient setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRiDiagCount as New join hist.HrAdultRiDiagCount as Old using (State) |
HrAdultRiDiagCountGrowth | HR | Growth in HR-level count of all DIAG measures for Adult age group in Inpatient setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRiDiagCount as New join hist.HrAdultRiDiagCount as Old using (State) |
HrAdultRiDiagCompleted | HR | HR-level count of completed DIAG measures for Adult age group in Inpatient setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRiDiagCompletedChange | HR | Change in HR-level count of completed DIAG measures for Adult age group in Inpatient setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRiDiagCompleted as New join hist.HrAdultRiDiagCompleted as Old using (State) |
HrAdultRiDiagCompletedGrowth | HR | Growth in HR-level count of completed DIAG measures for Adult age group in Inpatient setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRiDiagCompleted as New join hist.HrAdultRiDiagCompleted as Old using (State) |
HrAdultRiDiagCompletionRate | HR | HR-level completion rate of DIAG measures for Adult age group in Inpatient setting after Review | select State, sd_div_safe(HrAdultRiDiagCompleted.Total, HrAdultRiCodCount.Total, 3) as Rate from HrAdultRiDiagCompleted join HrAdultRiCodCount using (State) |
HrAdultRiDiagCompletionRateChange | HR | Change in HR-level completion rate of DIAG measures for Adult age group in Inpatient setting after Review | select State, (New.Rate - Old.Rate) as Change from HrAdultRiDiagCompletionRate as New join hist.HrAdultRiDiagCompletionRate as Old using (State) |
HrAdultRiPocCount | HR | HR-level count of all POC measures for Adult age group in Inpatient setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '1' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRiPocCountChange | HR | Change in HR-level count of all POC measures for Adult age group in Inpatient setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRiPocCount as New join hist.HrAdultRiPocCount as Old using (State) |
HrAdultRiPocCountGrowth | HR | Growth in HR-level count of all POC measures for Adult age group in Inpatient setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRiPocCount as New join hist.HrAdultRiPocCount as Old using (State) |
HrAdultRiPocCompleted | HR | HR-level count of completed POC measures for Adult age group in Inpatient setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRiPocCompletedChange | HR | Change in HR-level count of completed POC measures for Adult age group in Inpatient setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRiPocCompleted as New join hist.HrAdultRiPocCompleted as Old using (State) |
HrAdultRiPocCompletedGrowth | HR | Growth in HR-level count of completed POC measures for Adult age group in Inpatient setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRiPocCompleted as New join hist.HrAdultRiPocCompleted as Old using (State) |
HrAdultRiPocCompletionRate | HR | HR-level completion rate of POC measures for Adult age group in Inpatient setting after Review | select State, sd_div_safe(HrAdultRiPocCompleted.Total, HrAdultRiCodCount.Total, 3) as Rate from HrAdultRiPocCompleted join HrAdultRiCodCount using (State) |
HrAdultRiPocCompletionRateChange | HR | Change in HR-level completion rate of POC measures for Adult age group in Inpatient setting after Review | select State, (New.Rate - Old.Rate) as Change from HrAdultRiPocCompletionRate as New join hist.HrAdultRiPocCompletionRate as Old using (State) |
HrAdultRiMhlsCount | HR | HR-level count of all MHLS measures for Adult age group in Inpatient setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '1' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRiMhlsCountChange | HR | Change in HR-level count of all MHLS measures for Adult age group in Inpatient setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRiMhlsCount as New join hist.HrAdultRiMhlsCount as Old using (State) |
HrAdultRiMhlsCountGrowth | HR | Growth in HR-level count of all MHLS measures for Adult age group in Inpatient setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRiMhlsCount as New join hist.HrAdultRiMhlsCount as Old using (State) |
HrAdultRiMhlsCompleted | HR | HR-level count of completed MHLS measures for Adult age group in Inpatient setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRiMhlsCompletedChange | HR | Change in HR-level count of completed MHLS measures for Adult age group in Inpatient setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRiMhlsCompleted as New join hist.HrAdultRiMhlsCompleted as Old using (State) |
HrAdultRiMhlsCompletedGrowth | HR | Growth in HR-level count of completed MHLS measures for Adult age group in Inpatient setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRiMhlsCompleted as New join hist.HrAdultRiMhlsCompleted as Old using (State) |
HrAdultRiMhlsCompletionRate | HR | HR-level completion rate of MHLS measures for Adult age group in Inpatient setting after Review | select State, sd_div_safe(HrAdultRiMhlsCompleted.Total, HrAdultRiCodCount.Total, 3) as Rate from HrAdultRiMhlsCompleted join HrAdultRiCodCount using (State) |
HrAdultRiMhlsCompletionRateChange | HR | Change in HR-level completion rate of MHLS measures for Adult age group in Inpatient setting after Review | select State, (New.Rate - Old.Rate) as Change from HrAdultRiMhlsCompletionRate as New join hist.HrAdultRiMhlsCompletionRate as Old using (State) |
HrAdultDiCodCount | HR | HR-level count of collection occasions for Adult age group in Inpatient setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD where Setting = '1' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDiHonosCount | HR | HR-level count of all HONOS measures for Adult age group in Inpatient setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '1' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDiHonosCountChange | HR | Change in HR-level count of all HONOS measures for Adult age group in Inpatient setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDiHonosCount as New join hist.HrAdultDiHonosCount as Old using (State) |
HrAdultDiHonosCountGrowth | HR | Growth in HR-level count of all HONOS measures for Adult age group in Inpatient setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDiHonosCount as New join hist.HrAdultDiHonosCount as Old using (State) |
HrAdultDiHonosCompleted | HR | HR-level count of completed HONOS measures for Adult age group in Inpatient setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDiHonosCompletedChange | HR | Change in HR-level count of completed HONOS measures for Adult age group in Inpatient setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDiHonosCompleted as New join hist.HrAdultDiHonosCompleted as Old using (State) |
HrAdultDiHonosCompletedGrowth | HR | Growth in HR-level count of completed HONOS measures for Adult age group in Inpatient setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDiHonosCompleted as New join hist.HrAdultDiHonosCompleted as Old using (State) |
HrAdultDiHonosCompletionRate | HR | HR-level completion rate of HONOS measures for Adult age group in Inpatient setting after Discharge | select State, sd_div_safe(HrAdultDiHonosCompleted.Total, HrAdultDiCodCount.Total, 3) as Rate from HrAdultDiHonosCompleted join HrAdultDiCodCount using (State) |
HrAdultDiHonosCompletionRateChange | HR | Change in HR-level completion rate of HONOS measures for Adult age group in Inpatient setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrAdultDiHonosCompletionRate as New join hist.HrAdultDiHonosCompletionRate as Old using (State) |
HrAdultDiDiagCount | HR | HR-level count of all DIAG measures for Adult age group in Inpatient setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '1' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDiDiagCountChange | HR | Change in HR-level count of all DIAG measures for Adult age group in Inpatient setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDiDiagCount as New join hist.HrAdultDiDiagCount as Old using (State) |
HrAdultDiDiagCountGrowth | HR | Growth in HR-level count of all DIAG measures for Adult age group in Inpatient setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDiDiagCount as New join hist.HrAdultDiDiagCount as Old using (State) |
HrAdultDiDiagCompleted | HR | HR-level count of completed DIAG measures for Adult age group in Inpatient setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDiDiagCompletedChange | HR | Change in HR-level count of completed DIAG measures for Adult age group in Inpatient setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDiDiagCompleted as New join hist.HrAdultDiDiagCompleted as Old using (State) |
HrAdultDiDiagCompletedGrowth | HR | Growth in HR-level count of completed DIAG measures for Adult age group in Inpatient setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDiDiagCompleted as New join hist.HrAdultDiDiagCompleted as Old using (State) |
HrAdultDiDiagCompletionRate | HR | HR-level completion rate of DIAG measures for Adult age group in Inpatient setting after Discharge | select State, sd_div_safe(HrAdultDiDiagCompleted.Total, HrAdultDiCodCount.Total, 3) as Rate from HrAdultDiDiagCompleted join HrAdultDiCodCount using (State) |
HrAdultDiDiagCompletionRateChange | HR | Change in HR-level completion rate of DIAG measures for Adult age group in Inpatient setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrAdultDiDiagCompletionRate as New join hist.HrAdultDiDiagCompletionRate as Old using (State) |
HrAdultDiMhlsCount | HR | HR-level count of all MHLS measures for Adult age group in Inpatient setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '1' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDiMhlsCountChange | HR | Change in HR-level count of all MHLS measures for Adult age group in Inpatient setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDiMhlsCount as New join hist.HrAdultDiMhlsCount as Old using (State) |
HrAdultDiMhlsCountGrowth | HR | Growth in HR-level count of all MHLS measures for Adult age group in Inpatient setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDiMhlsCount as New join hist.HrAdultDiMhlsCount as Old using (State) |
HrAdultDiMhlsCompleted | HR | HR-level count of completed MHLS measures for Adult age group in Inpatient setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDiMhlsCompletedChange | HR | Change in HR-level count of completed MHLS measures for Adult age group in Inpatient setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDiMhlsCompleted as New join hist.HrAdultDiMhlsCompleted as Old using (State) |
HrAdultDiMhlsCompletedGrowth | HR | Growth in HR-level count of completed MHLS measures for Adult age group in Inpatient setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDiMhlsCompleted as New join hist.HrAdultDiMhlsCompleted as Old using (State) |
HrAdultDiMhlsCompletionRate | HR | HR-level completion rate of MHLS measures for Adult age group in Inpatient setting after Discharge | select State, sd_div_safe(HrAdultDiMhlsCompleted.Total, HrAdultDiCodCount.Total, 3) as Rate from HrAdultDiMhlsCompleted join HrAdultDiCodCount using (State) |
HrAdultDiMhlsCompletionRateChange | HR | Change in HR-level completion rate of MHLS measures for Adult age group in Inpatient setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrAdultDiMhlsCompletionRate as New join hist.HrAdultDiMhlsCompletionRate as Old using (State) |
HrAdultArCodCount | HR | HR-level count of collection occasions for Adult age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD where Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrAdultArHonosCount | HR | HR-level count of all HONOS measures for Adult age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrAdultArHonosCountChange | HR | Change in HR-level count of all HONOS measures for Adult age group in Residential setting after Admission | select State, (New.Total - Old.Total) as Change from HrAdultArHonosCount as New join hist.HrAdultArHonosCount as Old using (State) |
HrAdultArHonosCountGrowth | HR | Growth in HR-level count of all HONOS measures for Adult age group in Residential setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultArHonosCount as New join hist.HrAdultArHonosCount as Old using (State) |
HrAdultArHonosCompleted | HR | HR-level count of completed HONOS measures for Adult age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrAdultArHonosCompletedChange | HR | Change in HR-level count of completed HONOS measures for Adult age group in Residential setting after Admission | select State, (New.Total - Old.Total) as Change from HrAdultArHonosCompleted as New join hist.HrAdultArHonosCompleted as Old using (State) |
HrAdultArHonosCompletedGrowth | HR | Growth in HR-level count of completed HONOS measures for Adult age group in Residential setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultArHonosCompleted as New join hist.HrAdultArHonosCompleted as Old using (State) |
HrAdultArHonosCompletionRate | HR | HR-level completion rate of HONOS measures for Adult age group in Residential setting after Admission | select State, sd_div_safe(HrAdultArHonosCompleted.Total, HrAdultArCodCount.Total, 3) as Rate from HrAdultArHonosCompleted join HrAdultArCodCount using (State) |
HrAdultArHonosCompletionRateChange | HR | Change in HR-level completion rate of HONOS measures for Adult age group in Residential setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrAdultArHonosCompletionRate as New join hist.HrAdultArHonosCompletionRate as Old using (State) |
HrAdultArLsp16Count | HR | HR-level count of all LSP16 measures for Adult age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Lsp16Completion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrAdultArLsp16CountChange | HR | Change in HR-level count of all LSP16 measures for Adult age group in Residential setting after Admission | select State, (New.Total - Old.Total) as Change from HrAdultArLsp16Count as New join hist.HrAdultArLsp16Count as Old using (State) |
HrAdultArLsp16CountGrowth | HR | Growth in HR-level count of all LSP16 measures for Adult age group in Residential setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultArLsp16Count as New join hist.HrAdultArLsp16Count as Old using (State) |
HrAdultArLsp16Completed | HR | HR-level count of completed LSP16 measures for Adult age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Lsp16Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrAdultArLsp16CompletedChange | HR | Change in HR-level count of completed LSP16 measures for Adult age group in Residential setting after Admission | select State, (New.Total - Old.Total) as Change from HrAdultArLsp16Completed as New join hist.HrAdultArLsp16Completed as Old using (State) |
HrAdultArLsp16CompletedGrowth | HR | Growth in HR-level count of completed LSP16 measures for Adult age group in Residential setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultArLsp16Completed as New join hist.HrAdultArLsp16Completed as Old using (State) |
HrAdultArLsp16CompletionRate | HR | HR-level completion rate of LSP16 measures for Adult age group in Residential setting after Admission | select State, sd_div_safe(HrAdultArLsp16Completed.Total, HrAdultArCodCount.Total, 3) as Rate from HrAdultArLsp16Completed join HrAdultArCodCount using (State) |
HrAdultArLsp16CompletionRateChange | HR | Change in HR-level completion rate of LSP16 measures for Adult age group in Residential setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrAdultArLsp16CompletionRate as New join hist.HrAdultArLsp16CompletionRate as Old using (State) |
HrAdultArBasis32Count | HR | HR-level count of all BASIS32 measures for Adult age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrAdultArBasis32CountChange | HR | Change in HR-level count of all BASIS32 measures for Adult age group in Residential setting after Admission | select State, (New.Total - Old.Total) as Change from HrAdultArBasis32Count as New join hist.HrAdultArBasis32Count as Old using (State) |
HrAdultArBasis32CountGrowth | HR | Growth in HR-level count of all BASIS32 measures for Adult age group in Residential setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultArBasis32Count as New join hist.HrAdultArBasis32Count as Old using (State) |
HrAdultArBasis32Completed | HR | HR-level count of completed BASIS32 measures for Adult age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrAdultArBasis32CompletedChange | HR | Change in HR-level count of completed BASIS32 measures for Adult age group in Residential setting after Admission | select State, (New.Total - Old.Total) as Change from HrAdultArBasis32Completed as New join hist.HrAdultArBasis32Completed as Old using (State) |
HrAdultArBasis32CompletedGrowth | HR | Growth in HR-level count of completed BASIS32 measures for Adult age group in Residential setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultArBasis32Completed as New join hist.HrAdultArBasis32Completed as Old using (State) |
HrAdultArBasis32CompletionRate | HR | HR-level completion rate of BASIS32 measures for Adult age group in Residential setting after Admission | select State, sd_div_safe(HrAdultArBasis32Completed.Total, HrAdultArCodCount.Total, 3) as Rate from HrAdultArBasis32Completed join HrAdultArCodCount using (State) |
HrAdultArBasis32CompletionRateChange | HR | Change in HR-level completion rate of BASIS32 measures for Adult age group in Residential setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrAdultArBasis32CompletionRate as New join hist.HrAdultArBasis32CompletionRate as Old using (State) |
HrAdultArK10l3dCount | HR | HR-level count of all K10L3D measures for Adult age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrAdultArK10l3dCountChange | HR | Change in HR-level count of all K10L3D measures for Adult age group in Residential setting after Admission | select State, (New.Total - Old.Total) as Change from HrAdultArK10l3dCount as New join hist.HrAdultArK10l3dCount as Old using (State) |
HrAdultArK10l3dCountGrowth | HR | Growth in HR-level count of all K10L3D measures for Adult age group in Residential setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultArK10l3dCount as New join hist.HrAdultArK10l3dCount as Old using (State) |
HrAdultArK10l3dCompleted | HR | HR-level count of completed K10L3D measures for Adult age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrAdultArK10l3dCompletedChange | HR | Change in HR-level count of completed K10L3D measures for Adult age group in Residential setting after Admission | select State, (New.Total - Old.Total) as Change from HrAdultArK10l3dCompleted as New join hist.HrAdultArK10l3dCompleted as Old using (State) |
HrAdultArK10l3dCompletedGrowth | HR | Growth in HR-level count of completed K10L3D measures for Adult age group in Residential setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultArK10l3dCompleted as New join hist.HrAdultArK10l3dCompleted as Old using (State) |
HrAdultArK10l3dCompletionRate | HR | HR-level completion rate of K10L3D measures for Adult age group in Residential setting after Admission | select State, sd_div_safe(HrAdultArK10l3dCompleted.Total, HrAdultArCodCount.Total, 3) as Rate from HrAdultArK10l3dCompleted join HrAdultArCodCount using (State) |
HrAdultArK10l3dCompletionRateChange | HR | Change in HR-level completion rate of K10L3D measures for Adult age group in Residential setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrAdultArK10l3dCompletionRate as New join hist.HrAdultArK10l3dCompletionRate as Old using (State) |
HrAdultArK10lmCount | HR | HR-level count of all K10LM measures for Adult age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrAdultArK10lmCountChange | HR | Change in HR-level count of all K10LM measures for Adult age group in Residential setting after Admission | select State, (New.Total - Old.Total) as Change from HrAdultArK10lmCount as New join hist.HrAdultArK10lmCount as Old using (State) |
HrAdultArK10lmCountGrowth | HR | Growth in HR-level count of all K10LM measures for Adult age group in Residential setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultArK10lmCount as New join hist.HrAdultArK10lmCount as Old using (State) |
HrAdultArK10lmCompleted | HR | HR-level count of completed K10LM measures for Adult age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrAdultArK10lmCompletedChange | HR | Change in HR-level count of completed K10LM measures for Adult age group in Residential setting after Admission | select State, (New.Total - Old.Total) as Change from HrAdultArK10lmCompleted as New join hist.HrAdultArK10lmCompleted as Old using (State) |
HrAdultArK10lmCompletedGrowth | HR | Growth in HR-level count of completed K10LM measures for Adult age group in Residential setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultArK10lmCompleted as New join hist.HrAdultArK10lmCompleted as Old using (State) |
HrAdultArK10lmCompletionRate | HR | HR-level completion rate of K10LM measures for Adult age group in Residential setting after Admission | select State, sd_div_safe(HrAdultArK10lmCompleted.Total, HrAdultArCodCount.Total, 3) as Rate from HrAdultArK10lmCompleted join HrAdultArCodCount using (State) |
HrAdultArK10lmCompletionRateChange | HR | Change in HR-level completion rate of K10LM measures for Adult age group in Residential setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrAdultArK10lmCompletionRate as New join hist.HrAdultArK10lmCompletionRate as Old using (State) |
HrAdultArMhi38Count | HR | HR-level count of all MHI38 measures for Adult age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrAdultArMhi38CountChange | HR | Change in HR-level count of all MHI38 measures for Adult age group in Residential setting after Admission | select State, (New.Total - Old.Total) as Change from HrAdultArMhi38Count as New join hist.HrAdultArMhi38Count as Old using (State) |
HrAdultArMhi38CountGrowth | HR | Growth in HR-level count of all MHI38 measures for Adult age group in Residential setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultArMhi38Count as New join hist.HrAdultArMhi38Count as Old using (State) |
HrAdultArMhi38Completed | HR | HR-level count of completed MHI38 measures for Adult age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrAdultArMhi38CompletedChange | HR | Change in HR-level count of completed MHI38 measures for Adult age group in Residential setting after Admission | select State, (New.Total - Old.Total) as Change from HrAdultArMhi38Completed as New join hist.HrAdultArMhi38Completed as Old using (State) |
HrAdultArMhi38CompletedGrowth | HR | Growth in HR-level count of completed MHI38 measures for Adult age group in Residential setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultArMhi38Completed as New join hist.HrAdultArMhi38Completed as Old using (State) |
HrAdultArMhi38CompletionRate | HR | HR-level completion rate of MHI38 measures for Adult age group in Residential setting after Admission | select State, sd_div_safe(HrAdultArMhi38Completed.Total, HrAdultArCodCount.Total, 3) as Rate from HrAdultArMhi38Completed join HrAdultArCodCount using (State) |
HrAdultArMhi38CompletionRateChange | HR | Change in HR-level completion rate of MHI38 measures for Adult age group in Residential setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrAdultArMhi38CompletionRate as New join hist.HrAdultArMhi38CompletionRate as Old using (State) |
HrAdultArPocCount | HR | HR-level count of all POC measures for Adult age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrAdultArPocCountChange | HR | Change in HR-level count of all POC measures for Adult age group in Residential setting after Admission | select State, (New.Total - Old.Total) as Change from HrAdultArPocCount as New join hist.HrAdultArPocCount as Old using (State) |
HrAdultArPocCountGrowth | HR | Growth in HR-level count of all POC measures for Adult age group in Residential setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultArPocCount as New join hist.HrAdultArPocCount as Old using (State) |
HrAdultArPocCompleted | HR | HR-level count of completed POC measures for Adult age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrAdultArPocCompletedChange | HR | Change in HR-level count of completed POC measures for Adult age group in Residential setting after Admission | select State, (New.Total - Old.Total) as Change from HrAdultArPocCompleted as New join hist.HrAdultArPocCompleted as Old using (State) |
HrAdultArPocCompletedGrowth | HR | Growth in HR-level count of completed POC measures for Adult age group in Residential setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultArPocCompleted as New join hist.HrAdultArPocCompleted as Old using (State) |
HrAdultArPocCompletionRate | HR | HR-level completion rate of POC measures for Adult age group in Residential setting after Admission | select State, sd_div_safe(HrAdultArPocCompleted.Total, HrAdultArCodCount.Total, 3) as Rate from HrAdultArPocCompleted join HrAdultArCodCount using (State) |
HrAdultArPocCompletionRateChange | HR | Change in HR-level completion rate of POC measures for Adult age group in Residential setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrAdultArPocCompletionRate as New join hist.HrAdultArPocCompletionRate as Old using (State) |
HrAdultRrCodCount | HR | HR-level count of collection occasions for Adult age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD where Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRrHonosCount | HR | HR-level count of all HONOS measures for Adult age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRrHonosCountChange | HR | Change in HR-level count of all HONOS measures for Adult age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRrHonosCount as New join hist.HrAdultRrHonosCount as Old using (State) |
HrAdultRrHonosCountGrowth | HR | Growth in HR-level count of all HONOS measures for Adult age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRrHonosCount as New join hist.HrAdultRrHonosCount as Old using (State) |
HrAdultRrHonosCompleted | HR | HR-level count of completed HONOS measures for Adult age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRrHonosCompletedChange | HR | Change in HR-level count of completed HONOS measures for Adult age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRrHonosCompleted as New join hist.HrAdultRrHonosCompleted as Old using (State) |
HrAdultRrHonosCompletedGrowth | HR | Growth in HR-level count of completed HONOS measures for Adult age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRrHonosCompleted as New join hist.HrAdultRrHonosCompleted as Old using (State) |
HrAdultRrHonosCompletionRate | HR | HR-level completion rate of HONOS measures for Adult age group in Residential setting after Review | select State, sd_div_safe(HrAdultRrHonosCompleted.Total, HrAdultRrCodCount.Total, 3) as Rate from HrAdultRrHonosCompleted join HrAdultRrCodCount using (State) |
HrAdultRrHonosCompletionRateChange | HR | Change in HR-level completion rate of HONOS measures for Adult age group in Residential setting after Review | select State, (New.Rate - Old.Rate) as Change from HrAdultRrHonosCompletionRate as New join hist.HrAdultRrHonosCompletionRate as Old using (State) |
HrAdultRrLsp16Count | HR | HR-level count of all LSP16 measures for Adult age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Lsp16Completion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRrLsp16CountChange | HR | Change in HR-level count of all LSP16 measures for Adult age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRrLsp16Count as New join hist.HrAdultRrLsp16Count as Old using (State) |
HrAdultRrLsp16CountGrowth | HR | Growth in HR-level count of all LSP16 measures for Adult age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRrLsp16Count as New join hist.HrAdultRrLsp16Count as Old using (State) |
HrAdultRrLsp16Completed | HR | HR-level count of completed LSP16 measures for Adult age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Lsp16Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRrLsp16CompletedChange | HR | Change in HR-level count of completed LSP16 measures for Adult age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRrLsp16Completed as New join hist.HrAdultRrLsp16Completed as Old using (State) |
HrAdultRrLsp16CompletedGrowth | HR | Growth in HR-level count of completed LSP16 measures for Adult age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRrLsp16Completed as New join hist.HrAdultRrLsp16Completed as Old using (State) |
HrAdultRrLsp16CompletionRate | HR | HR-level completion rate of LSP16 measures for Adult age group in Residential setting after Review | select State, sd_div_safe(HrAdultRrLsp16Completed.Total, HrAdultRrCodCount.Total, 3) as Rate from HrAdultRrLsp16Completed join HrAdultRrCodCount using (State) |
HrAdultRrLsp16CompletionRateChange | HR | Change in HR-level completion rate of LSP16 measures for Adult age group in Residential setting after Review | select State, (New.Rate - Old.Rate) as Change from HrAdultRrLsp16CompletionRate as New join hist.HrAdultRrLsp16CompletionRate as Old using (State) |
HrAdultRrBasis32Count | HR | HR-level count of all BASIS32 measures for Adult age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRrBasis32CountChange | HR | Change in HR-level count of all BASIS32 measures for Adult age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRrBasis32Count as New join hist.HrAdultRrBasis32Count as Old using (State) |
HrAdultRrBasis32CountGrowth | HR | Growth in HR-level count of all BASIS32 measures for Adult age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRrBasis32Count as New join hist.HrAdultRrBasis32Count as Old using (State) |
HrAdultRrBasis32Completed | HR | HR-level count of completed BASIS32 measures for Adult age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRrBasis32CompletedChange | HR | Change in HR-level count of completed BASIS32 measures for Adult age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRrBasis32Completed as New join hist.HrAdultRrBasis32Completed as Old using (State) |
HrAdultRrBasis32CompletedGrowth | HR | Growth in HR-level count of completed BASIS32 measures for Adult age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRrBasis32Completed as New join hist.HrAdultRrBasis32Completed as Old using (State) |
HrAdultRrBasis32CompletionRate | HR | HR-level completion rate of BASIS32 measures for Adult age group in Residential setting after Review | select State, sd_div_safe(HrAdultRrBasis32Completed.Total, HrAdultRrCodCount.Total, 3) as Rate from HrAdultRrBasis32Completed join HrAdultRrCodCount using (State) |
HrAdultRrBasis32CompletionRateChange | HR | Change in HR-level completion rate of BASIS32 measures for Adult age group in Residential setting after Review | select State, (New.Rate - Old.Rate) as Change from HrAdultRrBasis32CompletionRate as New join hist.HrAdultRrBasis32CompletionRate as Old using (State) |
HrAdultRrK10l3dCount | HR | HR-level count of all K10L3D measures for Adult age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRrK10l3dCountChange | HR | Change in HR-level count of all K10L3D measures for Adult age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRrK10l3dCount as New join hist.HrAdultRrK10l3dCount as Old using (State) |
HrAdultRrK10l3dCountGrowth | HR | Growth in HR-level count of all K10L3D measures for Adult age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRrK10l3dCount as New join hist.HrAdultRrK10l3dCount as Old using (State) |
HrAdultRrK10l3dCompleted | HR | HR-level count of completed K10L3D measures for Adult age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRrK10l3dCompletedChange | HR | Change in HR-level count of completed K10L3D measures for Adult age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRrK10l3dCompleted as New join hist.HrAdultRrK10l3dCompleted as Old using (State) |
HrAdultRrK10l3dCompletedGrowth | HR | Growth in HR-level count of completed K10L3D measures for Adult age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRrK10l3dCompleted as New join hist.HrAdultRrK10l3dCompleted as Old using (State) |
HrAdultRrK10l3dCompletionRate | HR | HR-level completion rate of K10L3D measures for Adult age group in Residential setting after Review | select State, sd_div_safe(HrAdultRrK10l3dCompleted.Total, HrAdultRrCodCount.Total, 3) as Rate from HrAdultRrK10l3dCompleted join HrAdultRrCodCount using (State) |
HrAdultRrK10l3dCompletionRateChange | HR | Change in HR-level completion rate of K10L3D measures for Adult age group in Residential setting after Review | select State, (New.Rate - Old.Rate) as Change from HrAdultRrK10l3dCompletionRate as New join hist.HrAdultRrK10l3dCompletionRate as Old using (State) |
HrAdultRrK10lmCount | HR | HR-level count of all K10LM measures for Adult age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRrK10lmCountChange | HR | Change in HR-level count of all K10LM measures for Adult age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRrK10lmCount as New join hist.HrAdultRrK10lmCount as Old using (State) |
HrAdultRrK10lmCountGrowth | HR | Growth in HR-level count of all K10LM measures for Adult age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRrK10lmCount as New join hist.HrAdultRrK10lmCount as Old using (State) |
HrAdultRrK10lmCompleted | HR | HR-level count of completed K10LM measures for Adult age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRrK10lmCompletedChange | HR | Change in HR-level count of completed K10LM measures for Adult age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRrK10lmCompleted as New join hist.HrAdultRrK10lmCompleted as Old using (State) |
HrAdultRrK10lmCompletedGrowth | HR | Growth in HR-level count of completed K10LM measures for Adult age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRrK10lmCompleted as New join hist.HrAdultRrK10lmCompleted as Old using (State) |
HrAdultRrK10lmCompletionRate | HR | HR-level completion rate of K10LM measures for Adult age group in Residential setting after Review | select State, sd_div_safe(HrAdultRrK10lmCompleted.Total, HrAdultRrCodCount.Total, 3) as Rate from HrAdultRrK10lmCompleted join HrAdultRrCodCount using (State) |
HrAdultRrK10lmCompletionRateChange | HR | Change in HR-level completion rate of K10LM measures for Adult age group in Residential setting after Review | select State, (New.Rate - Old.Rate) as Change from HrAdultRrK10lmCompletionRate as New join hist.HrAdultRrK10lmCompletionRate as Old using (State) |
HrAdultRrMhi38Count | HR | HR-level count of all MHI38 measures for Adult age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRrMhi38CountChange | HR | Change in HR-level count of all MHI38 measures for Adult age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRrMhi38Count as New join hist.HrAdultRrMhi38Count as Old using (State) |
HrAdultRrMhi38CountGrowth | HR | Growth in HR-level count of all MHI38 measures for Adult age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRrMhi38Count as New join hist.HrAdultRrMhi38Count as Old using (State) |
HrAdultRrMhi38Completed | HR | HR-level count of completed MHI38 measures for Adult age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRrMhi38CompletedChange | HR | Change in HR-level count of completed MHI38 measures for Adult age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRrMhi38Completed as New join hist.HrAdultRrMhi38Completed as Old using (State) |
HrAdultRrMhi38CompletedGrowth | HR | Growth in HR-level count of completed MHI38 measures for Adult age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRrMhi38Completed as New join hist.HrAdultRrMhi38Completed as Old using (State) |
HrAdultRrMhi38CompletionRate | HR | HR-level completion rate of MHI38 measures for Adult age group in Residential setting after Review | select State, sd_div_safe(HrAdultRrMhi38Completed.Total, HrAdultRrCodCount.Total, 3) as Rate from HrAdultRrMhi38Completed join HrAdultRrCodCount using (State) |
HrAdultRrMhi38CompletionRateChange | HR | Change in HR-level completion rate of MHI38 measures for Adult age group in Residential setting after Review | select State, (New.Rate - Old.Rate) as Change from HrAdultRrMhi38CompletionRate as New join hist.HrAdultRrMhi38CompletionRate as Old using (State) |
HrAdultRrDiagCount | HR | HR-level count of all DIAG measures for Adult age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRrDiagCountChange | HR | Change in HR-level count of all DIAG measures for Adult age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRrDiagCount as New join hist.HrAdultRrDiagCount as Old using (State) |
HrAdultRrDiagCountGrowth | HR | Growth in HR-level count of all DIAG measures for Adult age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRrDiagCount as New join hist.HrAdultRrDiagCount as Old using (State) |
HrAdultRrDiagCompleted | HR | HR-level count of completed DIAG measures for Adult age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRrDiagCompletedChange | HR | Change in HR-level count of completed DIAG measures for Adult age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRrDiagCompleted as New join hist.HrAdultRrDiagCompleted as Old using (State) |
HrAdultRrDiagCompletedGrowth | HR | Growth in HR-level count of completed DIAG measures for Adult age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRrDiagCompleted as New join hist.HrAdultRrDiagCompleted as Old using (State) |
HrAdultRrDiagCompletionRate | HR | HR-level completion rate of DIAG measures for Adult age group in Residential setting after Review | select State, sd_div_safe(HrAdultRrDiagCompleted.Total, HrAdultRrCodCount.Total, 3) as Rate from HrAdultRrDiagCompleted join HrAdultRrCodCount using (State) |
HrAdultRrDiagCompletionRateChange | HR | Change in HR-level completion rate of DIAG measures for Adult age group in Residential setting after Review | select State, (New.Rate - Old.Rate) as Change from HrAdultRrDiagCompletionRate as New join hist.HrAdultRrDiagCompletionRate as Old using (State) |
HrAdultRrPocCount | HR | HR-level count of all POC measures for Adult age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRrPocCountChange | HR | Change in HR-level count of all POC measures for Adult age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRrPocCount as New join hist.HrAdultRrPocCount as Old using (State) |
HrAdultRrPocCountGrowth | HR | Growth in HR-level count of all POC measures for Adult age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRrPocCount as New join hist.HrAdultRrPocCount as Old using (State) |
HrAdultRrPocCompleted | HR | HR-level count of completed POC measures for Adult age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRrPocCompletedChange | HR | Change in HR-level count of completed POC measures for Adult age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRrPocCompleted as New join hist.HrAdultRrPocCompleted as Old using (State) |
HrAdultRrPocCompletedGrowth | HR | Growth in HR-level count of completed POC measures for Adult age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRrPocCompleted as New join hist.HrAdultRrPocCompleted as Old using (State) |
HrAdultRrPocCompletionRate | HR | HR-level completion rate of POC measures for Adult age group in Residential setting after Review | select State, sd_div_safe(HrAdultRrPocCompleted.Total, HrAdultRrCodCount.Total, 3) as Rate from HrAdultRrPocCompleted join HrAdultRrCodCount using (State) |
HrAdultRrPocCompletionRateChange | HR | Change in HR-level completion rate of POC measures for Adult age group in Residential setting after Review | select State, (New.Rate - Old.Rate) as Change from HrAdultRrPocCompletionRate as New join hist.HrAdultRrPocCompletionRate as Old using (State) |
HrAdultRrMhlsCount | HR | HR-level count of all MHLS measures for Adult age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRrMhlsCountChange | HR | Change in HR-level count of all MHLS measures for Adult age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRrMhlsCount as New join hist.HrAdultRrMhlsCount as Old using (State) |
HrAdultRrMhlsCountGrowth | HR | Growth in HR-level count of all MHLS measures for Adult age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRrMhlsCount as New join hist.HrAdultRrMhlsCount as Old using (State) |
HrAdultRrMhlsCompleted | HR | HR-level count of completed MHLS measures for Adult age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRrMhlsCompletedChange | HR | Change in HR-level count of completed MHLS measures for Adult age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRrMhlsCompleted as New join hist.HrAdultRrMhlsCompleted as Old using (State) |
HrAdultRrMhlsCompletedGrowth | HR | Growth in HR-level count of completed MHLS measures for Adult age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRrMhlsCompleted as New join hist.HrAdultRrMhlsCompleted as Old using (State) |
HrAdultRrMhlsCompletionRate | HR | HR-level completion rate of MHLS measures for Adult age group in Residential setting after Review | select State, sd_div_safe(HrAdultRrMhlsCompleted.Total, HrAdultRrCodCount.Total, 3) as Rate from HrAdultRrMhlsCompleted join HrAdultRrCodCount using (State) |
HrAdultRrMhlsCompletionRateChange | HR | Change in HR-level completion rate of MHLS measures for Adult age group in Residential setting after Review | select State, (New.Rate - Old.Rate) as Change from HrAdultRrMhlsCompletionRate as New join hist.HrAdultRrMhlsCompletionRate as Old using (State) |
HrAdultDrCodCount | HR | HR-level count of collection occasions for Adult age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD where Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDrHonosCount | HR | HR-level count of all HONOS measures for Adult age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDrHonosCountChange | HR | Change in HR-level count of all HONOS measures for Adult age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDrHonosCount as New join hist.HrAdultDrHonosCount as Old using (State) |
HrAdultDrHonosCountGrowth | HR | Growth in HR-level count of all HONOS measures for Adult age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDrHonosCount as New join hist.HrAdultDrHonosCount as Old using (State) |
HrAdultDrHonosCompleted | HR | HR-level count of completed HONOS measures for Adult age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDrHonosCompletedChange | HR | Change in HR-level count of completed HONOS measures for Adult age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDrHonosCompleted as New join hist.HrAdultDrHonosCompleted as Old using (State) |
HrAdultDrHonosCompletedGrowth | HR | Growth in HR-level count of completed HONOS measures for Adult age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDrHonosCompleted as New join hist.HrAdultDrHonosCompleted as Old using (State) |
HrAdultDrHonosCompletionRate | HR | HR-level completion rate of HONOS measures for Adult age group in Residential setting after Discharge | select State, sd_div_safe(HrAdultDrHonosCompleted.Total, HrAdultDrCodCount.Total, 3) as Rate from HrAdultDrHonosCompleted join HrAdultDrCodCount using (State) |
HrAdultDrHonosCompletionRateChange | HR | Change in HR-level completion rate of HONOS measures for Adult age group in Residential setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrAdultDrHonosCompletionRate as New join hist.HrAdultDrHonosCompletionRate as Old using (State) |
HrAdultDrLsp16Count | HR | HR-level count of all LSP16 measures for Adult age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Lsp16Completion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDrLsp16CountChange | HR | Change in HR-level count of all LSP16 measures for Adult age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDrLsp16Count as New join hist.HrAdultDrLsp16Count as Old using (State) |
HrAdultDrLsp16CountGrowth | HR | Growth in HR-level count of all LSP16 measures for Adult age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDrLsp16Count as New join hist.HrAdultDrLsp16Count as Old using (State) |
HrAdultDrLsp16Completed | HR | HR-level count of completed LSP16 measures for Adult age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Lsp16Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDrLsp16CompletedChange | HR | Change in HR-level count of completed LSP16 measures for Adult age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDrLsp16Completed as New join hist.HrAdultDrLsp16Completed as Old using (State) |
HrAdultDrLsp16CompletedGrowth | HR | Growth in HR-level count of completed LSP16 measures for Adult age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDrLsp16Completed as New join hist.HrAdultDrLsp16Completed as Old using (State) |
HrAdultDrLsp16CompletionRate | HR | HR-level completion rate of LSP16 measures for Adult age group in Residential setting after Discharge | select State, sd_div_safe(HrAdultDrLsp16Completed.Total, HrAdultDrCodCount.Total, 3) as Rate from HrAdultDrLsp16Completed join HrAdultDrCodCount using (State) |
HrAdultDrLsp16CompletionRateChange | HR | Change in HR-level completion rate of LSP16 measures for Adult age group in Residential setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrAdultDrLsp16CompletionRate as New join hist.HrAdultDrLsp16CompletionRate as Old using (State) |
HrAdultDrBasis32Count | HR | HR-level count of all BASIS32 measures for Adult age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDrBasis32CountChange | HR | Change in HR-level count of all BASIS32 measures for Adult age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDrBasis32Count as New join hist.HrAdultDrBasis32Count as Old using (State) |
HrAdultDrBasis32CountGrowth | HR | Growth in HR-level count of all BASIS32 measures for Adult age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDrBasis32Count as New join hist.HrAdultDrBasis32Count as Old using (State) |
HrAdultDrBasis32Completed | HR | HR-level count of completed BASIS32 measures for Adult age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDrBasis32CompletedChange | HR | Change in HR-level count of completed BASIS32 measures for Adult age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDrBasis32Completed as New join hist.HrAdultDrBasis32Completed as Old using (State) |
HrAdultDrBasis32CompletedGrowth | HR | Growth in HR-level count of completed BASIS32 measures for Adult age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDrBasis32Completed as New join hist.HrAdultDrBasis32Completed as Old using (State) |
HrAdultDrBasis32CompletionRate | HR | HR-level completion rate of BASIS32 measures for Adult age group in Residential setting after Discharge | select State, sd_div_safe(HrAdultDrBasis32Completed.Total, HrAdultDrCodCount.Total, 3) as Rate from HrAdultDrBasis32Completed join HrAdultDrCodCount using (State) |
HrAdultDrBasis32CompletionRateChange | HR | Change in HR-level completion rate of BASIS32 measures for Adult age group in Residential setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrAdultDrBasis32CompletionRate as New join hist.HrAdultDrBasis32CompletionRate as Old using (State) |
HrAdultDrK10l3dCount | HR | HR-level count of all K10L3D measures for Adult age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDrK10l3dCountChange | HR | Change in HR-level count of all K10L3D measures for Adult age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDrK10l3dCount as New join hist.HrAdultDrK10l3dCount as Old using (State) |
HrAdultDrK10l3dCountGrowth | HR | Growth in HR-level count of all K10L3D measures for Adult age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDrK10l3dCount as New join hist.HrAdultDrK10l3dCount as Old using (State) |
HrAdultDrK10l3dCompleted | HR | HR-level count of completed K10L3D measures for Adult age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDrK10l3dCompletedChange | HR | Change in HR-level count of completed K10L3D measures for Adult age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDrK10l3dCompleted as New join hist.HrAdultDrK10l3dCompleted as Old using (State) |
HrAdultDrK10l3dCompletedGrowth | HR | Growth in HR-level count of completed K10L3D measures for Adult age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDrK10l3dCompleted as New join hist.HrAdultDrK10l3dCompleted as Old using (State) |
HrAdultDrK10l3dCompletionRate | HR | HR-level completion rate of K10L3D measures for Adult age group in Residential setting after Discharge | select State, sd_div_safe(HrAdultDrK10l3dCompleted.Total, HrAdultDrCodCount.Total, 3) as Rate from HrAdultDrK10l3dCompleted join HrAdultDrCodCount using (State) |
HrAdultDrK10l3dCompletionRateChange | HR | Change in HR-level completion rate of K10L3D measures for Adult age group in Residential setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrAdultDrK10l3dCompletionRate as New join hist.HrAdultDrK10l3dCompletionRate as Old using (State) |
HrAdultDrK10lmCount | HR | HR-level count of all K10LM measures for Adult age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDrK10lmCountChange | HR | Change in HR-level count of all K10LM measures for Adult age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDrK10lmCount as New join hist.HrAdultDrK10lmCount as Old using (State) |
HrAdultDrK10lmCountGrowth | HR | Growth in HR-level count of all K10LM measures for Adult age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDrK10lmCount as New join hist.HrAdultDrK10lmCount as Old using (State) |
HrAdultDrK10lmCompleted | HR | HR-level count of completed K10LM measures for Adult age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDrK10lmCompletedChange | HR | Change in HR-level count of completed K10LM measures for Adult age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDrK10lmCompleted as New join hist.HrAdultDrK10lmCompleted as Old using (State) |
HrAdultDrK10lmCompletedGrowth | HR | Growth in HR-level count of completed K10LM measures for Adult age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDrK10lmCompleted as New join hist.HrAdultDrK10lmCompleted as Old using (State) |
HrAdultDrK10lmCompletionRate | HR | HR-level completion rate of K10LM measures for Adult age group in Residential setting after Discharge | select State, sd_div_safe(HrAdultDrK10lmCompleted.Total, HrAdultDrCodCount.Total, 3) as Rate from HrAdultDrK10lmCompleted join HrAdultDrCodCount using (State) |
HrAdultDrK10lmCompletionRateChange | HR | Change in HR-level completion rate of K10LM measures for Adult age group in Residential setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrAdultDrK10lmCompletionRate as New join hist.HrAdultDrK10lmCompletionRate as Old using (State) |
HrAdultDrMhi38Count | HR | HR-level count of all MHI38 measures for Adult age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDrMhi38CountChange | HR | Change in HR-level count of all MHI38 measures for Adult age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDrMhi38Count as New join hist.HrAdultDrMhi38Count as Old using (State) |
HrAdultDrMhi38CountGrowth | HR | Growth in HR-level count of all MHI38 measures for Adult age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDrMhi38Count as New join hist.HrAdultDrMhi38Count as Old using (State) |
HrAdultDrMhi38Completed | HR | HR-level count of completed MHI38 measures for Adult age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDrMhi38CompletedChange | HR | Change in HR-level count of completed MHI38 measures for Adult age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDrMhi38Completed as New join hist.HrAdultDrMhi38Completed as Old using (State) |
HrAdultDrMhi38CompletedGrowth | HR | Growth in HR-level count of completed MHI38 measures for Adult age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDrMhi38Completed as New join hist.HrAdultDrMhi38Completed as Old using (State) |
HrAdultDrMhi38CompletionRate | HR | HR-level completion rate of MHI38 measures for Adult age group in Residential setting after Discharge | select State, sd_div_safe(HrAdultDrMhi38Completed.Total, HrAdultDrCodCount.Total, 3) as Rate from HrAdultDrMhi38Completed join HrAdultDrCodCount using (State) |
HrAdultDrMhi38CompletionRateChange | HR | Change in HR-level completion rate of MHI38 measures for Adult age group in Residential setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrAdultDrMhi38CompletionRate as New join hist.HrAdultDrMhi38CompletionRate as Old using (State) |
HrAdultDrDiagCount | HR | HR-level count of all DIAG measures for Adult age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDrDiagCountChange | HR | Change in HR-level count of all DIAG measures for Adult age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDrDiagCount as New join hist.HrAdultDrDiagCount as Old using (State) |
HrAdultDrDiagCountGrowth | HR | Growth in HR-level count of all DIAG measures for Adult age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDrDiagCount as New join hist.HrAdultDrDiagCount as Old using (State) |
HrAdultDrDiagCompleted | HR | HR-level count of completed DIAG measures for Adult age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDrDiagCompletedChange | HR | Change in HR-level count of completed DIAG measures for Adult age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDrDiagCompleted as New join hist.HrAdultDrDiagCompleted as Old using (State) |
HrAdultDrDiagCompletedGrowth | HR | Growth in HR-level count of completed DIAG measures for Adult age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDrDiagCompleted as New join hist.HrAdultDrDiagCompleted as Old using (State) |
HrAdultDrDiagCompletionRate | HR | HR-level completion rate of DIAG measures for Adult age group in Residential setting after Discharge | select State, sd_div_safe(HrAdultDrDiagCompleted.Total, HrAdultDrCodCount.Total, 3) as Rate from HrAdultDrDiagCompleted join HrAdultDrCodCount using (State) |
HrAdultDrDiagCompletionRateChange | HR | Change in HR-level completion rate of DIAG measures for Adult age group in Residential setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrAdultDrDiagCompletionRate as New join hist.HrAdultDrDiagCompletionRate as Old using (State) |
HrAdultDrMhlsCount | HR | HR-level count of all MHLS measures for Adult age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDrMhlsCountChange | HR | Change in HR-level count of all MHLS measures for Adult age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDrMhlsCount as New join hist.HrAdultDrMhlsCount as Old using (State) |
HrAdultDrMhlsCountGrowth | HR | Growth in HR-level count of all MHLS measures for Adult age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDrMhlsCount as New join hist.HrAdultDrMhlsCount as Old using (State) |
HrAdultDrMhlsCompleted | HR | HR-level count of completed MHLS measures for Adult age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDrMhlsCompletedChange | HR | Change in HR-level count of completed MHLS measures for Adult age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDrMhlsCompleted as New join hist.HrAdultDrMhlsCompleted as Old using (State) |
HrAdultDrMhlsCompletedGrowth | HR | Growth in HR-level count of completed MHLS measures for Adult age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDrMhlsCompleted as New join hist.HrAdultDrMhlsCompleted as Old using (State) |
HrAdultDrMhlsCompletionRate | HR | HR-level completion rate of MHLS measures for Adult age group in Residential setting after Discharge | select State, sd_div_safe(HrAdultDrMhlsCompleted.Total, HrAdultDrCodCount.Total, 3) as Rate from HrAdultDrMhlsCompleted join HrAdultDrCodCount using (State) |
HrAdultDrMhlsCompletionRateChange | HR | Change in HR-level completion rate of MHLS measures for Adult age group in Residential setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrAdultDrMhlsCompletionRate as New join hist.HrAdultDrMhlsCompletionRate as Old using (State) |
HrAdultAaCodCount | HR | HR-level count of collection occasions for Adult age group in Ambulatory setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD where Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrAdultAaHonosCount | HR | HR-level count of all HONOS measures for Adult age group in Ambulatory setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrAdultAaHonosCountChange | HR | Change in HR-level count of all HONOS measures for Adult age group in Ambulatory setting after Admission | select State, (New.Total - Old.Total) as Change from HrAdultAaHonosCount as New join hist.HrAdultAaHonosCount as Old using (State) |
HrAdultAaHonosCountGrowth | HR | Growth in HR-level count of all HONOS measures for Adult age group in Ambulatory setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultAaHonosCount as New join hist.HrAdultAaHonosCount as Old using (State) |
HrAdultAaHonosCompleted | HR | HR-level count of completed HONOS measures for Adult age group in Ambulatory setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrAdultAaHonosCompletedChange | HR | Change in HR-level count of completed HONOS measures for Adult age group in Ambulatory setting after Admission | select State, (New.Total - Old.Total) as Change from HrAdultAaHonosCompleted as New join hist.HrAdultAaHonosCompleted as Old using (State) |
HrAdultAaHonosCompletedGrowth | HR | Growth in HR-level count of completed HONOS measures for Adult age group in Ambulatory setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultAaHonosCompleted as New join hist.HrAdultAaHonosCompleted as Old using (State) |
HrAdultAaHonosCompletionRate | HR | HR-level completion rate of HONOS measures for Adult age group in Ambulatory setting after Admission | select State, sd_div_safe(HrAdultAaHonosCompleted.Total, HrAdultAaCodCount.Total, 3) as Rate from HrAdultAaHonosCompleted join HrAdultAaCodCount using (State) |
HrAdultAaHonosCompletionRateChange | HR | Change in HR-level completion rate of HONOS measures for Adult age group in Ambulatory setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrAdultAaHonosCompletionRate as New join hist.HrAdultAaHonosCompletionRate as Old using (State) |
HrAdultAaBasis32Count | HR | HR-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrAdultAaBasis32CountChange | HR | Change in HR-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Admission | select State, (New.Total - Old.Total) as Change from HrAdultAaBasis32Count as New join hist.HrAdultAaBasis32Count as Old using (State) |
HrAdultAaBasis32CountGrowth | HR | Growth in HR-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultAaBasis32Count as New join hist.HrAdultAaBasis32Count as Old using (State) |
HrAdultAaBasis32Completed | HR | HR-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrAdultAaBasis32CompletedChange | HR | Change in HR-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Admission | select State, (New.Total - Old.Total) as Change from HrAdultAaBasis32Completed as New join hist.HrAdultAaBasis32Completed as Old using (State) |
HrAdultAaBasis32CompletedGrowth | HR | Growth in HR-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultAaBasis32Completed as New join hist.HrAdultAaBasis32Completed as Old using (State) |
HrAdultAaBasis32CompletionRate | HR | HR-level completion rate of BASIS32 measures for Adult age group in Ambulatory setting after Admission | select State, sd_div_safe(HrAdultAaBasis32Completed.Total, HrAdultAaCodCount.Total, 3) as Rate from HrAdultAaBasis32Completed join HrAdultAaCodCount using (State) |
HrAdultAaBasis32CompletionRateChange | HR | Change in HR-level completion rate of BASIS32 measures for Adult age group in Ambulatory setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrAdultAaBasis32CompletionRate as New join hist.HrAdultAaBasis32CompletionRate as Old using (State) |
HrAdultAaK10l3dCount | HR | HR-level count of all K10L3D measures for Adult age group in Ambulatory setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrAdultAaK10l3dCountChange | HR | Change in HR-level count of all K10L3D measures for Adult age group in Ambulatory setting after Admission | select State, (New.Total - Old.Total) as Change from HrAdultAaK10l3dCount as New join hist.HrAdultAaK10l3dCount as Old using (State) |
HrAdultAaK10l3dCountGrowth | HR | Growth in HR-level count of all K10L3D measures for Adult age group in Ambulatory setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultAaK10l3dCount as New join hist.HrAdultAaK10l3dCount as Old using (State) |
HrAdultAaK10l3dCompleted | HR | HR-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrAdultAaK10l3dCompletedChange | HR | Change in HR-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Admission | select State, (New.Total - Old.Total) as Change from HrAdultAaK10l3dCompleted as New join hist.HrAdultAaK10l3dCompleted as Old using (State) |
HrAdultAaK10l3dCompletedGrowth | HR | Growth in HR-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultAaK10l3dCompleted as New join hist.HrAdultAaK10l3dCompleted as Old using (State) |
HrAdultAaK10l3dCompletionRate | HR | HR-level completion rate of K10L3D measures for Adult age group in Ambulatory setting after Admission | select State, sd_div_safe(HrAdultAaK10l3dCompleted.Total, HrAdultAaCodCount.Total, 3) as Rate from HrAdultAaK10l3dCompleted join HrAdultAaCodCount using (State) |
HrAdultAaK10l3dCompletionRateChange | HR | Change in HR-level completion rate of K10L3D measures for Adult age group in Ambulatory setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrAdultAaK10l3dCompletionRate as New join hist.HrAdultAaK10l3dCompletionRate as Old using (State) |
HrAdultAaK10lmCount | HR | HR-level count of all K10LM measures for Adult age group in Ambulatory setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrAdultAaK10lmCountChange | HR | Change in HR-level count of all K10LM measures for Adult age group in Ambulatory setting after Admission | select State, (New.Total - Old.Total) as Change from HrAdultAaK10lmCount as New join hist.HrAdultAaK10lmCount as Old using (State) |
HrAdultAaK10lmCountGrowth | HR | Growth in HR-level count of all K10LM measures for Adult age group in Ambulatory setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultAaK10lmCount as New join hist.HrAdultAaK10lmCount as Old using (State) |
HrAdultAaK10lmCompleted | HR | HR-level count of completed K10LM measures for Adult age group in Ambulatory setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrAdultAaK10lmCompletedChange | HR | Change in HR-level count of completed K10LM measures for Adult age group in Ambulatory setting after Admission | select State, (New.Total - Old.Total) as Change from HrAdultAaK10lmCompleted as New join hist.HrAdultAaK10lmCompleted as Old using (State) |
HrAdultAaK10lmCompletedGrowth | HR | Growth in HR-level count of completed K10LM measures for Adult age group in Ambulatory setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultAaK10lmCompleted as New join hist.HrAdultAaK10lmCompleted as Old using (State) |
HrAdultAaK10lmCompletionRate | HR | HR-level completion rate of K10LM measures for Adult age group in Ambulatory setting after Admission | select State, sd_div_safe(HrAdultAaK10lmCompleted.Total, HrAdultAaCodCount.Total, 3) as Rate from HrAdultAaK10lmCompleted join HrAdultAaCodCount using (State) |
HrAdultAaK10lmCompletionRateChange | HR | Change in HR-level completion rate of K10LM measures for Adult age group in Ambulatory setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrAdultAaK10lmCompletionRate as New join hist.HrAdultAaK10lmCompletionRate as Old using (State) |
HrAdultAaMhi38Count | HR | HR-level count of all MHI38 measures for Adult age group in Ambulatory setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrAdultAaMhi38CountChange | HR | Change in HR-level count of all MHI38 measures for Adult age group in Ambulatory setting after Admission | select State, (New.Total - Old.Total) as Change from HrAdultAaMhi38Count as New join hist.HrAdultAaMhi38Count as Old using (State) |
HrAdultAaMhi38CountGrowth | HR | Growth in HR-level count of all MHI38 measures for Adult age group in Ambulatory setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultAaMhi38Count as New join hist.HrAdultAaMhi38Count as Old using (State) |
HrAdultAaMhi38Completed | HR | HR-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrAdultAaMhi38CompletedChange | HR | Change in HR-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Admission | select State, (New.Total - Old.Total) as Change from HrAdultAaMhi38Completed as New join hist.HrAdultAaMhi38Completed as Old using (State) |
HrAdultAaMhi38CompletedGrowth | HR | Growth in HR-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultAaMhi38Completed as New join hist.HrAdultAaMhi38Completed as Old using (State) |
HrAdultAaMhi38CompletionRate | HR | HR-level completion rate of MHI38 measures for Adult age group in Ambulatory setting after Admission | select State, sd_div_safe(HrAdultAaMhi38Completed.Total, HrAdultAaCodCount.Total, 3) as Rate from HrAdultAaMhi38Completed join HrAdultAaCodCount using (State) |
HrAdultAaMhi38CompletionRateChange | HR | Change in HR-level completion rate of MHI38 measures for Adult age group in Ambulatory setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrAdultAaMhi38CompletionRate as New join hist.HrAdultAaMhi38CompletionRate as Old using (State) |
HrAdultAaPocCount | HR | HR-level count of all POC measures for Adult age group in Ambulatory setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrAdultAaPocCountChange | HR | Change in HR-level count of all POC measures for Adult age group in Ambulatory setting after Admission | select State, (New.Total - Old.Total) as Change from HrAdultAaPocCount as New join hist.HrAdultAaPocCount as Old using (State) |
HrAdultAaPocCountGrowth | HR | Growth in HR-level count of all POC measures for Adult age group in Ambulatory setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultAaPocCount as New join hist.HrAdultAaPocCount as Old using (State) |
HrAdultAaPocCompleted | HR | HR-level count of completed POC measures for Adult age group in Ambulatory setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrAdultAaPocCompletedChange | HR | Change in HR-level count of completed POC measures for Adult age group in Ambulatory setting after Admission | select State, (New.Total - Old.Total) as Change from HrAdultAaPocCompleted as New join hist.HrAdultAaPocCompleted as Old using (State) |
HrAdultAaPocCompletedGrowth | HR | Growth in HR-level count of completed POC measures for Adult age group in Ambulatory setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultAaPocCompleted as New join hist.HrAdultAaPocCompleted as Old using (State) |
HrAdultAaPocCompletionRate | HR | HR-level completion rate of POC measures for Adult age group in Ambulatory setting after Admission | select State, sd_div_safe(HrAdultAaPocCompleted.Total, HrAdultAaCodCount.Total, 3) as Rate from HrAdultAaPocCompleted join HrAdultAaCodCount using (State) |
HrAdultAaPocCompletionRateChange | HR | Change in HR-level completion rate of POC measures for Adult age group in Ambulatory setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrAdultAaPocCompletionRate as New join hist.HrAdultAaPocCompletionRate as Old using (State) |
HrAdultRaCodCount | HR | HR-level count of collection occasions for Adult age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD where Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRaHonosCount | HR | HR-level count of all HONOS measures for Adult age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRaHonosCountChange | HR | Change in HR-level count of all HONOS measures for Adult age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRaHonosCount as New join hist.HrAdultRaHonosCount as Old using (State) |
HrAdultRaHonosCountGrowth | HR | Growth in HR-level count of all HONOS measures for Adult age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRaHonosCount as New join hist.HrAdultRaHonosCount as Old using (State) |
HrAdultRaHonosCompleted | HR | HR-level count of completed HONOS measures for Adult age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRaHonosCompletedChange | HR | Change in HR-level count of completed HONOS measures for Adult age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRaHonosCompleted as New join hist.HrAdultRaHonosCompleted as Old using (State) |
HrAdultRaHonosCompletedGrowth | HR | Growth in HR-level count of completed HONOS measures for Adult age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRaHonosCompleted as New join hist.HrAdultRaHonosCompleted as Old using (State) |
HrAdultRaHonosCompletionRate | HR | HR-level completion rate of HONOS measures for Adult age group in Ambulatory setting after Review | select State, sd_div_safe(HrAdultRaHonosCompleted.Total, HrAdultRaCodCount.Total, 3) as Rate from HrAdultRaHonosCompleted join HrAdultRaCodCount using (State) |
HrAdultRaHonosCompletionRateChange | HR | Change in HR-level completion rate of HONOS measures for Adult age group in Ambulatory setting after Review | select State, (New.Rate - Old.Rate) as Change from HrAdultRaHonosCompletionRate as New join hist.HrAdultRaHonosCompletionRate as Old using (State) |
HrAdultRaLsp16Count | HR | HR-level count of all LSP16 measures for Adult age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Lsp16Completion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRaLsp16CountChange | HR | Change in HR-level count of all LSP16 measures for Adult age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRaLsp16Count as New join hist.HrAdultRaLsp16Count as Old using (State) |
HrAdultRaLsp16CountGrowth | HR | Growth in HR-level count of all LSP16 measures for Adult age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRaLsp16Count as New join hist.HrAdultRaLsp16Count as Old using (State) |
HrAdultRaLsp16Completed | HR | HR-level count of completed LSP16 measures for Adult age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Lsp16Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRaLsp16CompletedChange | HR | Change in HR-level count of completed LSP16 measures for Adult age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRaLsp16Completed as New join hist.HrAdultRaLsp16Completed as Old using (State) |
HrAdultRaLsp16CompletedGrowth | HR | Growth in HR-level count of completed LSP16 measures for Adult age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRaLsp16Completed as New join hist.HrAdultRaLsp16Completed as Old using (State) |
HrAdultRaLsp16CompletionRate | HR | HR-level completion rate of LSP16 measures for Adult age group in Ambulatory setting after Review | select State, sd_div_safe(HrAdultRaLsp16Completed.Total, HrAdultRaCodCount.Total, 3) as Rate from HrAdultRaLsp16Completed join HrAdultRaCodCount using (State) |
HrAdultRaLsp16CompletionRateChange | HR | Change in HR-level completion rate of LSP16 measures for Adult age group in Ambulatory setting after Review | select State, (New.Rate - Old.Rate) as Change from HrAdultRaLsp16CompletionRate as New join hist.HrAdultRaLsp16CompletionRate as Old using (State) |
HrAdultRaBasis32Count | HR | HR-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRaBasis32CountChange | HR | Change in HR-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRaBasis32Count as New join hist.HrAdultRaBasis32Count as Old using (State) |
HrAdultRaBasis32CountGrowth | HR | Growth in HR-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRaBasis32Count as New join hist.HrAdultRaBasis32Count as Old using (State) |
HrAdultRaBasis32Completed | HR | HR-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRaBasis32CompletedChange | HR | Change in HR-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRaBasis32Completed as New join hist.HrAdultRaBasis32Completed as Old using (State) |
HrAdultRaBasis32CompletedGrowth | HR | Growth in HR-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRaBasis32Completed as New join hist.HrAdultRaBasis32Completed as Old using (State) |
HrAdultRaBasis32CompletionRate | HR | HR-level completion rate of BASIS32 measures for Adult age group in Ambulatory setting after Review | select State, sd_div_safe(HrAdultRaBasis32Completed.Total, HrAdultRaCodCount.Total, 3) as Rate from HrAdultRaBasis32Completed join HrAdultRaCodCount using (State) |
HrAdultRaBasis32CompletionRateChange | HR | Change in HR-level completion rate of BASIS32 measures for Adult age group in Ambulatory setting after Review | select State, (New.Rate - Old.Rate) as Change from HrAdultRaBasis32CompletionRate as New join hist.HrAdultRaBasis32CompletionRate as Old using (State) |
HrAdultRaK10l3dCount | HR | HR-level count of all K10L3D measures for Adult age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRaK10l3dCountChange | HR | Change in HR-level count of all K10L3D measures for Adult age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRaK10l3dCount as New join hist.HrAdultRaK10l3dCount as Old using (State) |
HrAdultRaK10l3dCountGrowth | HR | Growth in HR-level count of all K10L3D measures for Adult age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRaK10l3dCount as New join hist.HrAdultRaK10l3dCount as Old using (State) |
HrAdultRaK10l3dCompleted | HR | HR-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRaK10l3dCompletedChange | HR | Change in HR-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRaK10l3dCompleted as New join hist.HrAdultRaK10l3dCompleted as Old using (State) |
HrAdultRaK10l3dCompletedGrowth | HR | Growth in HR-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRaK10l3dCompleted as New join hist.HrAdultRaK10l3dCompleted as Old using (State) |
HrAdultRaK10l3dCompletionRate | HR | HR-level completion rate of K10L3D measures for Adult age group in Ambulatory setting after Review | select State, sd_div_safe(HrAdultRaK10l3dCompleted.Total, HrAdultRaCodCount.Total, 3) as Rate from HrAdultRaK10l3dCompleted join HrAdultRaCodCount using (State) |
HrAdultRaK10l3dCompletionRateChange | HR | Change in HR-level completion rate of K10L3D measures for Adult age group in Ambulatory setting after Review | select State, (New.Rate - Old.Rate) as Change from HrAdultRaK10l3dCompletionRate as New join hist.HrAdultRaK10l3dCompletionRate as Old using (State) |
HrAdultRaK10lmCount | HR | HR-level count of all K10LM measures for Adult age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRaK10lmCountChange | HR | Change in HR-level count of all K10LM measures for Adult age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRaK10lmCount as New join hist.HrAdultRaK10lmCount as Old using (State) |
HrAdultRaK10lmCountGrowth | HR | Growth in HR-level count of all K10LM measures for Adult age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRaK10lmCount as New join hist.HrAdultRaK10lmCount as Old using (State) |
HrAdultRaK10lmCompleted | HR | HR-level count of completed K10LM measures for Adult age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRaK10lmCompletedChange | HR | Change in HR-level count of completed K10LM measures for Adult age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRaK10lmCompleted as New join hist.HrAdultRaK10lmCompleted as Old using (State) |
HrAdultRaK10lmCompletedGrowth | HR | Growth in HR-level count of completed K10LM measures for Adult age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRaK10lmCompleted as New join hist.HrAdultRaK10lmCompleted as Old using (State) |
HrAdultRaK10lmCompletionRate | HR | HR-level completion rate of K10LM measures for Adult age group in Ambulatory setting after Review | select State, sd_div_safe(HrAdultRaK10lmCompleted.Total, HrAdultRaCodCount.Total, 3) as Rate from HrAdultRaK10lmCompleted join HrAdultRaCodCount using (State) |
HrAdultRaK10lmCompletionRateChange | HR | Change in HR-level completion rate of K10LM measures for Adult age group in Ambulatory setting after Review | select State, (New.Rate - Old.Rate) as Change from HrAdultRaK10lmCompletionRate as New join hist.HrAdultRaK10lmCompletionRate as Old using (State) |
HrAdultRaMhi38Count | HR | HR-level count of all MHI38 measures for Adult age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRaMhi38CountChange | HR | Change in HR-level count of all MHI38 measures for Adult age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRaMhi38Count as New join hist.HrAdultRaMhi38Count as Old using (State) |
HrAdultRaMhi38CountGrowth | HR | Growth in HR-level count of all MHI38 measures for Adult age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRaMhi38Count as New join hist.HrAdultRaMhi38Count as Old using (State) |
HrAdultRaMhi38Completed | HR | HR-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRaMhi38CompletedChange | HR | Change in HR-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRaMhi38Completed as New join hist.HrAdultRaMhi38Completed as Old using (State) |
HrAdultRaMhi38CompletedGrowth | HR | Growth in HR-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRaMhi38Completed as New join hist.HrAdultRaMhi38Completed as Old using (State) |
HrAdultRaMhi38CompletionRate | HR | HR-level completion rate of MHI38 measures for Adult age group in Ambulatory setting after Review | select State, sd_div_safe(HrAdultRaMhi38Completed.Total, HrAdultRaCodCount.Total, 3) as Rate from HrAdultRaMhi38Completed join HrAdultRaCodCount using (State) |
HrAdultRaMhi38CompletionRateChange | HR | Change in HR-level completion rate of MHI38 measures for Adult age group in Ambulatory setting after Review | select State, (New.Rate - Old.Rate) as Change from HrAdultRaMhi38CompletionRate as New join hist.HrAdultRaMhi38CompletionRate as Old using (State) |
HrAdultRaDiagCount | HR | HR-level count of all DIAG measures for Adult age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRaDiagCountChange | HR | Change in HR-level count of all DIAG measures for Adult age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRaDiagCount as New join hist.HrAdultRaDiagCount as Old using (State) |
HrAdultRaDiagCountGrowth | HR | Growth in HR-level count of all DIAG measures for Adult age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRaDiagCount as New join hist.HrAdultRaDiagCount as Old using (State) |
HrAdultRaDiagCompleted | HR | HR-level count of completed DIAG measures for Adult age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRaDiagCompletedChange | HR | Change in HR-level count of completed DIAG measures for Adult age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRaDiagCompleted as New join hist.HrAdultRaDiagCompleted as Old using (State) |
HrAdultRaDiagCompletedGrowth | HR | Growth in HR-level count of completed DIAG measures for Adult age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRaDiagCompleted as New join hist.HrAdultRaDiagCompleted as Old using (State) |
HrAdultRaDiagCompletionRate | HR | HR-level completion rate of DIAG measures for Adult age group in Ambulatory setting after Review | select State, sd_div_safe(HrAdultRaDiagCompleted.Total, HrAdultRaCodCount.Total, 3) as Rate from HrAdultRaDiagCompleted join HrAdultRaCodCount using (State) |
HrAdultRaDiagCompletionRateChange | HR | Change in HR-level completion rate of DIAG measures for Adult age group in Ambulatory setting after Review | select State, (New.Rate - Old.Rate) as Change from HrAdultRaDiagCompletionRate as New join hist.HrAdultRaDiagCompletionRate as Old using (State) |
HrAdultRaPocCount | HR | HR-level count of all POC measures for Adult age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRaPocCountChange | HR | Change in HR-level count of all POC measures for Adult age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRaPocCount as New join hist.HrAdultRaPocCount as Old using (State) |
HrAdultRaPocCountGrowth | HR | Growth in HR-level count of all POC measures for Adult age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRaPocCount as New join hist.HrAdultRaPocCount as Old using (State) |
HrAdultRaPocCompleted | HR | HR-level count of completed POC measures for Adult age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRaPocCompletedChange | HR | Change in HR-level count of completed POC measures for Adult age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRaPocCompleted as New join hist.HrAdultRaPocCompleted as Old using (State) |
HrAdultRaPocCompletedGrowth | HR | Growth in HR-level count of completed POC measures for Adult age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRaPocCompleted as New join hist.HrAdultRaPocCompleted as Old using (State) |
HrAdultRaPocCompletionRate | HR | HR-level completion rate of POC measures for Adult age group in Ambulatory setting after Review | select State, sd_div_safe(HrAdultRaPocCompleted.Total, HrAdultRaCodCount.Total, 3) as Rate from HrAdultRaPocCompleted join HrAdultRaCodCount using (State) |
HrAdultRaPocCompletionRateChange | HR | Change in HR-level completion rate of POC measures for Adult age group in Ambulatory setting after Review | select State, (New.Rate - Old.Rate) as Change from HrAdultRaPocCompletionRate as New join hist.HrAdultRaPocCompletionRate as Old using (State) |
HrAdultRaMhlsCount | HR | HR-level count of all MHLS measures for Adult age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRaMhlsCountChange | HR | Change in HR-level count of all MHLS measures for Adult age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRaMhlsCount as New join hist.HrAdultRaMhlsCount as Old using (State) |
HrAdultRaMhlsCountGrowth | HR | Growth in HR-level count of all MHLS measures for Adult age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRaMhlsCount as New join hist.HrAdultRaMhlsCount as Old using (State) |
HrAdultRaMhlsCompleted | HR | HR-level count of completed MHLS measures for Adult age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrAdultRaMhlsCompletedChange | HR | Change in HR-level count of completed MHLS measures for Adult age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrAdultRaMhlsCompleted as New join hist.HrAdultRaMhlsCompleted as Old using (State) |
HrAdultRaMhlsCompletedGrowth | HR | Growth in HR-level count of completed MHLS measures for Adult age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultRaMhlsCompleted as New join hist.HrAdultRaMhlsCompleted as Old using (State) |
HrAdultRaMhlsCompletionRate | HR | HR-level completion rate of MHLS measures for Adult age group in Ambulatory setting after Review | select State, sd_div_safe(HrAdultRaMhlsCompleted.Total, HrAdultRaCodCount.Total, 3) as Rate from HrAdultRaMhlsCompleted join HrAdultRaCodCount using (State) |
HrAdultRaMhlsCompletionRateChange | HR | Change in HR-level completion rate of MHLS measures for Adult age group in Ambulatory setting after Review | select State, (New.Rate - Old.Rate) as Change from HrAdultRaMhlsCompletionRate as New join hist.HrAdultRaMhlsCompletionRate as Old using (State) |
HrAdultDaCodCount | HR | HR-level count of collection occasions for Adult age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD where Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDaHonosCount | HR | HR-level count of all HONOS measures for Adult age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDaHonosCountChange | HR | Change in HR-level count of all HONOS measures for Adult age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDaHonosCount as New join hist.HrAdultDaHonosCount as Old using (State) |
HrAdultDaHonosCountGrowth | HR | Growth in HR-level count of all HONOS measures for Adult age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDaHonosCount as New join hist.HrAdultDaHonosCount as Old using (State) |
HrAdultDaHonosCompleted | HR | HR-level count of completed HONOS measures for Adult age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDaHonosCompletedChange | HR | Change in HR-level count of completed HONOS measures for Adult age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDaHonosCompleted as New join hist.HrAdultDaHonosCompleted as Old using (State) |
HrAdultDaHonosCompletedGrowth | HR | Growth in HR-level count of completed HONOS measures for Adult age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDaHonosCompleted as New join hist.HrAdultDaHonosCompleted as Old using (State) |
HrAdultDaHonosCompletionRate | HR | HR-level completion rate of HONOS measures for Adult age group in Ambulatory setting after Discharge | select State, sd_div_safe(HrAdultDaHonosCompleted.Total, HrAdultDaCodCount.Total, 3) as Rate from HrAdultDaHonosCompleted join HrAdultDaCodCount using (State) |
HrAdultDaHonosCompletionRateChange | HR | Change in HR-level completion rate of HONOS measures for Adult age group in Ambulatory setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrAdultDaHonosCompletionRate as New join hist.HrAdultDaHonosCompletionRate as Old using (State) |
HrAdultDaLsp16Count | HR | HR-level count of all LSP16 measures for Adult age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Lsp16Completion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDaLsp16CountChange | HR | Change in HR-level count of all LSP16 measures for Adult age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDaLsp16Count as New join hist.HrAdultDaLsp16Count as Old using (State) |
HrAdultDaLsp16CountGrowth | HR | Growth in HR-level count of all LSP16 measures for Adult age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDaLsp16Count as New join hist.HrAdultDaLsp16Count as Old using (State) |
HrAdultDaLsp16Completed | HR | HR-level count of completed LSP16 measures for Adult age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Lsp16Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDaLsp16CompletedChange | HR | Change in HR-level count of completed LSP16 measures for Adult age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDaLsp16Completed as New join hist.HrAdultDaLsp16Completed as Old using (State) |
HrAdultDaLsp16CompletedGrowth | HR | Growth in HR-level count of completed LSP16 measures for Adult age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDaLsp16Completed as New join hist.HrAdultDaLsp16Completed as Old using (State) |
HrAdultDaLsp16CompletionRate | HR | HR-level completion rate of LSP16 measures for Adult age group in Ambulatory setting after Discharge | select State, sd_div_safe(HrAdultDaLsp16Completed.Total, HrAdultDaCodCount.Total, 3) as Rate from HrAdultDaLsp16Completed join HrAdultDaCodCount using (State) |
HrAdultDaLsp16CompletionRateChange | HR | Change in HR-level completion rate of LSP16 measures for Adult age group in Ambulatory setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrAdultDaLsp16CompletionRate as New join hist.HrAdultDaLsp16CompletionRate as Old using (State) |
HrAdultDaBasis32Count | HR | HR-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDaBasis32CountChange | HR | Change in HR-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDaBasis32Count as New join hist.HrAdultDaBasis32Count as Old using (State) |
HrAdultDaBasis32CountGrowth | HR | Growth in HR-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDaBasis32Count as New join hist.HrAdultDaBasis32Count as Old using (State) |
HrAdultDaBasis32Completed | HR | HR-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDaBasis32CompletedChange | HR | Change in HR-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDaBasis32Completed as New join hist.HrAdultDaBasis32Completed as Old using (State) |
HrAdultDaBasis32CompletedGrowth | HR | Growth in HR-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDaBasis32Completed as New join hist.HrAdultDaBasis32Completed as Old using (State) |
HrAdultDaBasis32CompletionRate | HR | HR-level completion rate of BASIS32 measures for Adult age group in Ambulatory setting after Discharge | select State, sd_div_safe(HrAdultDaBasis32Completed.Total, HrAdultDaCodCount.Total, 3) as Rate from HrAdultDaBasis32Completed join HrAdultDaCodCount using (State) |
HrAdultDaBasis32CompletionRateChange | HR | Change in HR-level completion rate of BASIS32 measures for Adult age group in Ambulatory setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrAdultDaBasis32CompletionRate as New join hist.HrAdultDaBasis32CompletionRate as Old using (State) |
HrAdultDaK10l3dCount | HR | HR-level count of all K10L3D measures for Adult age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDaK10l3dCountChange | HR | Change in HR-level count of all K10L3D measures for Adult age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDaK10l3dCount as New join hist.HrAdultDaK10l3dCount as Old using (State) |
HrAdultDaK10l3dCountGrowth | HR | Growth in HR-level count of all K10L3D measures for Adult age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDaK10l3dCount as New join hist.HrAdultDaK10l3dCount as Old using (State) |
HrAdultDaK10l3dCompleted | HR | HR-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDaK10l3dCompletedChange | HR | Change in HR-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDaK10l3dCompleted as New join hist.HrAdultDaK10l3dCompleted as Old using (State) |
HrAdultDaK10l3dCompletedGrowth | HR | Growth in HR-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDaK10l3dCompleted as New join hist.HrAdultDaK10l3dCompleted as Old using (State) |
HrAdultDaK10l3dCompletionRate | HR | HR-level completion rate of K10L3D measures for Adult age group in Ambulatory setting after Discharge | select State, sd_div_safe(HrAdultDaK10l3dCompleted.Total, HrAdultDaCodCount.Total, 3) as Rate from HrAdultDaK10l3dCompleted join HrAdultDaCodCount using (State) |
HrAdultDaK10l3dCompletionRateChange | HR | Change in HR-level completion rate of K10L3D measures for Adult age group in Ambulatory setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrAdultDaK10l3dCompletionRate as New join hist.HrAdultDaK10l3dCompletionRate as Old using (State) |
HrAdultDaK10lmCount | HR | HR-level count of all K10LM measures for Adult age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDaK10lmCountChange | HR | Change in HR-level count of all K10LM measures for Adult age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDaK10lmCount as New join hist.HrAdultDaK10lmCount as Old using (State) |
HrAdultDaK10lmCountGrowth | HR | Growth in HR-level count of all K10LM measures for Adult age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDaK10lmCount as New join hist.HrAdultDaK10lmCount as Old using (State) |
HrAdultDaK10lmCompleted | HR | HR-level count of completed K10LM measures for Adult age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDaK10lmCompletedChange | HR | Change in HR-level count of completed K10LM measures for Adult age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDaK10lmCompleted as New join hist.HrAdultDaK10lmCompleted as Old using (State) |
HrAdultDaK10lmCompletedGrowth | HR | Growth in HR-level count of completed K10LM measures for Adult age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDaK10lmCompleted as New join hist.HrAdultDaK10lmCompleted as Old using (State) |
HrAdultDaK10lmCompletionRate | HR | HR-level completion rate of K10LM measures for Adult age group in Ambulatory setting after Discharge | select State, sd_div_safe(HrAdultDaK10lmCompleted.Total, HrAdultDaCodCount.Total, 3) as Rate from HrAdultDaK10lmCompleted join HrAdultDaCodCount using (State) |
HrAdultDaK10lmCompletionRateChange | HR | Change in HR-level completion rate of K10LM measures for Adult age group in Ambulatory setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrAdultDaK10lmCompletionRate as New join hist.HrAdultDaK10lmCompletionRate as Old using (State) |
HrAdultDaMhi38Count | HR | HR-level count of all MHI38 measures for Adult age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDaMhi38CountChange | HR | Change in HR-level count of all MHI38 measures for Adult age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDaMhi38Count as New join hist.HrAdultDaMhi38Count as Old using (State) |
HrAdultDaMhi38CountGrowth | HR | Growth in HR-level count of all MHI38 measures for Adult age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDaMhi38Count as New join hist.HrAdultDaMhi38Count as Old using (State) |
HrAdultDaMhi38Completed | HR | HR-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDaMhi38CompletedChange | HR | Change in HR-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDaMhi38Completed as New join hist.HrAdultDaMhi38Completed as Old using (State) |
HrAdultDaMhi38CompletedGrowth | HR | Growth in HR-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDaMhi38Completed as New join hist.HrAdultDaMhi38Completed as Old using (State) |
HrAdultDaMhi38CompletionRate | HR | HR-level completion rate of MHI38 measures for Adult age group in Ambulatory setting after Discharge | select State, sd_div_safe(HrAdultDaMhi38Completed.Total, HrAdultDaCodCount.Total, 3) as Rate from HrAdultDaMhi38Completed join HrAdultDaCodCount using (State) |
HrAdultDaMhi38CompletionRateChange | HR | Change in HR-level completion rate of MHI38 measures for Adult age group in Ambulatory setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrAdultDaMhi38CompletionRate as New join hist.HrAdultDaMhi38CompletionRate as Old using (State) |
HrAdultDaDiagCount | HR | HR-level count of all DIAG measures for Adult age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDaDiagCountChange | HR | Change in HR-level count of all DIAG measures for Adult age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDaDiagCount as New join hist.HrAdultDaDiagCount as Old using (State) |
HrAdultDaDiagCountGrowth | HR | Growth in HR-level count of all DIAG measures for Adult age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDaDiagCount as New join hist.HrAdultDaDiagCount as Old using (State) |
HrAdultDaDiagCompleted | HR | HR-level count of completed DIAG measures for Adult age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDaDiagCompletedChange | HR | Change in HR-level count of completed DIAG measures for Adult age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDaDiagCompleted as New join hist.HrAdultDaDiagCompleted as Old using (State) |
HrAdultDaDiagCompletedGrowth | HR | Growth in HR-level count of completed DIAG measures for Adult age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDaDiagCompleted as New join hist.HrAdultDaDiagCompleted as Old using (State) |
HrAdultDaDiagCompletionRate | HR | HR-level completion rate of DIAG measures for Adult age group in Ambulatory setting after Discharge | select State, sd_div_safe(HrAdultDaDiagCompleted.Total, HrAdultDaCodCount.Total, 3) as Rate from HrAdultDaDiagCompleted join HrAdultDaCodCount using (State) |
HrAdultDaDiagCompletionRateChange | HR | Change in HR-level completion rate of DIAG measures for Adult age group in Ambulatory setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrAdultDaDiagCompletionRate as New join hist.HrAdultDaDiagCompletionRate as Old using (State) |
HrAdultDaMhlsCount | HR | HR-level count of all MHLS measures for Adult age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDaMhlsCountChange | HR | Change in HR-level count of all MHLS measures for Adult age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDaMhlsCount as New join hist.HrAdultDaMhlsCount as Old using (State) |
HrAdultDaMhlsCountGrowth | HR | Growth in HR-level count of all MHLS measures for Adult age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDaMhlsCount as New join hist.HrAdultDaMhlsCount as Old using (State) |
HrAdultDaMhlsCompleted | HR | HR-level count of completed MHLS measures for Adult age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrAdultDaMhlsCompletedChange | HR | Change in HR-level count of completed MHLS measures for Adult age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrAdultDaMhlsCompleted as New join hist.HrAdultDaMhlsCompleted as Old using (State) |
HrAdultDaMhlsCompletedGrowth | HR | Growth in HR-level count of completed MHLS measures for Adult age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrAdultDaMhlsCompleted as New join hist.HrAdultDaMhlsCompleted as Old using (State) |
HrAdultDaMhlsCompletionRate | HR | HR-level completion rate of MHLS measures for Adult age group in Ambulatory setting after Discharge | select State, sd_div_safe(HrAdultDaMhlsCompleted.Total, HrAdultDaCodCount.Total, 3) as Rate from HrAdultDaMhlsCompleted join HrAdultDaCodCount using (State) |
HrAdultDaMhlsCompletionRateChange | HR | Change in HR-level completion rate of MHLS measures for Adult age group in Ambulatory setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrAdultDaMhlsCompletionRate as New join hist.HrAdultDaMhlsCompletionRate as Old using (State) |
HrOlderAiCodCount | HR | HR-level count of collection occasions for Older age group in Inpatient setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD where Setting = '1' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrOlderAiHonosCount | HR | HR-level count of all HONOS measures for Older age group in Inpatient setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '1' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrOlderAiHonosCountChange | HR | Change in HR-level count of all HONOS measures for Older age group in Inpatient setting after Admission | select State, (New.Total - Old.Total) as Change from HrOlderAiHonosCount as New join hist.HrOlderAiHonosCount as Old using (State) |
HrOlderAiHonosCountGrowth | HR | Growth in HR-level count of all HONOS measures for Older age group in Inpatient setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderAiHonosCount as New join hist.HrOlderAiHonosCount as Old using (State) |
HrOlderAiHonosCompleted | HR | HR-level count of completed HONOS measures for Older age group in Inpatient setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrOlderAiHonosCompletedChange | HR | Change in HR-level count of completed HONOS measures for Older age group in Inpatient setting after Admission | select State, (New.Total - Old.Total) as Change from HrOlderAiHonosCompleted as New join hist.HrOlderAiHonosCompleted as Old using (State) |
HrOlderAiHonosCompletedGrowth | HR | Growth in HR-level count of completed HONOS measures for Older age group in Inpatient setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderAiHonosCompleted as New join hist.HrOlderAiHonosCompleted as Old using (State) |
HrOlderAiHonosCompletionRate | HR | HR-level completion rate of HONOS measures for Older age group in Inpatient setting after Admission | select State, sd_div_safe(HrOlderAiHonosCompleted.Total, HrOlderAiCodCount.Total, 3) as Rate from HrOlderAiHonosCompleted join HrOlderAiCodCount using (State) |
HrOlderAiHonosCompletionRateChange | HR | Change in HR-level completion rate of HONOS measures for Older age group in Inpatient setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrOlderAiHonosCompletionRate as New join hist.HrOlderAiHonosCompletionRate as Old using (State) |
HrOlderAiRugadlCount | HR | HR-level count of all RUGADL measures for Older age group in Inpatient setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join RugadlCompletion using (ColId) where Setting = '1' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrOlderAiRugadlCountChange | HR | Change in HR-level count of all RUGADL measures for Older age group in Inpatient setting after Admission | select State, (New.Total - Old.Total) as Change from HrOlderAiRugadlCount as New join hist.HrOlderAiRugadlCount as Old using (State) |
HrOlderAiRugadlCountGrowth | HR | Growth in HR-level count of all RUGADL measures for Older age group in Inpatient setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderAiRugadlCount as New join hist.HrOlderAiRugadlCount as Old using (State) |
HrOlderAiRugadlCompleted | HR | HR-level count of completed RUGADL measures for Older age group in Inpatient setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join RugadlCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrOlderAiRugadlCompletedChange | HR | Change in HR-level count of completed RUGADL measures for Older age group in Inpatient setting after Admission | select State, (New.Total - Old.Total) as Change from HrOlderAiRugadlCompleted as New join hist.HrOlderAiRugadlCompleted as Old using (State) |
HrOlderAiRugadlCompletedGrowth | HR | Growth in HR-level count of completed RUGADL measures for Older age group in Inpatient setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderAiRugadlCompleted as New join hist.HrOlderAiRugadlCompleted as Old using (State) |
HrOlderAiRugadlCompletionRate | HR | HR-level completion rate of RUGADL measures for Older age group in Inpatient setting after Admission | select State, sd_div_safe(HrOlderAiRugadlCompleted.Total, HrOlderAiCodCount.Total, 3) as Rate from HrOlderAiRugadlCompleted join HrOlderAiCodCount using (State) |
HrOlderAiRugadlCompletionRateChange | HR | Change in HR-level completion rate of RUGADL measures for Older age group in Inpatient setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrOlderAiRugadlCompletionRate as New join hist.HrOlderAiRugadlCompletionRate as Old using (State) |
HrOlderAiPocCount | HR | HR-level count of all POC measures for Older age group in Inpatient setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '1' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrOlderAiPocCountChange | HR | Change in HR-level count of all POC measures for Older age group in Inpatient setting after Admission | select State, (New.Total - Old.Total) as Change from HrOlderAiPocCount as New join hist.HrOlderAiPocCount as Old using (State) |
HrOlderAiPocCountGrowth | HR | Growth in HR-level count of all POC measures for Older age group in Inpatient setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderAiPocCount as New join hist.HrOlderAiPocCount as Old using (State) |
HrOlderAiPocCompleted | HR | HR-level count of completed POC measures for Older age group in Inpatient setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrOlderAiPocCompletedChange | HR | Change in HR-level count of completed POC measures for Older age group in Inpatient setting after Admission | select State, (New.Total - Old.Total) as Change from HrOlderAiPocCompleted as New join hist.HrOlderAiPocCompleted as Old using (State) |
HrOlderAiPocCompletedGrowth | HR | Growth in HR-level count of completed POC measures for Older age group in Inpatient setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderAiPocCompleted as New join hist.HrOlderAiPocCompleted as Old using (State) |
HrOlderAiPocCompletionRate | HR | HR-level completion rate of POC measures for Older age group in Inpatient setting after Admission | select State, sd_div_safe(HrOlderAiPocCompleted.Total, HrOlderAiCodCount.Total, 3) as Rate from HrOlderAiPocCompleted join HrOlderAiCodCount using (State) |
HrOlderAiPocCompletionRateChange | HR | Change in HR-level completion rate of POC measures for Older age group in Inpatient setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrOlderAiPocCompletionRate as New join hist.HrOlderAiPocCompletionRate as Old using (State) |
HrOlderRiCodCount | HR | HR-level count of collection occasions for Older age group in Inpatient setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD where Setting = '1' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRiHonosCount | HR | HR-level count of all HONOS measures for Older age group in Inpatient setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '1' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRiHonosCountChange | HR | Change in HR-level count of all HONOS measures for Older age group in Inpatient setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRiHonosCount as New join hist.HrOlderRiHonosCount as Old using (State) |
HrOlderRiHonosCountGrowth | HR | Growth in HR-level count of all HONOS measures for Older age group in Inpatient setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRiHonosCount as New join hist.HrOlderRiHonosCount as Old using (State) |
HrOlderRiHonosCompleted | HR | HR-level count of completed HONOS measures for Older age group in Inpatient setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRiHonosCompletedChange | HR | Change in HR-level count of completed HONOS measures for Older age group in Inpatient setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRiHonosCompleted as New join hist.HrOlderRiHonosCompleted as Old using (State) |
HrOlderRiHonosCompletedGrowth | HR | Growth in HR-level count of completed HONOS measures for Older age group in Inpatient setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRiHonosCompleted as New join hist.HrOlderRiHonosCompleted as Old using (State) |
HrOlderRiHonosCompletionRate | HR | HR-level completion rate of HONOS measures for Older age group in Inpatient setting after Review | select State, sd_div_safe(HrOlderRiHonosCompleted.Total, HrOlderRiCodCount.Total, 3) as Rate from HrOlderRiHonosCompleted join HrOlderRiCodCount using (State) |
HrOlderRiHonosCompletionRateChange | HR | Change in HR-level completion rate of HONOS measures for Older age group in Inpatient setting after Review | select State, (New.Rate - Old.Rate) as Change from HrOlderRiHonosCompletionRate as New join hist.HrOlderRiHonosCompletionRate as Old using (State) |
HrOlderRiRugadlCount | HR | HR-level count of all RUGADL measures for Older age group in Inpatient setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join RugadlCompletion using (ColId) where Setting = '1' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRiRugadlCountChange | HR | Change in HR-level count of all RUGADL measures for Older age group in Inpatient setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRiRugadlCount as New join hist.HrOlderRiRugadlCount as Old using (State) |
HrOlderRiRugadlCountGrowth | HR | Growth in HR-level count of all RUGADL measures for Older age group in Inpatient setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRiRugadlCount as New join hist.HrOlderRiRugadlCount as Old using (State) |
HrOlderRiRugadlCompleted | HR | HR-level count of completed RUGADL measures for Older age group in Inpatient setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join RugadlCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRiRugadlCompletedChange | HR | Change in HR-level count of completed RUGADL measures for Older age group in Inpatient setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRiRugadlCompleted as New join hist.HrOlderRiRugadlCompleted as Old using (State) |
HrOlderRiRugadlCompletedGrowth | HR | Growth in HR-level count of completed RUGADL measures for Older age group in Inpatient setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRiRugadlCompleted as New join hist.HrOlderRiRugadlCompleted as Old using (State) |
HrOlderRiRugadlCompletionRate | HR | HR-level completion rate of RUGADL measures for Older age group in Inpatient setting after Review | select State, sd_div_safe(HrOlderRiRugadlCompleted.Total, HrOlderRiCodCount.Total, 3) as Rate from HrOlderRiRugadlCompleted join HrOlderRiCodCount using (State) |
HrOlderRiRugadlCompletionRateChange | HR | Change in HR-level completion rate of RUGADL measures for Older age group in Inpatient setting after Review | select State, (New.Rate - Old.Rate) as Change from HrOlderRiRugadlCompletionRate as New join hist.HrOlderRiRugadlCompletionRate as Old using (State) |
HrOlderRiDiagCount | HR | HR-level count of all DIAG measures for Older age group in Inpatient setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '1' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRiDiagCountChange | HR | Change in HR-level count of all DIAG measures for Older age group in Inpatient setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRiDiagCount as New join hist.HrOlderRiDiagCount as Old using (State) |
HrOlderRiDiagCountGrowth | HR | Growth in HR-level count of all DIAG measures for Older age group in Inpatient setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRiDiagCount as New join hist.HrOlderRiDiagCount as Old using (State) |
HrOlderRiDiagCompleted | HR | HR-level count of completed DIAG measures for Older age group in Inpatient setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRiDiagCompletedChange | HR | Change in HR-level count of completed DIAG measures for Older age group in Inpatient setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRiDiagCompleted as New join hist.HrOlderRiDiagCompleted as Old using (State) |
HrOlderRiDiagCompletedGrowth | HR | Growth in HR-level count of completed DIAG measures for Older age group in Inpatient setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRiDiagCompleted as New join hist.HrOlderRiDiagCompleted as Old using (State) |
HrOlderRiDiagCompletionRate | HR | HR-level completion rate of DIAG measures for Older age group in Inpatient setting after Review | select State, sd_div_safe(HrOlderRiDiagCompleted.Total, HrOlderRiCodCount.Total, 3) as Rate from HrOlderRiDiagCompleted join HrOlderRiCodCount using (State) |
HrOlderRiDiagCompletionRateChange | HR | Change in HR-level completion rate of DIAG measures for Older age group in Inpatient setting after Review | select State, (New.Rate - Old.Rate) as Change from HrOlderRiDiagCompletionRate as New join hist.HrOlderRiDiagCompletionRate as Old using (State) |
HrOlderRiPocCount | HR | HR-level count of all POC measures for Older age group in Inpatient setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '1' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRiPocCountChange | HR | Change in HR-level count of all POC measures for Older age group in Inpatient setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRiPocCount as New join hist.HrOlderRiPocCount as Old using (State) |
HrOlderRiPocCountGrowth | HR | Growth in HR-level count of all POC measures for Older age group in Inpatient setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRiPocCount as New join hist.HrOlderRiPocCount as Old using (State) |
HrOlderRiPocCompleted | HR | HR-level count of completed POC measures for Older age group in Inpatient setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRiPocCompletedChange | HR | Change in HR-level count of completed POC measures for Older age group in Inpatient setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRiPocCompleted as New join hist.HrOlderRiPocCompleted as Old using (State) |
HrOlderRiPocCompletedGrowth | HR | Growth in HR-level count of completed POC measures for Older age group in Inpatient setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRiPocCompleted as New join hist.HrOlderRiPocCompleted as Old using (State) |
HrOlderRiPocCompletionRate | HR | HR-level completion rate of POC measures for Older age group in Inpatient setting after Review | select State, sd_div_safe(HrOlderRiPocCompleted.Total, HrOlderRiCodCount.Total, 3) as Rate from HrOlderRiPocCompleted join HrOlderRiCodCount using (State) |
HrOlderRiPocCompletionRateChange | HR | Change in HR-level completion rate of POC measures for Older age group in Inpatient setting after Review | select State, (New.Rate - Old.Rate) as Change from HrOlderRiPocCompletionRate as New join hist.HrOlderRiPocCompletionRate as Old using (State) |
HrOlderRiMhlsCount | HR | HR-level count of all MHLS measures for Older age group in Inpatient setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '1' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRiMhlsCountChange | HR | Change in HR-level count of all MHLS measures for Older age group in Inpatient setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRiMhlsCount as New join hist.HrOlderRiMhlsCount as Old using (State) |
HrOlderRiMhlsCountGrowth | HR | Growth in HR-level count of all MHLS measures for Older age group in Inpatient setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRiMhlsCount as New join hist.HrOlderRiMhlsCount as Old using (State) |
HrOlderRiMhlsCompleted | HR | HR-level count of completed MHLS measures for Older age group in Inpatient setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRiMhlsCompletedChange | HR | Change in HR-level count of completed MHLS measures for Older age group in Inpatient setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRiMhlsCompleted as New join hist.HrOlderRiMhlsCompleted as Old using (State) |
HrOlderRiMhlsCompletedGrowth | HR | Growth in HR-level count of completed MHLS measures for Older age group in Inpatient setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRiMhlsCompleted as New join hist.HrOlderRiMhlsCompleted as Old using (State) |
HrOlderRiMhlsCompletionRate | HR | HR-level completion rate of MHLS measures for Older age group in Inpatient setting after Review | select State, sd_div_safe(HrOlderRiMhlsCompleted.Total, HrOlderRiCodCount.Total, 3) as Rate from HrOlderRiMhlsCompleted join HrOlderRiCodCount using (State) |
HrOlderRiMhlsCompletionRateChange | HR | Change in HR-level completion rate of MHLS measures for Older age group in Inpatient setting after Review | select State, (New.Rate - Old.Rate) as Change from HrOlderRiMhlsCompletionRate as New join hist.HrOlderRiMhlsCompletionRate as Old using (State) |
HrOlderDiCodCount | HR | HR-level count of collection occasions for Older age group in Inpatient setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD where Setting = '1' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDiHonosCount | HR | HR-level count of all HONOS measures for Older age group in Inpatient setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '1' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDiHonosCountChange | HR | Change in HR-level count of all HONOS measures for Older age group in Inpatient setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDiHonosCount as New join hist.HrOlderDiHonosCount as Old using (State) |
HrOlderDiHonosCountGrowth | HR | Growth in HR-level count of all HONOS measures for Older age group in Inpatient setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDiHonosCount as New join hist.HrOlderDiHonosCount as Old using (State) |
HrOlderDiHonosCompleted | HR | HR-level count of completed HONOS measures for Older age group in Inpatient setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDiHonosCompletedChange | HR | Change in HR-level count of completed HONOS measures for Older age group in Inpatient setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDiHonosCompleted as New join hist.HrOlderDiHonosCompleted as Old using (State) |
HrOlderDiHonosCompletedGrowth | HR | Growth in HR-level count of completed HONOS measures for Older age group in Inpatient setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDiHonosCompleted as New join hist.HrOlderDiHonosCompleted as Old using (State) |
HrOlderDiHonosCompletionRate | HR | HR-level completion rate of HONOS measures for Older age group in Inpatient setting after Discharge | select State, sd_div_safe(HrOlderDiHonosCompleted.Total, HrOlderDiCodCount.Total, 3) as Rate from HrOlderDiHonosCompleted join HrOlderDiCodCount using (State) |
HrOlderDiHonosCompletionRateChange | HR | Change in HR-level completion rate of HONOS measures for Older age group in Inpatient setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrOlderDiHonosCompletionRate as New join hist.HrOlderDiHonosCompletionRate as Old using (State) |
HrOlderDiDiagCount | HR | HR-level count of all DIAG measures for Older age group in Inpatient setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '1' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDiDiagCountChange | HR | Change in HR-level count of all DIAG measures for Older age group in Inpatient setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDiDiagCount as New join hist.HrOlderDiDiagCount as Old using (State) |
HrOlderDiDiagCountGrowth | HR | Growth in HR-level count of all DIAG measures for Older age group in Inpatient setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDiDiagCount as New join hist.HrOlderDiDiagCount as Old using (State) |
HrOlderDiDiagCompleted | HR | HR-level count of completed DIAG measures for Older age group in Inpatient setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDiDiagCompletedChange | HR | Change in HR-level count of completed DIAG measures for Older age group in Inpatient setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDiDiagCompleted as New join hist.HrOlderDiDiagCompleted as Old using (State) |
HrOlderDiDiagCompletedGrowth | HR | Growth in HR-level count of completed DIAG measures for Older age group in Inpatient setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDiDiagCompleted as New join hist.HrOlderDiDiagCompleted as Old using (State) |
HrOlderDiDiagCompletionRate | HR | HR-level completion rate of DIAG measures for Older age group in Inpatient setting after Discharge | select State, sd_div_safe(HrOlderDiDiagCompleted.Total, HrOlderDiCodCount.Total, 3) as Rate from HrOlderDiDiagCompleted join HrOlderDiCodCount using (State) |
HrOlderDiDiagCompletionRateChange | HR | Change in HR-level completion rate of DIAG measures for Older age group in Inpatient setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrOlderDiDiagCompletionRate as New join hist.HrOlderDiDiagCompletionRate as Old using (State) |
HrOlderDiMhlsCount | HR | HR-level count of all MHLS measures for Older age group in Inpatient setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '1' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDiMhlsCountChange | HR | Change in HR-level count of all MHLS measures for Older age group in Inpatient setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDiMhlsCount as New join hist.HrOlderDiMhlsCount as Old using (State) |
HrOlderDiMhlsCountGrowth | HR | Growth in HR-level count of all MHLS measures for Older age group in Inpatient setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDiMhlsCount as New join hist.HrOlderDiMhlsCount as Old using (State) |
HrOlderDiMhlsCompleted | HR | HR-level count of completed MHLS measures for Older age group in Inpatient setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDiMhlsCompletedChange | HR | Change in HR-level count of completed MHLS measures for Older age group in Inpatient setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDiMhlsCompleted as New join hist.HrOlderDiMhlsCompleted as Old using (State) |
HrOlderDiMhlsCompletedGrowth | HR | Growth in HR-level count of completed MHLS measures for Older age group in Inpatient setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDiMhlsCompleted as New join hist.HrOlderDiMhlsCompleted as Old using (State) |
HrOlderDiMhlsCompletionRate | HR | HR-level completion rate of MHLS measures for Older age group in Inpatient setting after Discharge | select State, sd_div_safe(HrOlderDiMhlsCompleted.Total, HrOlderDiCodCount.Total, 3) as Rate from HrOlderDiMhlsCompleted join HrOlderDiCodCount using (State) |
HrOlderDiMhlsCompletionRateChange | HR | Change in HR-level completion rate of MHLS measures for Older age group in Inpatient setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrOlderDiMhlsCompletionRate as New join hist.HrOlderDiMhlsCompletionRate as Old using (State) |
HrOlderArCodCount | HR | HR-level count of collection occasions for Older age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD where Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrOlderArHonosCount | HR | HR-level count of all HONOS measures for Older age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrOlderArHonosCountChange | HR | Change in HR-level count of all HONOS measures for Older age group in Residential setting after Admission | select State, (New.Total - Old.Total) as Change from HrOlderArHonosCount as New join hist.HrOlderArHonosCount as Old using (State) |
HrOlderArHonosCountGrowth | HR | Growth in HR-level count of all HONOS measures for Older age group in Residential setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderArHonosCount as New join hist.HrOlderArHonosCount as Old using (State) |
HrOlderArHonosCompleted | HR | HR-level count of completed HONOS measures for Older age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrOlderArHonosCompletedChange | HR | Change in HR-level count of completed HONOS measures for Older age group in Residential setting after Admission | select State, (New.Total - Old.Total) as Change from HrOlderArHonosCompleted as New join hist.HrOlderArHonosCompleted as Old using (State) |
HrOlderArHonosCompletedGrowth | HR | Growth in HR-level count of completed HONOS measures for Older age group in Residential setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderArHonosCompleted as New join hist.HrOlderArHonosCompleted as Old using (State) |
HrOlderArHonosCompletionRate | HR | HR-level completion rate of HONOS measures for Older age group in Residential setting after Admission | select State, sd_div_safe(HrOlderArHonosCompleted.Total, HrOlderArCodCount.Total, 3) as Rate from HrOlderArHonosCompleted join HrOlderArCodCount using (State) |
HrOlderArHonosCompletionRateChange | HR | Change in HR-level completion rate of HONOS measures for Older age group in Residential setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrOlderArHonosCompletionRate as New join hist.HrOlderArHonosCompletionRate as Old using (State) |
HrOlderArLsp16Count | HR | HR-level count of all LSP16 measures for Older age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Lsp16Completion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrOlderArLsp16CountChange | HR | Change in HR-level count of all LSP16 measures for Older age group in Residential setting after Admission | select State, (New.Total - Old.Total) as Change from HrOlderArLsp16Count as New join hist.HrOlderArLsp16Count as Old using (State) |
HrOlderArLsp16CountGrowth | HR | Growth in HR-level count of all LSP16 measures for Older age group in Residential setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderArLsp16Count as New join hist.HrOlderArLsp16Count as Old using (State) |
HrOlderArLsp16Completed | HR | HR-level count of completed LSP16 measures for Older age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Lsp16Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrOlderArLsp16CompletedChange | HR | Change in HR-level count of completed LSP16 measures for Older age group in Residential setting after Admission | select State, (New.Total - Old.Total) as Change from HrOlderArLsp16Completed as New join hist.HrOlderArLsp16Completed as Old using (State) |
HrOlderArLsp16CompletedGrowth | HR | Growth in HR-level count of completed LSP16 measures for Older age group in Residential setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderArLsp16Completed as New join hist.HrOlderArLsp16Completed as Old using (State) |
HrOlderArLsp16CompletionRate | HR | HR-level completion rate of LSP16 measures for Older age group in Residential setting after Admission | select State, sd_div_safe(HrOlderArLsp16Completed.Total, HrOlderArCodCount.Total, 3) as Rate from HrOlderArLsp16Completed join HrOlderArCodCount using (State) |
HrOlderArLsp16CompletionRateChange | HR | Change in HR-level completion rate of LSP16 measures for Older age group in Residential setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrOlderArLsp16CompletionRate as New join hist.HrOlderArLsp16CompletionRate as Old using (State) |
HrOlderArBasis32Count | HR | HR-level count of all BASIS32 measures for Older age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrOlderArBasis32CountChange | HR | Change in HR-level count of all BASIS32 measures for Older age group in Residential setting after Admission | select State, (New.Total - Old.Total) as Change from HrOlderArBasis32Count as New join hist.HrOlderArBasis32Count as Old using (State) |
HrOlderArBasis32CountGrowth | HR | Growth in HR-level count of all BASIS32 measures for Older age group in Residential setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderArBasis32Count as New join hist.HrOlderArBasis32Count as Old using (State) |
HrOlderArBasis32Completed | HR | HR-level count of completed BASIS32 measures for Older age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrOlderArBasis32CompletedChange | HR | Change in HR-level count of completed BASIS32 measures for Older age group in Residential setting after Admission | select State, (New.Total - Old.Total) as Change from HrOlderArBasis32Completed as New join hist.HrOlderArBasis32Completed as Old using (State) |
HrOlderArBasis32CompletedGrowth | HR | Growth in HR-level count of completed BASIS32 measures for Older age group in Residential setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderArBasis32Completed as New join hist.HrOlderArBasis32Completed as Old using (State) |
HrOlderArBasis32CompletionRate | HR | HR-level completion rate of BASIS32 measures for Older age group in Residential setting after Admission | select State, sd_div_safe(HrOlderArBasis32Completed.Total, HrOlderArCodCount.Total, 3) as Rate from HrOlderArBasis32Completed join HrOlderArCodCount using (State) |
HrOlderArBasis32CompletionRateChange | HR | Change in HR-level completion rate of BASIS32 measures for Older age group in Residential setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrOlderArBasis32CompletionRate as New join hist.HrOlderArBasis32CompletionRate as Old using (State) |
HrOlderArK10l3dCount | HR | HR-level count of all K10L3D measures for Older age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrOlderArK10l3dCountChange | HR | Change in HR-level count of all K10L3D measures for Older age group in Residential setting after Admission | select State, (New.Total - Old.Total) as Change from HrOlderArK10l3dCount as New join hist.HrOlderArK10l3dCount as Old using (State) |
HrOlderArK10l3dCountGrowth | HR | Growth in HR-level count of all K10L3D measures for Older age group in Residential setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderArK10l3dCount as New join hist.HrOlderArK10l3dCount as Old using (State) |
HrOlderArK10l3dCompleted | HR | HR-level count of completed K10L3D measures for Older age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrOlderArK10l3dCompletedChange | HR | Change in HR-level count of completed K10L3D measures for Older age group in Residential setting after Admission | select State, (New.Total - Old.Total) as Change from HrOlderArK10l3dCompleted as New join hist.HrOlderArK10l3dCompleted as Old using (State) |
HrOlderArK10l3dCompletedGrowth | HR | Growth in HR-level count of completed K10L3D measures for Older age group in Residential setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderArK10l3dCompleted as New join hist.HrOlderArK10l3dCompleted as Old using (State) |
HrOlderArK10l3dCompletionRate | HR | HR-level completion rate of K10L3D measures for Older age group in Residential setting after Admission | select State, sd_div_safe(HrOlderArK10l3dCompleted.Total, HrOlderArCodCount.Total, 3) as Rate from HrOlderArK10l3dCompleted join HrOlderArCodCount using (State) |
HrOlderArK10l3dCompletionRateChange | HR | Change in HR-level completion rate of K10L3D measures for Older age group in Residential setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrOlderArK10l3dCompletionRate as New join hist.HrOlderArK10l3dCompletionRate as Old using (State) |
HrOlderArK10lmCount | HR | HR-level count of all K10LM measures for Older age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrOlderArK10lmCountChange | HR | Change in HR-level count of all K10LM measures for Older age group in Residential setting after Admission | select State, (New.Total - Old.Total) as Change from HrOlderArK10lmCount as New join hist.HrOlderArK10lmCount as Old using (State) |
HrOlderArK10lmCountGrowth | HR | Growth in HR-level count of all K10LM measures for Older age group in Residential setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderArK10lmCount as New join hist.HrOlderArK10lmCount as Old using (State) |
HrOlderArK10lmCompleted | HR | HR-level count of completed K10LM measures for Older age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrOlderArK10lmCompletedChange | HR | Change in HR-level count of completed K10LM measures for Older age group in Residential setting after Admission | select State, (New.Total - Old.Total) as Change from HrOlderArK10lmCompleted as New join hist.HrOlderArK10lmCompleted as Old using (State) |
HrOlderArK10lmCompletedGrowth | HR | Growth in HR-level count of completed K10LM measures for Older age group in Residential setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderArK10lmCompleted as New join hist.HrOlderArK10lmCompleted as Old using (State) |
HrOlderArK10lmCompletionRate | HR | HR-level completion rate of K10LM measures for Older age group in Residential setting after Admission | select State, sd_div_safe(HrOlderArK10lmCompleted.Total, HrOlderArCodCount.Total, 3) as Rate from HrOlderArK10lmCompleted join HrOlderArCodCount using (State) |
HrOlderArK10lmCompletionRateChange | HR | Change in HR-level completion rate of K10LM measures for Older age group in Residential setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrOlderArK10lmCompletionRate as New join hist.HrOlderArK10lmCompletionRate as Old using (State) |
HrOlderArMhi38Count | HR | HR-level count of all MHI38 measures for Older age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrOlderArMhi38CountChange | HR | Change in HR-level count of all MHI38 measures for Older age group in Residential setting after Admission | select State, (New.Total - Old.Total) as Change from HrOlderArMhi38Count as New join hist.HrOlderArMhi38Count as Old using (State) |
HrOlderArMhi38CountGrowth | HR | Growth in HR-level count of all MHI38 measures for Older age group in Residential setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderArMhi38Count as New join hist.HrOlderArMhi38Count as Old using (State) |
HrOlderArMhi38Completed | HR | HR-level count of completed MHI38 measures for Older age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrOlderArMhi38CompletedChange | HR | Change in HR-level count of completed MHI38 measures for Older age group in Residential setting after Admission | select State, (New.Total - Old.Total) as Change from HrOlderArMhi38Completed as New join hist.HrOlderArMhi38Completed as Old using (State) |
HrOlderArMhi38CompletedGrowth | HR | Growth in HR-level count of completed MHI38 measures for Older age group in Residential setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderArMhi38Completed as New join hist.HrOlderArMhi38Completed as Old using (State) |
HrOlderArMhi38CompletionRate | HR | HR-level completion rate of MHI38 measures for Older age group in Residential setting after Admission | select State, sd_div_safe(HrOlderArMhi38Completed.Total, HrOlderArCodCount.Total, 3) as Rate from HrOlderArMhi38Completed join HrOlderArCodCount using (State) |
HrOlderArMhi38CompletionRateChange | HR | Change in HR-level completion rate of MHI38 measures for Older age group in Residential setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrOlderArMhi38CompletionRate as New join hist.HrOlderArMhi38CompletionRate as Old using (State) |
HrOlderArPocCount | HR | HR-level count of all POC measures for Older age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrOlderArPocCountChange | HR | Change in HR-level count of all POC measures for Older age group in Residential setting after Admission | select State, (New.Total - Old.Total) as Change from HrOlderArPocCount as New join hist.HrOlderArPocCount as Old using (State) |
HrOlderArPocCountGrowth | HR | Growth in HR-level count of all POC measures for Older age group in Residential setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderArPocCount as New join hist.HrOlderArPocCount as Old using (State) |
HrOlderArPocCompleted | HR | HR-level count of completed POC measures for Older age group in Residential setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrOlderArPocCompletedChange | HR | Change in HR-level count of completed POC measures for Older age group in Residential setting after Admission | select State, (New.Total - Old.Total) as Change from HrOlderArPocCompleted as New join hist.HrOlderArPocCompleted as Old using (State) |
HrOlderArPocCompletedGrowth | HR | Growth in HR-level count of completed POC measures for Older age group in Residential setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderArPocCompleted as New join hist.HrOlderArPocCompleted as Old using (State) |
HrOlderArPocCompletionRate | HR | HR-level completion rate of POC measures for Older age group in Residential setting after Admission | select State, sd_div_safe(HrOlderArPocCompleted.Total, HrOlderArCodCount.Total, 3) as Rate from HrOlderArPocCompleted join HrOlderArCodCount using (State) |
HrOlderArPocCompletionRateChange | HR | Change in HR-level completion rate of POC measures for Older age group in Residential setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrOlderArPocCompletionRate as New join hist.HrOlderArPocCompletionRate as Old using (State) |
HrOlderRrCodCount | HR | HR-level count of collection occasions for Older age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD where Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRrHonosCount | HR | HR-level count of all HONOS measures for Older age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRrHonosCountChange | HR | Change in HR-level count of all HONOS measures for Older age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRrHonosCount as New join hist.HrOlderRrHonosCount as Old using (State) |
HrOlderRrHonosCountGrowth | HR | Growth in HR-level count of all HONOS measures for Older age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRrHonosCount as New join hist.HrOlderRrHonosCount as Old using (State) |
HrOlderRrHonosCompleted | HR | HR-level count of completed HONOS measures for Older age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRrHonosCompletedChange | HR | Change in HR-level count of completed HONOS measures for Older age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRrHonosCompleted as New join hist.HrOlderRrHonosCompleted as Old using (State) |
HrOlderRrHonosCompletedGrowth | HR | Growth in HR-level count of completed HONOS measures for Older age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRrHonosCompleted as New join hist.HrOlderRrHonosCompleted as Old using (State) |
HrOlderRrHonosCompletionRate | HR | HR-level completion rate of HONOS measures for Older age group in Residential setting after Review | select State, sd_div_safe(HrOlderRrHonosCompleted.Total, HrOlderRrCodCount.Total, 3) as Rate from HrOlderRrHonosCompleted join HrOlderRrCodCount using (State) |
HrOlderRrHonosCompletionRateChange | HR | Change in HR-level completion rate of HONOS measures for Older age group in Residential setting after Review | select State, (New.Rate - Old.Rate) as Change from HrOlderRrHonosCompletionRate as New join hist.HrOlderRrHonosCompletionRate as Old using (State) |
HrOlderRrLsp16Count | HR | HR-level count of all LSP16 measures for Older age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Lsp16Completion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRrLsp16CountChange | HR | Change in HR-level count of all LSP16 measures for Older age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRrLsp16Count as New join hist.HrOlderRrLsp16Count as Old using (State) |
HrOlderRrLsp16CountGrowth | HR | Growth in HR-level count of all LSP16 measures for Older age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRrLsp16Count as New join hist.HrOlderRrLsp16Count as Old using (State) |
HrOlderRrLsp16Completed | HR | HR-level count of completed LSP16 measures for Older age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Lsp16Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRrLsp16CompletedChange | HR | Change in HR-level count of completed LSP16 measures for Older age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRrLsp16Completed as New join hist.HrOlderRrLsp16Completed as Old using (State) |
HrOlderRrLsp16CompletedGrowth | HR | Growth in HR-level count of completed LSP16 measures for Older age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRrLsp16Completed as New join hist.HrOlderRrLsp16Completed as Old using (State) |
HrOlderRrLsp16CompletionRate | HR | HR-level completion rate of LSP16 measures for Older age group in Residential setting after Review | select State, sd_div_safe(HrOlderRrLsp16Completed.Total, HrOlderRrCodCount.Total, 3) as Rate from HrOlderRrLsp16Completed join HrOlderRrCodCount using (State) |
HrOlderRrLsp16CompletionRateChange | HR | Change in HR-level completion rate of LSP16 measures for Older age group in Residential setting after Review | select State, (New.Rate - Old.Rate) as Change from HrOlderRrLsp16CompletionRate as New join hist.HrOlderRrLsp16CompletionRate as Old using (State) |
HrOlderRrBasis32Count | HR | HR-level count of all BASIS32 measures for Older age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRrBasis32CountChange | HR | Change in HR-level count of all BASIS32 measures for Older age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRrBasis32Count as New join hist.HrOlderRrBasis32Count as Old using (State) |
HrOlderRrBasis32CountGrowth | HR | Growth in HR-level count of all BASIS32 measures for Older age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRrBasis32Count as New join hist.HrOlderRrBasis32Count as Old using (State) |
HrOlderRrBasis32Completed | HR | HR-level count of completed BASIS32 measures for Older age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRrBasis32CompletedChange | HR | Change in HR-level count of completed BASIS32 measures for Older age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRrBasis32Completed as New join hist.HrOlderRrBasis32Completed as Old using (State) |
HrOlderRrBasis32CompletedGrowth | HR | Growth in HR-level count of completed BASIS32 measures for Older age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRrBasis32Completed as New join hist.HrOlderRrBasis32Completed as Old using (State) |
HrOlderRrBasis32CompletionRate | HR | HR-level completion rate of BASIS32 measures for Older age group in Residential setting after Review | select State, sd_div_safe(HrOlderRrBasis32Completed.Total, HrOlderRrCodCount.Total, 3) as Rate from HrOlderRrBasis32Completed join HrOlderRrCodCount using (State) |
HrOlderRrBasis32CompletionRateChange | HR | Change in HR-level completion rate of BASIS32 measures for Older age group in Residential setting after Review | select State, (New.Rate - Old.Rate) as Change from HrOlderRrBasis32CompletionRate as New join hist.HrOlderRrBasis32CompletionRate as Old using (State) |
HrOlderRrK10l3dCount | HR | HR-level count of all K10L3D measures for Older age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRrK10l3dCountChange | HR | Change in HR-level count of all K10L3D measures for Older age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRrK10l3dCount as New join hist.HrOlderRrK10l3dCount as Old using (State) |
HrOlderRrK10l3dCountGrowth | HR | Growth in HR-level count of all K10L3D measures for Older age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRrK10l3dCount as New join hist.HrOlderRrK10l3dCount as Old using (State) |
HrOlderRrK10l3dCompleted | HR | HR-level count of completed K10L3D measures for Older age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRrK10l3dCompletedChange | HR | Change in HR-level count of completed K10L3D measures for Older age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRrK10l3dCompleted as New join hist.HrOlderRrK10l3dCompleted as Old using (State) |
HrOlderRrK10l3dCompletedGrowth | HR | Growth in HR-level count of completed K10L3D measures for Older age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRrK10l3dCompleted as New join hist.HrOlderRrK10l3dCompleted as Old using (State) |
HrOlderRrK10l3dCompletionRate | HR | HR-level completion rate of K10L3D measures for Older age group in Residential setting after Review | select State, sd_div_safe(HrOlderRrK10l3dCompleted.Total, HrOlderRrCodCount.Total, 3) as Rate from HrOlderRrK10l3dCompleted join HrOlderRrCodCount using (State) |
HrOlderRrK10l3dCompletionRateChange | HR | Change in HR-level completion rate of K10L3D measures for Older age group in Residential setting after Review | select State, (New.Rate - Old.Rate) as Change from HrOlderRrK10l3dCompletionRate as New join hist.HrOlderRrK10l3dCompletionRate as Old using (State) |
HrOlderRrK10lmCount | HR | HR-level count of all K10LM measures for Older age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRrK10lmCountChange | HR | Change in HR-level count of all K10LM measures for Older age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRrK10lmCount as New join hist.HrOlderRrK10lmCount as Old using (State) |
HrOlderRrK10lmCountGrowth | HR | Growth in HR-level count of all K10LM measures for Older age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRrK10lmCount as New join hist.HrOlderRrK10lmCount as Old using (State) |
HrOlderRrK10lmCompleted | HR | HR-level count of completed K10LM measures for Older age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRrK10lmCompletedChange | HR | Change in HR-level count of completed K10LM measures for Older age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRrK10lmCompleted as New join hist.HrOlderRrK10lmCompleted as Old using (State) |
HrOlderRrK10lmCompletedGrowth | HR | Growth in HR-level count of completed K10LM measures for Older age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRrK10lmCompleted as New join hist.HrOlderRrK10lmCompleted as Old using (State) |
HrOlderRrK10lmCompletionRate | HR | HR-level completion rate of K10LM measures for Older age group in Residential setting after Review | select State, sd_div_safe(HrOlderRrK10lmCompleted.Total, HrOlderRrCodCount.Total, 3) as Rate from HrOlderRrK10lmCompleted join HrOlderRrCodCount using (State) |
HrOlderRrK10lmCompletionRateChange | HR | Change in HR-level completion rate of K10LM measures for Older age group in Residential setting after Review | select State, (New.Rate - Old.Rate) as Change from HrOlderRrK10lmCompletionRate as New join hist.HrOlderRrK10lmCompletionRate as Old using (State) |
HrOlderRrMhi38Count | HR | HR-level count of all MHI38 measures for Older age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRrMhi38CountChange | HR | Change in HR-level count of all MHI38 measures for Older age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRrMhi38Count as New join hist.HrOlderRrMhi38Count as Old using (State) |
HrOlderRrMhi38CountGrowth | HR | Growth in HR-level count of all MHI38 measures for Older age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRrMhi38Count as New join hist.HrOlderRrMhi38Count as Old using (State) |
HrOlderRrMhi38Completed | HR | HR-level count of completed MHI38 measures for Older age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRrMhi38CompletedChange | HR | Change in HR-level count of completed MHI38 measures for Older age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRrMhi38Completed as New join hist.HrOlderRrMhi38Completed as Old using (State) |
HrOlderRrMhi38CompletedGrowth | HR | Growth in HR-level count of completed MHI38 measures for Older age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRrMhi38Completed as New join hist.HrOlderRrMhi38Completed as Old using (State) |
HrOlderRrMhi38CompletionRate | HR | HR-level completion rate of MHI38 measures for Older age group in Residential setting after Review | select State, sd_div_safe(HrOlderRrMhi38Completed.Total, HrOlderRrCodCount.Total, 3) as Rate from HrOlderRrMhi38Completed join HrOlderRrCodCount using (State) |
HrOlderRrMhi38CompletionRateChange | HR | Change in HR-level completion rate of MHI38 measures for Older age group in Residential setting after Review | select State, (New.Rate - Old.Rate) as Change from HrOlderRrMhi38CompletionRate as New join hist.HrOlderRrMhi38CompletionRate as Old using (State) |
HrOlderRrDiagCount | HR | HR-level count of all DIAG measures for Older age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRrDiagCountChange | HR | Change in HR-level count of all DIAG measures for Older age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRrDiagCount as New join hist.HrOlderRrDiagCount as Old using (State) |
HrOlderRrDiagCountGrowth | HR | Growth in HR-level count of all DIAG measures for Older age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRrDiagCount as New join hist.HrOlderRrDiagCount as Old using (State) |
HrOlderRrDiagCompleted | HR | HR-level count of completed DIAG measures for Older age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRrDiagCompletedChange | HR | Change in HR-level count of completed DIAG measures for Older age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRrDiagCompleted as New join hist.HrOlderRrDiagCompleted as Old using (State) |
HrOlderRrDiagCompletedGrowth | HR | Growth in HR-level count of completed DIAG measures for Older age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRrDiagCompleted as New join hist.HrOlderRrDiagCompleted as Old using (State) |
HrOlderRrDiagCompletionRate | HR | HR-level completion rate of DIAG measures for Older age group in Residential setting after Review | select State, sd_div_safe(HrOlderRrDiagCompleted.Total, HrOlderRrCodCount.Total, 3) as Rate from HrOlderRrDiagCompleted join HrOlderRrCodCount using (State) |
HrOlderRrDiagCompletionRateChange | HR | Change in HR-level completion rate of DIAG measures for Older age group in Residential setting after Review | select State, (New.Rate - Old.Rate) as Change from HrOlderRrDiagCompletionRate as New join hist.HrOlderRrDiagCompletionRate as Old using (State) |
HrOlderRrPocCount | HR | HR-level count of all POC measures for Older age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRrPocCountChange | HR | Change in HR-level count of all POC measures for Older age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRrPocCount as New join hist.HrOlderRrPocCount as Old using (State) |
HrOlderRrPocCountGrowth | HR | Growth in HR-level count of all POC measures for Older age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRrPocCount as New join hist.HrOlderRrPocCount as Old using (State) |
HrOlderRrPocCompleted | HR | HR-level count of completed POC measures for Older age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRrPocCompletedChange | HR | Change in HR-level count of completed POC measures for Older age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRrPocCompleted as New join hist.HrOlderRrPocCompleted as Old using (State) |
HrOlderRrPocCompletedGrowth | HR | Growth in HR-level count of completed POC measures for Older age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRrPocCompleted as New join hist.HrOlderRrPocCompleted as Old using (State) |
HrOlderRrPocCompletionRate | HR | HR-level completion rate of POC measures for Older age group in Residential setting after Review | select State, sd_div_safe(HrOlderRrPocCompleted.Total, HrOlderRrCodCount.Total, 3) as Rate from HrOlderRrPocCompleted join HrOlderRrCodCount using (State) |
HrOlderRrPocCompletionRateChange | HR | Change in HR-level completion rate of POC measures for Older age group in Residential setting after Review | select State, (New.Rate - Old.Rate) as Change from HrOlderRrPocCompletionRate as New join hist.HrOlderRrPocCompletionRate as Old using (State) |
HrOlderRrMhlsCount | HR | HR-level count of all MHLS measures for Older age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRrMhlsCountChange | HR | Change in HR-level count of all MHLS measures for Older age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRrMhlsCount as New join hist.HrOlderRrMhlsCount as Old using (State) |
HrOlderRrMhlsCountGrowth | HR | Growth in HR-level count of all MHLS measures for Older age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRrMhlsCount as New join hist.HrOlderRrMhlsCount as Old using (State) |
HrOlderRrMhlsCompleted | HR | HR-level count of completed MHLS measures for Older age group in Residential setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRrMhlsCompletedChange | HR | Change in HR-level count of completed MHLS measures for Older age group in Residential setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRrMhlsCompleted as New join hist.HrOlderRrMhlsCompleted as Old using (State) |
HrOlderRrMhlsCompletedGrowth | HR | Growth in HR-level count of completed MHLS measures for Older age group in Residential setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRrMhlsCompleted as New join hist.HrOlderRrMhlsCompleted as Old using (State) |
HrOlderRrMhlsCompletionRate | HR | HR-level completion rate of MHLS measures for Older age group in Residential setting after Review | select State, sd_div_safe(HrOlderRrMhlsCompleted.Total, HrOlderRrCodCount.Total, 3) as Rate from HrOlderRrMhlsCompleted join HrOlderRrCodCount using (State) |
HrOlderRrMhlsCompletionRateChange | HR | Change in HR-level completion rate of MHLS measures for Older age group in Residential setting after Review | select State, (New.Rate - Old.Rate) as Change from HrOlderRrMhlsCompletionRate as New join hist.HrOlderRrMhlsCompletionRate as Old using (State) |
HrOlderDrCodCount | HR | HR-level count of collection occasions for Older age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD where Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDrHonosCount | HR | HR-level count of all HONOS measures for Older age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDrHonosCountChange | HR | Change in HR-level count of all HONOS measures for Older age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDrHonosCount as New join hist.HrOlderDrHonosCount as Old using (State) |
HrOlderDrHonosCountGrowth | HR | Growth in HR-level count of all HONOS measures for Older age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDrHonosCount as New join hist.HrOlderDrHonosCount as Old using (State) |
HrOlderDrHonosCompleted | HR | HR-level count of completed HONOS measures for Older age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDrHonosCompletedChange | HR | Change in HR-level count of completed HONOS measures for Older age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDrHonosCompleted as New join hist.HrOlderDrHonosCompleted as Old using (State) |
HrOlderDrHonosCompletedGrowth | HR | Growth in HR-level count of completed HONOS measures for Older age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDrHonosCompleted as New join hist.HrOlderDrHonosCompleted as Old using (State) |
HrOlderDrHonosCompletionRate | HR | HR-level completion rate of HONOS measures for Older age group in Residential setting after Discharge | select State, sd_div_safe(HrOlderDrHonosCompleted.Total, HrOlderDrCodCount.Total, 3) as Rate from HrOlderDrHonosCompleted join HrOlderDrCodCount using (State) |
HrOlderDrHonosCompletionRateChange | HR | Change in HR-level completion rate of HONOS measures for Older age group in Residential setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrOlderDrHonosCompletionRate as New join hist.HrOlderDrHonosCompletionRate as Old using (State) |
HrOlderDrLsp16Count | HR | HR-level count of all LSP16 measures for Older age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Lsp16Completion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDrLsp16CountChange | HR | Change in HR-level count of all LSP16 measures for Older age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDrLsp16Count as New join hist.HrOlderDrLsp16Count as Old using (State) |
HrOlderDrLsp16CountGrowth | HR | Growth in HR-level count of all LSP16 measures for Older age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDrLsp16Count as New join hist.HrOlderDrLsp16Count as Old using (State) |
HrOlderDrLsp16Completed | HR | HR-level count of completed LSP16 measures for Older age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Lsp16Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDrLsp16CompletedChange | HR | Change in HR-level count of completed LSP16 measures for Older age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDrLsp16Completed as New join hist.HrOlderDrLsp16Completed as Old using (State) |
HrOlderDrLsp16CompletedGrowth | HR | Growth in HR-level count of completed LSP16 measures for Older age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDrLsp16Completed as New join hist.HrOlderDrLsp16Completed as Old using (State) |
HrOlderDrLsp16CompletionRate | HR | HR-level completion rate of LSP16 measures for Older age group in Residential setting after Discharge | select State, sd_div_safe(HrOlderDrLsp16Completed.Total, HrOlderDrCodCount.Total, 3) as Rate from HrOlderDrLsp16Completed join HrOlderDrCodCount using (State) |
HrOlderDrLsp16CompletionRateChange | HR | Change in HR-level completion rate of LSP16 measures for Older age group in Residential setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrOlderDrLsp16CompletionRate as New join hist.HrOlderDrLsp16CompletionRate as Old using (State) |
HrOlderDrBasis32Count | HR | HR-level count of all BASIS32 measures for Older age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDrBasis32CountChange | HR | Change in HR-level count of all BASIS32 measures for Older age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDrBasis32Count as New join hist.HrOlderDrBasis32Count as Old using (State) |
HrOlderDrBasis32CountGrowth | HR | Growth in HR-level count of all BASIS32 measures for Older age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDrBasis32Count as New join hist.HrOlderDrBasis32Count as Old using (State) |
HrOlderDrBasis32Completed | HR | HR-level count of completed BASIS32 measures for Older age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDrBasis32CompletedChange | HR | Change in HR-level count of completed BASIS32 measures for Older age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDrBasis32Completed as New join hist.HrOlderDrBasis32Completed as Old using (State) |
HrOlderDrBasis32CompletedGrowth | HR | Growth in HR-level count of completed BASIS32 measures for Older age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDrBasis32Completed as New join hist.HrOlderDrBasis32Completed as Old using (State) |
HrOlderDrBasis32CompletionRate | HR | HR-level completion rate of BASIS32 measures for Older age group in Residential setting after Discharge | select State, sd_div_safe(HrOlderDrBasis32Completed.Total, HrOlderDrCodCount.Total, 3) as Rate from HrOlderDrBasis32Completed join HrOlderDrCodCount using (State) |
HrOlderDrBasis32CompletionRateChange | HR | Change in HR-level completion rate of BASIS32 measures for Older age group in Residential setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrOlderDrBasis32CompletionRate as New join hist.HrOlderDrBasis32CompletionRate as Old using (State) |
HrOlderDrK10l3dCount | HR | HR-level count of all K10L3D measures for Older age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDrK10l3dCountChange | HR | Change in HR-level count of all K10L3D measures for Older age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDrK10l3dCount as New join hist.HrOlderDrK10l3dCount as Old using (State) |
HrOlderDrK10l3dCountGrowth | HR | Growth in HR-level count of all K10L3D measures for Older age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDrK10l3dCount as New join hist.HrOlderDrK10l3dCount as Old using (State) |
HrOlderDrK10l3dCompleted | HR | HR-level count of completed K10L3D measures for Older age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDrK10l3dCompletedChange | HR | Change in HR-level count of completed K10L3D measures for Older age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDrK10l3dCompleted as New join hist.HrOlderDrK10l3dCompleted as Old using (State) |
HrOlderDrK10l3dCompletedGrowth | HR | Growth in HR-level count of completed K10L3D measures for Older age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDrK10l3dCompleted as New join hist.HrOlderDrK10l3dCompleted as Old using (State) |
HrOlderDrK10l3dCompletionRate | HR | HR-level completion rate of K10L3D measures for Older age group in Residential setting after Discharge | select State, sd_div_safe(HrOlderDrK10l3dCompleted.Total, HrOlderDrCodCount.Total, 3) as Rate from HrOlderDrK10l3dCompleted join HrOlderDrCodCount using (State) |
HrOlderDrK10l3dCompletionRateChange | HR | Change in HR-level completion rate of K10L3D measures for Older age group in Residential setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrOlderDrK10l3dCompletionRate as New join hist.HrOlderDrK10l3dCompletionRate as Old using (State) |
HrOlderDrK10lmCount | HR | HR-level count of all K10LM measures for Older age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDrK10lmCountChange | HR | Change in HR-level count of all K10LM measures for Older age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDrK10lmCount as New join hist.HrOlderDrK10lmCount as Old using (State) |
HrOlderDrK10lmCountGrowth | HR | Growth in HR-level count of all K10LM measures for Older age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDrK10lmCount as New join hist.HrOlderDrK10lmCount as Old using (State) |
HrOlderDrK10lmCompleted | HR | HR-level count of completed K10LM measures for Older age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDrK10lmCompletedChange | HR | Change in HR-level count of completed K10LM measures for Older age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDrK10lmCompleted as New join hist.HrOlderDrK10lmCompleted as Old using (State) |
HrOlderDrK10lmCompletedGrowth | HR | Growth in HR-level count of completed K10LM measures for Older age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDrK10lmCompleted as New join hist.HrOlderDrK10lmCompleted as Old using (State) |
HrOlderDrK10lmCompletionRate | HR | HR-level completion rate of K10LM measures for Older age group in Residential setting after Discharge | select State, sd_div_safe(HrOlderDrK10lmCompleted.Total, HrOlderDrCodCount.Total, 3) as Rate from HrOlderDrK10lmCompleted join HrOlderDrCodCount using (State) |
HrOlderDrK10lmCompletionRateChange | HR | Change in HR-level completion rate of K10LM measures for Older age group in Residential setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrOlderDrK10lmCompletionRate as New join hist.HrOlderDrK10lmCompletionRate as Old using (State) |
HrOlderDrMhi38Count | HR | HR-level count of all MHI38 measures for Older age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDrMhi38CountChange | HR | Change in HR-level count of all MHI38 measures for Older age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDrMhi38Count as New join hist.HrOlderDrMhi38Count as Old using (State) |
HrOlderDrMhi38CountGrowth | HR | Growth in HR-level count of all MHI38 measures for Older age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDrMhi38Count as New join hist.HrOlderDrMhi38Count as Old using (State) |
HrOlderDrMhi38Completed | HR | HR-level count of completed MHI38 measures for Older age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDrMhi38CompletedChange | HR | Change in HR-level count of completed MHI38 measures for Older age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDrMhi38Completed as New join hist.HrOlderDrMhi38Completed as Old using (State) |
HrOlderDrMhi38CompletedGrowth | HR | Growth in HR-level count of completed MHI38 measures for Older age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDrMhi38Completed as New join hist.HrOlderDrMhi38Completed as Old using (State) |
HrOlderDrMhi38CompletionRate | HR | HR-level completion rate of MHI38 measures for Older age group in Residential setting after Discharge | select State, sd_div_safe(HrOlderDrMhi38Completed.Total, HrOlderDrCodCount.Total, 3) as Rate from HrOlderDrMhi38Completed join HrOlderDrCodCount using (State) |
HrOlderDrMhi38CompletionRateChange | HR | Change in HR-level completion rate of MHI38 measures for Older age group in Residential setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrOlderDrMhi38CompletionRate as New join hist.HrOlderDrMhi38CompletionRate as Old using (State) |
HrOlderDrDiagCount | HR | HR-level count of all DIAG measures for Older age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDrDiagCountChange | HR | Change in HR-level count of all DIAG measures for Older age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDrDiagCount as New join hist.HrOlderDrDiagCount as Old using (State) |
HrOlderDrDiagCountGrowth | HR | Growth in HR-level count of all DIAG measures for Older age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDrDiagCount as New join hist.HrOlderDrDiagCount as Old using (State) |
HrOlderDrDiagCompleted | HR | HR-level count of completed DIAG measures for Older age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDrDiagCompletedChange | HR | Change in HR-level count of completed DIAG measures for Older age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDrDiagCompleted as New join hist.HrOlderDrDiagCompleted as Old using (State) |
HrOlderDrDiagCompletedGrowth | HR | Growth in HR-level count of completed DIAG measures for Older age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDrDiagCompleted as New join hist.HrOlderDrDiagCompleted as Old using (State) |
HrOlderDrDiagCompletionRate | HR | HR-level completion rate of DIAG measures for Older age group in Residential setting after Discharge | select State, sd_div_safe(HrOlderDrDiagCompleted.Total, HrOlderDrCodCount.Total, 3) as Rate from HrOlderDrDiagCompleted join HrOlderDrCodCount using (State) |
HrOlderDrDiagCompletionRateChange | HR | Change in HR-level completion rate of DIAG measures for Older age group in Residential setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrOlderDrDiagCompletionRate as New join hist.HrOlderDrDiagCompletionRate as Old using (State) |
HrOlderDrMhlsCount | HR | HR-level count of all MHLS measures for Older age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDrMhlsCountChange | HR | Change in HR-level count of all MHLS measures for Older age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDrMhlsCount as New join hist.HrOlderDrMhlsCount as Old using (State) |
HrOlderDrMhlsCountGrowth | HR | Growth in HR-level count of all MHLS measures for Older age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDrMhlsCount as New join hist.HrOlderDrMhlsCount as Old using (State) |
HrOlderDrMhlsCompleted | HR | HR-level count of completed MHLS measures for Older age group in Residential setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDrMhlsCompletedChange | HR | Change in HR-level count of completed MHLS measures for Older age group in Residential setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDrMhlsCompleted as New join hist.HrOlderDrMhlsCompleted as Old using (State) |
HrOlderDrMhlsCompletedGrowth | HR | Growth in HR-level count of completed MHLS measures for Older age group in Residential setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDrMhlsCompleted as New join hist.HrOlderDrMhlsCompleted as Old using (State) |
HrOlderDrMhlsCompletionRate | HR | HR-level completion rate of MHLS measures for Older age group in Residential setting after Discharge | select State, sd_div_safe(HrOlderDrMhlsCompleted.Total, HrOlderDrCodCount.Total, 3) as Rate from HrOlderDrMhlsCompleted join HrOlderDrCodCount using (State) |
HrOlderDrMhlsCompletionRateChange | HR | Change in HR-level completion rate of MHLS measures for Older age group in Residential setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrOlderDrMhlsCompletionRate as New join hist.HrOlderDrMhlsCompletionRate as Old using (State) |
HrOlderAaCodCount | HR | HR-level count of collection occasions for Older age group in Ambulatory setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD where Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrOlderAaHonosCount | HR | HR-level count of all HONOS measures for Older age group in Ambulatory setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrOlderAaHonosCountChange | HR | Change in HR-level count of all HONOS measures for Older age group in Ambulatory setting after Admission | select State, (New.Total - Old.Total) as Change from HrOlderAaHonosCount as New join hist.HrOlderAaHonosCount as Old using (State) |
HrOlderAaHonosCountGrowth | HR | Growth in HR-level count of all HONOS measures for Older age group in Ambulatory setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderAaHonosCount as New join hist.HrOlderAaHonosCount as Old using (State) |
HrOlderAaHonosCompleted | HR | HR-level count of completed HONOS measures for Older age group in Ambulatory setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrOlderAaHonosCompletedChange | HR | Change in HR-level count of completed HONOS measures for Older age group in Ambulatory setting after Admission | select State, (New.Total - Old.Total) as Change from HrOlderAaHonosCompleted as New join hist.HrOlderAaHonosCompleted as Old using (State) |
HrOlderAaHonosCompletedGrowth | HR | Growth in HR-level count of completed HONOS measures for Older age group in Ambulatory setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderAaHonosCompleted as New join hist.HrOlderAaHonosCompleted as Old using (State) |
HrOlderAaHonosCompletionRate | HR | HR-level completion rate of HONOS measures for Older age group in Ambulatory setting after Admission | select State, sd_div_safe(HrOlderAaHonosCompleted.Total, HrOlderAaCodCount.Total, 3) as Rate from HrOlderAaHonosCompleted join HrOlderAaCodCount using (State) |
HrOlderAaHonosCompletionRateChange | HR | Change in HR-level completion rate of HONOS measures for Older age group in Ambulatory setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrOlderAaHonosCompletionRate as New join hist.HrOlderAaHonosCompletionRate as Old using (State) |
HrOlderAaBasis32Count | HR | HR-level count of all BASIS32 measures for Older age group in Ambulatory setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrOlderAaBasis32CountChange | HR | Change in HR-level count of all BASIS32 measures for Older age group in Ambulatory setting after Admission | select State, (New.Total - Old.Total) as Change from HrOlderAaBasis32Count as New join hist.HrOlderAaBasis32Count as Old using (State) |
HrOlderAaBasis32CountGrowth | HR | Growth in HR-level count of all BASIS32 measures for Older age group in Ambulatory setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderAaBasis32Count as New join hist.HrOlderAaBasis32Count as Old using (State) |
HrOlderAaBasis32Completed | HR | HR-level count of completed BASIS32 measures for Older age group in Ambulatory setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrOlderAaBasis32CompletedChange | HR | Change in HR-level count of completed BASIS32 measures for Older age group in Ambulatory setting after Admission | select State, (New.Total - Old.Total) as Change from HrOlderAaBasis32Completed as New join hist.HrOlderAaBasis32Completed as Old using (State) |
HrOlderAaBasis32CompletedGrowth | HR | Growth in HR-level count of completed BASIS32 measures for Older age group in Ambulatory setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderAaBasis32Completed as New join hist.HrOlderAaBasis32Completed as Old using (State) |
HrOlderAaBasis32CompletionRate | HR | HR-level completion rate of BASIS32 measures for Older age group in Ambulatory setting after Admission | select State, sd_div_safe(HrOlderAaBasis32Completed.Total, HrOlderAaCodCount.Total, 3) as Rate from HrOlderAaBasis32Completed join HrOlderAaCodCount using (State) |
HrOlderAaBasis32CompletionRateChange | HR | Change in HR-level completion rate of BASIS32 measures for Older age group in Ambulatory setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrOlderAaBasis32CompletionRate as New join hist.HrOlderAaBasis32CompletionRate as Old using (State) |
HrOlderAaK10l3dCount | HR | HR-level count of all K10L3D measures for Older age group in Ambulatory setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrOlderAaK10l3dCountChange | HR | Change in HR-level count of all K10L3D measures for Older age group in Ambulatory setting after Admission | select State, (New.Total - Old.Total) as Change from HrOlderAaK10l3dCount as New join hist.HrOlderAaK10l3dCount as Old using (State) |
HrOlderAaK10l3dCountGrowth | HR | Growth in HR-level count of all K10L3D measures for Older age group in Ambulatory setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderAaK10l3dCount as New join hist.HrOlderAaK10l3dCount as Old using (State) |
HrOlderAaK10l3dCompleted | HR | HR-level count of completed K10L3D measures for Older age group in Ambulatory setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrOlderAaK10l3dCompletedChange | HR | Change in HR-level count of completed K10L3D measures for Older age group in Ambulatory setting after Admission | select State, (New.Total - Old.Total) as Change from HrOlderAaK10l3dCompleted as New join hist.HrOlderAaK10l3dCompleted as Old using (State) |
HrOlderAaK10l3dCompletedGrowth | HR | Growth in HR-level count of completed K10L3D measures for Older age group in Ambulatory setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderAaK10l3dCompleted as New join hist.HrOlderAaK10l3dCompleted as Old using (State) |
HrOlderAaK10l3dCompletionRate | HR | HR-level completion rate of K10L3D measures for Older age group in Ambulatory setting after Admission | select State, sd_div_safe(HrOlderAaK10l3dCompleted.Total, HrOlderAaCodCount.Total, 3) as Rate from HrOlderAaK10l3dCompleted join HrOlderAaCodCount using (State) |
HrOlderAaK10l3dCompletionRateChange | HR | Change in HR-level completion rate of K10L3D measures for Older age group in Ambulatory setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrOlderAaK10l3dCompletionRate as New join hist.HrOlderAaK10l3dCompletionRate as Old using (State) |
HrOlderAaK10lmCount | HR | HR-level count of all K10LM measures for Older age group in Ambulatory setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrOlderAaK10lmCountChange | HR | Change in HR-level count of all K10LM measures for Older age group in Ambulatory setting after Admission | select State, (New.Total - Old.Total) as Change from HrOlderAaK10lmCount as New join hist.HrOlderAaK10lmCount as Old using (State) |
HrOlderAaK10lmCountGrowth | HR | Growth in HR-level count of all K10LM measures for Older age group in Ambulatory setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderAaK10lmCount as New join hist.HrOlderAaK10lmCount as Old using (State) |
HrOlderAaK10lmCompleted | HR | HR-level count of completed K10LM measures for Older age group in Ambulatory setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrOlderAaK10lmCompletedChange | HR | Change in HR-level count of completed K10LM measures for Older age group in Ambulatory setting after Admission | select State, (New.Total - Old.Total) as Change from HrOlderAaK10lmCompleted as New join hist.HrOlderAaK10lmCompleted as Old using (State) |
HrOlderAaK10lmCompletedGrowth | HR | Growth in HR-level count of completed K10LM measures for Older age group in Ambulatory setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderAaK10lmCompleted as New join hist.HrOlderAaK10lmCompleted as Old using (State) |
HrOlderAaK10lmCompletionRate | HR | HR-level completion rate of K10LM measures for Older age group in Ambulatory setting after Admission | select State, sd_div_safe(HrOlderAaK10lmCompleted.Total, HrOlderAaCodCount.Total, 3) as Rate from HrOlderAaK10lmCompleted join HrOlderAaCodCount using (State) |
HrOlderAaK10lmCompletionRateChange | HR | Change in HR-level completion rate of K10LM measures for Older age group in Ambulatory setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrOlderAaK10lmCompletionRate as New join hist.HrOlderAaK10lmCompletionRate as Old using (State) |
HrOlderAaMhi38Count | HR | HR-level count of all MHI38 measures for Older age group in Ambulatory setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrOlderAaMhi38CountChange | HR | Change in HR-level count of all MHI38 measures for Older age group in Ambulatory setting after Admission | select State, (New.Total - Old.Total) as Change from HrOlderAaMhi38Count as New join hist.HrOlderAaMhi38Count as Old using (State) |
HrOlderAaMhi38CountGrowth | HR | Growth in HR-level count of all MHI38 measures for Older age group in Ambulatory setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderAaMhi38Count as New join hist.HrOlderAaMhi38Count as Old using (State) |
HrOlderAaMhi38Completed | HR | HR-level count of completed MHI38 measures for Older age group in Ambulatory setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrOlderAaMhi38CompletedChange | HR | Change in HR-level count of completed MHI38 measures for Older age group in Ambulatory setting after Admission | select State, (New.Total - Old.Total) as Change from HrOlderAaMhi38Completed as New join hist.HrOlderAaMhi38Completed as Old using (State) |
HrOlderAaMhi38CompletedGrowth | HR | Growth in HR-level count of completed MHI38 measures for Older age group in Ambulatory setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderAaMhi38Completed as New join hist.HrOlderAaMhi38Completed as Old using (State) |
HrOlderAaMhi38CompletionRate | HR | HR-level completion rate of MHI38 measures for Older age group in Ambulatory setting after Admission | select State, sd_div_safe(HrOlderAaMhi38Completed.Total, HrOlderAaCodCount.Total, 3) as Rate from HrOlderAaMhi38Completed join HrOlderAaCodCount using (State) |
HrOlderAaMhi38CompletionRateChange | HR | Change in HR-level completion rate of MHI38 measures for Older age group in Ambulatory setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrOlderAaMhi38CompletionRate as New join hist.HrOlderAaMhi38CompletionRate as Old using (State) |
HrOlderAaPocCount | HR | HR-level count of all POC measures for Older age group in Ambulatory setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrOlderAaPocCountChange | HR | Change in HR-level count of all POC measures for Older age group in Ambulatory setting after Admission | select State, (New.Total - Old.Total) as Change from HrOlderAaPocCount as New join hist.HrOlderAaPocCount as Old using (State) |
HrOlderAaPocCountGrowth | HR | Growth in HR-level count of all POC measures for Older age group in Ambulatory setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderAaPocCount as New join hist.HrOlderAaPocCount as Old using (State) |
HrOlderAaPocCompleted | HR | HR-level count of completed POC measures for Older age group in Ambulatory setting after Admission | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State ) tmpinner using (State) |
HrOlderAaPocCompletedChange | HR | Change in HR-level count of completed POC measures for Older age group in Ambulatory setting after Admission | select State, (New.Total - Old.Total) as Change from HrOlderAaPocCompleted as New join hist.HrOlderAaPocCompleted as Old using (State) |
HrOlderAaPocCompletedGrowth | HR | Growth in HR-level count of completed POC measures for Older age group in Ambulatory setting after Admission | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderAaPocCompleted as New join hist.HrOlderAaPocCompleted as Old using (State) |
HrOlderAaPocCompletionRate | HR | HR-level completion rate of POC measures for Older age group in Ambulatory setting after Admission | select State, sd_div_safe(HrOlderAaPocCompleted.Total, HrOlderAaCodCount.Total, 3) as Rate from HrOlderAaPocCompleted join HrOlderAaCodCount using (State) |
HrOlderAaPocCompletionRateChange | HR | Change in HR-level completion rate of POC measures for Older age group in Ambulatory setting after Admission | select State, (New.Rate - Old.Rate) as Change from HrOlderAaPocCompletionRate as New join hist.HrOlderAaPocCompletionRate as Old using (State) |
HrOlderRaCodCount | HR | HR-level count of collection occasions for Older age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD where Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRaHonosCount | HR | HR-level count of all HONOS measures for Older age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRaHonosCountChange | HR | Change in HR-level count of all HONOS measures for Older age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRaHonosCount as New join hist.HrOlderRaHonosCount as Old using (State) |
HrOlderRaHonosCountGrowth | HR | Growth in HR-level count of all HONOS measures for Older age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRaHonosCount as New join hist.HrOlderRaHonosCount as Old using (State) |
HrOlderRaHonosCompleted | HR | HR-level count of completed HONOS measures for Older age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRaHonosCompletedChange | HR | Change in HR-level count of completed HONOS measures for Older age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRaHonosCompleted as New join hist.HrOlderRaHonosCompleted as Old using (State) |
HrOlderRaHonosCompletedGrowth | HR | Growth in HR-level count of completed HONOS measures for Older age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRaHonosCompleted as New join hist.HrOlderRaHonosCompleted as Old using (State) |
HrOlderRaHonosCompletionRate | HR | HR-level completion rate of HONOS measures for Older age group in Ambulatory setting after Review | select State, sd_div_safe(HrOlderRaHonosCompleted.Total, HrOlderRaCodCount.Total, 3) as Rate from HrOlderRaHonosCompleted join HrOlderRaCodCount using (State) |
HrOlderRaHonosCompletionRateChange | HR | Change in HR-level completion rate of HONOS measures for Older age group in Ambulatory setting after Review | select State, (New.Rate - Old.Rate) as Change from HrOlderRaHonosCompletionRate as New join hist.HrOlderRaHonosCompletionRate as Old using (State) |
HrOlderRaLsp16Count | HR | HR-level count of all LSP16 measures for Older age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Lsp16Completion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRaLsp16CountChange | HR | Change in HR-level count of all LSP16 measures for Older age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRaLsp16Count as New join hist.HrOlderRaLsp16Count as Old using (State) |
HrOlderRaLsp16CountGrowth | HR | Growth in HR-level count of all LSP16 measures for Older age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRaLsp16Count as New join hist.HrOlderRaLsp16Count as Old using (State) |
HrOlderRaLsp16Completed | HR | HR-level count of completed LSP16 measures for Older age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Lsp16Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRaLsp16CompletedChange | HR | Change in HR-level count of completed LSP16 measures for Older age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRaLsp16Completed as New join hist.HrOlderRaLsp16Completed as Old using (State) |
HrOlderRaLsp16CompletedGrowth | HR | Growth in HR-level count of completed LSP16 measures for Older age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRaLsp16Completed as New join hist.HrOlderRaLsp16Completed as Old using (State) |
HrOlderRaLsp16CompletionRate | HR | HR-level completion rate of LSP16 measures for Older age group in Ambulatory setting after Review | select State, sd_div_safe(HrOlderRaLsp16Completed.Total, HrOlderRaCodCount.Total, 3) as Rate from HrOlderRaLsp16Completed join HrOlderRaCodCount using (State) |
HrOlderRaLsp16CompletionRateChange | HR | Change in HR-level completion rate of LSP16 measures for Older age group in Ambulatory setting after Review | select State, (New.Rate - Old.Rate) as Change from HrOlderRaLsp16CompletionRate as New join hist.HrOlderRaLsp16CompletionRate as Old using (State) |
HrOlderRaBasis32Count | HR | HR-level count of all BASIS32 measures for Older age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRaBasis32CountChange | HR | Change in HR-level count of all BASIS32 measures for Older age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRaBasis32Count as New join hist.HrOlderRaBasis32Count as Old using (State) |
HrOlderRaBasis32CountGrowth | HR | Growth in HR-level count of all BASIS32 measures for Older age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRaBasis32Count as New join hist.HrOlderRaBasis32Count as Old using (State) |
HrOlderRaBasis32Completed | HR | HR-level count of completed BASIS32 measures for Older age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRaBasis32CompletedChange | HR | Change in HR-level count of completed BASIS32 measures for Older age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRaBasis32Completed as New join hist.HrOlderRaBasis32Completed as Old using (State) |
HrOlderRaBasis32CompletedGrowth | HR | Growth in HR-level count of completed BASIS32 measures for Older age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRaBasis32Completed as New join hist.HrOlderRaBasis32Completed as Old using (State) |
HrOlderRaBasis32CompletionRate | HR | HR-level completion rate of BASIS32 measures for Older age group in Ambulatory setting after Review | select State, sd_div_safe(HrOlderRaBasis32Completed.Total, HrOlderRaCodCount.Total, 3) as Rate from HrOlderRaBasis32Completed join HrOlderRaCodCount using (State) |
HrOlderRaBasis32CompletionRateChange | HR | Change in HR-level completion rate of BASIS32 measures for Older age group in Ambulatory setting after Review | select State, (New.Rate - Old.Rate) as Change from HrOlderRaBasis32CompletionRate as New join hist.HrOlderRaBasis32CompletionRate as Old using (State) |
HrOlderRaK10l3dCount | HR | HR-level count of all K10L3D measures for Older age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRaK10l3dCountChange | HR | Change in HR-level count of all K10L3D measures for Older age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRaK10l3dCount as New join hist.HrOlderRaK10l3dCount as Old using (State) |
HrOlderRaK10l3dCountGrowth | HR | Growth in HR-level count of all K10L3D measures for Older age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRaK10l3dCount as New join hist.HrOlderRaK10l3dCount as Old using (State) |
HrOlderRaK10l3dCompleted | HR | HR-level count of completed K10L3D measures for Older age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRaK10l3dCompletedChange | HR | Change in HR-level count of completed K10L3D measures for Older age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRaK10l3dCompleted as New join hist.HrOlderRaK10l3dCompleted as Old using (State) |
HrOlderRaK10l3dCompletedGrowth | HR | Growth in HR-level count of completed K10L3D measures for Older age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRaK10l3dCompleted as New join hist.HrOlderRaK10l3dCompleted as Old using (State) |
HrOlderRaK10l3dCompletionRate | HR | HR-level completion rate of K10L3D measures for Older age group in Ambulatory setting after Review | select State, sd_div_safe(HrOlderRaK10l3dCompleted.Total, HrOlderRaCodCount.Total, 3) as Rate from HrOlderRaK10l3dCompleted join HrOlderRaCodCount using (State) |
HrOlderRaK10l3dCompletionRateChange | HR | Change in HR-level completion rate of K10L3D measures for Older age group in Ambulatory setting after Review | select State, (New.Rate - Old.Rate) as Change from HrOlderRaK10l3dCompletionRate as New join hist.HrOlderRaK10l3dCompletionRate as Old using (State) |
HrOlderRaK10lmCount | HR | HR-level count of all K10LM measures for Older age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRaK10lmCountChange | HR | Change in HR-level count of all K10LM measures for Older age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRaK10lmCount as New join hist.HrOlderRaK10lmCount as Old using (State) |
HrOlderRaK10lmCountGrowth | HR | Growth in HR-level count of all K10LM measures for Older age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRaK10lmCount as New join hist.HrOlderRaK10lmCount as Old using (State) |
HrOlderRaK10lmCompleted | HR | HR-level count of completed K10LM measures for Older age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRaK10lmCompletedChange | HR | Change in HR-level count of completed K10LM measures for Older age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRaK10lmCompleted as New join hist.HrOlderRaK10lmCompleted as Old using (State) |
HrOlderRaK10lmCompletedGrowth | HR | Growth in HR-level count of completed K10LM measures for Older age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRaK10lmCompleted as New join hist.HrOlderRaK10lmCompleted as Old using (State) |
HrOlderRaK10lmCompletionRate | HR | HR-level completion rate of K10LM measures for Older age group in Ambulatory setting after Review | select State, sd_div_safe(HrOlderRaK10lmCompleted.Total, HrOlderRaCodCount.Total, 3) as Rate from HrOlderRaK10lmCompleted join HrOlderRaCodCount using (State) |
HrOlderRaK10lmCompletionRateChange | HR | Change in HR-level completion rate of K10LM measures for Older age group in Ambulatory setting after Review | select State, (New.Rate - Old.Rate) as Change from HrOlderRaK10lmCompletionRate as New join hist.HrOlderRaK10lmCompletionRate as Old using (State) |
HrOlderRaMhi38Count | HR | HR-level count of all MHI38 measures for Older age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRaMhi38CountChange | HR | Change in HR-level count of all MHI38 measures for Older age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRaMhi38Count as New join hist.HrOlderRaMhi38Count as Old using (State) |
HrOlderRaMhi38CountGrowth | HR | Growth in HR-level count of all MHI38 measures for Older age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRaMhi38Count as New join hist.HrOlderRaMhi38Count as Old using (State) |
HrOlderRaMhi38Completed | HR | HR-level count of completed MHI38 measures for Older age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRaMhi38CompletedChange | HR | Change in HR-level count of completed MHI38 measures for Older age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRaMhi38Completed as New join hist.HrOlderRaMhi38Completed as Old using (State) |
HrOlderRaMhi38CompletedGrowth | HR | Growth in HR-level count of completed MHI38 measures for Older age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRaMhi38Completed as New join hist.HrOlderRaMhi38Completed as Old using (State) |
HrOlderRaMhi38CompletionRate | HR | HR-level completion rate of MHI38 measures for Older age group in Ambulatory setting after Review | select State, sd_div_safe(HrOlderRaMhi38Completed.Total, HrOlderRaCodCount.Total, 3) as Rate from HrOlderRaMhi38Completed join HrOlderRaCodCount using (State) |
HrOlderRaMhi38CompletionRateChange | HR | Change in HR-level completion rate of MHI38 measures for Older age group in Ambulatory setting after Review | select State, (New.Rate - Old.Rate) as Change from HrOlderRaMhi38CompletionRate as New join hist.HrOlderRaMhi38CompletionRate as Old using (State) |
HrOlderRaDiagCount | HR | HR-level count of all DIAG measures for Older age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRaDiagCountChange | HR | Change in HR-level count of all DIAG measures for Older age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRaDiagCount as New join hist.HrOlderRaDiagCount as Old using (State) |
HrOlderRaDiagCountGrowth | HR | Growth in HR-level count of all DIAG measures for Older age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRaDiagCount as New join hist.HrOlderRaDiagCount as Old using (State) |
HrOlderRaDiagCompleted | HR | HR-level count of completed DIAG measures for Older age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRaDiagCompletedChange | HR | Change in HR-level count of completed DIAG measures for Older age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRaDiagCompleted as New join hist.HrOlderRaDiagCompleted as Old using (State) |
HrOlderRaDiagCompletedGrowth | HR | Growth in HR-level count of completed DIAG measures for Older age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRaDiagCompleted as New join hist.HrOlderRaDiagCompleted as Old using (State) |
HrOlderRaDiagCompletionRate | HR | HR-level completion rate of DIAG measures for Older age group in Ambulatory setting after Review | select State, sd_div_safe(HrOlderRaDiagCompleted.Total, HrOlderRaCodCount.Total, 3) as Rate from HrOlderRaDiagCompleted join HrOlderRaCodCount using (State) |
HrOlderRaDiagCompletionRateChange | HR | Change in HR-level completion rate of DIAG measures for Older age group in Ambulatory setting after Review | select State, (New.Rate - Old.Rate) as Change from HrOlderRaDiagCompletionRate as New join hist.HrOlderRaDiagCompletionRate as Old using (State) |
HrOlderRaPocCount | HR | HR-level count of all POC measures for Older age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRaPocCountChange | HR | Change in HR-level count of all POC measures for Older age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRaPocCount as New join hist.HrOlderRaPocCount as Old using (State) |
HrOlderRaPocCountGrowth | HR | Growth in HR-level count of all POC measures for Older age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRaPocCount as New join hist.HrOlderRaPocCount as Old using (State) |
HrOlderRaPocCompleted | HR | HR-level count of completed POC measures for Older age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRaPocCompletedChange | HR | Change in HR-level count of completed POC measures for Older age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRaPocCompleted as New join hist.HrOlderRaPocCompleted as Old using (State) |
HrOlderRaPocCompletedGrowth | HR | Growth in HR-level count of completed POC measures for Older age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRaPocCompleted as New join hist.HrOlderRaPocCompleted as Old using (State) |
HrOlderRaPocCompletionRate | HR | HR-level completion rate of POC measures for Older age group in Ambulatory setting after Review | select State, sd_div_safe(HrOlderRaPocCompleted.Total, HrOlderRaCodCount.Total, 3) as Rate from HrOlderRaPocCompleted join HrOlderRaCodCount using (State) |
HrOlderRaPocCompletionRateChange | HR | Change in HR-level completion rate of POC measures for Older age group in Ambulatory setting after Review | select State, (New.Rate - Old.Rate) as Change from HrOlderRaPocCompletionRate as New join hist.HrOlderRaPocCompletionRate as Old using (State) |
HrOlderRaMhlsCount | HR | HR-level count of all MHLS measures for Older age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRaMhlsCountChange | HR | Change in HR-level count of all MHLS measures for Older age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRaMhlsCount as New join hist.HrOlderRaMhlsCount as Old using (State) |
HrOlderRaMhlsCountGrowth | HR | Growth in HR-level count of all MHLS measures for Older age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRaMhlsCount as New join hist.HrOlderRaMhlsCount as Old using (State) |
HrOlderRaMhlsCompleted | HR | HR-level count of completed MHLS measures for Older age group in Ambulatory setting after Review | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State ) tmpinner using (State) |
HrOlderRaMhlsCompletedChange | HR | Change in HR-level count of completed MHLS measures for Older age group in Ambulatory setting after Review | select State, (New.Total - Old.Total) as Change from HrOlderRaMhlsCompleted as New join hist.HrOlderRaMhlsCompleted as Old using (State) |
HrOlderRaMhlsCompletedGrowth | HR | Growth in HR-level count of completed MHLS measures for Older age group in Ambulatory setting after Review | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderRaMhlsCompleted as New join hist.HrOlderRaMhlsCompleted as Old using (State) |
HrOlderRaMhlsCompletionRate | HR | HR-level completion rate of MHLS measures for Older age group in Ambulatory setting after Review | select State, sd_div_safe(HrOlderRaMhlsCompleted.Total, HrOlderRaCodCount.Total, 3) as Rate from HrOlderRaMhlsCompleted join HrOlderRaCodCount using (State) |
HrOlderRaMhlsCompletionRateChange | HR | Change in HR-level completion rate of MHLS measures for Older age group in Ambulatory setting after Review | select State, (New.Rate - Old.Rate) as Change from HrOlderRaMhlsCompletionRate as New join hist.HrOlderRaMhlsCompletionRate as Old using (State) |
HrOlderDaCodCount | HR | HR-level count of collection occasions for Older age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD where Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDaHonosCount | HR | HR-level count of all HONOS measures for Older age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDaHonosCountChange | HR | Change in HR-level count of all HONOS measures for Older age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDaHonosCount as New join hist.HrOlderDaHonosCount as Old using (State) |
HrOlderDaHonosCountGrowth | HR | Growth in HR-level count of all HONOS measures for Older age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDaHonosCount as New join hist.HrOlderDaHonosCount as Old using (State) |
HrOlderDaHonosCompleted | HR | HR-level count of completed HONOS measures for Older age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDaHonosCompletedChange | HR | Change in HR-level count of completed HONOS measures for Older age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDaHonosCompleted as New join hist.HrOlderDaHonosCompleted as Old using (State) |
HrOlderDaHonosCompletedGrowth | HR | Growth in HR-level count of completed HONOS measures for Older age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDaHonosCompleted as New join hist.HrOlderDaHonosCompleted as Old using (State) |
HrOlderDaHonosCompletionRate | HR | HR-level completion rate of HONOS measures for Older age group in Ambulatory setting after Discharge | select State, sd_div_safe(HrOlderDaHonosCompleted.Total, HrOlderDaCodCount.Total, 3) as Rate from HrOlderDaHonosCompleted join HrOlderDaCodCount using (State) |
HrOlderDaHonosCompletionRateChange | HR | Change in HR-level completion rate of HONOS measures for Older age group in Ambulatory setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrOlderDaHonosCompletionRate as New join hist.HrOlderDaHonosCompletionRate as Old using (State) |
HrOlderDaLsp16Count | HR | HR-level count of all LSP16 measures for Older age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Lsp16Completion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDaLsp16CountChange | HR | Change in HR-level count of all LSP16 measures for Older age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDaLsp16Count as New join hist.HrOlderDaLsp16Count as Old using (State) |
HrOlderDaLsp16CountGrowth | HR | Growth in HR-level count of all LSP16 measures for Older age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDaLsp16Count as New join hist.HrOlderDaLsp16Count as Old using (State) |
HrOlderDaLsp16Completed | HR | HR-level count of completed LSP16 measures for Older age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Lsp16Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDaLsp16CompletedChange | HR | Change in HR-level count of completed LSP16 measures for Older age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDaLsp16Completed as New join hist.HrOlderDaLsp16Completed as Old using (State) |
HrOlderDaLsp16CompletedGrowth | HR | Growth in HR-level count of completed LSP16 measures for Older age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDaLsp16Completed as New join hist.HrOlderDaLsp16Completed as Old using (State) |
HrOlderDaLsp16CompletionRate | HR | HR-level completion rate of LSP16 measures for Older age group in Ambulatory setting after Discharge | select State, sd_div_safe(HrOlderDaLsp16Completed.Total, HrOlderDaCodCount.Total, 3) as Rate from HrOlderDaLsp16Completed join HrOlderDaCodCount using (State) |
HrOlderDaLsp16CompletionRateChange | HR | Change in HR-level completion rate of LSP16 measures for Older age group in Ambulatory setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrOlderDaLsp16CompletionRate as New join hist.HrOlderDaLsp16CompletionRate as Old using (State) |
HrOlderDaBasis32Count | HR | HR-level count of all BASIS32 measures for Older age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDaBasis32CountChange | HR | Change in HR-level count of all BASIS32 measures for Older age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDaBasis32Count as New join hist.HrOlderDaBasis32Count as Old using (State) |
HrOlderDaBasis32CountGrowth | HR | Growth in HR-level count of all BASIS32 measures for Older age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDaBasis32Count as New join hist.HrOlderDaBasis32Count as Old using (State) |
HrOlderDaBasis32Completed | HR | HR-level count of completed BASIS32 measures for Older age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDaBasis32CompletedChange | HR | Change in HR-level count of completed BASIS32 measures for Older age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDaBasis32Completed as New join hist.HrOlderDaBasis32Completed as Old using (State) |
HrOlderDaBasis32CompletedGrowth | HR | Growth in HR-level count of completed BASIS32 measures for Older age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDaBasis32Completed as New join hist.HrOlderDaBasis32Completed as Old using (State) |
HrOlderDaBasis32CompletionRate | HR | HR-level completion rate of BASIS32 measures for Older age group in Ambulatory setting after Discharge | select State, sd_div_safe(HrOlderDaBasis32Completed.Total, HrOlderDaCodCount.Total, 3) as Rate from HrOlderDaBasis32Completed join HrOlderDaCodCount using (State) |
HrOlderDaBasis32CompletionRateChange | HR | Change in HR-level completion rate of BASIS32 measures for Older age group in Ambulatory setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrOlderDaBasis32CompletionRate as New join hist.HrOlderDaBasis32CompletionRate as Old using (State) |
HrOlderDaK10l3dCount | HR | HR-level count of all K10L3D measures for Older age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDaK10l3dCountChange | HR | Change in HR-level count of all K10L3D measures for Older age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDaK10l3dCount as New join hist.HrOlderDaK10l3dCount as Old using (State) |
HrOlderDaK10l3dCountGrowth | HR | Growth in HR-level count of all K10L3D measures for Older age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDaK10l3dCount as New join hist.HrOlderDaK10l3dCount as Old using (State) |
HrOlderDaK10l3dCompleted | HR | HR-level count of completed K10L3D measures for Older age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDaK10l3dCompletedChange | HR | Change in HR-level count of completed K10L3D measures for Older age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDaK10l3dCompleted as New join hist.HrOlderDaK10l3dCompleted as Old using (State) |
HrOlderDaK10l3dCompletedGrowth | HR | Growth in HR-level count of completed K10L3D measures for Older age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDaK10l3dCompleted as New join hist.HrOlderDaK10l3dCompleted as Old using (State) |
HrOlderDaK10l3dCompletionRate | HR | HR-level completion rate of K10L3D measures for Older age group in Ambulatory setting after Discharge | select State, sd_div_safe(HrOlderDaK10l3dCompleted.Total, HrOlderDaCodCount.Total, 3) as Rate from HrOlderDaK10l3dCompleted join HrOlderDaCodCount using (State) |
HrOlderDaK10l3dCompletionRateChange | HR | Change in HR-level completion rate of K10L3D measures for Older age group in Ambulatory setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrOlderDaK10l3dCompletionRate as New join hist.HrOlderDaK10l3dCompletionRate as Old using (State) |
HrOlderDaK10lmCount | HR | HR-level count of all K10LM measures for Older age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDaK10lmCountChange | HR | Change in HR-level count of all K10LM measures for Older age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDaK10lmCount as New join hist.HrOlderDaK10lmCount as Old using (State) |
HrOlderDaK10lmCountGrowth | HR | Growth in HR-level count of all K10LM measures for Older age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDaK10lmCount as New join hist.HrOlderDaK10lmCount as Old using (State) |
HrOlderDaK10lmCompleted | HR | HR-level count of completed K10LM measures for Older age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDaK10lmCompletedChange | HR | Change in HR-level count of completed K10LM measures for Older age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDaK10lmCompleted as New join hist.HrOlderDaK10lmCompleted as Old using (State) |
HrOlderDaK10lmCompletedGrowth | HR | Growth in HR-level count of completed K10LM measures for Older age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDaK10lmCompleted as New join hist.HrOlderDaK10lmCompleted as Old using (State) |
HrOlderDaK10lmCompletionRate | HR | HR-level completion rate of K10LM measures for Older age group in Ambulatory setting after Discharge | select State, sd_div_safe(HrOlderDaK10lmCompleted.Total, HrOlderDaCodCount.Total, 3) as Rate from HrOlderDaK10lmCompleted join HrOlderDaCodCount using (State) |
HrOlderDaK10lmCompletionRateChange | HR | Change in HR-level completion rate of K10LM measures for Older age group in Ambulatory setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrOlderDaK10lmCompletionRate as New join hist.HrOlderDaK10lmCompletionRate as Old using (State) |
HrOlderDaMhi38Count | HR | HR-level count of all MHI38 measures for Older age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDaMhi38CountChange | HR | Change in HR-level count of all MHI38 measures for Older age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDaMhi38Count as New join hist.HrOlderDaMhi38Count as Old using (State) |
HrOlderDaMhi38CountGrowth | HR | Growth in HR-level count of all MHI38 measures for Older age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDaMhi38Count as New join hist.HrOlderDaMhi38Count as Old using (State) |
HrOlderDaMhi38Completed | HR | HR-level count of completed MHI38 measures for Older age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDaMhi38CompletedChange | HR | Change in HR-level count of completed MHI38 measures for Older age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDaMhi38Completed as New join hist.HrOlderDaMhi38Completed as Old using (State) |
HrOlderDaMhi38CompletedGrowth | HR | Growth in HR-level count of completed MHI38 measures for Older age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDaMhi38Completed as New join hist.HrOlderDaMhi38Completed as Old using (State) |
HrOlderDaMhi38CompletionRate | HR | HR-level completion rate of MHI38 measures for Older age group in Ambulatory setting after Discharge | select State, sd_div_safe(HrOlderDaMhi38Completed.Total, HrOlderDaCodCount.Total, 3) as Rate from HrOlderDaMhi38Completed join HrOlderDaCodCount using (State) |
HrOlderDaMhi38CompletionRateChange | HR | Change in HR-level completion rate of MHI38 measures for Older age group in Ambulatory setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrOlderDaMhi38CompletionRate as New join hist.HrOlderDaMhi38CompletionRate as Old using (State) |
HrOlderDaDiagCount | HR | HR-level count of all DIAG measures for Older age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDaDiagCountChange | HR | Change in HR-level count of all DIAG measures for Older age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDaDiagCount as New join hist.HrOlderDaDiagCount as Old using (State) |
HrOlderDaDiagCountGrowth | HR | Growth in HR-level count of all DIAG measures for Older age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDaDiagCount as New join hist.HrOlderDaDiagCount as Old using (State) |
HrOlderDaDiagCompleted | HR | HR-level count of completed DIAG measures for Older age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDaDiagCompletedChange | HR | Change in HR-level count of completed DIAG measures for Older age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDaDiagCompleted as New join hist.HrOlderDaDiagCompleted as Old using (State) |
HrOlderDaDiagCompletedGrowth | HR | Growth in HR-level count of completed DIAG measures for Older age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDaDiagCompleted as New join hist.HrOlderDaDiagCompleted as Old using (State) |
HrOlderDaDiagCompletionRate | HR | HR-level completion rate of DIAG measures for Older age group in Ambulatory setting after Discharge | select State, sd_div_safe(HrOlderDaDiagCompleted.Total, HrOlderDaCodCount.Total, 3) as Rate from HrOlderDaDiagCompleted join HrOlderDaCodCount using (State) |
HrOlderDaDiagCompletionRateChange | HR | Change in HR-level completion rate of DIAG measures for Older age group in Ambulatory setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrOlderDaDiagCompletionRate as New join hist.HrOlderDaDiagCompletionRate as Old using (State) |
HrOlderDaMhlsCount | HR | HR-level count of all MHLS measures for Older age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDaMhlsCountChange | HR | Change in HR-level count of all MHLS measures for Older age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDaMhlsCount as New join hist.HrOlderDaMhlsCount as Old using (State) |
HrOlderDaMhlsCountGrowth | HR | Growth in HR-level count of all MHLS measures for Older age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDaMhlsCount as New join hist.HrOlderDaMhlsCount as Old using (State) |
HrOlderDaMhlsCompleted | HR | HR-level count of completed MHLS measures for Older age group in Ambulatory setting after Discharge | select State, coalesce(Count, 0) as Total from HR left join ( select State, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State ) tmpinner using (State) |
HrOlderDaMhlsCompletedChange | HR | Change in HR-level count of completed MHLS measures for Older age group in Ambulatory setting after Discharge | select State, (New.Total - Old.Total) as Change from HrOlderDaMhlsCompleted as New join hist.HrOlderDaMhlsCompleted as Old using (State) |
HrOlderDaMhlsCompletedGrowth | HR | Growth in HR-level count of completed MHLS measures for Older age group in Ambulatory setting after Discharge | select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from HrOlderDaMhlsCompleted as New join hist.HrOlderDaMhlsCompleted as Old using (State) |
HrOlderDaMhlsCompletionRate | HR | HR-level completion rate of MHLS measures for Older age group in Ambulatory setting after Discharge | select State, sd_div_safe(HrOlderDaMhlsCompleted.Total, HrOlderDaCodCount.Total, 3) as Rate from HrOlderDaMhlsCompleted join HrOlderDaCodCount using (State) |
HrOlderDaMhlsCompletionRateChange | HR | Change in HR-level completion rate of MHLS measures for Older age group in Ambulatory setting after Discharge | select State, (New.Rate - Old.Rate) as Change from HrOlderDaMhlsCompletionRate as New join hist.HrOlderDaMhlsCompletionRate as Old using (State) |
RegChildAiCodCount | REG | REG-level count of collection occasions for Child age group in Inpatient setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD where Setting = '1' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegChildAiHonoscaCount | REG | REG-level count of all HONOSCA measures for Child age group in Inpatient setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonoscaCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegChildAiHonoscaCountChange | REG | Change in REG-level count of all HONOSCA measures for Child age group in Inpatient setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegChildAiHonoscaCount as New join hist.RegChildAiHonoscaCount as Old using (State, RegId) |
RegChildAiHonoscaCountGrowth | REG | Growth in REG-level count of all HONOSCA measures for Child age group in Inpatient setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildAiHonoscaCount as New join hist.RegChildAiHonoscaCount as Old using (State, RegId) |
RegChildAiHonoscaCompleted | REG | REG-level count of completed HONOSCA measures for Child age group in Inpatient setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonoscaCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegChildAiHonoscaCompletedChange | REG | Change in REG-level count of completed HONOSCA measures for Child age group in Inpatient setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegChildAiHonoscaCompleted as New join hist.RegChildAiHonoscaCompleted as Old using (State, RegId) |
RegChildAiHonoscaCompletedGrowth | REG | Growth in REG-level count of completed HONOSCA measures for Child age group in Inpatient setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildAiHonoscaCompleted as New join hist.RegChildAiHonoscaCompleted as Old using (State, RegId) |
RegChildAiHonoscaCompletionRate | REG | REG-level completion rate of HONOSCA measures for Child age group in Inpatient setting after Admission | select State, RegId, sd_div_safe(RegChildAiHonoscaCompleted.Total, RegChildAiCodCount.Total, 3) as Rate from RegChildAiHonoscaCompleted join RegChildAiCodCount using (State, RegId) |
RegChildAiHonoscaCompletionRateChange | REG | Change in REG-level completion rate of HONOSCA measures for Child age group in Inpatient setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildAiHonoscaCompletionRate as New join hist.RegChildAiHonoscaCompletionRate as Old using (State, RegId) |
RegChildAiCgasCount | REG | REG-level count of all CGAS measures for Child age group in Inpatient setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join CgasCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegChildAiCgasCountChange | REG | Change in REG-level count of all CGAS measures for Child age group in Inpatient setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegChildAiCgasCount as New join hist.RegChildAiCgasCount as Old using (State, RegId) |
RegChildAiCgasCountGrowth | REG | Growth in REG-level count of all CGAS measures for Child age group in Inpatient setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildAiCgasCount as New join hist.RegChildAiCgasCount as Old using (State, RegId) |
RegChildAiCgasCompleted | REG | REG-level count of completed CGAS measures for Child age group in Inpatient setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join CgasCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegChildAiCgasCompletedChange | REG | Change in REG-level count of completed CGAS measures for Child age group in Inpatient setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegChildAiCgasCompleted as New join hist.RegChildAiCgasCompleted as Old using (State, RegId) |
RegChildAiCgasCompletedGrowth | REG | Growth in REG-level count of completed CGAS measures for Child age group in Inpatient setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildAiCgasCompleted as New join hist.RegChildAiCgasCompleted as Old using (State, RegId) |
RegChildAiCgasCompletionRate | REG | REG-level completion rate of CGAS measures for Child age group in Inpatient setting after Admission | select State, RegId, sd_div_safe(RegChildAiCgasCompleted.Total, RegChildAiCodCount.Total, 3) as Rate from RegChildAiCgasCompleted join RegChildAiCodCount using (State, RegId) |
RegChildAiCgasCompletionRateChange | REG | Change in REG-level completion rate of CGAS measures for Child age group in Inpatient setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildAiCgasCompletionRate as New join hist.RegChildAiCgasCompletionRate as Old using (State, RegId) |
RegChildAiSdqCount | REG | REG-level count of all SDQ measures for Child age group in Inpatient setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join SdqCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegChildAiSdqCountChange | REG | Change in REG-level count of all SDQ measures for Child age group in Inpatient setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegChildAiSdqCount as New join hist.RegChildAiSdqCount as Old using (State, RegId) |
RegChildAiSdqCountGrowth | REG | Growth in REG-level count of all SDQ measures for Child age group in Inpatient setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildAiSdqCount as New join hist.RegChildAiSdqCount as Old using (State, RegId) |
RegChildAiSdqCompleted | REG | REG-level count of completed SDQ measures for Child age group in Inpatient setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join SdqCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegChildAiSdqCompletedChange | REG | Change in REG-level count of completed SDQ measures for Child age group in Inpatient setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegChildAiSdqCompleted as New join hist.RegChildAiSdqCompleted as Old using (State, RegId) |
RegChildAiSdqCompletedGrowth | REG | Growth in REG-level count of completed SDQ measures for Child age group in Inpatient setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildAiSdqCompleted as New join hist.RegChildAiSdqCompleted as Old using (State, RegId) |
RegChildAiSdqCompletionRate | REG | REG-level completion rate of SDQ measures for Child age group in Inpatient setting after Admission | select State, RegId, sd_div_safe(RegChildAiSdqCompleted.Total, RegChildAiCodCount.Total, 3) as Rate from RegChildAiSdqCompleted join RegChildAiCodCount using (State, RegId) |
RegChildAiSdqCompletionRateChange | REG | Change in REG-level completion rate of SDQ measures for Child age group in Inpatient setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildAiSdqCompletionRate as New join hist.RegChildAiSdqCompletionRate as Old using (State, RegId) |
RegChildRiCodCount | REG | REG-level count of collection occasions for Child age group in Inpatient setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD where Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRiHonoscaCount | REG | REG-level count of all HONOSCA measures for Child age group in Inpatient setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonoscaCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRiHonoscaCountChange | REG | Change in REG-level count of all HONOSCA measures for Child age group in Inpatient setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRiHonoscaCount as New join hist.RegChildRiHonoscaCount as Old using (State, RegId) |
RegChildRiHonoscaCountGrowth | REG | Growth in REG-level count of all HONOSCA measures for Child age group in Inpatient setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRiHonoscaCount as New join hist.RegChildRiHonoscaCount as Old using (State, RegId) |
RegChildRiHonoscaCompleted | REG | REG-level count of completed HONOSCA measures for Child age group in Inpatient setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonoscaCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRiHonoscaCompletedChange | REG | Change in REG-level count of completed HONOSCA measures for Child age group in Inpatient setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRiHonoscaCompleted as New join hist.RegChildRiHonoscaCompleted as Old using (State, RegId) |
RegChildRiHonoscaCompletedGrowth | REG | Growth in REG-level count of completed HONOSCA measures for Child age group in Inpatient setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRiHonoscaCompleted as New join hist.RegChildRiHonoscaCompleted as Old using (State, RegId) |
RegChildRiHonoscaCompletionRate | REG | REG-level completion rate of HONOSCA measures for Child age group in Inpatient setting after Review | select State, RegId, sd_div_safe(RegChildRiHonoscaCompleted.Total, RegChildRiCodCount.Total, 3) as Rate from RegChildRiHonoscaCompleted join RegChildRiCodCount using (State, RegId) |
RegChildRiHonoscaCompletionRateChange | REG | Change in REG-level completion rate of HONOSCA measures for Child age group in Inpatient setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildRiHonoscaCompletionRate as New join hist.RegChildRiHonoscaCompletionRate as Old using (State, RegId) |
RegChildRiCgasCount | REG | REG-level count of all CGAS measures for Child age group in Inpatient setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join CgasCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRiCgasCountChange | REG | Change in REG-level count of all CGAS measures for Child age group in Inpatient setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRiCgasCount as New join hist.RegChildRiCgasCount as Old using (State, RegId) |
RegChildRiCgasCountGrowth | REG | Growth in REG-level count of all CGAS measures for Child age group in Inpatient setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRiCgasCount as New join hist.RegChildRiCgasCount as Old using (State, RegId) |
RegChildRiCgasCompleted | REG | REG-level count of completed CGAS measures for Child age group in Inpatient setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join CgasCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRiCgasCompletedChange | REG | Change in REG-level count of completed CGAS measures for Child age group in Inpatient setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRiCgasCompleted as New join hist.RegChildRiCgasCompleted as Old using (State, RegId) |
RegChildRiCgasCompletedGrowth | REG | Growth in REG-level count of completed CGAS measures for Child age group in Inpatient setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRiCgasCompleted as New join hist.RegChildRiCgasCompleted as Old using (State, RegId) |
RegChildRiCgasCompletionRate | REG | REG-level completion rate of CGAS measures for Child age group in Inpatient setting after Review | select State, RegId, sd_div_safe(RegChildRiCgasCompleted.Total, RegChildRiCodCount.Total, 3) as Rate from RegChildRiCgasCompleted join RegChildRiCodCount using (State, RegId) |
RegChildRiCgasCompletionRateChange | REG | Change in REG-level completion rate of CGAS measures for Child age group in Inpatient setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildRiCgasCompletionRate as New join hist.RegChildRiCgasCompletionRate as Old using (State, RegId) |
RegChildRiFihsCount | REG | REG-level count of all FIHS measures for Child age group in Inpatient setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join FihsCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRiFihsCountChange | REG | Change in REG-level count of all FIHS measures for Child age group in Inpatient setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRiFihsCount as New join hist.RegChildRiFihsCount as Old using (State, RegId) |
RegChildRiFihsCountGrowth | REG | Growth in REG-level count of all FIHS measures for Child age group in Inpatient setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRiFihsCount as New join hist.RegChildRiFihsCount as Old using (State, RegId) |
RegChildRiFihsCompleted | REG | REG-level count of completed FIHS measures for Child age group in Inpatient setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join FihsCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRiFihsCompletedChange | REG | Change in REG-level count of completed FIHS measures for Child age group in Inpatient setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRiFihsCompleted as New join hist.RegChildRiFihsCompleted as Old using (State, RegId) |
RegChildRiFihsCompletedGrowth | REG | Growth in REG-level count of completed FIHS measures for Child age group in Inpatient setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRiFihsCompleted as New join hist.RegChildRiFihsCompleted as Old using (State, RegId) |
RegChildRiFihsCompletionRate | REG | REG-level completion rate of FIHS measures for Child age group in Inpatient setting after Review | select State, RegId, sd_div_safe(RegChildRiFihsCompleted.Total, RegChildRiCodCount.Total, 3) as Rate from RegChildRiFihsCompleted join RegChildRiCodCount using (State, RegId) |
RegChildRiFihsCompletionRateChange | REG | Change in REG-level completion rate of FIHS measures for Child age group in Inpatient setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildRiFihsCompletionRate as New join hist.RegChildRiFihsCompletionRate as Old using (State, RegId) |
RegChildRiSdqCount | REG | REG-level count of all SDQ measures for Child age group in Inpatient setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join SdqCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRiSdqCountChange | REG | Change in REG-level count of all SDQ measures for Child age group in Inpatient setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRiSdqCount as New join hist.RegChildRiSdqCount as Old using (State, RegId) |
RegChildRiSdqCountGrowth | REG | Growth in REG-level count of all SDQ measures for Child age group in Inpatient setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRiSdqCount as New join hist.RegChildRiSdqCount as Old using (State, RegId) |
RegChildRiSdqCompleted | REG | REG-level count of completed SDQ measures for Child age group in Inpatient setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join SdqCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRiSdqCompletedChange | REG | Change in REG-level count of completed SDQ measures for Child age group in Inpatient setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRiSdqCompleted as New join hist.RegChildRiSdqCompleted as Old using (State, RegId) |
RegChildRiSdqCompletedGrowth | REG | Growth in REG-level count of completed SDQ measures for Child age group in Inpatient setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRiSdqCompleted as New join hist.RegChildRiSdqCompleted as Old using (State, RegId) |
RegChildRiSdqCompletionRate | REG | REG-level completion rate of SDQ measures for Child age group in Inpatient setting after Review | select State, RegId, sd_div_safe(RegChildRiSdqCompleted.Total, RegChildRiCodCount.Total, 3) as Rate from RegChildRiSdqCompleted join RegChildRiCodCount using (State, RegId) |
RegChildRiSdqCompletionRateChange | REG | Change in REG-level completion rate of SDQ measures for Child age group in Inpatient setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildRiSdqCompletionRate as New join hist.RegChildRiSdqCompletionRate as Old using (State, RegId) |
RegChildRiDiagCount | REG | REG-level count of all DIAG measures for Child age group in Inpatient setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRiDiagCountChange | REG | Change in REG-level count of all DIAG measures for Child age group in Inpatient setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRiDiagCount as New join hist.RegChildRiDiagCount as Old using (State, RegId) |
RegChildRiDiagCountGrowth | REG | Growth in REG-level count of all DIAG measures for Child age group in Inpatient setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRiDiagCount as New join hist.RegChildRiDiagCount as Old using (State, RegId) |
RegChildRiDiagCompleted | REG | REG-level count of completed DIAG measures for Child age group in Inpatient setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRiDiagCompletedChange | REG | Change in REG-level count of completed DIAG measures for Child age group in Inpatient setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRiDiagCompleted as New join hist.RegChildRiDiagCompleted as Old using (State, RegId) |
RegChildRiDiagCompletedGrowth | REG | Growth in REG-level count of completed DIAG measures for Child age group in Inpatient setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRiDiagCompleted as New join hist.RegChildRiDiagCompleted as Old using (State, RegId) |
RegChildRiDiagCompletionRate | REG | REG-level completion rate of DIAG measures for Child age group in Inpatient setting after Review | select State, RegId, sd_div_safe(RegChildRiDiagCompleted.Total, RegChildRiCodCount.Total, 3) as Rate from RegChildRiDiagCompleted join RegChildRiCodCount using (State, RegId) |
RegChildRiDiagCompletionRateChange | REG | Change in REG-level completion rate of DIAG measures for Child age group in Inpatient setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildRiDiagCompletionRate as New join hist.RegChildRiDiagCompletionRate as Old using (State, RegId) |
RegChildRiMhlsCount | REG | REG-level count of all MHLS measures for Child age group in Inpatient setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRiMhlsCountChange | REG | Change in REG-level count of all MHLS measures for Child age group in Inpatient setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRiMhlsCount as New join hist.RegChildRiMhlsCount as Old using (State, RegId) |
RegChildRiMhlsCountGrowth | REG | Growth in REG-level count of all MHLS measures for Child age group in Inpatient setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRiMhlsCount as New join hist.RegChildRiMhlsCount as Old using (State, RegId) |
RegChildRiMhlsCompleted | REG | REG-level count of completed MHLS measures for Child age group in Inpatient setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRiMhlsCompletedChange | REG | Change in REG-level count of completed MHLS measures for Child age group in Inpatient setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRiMhlsCompleted as New join hist.RegChildRiMhlsCompleted as Old using (State, RegId) |
RegChildRiMhlsCompletedGrowth | REG | Growth in REG-level count of completed MHLS measures for Child age group in Inpatient setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRiMhlsCompleted as New join hist.RegChildRiMhlsCompleted as Old using (State, RegId) |
RegChildRiMhlsCompletionRate | REG | REG-level completion rate of MHLS measures for Child age group in Inpatient setting after Review | select State, RegId, sd_div_safe(RegChildRiMhlsCompleted.Total, RegChildRiCodCount.Total, 3) as Rate from RegChildRiMhlsCompleted join RegChildRiCodCount using (State, RegId) |
RegChildRiMhlsCompletionRateChange | REG | Change in REG-level completion rate of MHLS measures for Child age group in Inpatient setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildRiMhlsCompletionRate as New join hist.RegChildRiMhlsCompletionRate as Old using (State, RegId) |
RegChildDiCodCount | REG | REG-level count of collection occasions for Child age group in Inpatient setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD where Setting = '1' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegChildDiHonoscaCount | REG | REG-level count of all HONOSCA measures for Child age group in Inpatient setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonoscaCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegChildDiHonoscaCountChange | REG | Change in REG-level count of all HONOSCA measures for Child age group in Inpatient setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegChildDiHonoscaCount as New join hist.RegChildDiHonoscaCount as Old using (State, RegId) |
RegChildDiHonoscaCountGrowth | REG | Growth in REG-level count of all HONOSCA measures for Child age group in Inpatient setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildDiHonoscaCount as New join hist.RegChildDiHonoscaCount as Old using (State, RegId) |
RegChildDiHonoscaCompleted | REG | REG-level count of completed HONOSCA measures for Child age group in Inpatient setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonoscaCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegChildDiHonoscaCompletedChange | REG | Change in REG-level count of completed HONOSCA measures for Child age group in Inpatient setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegChildDiHonoscaCompleted as New join hist.RegChildDiHonoscaCompleted as Old using (State, RegId) |
RegChildDiHonoscaCompletedGrowth | REG | Growth in REG-level count of completed HONOSCA measures for Child age group in Inpatient setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildDiHonoscaCompleted as New join hist.RegChildDiHonoscaCompleted as Old using (State, RegId) |
RegChildDiHonoscaCompletionRate | REG | REG-level completion rate of HONOSCA measures for Child age group in Inpatient setting after Discharge | select State, RegId, sd_div_safe(RegChildDiHonoscaCompleted.Total, RegChildDiCodCount.Total, 3) as Rate from RegChildDiHonoscaCompleted join RegChildDiCodCount using (State, RegId) |
RegChildDiHonoscaCompletionRateChange | REG | Change in REG-level completion rate of HONOSCA measures for Child age group in Inpatient setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildDiHonoscaCompletionRate as New join hist.RegChildDiHonoscaCompletionRate as Old using (State, RegId) |
RegChildDiFihsCount | REG | REG-level count of all FIHS measures for Child age group in Inpatient setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join FihsCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegChildDiFihsCountChange | REG | Change in REG-level count of all FIHS measures for Child age group in Inpatient setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegChildDiFihsCount as New join hist.RegChildDiFihsCount as Old using (State, RegId) |
RegChildDiFihsCountGrowth | REG | Growth in REG-level count of all FIHS measures for Child age group in Inpatient setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildDiFihsCount as New join hist.RegChildDiFihsCount as Old using (State, RegId) |
RegChildDiFihsCompleted | REG | REG-level count of completed FIHS measures for Child age group in Inpatient setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join FihsCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegChildDiFihsCompletedChange | REG | Change in REG-level count of completed FIHS measures for Child age group in Inpatient setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegChildDiFihsCompleted as New join hist.RegChildDiFihsCompleted as Old using (State, RegId) |
RegChildDiFihsCompletedGrowth | REG | Growth in REG-level count of completed FIHS measures for Child age group in Inpatient setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildDiFihsCompleted as New join hist.RegChildDiFihsCompleted as Old using (State, RegId) |
RegChildDiFihsCompletionRate | REG | REG-level completion rate of FIHS measures for Child age group in Inpatient setting after Discharge | select State, RegId, sd_div_safe(RegChildDiFihsCompleted.Total, RegChildDiCodCount.Total, 3) as Rate from RegChildDiFihsCompleted join RegChildDiCodCount using (State, RegId) |
RegChildDiFihsCompletionRateChange | REG | Change in REG-level completion rate of FIHS measures for Child age group in Inpatient setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildDiFihsCompletionRate as New join hist.RegChildDiFihsCompletionRate as Old using (State, RegId) |
RegChildDiSdqCount | REG | REG-level count of all SDQ measures for Child age group in Inpatient setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join SdqCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegChildDiSdqCountChange | REG | Change in REG-level count of all SDQ measures for Child age group in Inpatient setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegChildDiSdqCount as New join hist.RegChildDiSdqCount as Old using (State, RegId) |
RegChildDiSdqCountGrowth | REG | Growth in REG-level count of all SDQ measures for Child age group in Inpatient setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildDiSdqCount as New join hist.RegChildDiSdqCount as Old using (State, RegId) |
RegChildDiSdqCompleted | REG | REG-level count of completed SDQ measures for Child age group in Inpatient setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join SdqCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegChildDiSdqCompletedChange | REG | Change in REG-level count of completed SDQ measures for Child age group in Inpatient setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegChildDiSdqCompleted as New join hist.RegChildDiSdqCompleted as Old using (State, RegId) |
RegChildDiSdqCompletedGrowth | REG | Growth in REG-level count of completed SDQ measures for Child age group in Inpatient setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildDiSdqCompleted as New join hist.RegChildDiSdqCompleted as Old using (State, RegId) |
RegChildDiSdqCompletionRate | REG | REG-level completion rate of SDQ measures for Child age group in Inpatient setting after Discharge | select State, RegId, sd_div_safe(RegChildDiSdqCompleted.Total, RegChildDiCodCount.Total, 3) as Rate from RegChildDiSdqCompleted join RegChildDiCodCount using (State, RegId) |
RegChildDiSdqCompletionRateChange | REG | Change in REG-level completion rate of SDQ measures for Child age group in Inpatient setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildDiSdqCompletionRate as New join hist.RegChildDiSdqCompletionRate as Old using (State, RegId) |
RegChildDiDiagCount | REG | REG-level count of all DIAG measures for Child age group in Inpatient setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegChildDiDiagCountChange | REG | Change in REG-level count of all DIAG measures for Child age group in Inpatient setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegChildDiDiagCount as New join hist.RegChildDiDiagCount as Old using (State, RegId) |
RegChildDiDiagCountGrowth | REG | Growth in REG-level count of all DIAG measures for Child age group in Inpatient setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildDiDiagCount as New join hist.RegChildDiDiagCount as Old using (State, RegId) |
RegChildDiDiagCompleted | REG | REG-level count of completed DIAG measures for Child age group in Inpatient setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegChildDiDiagCompletedChange | REG | Change in REG-level count of completed DIAG measures for Child age group in Inpatient setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegChildDiDiagCompleted as New join hist.RegChildDiDiagCompleted as Old using (State, RegId) |
RegChildDiDiagCompletedGrowth | REG | Growth in REG-level count of completed DIAG measures for Child age group in Inpatient setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildDiDiagCompleted as New join hist.RegChildDiDiagCompleted as Old using (State, RegId) |
RegChildDiDiagCompletionRate | REG | REG-level completion rate of DIAG measures for Child age group in Inpatient setting after Discharge | select State, RegId, sd_div_safe(RegChildDiDiagCompleted.Total, RegChildDiCodCount.Total, 3) as Rate from RegChildDiDiagCompleted join RegChildDiCodCount using (State, RegId) |
RegChildDiDiagCompletionRateChange | REG | Change in REG-level completion rate of DIAG measures for Child age group in Inpatient setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildDiDiagCompletionRate as New join hist.RegChildDiDiagCompletionRate as Old using (State, RegId) |
RegChildDiMhlsCount | REG | REG-level count of all MHLS measures for Child age group in Inpatient setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegChildDiMhlsCountChange | REG | Change in REG-level count of all MHLS measures for Child age group in Inpatient setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegChildDiMhlsCount as New join hist.RegChildDiMhlsCount as Old using (State, RegId) |
RegChildDiMhlsCountGrowth | REG | Growth in REG-level count of all MHLS measures for Child age group in Inpatient setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildDiMhlsCount as New join hist.RegChildDiMhlsCount as Old using (State, RegId) |
RegChildDiMhlsCompleted | REG | REG-level count of completed MHLS measures for Child age group in Inpatient setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegChildDiMhlsCompletedChange | REG | Change in REG-level count of completed MHLS measures for Child age group in Inpatient setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegChildDiMhlsCompleted as New join hist.RegChildDiMhlsCompleted as Old using (State, RegId) |
RegChildDiMhlsCompletedGrowth | REG | Growth in REG-level count of completed MHLS measures for Child age group in Inpatient setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildDiMhlsCompleted as New join hist.RegChildDiMhlsCompleted as Old using (State, RegId) |
RegChildDiMhlsCompletionRate | REG | REG-level completion rate of MHLS measures for Child age group in Inpatient setting after Discharge | select State, RegId, sd_div_safe(RegChildDiMhlsCompleted.Total, RegChildDiCodCount.Total, 3) as Rate from RegChildDiMhlsCompleted join RegChildDiCodCount using (State, RegId) |
RegChildDiMhlsCompletionRateChange | REG | Change in REG-level completion rate of MHLS measures for Child age group in Inpatient setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildDiMhlsCompletionRate as New join hist.RegChildDiMhlsCompletionRate as Old using (State, RegId) |
RegChildArCodCount | REG | REG-level count of collection occasions for Child age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD where Setting = '2' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegChildArHonoscaCount | REG | REG-level count of all HONOSCA measures for Child age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonoscaCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegChildArHonoscaCountChange | REG | Change in REG-level count of all HONOSCA measures for Child age group in Residential setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegChildArHonoscaCount as New join hist.RegChildArHonoscaCount as Old using (State, RegId) |
RegChildArHonoscaCountGrowth | REG | Growth in REG-level count of all HONOSCA measures for Child age group in Residential setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildArHonoscaCount as New join hist.RegChildArHonoscaCount as Old using (State, RegId) |
RegChildArHonoscaCompleted | REG | REG-level count of completed HONOSCA measures for Child age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonoscaCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegChildArHonoscaCompletedChange | REG | Change in REG-level count of completed HONOSCA measures for Child age group in Residential setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegChildArHonoscaCompleted as New join hist.RegChildArHonoscaCompleted as Old using (State, RegId) |
RegChildArHonoscaCompletedGrowth | REG | Growth in REG-level count of completed HONOSCA measures for Child age group in Residential setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildArHonoscaCompleted as New join hist.RegChildArHonoscaCompleted as Old using (State, RegId) |
RegChildArHonoscaCompletionRate | REG | REG-level completion rate of HONOSCA measures for Child age group in Residential setting after Admission | select State, RegId, sd_div_safe(RegChildArHonoscaCompleted.Total, RegChildArCodCount.Total, 3) as Rate from RegChildArHonoscaCompleted join RegChildArCodCount using (State, RegId) |
RegChildArHonoscaCompletionRateChange | REG | Change in REG-level completion rate of HONOSCA measures for Child age group in Residential setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildArHonoscaCompletionRate as New join hist.RegChildArHonoscaCompletionRate as Old using (State, RegId) |
RegChildArCgasCount | REG | REG-level count of all CGAS measures for Child age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join CgasCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegChildArCgasCountChange | REG | Change in REG-level count of all CGAS measures for Child age group in Residential setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegChildArCgasCount as New join hist.RegChildArCgasCount as Old using (State, RegId) |
RegChildArCgasCountGrowth | REG | Growth in REG-level count of all CGAS measures for Child age group in Residential setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildArCgasCount as New join hist.RegChildArCgasCount as Old using (State, RegId) |
RegChildArCgasCompleted | REG | REG-level count of completed CGAS measures for Child age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join CgasCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegChildArCgasCompletedChange | REG | Change in REG-level count of completed CGAS measures for Child age group in Residential setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegChildArCgasCompleted as New join hist.RegChildArCgasCompleted as Old using (State, RegId) |
RegChildArCgasCompletedGrowth | REG | Growth in REG-level count of completed CGAS measures for Child age group in Residential setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildArCgasCompleted as New join hist.RegChildArCgasCompleted as Old using (State, RegId) |
RegChildArCgasCompletionRate | REG | REG-level completion rate of CGAS measures for Child age group in Residential setting after Admission | select State, RegId, sd_div_safe(RegChildArCgasCompleted.Total, RegChildArCodCount.Total, 3) as Rate from RegChildArCgasCompleted join RegChildArCodCount using (State, RegId) |
RegChildArCgasCompletionRateChange | REG | Change in REG-level completion rate of CGAS measures for Child age group in Residential setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildArCgasCompletionRate as New join hist.RegChildArCgasCompletionRate as Old using (State, RegId) |
RegChildArSdqCount | REG | REG-level count of all SDQ measures for Child age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join SdqCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegChildArSdqCountChange | REG | Change in REG-level count of all SDQ measures for Child age group in Residential setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegChildArSdqCount as New join hist.RegChildArSdqCount as Old using (State, RegId) |
RegChildArSdqCountGrowth | REG | Growth in REG-level count of all SDQ measures for Child age group in Residential setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildArSdqCount as New join hist.RegChildArSdqCount as Old using (State, RegId) |
RegChildArSdqCompleted | REG | REG-level count of completed SDQ measures for Child age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join SdqCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegChildArSdqCompletedChange | REG | Change in REG-level count of completed SDQ measures for Child age group in Residential setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegChildArSdqCompleted as New join hist.RegChildArSdqCompleted as Old using (State, RegId) |
RegChildArSdqCompletedGrowth | REG | Growth in REG-level count of completed SDQ measures for Child age group in Residential setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildArSdqCompleted as New join hist.RegChildArSdqCompleted as Old using (State, RegId) |
RegChildArSdqCompletionRate | REG | REG-level completion rate of SDQ measures for Child age group in Residential setting after Admission | select State, RegId, sd_div_safe(RegChildArSdqCompleted.Total, RegChildArCodCount.Total, 3) as Rate from RegChildArSdqCompleted join RegChildArCodCount using (State, RegId) |
RegChildArSdqCompletionRateChange | REG | Change in REG-level completion rate of SDQ measures for Child age group in Residential setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildArSdqCompletionRate as New join hist.RegChildArSdqCompletionRate as Old using (State, RegId) |
RegChildRrCodCount | REG | REG-level count of collection occasions for Child age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD where Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRrHonoscaCount | REG | REG-level count of all HONOSCA measures for Child age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonoscaCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRrHonoscaCountChange | REG | Change in REG-level count of all HONOSCA measures for Child age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRrHonoscaCount as New join hist.RegChildRrHonoscaCount as Old using (State, RegId) |
RegChildRrHonoscaCountGrowth | REG | Growth in REG-level count of all HONOSCA measures for Child age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRrHonoscaCount as New join hist.RegChildRrHonoscaCount as Old using (State, RegId) |
RegChildRrHonoscaCompleted | REG | REG-level count of completed HONOSCA measures for Child age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonoscaCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRrHonoscaCompletedChange | REG | Change in REG-level count of completed HONOSCA measures for Child age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRrHonoscaCompleted as New join hist.RegChildRrHonoscaCompleted as Old using (State, RegId) |
RegChildRrHonoscaCompletedGrowth | REG | Growth in REG-level count of completed HONOSCA measures for Child age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRrHonoscaCompleted as New join hist.RegChildRrHonoscaCompleted as Old using (State, RegId) |
RegChildRrHonoscaCompletionRate | REG | REG-level completion rate of HONOSCA measures for Child age group in Residential setting after Review | select State, RegId, sd_div_safe(RegChildRrHonoscaCompleted.Total, RegChildRrCodCount.Total, 3) as Rate from RegChildRrHonoscaCompleted join RegChildRrCodCount using (State, RegId) |
RegChildRrHonoscaCompletionRateChange | REG | Change in REG-level completion rate of HONOSCA measures for Child age group in Residential setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildRrHonoscaCompletionRate as New join hist.RegChildRrHonoscaCompletionRate as Old using (State, RegId) |
RegChildRrCgasCount | REG | REG-level count of all CGAS measures for Child age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join CgasCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRrCgasCountChange | REG | Change in REG-level count of all CGAS measures for Child age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRrCgasCount as New join hist.RegChildRrCgasCount as Old using (State, RegId) |
RegChildRrCgasCountGrowth | REG | Growth in REG-level count of all CGAS measures for Child age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRrCgasCount as New join hist.RegChildRrCgasCount as Old using (State, RegId) |
RegChildRrCgasCompleted | REG | REG-level count of completed CGAS measures for Child age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join CgasCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRrCgasCompletedChange | REG | Change in REG-level count of completed CGAS measures for Child age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRrCgasCompleted as New join hist.RegChildRrCgasCompleted as Old using (State, RegId) |
RegChildRrCgasCompletedGrowth | REG | Growth in REG-level count of completed CGAS measures for Child age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRrCgasCompleted as New join hist.RegChildRrCgasCompleted as Old using (State, RegId) |
RegChildRrCgasCompletionRate | REG | REG-level completion rate of CGAS measures for Child age group in Residential setting after Review | select State, RegId, sd_div_safe(RegChildRrCgasCompleted.Total, RegChildRrCodCount.Total, 3) as Rate from RegChildRrCgasCompleted join RegChildRrCodCount using (State, RegId) |
RegChildRrCgasCompletionRateChange | REG | Change in REG-level completion rate of CGAS measures for Child age group in Residential setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildRrCgasCompletionRate as New join hist.RegChildRrCgasCompletionRate as Old using (State, RegId) |
RegChildRrFihsCount | REG | REG-level count of all FIHS measures for Child age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join FihsCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRrFihsCountChange | REG | Change in REG-level count of all FIHS measures for Child age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRrFihsCount as New join hist.RegChildRrFihsCount as Old using (State, RegId) |
RegChildRrFihsCountGrowth | REG | Growth in REG-level count of all FIHS measures for Child age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRrFihsCount as New join hist.RegChildRrFihsCount as Old using (State, RegId) |
RegChildRrFihsCompleted | REG | REG-level count of completed FIHS measures for Child age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join FihsCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRrFihsCompletedChange | REG | Change in REG-level count of completed FIHS measures for Child age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRrFihsCompleted as New join hist.RegChildRrFihsCompleted as Old using (State, RegId) |
RegChildRrFihsCompletedGrowth | REG | Growth in REG-level count of completed FIHS measures for Child age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRrFihsCompleted as New join hist.RegChildRrFihsCompleted as Old using (State, RegId) |
RegChildRrFihsCompletionRate | REG | REG-level completion rate of FIHS measures for Child age group in Residential setting after Review | select State, RegId, sd_div_safe(RegChildRrFihsCompleted.Total, RegChildRrCodCount.Total, 3) as Rate from RegChildRrFihsCompleted join RegChildRrCodCount using (State, RegId) |
RegChildRrFihsCompletionRateChange | REG | Change in REG-level completion rate of FIHS measures for Child age group in Residential setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildRrFihsCompletionRate as New join hist.RegChildRrFihsCompletionRate as Old using (State, RegId) |
RegChildRrSdqCount | REG | REG-level count of all SDQ measures for Child age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join SdqCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRrSdqCountChange | REG | Change in REG-level count of all SDQ measures for Child age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRrSdqCount as New join hist.RegChildRrSdqCount as Old using (State, RegId) |
RegChildRrSdqCountGrowth | REG | Growth in REG-level count of all SDQ measures for Child age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRrSdqCount as New join hist.RegChildRrSdqCount as Old using (State, RegId) |
RegChildRrSdqCompleted | REG | REG-level count of completed SDQ measures for Child age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join SdqCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRrSdqCompletedChange | REG | Change in REG-level count of completed SDQ measures for Child age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRrSdqCompleted as New join hist.RegChildRrSdqCompleted as Old using (State, RegId) |
RegChildRrSdqCompletedGrowth | REG | Growth in REG-level count of completed SDQ measures for Child age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRrSdqCompleted as New join hist.RegChildRrSdqCompleted as Old using (State, RegId) |
RegChildRrSdqCompletionRate | REG | REG-level completion rate of SDQ measures for Child age group in Residential setting after Review | select State, RegId, sd_div_safe(RegChildRrSdqCompleted.Total, RegChildRrCodCount.Total, 3) as Rate from RegChildRrSdqCompleted join RegChildRrCodCount using (State, RegId) |
RegChildRrSdqCompletionRateChange | REG | Change in REG-level completion rate of SDQ measures for Child age group in Residential setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildRrSdqCompletionRate as New join hist.RegChildRrSdqCompletionRate as Old using (State, RegId) |
RegChildRrDiagCount | REG | REG-level count of all DIAG measures for Child age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRrDiagCountChange | REG | Change in REG-level count of all DIAG measures for Child age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRrDiagCount as New join hist.RegChildRrDiagCount as Old using (State, RegId) |
RegChildRrDiagCountGrowth | REG | Growth in REG-level count of all DIAG measures for Child age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRrDiagCount as New join hist.RegChildRrDiagCount as Old using (State, RegId) |
RegChildRrDiagCompleted | REG | REG-level count of completed DIAG measures for Child age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRrDiagCompletedChange | REG | Change in REG-level count of completed DIAG measures for Child age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRrDiagCompleted as New join hist.RegChildRrDiagCompleted as Old using (State, RegId) |
RegChildRrDiagCompletedGrowth | REG | Growth in REG-level count of completed DIAG measures for Child age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRrDiagCompleted as New join hist.RegChildRrDiagCompleted as Old using (State, RegId) |
RegChildRrDiagCompletionRate | REG | REG-level completion rate of DIAG measures for Child age group in Residential setting after Review | select State, RegId, sd_div_safe(RegChildRrDiagCompleted.Total, RegChildRrCodCount.Total, 3) as Rate from RegChildRrDiagCompleted join RegChildRrCodCount using (State, RegId) |
RegChildRrDiagCompletionRateChange | REG | Change in REG-level completion rate of DIAG measures for Child age group in Residential setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildRrDiagCompletionRate as New join hist.RegChildRrDiagCompletionRate as Old using (State, RegId) |
RegChildRrMhlsCount | REG | REG-level count of all MHLS measures for Child age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRrMhlsCountChange | REG | Change in REG-level count of all MHLS measures for Child age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRrMhlsCount as New join hist.RegChildRrMhlsCount as Old using (State, RegId) |
RegChildRrMhlsCountGrowth | REG | Growth in REG-level count of all MHLS measures for Child age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRrMhlsCount as New join hist.RegChildRrMhlsCount as Old using (State, RegId) |
RegChildRrMhlsCompleted | REG | REG-level count of completed MHLS measures for Child age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRrMhlsCompletedChange | REG | Change in REG-level count of completed MHLS measures for Child age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRrMhlsCompleted as New join hist.RegChildRrMhlsCompleted as Old using (State, RegId) |
RegChildRrMhlsCompletedGrowth | REG | Growth in REG-level count of completed MHLS measures for Child age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRrMhlsCompleted as New join hist.RegChildRrMhlsCompleted as Old using (State, RegId) |
RegChildRrMhlsCompletionRate | REG | REG-level completion rate of MHLS measures for Child age group in Residential setting after Review | select State, RegId, sd_div_safe(RegChildRrMhlsCompleted.Total, RegChildRrCodCount.Total, 3) as Rate from RegChildRrMhlsCompleted join RegChildRrCodCount using (State, RegId) |
RegChildRrMhlsCompletionRateChange | REG | Change in REG-level completion rate of MHLS measures for Child age group in Residential setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildRrMhlsCompletionRate as New join hist.RegChildRrMhlsCompletionRate as Old using (State, RegId) |
RegChildDrCodCount | REG | REG-level count of collection occasions for Child age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD where Setting = '2' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegChildDrHonoscaCount | REG | REG-level count of all HONOSCA measures for Child age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonoscaCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegChildDrHonoscaCountChange | REG | Change in REG-level count of all HONOSCA measures for Child age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegChildDrHonoscaCount as New join hist.RegChildDrHonoscaCount as Old using (State, RegId) |
RegChildDrHonoscaCountGrowth | REG | Growth in REG-level count of all HONOSCA measures for Child age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildDrHonoscaCount as New join hist.RegChildDrHonoscaCount as Old using (State, RegId) |
RegChildDrHonoscaCompleted | REG | REG-level count of completed HONOSCA measures for Child age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonoscaCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegChildDrHonoscaCompletedChange | REG | Change in REG-level count of completed HONOSCA measures for Child age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegChildDrHonoscaCompleted as New join hist.RegChildDrHonoscaCompleted as Old using (State, RegId) |
RegChildDrHonoscaCompletedGrowth | REG | Growth in REG-level count of completed HONOSCA measures for Child age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildDrHonoscaCompleted as New join hist.RegChildDrHonoscaCompleted as Old using (State, RegId) |
RegChildDrHonoscaCompletionRate | REG | REG-level completion rate of HONOSCA measures for Child age group in Residential setting after Discharge | select State, RegId, sd_div_safe(RegChildDrHonoscaCompleted.Total, RegChildDrCodCount.Total, 3) as Rate from RegChildDrHonoscaCompleted join RegChildDrCodCount using (State, RegId) |
RegChildDrHonoscaCompletionRateChange | REG | Change in REG-level completion rate of HONOSCA measures for Child age group in Residential setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildDrHonoscaCompletionRate as New join hist.RegChildDrHonoscaCompletionRate as Old using (State, RegId) |
RegChildDrFihsCount | REG | REG-level count of all FIHS measures for Child age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join FihsCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegChildDrFihsCountChange | REG | Change in REG-level count of all FIHS measures for Child age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegChildDrFihsCount as New join hist.RegChildDrFihsCount as Old using (State, RegId) |
RegChildDrFihsCountGrowth | REG | Growth in REG-level count of all FIHS measures for Child age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildDrFihsCount as New join hist.RegChildDrFihsCount as Old using (State, RegId) |
RegChildDrFihsCompleted | REG | REG-level count of completed FIHS measures for Child age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join FihsCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegChildDrFihsCompletedChange | REG | Change in REG-level count of completed FIHS measures for Child age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegChildDrFihsCompleted as New join hist.RegChildDrFihsCompleted as Old using (State, RegId) |
RegChildDrFihsCompletedGrowth | REG | Growth in REG-level count of completed FIHS measures for Child age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildDrFihsCompleted as New join hist.RegChildDrFihsCompleted as Old using (State, RegId) |
RegChildDrFihsCompletionRate | REG | REG-level completion rate of FIHS measures for Child age group in Residential setting after Discharge | select State, RegId, sd_div_safe(RegChildDrFihsCompleted.Total, RegChildDrCodCount.Total, 3) as Rate from RegChildDrFihsCompleted join RegChildDrCodCount using (State, RegId) |
RegChildDrFihsCompletionRateChange | REG | Change in REG-level completion rate of FIHS measures for Child age group in Residential setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildDrFihsCompletionRate as New join hist.RegChildDrFihsCompletionRate as Old using (State, RegId) |
RegChildDrSdqCount | REG | REG-level count of all SDQ measures for Child age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join SdqCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegChildDrSdqCountChange | REG | Change in REG-level count of all SDQ measures for Child age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegChildDrSdqCount as New join hist.RegChildDrSdqCount as Old using (State, RegId) |
RegChildDrSdqCountGrowth | REG | Growth in REG-level count of all SDQ measures for Child age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildDrSdqCount as New join hist.RegChildDrSdqCount as Old using (State, RegId) |
RegChildDrSdqCompleted | REG | REG-level count of completed SDQ measures for Child age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join SdqCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegChildDrSdqCompletedChange | REG | Change in REG-level count of completed SDQ measures for Child age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegChildDrSdqCompleted as New join hist.RegChildDrSdqCompleted as Old using (State, RegId) |
RegChildDrSdqCompletedGrowth | REG | Growth in REG-level count of completed SDQ measures for Child age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildDrSdqCompleted as New join hist.RegChildDrSdqCompleted as Old using (State, RegId) |
RegChildDrSdqCompletionRate | REG | REG-level completion rate of SDQ measures for Child age group in Residential setting after Discharge | select State, RegId, sd_div_safe(RegChildDrSdqCompleted.Total, RegChildDrCodCount.Total, 3) as Rate from RegChildDrSdqCompleted join RegChildDrCodCount using (State, RegId) |
RegChildDrSdqCompletionRateChange | REG | Change in REG-level completion rate of SDQ measures for Child age group in Residential setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildDrSdqCompletionRate as New join hist.RegChildDrSdqCompletionRate as Old using (State, RegId) |
RegChildDrDiagCount | REG | REG-level count of all DIAG measures for Child age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegChildDrDiagCountChange | REG | Change in REG-level count of all DIAG measures for Child age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegChildDrDiagCount as New join hist.RegChildDrDiagCount as Old using (State, RegId) |
RegChildDrDiagCountGrowth | REG | Growth in REG-level count of all DIAG measures for Child age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildDrDiagCount as New join hist.RegChildDrDiagCount as Old using (State, RegId) |
RegChildDrDiagCompleted | REG | REG-level count of completed DIAG measures for Child age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegChildDrDiagCompletedChange | REG | Change in REG-level count of completed DIAG measures for Child age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegChildDrDiagCompleted as New join hist.RegChildDrDiagCompleted as Old using (State, RegId) |
RegChildDrDiagCompletedGrowth | REG | Growth in REG-level count of completed DIAG measures for Child age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildDrDiagCompleted as New join hist.RegChildDrDiagCompleted as Old using (State, RegId) |
RegChildDrDiagCompletionRate | REG | REG-level completion rate of DIAG measures for Child age group in Residential setting after Discharge | select State, RegId, sd_div_safe(RegChildDrDiagCompleted.Total, RegChildDrCodCount.Total, 3) as Rate from RegChildDrDiagCompleted join RegChildDrCodCount using (State, RegId) |
RegChildDrDiagCompletionRateChange | REG | Change in REG-level completion rate of DIAG measures for Child age group in Residential setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildDrDiagCompletionRate as New join hist.RegChildDrDiagCompletionRate as Old using (State, RegId) |
RegChildDrMhlsCount | REG | REG-level count of all MHLS measures for Child age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegChildDrMhlsCountChange | REG | Change in REG-level count of all MHLS measures for Child age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegChildDrMhlsCount as New join hist.RegChildDrMhlsCount as Old using (State, RegId) |
RegChildDrMhlsCountGrowth | REG | Growth in REG-level count of all MHLS measures for Child age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildDrMhlsCount as New join hist.RegChildDrMhlsCount as Old using (State, RegId) |
RegChildDrMhlsCompleted | REG | REG-level count of completed MHLS measures for Child age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegChildDrMhlsCompletedChange | REG | Change in REG-level count of completed MHLS measures for Child age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegChildDrMhlsCompleted as New join hist.RegChildDrMhlsCompleted as Old using (State, RegId) |
RegChildDrMhlsCompletedGrowth | REG | Growth in REG-level count of completed MHLS measures for Child age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildDrMhlsCompleted as New join hist.RegChildDrMhlsCompleted as Old using (State, RegId) |
RegChildDrMhlsCompletionRate | REG | REG-level completion rate of MHLS measures for Child age group in Residential setting after Discharge | select State, RegId, sd_div_safe(RegChildDrMhlsCompleted.Total, RegChildDrCodCount.Total, 3) as Rate from RegChildDrMhlsCompleted join RegChildDrCodCount using (State, RegId) |
RegChildDrMhlsCompletionRateChange | REG | Change in REG-level completion rate of MHLS measures for Child age group in Residential setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildDrMhlsCompletionRate as New join hist.RegChildDrMhlsCompletionRate as Old using (State, RegId) |
RegChildAaCodCount | REG | REG-level count of collection occasions for Child age group in Ambulatory setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD where Setting = '3' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegChildAaHonoscaCount | REG | REG-level count of all HONOSCA measures for Child age group in Ambulatory setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonoscaCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegChildAaHonoscaCountChange | REG | Change in REG-level count of all HONOSCA measures for Child age group in Ambulatory setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegChildAaHonoscaCount as New join hist.RegChildAaHonoscaCount as Old using (State, RegId) |
RegChildAaHonoscaCountGrowth | REG | Growth in REG-level count of all HONOSCA measures for Child age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildAaHonoscaCount as New join hist.RegChildAaHonoscaCount as Old using (State, RegId) |
RegChildAaHonoscaCompleted | REG | REG-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonoscaCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegChildAaHonoscaCompletedChange | REG | Change in REG-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegChildAaHonoscaCompleted as New join hist.RegChildAaHonoscaCompleted as Old using (State, RegId) |
RegChildAaHonoscaCompletedGrowth | REG | Growth in REG-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildAaHonoscaCompleted as New join hist.RegChildAaHonoscaCompleted as Old using (State, RegId) |
RegChildAaHonoscaCompletionRate | REG | REG-level completion rate of HONOSCA measures for Child age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(RegChildAaHonoscaCompleted.Total, RegChildAaCodCount.Total, 3) as Rate from RegChildAaHonoscaCompleted join RegChildAaCodCount using (State, RegId) |
RegChildAaHonoscaCompletionRateChange | REG | Change in REG-level completion rate of HONOSCA measures for Child age group in Ambulatory setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildAaHonoscaCompletionRate as New join hist.RegChildAaHonoscaCompletionRate as Old using (State, RegId) |
RegChildAaCgasCount | REG | REG-level count of all CGAS measures for Child age group in Ambulatory setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join CgasCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegChildAaCgasCountChange | REG | Change in REG-level count of all CGAS measures for Child age group in Ambulatory setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegChildAaCgasCount as New join hist.RegChildAaCgasCount as Old using (State, RegId) |
RegChildAaCgasCountGrowth | REG | Growth in REG-level count of all CGAS measures for Child age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildAaCgasCount as New join hist.RegChildAaCgasCount as Old using (State, RegId) |
RegChildAaCgasCompleted | REG | REG-level count of completed CGAS measures for Child age group in Ambulatory setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join CgasCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegChildAaCgasCompletedChange | REG | Change in REG-level count of completed CGAS measures for Child age group in Ambulatory setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegChildAaCgasCompleted as New join hist.RegChildAaCgasCompleted as Old using (State, RegId) |
RegChildAaCgasCompletedGrowth | REG | Growth in REG-level count of completed CGAS measures for Child age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildAaCgasCompleted as New join hist.RegChildAaCgasCompleted as Old using (State, RegId) |
RegChildAaCgasCompletionRate | REG | REG-level completion rate of CGAS measures for Child age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(RegChildAaCgasCompleted.Total, RegChildAaCodCount.Total, 3) as Rate from RegChildAaCgasCompleted join RegChildAaCodCount using (State, RegId) |
RegChildAaCgasCompletionRateChange | REG | Change in REG-level completion rate of CGAS measures for Child age group in Ambulatory setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildAaCgasCompletionRate as New join hist.RegChildAaCgasCompletionRate as Old using (State, RegId) |
RegChildAaSdqCount | REG | REG-level count of all SDQ measures for Child age group in Ambulatory setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join SdqCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegChildAaSdqCountChange | REG | Change in REG-level count of all SDQ measures for Child age group in Ambulatory setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegChildAaSdqCount as New join hist.RegChildAaSdqCount as Old using (State, RegId) |
RegChildAaSdqCountGrowth | REG | Growth in REG-level count of all SDQ measures for Child age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildAaSdqCount as New join hist.RegChildAaSdqCount as Old using (State, RegId) |
RegChildAaSdqCompleted | REG | REG-level count of completed SDQ measures for Child age group in Ambulatory setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join SdqCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegChildAaSdqCompletedChange | REG | Change in REG-level count of completed SDQ measures for Child age group in Ambulatory setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegChildAaSdqCompleted as New join hist.RegChildAaSdqCompleted as Old using (State, RegId) |
RegChildAaSdqCompletedGrowth | REG | Growth in REG-level count of completed SDQ measures for Child age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildAaSdqCompleted as New join hist.RegChildAaSdqCompleted as Old using (State, RegId) |
RegChildAaSdqCompletionRate | REG | REG-level completion rate of SDQ measures for Child age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(RegChildAaSdqCompleted.Total, RegChildAaCodCount.Total, 3) as Rate from RegChildAaSdqCompleted join RegChildAaCodCount using (State, RegId) |
RegChildAaSdqCompletionRateChange | REG | Change in REG-level completion rate of SDQ measures for Child age group in Ambulatory setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildAaSdqCompletionRate as New join hist.RegChildAaSdqCompletionRate as Old using (State, RegId) |
RegChildRaCodCount | REG | REG-level count of collection occasions for Child age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD where Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRaHonoscaCount | REG | REG-level count of all HONOSCA measures for Child age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonoscaCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRaHonoscaCountChange | REG | Change in REG-level count of all HONOSCA measures for Child age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRaHonoscaCount as New join hist.RegChildRaHonoscaCount as Old using (State, RegId) |
RegChildRaHonoscaCountGrowth | REG | Growth in REG-level count of all HONOSCA measures for Child age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRaHonoscaCount as New join hist.RegChildRaHonoscaCount as Old using (State, RegId) |
RegChildRaHonoscaCompleted | REG | REG-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonoscaCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRaHonoscaCompletedChange | REG | Change in REG-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRaHonoscaCompleted as New join hist.RegChildRaHonoscaCompleted as Old using (State, RegId) |
RegChildRaHonoscaCompletedGrowth | REG | Growth in REG-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRaHonoscaCompleted as New join hist.RegChildRaHonoscaCompleted as Old using (State, RegId) |
RegChildRaHonoscaCompletionRate | REG | REG-level completion rate of HONOSCA measures for Child age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(RegChildRaHonoscaCompleted.Total, RegChildRaCodCount.Total, 3) as Rate from RegChildRaHonoscaCompleted join RegChildRaCodCount using (State, RegId) |
RegChildRaHonoscaCompletionRateChange | REG | Change in REG-level completion rate of HONOSCA measures for Child age group in Ambulatory setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildRaHonoscaCompletionRate as New join hist.RegChildRaHonoscaCompletionRate as Old using (State, RegId) |
RegChildRaCgasCount | REG | REG-level count of all CGAS measures for Child age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join CgasCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRaCgasCountChange | REG | Change in REG-level count of all CGAS measures for Child age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRaCgasCount as New join hist.RegChildRaCgasCount as Old using (State, RegId) |
RegChildRaCgasCountGrowth | REG | Growth in REG-level count of all CGAS measures for Child age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRaCgasCount as New join hist.RegChildRaCgasCount as Old using (State, RegId) |
RegChildRaCgasCompleted | REG | REG-level count of completed CGAS measures for Child age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join CgasCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRaCgasCompletedChange | REG | Change in REG-level count of completed CGAS measures for Child age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRaCgasCompleted as New join hist.RegChildRaCgasCompleted as Old using (State, RegId) |
RegChildRaCgasCompletedGrowth | REG | Growth in REG-level count of completed CGAS measures for Child age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRaCgasCompleted as New join hist.RegChildRaCgasCompleted as Old using (State, RegId) |
RegChildRaCgasCompletionRate | REG | REG-level completion rate of CGAS measures for Child age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(RegChildRaCgasCompleted.Total, RegChildRaCodCount.Total, 3) as Rate from RegChildRaCgasCompleted join RegChildRaCodCount using (State, RegId) |
RegChildRaCgasCompletionRateChange | REG | Change in REG-level completion rate of CGAS measures for Child age group in Ambulatory setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildRaCgasCompletionRate as New join hist.RegChildRaCgasCompletionRate as Old using (State, RegId) |
RegChildRaFihsCount | REG | REG-level count of all FIHS measures for Child age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join FihsCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRaFihsCountChange | REG | Change in REG-level count of all FIHS measures for Child age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRaFihsCount as New join hist.RegChildRaFihsCount as Old using (State, RegId) |
RegChildRaFihsCountGrowth | REG | Growth in REG-level count of all FIHS measures for Child age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRaFihsCount as New join hist.RegChildRaFihsCount as Old using (State, RegId) |
RegChildRaFihsCompleted | REG | REG-level count of completed FIHS measures for Child age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join FihsCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRaFihsCompletedChange | REG | Change in REG-level count of completed FIHS measures for Child age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRaFihsCompleted as New join hist.RegChildRaFihsCompleted as Old using (State, RegId) |
RegChildRaFihsCompletedGrowth | REG | Growth in REG-level count of completed FIHS measures for Child age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRaFihsCompleted as New join hist.RegChildRaFihsCompleted as Old using (State, RegId) |
RegChildRaFihsCompletionRate | REG | REG-level completion rate of FIHS measures for Child age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(RegChildRaFihsCompleted.Total, RegChildRaCodCount.Total, 3) as Rate from RegChildRaFihsCompleted join RegChildRaCodCount using (State, RegId) |
RegChildRaFihsCompletionRateChange | REG | Change in REG-level completion rate of FIHS measures for Child age group in Ambulatory setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildRaFihsCompletionRate as New join hist.RegChildRaFihsCompletionRate as Old using (State, RegId) |
RegChildRaSdqCount | REG | REG-level count of all SDQ measures for Child age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join SdqCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRaSdqCountChange | REG | Change in REG-level count of all SDQ measures for Child age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRaSdqCount as New join hist.RegChildRaSdqCount as Old using (State, RegId) |
RegChildRaSdqCountGrowth | REG | Growth in REG-level count of all SDQ measures for Child age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRaSdqCount as New join hist.RegChildRaSdqCount as Old using (State, RegId) |
RegChildRaSdqCompleted | REG | REG-level count of completed SDQ measures for Child age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join SdqCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRaSdqCompletedChange | REG | Change in REG-level count of completed SDQ measures for Child age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRaSdqCompleted as New join hist.RegChildRaSdqCompleted as Old using (State, RegId) |
RegChildRaSdqCompletedGrowth | REG | Growth in REG-level count of completed SDQ measures for Child age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRaSdqCompleted as New join hist.RegChildRaSdqCompleted as Old using (State, RegId) |
RegChildRaSdqCompletionRate | REG | REG-level completion rate of SDQ measures for Child age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(RegChildRaSdqCompleted.Total, RegChildRaCodCount.Total, 3) as Rate from RegChildRaSdqCompleted join RegChildRaCodCount using (State, RegId) |
RegChildRaSdqCompletionRateChange | REG | Change in REG-level completion rate of SDQ measures for Child age group in Ambulatory setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildRaSdqCompletionRate as New join hist.RegChildRaSdqCompletionRate as Old using (State, RegId) |
RegChildRaDiagCount | REG | REG-level count of all DIAG measures for Child age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRaDiagCountChange | REG | Change in REG-level count of all DIAG measures for Child age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRaDiagCount as New join hist.RegChildRaDiagCount as Old using (State, RegId) |
RegChildRaDiagCountGrowth | REG | Growth in REG-level count of all DIAG measures for Child age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRaDiagCount as New join hist.RegChildRaDiagCount as Old using (State, RegId) |
RegChildRaDiagCompleted | REG | REG-level count of completed DIAG measures for Child age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRaDiagCompletedChange | REG | Change in REG-level count of completed DIAG measures for Child age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRaDiagCompleted as New join hist.RegChildRaDiagCompleted as Old using (State, RegId) |
RegChildRaDiagCompletedGrowth | REG | Growth in REG-level count of completed DIAG measures for Child age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRaDiagCompleted as New join hist.RegChildRaDiagCompleted as Old using (State, RegId) |
RegChildRaDiagCompletionRate | REG | REG-level completion rate of DIAG measures for Child age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(RegChildRaDiagCompleted.Total, RegChildRaCodCount.Total, 3) as Rate from RegChildRaDiagCompleted join RegChildRaCodCount using (State, RegId) |
RegChildRaDiagCompletionRateChange | REG | Change in REG-level completion rate of DIAG measures for Child age group in Ambulatory setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildRaDiagCompletionRate as New join hist.RegChildRaDiagCompletionRate as Old using (State, RegId) |
RegChildRaMhlsCount | REG | REG-level count of all MHLS measures for Child age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRaMhlsCountChange | REG | Change in REG-level count of all MHLS measures for Child age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRaMhlsCount as New join hist.RegChildRaMhlsCount as Old using (State, RegId) |
RegChildRaMhlsCountGrowth | REG | Growth in REG-level count of all MHLS measures for Child age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRaMhlsCount as New join hist.RegChildRaMhlsCount as Old using (State, RegId) |
RegChildRaMhlsCompleted | REG | REG-level count of completed MHLS measures for Child age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegChildRaMhlsCompletedChange | REG | Change in REG-level count of completed MHLS measures for Child age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegChildRaMhlsCompleted as New join hist.RegChildRaMhlsCompleted as Old using (State, RegId) |
RegChildRaMhlsCompletedGrowth | REG | Growth in REG-level count of completed MHLS measures for Child age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildRaMhlsCompleted as New join hist.RegChildRaMhlsCompleted as Old using (State, RegId) |
RegChildRaMhlsCompletionRate | REG | REG-level completion rate of MHLS measures for Child age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(RegChildRaMhlsCompleted.Total, RegChildRaCodCount.Total, 3) as Rate from RegChildRaMhlsCompleted join RegChildRaCodCount using (State, RegId) |
RegChildRaMhlsCompletionRateChange | REG | Change in REG-level completion rate of MHLS measures for Child age group in Ambulatory setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildRaMhlsCompletionRate as New join hist.RegChildRaMhlsCompletionRate as Old using (State, RegId) |
RegChildDaCodCount | REG | REG-level count of collection occasions for Child age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD where Setting = '3' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegChildDaHonoscaCount | REG | REG-level count of all HONOSCA measures for Child age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonoscaCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegChildDaHonoscaCountChange | REG | Change in REG-level count of all HONOSCA measures for Child age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegChildDaHonoscaCount as New join hist.RegChildDaHonoscaCount as Old using (State, RegId) |
RegChildDaHonoscaCountGrowth | REG | Growth in REG-level count of all HONOSCA measures for Child age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildDaHonoscaCount as New join hist.RegChildDaHonoscaCount as Old using (State, RegId) |
RegChildDaHonoscaCompleted | REG | REG-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonoscaCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegChildDaHonoscaCompletedChange | REG | Change in REG-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegChildDaHonoscaCompleted as New join hist.RegChildDaHonoscaCompleted as Old using (State, RegId) |
RegChildDaHonoscaCompletedGrowth | REG | Growth in REG-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildDaHonoscaCompleted as New join hist.RegChildDaHonoscaCompleted as Old using (State, RegId) |
RegChildDaHonoscaCompletionRate | REG | REG-level completion rate of HONOSCA measures for Child age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(RegChildDaHonoscaCompleted.Total, RegChildDaCodCount.Total, 3) as Rate from RegChildDaHonoscaCompleted join RegChildDaCodCount using (State, RegId) |
RegChildDaHonoscaCompletionRateChange | REG | Change in REG-level completion rate of HONOSCA measures for Child age group in Ambulatory setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildDaHonoscaCompletionRate as New join hist.RegChildDaHonoscaCompletionRate as Old using (State, RegId) |
RegChildDaFihsCount | REG | REG-level count of all FIHS measures for Child age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join FihsCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegChildDaFihsCountChange | REG | Change in REG-level count of all FIHS measures for Child age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegChildDaFihsCount as New join hist.RegChildDaFihsCount as Old using (State, RegId) |
RegChildDaFihsCountGrowth | REG | Growth in REG-level count of all FIHS measures for Child age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildDaFihsCount as New join hist.RegChildDaFihsCount as Old using (State, RegId) |
RegChildDaFihsCompleted | REG | REG-level count of completed FIHS measures for Child age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join FihsCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegChildDaFihsCompletedChange | REG | Change in REG-level count of completed FIHS measures for Child age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegChildDaFihsCompleted as New join hist.RegChildDaFihsCompleted as Old using (State, RegId) |
RegChildDaFihsCompletedGrowth | REG | Growth in REG-level count of completed FIHS measures for Child age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildDaFihsCompleted as New join hist.RegChildDaFihsCompleted as Old using (State, RegId) |
RegChildDaFihsCompletionRate | REG | REG-level completion rate of FIHS measures for Child age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(RegChildDaFihsCompleted.Total, RegChildDaCodCount.Total, 3) as Rate from RegChildDaFihsCompleted join RegChildDaCodCount using (State, RegId) |
RegChildDaFihsCompletionRateChange | REG | Change in REG-level completion rate of FIHS measures for Child age group in Ambulatory setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildDaFihsCompletionRate as New join hist.RegChildDaFihsCompletionRate as Old using (State, RegId) |
RegChildDaSdqCount | REG | REG-level count of all SDQ measures for Child age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join SdqCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegChildDaSdqCountChange | REG | Change in REG-level count of all SDQ measures for Child age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegChildDaSdqCount as New join hist.RegChildDaSdqCount as Old using (State, RegId) |
RegChildDaSdqCountGrowth | REG | Growth in REG-level count of all SDQ measures for Child age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildDaSdqCount as New join hist.RegChildDaSdqCount as Old using (State, RegId) |
RegChildDaSdqCompleted | REG | REG-level count of completed SDQ measures for Child age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join SdqCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegChildDaSdqCompletedChange | REG | Change in REG-level count of completed SDQ measures for Child age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegChildDaSdqCompleted as New join hist.RegChildDaSdqCompleted as Old using (State, RegId) |
RegChildDaSdqCompletedGrowth | REG | Growth in REG-level count of completed SDQ measures for Child age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildDaSdqCompleted as New join hist.RegChildDaSdqCompleted as Old using (State, RegId) |
RegChildDaSdqCompletionRate | REG | REG-level completion rate of SDQ measures for Child age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(RegChildDaSdqCompleted.Total, RegChildDaCodCount.Total, 3) as Rate from RegChildDaSdqCompleted join RegChildDaCodCount using (State, RegId) |
RegChildDaSdqCompletionRateChange | REG | Change in REG-level completion rate of SDQ measures for Child age group in Ambulatory setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildDaSdqCompletionRate as New join hist.RegChildDaSdqCompletionRate as Old using (State, RegId) |
RegChildDaDiagCount | REG | REG-level count of all DIAG measures for Child age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegChildDaDiagCountChange | REG | Change in REG-level count of all DIAG measures for Child age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegChildDaDiagCount as New join hist.RegChildDaDiagCount as Old using (State, RegId) |
RegChildDaDiagCountGrowth | REG | Growth in REG-level count of all DIAG measures for Child age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildDaDiagCount as New join hist.RegChildDaDiagCount as Old using (State, RegId) |
RegChildDaDiagCompleted | REG | REG-level count of completed DIAG measures for Child age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegChildDaDiagCompletedChange | REG | Change in REG-level count of completed DIAG measures for Child age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegChildDaDiagCompleted as New join hist.RegChildDaDiagCompleted as Old using (State, RegId) |
RegChildDaDiagCompletedGrowth | REG | Growth in REG-level count of completed DIAG measures for Child age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildDaDiagCompleted as New join hist.RegChildDaDiagCompleted as Old using (State, RegId) |
RegChildDaDiagCompletionRate | REG | REG-level completion rate of DIAG measures for Child age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(RegChildDaDiagCompleted.Total, RegChildDaCodCount.Total, 3) as Rate from RegChildDaDiagCompleted join RegChildDaCodCount using (State, RegId) |
RegChildDaDiagCompletionRateChange | REG | Change in REG-level completion rate of DIAG measures for Child age group in Ambulatory setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildDaDiagCompletionRate as New join hist.RegChildDaDiagCompletionRate as Old using (State, RegId) |
RegChildDaMhlsCount | REG | REG-level count of all MHLS measures for Child age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegChildDaMhlsCountChange | REG | Change in REG-level count of all MHLS measures for Child age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegChildDaMhlsCount as New join hist.RegChildDaMhlsCount as Old using (State, RegId) |
RegChildDaMhlsCountGrowth | REG | Growth in REG-level count of all MHLS measures for Child age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildDaMhlsCount as New join hist.RegChildDaMhlsCount as Old using (State, RegId) |
RegChildDaMhlsCompleted | REG | REG-level count of completed MHLS measures for Child age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegChildDaMhlsCompletedChange | REG | Change in REG-level count of completed MHLS measures for Child age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegChildDaMhlsCompleted as New join hist.RegChildDaMhlsCompleted as Old using (State, RegId) |
RegChildDaMhlsCompletedGrowth | REG | Growth in REG-level count of completed MHLS measures for Child age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegChildDaMhlsCompleted as New join hist.RegChildDaMhlsCompleted as Old using (State, RegId) |
RegChildDaMhlsCompletionRate | REG | REG-level completion rate of MHLS measures for Child age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(RegChildDaMhlsCompleted.Total, RegChildDaCodCount.Total, 3) as Rate from RegChildDaMhlsCompleted join RegChildDaCodCount using (State, RegId) |
RegChildDaMhlsCompletionRateChange | REG | Change in REG-level completion rate of MHLS measures for Child age group in Ambulatory setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegChildDaMhlsCompletionRate as New join hist.RegChildDaMhlsCompletionRate as Old using (State, RegId) |
RegAdultAiCodCount | REG | REG-level count of collection occasions for Adult age group in Inpatient setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD where Setting = '1' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultAiHonosCount | REG | REG-level count of all HONOS measures for Adult age group in Inpatient setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '1' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultAiHonosCountChange | REG | Change in REG-level count of all HONOS measures for Adult age group in Inpatient setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegAdultAiHonosCount as New join hist.RegAdultAiHonosCount as Old using (State, RegId) |
RegAdultAiHonosCountGrowth | REG | Growth in REG-level count of all HONOS measures for Adult age group in Inpatient setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultAiHonosCount as New join hist.RegAdultAiHonosCount as Old using (State, RegId) |
RegAdultAiHonosCompleted | REG | REG-level count of completed HONOS measures for Adult age group in Inpatient setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultAiHonosCompletedChange | REG | Change in REG-level count of completed HONOS measures for Adult age group in Inpatient setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegAdultAiHonosCompleted as New join hist.RegAdultAiHonosCompleted as Old using (State, RegId) |
RegAdultAiHonosCompletedGrowth | REG | Growth in REG-level count of completed HONOS measures for Adult age group in Inpatient setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultAiHonosCompleted as New join hist.RegAdultAiHonosCompleted as Old using (State, RegId) |
RegAdultAiHonosCompletionRate | REG | REG-level completion rate of HONOS measures for Adult age group in Inpatient setting after Admission | select State, RegId, sd_div_safe(RegAdultAiHonosCompleted.Total, RegAdultAiCodCount.Total, 3) as Rate from RegAdultAiHonosCompleted join RegAdultAiCodCount using (State, RegId) |
RegAdultAiHonosCompletionRateChange | REG | Change in REG-level completion rate of HONOS measures for Adult age group in Inpatient setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultAiHonosCompletionRate as New join hist.RegAdultAiHonosCompletionRate as Old using (State, RegId) |
RegAdultAiPocCount | REG | REG-level count of all POC measures for Adult age group in Inpatient setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '1' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultAiPocCountChange | REG | Change in REG-level count of all POC measures for Adult age group in Inpatient setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegAdultAiPocCount as New join hist.RegAdultAiPocCount as Old using (State, RegId) |
RegAdultAiPocCountGrowth | REG | Growth in REG-level count of all POC measures for Adult age group in Inpatient setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultAiPocCount as New join hist.RegAdultAiPocCount as Old using (State, RegId) |
RegAdultAiPocCompleted | REG | REG-level count of completed POC measures for Adult age group in Inpatient setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultAiPocCompletedChange | REG | Change in REG-level count of completed POC measures for Adult age group in Inpatient setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegAdultAiPocCompleted as New join hist.RegAdultAiPocCompleted as Old using (State, RegId) |
RegAdultAiPocCompletedGrowth | REG | Growth in REG-level count of completed POC measures for Adult age group in Inpatient setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultAiPocCompleted as New join hist.RegAdultAiPocCompleted as Old using (State, RegId) |
RegAdultAiPocCompletionRate | REG | REG-level completion rate of POC measures for Adult age group in Inpatient setting after Admission | select State, RegId, sd_div_safe(RegAdultAiPocCompleted.Total, RegAdultAiCodCount.Total, 3) as Rate from RegAdultAiPocCompleted join RegAdultAiCodCount using (State, RegId) |
RegAdultAiPocCompletionRateChange | REG | Change in REG-level completion rate of POC measures for Adult age group in Inpatient setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultAiPocCompletionRate as New join hist.RegAdultAiPocCompletionRate as Old using (State, RegId) |
RegAdultRiCodCount | REG | REG-level count of collection occasions for Adult age group in Inpatient setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD where Setting = '1' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRiHonosCount | REG | REG-level count of all HONOS measures for Adult age group in Inpatient setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '1' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRiHonosCountChange | REG | Change in REG-level count of all HONOS measures for Adult age group in Inpatient setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRiHonosCount as New join hist.RegAdultRiHonosCount as Old using (State, RegId) |
RegAdultRiHonosCountGrowth | REG | Growth in REG-level count of all HONOS measures for Adult age group in Inpatient setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRiHonosCount as New join hist.RegAdultRiHonosCount as Old using (State, RegId) |
RegAdultRiHonosCompleted | REG | REG-level count of completed HONOS measures for Adult age group in Inpatient setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRiHonosCompletedChange | REG | Change in REG-level count of completed HONOS measures for Adult age group in Inpatient setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRiHonosCompleted as New join hist.RegAdultRiHonosCompleted as Old using (State, RegId) |
RegAdultRiHonosCompletedGrowth | REG | Growth in REG-level count of completed HONOS measures for Adult age group in Inpatient setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRiHonosCompleted as New join hist.RegAdultRiHonosCompleted as Old using (State, RegId) |
RegAdultRiHonosCompletionRate | REG | REG-level completion rate of HONOS measures for Adult age group in Inpatient setting after Review | select State, RegId, sd_div_safe(RegAdultRiHonosCompleted.Total, RegAdultRiCodCount.Total, 3) as Rate from RegAdultRiHonosCompleted join RegAdultRiCodCount using (State, RegId) |
RegAdultRiHonosCompletionRateChange | REG | Change in REG-level completion rate of HONOS measures for Adult age group in Inpatient setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultRiHonosCompletionRate as New join hist.RegAdultRiHonosCompletionRate as Old using (State, RegId) |
RegAdultRiDiagCount | REG | REG-level count of all DIAG measures for Adult age group in Inpatient setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '1' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRiDiagCountChange | REG | Change in REG-level count of all DIAG measures for Adult age group in Inpatient setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRiDiagCount as New join hist.RegAdultRiDiagCount as Old using (State, RegId) |
RegAdultRiDiagCountGrowth | REG | Growth in REG-level count of all DIAG measures for Adult age group in Inpatient setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRiDiagCount as New join hist.RegAdultRiDiagCount as Old using (State, RegId) |
RegAdultRiDiagCompleted | REG | REG-level count of completed DIAG measures for Adult age group in Inpatient setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRiDiagCompletedChange | REG | Change in REG-level count of completed DIAG measures for Adult age group in Inpatient setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRiDiagCompleted as New join hist.RegAdultRiDiagCompleted as Old using (State, RegId) |
RegAdultRiDiagCompletedGrowth | REG | Growth in REG-level count of completed DIAG measures for Adult age group in Inpatient setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRiDiagCompleted as New join hist.RegAdultRiDiagCompleted as Old using (State, RegId) |
RegAdultRiDiagCompletionRate | REG | REG-level completion rate of DIAG measures for Adult age group in Inpatient setting after Review | select State, RegId, sd_div_safe(RegAdultRiDiagCompleted.Total, RegAdultRiCodCount.Total, 3) as Rate from RegAdultRiDiagCompleted join RegAdultRiCodCount using (State, RegId) |
RegAdultRiDiagCompletionRateChange | REG | Change in REG-level completion rate of DIAG measures for Adult age group in Inpatient setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultRiDiagCompletionRate as New join hist.RegAdultRiDiagCompletionRate as Old using (State, RegId) |
RegAdultRiPocCount | REG | REG-level count of all POC measures for Adult age group in Inpatient setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '1' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRiPocCountChange | REG | Change in REG-level count of all POC measures for Adult age group in Inpatient setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRiPocCount as New join hist.RegAdultRiPocCount as Old using (State, RegId) |
RegAdultRiPocCountGrowth | REG | Growth in REG-level count of all POC measures for Adult age group in Inpatient setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRiPocCount as New join hist.RegAdultRiPocCount as Old using (State, RegId) |
RegAdultRiPocCompleted | REG | REG-level count of completed POC measures for Adult age group in Inpatient setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRiPocCompletedChange | REG | Change in REG-level count of completed POC measures for Adult age group in Inpatient setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRiPocCompleted as New join hist.RegAdultRiPocCompleted as Old using (State, RegId) |
RegAdultRiPocCompletedGrowth | REG | Growth in REG-level count of completed POC measures for Adult age group in Inpatient setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRiPocCompleted as New join hist.RegAdultRiPocCompleted as Old using (State, RegId) |
RegAdultRiPocCompletionRate | REG | REG-level completion rate of POC measures for Adult age group in Inpatient setting after Review | select State, RegId, sd_div_safe(RegAdultRiPocCompleted.Total, RegAdultRiCodCount.Total, 3) as Rate from RegAdultRiPocCompleted join RegAdultRiCodCount using (State, RegId) |
RegAdultRiPocCompletionRateChange | REG | Change in REG-level completion rate of POC measures for Adult age group in Inpatient setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultRiPocCompletionRate as New join hist.RegAdultRiPocCompletionRate as Old using (State, RegId) |
RegAdultRiMhlsCount | REG | REG-level count of all MHLS measures for Adult age group in Inpatient setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '1' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRiMhlsCountChange | REG | Change in REG-level count of all MHLS measures for Adult age group in Inpatient setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRiMhlsCount as New join hist.RegAdultRiMhlsCount as Old using (State, RegId) |
RegAdultRiMhlsCountGrowth | REG | Growth in REG-level count of all MHLS measures for Adult age group in Inpatient setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRiMhlsCount as New join hist.RegAdultRiMhlsCount as Old using (State, RegId) |
RegAdultRiMhlsCompleted | REG | REG-level count of completed MHLS measures for Adult age group in Inpatient setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRiMhlsCompletedChange | REG | Change in REG-level count of completed MHLS measures for Adult age group in Inpatient setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRiMhlsCompleted as New join hist.RegAdultRiMhlsCompleted as Old using (State, RegId) |
RegAdultRiMhlsCompletedGrowth | REG | Growth in REG-level count of completed MHLS measures for Adult age group in Inpatient setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRiMhlsCompleted as New join hist.RegAdultRiMhlsCompleted as Old using (State, RegId) |
RegAdultRiMhlsCompletionRate | REG | REG-level completion rate of MHLS measures for Adult age group in Inpatient setting after Review | select State, RegId, sd_div_safe(RegAdultRiMhlsCompleted.Total, RegAdultRiCodCount.Total, 3) as Rate from RegAdultRiMhlsCompleted join RegAdultRiCodCount using (State, RegId) |
RegAdultRiMhlsCompletionRateChange | REG | Change in REG-level completion rate of MHLS measures for Adult age group in Inpatient setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultRiMhlsCompletionRate as New join hist.RegAdultRiMhlsCompletionRate as Old using (State, RegId) |
RegAdultDiCodCount | REG | REG-level count of collection occasions for Adult age group in Inpatient setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD where Setting = '1' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDiHonosCount | REG | REG-level count of all HONOS measures for Adult age group in Inpatient setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '1' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDiHonosCountChange | REG | Change in REG-level count of all HONOS measures for Adult age group in Inpatient setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDiHonosCount as New join hist.RegAdultDiHonosCount as Old using (State, RegId) |
RegAdultDiHonosCountGrowth | REG | Growth in REG-level count of all HONOS measures for Adult age group in Inpatient setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDiHonosCount as New join hist.RegAdultDiHonosCount as Old using (State, RegId) |
RegAdultDiHonosCompleted | REG | REG-level count of completed HONOS measures for Adult age group in Inpatient setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDiHonosCompletedChange | REG | Change in REG-level count of completed HONOS measures for Adult age group in Inpatient setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDiHonosCompleted as New join hist.RegAdultDiHonosCompleted as Old using (State, RegId) |
RegAdultDiHonosCompletedGrowth | REG | Growth in REG-level count of completed HONOS measures for Adult age group in Inpatient setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDiHonosCompleted as New join hist.RegAdultDiHonosCompleted as Old using (State, RegId) |
RegAdultDiHonosCompletionRate | REG | REG-level completion rate of HONOS measures for Adult age group in Inpatient setting after Discharge | select State, RegId, sd_div_safe(RegAdultDiHonosCompleted.Total, RegAdultDiCodCount.Total, 3) as Rate from RegAdultDiHonosCompleted join RegAdultDiCodCount using (State, RegId) |
RegAdultDiHonosCompletionRateChange | REG | Change in REG-level completion rate of HONOS measures for Adult age group in Inpatient setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultDiHonosCompletionRate as New join hist.RegAdultDiHonosCompletionRate as Old using (State, RegId) |
RegAdultDiDiagCount | REG | REG-level count of all DIAG measures for Adult age group in Inpatient setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '1' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDiDiagCountChange | REG | Change in REG-level count of all DIAG measures for Adult age group in Inpatient setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDiDiagCount as New join hist.RegAdultDiDiagCount as Old using (State, RegId) |
RegAdultDiDiagCountGrowth | REG | Growth in REG-level count of all DIAG measures for Adult age group in Inpatient setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDiDiagCount as New join hist.RegAdultDiDiagCount as Old using (State, RegId) |
RegAdultDiDiagCompleted | REG | REG-level count of completed DIAG measures for Adult age group in Inpatient setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDiDiagCompletedChange | REG | Change in REG-level count of completed DIAG measures for Adult age group in Inpatient setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDiDiagCompleted as New join hist.RegAdultDiDiagCompleted as Old using (State, RegId) |
RegAdultDiDiagCompletedGrowth | REG | Growth in REG-level count of completed DIAG measures for Adult age group in Inpatient setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDiDiagCompleted as New join hist.RegAdultDiDiagCompleted as Old using (State, RegId) |
RegAdultDiDiagCompletionRate | REG | REG-level completion rate of DIAG measures for Adult age group in Inpatient setting after Discharge | select State, RegId, sd_div_safe(RegAdultDiDiagCompleted.Total, RegAdultDiCodCount.Total, 3) as Rate from RegAdultDiDiagCompleted join RegAdultDiCodCount using (State, RegId) |
RegAdultDiDiagCompletionRateChange | REG | Change in REG-level completion rate of DIAG measures for Adult age group in Inpatient setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultDiDiagCompletionRate as New join hist.RegAdultDiDiagCompletionRate as Old using (State, RegId) |
RegAdultDiMhlsCount | REG | REG-level count of all MHLS measures for Adult age group in Inpatient setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '1' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDiMhlsCountChange | REG | Change in REG-level count of all MHLS measures for Adult age group in Inpatient setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDiMhlsCount as New join hist.RegAdultDiMhlsCount as Old using (State, RegId) |
RegAdultDiMhlsCountGrowth | REG | Growth in REG-level count of all MHLS measures for Adult age group in Inpatient setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDiMhlsCount as New join hist.RegAdultDiMhlsCount as Old using (State, RegId) |
RegAdultDiMhlsCompleted | REG | REG-level count of completed MHLS measures for Adult age group in Inpatient setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDiMhlsCompletedChange | REG | Change in REG-level count of completed MHLS measures for Adult age group in Inpatient setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDiMhlsCompleted as New join hist.RegAdultDiMhlsCompleted as Old using (State, RegId) |
RegAdultDiMhlsCompletedGrowth | REG | Growth in REG-level count of completed MHLS measures for Adult age group in Inpatient setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDiMhlsCompleted as New join hist.RegAdultDiMhlsCompleted as Old using (State, RegId) |
RegAdultDiMhlsCompletionRate | REG | REG-level completion rate of MHLS measures for Adult age group in Inpatient setting after Discharge | select State, RegId, sd_div_safe(RegAdultDiMhlsCompleted.Total, RegAdultDiCodCount.Total, 3) as Rate from RegAdultDiMhlsCompleted join RegAdultDiCodCount using (State, RegId) |
RegAdultDiMhlsCompletionRateChange | REG | Change in REG-level completion rate of MHLS measures for Adult age group in Inpatient setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultDiMhlsCompletionRate as New join hist.RegAdultDiMhlsCompletionRate as Old using (State, RegId) |
RegAdultArCodCount | REG | REG-level count of collection occasions for Adult age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD where Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultArHonosCount | REG | REG-level count of all HONOS measures for Adult age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultArHonosCountChange | REG | Change in REG-level count of all HONOS measures for Adult age group in Residential setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegAdultArHonosCount as New join hist.RegAdultArHonosCount as Old using (State, RegId) |
RegAdultArHonosCountGrowth | REG | Growth in REG-level count of all HONOS measures for Adult age group in Residential setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultArHonosCount as New join hist.RegAdultArHonosCount as Old using (State, RegId) |
RegAdultArHonosCompleted | REG | REG-level count of completed HONOS measures for Adult age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultArHonosCompletedChange | REG | Change in REG-level count of completed HONOS measures for Adult age group in Residential setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegAdultArHonosCompleted as New join hist.RegAdultArHonosCompleted as Old using (State, RegId) |
RegAdultArHonosCompletedGrowth | REG | Growth in REG-level count of completed HONOS measures for Adult age group in Residential setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultArHonosCompleted as New join hist.RegAdultArHonosCompleted as Old using (State, RegId) |
RegAdultArHonosCompletionRate | REG | REG-level completion rate of HONOS measures for Adult age group in Residential setting after Admission | select State, RegId, sd_div_safe(RegAdultArHonosCompleted.Total, RegAdultArCodCount.Total, 3) as Rate from RegAdultArHonosCompleted join RegAdultArCodCount using (State, RegId) |
RegAdultArHonosCompletionRateChange | REG | Change in REG-level completion rate of HONOS measures for Adult age group in Residential setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultArHonosCompletionRate as New join hist.RegAdultArHonosCompletionRate as Old using (State, RegId) |
RegAdultArLsp16Count | REG | REG-level count of all LSP16 measures for Adult age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Lsp16Completion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultArLsp16CountChange | REG | Change in REG-level count of all LSP16 measures for Adult age group in Residential setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegAdultArLsp16Count as New join hist.RegAdultArLsp16Count as Old using (State, RegId) |
RegAdultArLsp16CountGrowth | REG | Growth in REG-level count of all LSP16 measures for Adult age group in Residential setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultArLsp16Count as New join hist.RegAdultArLsp16Count as Old using (State, RegId) |
RegAdultArLsp16Completed | REG | REG-level count of completed LSP16 measures for Adult age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Lsp16Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultArLsp16CompletedChange | REG | Change in REG-level count of completed LSP16 measures for Adult age group in Residential setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegAdultArLsp16Completed as New join hist.RegAdultArLsp16Completed as Old using (State, RegId) |
RegAdultArLsp16CompletedGrowth | REG | Growth in REG-level count of completed LSP16 measures for Adult age group in Residential setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultArLsp16Completed as New join hist.RegAdultArLsp16Completed as Old using (State, RegId) |
RegAdultArLsp16CompletionRate | REG | REG-level completion rate of LSP16 measures for Adult age group in Residential setting after Admission | select State, RegId, sd_div_safe(RegAdultArLsp16Completed.Total, RegAdultArCodCount.Total, 3) as Rate from RegAdultArLsp16Completed join RegAdultArCodCount using (State, RegId) |
RegAdultArLsp16CompletionRateChange | REG | Change in REG-level completion rate of LSP16 measures for Adult age group in Residential setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultArLsp16CompletionRate as New join hist.RegAdultArLsp16CompletionRate as Old using (State, RegId) |
RegAdultArBasis32Count | REG | REG-level count of all BASIS32 measures for Adult age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultArBasis32CountChange | REG | Change in REG-level count of all BASIS32 measures for Adult age group in Residential setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegAdultArBasis32Count as New join hist.RegAdultArBasis32Count as Old using (State, RegId) |
RegAdultArBasis32CountGrowth | REG | Growth in REG-level count of all BASIS32 measures for Adult age group in Residential setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultArBasis32Count as New join hist.RegAdultArBasis32Count as Old using (State, RegId) |
RegAdultArBasis32Completed | REG | REG-level count of completed BASIS32 measures for Adult age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultArBasis32CompletedChange | REG | Change in REG-level count of completed BASIS32 measures for Adult age group in Residential setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegAdultArBasis32Completed as New join hist.RegAdultArBasis32Completed as Old using (State, RegId) |
RegAdultArBasis32CompletedGrowth | REG | Growth in REG-level count of completed BASIS32 measures for Adult age group in Residential setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultArBasis32Completed as New join hist.RegAdultArBasis32Completed as Old using (State, RegId) |
RegAdultArBasis32CompletionRate | REG | REG-level completion rate of BASIS32 measures for Adult age group in Residential setting after Admission | select State, RegId, sd_div_safe(RegAdultArBasis32Completed.Total, RegAdultArCodCount.Total, 3) as Rate from RegAdultArBasis32Completed join RegAdultArCodCount using (State, RegId) |
RegAdultArBasis32CompletionRateChange | REG | Change in REG-level completion rate of BASIS32 measures for Adult age group in Residential setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultArBasis32CompletionRate as New join hist.RegAdultArBasis32CompletionRate as Old using (State, RegId) |
RegAdultArK10l3dCount | REG | REG-level count of all K10L3D measures for Adult age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultArK10l3dCountChange | REG | Change in REG-level count of all K10L3D measures for Adult age group in Residential setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegAdultArK10l3dCount as New join hist.RegAdultArK10l3dCount as Old using (State, RegId) |
RegAdultArK10l3dCountGrowth | REG | Growth in REG-level count of all K10L3D measures for Adult age group in Residential setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultArK10l3dCount as New join hist.RegAdultArK10l3dCount as Old using (State, RegId) |
RegAdultArK10l3dCompleted | REG | REG-level count of completed K10L3D measures for Adult age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultArK10l3dCompletedChange | REG | Change in REG-level count of completed K10L3D measures for Adult age group in Residential setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegAdultArK10l3dCompleted as New join hist.RegAdultArK10l3dCompleted as Old using (State, RegId) |
RegAdultArK10l3dCompletedGrowth | REG | Growth in REG-level count of completed K10L3D measures for Adult age group in Residential setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultArK10l3dCompleted as New join hist.RegAdultArK10l3dCompleted as Old using (State, RegId) |
RegAdultArK10l3dCompletionRate | REG | REG-level completion rate of K10L3D measures for Adult age group in Residential setting after Admission | select State, RegId, sd_div_safe(RegAdultArK10l3dCompleted.Total, RegAdultArCodCount.Total, 3) as Rate from RegAdultArK10l3dCompleted join RegAdultArCodCount using (State, RegId) |
RegAdultArK10l3dCompletionRateChange | REG | Change in REG-level completion rate of K10L3D measures for Adult age group in Residential setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultArK10l3dCompletionRate as New join hist.RegAdultArK10l3dCompletionRate as Old using (State, RegId) |
RegAdultArK10lmCount | REG | REG-level count of all K10LM measures for Adult age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultArK10lmCountChange | REG | Change in REG-level count of all K10LM measures for Adult age group in Residential setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegAdultArK10lmCount as New join hist.RegAdultArK10lmCount as Old using (State, RegId) |
RegAdultArK10lmCountGrowth | REG | Growth in REG-level count of all K10LM measures for Adult age group in Residential setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultArK10lmCount as New join hist.RegAdultArK10lmCount as Old using (State, RegId) |
RegAdultArK10lmCompleted | REG | REG-level count of completed K10LM measures for Adult age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultArK10lmCompletedChange | REG | Change in REG-level count of completed K10LM measures for Adult age group in Residential setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegAdultArK10lmCompleted as New join hist.RegAdultArK10lmCompleted as Old using (State, RegId) |
RegAdultArK10lmCompletedGrowth | REG | Growth in REG-level count of completed K10LM measures for Adult age group in Residential setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultArK10lmCompleted as New join hist.RegAdultArK10lmCompleted as Old using (State, RegId) |
RegAdultArK10lmCompletionRate | REG | REG-level completion rate of K10LM measures for Adult age group in Residential setting after Admission | select State, RegId, sd_div_safe(RegAdultArK10lmCompleted.Total, RegAdultArCodCount.Total, 3) as Rate from RegAdultArK10lmCompleted join RegAdultArCodCount using (State, RegId) |
RegAdultArK10lmCompletionRateChange | REG | Change in REG-level completion rate of K10LM measures for Adult age group in Residential setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultArK10lmCompletionRate as New join hist.RegAdultArK10lmCompletionRate as Old using (State, RegId) |
RegAdultArMhi38Count | REG | REG-level count of all MHI38 measures for Adult age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultArMhi38CountChange | REG | Change in REG-level count of all MHI38 measures for Adult age group in Residential setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegAdultArMhi38Count as New join hist.RegAdultArMhi38Count as Old using (State, RegId) |
RegAdultArMhi38CountGrowth | REG | Growth in REG-level count of all MHI38 measures for Adult age group in Residential setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultArMhi38Count as New join hist.RegAdultArMhi38Count as Old using (State, RegId) |
RegAdultArMhi38Completed | REG | REG-level count of completed MHI38 measures for Adult age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultArMhi38CompletedChange | REG | Change in REG-level count of completed MHI38 measures for Adult age group in Residential setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegAdultArMhi38Completed as New join hist.RegAdultArMhi38Completed as Old using (State, RegId) |
RegAdultArMhi38CompletedGrowth | REG | Growth in REG-level count of completed MHI38 measures for Adult age group in Residential setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultArMhi38Completed as New join hist.RegAdultArMhi38Completed as Old using (State, RegId) |
RegAdultArMhi38CompletionRate | REG | REG-level completion rate of MHI38 measures for Adult age group in Residential setting after Admission | select State, RegId, sd_div_safe(RegAdultArMhi38Completed.Total, RegAdultArCodCount.Total, 3) as Rate from RegAdultArMhi38Completed join RegAdultArCodCount using (State, RegId) |
RegAdultArMhi38CompletionRateChange | REG | Change in REG-level completion rate of MHI38 measures for Adult age group in Residential setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultArMhi38CompletionRate as New join hist.RegAdultArMhi38CompletionRate as Old using (State, RegId) |
RegAdultArPocCount | REG | REG-level count of all POC measures for Adult age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultArPocCountChange | REG | Change in REG-level count of all POC measures for Adult age group in Residential setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegAdultArPocCount as New join hist.RegAdultArPocCount as Old using (State, RegId) |
RegAdultArPocCountGrowth | REG | Growth in REG-level count of all POC measures for Adult age group in Residential setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultArPocCount as New join hist.RegAdultArPocCount as Old using (State, RegId) |
RegAdultArPocCompleted | REG | REG-level count of completed POC measures for Adult age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultArPocCompletedChange | REG | Change in REG-level count of completed POC measures for Adult age group in Residential setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegAdultArPocCompleted as New join hist.RegAdultArPocCompleted as Old using (State, RegId) |
RegAdultArPocCompletedGrowth | REG | Growth in REG-level count of completed POC measures for Adult age group in Residential setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultArPocCompleted as New join hist.RegAdultArPocCompleted as Old using (State, RegId) |
RegAdultArPocCompletionRate | REG | REG-level completion rate of POC measures for Adult age group in Residential setting after Admission | select State, RegId, sd_div_safe(RegAdultArPocCompleted.Total, RegAdultArCodCount.Total, 3) as Rate from RegAdultArPocCompleted join RegAdultArCodCount using (State, RegId) |
RegAdultArPocCompletionRateChange | REG | Change in REG-level completion rate of POC measures for Adult age group in Residential setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultArPocCompletionRate as New join hist.RegAdultArPocCompletionRate as Old using (State, RegId) |
RegAdultRrCodCount | REG | REG-level count of collection occasions for Adult age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD where Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRrHonosCount | REG | REG-level count of all HONOS measures for Adult age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRrHonosCountChange | REG | Change in REG-level count of all HONOS measures for Adult age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRrHonosCount as New join hist.RegAdultRrHonosCount as Old using (State, RegId) |
RegAdultRrHonosCountGrowth | REG | Growth in REG-level count of all HONOS measures for Adult age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRrHonosCount as New join hist.RegAdultRrHonosCount as Old using (State, RegId) |
RegAdultRrHonosCompleted | REG | REG-level count of completed HONOS measures for Adult age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRrHonosCompletedChange | REG | Change in REG-level count of completed HONOS measures for Adult age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRrHonosCompleted as New join hist.RegAdultRrHonosCompleted as Old using (State, RegId) |
RegAdultRrHonosCompletedGrowth | REG | Growth in REG-level count of completed HONOS measures for Adult age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRrHonosCompleted as New join hist.RegAdultRrHonosCompleted as Old using (State, RegId) |
RegAdultRrHonosCompletionRate | REG | REG-level completion rate of HONOS measures for Adult age group in Residential setting after Review | select State, RegId, sd_div_safe(RegAdultRrHonosCompleted.Total, RegAdultRrCodCount.Total, 3) as Rate from RegAdultRrHonosCompleted join RegAdultRrCodCount using (State, RegId) |
RegAdultRrHonosCompletionRateChange | REG | Change in REG-level completion rate of HONOS measures for Adult age group in Residential setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultRrHonosCompletionRate as New join hist.RegAdultRrHonosCompletionRate as Old using (State, RegId) |
RegAdultRrLsp16Count | REG | REG-level count of all LSP16 measures for Adult age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Lsp16Completion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRrLsp16CountChange | REG | Change in REG-level count of all LSP16 measures for Adult age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRrLsp16Count as New join hist.RegAdultRrLsp16Count as Old using (State, RegId) |
RegAdultRrLsp16CountGrowth | REG | Growth in REG-level count of all LSP16 measures for Adult age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRrLsp16Count as New join hist.RegAdultRrLsp16Count as Old using (State, RegId) |
RegAdultRrLsp16Completed | REG | REG-level count of completed LSP16 measures for Adult age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Lsp16Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRrLsp16CompletedChange | REG | Change in REG-level count of completed LSP16 measures for Adult age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRrLsp16Completed as New join hist.RegAdultRrLsp16Completed as Old using (State, RegId) |
RegAdultRrLsp16CompletedGrowth | REG | Growth in REG-level count of completed LSP16 measures for Adult age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRrLsp16Completed as New join hist.RegAdultRrLsp16Completed as Old using (State, RegId) |
RegAdultRrLsp16CompletionRate | REG | REG-level completion rate of LSP16 measures for Adult age group in Residential setting after Review | select State, RegId, sd_div_safe(RegAdultRrLsp16Completed.Total, RegAdultRrCodCount.Total, 3) as Rate from RegAdultRrLsp16Completed join RegAdultRrCodCount using (State, RegId) |
RegAdultRrLsp16CompletionRateChange | REG | Change in REG-level completion rate of LSP16 measures for Adult age group in Residential setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultRrLsp16CompletionRate as New join hist.RegAdultRrLsp16CompletionRate as Old using (State, RegId) |
RegAdultRrBasis32Count | REG | REG-level count of all BASIS32 measures for Adult age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRrBasis32CountChange | REG | Change in REG-level count of all BASIS32 measures for Adult age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRrBasis32Count as New join hist.RegAdultRrBasis32Count as Old using (State, RegId) |
RegAdultRrBasis32CountGrowth | REG | Growth in REG-level count of all BASIS32 measures for Adult age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRrBasis32Count as New join hist.RegAdultRrBasis32Count as Old using (State, RegId) |
RegAdultRrBasis32Completed | REG | REG-level count of completed BASIS32 measures for Adult age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRrBasis32CompletedChange | REG | Change in REG-level count of completed BASIS32 measures for Adult age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRrBasis32Completed as New join hist.RegAdultRrBasis32Completed as Old using (State, RegId) |
RegAdultRrBasis32CompletedGrowth | REG | Growth in REG-level count of completed BASIS32 measures for Adult age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRrBasis32Completed as New join hist.RegAdultRrBasis32Completed as Old using (State, RegId) |
RegAdultRrBasis32CompletionRate | REG | REG-level completion rate of BASIS32 measures for Adult age group in Residential setting after Review | select State, RegId, sd_div_safe(RegAdultRrBasis32Completed.Total, RegAdultRrCodCount.Total, 3) as Rate from RegAdultRrBasis32Completed join RegAdultRrCodCount using (State, RegId) |
RegAdultRrBasis32CompletionRateChange | REG | Change in REG-level completion rate of BASIS32 measures for Adult age group in Residential setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultRrBasis32CompletionRate as New join hist.RegAdultRrBasis32CompletionRate as Old using (State, RegId) |
RegAdultRrK10l3dCount | REG | REG-level count of all K10L3D measures for Adult age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRrK10l3dCountChange | REG | Change in REG-level count of all K10L3D measures for Adult age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRrK10l3dCount as New join hist.RegAdultRrK10l3dCount as Old using (State, RegId) |
RegAdultRrK10l3dCountGrowth | REG | Growth in REG-level count of all K10L3D measures for Adult age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRrK10l3dCount as New join hist.RegAdultRrK10l3dCount as Old using (State, RegId) |
RegAdultRrK10l3dCompleted | REG | REG-level count of completed K10L3D measures for Adult age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRrK10l3dCompletedChange | REG | Change in REG-level count of completed K10L3D measures for Adult age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRrK10l3dCompleted as New join hist.RegAdultRrK10l3dCompleted as Old using (State, RegId) |
RegAdultRrK10l3dCompletedGrowth | REG | Growth in REG-level count of completed K10L3D measures for Adult age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRrK10l3dCompleted as New join hist.RegAdultRrK10l3dCompleted as Old using (State, RegId) |
RegAdultRrK10l3dCompletionRate | REG | REG-level completion rate of K10L3D measures for Adult age group in Residential setting after Review | select State, RegId, sd_div_safe(RegAdultRrK10l3dCompleted.Total, RegAdultRrCodCount.Total, 3) as Rate from RegAdultRrK10l3dCompleted join RegAdultRrCodCount using (State, RegId) |
RegAdultRrK10l3dCompletionRateChange | REG | Change in REG-level completion rate of K10L3D measures for Adult age group in Residential setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultRrK10l3dCompletionRate as New join hist.RegAdultRrK10l3dCompletionRate as Old using (State, RegId) |
RegAdultRrK10lmCount | REG | REG-level count of all K10LM measures for Adult age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRrK10lmCountChange | REG | Change in REG-level count of all K10LM measures for Adult age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRrK10lmCount as New join hist.RegAdultRrK10lmCount as Old using (State, RegId) |
RegAdultRrK10lmCountGrowth | REG | Growth in REG-level count of all K10LM measures for Adult age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRrK10lmCount as New join hist.RegAdultRrK10lmCount as Old using (State, RegId) |
RegAdultRrK10lmCompleted | REG | REG-level count of completed K10LM measures for Adult age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRrK10lmCompletedChange | REG | Change in REG-level count of completed K10LM measures for Adult age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRrK10lmCompleted as New join hist.RegAdultRrK10lmCompleted as Old using (State, RegId) |
RegAdultRrK10lmCompletedGrowth | REG | Growth in REG-level count of completed K10LM measures for Adult age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRrK10lmCompleted as New join hist.RegAdultRrK10lmCompleted as Old using (State, RegId) |
RegAdultRrK10lmCompletionRate | REG | REG-level completion rate of K10LM measures for Adult age group in Residential setting after Review | select State, RegId, sd_div_safe(RegAdultRrK10lmCompleted.Total, RegAdultRrCodCount.Total, 3) as Rate from RegAdultRrK10lmCompleted join RegAdultRrCodCount using (State, RegId) |
RegAdultRrK10lmCompletionRateChange | REG | Change in REG-level completion rate of K10LM measures for Adult age group in Residential setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultRrK10lmCompletionRate as New join hist.RegAdultRrK10lmCompletionRate as Old using (State, RegId) |
RegAdultRrMhi38Count | REG | REG-level count of all MHI38 measures for Adult age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRrMhi38CountChange | REG | Change in REG-level count of all MHI38 measures for Adult age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRrMhi38Count as New join hist.RegAdultRrMhi38Count as Old using (State, RegId) |
RegAdultRrMhi38CountGrowth | REG | Growth in REG-level count of all MHI38 measures for Adult age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRrMhi38Count as New join hist.RegAdultRrMhi38Count as Old using (State, RegId) |
RegAdultRrMhi38Completed | REG | REG-level count of completed MHI38 measures for Adult age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRrMhi38CompletedChange | REG | Change in REG-level count of completed MHI38 measures for Adult age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRrMhi38Completed as New join hist.RegAdultRrMhi38Completed as Old using (State, RegId) |
RegAdultRrMhi38CompletedGrowth | REG | Growth in REG-level count of completed MHI38 measures for Adult age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRrMhi38Completed as New join hist.RegAdultRrMhi38Completed as Old using (State, RegId) |
RegAdultRrMhi38CompletionRate | REG | REG-level completion rate of MHI38 measures for Adult age group in Residential setting after Review | select State, RegId, sd_div_safe(RegAdultRrMhi38Completed.Total, RegAdultRrCodCount.Total, 3) as Rate from RegAdultRrMhi38Completed join RegAdultRrCodCount using (State, RegId) |
RegAdultRrMhi38CompletionRateChange | REG | Change in REG-level completion rate of MHI38 measures for Adult age group in Residential setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultRrMhi38CompletionRate as New join hist.RegAdultRrMhi38CompletionRate as Old using (State, RegId) |
RegAdultRrDiagCount | REG | REG-level count of all DIAG measures for Adult age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRrDiagCountChange | REG | Change in REG-level count of all DIAG measures for Adult age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRrDiagCount as New join hist.RegAdultRrDiagCount as Old using (State, RegId) |
RegAdultRrDiagCountGrowth | REG | Growth in REG-level count of all DIAG measures for Adult age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRrDiagCount as New join hist.RegAdultRrDiagCount as Old using (State, RegId) |
RegAdultRrDiagCompleted | REG | REG-level count of completed DIAG measures for Adult age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRrDiagCompletedChange | REG | Change in REG-level count of completed DIAG measures for Adult age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRrDiagCompleted as New join hist.RegAdultRrDiagCompleted as Old using (State, RegId) |
RegAdultRrDiagCompletedGrowth | REG | Growth in REG-level count of completed DIAG measures for Adult age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRrDiagCompleted as New join hist.RegAdultRrDiagCompleted as Old using (State, RegId) |
RegAdultRrDiagCompletionRate | REG | REG-level completion rate of DIAG measures for Adult age group in Residential setting after Review | select State, RegId, sd_div_safe(RegAdultRrDiagCompleted.Total, RegAdultRrCodCount.Total, 3) as Rate from RegAdultRrDiagCompleted join RegAdultRrCodCount using (State, RegId) |
RegAdultRrDiagCompletionRateChange | REG | Change in REG-level completion rate of DIAG measures for Adult age group in Residential setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultRrDiagCompletionRate as New join hist.RegAdultRrDiagCompletionRate as Old using (State, RegId) |
RegAdultRrPocCount | REG | REG-level count of all POC measures for Adult age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRrPocCountChange | REG | Change in REG-level count of all POC measures for Adult age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRrPocCount as New join hist.RegAdultRrPocCount as Old using (State, RegId) |
RegAdultRrPocCountGrowth | REG | Growth in REG-level count of all POC measures for Adult age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRrPocCount as New join hist.RegAdultRrPocCount as Old using (State, RegId) |
RegAdultRrPocCompleted | REG | REG-level count of completed POC measures for Adult age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRrPocCompletedChange | REG | Change in REG-level count of completed POC measures for Adult age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRrPocCompleted as New join hist.RegAdultRrPocCompleted as Old using (State, RegId) |
RegAdultRrPocCompletedGrowth | REG | Growth in REG-level count of completed POC measures for Adult age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRrPocCompleted as New join hist.RegAdultRrPocCompleted as Old using (State, RegId) |
RegAdultRrPocCompletionRate | REG | REG-level completion rate of POC measures for Adult age group in Residential setting after Review | select State, RegId, sd_div_safe(RegAdultRrPocCompleted.Total, RegAdultRrCodCount.Total, 3) as Rate from RegAdultRrPocCompleted join RegAdultRrCodCount using (State, RegId) |
RegAdultRrPocCompletionRateChange | REG | Change in REG-level completion rate of POC measures for Adult age group in Residential setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultRrPocCompletionRate as New join hist.RegAdultRrPocCompletionRate as Old using (State, RegId) |
RegAdultRrMhlsCount | REG | REG-level count of all MHLS measures for Adult age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRrMhlsCountChange | REG | Change in REG-level count of all MHLS measures for Adult age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRrMhlsCount as New join hist.RegAdultRrMhlsCount as Old using (State, RegId) |
RegAdultRrMhlsCountGrowth | REG | Growth in REG-level count of all MHLS measures for Adult age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRrMhlsCount as New join hist.RegAdultRrMhlsCount as Old using (State, RegId) |
RegAdultRrMhlsCompleted | REG | REG-level count of completed MHLS measures for Adult age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRrMhlsCompletedChange | REG | Change in REG-level count of completed MHLS measures for Adult age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRrMhlsCompleted as New join hist.RegAdultRrMhlsCompleted as Old using (State, RegId) |
RegAdultRrMhlsCompletedGrowth | REG | Growth in REG-level count of completed MHLS measures for Adult age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRrMhlsCompleted as New join hist.RegAdultRrMhlsCompleted as Old using (State, RegId) |
RegAdultRrMhlsCompletionRate | REG | REG-level completion rate of MHLS measures for Adult age group in Residential setting after Review | select State, RegId, sd_div_safe(RegAdultRrMhlsCompleted.Total, RegAdultRrCodCount.Total, 3) as Rate from RegAdultRrMhlsCompleted join RegAdultRrCodCount using (State, RegId) |
RegAdultRrMhlsCompletionRateChange | REG | Change in REG-level completion rate of MHLS measures for Adult age group in Residential setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultRrMhlsCompletionRate as New join hist.RegAdultRrMhlsCompletionRate as Old using (State, RegId) |
RegAdultDrCodCount | REG | REG-level count of collection occasions for Adult age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD where Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDrHonosCount | REG | REG-level count of all HONOS measures for Adult age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDrHonosCountChange | REG | Change in REG-level count of all HONOS measures for Adult age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDrHonosCount as New join hist.RegAdultDrHonosCount as Old using (State, RegId) |
RegAdultDrHonosCountGrowth | REG | Growth in REG-level count of all HONOS measures for Adult age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDrHonosCount as New join hist.RegAdultDrHonosCount as Old using (State, RegId) |
RegAdultDrHonosCompleted | REG | REG-level count of completed HONOS measures for Adult age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDrHonosCompletedChange | REG | Change in REG-level count of completed HONOS measures for Adult age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDrHonosCompleted as New join hist.RegAdultDrHonosCompleted as Old using (State, RegId) |
RegAdultDrHonosCompletedGrowth | REG | Growth in REG-level count of completed HONOS measures for Adult age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDrHonosCompleted as New join hist.RegAdultDrHonosCompleted as Old using (State, RegId) |
RegAdultDrHonosCompletionRate | REG | REG-level completion rate of HONOS measures for Adult age group in Residential setting after Discharge | select State, RegId, sd_div_safe(RegAdultDrHonosCompleted.Total, RegAdultDrCodCount.Total, 3) as Rate from RegAdultDrHonosCompleted join RegAdultDrCodCount using (State, RegId) |
RegAdultDrHonosCompletionRateChange | REG | Change in REG-level completion rate of HONOS measures for Adult age group in Residential setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultDrHonosCompletionRate as New join hist.RegAdultDrHonosCompletionRate as Old using (State, RegId) |
RegAdultDrLsp16Count | REG | REG-level count of all LSP16 measures for Adult age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Lsp16Completion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDrLsp16CountChange | REG | Change in REG-level count of all LSP16 measures for Adult age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDrLsp16Count as New join hist.RegAdultDrLsp16Count as Old using (State, RegId) |
RegAdultDrLsp16CountGrowth | REG | Growth in REG-level count of all LSP16 measures for Adult age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDrLsp16Count as New join hist.RegAdultDrLsp16Count as Old using (State, RegId) |
RegAdultDrLsp16Completed | REG | REG-level count of completed LSP16 measures for Adult age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Lsp16Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDrLsp16CompletedChange | REG | Change in REG-level count of completed LSP16 measures for Adult age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDrLsp16Completed as New join hist.RegAdultDrLsp16Completed as Old using (State, RegId) |
RegAdultDrLsp16CompletedGrowth | REG | Growth in REG-level count of completed LSP16 measures for Adult age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDrLsp16Completed as New join hist.RegAdultDrLsp16Completed as Old using (State, RegId) |
RegAdultDrLsp16CompletionRate | REG | REG-level completion rate of LSP16 measures for Adult age group in Residential setting after Discharge | select State, RegId, sd_div_safe(RegAdultDrLsp16Completed.Total, RegAdultDrCodCount.Total, 3) as Rate from RegAdultDrLsp16Completed join RegAdultDrCodCount using (State, RegId) |
RegAdultDrLsp16CompletionRateChange | REG | Change in REG-level completion rate of LSP16 measures for Adult age group in Residential setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultDrLsp16CompletionRate as New join hist.RegAdultDrLsp16CompletionRate as Old using (State, RegId) |
RegAdultDrBasis32Count | REG | REG-level count of all BASIS32 measures for Adult age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDrBasis32CountChange | REG | Change in REG-level count of all BASIS32 measures for Adult age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDrBasis32Count as New join hist.RegAdultDrBasis32Count as Old using (State, RegId) |
RegAdultDrBasis32CountGrowth | REG | Growth in REG-level count of all BASIS32 measures for Adult age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDrBasis32Count as New join hist.RegAdultDrBasis32Count as Old using (State, RegId) |
RegAdultDrBasis32Completed | REG | REG-level count of completed BASIS32 measures for Adult age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDrBasis32CompletedChange | REG | Change in REG-level count of completed BASIS32 measures for Adult age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDrBasis32Completed as New join hist.RegAdultDrBasis32Completed as Old using (State, RegId) |
RegAdultDrBasis32CompletedGrowth | REG | Growth in REG-level count of completed BASIS32 measures for Adult age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDrBasis32Completed as New join hist.RegAdultDrBasis32Completed as Old using (State, RegId) |
RegAdultDrBasis32CompletionRate | REG | REG-level completion rate of BASIS32 measures for Adult age group in Residential setting after Discharge | select State, RegId, sd_div_safe(RegAdultDrBasis32Completed.Total, RegAdultDrCodCount.Total, 3) as Rate from RegAdultDrBasis32Completed join RegAdultDrCodCount using (State, RegId) |
RegAdultDrBasis32CompletionRateChange | REG | Change in REG-level completion rate of BASIS32 measures for Adult age group in Residential setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultDrBasis32CompletionRate as New join hist.RegAdultDrBasis32CompletionRate as Old using (State, RegId) |
RegAdultDrK10l3dCount | REG | REG-level count of all K10L3D measures for Adult age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDrK10l3dCountChange | REG | Change in REG-level count of all K10L3D measures for Adult age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDrK10l3dCount as New join hist.RegAdultDrK10l3dCount as Old using (State, RegId) |
RegAdultDrK10l3dCountGrowth | REG | Growth in REG-level count of all K10L3D measures for Adult age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDrK10l3dCount as New join hist.RegAdultDrK10l3dCount as Old using (State, RegId) |
RegAdultDrK10l3dCompleted | REG | REG-level count of completed K10L3D measures for Adult age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDrK10l3dCompletedChange | REG | Change in REG-level count of completed K10L3D measures for Adult age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDrK10l3dCompleted as New join hist.RegAdultDrK10l3dCompleted as Old using (State, RegId) |
RegAdultDrK10l3dCompletedGrowth | REG | Growth in REG-level count of completed K10L3D measures for Adult age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDrK10l3dCompleted as New join hist.RegAdultDrK10l3dCompleted as Old using (State, RegId) |
RegAdultDrK10l3dCompletionRate | REG | REG-level completion rate of K10L3D measures for Adult age group in Residential setting after Discharge | select State, RegId, sd_div_safe(RegAdultDrK10l3dCompleted.Total, RegAdultDrCodCount.Total, 3) as Rate from RegAdultDrK10l3dCompleted join RegAdultDrCodCount using (State, RegId) |
RegAdultDrK10l3dCompletionRateChange | REG | Change in REG-level completion rate of K10L3D measures for Adult age group in Residential setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultDrK10l3dCompletionRate as New join hist.RegAdultDrK10l3dCompletionRate as Old using (State, RegId) |
RegAdultDrK10lmCount | REG | REG-level count of all K10LM measures for Adult age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDrK10lmCountChange | REG | Change in REG-level count of all K10LM measures for Adult age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDrK10lmCount as New join hist.RegAdultDrK10lmCount as Old using (State, RegId) |
RegAdultDrK10lmCountGrowth | REG | Growth in REG-level count of all K10LM measures for Adult age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDrK10lmCount as New join hist.RegAdultDrK10lmCount as Old using (State, RegId) |
RegAdultDrK10lmCompleted | REG | REG-level count of completed K10LM measures for Adult age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDrK10lmCompletedChange | REG | Change in REG-level count of completed K10LM measures for Adult age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDrK10lmCompleted as New join hist.RegAdultDrK10lmCompleted as Old using (State, RegId) |
RegAdultDrK10lmCompletedGrowth | REG | Growth in REG-level count of completed K10LM measures for Adult age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDrK10lmCompleted as New join hist.RegAdultDrK10lmCompleted as Old using (State, RegId) |
RegAdultDrK10lmCompletionRate | REG | REG-level completion rate of K10LM measures for Adult age group in Residential setting after Discharge | select State, RegId, sd_div_safe(RegAdultDrK10lmCompleted.Total, RegAdultDrCodCount.Total, 3) as Rate from RegAdultDrK10lmCompleted join RegAdultDrCodCount using (State, RegId) |
RegAdultDrK10lmCompletionRateChange | REG | Change in REG-level completion rate of K10LM measures for Adult age group in Residential setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultDrK10lmCompletionRate as New join hist.RegAdultDrK10lmCompletionRate as Old using (State, RegId) |
RegAdultDrMhi38Count | REG | REG-level count of all MHI38 measures for Adult age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDrMhi38CountChange | REG | Change in REG-level count of all MHI38 measures for Adult age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDrMhi38Count as New join hist.RegAdultDrMhi38Count as Old using (State, RegId) |
RegAdultDrMhi38CountGrowth | REG | Growth in REG-level count of all MHI38 measures for Adult age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDrMhi38Count as New join hist.RegAdultDrMhi38Count as Old using (State, RegId) |
RegAdultDrMhi38Completed | REG | REG-level count of completed MHI38 measures for Adult age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDrMhi38CompletedChange | REG | Change in REG-level count of completed MHI38 measures for Adult age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDrMhi38Completed as New join hist.RegAdultDrMhi38Completed as Old using (State, RegId) |
RegAdultDrMhi38CompletedGrowth | REG | Growth in REG-level count of completed MHI38 measures for Adult age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDrMhi38Completed as New join hist.RegAdultDrMhi38Completed as Old using (State, RegId) |
RegAdultDrMhi38CompletionRate | REG | REG-level completion rate of MHI38 measures for Adult age group in Residential setting after Discharge | select State, RegId, sd_div_safe(RegAdultDrMhi38Completed.Total, RegAdultDrCodCount.Total, 3) as Rate from RegAdultDrMhi38Completed join RegAdultDrCodCount using (State, RegId) |
RegAdultDrMhi38CompletionRateChange | REG | Change in REG-level completion rate of MHI38 measures for Adult age group in Residential setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultDrMhi38CompletionRate as New join hist.RegAdultDrMhi38CompletionRate as Old using (State, RegId) |
RegAdultDrDiagCount | REG | REG-level count of all DIAG measures for Adult age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDrDiagCountChange | REG | Change in REG-level count of all DIAG measures for Adult age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDrDiagCount as New join hist.RegAdultDrDiagCount as Old using (State, RegId) |
RegAdultDrDiagCountGrowth | REG | Growth in REG-level count of all DIAG measures for Adult age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDrDiagCount as New join hist.RegAdultDrDiagCount as Old using (State, RegId) |
RegAdultDrDiagCompleted | REG | REG-level count of completed DIAG measures for Adult age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDrDiagCompletedChange | REG | Change in REG-level count of completed DIAG measures for Adult age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDrDiagCompleted as New join hist.RegAdultDrDiagCompleted as Old using (State, RegId) |
RegAdultDrDiagCompletedGrowth | REG | Growth in REG-level count of completed DIAG measures for Adult age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDrDiagCompleted as New join hist.RegAdultDrDiagCompleted as Old using (State, RegId) |
RegAdultDrDiagCompletionRate | REG | REG-level completion rate of DIAG measures for Adult age group in Residential setting after Discharge | select State, RegId, sd_div_safe(RegAdultDrDiagCompleted.Total, RegAdultDrCodCount.Total, 3) as Rate from RegAdultDrDiagCompleted join RegAdultDrCodCount using (State, RegId) |
RegAdultDrDiagCompletionRateChange | REG | Change in REG-level completion rate of DIAG measures for Adult age group in Residential setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultDrDiagCompletionRate as New join hist.RegAdultDrDiagCompletionRate as Old using (State, RegId) |
RegAdultDrMhlsCount | REG | REG-level count of all MHLS measures for Adult age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDrMhlsCountChange | REG | Change in REG-level count of all MHLS measures for Adult age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDrMhlsCount as New join hist.RegAdultDrMhlsCount as Old using (State, RegId) |
RegAdultDrMhlsCountGrowth | REG | Growth in REG-level count of all MHLS measures for Adult age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDrMhlsCount as New join hist.RegAdultDrMhlsCount as Old using (State, RegId) |
RegAdultDrMhlsCompleted | REG | REG-level count of completed MHLS measures for Adult age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDrMhlsCompletedChange | REG | Change in REG-level count of completed MHLS measures for Adult age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDrMhlsCompleted as New join hist.RegAdultDrMhlsCompleted as Old using (State, RegId) |
RegAdultDrMhlsCompletedGrowth | REG | Growth in REG-level count of completed MHLS measures for Adult age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDrMhlsCompleted as New join hist.RegAdultDrMhlsCompleted as Old using (State, RegId) |
RegAdultDrMhlsCompletionRate | REG | REG-level completion rate of MHLS measures for Adult age group in Residential setting after Discharge | select State, RegId, sd_div_safe(RegAdultDrMhlsCompleted.Total, RegAdultDrCodCount.Total, 3) as Rate from RegAdultDrMhlsCompleted join RegAdultDrCodCount using (State, RegId) |
RegAdultDrMhlsCompletionRateChange | REG | Change in REG-level completion rate of MHLS measures for Adult age group in Residential setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultDrMhlsCompletionRate as New join hist.RegAdultDrMhlsCompletionRate as Old using (State, RegId) |
RegAdultAaCodCount | REG | REG-level count of collection occasions for Adult age group in Ambulatory setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD where Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultAaHonosCount | REG | REG-level count of all HONOS measures for Adult age group in Ambulatory setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultAaHonosCountChange | REG | Change in REG-level count of all HONOS measures for Adult age group in Ambulatory setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegAdultAaHonosCount as New join hist.RegAdultAaHonosCount as Old using (State, RegId) |
RegAdultAaHonosCountGrowth | REG | Growth in REG-level count of all HONOS measures for Adult age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultAaHonosCount as New join hist.RegAdultAaHonosCount as Old using (State, RegId) |
RegAdultAaHonosCompleted | REG | REG-level count of completed HONOS measures for Adult age group in Ambulatory setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultAaHonosCompletedChange | REG | Change in REG-level count of completed HONOS measures for Adult age group in Ambulatory setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegAdultAaHonosCompleted as New join hist.RegAdultAaHonosCompleted as Old using (State, RegId) |
RegAdultAaHonosCompletedGrowth | REG | Growth in REG-level count of completed HONOS measures for Adult age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultAaHonosCompleted as New join hist.RegAdultAaHonosCompleted as Old using (State, RegId) |
RegAdultAaHonosCompletionRate | REG | REG-level completion rate of HONOS measures for Adult age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(RegAdultAaHonosCompleted.Total, RegAdultAaCodCount.Total, 3) as Rate from RegAdultAaHonosCompleted join RegAdultAaCodCount using (State, RegId) |
RegAdultAaHonosCompletionRateChange | REG | Change in REG-level completion rate of HONOS measures for Adult age group in Ambulatory setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultAaHonosCompletionRate as New join hist.RegAdultAaHonosCompletionRate as Old using (State, RegId) |
RegAdultAaBasis32Count | REG | REG-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultAaBasis32CountChange | REG | Change in REG-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegAdultAaBasis32Count as New join hist.RegAdultAaBasis32Count as Old using (State, RegId) |
RegAdultAaBasis32CountGrowth | REG | Growth in REG-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultAaBasis32Count as New join hist.RegAdultAaBasis32Count as Old using (State, RegId) |
RegAdultAaBasis32Completed | REG | REG-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultAaBasis32CompletedChange | REG | Change in REG-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegAdultAaBasis32Completed as New join hist.RegAdultAaBasis32Completed as Old using (State, RegId) |
RegAdultAaBasis32CompletedGrowth | REG | Growth in REG-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultAaBasis32Completed as New join hist.RegAdultAaBasis32Completed as Old using (State, RegId) |
RegAdultAaBasis32CompletionRate | REG | REG-level completion rate of BASIS32 measures for Adult age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(RegAdultAaBasis32Completed.Total, RegAdultAaCodCount.Total, 3) as Rate from RegAdultAaBasis32Completed join RegAdultAaCodCount using (State, RegId) |
RegAdultAaBasis32CompletionRateChange | REG | Change in REG-level completion rate of BASIS32 measures for Adult age group in Ambulatory setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultAaBasis32CompletionRate as New join hist.RegAdultAaBasis32CompletionRate as Old using (State, RegId) |
RegAdultAaK10l3dCount | REG | REG-level count of all K10L3D measures for Adult age group in Ambulatory setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultAaK10l3dCountChange | REG | Change in REG-level count of all K10L3D measures for Adult age group in Ambulatory setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegAdultAaK10l3dCount as New join hist.RegAdultAaK10l3dCount as Old using (State, RegId) |
RegAdultAaK10l3dCountGrowth | REG | Growth in REG-level count of all K10L3D measures for Adult age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultAaK10l3dCount as New join hist.RegAdultAaK10l3dCount as Old using (State, RegId) |
RegAdultAaK10l3dCompleted | REG | REG-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultAaK10l3dCompletedChange | REG | Change in REG-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegAdultAaK10l3dCompleted as New join hist.RegAdultAaK10l3dCompleted as Old using (State, RegId) |
RegAdultAaK10l3dCompletedGrowth | REG | Growth in REG-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultAaK10l3dCompleted as New join hist.RegAdultAaK10l3dCompleted as Old using (State, RegId) |
RegAdultAaK10l3dCompletionRate | REG | REG-level completion rate of K10L3D measures for Adult age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(RegAdultAaK10l3dCompleted.Total, RegAdultAaCodCount.Total, 3) as Rate from RegAdultAaK10l3dCompleted join RegAdultAaCodCount using (State, RegId) |
RegAdultAaK10l3dCompletionRateChange | REG | Change in REG-level completion rate of K10L3D measures for Adult age group in Ambulatory setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultAaK10l3dCompletionRate as New join hist.RegAdultAaK10l3dCompletionRate as Old using (State, RegId) |
RegAdultAaK10lmCount | REG | REG-level count of all K10LM measures for Adult age group in Ambulatory setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultAaK10lmCountChange | REG | Change in REG-level count of all K10LM measures for Adult age group in Ambulatory setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegAdultAaK10lmCount as New join hist.RegAdultAaK10lmCount as Old using (State, RegId) |
RegAdultAaK10lmCountGrowth | REG | Growth in REG-level count of all K10LM measures for Adult age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultAaK10lmCount as New join hist.RegAdultAaK10lmCount as Old using (State, RegId) |
RegAdultAaK10lmCompleted | REG | REG-level count of completed K10LM measures for Adult age group in Ambulatory setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultAaK10lmCompletedChange | REG | Change in REG-level count of completed K10LM measures for Adult age group in Ambulatory setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegAdultAaK10lmCompleted as New join hist.RegAdultAaK10lmCompleted as Old using (State, RegId) |
RegAdultAaK10lmCompletedGrowth | REG | Growth in REG-level count of completed K10LM measures for Adult age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultAaK10lmCompleted as New join hist.RegAdultAaK10lmCompleted as Old using (State, RegId) |
RegAdultAaK10lmCompletionRate | REG | REG-level completion rate of K10LM measures for Adult age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(RegAdultAaK10lmCompleted.Total, RegAdultAaCodCount.Total, 3) as Rate from RegAdultAaK10lmCompleted join RegAdultAaCodCount using (State, RegId) |
RegAdultAaK10lmCompletionRateChange | REG | Change in REG-level completion rate of K10LM measures for Adult age group in Ambulatory setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultAaK10lmCompletionRate as New join hist.RegAdultAaK10lmCompletionRate as Old using (State, RegId) |
RegAdultAaMhi38Count | REG | REG-level count of all MHI38 measures for Adult age group in Ambulatory setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultAaMhi38CountChange | REG | Change in REG-level count of all MHI38 measures for Adult age group in Ambulatory setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegAdultAaMhi38Count as New join hist.RegAdultAaMhi38Count as Old using (State, RegId) |
RegAdultAaMhi38CountGrowth | REG | Growth in REG-level count of all MHI38 measures for Adult age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultAaMhi38Count as New join hist.RegAdultAaMhi38Count as Old using (State, RegId) |
RegAdultAaMhi38Completed | REG | REG-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultAaMhi38CompletedChange | REG | Change in REG-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegAdultAaMhi38Completed as New join hist.RegAdultAaMhi38Completed as Old using (State, RegId) |
RegAdultAaMhi38CompletedGrowth | REG | Growth in REG-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultAaMhi38Completed as New join hist.RegAdultAaMhi38Completed as Old using (State, RegId) |
RegAdultAaMhi38CompletionRate | REG | REG-level completion rate of MHI38 measures for Adult age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(RegAdultAaMhi38Completed.Total, RegAdultAaCodCount.Total, 3) as Rate from RegAdultAaMhi38Completed join RegAdultAaCodCount using (State, RegId) |
RegAdultAaMhi38CompletionRateChange | REG | Change in REG-level completion rate of MHI38 measures for Adult age group in Ambulatory setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultAaMhi38CompletionRate as New join hist.RegAdultAaMhi38CompletionRate as Old using (State, RegId) |
RegAdultAaPocCount | REG | REG-level count of all POC measures for Adult age group in Ambulatory setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultAaPocCountChange | REG | Change in REG-level count of all POC measures for Adult age group in Ambulatory setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegAdultAaPocCount as New join hist.RegAdultAaPocCount as Old using (State, RegId) |
RegAdultAaPocCountGrowth | REG | Growth in REG-level count of all POC measures for Adult age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultAaPocCount as New join hist.RegAdultAaPocCount as Old using (State, RegId) |
RegAdultAaPocCompleted | REG | REG-level count of completed POC measures for Adult age group in Ambulatory setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultAaPocCompletedChange | REG | Change in REG-level count of completed POC measures for Adult age group in Ambulatory setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegAdultAaPocCompleted as New join hist.RegAdultAaPocCompleted as Old using (State, RegId) |
RegAdultAaPocCompletedGrowth | REG | Growth in REG-level count of completed POC measures for Adult age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultAaPocCompleted as New join hist.RegAdultAaPocCompleted as Old using (State, RegId) |
RegAdultAaPocCompletionRate | REG | REG-level completion rate of POC measures for Adult age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(RegAdultAaPocCompleted.Total, RegAdultAaCodCount.Total, 3) as Rate from RegAdultAaPocCompleted join RegAdultAaCodCount using (State, RegId) |
RegAdultAaPocCompletionRateChange | REG | Change in REG-level completion rate of POC measures for Adult age group in Ambulatory setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultAaPocCompletionRate as New join hist.RegAdultAaPocCompletionRate as Old using (State, RegId) |
RegAdultRaCodCount | REG | REG-level count of collection occasions for Adult age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD where Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRaHonosCount | REG | REG-level count of all HONOS measures for Adult age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRaHonosCountChange | REG | Change in REG-level count of all HONOS measures for Adult age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRaHonosCount as New join hist.RegAdultRaHonosCount as Old using (State, RegId) |
RegAdultRaHonosCountGrowth | REG | Growth in REG-level count of all HONOS measures for Adult age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRaHonosCount as New join hist.RegAdultRaHonosCount as Old using (State, RegId) |
RegAdultRaHonosCompleted | REG | REG-level count of completed HONOS measures for Adult age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRaHonosCompletedChange | REG | Change in REG-level count of completed HONOS measures for Adult age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRaHonosCompleted as New join hist.RegAdultRaHonosCompleted as Old using (State, RegId) |
RegAdultRaHonosCompletedGrowth | REG | Growth in REG-level count of completed HONOS measures for Adult age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRaHonosCompleted as New join hist.RegAdultRaHonosCompleted as Old using (State, RegId) |
RegAdultRaHonosCompletionRate | REG | REG-level completion rate of HONOS measures for Adult age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(RegAdultRaHonosCompleted.Total, RegAdultRaCodCount.Total, 3) as Rate from RegAdultRaHonosCompleted join RegAdultRaCodCount using (State, RegId) |
RegAdultRaHonosCompletionRateChange | REG | Change in REG-level completion rate of HONOS measures for Adult age group in Ambulatory setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultRaHonosCompletionRate as New join hist.RegAdultRaHonosCompletionRate as Old using (State, RegId) |
RegAdultRaLsp16Count | REG | REG-level count of all LSP16 measures for Adult age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Lsp16Completion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRaLsp16CountChange | REG | Change in REG-level count of all LSP16 measures for Adult age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRaLsp16Count as New join hist.RegAdultRaLsp16Count as Old using (State, RegId) |
RegAdultRaLsp16CountGrowth | REG | Growth in REG-level count of all LSP16 measures for Adult age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRaLsp16Count as New join hist.RegAdultRaLsp16Count as Old using (State, RegId) |
RegAdultRaLsp16Completed | REG | REG-level count of completed LSP16 measures for Adult age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Lsp16Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRaLsp16CompletedChange | REG | Change in REG-level count of completed LSP16 measures for Adult age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRaLsp16Completed as New join hist.RegAdultRaLsp16Completed as Old using (State, RegId) |
RegAdultRaLsp16CompletedGrowth | REG | Growth in REG-level count of completed LSP16 measures for Adult age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRaLsp16Completed as New join hist.RegAdultRaLsp16Completed as Old using (State, RegId) |
RegAdultRaLsp16CompletionRate | REG | REG-level completion rate of LSP16 measures for Adult age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(RegAdultRaLsp16Completed.Total, RegAdultRaCodCount.Total, 3) as Rate from RegAdultRaLsp16Completed join RegAdultRaCodCount using (State, RegId) |
RegAdultRaLsp16CompletionRateChange | REG | Change in REG-level completion rate of LSP16 measures for Adult age group in Ambulatory setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultRaLsp16CompletionRate as New join hist.RegAdultRaLsp16CompletionRate as Old using (State, RegId) |
RegAdultRaBasis32Count | REG | REG-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRaBasis32CountChange | REG | Change in REG-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRaBasis32Count as New join hist.RegAdultRaBasis32Count as Old using (State, RegId) |
RegAdultRaBasis32CountGrowth | REG | Growth in REG-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRaBasis32Count as New join hist.RegAdultRaBasis32Count as Old using (State, RegId) |
RegAdultRaBasis32Completed | REG | REG-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRaBasis32CompletedChange | REG | Change in REG-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRaBasis32Completed as New join hist.RegAdultRaBasis32Completed as Old using (State, RegId) |
RegAdultRaBasis32CompletedGrowth | REG | Growth in REG-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRaBasis32Completed as New join hist.RegAdultRaBasis32Completed as Old using (State, RegId) |
RegAdultRaBasis32CompletionRate | REG | REG-level completion rate of BASIS32 measures for Adult age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(RegAdultRaBasis32Completed.Total, RegAdultRaCodCount.Total, 3) as Rate from RegAdultRaBasis32Completed join RegAdultRaCodCount using (State, RegId) |
RegAdultRaBasis32CompletionRateChange | REG | Change in REG-level completion rate of BASIS32 measures for Adult age group in Ambulatory setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultRaBasis32CompletionRate as New join hist.RegAdultRaBasis32CompletionRate as Old using (State, RegId) |
RegAdultRaK10l3dCount | REG | REG-level count of all K10L3D measures for Adult age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRaK10l3dCountChange | REG | Change in REG-level count of all K10L3D measures for Adult age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRaK10l3dCount as New join hist.RegAdultRaK10l3dCount as Old using (State, RegId) |
RegAdultRaK10l3dCountGrowth | REG | Growth in REG-level count of all K10L3D measures for Adult age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRaK10l3dCount as New join hist.RegAdultRaK10l3dCount as Old using (State, RegId) |
RegAdultRaK10l3dCompleted | REG | REG-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRaK10l3dCompletedChange | REG | Change in REG-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRaK10l3dCompleted as New join hist.RegAdultRaK10l3dCompleted as Old using (State, RegId) |
RegAdultRaK10l3dCompletedGrowth | REG | Growth in REG-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRaK10l3dCompleted as New join hist.RegAdultRaK10l3dCompleted as Old using (State, RegId) |
RegAdultRaK10l3dCompletionRate | REG | REG-level completion rate of K10L3D measures for Adult age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(RegAdultRaK10l3dCompleted.Total, RegAdultRaCodCount.Total, 3) as Rate from RegAdultRaK10l3dCompleted join RegAdultRaCodCount using (State, RegId) |
RegAdultRaK10l3dCompletionRateChange | REG | Change in REG-level completion rate of K10L3D measures for Adult age group in Ambulatory setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultRaK10l3dCompletionRate as New join hist.RegAdultRaK10l3dCompletionRate as Old using (State, RegId) |
RegAdultRaK10lmCount | REG | REG-level count of all K10LM measures for Adult age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRaK10lmCountChange | REG | Change in REG-level count of all K10LM measures for Adult age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRaK10lmCount as New join hist.RegAdultRaK10lmCount as Old using (State, RegId) |
RegAdultRaK10lmCountGrowth | REG | Growth in REG-level count of all K10LM measures for Adult age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRaK10lmCount as New join hist.RegAdultRaK10lmCount as Old using (State, RegId) |
RegAdultRaK10lmCompleted | REG | REG-level count of completed K10LM measures for Adult age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRaK10lmCompletedChange | REG | Change in REG-level count of completed K10LM measures for Adult age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRaK10lmCompleted as New join hist.RegAdultRaK10lmCompleted as Old using (State, RegId) |
RegAdultRaK10lmCompletedGrowth | REG | Growth in REG-level count of completed K10LM measures for Adult age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRaK10lmCompleted as New join hist.RegAdultRaK10lmCompleted as Old using (State, RegId) |
RegAdultRaK10lmCompletionRate | REG | REG-level completion rate of K10LM measures for Adult age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(RegAdultRaK10lmCompleted.Total, RegAdultRaCodCount.Total, 3) as Rate from RegAdultRaK10lmCompleted join RegAdultRaCodCount using (State, RegId) |
RegAdultRaK10lmCompletionRateChange | REG | Change in REG-level completion rate of K10LM measures for Adult age group in Ambulatory setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultRaK10lmCompletionRate as New join hist.RegAdultRaK10lmCompletionRate as Old using (State, RegId) |
RegAdultRaMhi38Count | REG | REG-level count of all MHI38 measures for Adult age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRaMhi38CountChange | REG | Change in REG-level count of all MHI38 measures for Adult age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRaMhi38Count as New join hist.RegAdultRaMhi38Count as Old using (State, RegId) |
RegAdultRaMhi38CountGrowth | REG | Growth in REG-level count of all MHI38 measures for Adult age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRaMhi38Count as New join hist.RegAdultRaMhi38Count as Old using (State, RegId) |
RegAdultRaMhi38Completed | REG | REG-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRaMhi38CompletedChange | REG | Change in REG-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRaMhi38Completed as New join hist.RegAdultRaMhi38Completed as Old using (State, RegId) |
RegAdultRaMhi38CompletedGrowth | REG | Growth in REG-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRaMhi38Completed as New join hist.RegAdultRaMhi38Completed as Old using (State, RegId) |
RegAdultRaMhi38CompletionRate | REG | REG-level completion rate of MHI38 measures for Adult age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(RegAdultRaMhi38Completed.Total, RegAdultRaCodCount.Total, 3) as Rate from RegAdultRaMhi38Completed join RegAdultRaCodCount using (State, RegId) |
RegAdultRaMhi38CompletionRateChange | REG | Change in REG-level completion rate of MHI38 measures for Adult age group in Ambulatory setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultRaMhi38CompletionRate as New join hist.RegAdultRaMhi38CompletionRate as Old using (State, RegId) |
RegAdultRaDiagCount | REG | REG-level count of all DIAG measures for Adult age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRaDiagCountChange | REG | Change in REG-level count of all DIAG measures for Adult age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRaDiagCount as New join hist.RegAdultRaDiagCount as Old using (State, RegId) |
RegAdultRaDiagCountGrowth | REG | Growth in REG-level count of all DIAG measures for Adult age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRaDiagCount as New join hist.RegAdultRaDiagCount as Old using (State, RegId) |
RegAdultRaDiagCompleted | REG | REG-level count of completed DIAG measures for Adult age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRaDiagCompletedChange | REG | Change in REG-level count of completed DIAG measures for Adult age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRaDiagCompleted as New join hist.RegAdultRaDiagCompleted as Old using (State, RegId) |
RegAdultRaDiagCompletedGrowth | REG | Growth in REG-level count of completed DIAG measures for Adult age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRaDiagCompleted as New join hist.RegAdultRaDiagCompleted as Old using (State, RegId) |
RegAdultRaDiagCompletionRate | REG | REG-level completion rate of DIAG measures for Adult age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(RegAdultRaDiagCompleted.Total, RegAdultRaCodCount.Total, 3) as Rate from RegAdultRaDiagCompleted join RegAdultRaCodCount using (State, RegId) |
RegAdultRaDiagCompletionRateChange | REG | Change in REG-level completion rate of DIAG measures for Adult age group in Ambulatory setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultRaDiagCompletionRate as New join hist.RegAdultRaDiagCompletionRate as Old using (State, RegId) |
RegAdultRaPocCount | REG | REG-level count of all POC measures for Adult age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRaPocCountChange | REG | Change in REG-level count of all POC measures for Adult age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRaPocCount as New join hist.RegAdultRaPocCount as Old using (State, RegId) |
RegAdultRaPocCountGrowth | REG | Growth in REG-level count of all POC measures for Adult age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRaPocCount as New join hist.RegAdultRaPocCount as Old using (State, RegId) |
RegAdultRaPocCompleted | REG | REG-level count of completed POC measures for Adult age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRaPocCompletedChange | REG | Change in REG-level count of completed POC measures for Adult age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRaPocCompleted as New join hist.RegAdultRaPocCompleted as Old using (State, RegId) |
RegAdultRaPocCompletedGrowth | REG | Growth in REG-level count of completed POC measures for Adult age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRaPocCompleted as New join hist.RegAdultRaPocCompleted as Old using (State, RegId) |
RegAdultRaPocCompletionRate | REG | REG-level completion rate of POC measures for Adult age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(RegAdultRaPocCompleted.Total, RegAdultRaCodCount.Total, 3) as Rate from RegAdultRaPocCompleted join RegAdultRaCodCount using (State, RegId) |
RegAdultRaPocCompletionRateChange | REG | Change in REG-level completion rate of POC measures for Adult age group in Ambulatory setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultRaPocCompletionRate as New join hist.RegAdultRaPocCompletionRate as Old using (State, RegId) |
RegAdultRaMhlsCount | REG | REG-level count of all MHLS measures for Adult age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRaMhlsCountChange | REG | Change in REG-level count of all MHLS measures for Adult age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRaMhlsCount as New join hist.RegAdultRaMhlsCount as Old using (State, RegId) |
RegAdultRaMhlsCountGrowth | REG | Growth in REG-level count of all MHLS measures for Adult age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRaMhlsCount as New join hist.RegAdultRaMhlsCount as Old using (State, RegId) |
RegAdultRaMhlsCompleted | REG | REG-level count of completed MHLS measures for Adult age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultRaMhlsCompletedChange | REG | Change in REG-level count of completed MHLS measures for Adult age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegAdultRaMhlsCompleted as New join hist.RegAdultRaMhlsCompleted as Old using (State, RegId) |
RegAdultRaMhlsCompletedGrowth | REG | Growth in REG-level count of completed MHLS measures for Adult age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultRaMhlsCompleted as New join hist.RegAdultRaMhlsCompleted as Old using (State, RegId) |
RegAdultRaMhlsCompletionRate | REG | REG-level completion rate of MHLS measures for Adult age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(RegAdultRaMhlsCompleted.Total, RegAdultRaCodCount.Total, 3) as Rate from RegAdultRaMhlsCompleted join RegAdultRaCodCount using (State, RegId) |
RegAdultRaMhlsCompletionRateChange | REG | Change in REG-level completion rate of MHLS measures for Adult age group in Ambulatory setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultRaMhlsCompletionRate as New join hist.RegAdultRaMhlsCompletionRate as Old using (State, RegId) |
RegAdultDaCodCount | REG | REG-level count of collection occasions for Adult age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD where Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDaHonosCount | REG | REG-level count of all HONOS measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDaHonosCountChange | REG | Change in REG-level count of all HONOS measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDaHonosCount as New join hist.RegAdultDaHonosCount as Old using (State, RegId) |
RegAdultDaHonosCountGrowth | REG | Growth in REG-level count of all HONOS measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDaHonosCount as New join hist.RegAdultDaHonosCount as Old using (State, RegId) |
RegAdultDaHonosCompleted | REG | REG-level count of completed HONOS measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDaHonosCompletedChange | REG | Change in REG-level count of completed HONOS measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDaHonosCompleted as New join hist.RegAdultDaHonosCompleted as Old using (State, RegId) |
RegAdultDaHonosCompletedGrowth | REG | Growth in REG-level count of completed HONOS measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDaHonosCompleted as New join hist.RegAdultDaHonosCompleted as Old using (State, RegId) |
RegAdultDaHonosCompletionRate | REG | REG-level completion rate of HONOS measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(RegAdultDaHonosCompleted.Total, RegAdultDaCodCount.Total, 3) as Rate from RegAdultDaHonosCompleted join RegAdultDaCodCount using (State, RegId) |
RegAdultDaHonosCompletionRateChange | REG | Change in REG-level completion rate of HONOS measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultDaHonosCompletionRate as New join hist.RegAdultDaHonosCompletionRate as Old using (State, RegId) |
RegAdultDaLsp16Count | REG | REG-level count of all LSP16 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Lsp16Completion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDaLsp16CountChange | REG | Change in REG-level count of all LSP16 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDaLsp16Count as New join hist.RegAdultDaLsp16Count as Old using (State, RegId) |
RegAdultDaLsp16CountGrowth | REG | Growth in REG-level count of all LSP16 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDaLsp16Count as New join hist.RegAdultDaLsp16Count as Old using (State, RegId) |
RegAdultDaLsp16Completed | REG | REG-level count of completed LSP16 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Lsp16Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDaLsp16CompletedChange | REG | Change in REG-level count of completed LSP16 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDaLsp16Completed as New join hist.RegAdultDaLsp16Completed as Old using (State, RegId) |
RegAdultDaLsp16CompletedGrowth | REG | Growth in REG-level count of completed LSP16 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDaLsp16Completed as New join hist.RegAdultDaLsp16Completed as Old using (State, RegId) |
RegAdultDaLsp16CompletionRate | REG | REG-level completion rate of LSP16 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(RegAdultDaLsp16Completed.Total, RegAdultDaCodCount.Total, 3) as Rate from RegAdultDaLsp16Completed join RegAdultDaCodCount using (State, RegId) |
RegAdultDaLsp16CompletionRateChange | REG | Change in REG-level completion rate of LSP16 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultDaLsp16CompletionRate as New join hist.RegAdultDaLsp16CompletionRate as Old using (State, RegId) |
RegAdultDaBasis32Count | REG | REG-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDaBasis32CountChange | REG | Change in REG-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDaBasis32Count as New join hist.RegAdultDaBasis32Count as Old using (State, RegId) |
RegAdultDaBasis32CountGrowth | REG | Growth in REG-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDaBasis32Count as New join hist.RegAdultDaBasis32Count as Old using (State, RegId) |
RegAdultDaBasis32Completed | REG | REG-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDaBasis32CompletedChange | REG | Change in REG-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDaBasis32Completed as New join hist.RegAdultDaBasis32Completed as Old using (State, RegId) |
RegAdultDaBasis32CompletedGrowth | REG | Growth in REG-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDaBasis32Completed as New join hist.RegAdultDaBasis32Completed as Old using (State, RegId) |
RegAdultDaBasis32CompletionRate | REG | REG-level completion rate of BASIS32 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(RegAdultDaBasis32Completed.Total, RegAdultDaCodCount.Total, 3) as Rate from RegAdultDaBasis32Completed join RegAdultDaCodCount using (State, RegId) |
RegAdultDaBasis32CompletionRateChange | REG | Change in REG-level completion rate of BASIS32 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultDaBasis32CompletionRate as New join hist.RegAdultDaBasis32CompletionRate as Old using (State, RegId) |
RegAdultDaK10l3dCount | REG | REG-level count of all K10L3D measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDaK10l3dCountChange | REG | Change in REG-level count of all K10L3D measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDaK10l3dCount as New join hist.RegAdultDaK10l3dCount as Old using (State, RegId) |
RegAdultDaK10l3dCountGrowth | REG | Growth in REG-level count of all K10L3D measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDaK10l3dCount as New join hist.RegAdultDaK10l3dCount as Old using (State, RegId) |
RegAdultDaK10l3dCompleted | REG | REG-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDaK10l3dCompletedChange | REG | Change in REG-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDaK10l3dCompleted as New join hist.RegAdultDaK10l3dCompleted as Old using (State, RegId) |
RegAdultDaK10l3dCompletedGrowth | REG | Growth in REG-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDaK10l3dCompleted as New join hist.RegAdultDaK10l3dCompleted as Old using (State, RegId) |
RegAdultDaK10l3dCompletionRate | REG | REG-level completion rate of K10L3D measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(RegAdultDaK10l3dCompleted.Total, RegAdultDaCodCount.Total, 3) as Rate from RegAdultDaK10l3dCompleted join RegAdultDaCodCount using (State, RegId) |
RegAdultDaK10l3dCompletionRateChange | REG | Change in REG-level completion rate of K10L3D measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultDaK10l3dCompletionRate as New join hist.RegAdultDaK10l3dCompletionRate as Old using (State, RegId) |
RegAdultDaK10lmCount | REG | REG-level count of all K10LM measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDaK10lmCountChange | REG | Change in REG-level count of all K10LM measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDaK10lmCount as New join hist.RegAdultDaK10lmCount as Old using (State, RegId) |
RegAdultDaK10lmCountGrowth | REG | Growth in REG-level count of all K10LM measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDaK10lmCount as New join hist.RegAdultDaK10lmCount as Old using (State, RegId) |
RegAdultDaK10lmCompleted | REG | REG-level count of completed K10LM measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDaK10lmCompletedChange | REG | Change in REG-level count of completed K10LM measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDaK10lmCompleted as New join hist.RegAdultDaK10lmCompleted as Old using (State, RegId) |
RegAdultDaK10lmCompletedGrowth | REG | Growth in REG-level count of completed K10LM measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDaK10lmCompleted as New join hist.RegAdultDaK10lmCompleted as Old using (State, RegId) |
RegAdultDaK10lmCompletionRate | REG | REG-level completion rate of K10LM measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(RegAdultDaK10lmCompleted.Total, RegAdultDaCodCount.Total, 3) as Rate from RegAdultDaK10lmCompleted join RegAdultDaCodCount using (State, RegId) |
RegAdultDaK10lmCompletionRateChange | REG | Change in REG-level completion rate of K10LM measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultDaK10lmCompletionRate as New join hist.RegAdultDaK10lmCompletionRate as Old using (State, RegId) |
RegAdultDaMhi38Count | REG | REG-level count of all MHI38 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDaMhi38CountChange | REG | Change in REG-level count of all MHI38 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDaMhi38Count as New join hist.RegAdultDaMhi38Count as Old using (State, RegId) |
RegAdultDaMhi38CountGrowth | REG | Growth in REG-level count of all MHI38 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDaMhi38Count as New join hist.RegAdultDaMhi38Count as Old using (State, RegId) |
RegAdultDaMhi38Completed | REG | REG-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDaMhi38CompletedChange | REG | Change in REG-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDaMhi38Completed as New join hist.RegAdultDaMhi38Completed as Old using (State, RegId) |
RegAdultDaMhi38CompletedGrowth | REG | Growth in REG-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDaMhi38Completed as New join hist.RegAdultDaMhi38Completed as Old using (State, RegId) |
RegAdultDaMhi38CompletionRate | REG | REG-level completion rate of MHI38 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(RegAdultDaMhi38Completed.Total, RegAdultDaCodCount.Total, 3) as Rate from RegAdultDaMhi38Completed join RegAdultDaCodCount using (State, RegId) |
RegAdultDaMhi38CompletionRateChange | REG | Change in REG-level completion rate of MHI38 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultDaMhi38CompletionRate as New join hist.RegAdultDaMhi38CompletionRate as Old using (State, RegId) |
RegAdultDaDiagCount | REG | REG-level count of all DIAG measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDaDiagCountChange | REG | Change in REG-level count of all DIAG measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDaDiagCount as New join hist.RegAdultDaDiagCount as Old using (State, RegId) |
RegAdultDaDiagCountGrowth | REG | Growth in REG-level count of all DIAG measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDaDiagCount as New join hist.RegAdultDaDiagCount as Old using (State, RegId) |
RegAdultDaDiagCompleted | REG | REG-level count of completed DIAG measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDaDiagCompletedChange | REG | Change in REG-level count of completed DIAG measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDaDiagCompleted as New join hist.RegAdultDaDiagCompleted as Old using (State, RegId) |
RegAdultDaDiagCompletedGrowth | REG | Growth in REG-level count of completed DIAG measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDaDiagCompleted as New join hist.RegAdultDaDiagCompleted as Old using (State, RegId) |
RegAdultDaDiagCompletionRate | REG | REG-level completion rate of DIAG measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(RegAdultDaDiagCompleted.Total, RegAdultDaCodCount.Total, 3) as Rate from RegAdultDaDiagCompleted join RegAdultDaCodCount using (State, RegId) |
RegAdultDaDiagCompletionRateChange | REG | Change in REG-level completion rate of DIAG measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultDaDiagCompletionRate as New join hist.RegAdultDaDiagCompletionRate as Old using (State, RegId) |
RegAdultDaMhlsCount | REG | REG-level count of all MHLS measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDaMhlsCountChange | REG | Change in REG-level count of all MHLS measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDaMhlsCount as New join hist.RegAdultDaMhlsCount as Old using (State, RegId) |
RegAdultDaMhlsCountGrowth | REG | Growth in REG-level count of all MHLS measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDaMhlsCount as New join hist.RegAdultDaMhlsCount as Old using (State, RegId) |
RegAdultDaMhlsCompleted | REG | REG-level count of completed MHLS measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegAdultDaMhlsCompletedChange | REG | Change in REG-level count of completed MHLS measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegAdultDaMhlsCompleted as New join hist.RegAdultDaMhlsCompleted as Old using (State, RegId) |
RegAdultDaMhlsCompletedGrowth | REG | Growth in REG-level count of completed MHLS measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegAdultDaMhlsCompleted as New join hist.RegAdultDaMhlsCompleted as Old using (State, RegId) |
RegAdultDaMhlsCompletionRate | REG | REG-level completion rate of MHLS measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(RegAdultDaMhlsCompleted.Total, RegAdultDaCodCount.Total, 3) as Rate from RegAdultDaMhlsCompleted join RegAdultDaCodCount using (State, RegId) |
RegAdultDaMhlsCompletionRateChange | REG | Change in REG-level completion rate of MHLS measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegAdultDaMhlsCompletionRate as New join hist.RegAdultDaMhlsCompletionRate as Old using (State, RegId) |
RegOlderAiCodCount | REG | REG-level count of collection occasions for Older age group in Inpatient setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD where Setting = '1' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderAiHonosCount | REG | REG-level count of all HONOS measures for Older age group in Inpatient setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '1' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderAiHonosCountChange | REG | Change in REG-level count of all HONOS measures for Older age group in Inpatient setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegOlderAiHonosCount as New join hist.RegOlderAiHonosCount as Old using (State, RegId) |
RegOlderAiHonosCountGrowth | REG | Growth in REG-level count of all HONOS measures for Older age group in Inpatient setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderAiHonosCount as New join hist.RegOlderAiHonosCount as Old using (State, RegId) |
RegOlderAiHonosCompleted | REG | REG-level count of completed HONOS measures for Older age group in Inpatient setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderAiHonosCompletedChange | REG | Change in REG-level count of completed HONOS measures for Older age group in Inpatient setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegOlderAiHonosCompleted as New join hist.RegOlderAiHonosCompleted as Old using (State, RegId) |
RegOlderAiHonosCompletedGrowth | REG | Growth in REG-level count of completed HONOS measures for Older age group in Inpatient setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderAiHonosCompleted as New join hist.RegOlderAiHonosCompleted as Old using (State, RegId) |
RegOlderAiHonosCompletionRate | REG | REG-level completion rate of HONOS measures for Older age group in Inpatient setting after Admission | select State, RegId, sd_div_safe(RegOlderAiHonosCompleted.Total, RegOlderAiCodCount.Total, 3) as Rate from RegOlderAiHonosCompleted join RegOlderAiCodCount using (State, RegId) |
RegOlderAiHonosCompletionRateChange | REG | Change in REG-level completion rate of HONOS measures for Older age group in Inpatient setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderAiHonosCompletionRate as New join hist.RegOlderAiHonosCompletionRate as Old using (State, RegId) |
RegOlderAiRugadlCount | REG | REG-level count of all RUGADL measures for Older age group in Inpatient setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join RugadlCompletion using (ColId) where Setting = '1' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderAiRugadlCountChange | REG | Change in REG-level count of all RUGADL measures for Older age group in Inpatient setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegOlderAiRugadlCount as New join hist.RegOlderAiRugadlCount as Old using (State, RegId) |
RegOlderAiRugadlCountGrowth | REG | Growth in REG-level count of all RUGADL measures for Older age group in Inpatient setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderAiRugadlCount as New join hist.RegOlderAiRugadlCount as Old using (State, RegId) |
RegOlderAiRugadlCompleted | REG | REG-level count of completed RUGADL measures for Older age group in Inpatient setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join RugadlCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderAiRugadlCompletedChange | REG | Change in REG-level count of completed RUGADL measures for Older age group in Inpatient setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegOlderAiRugadlCompleted as New join hist.RegOlderAiRugadlCompleted as Old using (State, RegId) |
RegOlderAiRugadlCompletedGrowth | REG | Growth in REG-level count of completed RUGADL measures for Older age group in Inpatient setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderAiRugadlCompleted as New join hist.RegOlderAiRugadlCompleted as Old using (State, RegId) |
RegOlderAiRugadlCompletionRate | REG | REG-level completion rate of RUGADL measures for Older age group in Inpatient setting after Admission | select State, RegId, sd_div_safe(RegOlderAiRugadlCompleted.Total, RegOlderAiCodCount.Total, 3) as Rate from RegOlderAiRugadlCompleted join RegOlderAiCodCount using (State, RegId) |
RegOlderAiRugadlCompletionRateChange | REG | Change in REG-level completion rate of RUGADL measures for Older age group in Inpatient setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderAiRugadlCompletionRate as New join hist.RegOlderAiRugadlCompletionRate as Old using (State, RegId) |
RegOlderAiPocCount | REG | REG-level count of all POC measures for Older age group in Inpatient setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '1' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderAiPocCountChange | REG | Change in REG-level count of all POC measures for Older age group in Inpatient setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegOlderAiPocCount as New join hist.RegOlderAiPocCount as Old using (State, RegId) |
RegOlderAiPocCountGrowth | REG | Growth in REG-level count of all POC measures for Older age group in Inpatient setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderAiPocCount as New join hist.RegOlderAiPocCount as Old using (State, RegId) |
RegOlderAiPocCompleted | REG | REG-level count of completed POC measures for Older age group in Inpatient setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderAiPocCompletedChange | REG | Change in REG-level count of completed POC measures for Older age group in Inpatient setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegOlderAiPocCompleted as New join hist.RegOlderAiPocCompleted as Old using (State, RegId) |
RegOlderAiPocCompletedGrowth | REG | Growth in REG-level count of completed POC measures for Older age group in Inpatient setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderAiPocCompleted as New join hist.RegOlderAiPocCompleted as Old using (State, RegId) |
RegOlderAiPocCompletionRate | REG | REG-level completion rate of POC measures for Older age group in Inpatient setting after Admission | select State, RegId, sd_div_safe(RegOlderAiPocCompleted.Total, RegOlderAiCodCount.Total, 3) as Rate from RegOlderAiPocCompleted join RegOlderAiCodCount using (State, RegId) |
RegOlderAiPocCompletionRateChange | REG | Change in REG-level completion rate of POC measures for Older age group in Inpatient setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderAiPocCompletionRate as New join hist.RegOlderAiPocCompletionRate as Old using (State, RegId) |
RegOlderRiCodCount | REG | REG-level count of collection occasions for Older age group in Inpatient setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD where Setting = '1' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRiHonosCount | REG | REG-level count of all HONOS measures for Older age group in Inpatient setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '1' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRiHonosCountChange | REG | Change in REG-level count of all HONOS measures for Older age group in Inpatient setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRiHonosCount as New join hist.RegOlderRiHonosCount as Old using (State, RegId) |
RegOlderRiHonosCountGrowth | REG | Growth in REG-level count of all HONOS measures for Older age group in Inpatient setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRiHonosCount as New join hist.RegOlderRiHonosCount as Old using (State, RegId) |
RegOlderRiHonosCompleted | REG | REG-level count of completed HONOS measures for Older age group in Inpatient setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRiHonosCompletedChange | REG | Change in REG-level count of completed HONOS measures for Older age group in Inpatient setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRiHonosCompleted as New join hist.RegOlderRiHonosCompleted as Old using (State, RegId) |
RegOlderRiHonosCompletedGrowth | REG | Growth in REG-level count of completed HONOS measures for Older age group in Inpatient setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRiHonosCompleted as New join hist.RegOlderRiHonosCompleted as Old using (State, RegId) |
RegOlderRiHonosCompletionRate | REG | REG-level completion rate of HONOS measures for Older age group in Inpatient setting after Review | select State, RegId, sd_div_safe(RegOlderRiHonosCompleted.Total, RegOlderRiCodCount.Total, 3) as Rate from RegOlderRiHonosCompleted join RegOlderRiCodCount using (State, RegId) |
RegOlderRiHonosCompletionRateChange | REG | Change in REG-level completion rate of HONOS measures for Older age group in Inpatient setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderRiHonosCompletionRate as New join hist.RegOlderRiHonosCompletionRate as Old using (State, RegId) |
RegOlderRiRugadlCount | REG | REG-level count of all RUGADL measures for Older age group in Inpatient setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join RugadlCompletion using (ColId) where Setting = '1' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRiRugadlCountChange | REG | Change in REG-level count of all RUGADL measures for Older age group in Inpatient setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRiRugadlCount as New join hist.RegOlderRiRugadlCount as Old using (State, RegId) |
RegOlderRiRugadlCountGrowth | REG | Growth in REG-level count of all RUGADL measures for Older age group in Inpatient setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRiRugadlCount as New join hist.RegOlderRiRugadlCount as Old using (State, RegId) |
RegOlderRiRugadlCompleted | REG | REG-level count of completed RUGADL measures for Older age group in Inpatient setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join RugadlCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRiRugadlCompletedChange | REG | Change in REG-level count of completed RUGADL measures for Older age group in Inpatient setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRiRugadlCompleted as New join hist.RegOlderRiRugadlCompleted as Old using (State, RegId) |
RegOlderRiRugadlCompletedGrowth | REG | Growth in REG-level count of completed RUGADL measures for Older age group in Inpatient setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRiRugadlCompleted as New join hist.RegOlderRiRugadlCompleted as Old using (State, RegId) |
RegOlderRiRugadlCompletionRate | REG | REG-level completion rate of RUGADL measures for Older age group in Inpatient setting after Review | select State, RegId, sd_div_safe(RegOlderRiRugadlCompleted.Total, RegOlderRiCodCount.Total, 3) as Rate from RegOlderRiRugadlCompleted join RegOlderRiCodCount using (State, RegId) |
RegOlderRiRugadlCompletionRateChange | REG | Change in REG-level completion rate of RUGADL measures for Older age group in Inpatient setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderRiRugadlCompletionRate as New join hist.RegOlderRiRugadlCompletionRate as Old using (State, RegId) |
RegOlderRiDiagCount | REG | REG-level count of all DIAG measures for Older age group in Inpatient setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '1' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRiDiagCountChange | REG | Change in REG-level count of all DIAG measures for Older age group in Inpatient setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRiDiagCount as New join hist.RegOlderRiDiagCount as Old using (State, RegId) |
RegOlderRiDiagCountGrowth | REG | Growth in REG-level count of all DIAG measures for Older age group in Inpatient setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRiDiagCount as New join hist.RegOlderRiDiagCount as Old using (State, RegId) |
RegOlderRiDiagCompleted | REG | REG-level count of completed DIAG measures for Older age group in Inpatient setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRiDiagCompletedChange | REG | Change in REG-level count of completed DIAG measures for Older age group in Inpatient setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRiDiagCompleted as New join hist.RegOlderRiDiagCompleted as Old using (State, RegId) |
RegOlderRiDiagCompletedGrowth | REG | Growth in REG-level count of completed DIAG measures for Older age group in Inpatient setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRiDiagCompleted as New join hist.RegOlderRiDiagCompleted as Old using (State, RegId) |
RegOlderRiDiagCompletionRate | REG | REG-level completion rate of DIAG measures for Older age group in Inpatient setting after Review | select State, RegId, sd_div_safe(RegOlderRiDiagCompleted.Total, RegOlderRiCodCount.Total, 3) as Rate from RegOlderRiDiagCompleted join RegOlderRiCodCount using (State, RegId) |
RegOlderRiDiagCompletionRateChange | REG | Change in REG-level completion rate of DIAG measures for Older age group in Inpatient setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderRiDiagCompletionRate as New join hist.RegOlderRiDiagCompletionRate as Old using (State, RegId) |
RegOlderRiPocCount | REG | REG-level count of all POC measures for Older age group in Inpatient setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '1' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRiPocCountChange | REG | Change in REG-level count of all POC measures for Older age group in Inpatient setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRiPocCount as New join hist.RegOlderRiPocCount as Old using (State, RegId) |
RegOlderRiPocCountGrowth | REG | Growth in REG-level count of all POC measures for Older age group in Inpatient setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRiPocCount as New join hist.RegOlderRiPocCount as Old using (State, RegId) |
RegOlderRiPocCompleted | REG | REG-level count of completed POC measures for Older age group in Inpatient setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRiPocCompletedChange | REG | Change in REG-level count of completed POC measures for Older age group in Inpatient setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRiPocCompleted as New join hist.RegOlderRiPocCompleted as Old using (State, RegId) |
RegOlderRiPocCompletedGrowth | REG | Growth in REG-level count of completed POC measures for Older age group in Inpatient setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRiPocCompleted as New join hist.RegOlderRiPocCompleted as Old using (State, RegId) |
RegOlderRiPocCompletionRate | REG | REG-level completion rate of POC measures for Older age group in Inpatient setting after Review | select State, RegId, sd_div_safe(RegOlderRiPocCompleted.Total, RegOlderRiCodCount.Total, 3) as Rate from RegOlderRiPocCompleted join RegOlderRiCodCount using (State, RegId) |
RegOlderRiPocCompletionRateChange | REG | Change in REG-level completion rate of POC measures for Older age group in Inpatient setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderRiPocCompletionRate as New join hist.RegOlderRiPocCompletionRate as Old using (State, RegId) |
RegOlderRiMhlsCount | REG | REG-level count of all MHLS measures for Older age group in Inpatient setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '1' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRiMhlsCountChange | REG | Change in REG-level count of all MHLS measures for Older age group in Inpatient setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRiMhlsCount as New join hist.RegOlderRiMhlsCount as Old using (State, RegId) |
RegOlderRiMhlsCountGrowth | REG | Growth in REG-level count of all MHLS measures for Older age group in Inpatient setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRiMhlsCount as New join hist.RegOlderRiMhlsCount as Old using (State, RegId) |
RegOlderRiMhlsCompleted | REG | REG-level count of completed MHLS measures for Older age group in Inpatient setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRiMhlsCompletedChange | REG | Change in REG-level count of completed MHLS measures for Older age group in Inpatient setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRiMhlsCompleted as New join hist.RegOlderRiMhlsCompleted as Old using (State, RegId) |
RegOlderRiMhlsCompletedGrowth | REG | Growth in REG-level count of completed MHLS measures for Older age group in Inpatient setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRiMhlsCompleted as New join hist.RegOlderRiMhlsCompleted as Old using (State, RegId) |
RegOlderRiMhlsCompletionRate | REG | REG-level completion rate of MHLS measures for Older age group in Inpatient setting after Review | select State, RegId, sd_div_safe(RegOlderRiMhlsCompleted.Total, RegOlderRiCodCount.Total, 3) as Rate from RegOlderRiMhlsCompleted join RegOlderRiCodCount using (State, RegId) |
RegOlderRiMhlsCompletionRateChange | REG | Change in REG-level completion rate of MHLS measures for Older age group in Inpatient setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderRiMhlsCompletionRate as New join hist.RegOlderRiMhlsCompletionRate as Old using (State, RegId) |
RegOlderDiCodCount | REG | REG-level count of collection occasions for Older age group in Inpatient setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD where Setting = '1' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDiHonosCount | REG | REG-level count of all HONOS measures for Older age group in Inpatient setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '1' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDiHonosCountChange | REG | Change in REG-level count of all HONOS measures for Older age group in Inpatient setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDiHonosCount as New join hist.RegOlderDiHonosCount as Old using (State, RegId) |
RegOlderDiHonosCountGrowth | REG | Growth in REG-level count of all HONOS measures for Older age group in Inpatient setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDiHonosCount as New join hist.RegOlderDiHonosCount as Old using (State, RegId) |
RegOlderDiHonosCompleted | REG | REG-level count of completed HONOS measures for Older age group in Inpatient setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDiHonosCompletedChange | REG | Change in REG-level count of completed HONOS measures for Older age group in Inpatient setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDiHonosCompleted as New join hist.RegOlderDiHonosCompleted as Old using (State, RegId) |
RegOlderDiHonosCompletedGrowth | REG | Growth in REG-level count of completed HONOS measures for Older age group in Inpatient setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDiHonosCompleted as New join hist.RegOlderDiHonosCompleted as Old using (State, RegId) |
RegOlderDiHonosCompletionRate | REG | REG-level completion rate of HONOS measures for Older age group in Inpatient setting after Discharge | select State, RegId, sd_div_safe(RegOlderDiHonosCompleted.Total, RegOlderDiCodCount.Total, 3) as Rate from RegOlderDiHonosCompleted join RegOlderDiCodCount using (State, RegId) |
RegOlderDiHonosCompletionRateChange | REG | Change in REG-level completion rate of HONOS measures for Older age group in Inpatient setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderDiHonosCompletionRate as New join hist.RegOlderDiHonosCompletionRate as Old using (State, RegId) |
RegOlderDiDiagCount | REG | REG-level count of all DIAG measures for Older age group in Inpatient setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '1' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDiDiagCountChange | REG | Change in REG-level count of all DIAG measures for Older age group in Inpatient setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDiDiagCount as New join hist.RegOlderDiDiagCount as Old using (State, RegId) |
RegOlderDiDiagCountGrowth | REG | Growth in REG-level count of all DIAG measures for Older age group in Inpatient setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDiDiagCount as New join hist.RegOlderDiDiagCount as Old using (State, RegId) |
RegOlderDiDiagCompleted | REG | REG-level count of completed DIAG measures for Older age group in Inpatient setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDiDiagCompletedChange | REG | Change in REG-level count of completed DIAG measures for Older age group in Inpatient setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDiDiagCompleted as New join hist.RegOlderDiDiagCompleted as Old using (State, RegId) |
RegOlderDiDiagCompletedGrowth | REG | Growth in REG-level count of completed DIAG measures for Older age group in Inpatient setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDiDiagCompleted as New join hist.RegOlderDiDiagCompleted as Old using (State, RegId) |
RegOlderDiDiagCompletionRate | REG | REG-level completion rate of DIAG measures for Older age group in Inpatient setting after Discharge | select State, RegId, sd_div_safe(RegOlderDiDiagCompleted.Total, RegOlderDiCodCount.Total, 3) as Rate from RegOlderDiDiagCompleted join RegOlderDiCodCount using (State, RegId) |
RegOlderDiDiagCompletionRateChange | REG | Change in REG-level completion rate of DIAG measures for Older age group in Inpatient setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderDiDiagCompletionRate as New join hist.RegOlderDiDiagCompletionRate as Old using (State, RegId) |
RegOlderDiMhlsCount | REG | REG-level count of all MHLS measures for Older age group in Inpatient setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '1' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDiMhlsCountChange | REG | Change in REG-level count of all MHLS measures for Older age group in Inpatient setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDiMhlsCount as New join hist.RegOlderDiMhlsCount as Old using (State, RegId) |
RegOlderDiMhlsCountGrowth | REG | Growth in REG-level count of all MHLS measures for Older age group in Inpatient setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDiMhlsCount as New join hist.RegOlderDiMhlsCount as Old using (State, RegId) |
RegOlderDiMhlsCompleted | REG | REG-level count of completed MHLS measures for Older age group in Inpatient setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDiMhlsCompletedChange | REG | Change in REG-level count of completed MHLS measures for Older age group in Inpatient setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDiMhlsCompleted as New join hist.RegOlderDiMhlsCompleted as Old using (State, RegId) |
RegOlderDiMhlsCompletedGrowth | REG | Growth in REG-level count of completed MHLS measures for Older age group in Inpatient setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDiMhlsCompleted as New join hist.RegOlderDiMhlsCompleted as Old using (State, RegId) |
RegOlderDiMhlsCompletionRate | REG | REG-level completion rate of MHLS measures for Older age group in Inpatient setting after Discharge | select State, RegId, sd_div_safe(RegOlderDiMhlsCompleted.Total, RegOlderDiCodCount.Total, 3) as Rate from RegOlderDiMhlsCompleted join RegOlderDiCodCount using (State, RegId) |
RegOlderDiMhlsCompletionRateChange | REG | Change in REG-level completion rate of MHLS measures for Older age group in Inpatient setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderDiMhlsCompletionRate as New join hist.RegOlderDiMhlsCompletionRate as Old using (State, RegId) |
RegOlderArCodCount | REG | REG-level count of collection occasions for Older age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD where Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderArHonosCount | REG | REG-level count of all HONOS measures for Older age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderArHonosCountChange | REG | Change in REG-level count of all HONOS measures for Older age group in Residential setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegOlderArHonosCount as New join hist.RegOlderArHonosCount as Old using (State, RegId) |
RegOlderArHonosCountGrowth | REG | Growth in REG-level count of all HONOS measures for Older age group in Residential setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderArHonosCount as New join hist.RegOlderArHonosCount as Old using (State, RegId) |
RegOlderArHonosCompleted | REG | REG-level count of completed HONOS measures for Older age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderArHonosCompletedChange | REG | Change in REG-level count of completed HONOS measures for Older age group in Residential setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegOlderArHonosCompleted as New join hist.RegOlderArHonosCompleted as Old using (State, RegId) |
RegOlderArHonosCompletedGrowth | REG | Growth in REG-level count of completed HONOS measures for Older age group in Residential setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderArHonosCompleted as New join hist.RegOlderArHonosCompleted as Old using (State, RegId) |
RegOlderArHonosCompletionRate | REG | REG-level completion rate of HONOS measures for Older age group in Residential setting after Admission | select State, RegId, sd_div_safe(RegOlderArHonosCompleted.Total, RegOlderArCodCount.Total, 3) as Rate from RegOlderArHonosCompleted join RegOlderArCodCount using (State, RegId) |
RegOlderArHonosCompletionRateChange | REG | Change in REG-level completion rate of HONOS measures for Older age group in Residential setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderArHonosCompletionRate as New join hist.RegOlderArHonosCompletionRate as Old using (State, RegId) |
RegOlderArLsp16Count | REG | REG-level count of all LSP16 measures for Older age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Lsp16Completion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderArLsp16CountChange | REG | Change in REG-level count of all LSP16 measures for Older age group in Residential setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegOlderArLsp16Count as New join hist.RegOlderArLsp16Count as Old using (State, RegId) |
RegOlderArLsp16CountGrowth | REG | Growth in REG-level count of all LSP16 measures for Older age group in Residential setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderArLsp16Count as New join hist.RegOlderArLsp16Count as Old using (State, RegId) |
RegOlderArLsp16Completed | REG | REG-level count of completed LSP16 measures for Older age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Lsp16Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderArLsp16CompletedChange | REG | Change in REG-level count of completed LSP16 measures for Older age group in Residential setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegOlderArLsp16Completed as New join hist.RegOlderArLsp16Completed as Old using (State, RegId) |
RegOlderArLsp16CompletedGrowth | REG | Growth in REG-level count of completed LSP16 measures for Older age group in Residential setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderArLsp16Completed as New join hist.RegOlderArLsp16Completed as Old using (State, RegId) |
RegOlderArLsp16CompletionRate | REG | REG-level completion rate of LSP16 measures for Older age group in Residential setting after Admission | select State, RegId, sd_div_safe(RegOlderArLsp16Completed.Total, RegOlderArCodCount.Total, 3) as Rate from RegOlderArLsp16Completed join RegOlderArCodCount using (State, RegId) |
RegOlderArLsp16CompletionRateChange | REG | Change in REG-level completion rate of LSP16 measures for Older age group in Residential setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderArLsp16CompletionRate as New join hist.RegOlderArLsp16CompletionRate as Old using (State, RegId) |
RegOlderArBasis32Count | REG | REG-level count of all BASIS32 measures for Older age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderArBasis32CountChange | REG | Change in REG-level count of all BASIS32 measures for Older age group in Residential setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegOlderArBasis32Count as New join hist.RegOlderArBasis32Count as Old using (State, RegId) |
RegOlderArBasis32CountGrowth | REG | Growth in REG-level count of all BASIS32 measures for Older age group in Residential setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderArBasis32Count as New join hist.RegOlderArBasis32Count as Old using (State, RegId) |
RegOlderArBasis32Completed | REG | REG-level count of completed BASIS32 measures for Older age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderArBasis32CompletedChange | REG | Change in REG-level count of completed BASIS32 measures for Older age group in Residential setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegOlderArBasis32Completed as New join hist.RegOlderArBasis32Completed as Old using (State, RegId) |
RegOlderArBasis32CompletedGrowth | REG | Growth in REG-level count of completed BASIS32 measures for Older age group in Residential setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderArBasis32Completed as New join hist.RegOlderArBasis32Completed as Old using (State, RegId) |
RegOlderArBasis32CompletionRate | REG | REG-level completion rate of BASIS32 measures for Older age group in Residential setting after Admission | select State, RegId, sd_div_safe(RegOlderArBasis32Completed.Total, RegOlderArCodCount.Total, 3) as Rate from RegOlderArBasis32Completed join RegOlderArCodCount using (State, RegId) |
RegOlderArBasis32CompletionRateChange | REG | Change in REG-level completion rate of BASIS32 measures for Older age group in Residential setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderArBasis32CompletionRate as New join hist.RegOlderArBasis32CompletionRate as Old using (State, RegId) |
RegOlderArK10l3dCount | REG | REG-level count of all K10L3D measures for Older age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderArK10l3dCountChange | REG | Change in REG-level count of all K10L3D measures for Older age group in Residential setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegOlderArK10l3dCount as New join hist.RegOlderArK10l3dCount as Old using (State, RegId) |
RegOlderArK10l3dCountGrowth | REG | Growth in REG-level count of all K10L3D measures for Older age group in Residential setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderArK10l3dCount as New join hist.RegOlderArK10l3dCount as Old using (State, RegId) |
RegOlderArK10l3dCompleted | REG | REG-level count of completed K10L3D measures for Older age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderArK10l3dCompletedChange | REG | Change in REG-level count of completed K10L3D measures for Older age group in Residential setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegOlderArK10l3dCompleted as New join hist.RegOlderArK10l3dCompleted as Old using (State, RegId) |
RegOlderArK10l3dCompletedGrowth | REG | Growth in REG-level count of completed K10L3D measures for Older age group in Residential setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderArK10l3dCompleted as New join hist.RegOlderArK10l3dCompleted as Old using (State, RegId) |
RegOlderArK10l3dCompletionRate | REG | REG-level completion rate of K10L3D measures for Older age group in Residential setting after Admission | select State, RegId, sd_div_safe(RegOlderArK10l3dCompleted.Total, RegOlderArCodCount.Total, 3) as Rate from RegOlderArK10l3dCompleted join RegOlderArCodCount using (State, RegId) |
RegOlderArK10l3dCompletionRateChange | REG | Change in REG-level completion rate of K10L3D measures for Older age group in Residential setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderArK10l3dCompletionRate as New join hist.RegOlderArK10l3dCompletionRate as Old using (State, RegId) |
RegOlderArK10lmCount | REG | REG-level count of all K10LM measures for Older age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderArK10lmCountChange | REG | Change in REG-level count of all K10LM measures for Older age group in Residential setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegOlderArK10lmCount as New join hist.RegOlderArK10lmCount as Old using (State, RegId) |
RegOlderArK10lmCountGrowth | REG | Growth in REG-level count of all K10LM measures for Older age group in Residential setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderArK10lmCount as New join hist.RegOlderArK10lmCount as Old using (State, RegId) |
RegOlderArK10lmCompleted | REG | REG-level count of completed K10LM measures for Older age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderArK10lmCompletedChange | REG | Change in REG-level count of completed K10LM measures for Older age group in Residential setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegOlderArK10lmCompleted as New join hist.RegOlderArK10lmCompleted as Old using (State, RegId) |
RegOlderArK10lmCompletedGrowth | REG | Growth in REG-level count of completed K10LM measures for Older age group in Residential setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderArK10lmCompleted as New join hist.RegOlderArK10lmCompleted as Old using (State, RegId) |
RegOlderArK10lmCompletionRate | REG | REG-level completion rate of K10LM measures for Older age group in Residential setting after Admission | select State, RegId, sd_div_safe(RegOlderArK10lmCompleted.Total, RegOlderArCodCount.Total, 3) as Rate from RegOlderArK10lmCompleted join RegOlderArCodCount using (State, RegId) |
RegOlderArK10lmCompletionRateChange | REG | Change in REG-level completion rate of K10LM measures for Older age group in Residential setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderArK10lmCompletionRate as New join hist.RegOlderArK10lmCompletionRate as Old using (State, RegId) |
RegOlderArMhi38Count | REG | REG-level count of all MHI38 measures for Older age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderArMhi38CountChange | REG | Change in REG-level count of all MHI38 measures for Older age group in Residential setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegOlderArMhi38Count as New join hist.RegOlderArMhi38Count as Old using (State, RegId) |
RegOlderArMhi38CountGrowth | REG | Growth in REG-level count of all MHI38 measures for Older age group in Residential setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderArMhi38Count as New join hist.RegOlderArMhi38Count as Old using (State, RegId) |
RegOlderArMhi38Completed | REG | REG-level count of completed MHI38 measures for Older age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderArMhi38CompletedChange | REG | Change in REG-level count of completed MHI38 measures for Older age group in Residential setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegOlderArMhi38Completed as New join hist.RegOlderArMhi38Completed as Old using (State, RegId) |
RegOlderArMhi38CompletedGrowth | REG | Growth in REG-level count of completed MHI38 measures for Older age group in Residential setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderArMhi38Completed as New join hist.RegOlderArMhi38Completed as Old using (State, RegId) |
RegOlderArMhi38CompletionRate | REG | REG-level completion rate of MHI38 measures for Older age group in Residential setting after Admission | select State, RegId, sd_div_safe(RegOlderArMhi38Completed.Total, RegOlderArCodCount.Total, 3) as Rate from RegOlderArMhi38Completed join RegOlderArCodCount using (State, RegId) |
RegOlderArMhi38CompletionRateChange | REG | Change in REG-level completion rate of MHI38 measures for Older age group in Residential setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderArMhi38CompletionRate as New join hist.RegOlderArMhi38CompletionRate as Old using (State, RegId) |
RegOlderArPocCount | REG | REG-level count of all POC measures for Older age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderArPocCountChange | REG | Change in REG-level count of all POC measures for Older age group in Residential setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegOlderArPocCount as New join hist.RegOlderArPocCount as Old using (State, RegId) |
RegOlderArPocCountGrowth | REG | Growth in REG-level count of all POC measures for Older age group in Residential setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderArPocCount as New join hist.RegOlderArPocCount as Old using (State, RegId) |
RegOlderArPocCompleted | REG | REG-level count of completed POC measures for Older age group in Residential setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderArPocCompletedChange | REG | Change in REG-level count of completed POC measures for Older age group in Residential setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegOlderArPocCompleted as New join hist.RegOlderArPocCompleted as Old using (State, RegId) |
RegOlderArPocCompletedGrowth | REG | Growth in REG-level count of completed POC measures for Older age group in Residential setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderArPocCompleted as New join hist.RegOlderArPocCompleted as Old using (State, RegId) |
RegOlderArPocCompletionRate | REG | REG-level completion rate of POC measures for Older age group in Residential setting after Admission | select State, RegId, sd_div_safe(RegOlderArPocCompleted.Total, RegOlderArCodCount.Total, 3) as Rate from RegOlderArPocCompleted join RegOlderArCodCount using (State, RegId) |
RegOlderArPocCompletionRateChange | REG | Change in REG-level completion rate of POC measures for Older age group in Residential setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderArPocCompletionRate as New join hist.RegOlderArPocCompletionRate as Old using (State, RegId) |
RegOlderRrCodCount | REG | REG-level count of collection occasions for Older age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD where Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRrHonosCount | REG | REG-level count of all HONOS measures for Older age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRrHonosCountChange | REG | Change in REG-level count of all HONOS measures for Older age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRrHonosCount as New join hist.RegOlderRrHonosCount as Old using (State, RegId) |
RegOlderRrHonosCountGrowth | REG | Growth in REG-level count of all HONOS measures for Older age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRrHonosCount as New join hist.RegOlderRrHonosCount as Old using (State, RegId) |
RegOlderRrHonosCompleted | REG | REG-level count of completed HONOS measures for Older age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRrHonosCompletedChange | REG | Change in REG-level count of completed HONOS measures for Older age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRrHonosCompleted as New join hist.RegOlderRrHonosCompleted as Old using (State, RegId) |
RegOlderRrHonosCompletedGrowth | REG | Growth in REG-level count of completed HONOS measures for Older age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRrHonosCompleted as New join hist.RegOlderRrHonosCompleted as Old using (State, RegId) |
RegOlderRrHonosCompletionRate | REG | REG-level completion rate of HONOS measures for Older age group in Residential setting after Review | select State, RegId, sd_div_safe(RegOlderRrHonosCompleted.Total, RegOlderRrCodCount.Total, 3) as Rate from RegOlderRrHonosCompleted join RegOlderRrCodCount using (State, RegId) |
RegOlderRrHonosCompletionRateChange | REG | Change in REG-level completion rate of HONOS measures for Older age group in Residential setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderRrHonosCompletionRate as New join hist.RegOlderRrHonosCompletionRate as Old using (State, RegId) |
RegOlderRrLsp16Count | REG | REG-level count of all LSP16 measures for Older age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Lsp16Completion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRrLsp16CountChange | REG | Change in REG-level count of all LSP16 measures for Older age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRrLsp16Count as New join hist.RegOlderRrLsp16Count as Old using (State, RegId) |
RegOlderRrLsp16CountGrowth | REG | Growth in REG-level count of all LSP16 measures for Older age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRrLsp16Count as New join hist.RegOlderRrLsp16Count as Old using (State, RegId) |
RegOlderRrLsp16Completed | REG | REG-level count of completed LSP16 measures for Older age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Lsp16Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRrLsp16CompletedChange | REG | Change in REG-level count of completed LSP16 measures for Older age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRrLsp16Completed as New join hist.RegOlderRrLsp16Completed as Old using (State, RegId) |
RegOlderRrLsp16CompletedGrowth | REG | Growth in REG-level count of completed LSP16 measures for Older age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRrLsp16Completed as New join hist.RegOlderRrLsp16Completed as Old using (State, RegId) |
RegOlderRrLsp16CompletionRate | REG | REG-level completion rate of LSP16 measures for Older age group in Residential setting after Review | select State, RegId, sd_div_safe(RegOlderRrLsp16Completed.Total, RegOlderRrCodCount.Total, 3) as Rate from RegOlderRrLsp16Completed join RegOlderRrCodCount using (State, RegId) |
RegOlderRrLsp16CompletionRateChange | REG | Change in REG-level completion rate of LSP16 measures for Older age group in Residential setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderRrLsp16CompletionRate as New join hist.RegOlderRrLsp16CompletionRate as Old using (State, RegId) |
RegOlderRrBasis32Count | REG | REG-level count of all BASIS32 measures for Older age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRrBasis32CountChange | REG | Change in REG-level count of all BASIS32 measures for Older age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRrBasis32Count as New join hist.RegOlderRrBasis32Count as Old using (State, RegId) |
RegOlderRrBasis32CountGrowth | REG | Growth in REG-level count of all BASIS32 measures for Older age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRrBasis32Count as New join hist.RegOlderRrBasis32Count as Old using (State, RegId) |
RegOlderRrBasis32Completed | REG | REG-level count of completed BASIS32 measures for Older age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRrBasis32CompletedChange | REG | Change in REG-level count of completed BASIS32 measures for Older age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRrBasis32Completed as New join hist.RegOlderRrBasis32Completed as Old using (State, RegId) |
RegOlderRrBasis32CompletedGrowth | REG | Growth in REG-level count of completed BASIS32 measures for Older age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRrBasis32Completed as New join hist.RegOlderRrBasis32Completed as Old using (State, RegId) |
RegOlderRrBasis32CompletionRate | REG | REG-level completion rate of BASIS32 measures for Older age group in Residential setting after Review | select State, RegId, sd_div_safe(RegOlderRrBasis32Completed.Total, RegOlderRrCodCount.Total, 3) as Rate from RegOlderRrBasis32Completed join RegOlderRrCodCount using (State, RegId) |
RegOlderRrBasis32CompletionRateChange | REG | Change in REG-level completion rate of BASIS32 measures for Older age group in Residential setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderRrBasis32CompletionRate as New join hist.RegOlderRrBasis32CompletionRate as Old using (State, RegId) |
RegOlderRrK10l3dCount | REG | REG-level count of all K10L3D measures for Older age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRrK10l3dCountChange | REG | Change in REG-level count of all K10L3D measures for Older age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRrK10l3dCount as New join hist.RegOlderRrK10l3dCount as Old using (State, RegId) |
RegOlderRrK10l3dCountGrowth | REG | Growth in REG-level count of all K10L3D measures for Older age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRrK10l3dCount as New join hist.RegOlderRrK10l3dCount as Old using (State, RegId) |
RegOlderRrK10l3dCompleted | REG | REG-level count of completed K10L3D measures for Older age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRrK10l3dCompletedChange | REG | Change in REG-level count of completed K10L3D measures for Older age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRrK10l3dCompleted as New join hist.RegOlderRrK10l3dCompleted as Old using (State, RegId) |
RegOlderRrK10l3dCompletedGrowth | REG | Growth in REG-level count of completed K10L3D measures for Older age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRrK10l3dCompleted as New join hist.RegOlderRrK10l3dCompleted as Old using (State, RegId) |
RegOlderRrK10l3dCompletionRate | REG | REG-level completion rate of K10L3D measures for Older age group in Residential setting after Review | select State, RegId, sd_div_safe(RegOlderRrK10l3dCompleted.Total, RegOlderRrCodCount.Total, 3) as Rate from RegOlderRrK10l3dCompleted join RegOlderRrCodCount using (State, RegId) |
RegOlderRrK10l3dCompletionRateChange | REG | Change in REG-level completion rate of K10L3D measures for Older age group in Residential setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderRrK10l3dCompletionRate as New join hist.RegOlderRrK10l3dCompletionRate as Old using (State, RegId) |
RegOlderRrK10lmCount | REG | REG-level count of all K10LM measures for Older age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRrK10lmCountChange | REG | Change in REG-level count of all K10LM measures for Older age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRrK10lmCount as New join hist.RegOlderRrK10lmCount as Old using (State, RegId) |
RegOlderRrK10lmCountGrowth | REG | Growth in REG-level count of all K10LM measures for Older age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRrK10lmCount as New join hist.RegOlderRrK10lmCount as Old using (State, RegId) |
RegOlderRrK10lmCompleted | REG | REG-level count of completed K10LM measures for Older age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRrK10lmCompletedChange | REG | Change in REG-level count of completed K10LM measures for Older age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRrK10lmCompleted as New join hist.RegOlderRrK10lmCompleted as Old using (State, RegId) |
RegOlderRrK10lmCompletedGrowth | REG | Growth in REG-level count of completed K10LM measures for Older age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRrK10lmCompleted as New join hist.RegOlderRrK10lmCompleted as Old using (State, RegId) |
RegOlderRrK10lmCompletionRate | REG | REG-level completion rate of K10LM measures for Older age group in Residential setting after Review | select State, RegId, sd_div_safe(RegOlderRrK10lmCompleted.Total, RegOlderRrCodCount.Total, 3) as Rate from RegOlderRrK10lmCompleted join RegOlderRrCodCount using (State, RegId) |
RegOlderRrK10lmCompletionRateChange | REG | Change in REG-level completion rate of K10LM measures for Older age group in Residential setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderRrK10lmCompletionRate as New join hist.RegOlderRrK10lmCompletionRate as Old using (State, RegId) |
RegOlderRrMhi38Count | REG | REG-level count of all MHI38 measures for Older age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRrMhi38CountChange | REG | Change in REG-level count of all MHI38 measures for Older age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRrMhi38Count as New join hist.RegOlderRrMhi38Count as Old using (State, RegId) |
RegOlderRrMhi38CountGrowth | REG | Growth in REG-level count of all MHI38 measures for Older age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRrMhi38Count as New join hist.RegOlderRrMhi38Count as Old using (State, RegId) |
RegOlderRrMhi38Completed | REG | REG-level count of completed MHI38 measures for Older age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRrMhi38CompletedChange | REG | Change in REG-level count of completed MHI38 measures for Older age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRrMhi38Completed as New join hist.RegOlderRrMhi38Completed as Old using (State, RegId) |
RegOlderRrMhi38CompletedGrowth | REG | Growth in REG-level count of completed MHI38 measures for Older age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRrMhi38Completed as New join hist.RegOlderRrMhi38Completed as Old using (State, RegId) |
RegOlderRrMhi38CompletionRate | REG | REG-level completion rate of MHI38 measures for Older age group in Residential setting after Review | select State, RegId, sd_div_safe(RegOlderRrMhi38Completed.Total, RegOlderRrCodCount.Total, 3) as Rate from RegOlderRrMhi38Completed join RegOlderRrCodCount using (State, RegId) |
RegOlderRrMhi38CompletionRateChange | REG | Change in REG-level completion rate of MHI38 measures for Older age group in Residential setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderRrMhi38CompletionRate as New join hist.RegOlderRrMhi38CompletionRate as Old using (State, RegId) |
RegOlderRrDiagCount | REG | REG-level count of all DIAG measures for Older age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRrDiagCountChange | REG | Change in REG-level count of all DIAG measures for Older age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRrDiagCount as New join hist.RegOlderRrDiagCount as Old using (State, RegId) |
RegOlderRrDiagCountGrowth | REG | Growth in REG-level count of all DIAG measures for Older age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRrDiagCount as New join hist.RegOlderRrDiagCount as Old using (State, RegId) |
RegOlderRrDiagCompleted | REG | REG-level count of completed DIAG measures for Older age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRrDiagCompletedChange | REG | Change in REG-level count of completed DIAG measures for Older age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRrDiagCompleted as New join hist.RegOlderRrDiagCompleted as Old using (State, RegId) |
RegOlderRrDiagCompletedGrowth | REG | Growth in REG-level count of completed DIAG measures for Older age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRrDiagCompleted as New join hist.RegOlderRrDiagCompleted as Old using (State, RegId) |
RegOlderRrDiagCompletionRate | REG | REG-level completion rate of DIAG measures for Older age group in Residential setting after Review | select State, RegId, sd_div_safe(RegOlderRrDiagCompleted.Total, RegOlderRrCodCount.Total, 3) as Rate from RegOlderRrDiagCompleted join RegOlderRrCodCount using (State, RegId) |
RegOlderRrDiagCompletionRateChange | REG | Change in REG-level completion rate of DIAG measures for Older age group in Residential setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderRrDiagCompletionRate as New join hist.RegOlderRrDiagCompletionRate as Old using (State, RegId) |
RegOlderRrPocCount | REG | REG-level count of all POC measures for Older age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRrPocCountChange | REG | Change in REG-level count of all POC measures for Older age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRrPocCount as New join hist.RegOlderRrPocCount as Old using (State, RegId) |
RegOlderRrPocCountGrowth | REG | Growth in REG-level count of all POC measures for Older age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRrPocCount as New join hist.RegOlderRrPocCount as Old using (State, RegId) |
RegOlderRrPocCompleted | REG | REG-level count of completed POC measures for Older age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRrPocCompletedChange | REG | Change in REG-level count of completed POC measures for Older age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRrPocCompleted as New join hist.RegOlderRrPocCompleted as Old using (State, RegId) |
RegOlderRrPocCompletedGrowth | REG | Growth in REG-level count of completed POC measures for Older age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRrPocCompleted as New join hist.RegOlderRrPocCompleted as Old using (State, RegId) |
RegOlderRrPocCompletionRate | REG | REG-level completion rate of POC measures for Older age group in Residential setting after Review | select State, RegId, sd_div_safe(RegOlderRrPocCompleted.Total, RegOlderRrCodCount.Total, 3) as Rate from RegOlderRrPocCompleted join RegOlderRrCodCount using (State, RegId) |
RegOlderRrPocCompletionRateChange | REG | Change in REG-level completion rate of POC measures for Older age group in Residential setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderRrPocCompletionRate as New join hist.RegOlderRrPocCompletionRate as Old using (State, RegId) |
RegOlderRrMhlsCount | REG | REG-level count of all MHLS measures for Older age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRrMhlsCountChange | REG | Change in REG-level count of all MHLS measures for Older age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRrMhlsCount as New join hist.RegOlderRrMhlsCount as Old using (State, RegId) |
RegOlderRrMhlsCountGrowth | REG | Growth in REG-level count of all MHLS measures for Older age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRrMhlsCount as New join hist.RegOlderRrMhlsCount as Old using (State, RegId) |
RegOlderRrMhlsCompleted | REG | REG-level count of completed MHLS measures for Older age group in Residential setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRrMhlsCompletedChange | REG | Change in REG-level count of completed MHLS measures for Older age group in Residential setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRrMhlsCompleted as New join hist.RegOlderRrMhlsCompleted as Old using (State, RegId) |
RegOlderRrMhlsCompletedGrowth | REG | Growth in REG-level count of completed MHLS measures for Older age group in Residential setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRrMhlsCompleted as New join hist.RegOlderRrMhlsCompleted as Old using (State, RegId) |
RegOlderRrMhlsCompletionRate | REG | REG-level completion rate of MHLS measures for Older age group in Residential setting after Review | select State, RegId, sd_div_safe(RegOlderRrMhlsCompleted.Total, RegOlderRrCodCount.Total, 3) as Rate from RegOlderRrMhlsCompleted join RegOlderRrCodCount using (State, RegId) |
RegOlderRrMhlsCompletionRateChange | REG | Change in REG-level completion rate of MHLS measures for Older age group in Residential setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderRrMhlsCompletionRate as New join hist.RegOlderRrMhlsCompletionRate as Old using (State, RegId) |
RegOlderDrCodCount | REG | REG-level count of collection occasions for Older age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD where Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDrHonosCount | REG | REG-level count of all HONOS measures for Older age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDrHonosCountChange | REG | Change in REG-level count of all HONOS measures for Older age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDrHonosCount as New join hist.RegOlderDrHonosCount as Old using (State, RegId) |
RegOlderDrHonosCountGrowth | REG | Growth in REG-level count of all HONOS measures for Older age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDrHonosCount as New join hist.RegOlderDrHonosCount as Old using (State, RegId) |
RegOlderDrHonosCompleted | REG | REG-level count of completed HONOS measures for Older age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDrHonosCompletedChange | REG | Change in REG-level count of completed HONOS measures for Older age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDrHonosCompleted as New join hist.RegOlderDrHonosCompleted as Old using (State, RegId) |
RegOlderDrHonosCompletedGrowth | REG | Growth in REG-level count of completed HONOS measures for Older age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDrHonosCompleted as New join hist.RegOlderDrHonosCompleted as Old using (State, RegId) |
RegOlderDrHonosCompletionRate | REG | REG-level completion rate of HONOS measures for Older age group in Residential setting after Discharge | select State, RegId, sd_div_safe(RegOlderDrHonosCompleted.Total, RegOlderDrCodCount.Total, 3) as Rate from RegOlderDrHonosCompleted join RegOlderDrCodCount using (State, RegId) |
RegOlderDrHonosCompletionRateChange | REG | Change in REG-level completion rate of HONOS measures for Older age group in Residential setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderDrHonosCompletionRate as New join hist.RegOlderDrHonosCompletionRate as Old using (State, RegId) |
RegOlderDrLsp16Count | REG | REG-level count of all LSP16 measures for Older age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Lsp16Completion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDrLsp16CountChange | REG | Change in REG-level count of all LSP16 measures for Older age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDrLsp16Count as New join hist.RegOlderDrLsp16Count as Old using (State, RegId) |
RegOlderDrLsp16CountGrowth | REG | Growth in REG-level count of all LSP16 measures for Older age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDrLsp16Count as New join hist.RegOlderDrLsp16Count as Old using (State, RegId) |
RegOlderDrLsp16Completed | REG | REG-level count of completed LSP16 measures for Older age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Lsp16Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDrLsp16CompletedChange | REG | Change in REG-level count of completed LSP16 measures for Older age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDrLsp16Completed as New join hist.RegOlderDrLsp16Completed as Old using (State, RegId) |
RegOlderDrLsp16CompletedGrowth | REG | Growth in REG-level count of completed LSP16 measures for Older age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDrLsp16Completed as New join hist.RegOlderDrLsp16Completed as Old using (State, RegId) |
RegOlderDrLsp16CompletionRate | REG | REG-level completion rate of LSP16 measures for Older age group in Residential setting after Discharge | select State, RegId, sd_div_safe(RegOlderDrLsp16Completed.Total, RegOlderDrCodCount.Total, 3) as Rate from RegOlderDrLsp16Completed join RegOlderDrCodCount using (State, RegId) |
RegOlderDrLsp16CompletionRateChange | REG | Change in REG-level completion rate of LSP16 measures for Older age group in Residential setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderDrLsp16CompletionRate as New join hist.RegOlderDrLsp16CompletionRate as Old using (State, RegId) |
RegOlderDrBasis32Count | REG | REG-level count of all BASIS32 measures for Older age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDrBasis32CountChange | REG | Change in REG-level count of all BASIS32 measures for Older age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDrBasis32Count as New join hist.RegOlderDrBasis32Count as Old using (State, RegId) |
RegOlderDrBasis32CountGrowth | REG | Growth in REG-level count of all BASIS32 measures for Older age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDrBasis32Count as New join hist.RegOlderDrBasis32Count as Old using (State, RegId) |
RegOlderDrBasis32Completed | REG | REG-level count of completed BASIS32 measures for Older age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDrBasis32CompletedChange | REG | Change in REG-level count of completed BASIS32 measures for Older age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDrBasis32Completed as New join hist.RegOlderDrBasis32Completed as Old using (State, RegId) |
RegOlderDrBasis32CompletedGrowth | REG | Growth in REG-level count of completed BASIS32 measures for Older age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDrBasis32Completed as New join hist.RegOlderDrBasis32Completed as Old using (State, RegId) |
RegOlderDrBasis32CompletionRate | REG | REG-level completion rate of BASIS32 measures for Older age group in Residential setting after Discharge | select State, RegId, sd_div_safe(RegOlderDrBasis32Completed.Total, RegOlderDrCodCount.Total, 3) as Rate from RegOlderDrBasis32Completed join RegOlderDrCodCount using (State, RegId) |
RegOlderDrBasis32CompletionRateChange | REG | Change in REG-level completion rate of BASIS32 measures for Older age group in Residential setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderDrBasis32CompletionRate as New join hist.RegOlderDrBasis32CompletionRate as Old using (State, RegId) |
RegOlderDrK10l3dCount | REG | REG-level count of all K10L3D measures for Older age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDrK10l3dCountChange | REG | Change in REG-level count of all K10L3D measures for Older age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDrK10l3dCount as New join hist.RegOlderDrK10l3dCount as Old using (State, RegId) |
RegOlderDrK10l3dCountGrowth | REG | Growth in REG-level count of all K10L3D measures for Older age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDrK10l3dCount as New join hist.RegOlderDrK10l3dCount as Old using (State, RegId) |
RegOlderDrK10l3dCompleted | REG | REG-level count of completed K10L3D measures for Older age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDrK10l3dCompletedChange | REG | Change in REG-level count of completed K10L3D measures for Older age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDrK10l3dCompleted as New join hist.RegOlderDrK10l3dCompleted as Old using (State, RegId) |
RegOlderDrK10l3dCompletedGrowth | REG | Growth in REG-level count of completed K10L3D measures for Older age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDrK10l3dCompleted as New join hist.RegOlderDrK10l3dCompleted as Old using (State, RegId) |
RegOlderDrK10l3dCompletionRate | REG | REG-level completion rate of K10L3D measures for Older age group in Residential setting after Discharge | select State, RegId, sd_div_safe(RegOlderDrK10l3dCompleted.Total, RegOlderDrCodCount.Total, 3) as Rate from RegOlderDrK10l3dCompleted join RegOlderDrCodCount using (State, RegId) |
RegOlderDrK10l3dCompletionRateChange | REG | Change in REG-level completion rate of K10L3D measures for Older age group in Residential setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderDrK10l3dCompletionRate as New join hist.RegOlderDrK10l3dCompletionRate as Old using (State, RegId) |
RegOlderDrK10lmCount | REG | REG-level count of all K10LM measures for Older age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDrK10lmCountChange | REG | Change in REG-level count of all K10LM measures for Older age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDrK10lmCount as New join hist.RegOlderDrK10lmCount as Old using (State, RegId) |
RegOlderDrK10lmCountGrowth | REG | Growth in REG-level count of all K10LM measures for Older age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDrK10lmCount as New join hist.RegOlderDrK10lmCount as Old using (State, RegId) |
RegOlderDrK10lmCompleted | REG | REG-level count of completed K10LM measures for Older age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDrK10lmCompletedChange | REG | Change in REG-level count of completed K10LM measures for Older age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDrK10lmCompleted as New join hist.RegOlderDrK10lmCompleted as Old using (State, RegId) |
RegOlderDrK10lmCompletedGrowth | REG | Growth in REG-level count of completed K10LM measures for Older age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDrK10lmCompleted as New join hist.RegOlderDrK10lmCompleted as Old using (State, RegId) |
RegOlderDrK10lmCompletionRate | REG | REG-level completion rate of K10LM measures for Older age group in Residential setting after Discharge | select State, RegId, sd_div_safe(RegOlderDrK10lmCompleted.Total, RegOlderDrCodCount.Total, 3) as Rate from RegOlderDrK10lmCompleted join RegOlderDrCodCount using (State, RegId) |
RegOlderDrK10lmCompletionRateChange | REG | Change in REG-level completion rate of K10LM measures for Older age group in Residential setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderDrK10lmCompletionRate as New join hist.RegOlderDrK10lmCompletionRate as Old using (State, RegId) |
RegOlderDrMhi38Count | REG | REG-level count of all MHI38 measures for Older age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDrMhi38CountChange | REG | Change in REG-level count of all MHI38 measures for Older age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDrMhi38Count as New join hist.RegOlderDrMhi38Count as Old using (State, RegId) |
RegOlderDrMhi38CountGrowth | REG | Growth in REG-level count of all MHI38 measures for Older age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDrMhi38Count as New join hist.RegOlderDrMhi38Count as Old using (State, RegId) |
RegOlderDrMhi38Completed | REG | REG-level count of completed MHI38 measures for Older age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDrMhi38CompletedChange | REG | Change in REG-level count of completed MHI38 measures for Older age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDrMhi38Completed as New join hist.RegOlderDrMhi38Completed as Old using (State, RegId) |
RegOlderDrMhi38CompletedGrowth | REG | Growth in REG-level count of completed MHI38 measures for Older age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDrMhi38Completed as New join hist.RegOlderDrMhi38Completed as Old using (State, RegId) |
RegOlderDrMhi38CompletionRate | REG | REG-level completion rate of MHI38 measures for Older age group in Residential setting after Discharge | select State, RegId, sd_div_safe(RegOlderDrMhi38Completed.Total, RegOlderDrCodCount.Total, 3) as Rate from RegOlderDrMhi38Completed join RegOlderDrCodCount using (State, RegId) |
RegOlderDrMhi38CompletionRateChange | REG | Change in REG-level completion rate of MHI38 measures for Older age group in Residential setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderDrMhi38CompletionRate as New join hist.RegOlderDrMhi38CompletionRate as Old using (State, RegId) |
RegOlderDrDiagCount | REG | REG-level count of all DIAG measures for Older age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDrDiagCountChange | REG | Change in REG-level count of all DIAG measures for Older age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDrDiagCount as New join hist.RegOlderDrDiagCount as Old using (State, RegId) |
RegOlderDrDiagCountGrowth | REG | Growth in REG-level count of all DIAG measures for Older age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDrDiagCount as New join hist.RegOlderDrDiagCount as Old using (State, RegId) |
RegOlderDrDiagCompleted | REG | REG-level count of completed DIAG measures for Older age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDrDiagCompletedChange | REG | Change in REG-level count of completed DIAG measures for Older age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDrDiagCompleted as New join hist.RegOlderDrDiagCompleted as Old using (State, RegId) |
RegOlderDrDiagCompletedGrowth | REG | Growth in REG-level count of completed DIAG measures for Older age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDrDiagCompleted as New join hist.RegOlderDrDiagCompleted as Old using (State, RegId) |
RegOlderDrDiagCompletionRate | REG | REG-level completion rate of DIAG measures for Older age group in Residential setting after Discharge | select State, RegId, sd_div_safe(RegOlderDrDiagCompleted.Total, RegOlderDrCodCount.Total, 3) as Rate from RegOlderDrDiagCompleted join RegOlderDrCodCount using (State, RegId) |
RegOlderDrDiagCompletionRateChange | REG | Change in REG-level completion rate of DIAG measures for Older age group in Residential setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderDrDiagCompletionRate as New join hist.RegOlderDrDiagCompletionRate as Old using (State, RegId) |
RegOlderDrMhlsCount | REG | REG-level count of all MHLS measures for Older age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDrMhlsCountChange | REG | Change in REG-level count of all MHLS measures for Older age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDrMhlsCount as New join hist.RegOlderDrMhlsCount as Old using (State, RegId) |
RegOlderDrMhlsCountGrowth | REG | Growth in REG-level count of all MHLS measures for Older age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDrMhlsCount as New join hist.RegOlderDrMhlsCount as Old using (State, RegId) |
RegOlderDrMhlsCompleted | REG | REG-level count of completed MHLS measures for Older age group in Residential setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDrMhlsCompletedChange | REG | Change in REG-level count of completed MHLS measures for Older age group in Residential setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDrMhlsCompleted as New join hist.RegOlderDrMhlsCompleted as Old using (State, RegId) |
RegOlderDrMhlsCompletedGrowth | REG | Growth in REG-level count of completed MHLS measures for Older age group in Residential setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDrMhlsCompleted as New join hist.RegOlderDrMhlsCompleted as Old using (State, RegId) |
RegOlderDrMhlsCompletionRate | REG | REG-level completion rate of MHLS measures for Older age group in Residential setting after Discharge | select State, RegId, sd_div_safe(RegOlderDrMhlsCompleted.Total, RegOlderDrCodCount.Total, 3) as Rate from RegOlderDrMhlsCompleted join RegOlderDrCodCount using (State, RegId) |
RegOlderDrMhlsCompletionRateChange | REG | Change in REG-level completion rate of MHLS measures for Older age group in Residential setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderDrMhlsCompletionRate as New join hist.RegOlderDrMhlsCompletionRate as Old using (State, RegId) |
RegOlderAaCodCount | REG | REG-level count of collection occasions for Older age group in Ambulatory setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD where Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderAaHonosCount | REG | REG-level count of all HONOS measures for Older age group in Ambulatory setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderAaHonosCountChange | REG | Change in REG-level count of all HONOS measures for Older age group in Ambulatory setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegOlderAaHonosCount as New join hist.RegOlderAaHonosCount as Old using (State, RegId) |
RegOlderAaHonosCountGrowth | REG | Growth in REG-level count of all HONOS measures for Older age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderAaHonosCount as New join hist.RegOlderAaHonosCount as Old using (State, RegId) |
RegOlderAaHonosCompleted | REG | REG-level count of completed HONOS measures for Older age group in Ambulatory setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderAaHonosCompletedChange | REG | Change in REG-level count of completed HONOS measures for Older age group in Ambulatory setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegOlderAaHonosCompleted as New join hist.RegOlderAaHonosCompleted as Old using (State, RegId) |
RegOlderAaHonosCompletedGrowth | REG | Growth in REG-level count of completed HONOS measures for Older age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderAaHonosCompleted as New join hist.RegOlderAaHonosCompleted as Old using (State, RegId) |
RegOlderAaHonosCompletionRate | REG | REG-level completion rate of HONOS measures for Older age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(RegOlderAaHonosCompleted.Total, RegOlderAaCodCount.Total, 3) as Rate from RegOlderAaHonosCompleted join RegOlderAaCodCount using (State, RegId) |
RegOlderAaHonosCompletionRateChange | REG | Change in REG-level completion rate of HONOS measures for Older age group in Ambulatory setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderAaHonosCompletionRate as New join hist.RegOlderAaHonosCompletionRate as Old using (State, RegId) |
RegOlderAaBasis32Count | REG | REG-level count of all BASIS32 measures for Older age group in Ambulatory setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderAaBasis32CountChange | REG | Change in REG-level count of all BASIS32 measures for Older age group in Ambulatory setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegOlderAaBasis32Count as New join hist.RegOlderAaBasis32Count as Old using (State, RegId) |
RegOlderAaBasis32CountGrowth | REG | Growth in REG-level count of all BASIS32 measures for Older age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderAaBasis32Count as New join hist.RegOlderAaBasis32Count as Old using (State, RegId) |
RegOlderAaBasis32Completed | REG | REG-level count of completed BASIS32 measures for Older age group in Ambulatory setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderAaBasis32CompletedChange | REG | Change in REG-level count of completed BASIS32 measures for Older age group in Ambulatory setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegOlderAaBasis32Completed as New join hist.RegOlderAaBasis32Completed as Old using (State, RegId) |
RegOlderAaBasis32CompletedGrowth | REG | Growth in REG-level count of completed BASIS32 measures for Older age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderAaBasis32Completed as New join hist.RegOlderAaBasis32Completed as Old using (State, RegId) |
RegOlderAaBasis32CompletionRate | REG | REG-level completion rate of BASIS32 measures for Older age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(RegOlderAaBasis32Completed.Total, RegOlderAaCodCount.Total, 3) as Rate from RegOlderAaBasis32Completed join RegOlderAaCodCount using (State, RegId) |
RegOlderAaBasis32CompletionRateChange | REG | Change in REG-level completion rate of BASIS32 measures for Older age group in Ambulatory setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderAaBasis32CompletionRate as New join hist.RegOlderAaBasis32CompletionRate as Old using (State, RegId) |
RegOlderAaK10l3dCount | REG | REG-level count of all K10L3D measures for Older age group in Ambulatory setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderAaK10l3dCountChange | REG | Change in REG-level count of all K10L3D measures for Older age group in Ambulatory setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegOlderAaK10l3dCount as New join hist.RegOlderAaK10l3dCount as Old using (State, RegId) |
RegOlderAaK10l3dCountGrowth | REG | Growth in REG-level count of all K10L3D measures for Older age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderAaK10l3dCount as New join hist.RegOlderAaK10l3dCount as Old using (State, RegId) |
RegOlderAaK10l3dCompleted | REG | REG-level count of completed K10L3D measures for Older age group in Ambulatory setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderAaK10l3dCompletedChange | REG | Change in REG-level count of completed K10L3D measures for Older age group in Ambulatory setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegOlderAaK10l3dCompleted as New join hist.RegOlderAaK10l3dCompleted as Old using (State, RegId) |
RegOlderAaK10l3dCompletedGrowth | REG | Growth in REG-level count of completed K10L3D measures for Older age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderAaK10l3dCompleted as New join hist.RegOlderAaK10l3dCompleted as Old using (State, RegId) |
RegOlderAaK10l3dCompletionRate | REG | REG-level completion rate of K10L3D measures for Older age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(RegOlderAaK10l3dCompleted.Total, RegOlderAaCodCount.Total, 3) as Rate from RegOlderAaK10l3dCompleted join RegOlderAaCodCount using (State, RegId) |
RegOlderAaK10l3dCompletionRateChange | REG | Change in REG-level completion rate of K10L3D measures for Older age group in Ambulatory setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderAaK10l3dCompletionRate as New join hist.RegOlderAaK10l3dCompletionRate as Old using (State, RegId) |
RegOlderAaK10lmCount | REG | REG-level count of all K10LM measures for Older age group in Ambulatory setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderAaK10lmCountChange | REG | Change in REG-level count of all K10LM measures for Older age group in Ambulatory setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegOlderAaK10lmCount as New join hist.RegOlderAaK10lmCount as Old using (State, RegId) |
RegOlderAaK10lmCountGrowth | REG | Growth in REG-level count of all K10LM measures for Older age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderAaK10lmCount as New join hist.RegOlderAaK10lmCount as Old using (State, RegId) |
RegOlderAaK10lmCompleted | REG | REG-level count of completed K10LM measures for Older age group in Ambulatory setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderAaK10lmCompletedChange | REG | Change in REG-level count of completed K10LM measures for Older age group in Ambulatory setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegOlderAaK10lmCompleted as New join hist.RegOlderAaK10lmCompleted as Old using (State, RegId) |
RegOlderAaK10lmCompletedGrowth | REG | Growth in REG-level count of completed K10LM measures for Older age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderAaK10lmCompleted as New join hist.RegOlderAaK10lmCompleted as Old using (State, RegId) |
RegOlderAaK10lmCompletionRate | REG | REG-level completion rate of K10LM measures for Older age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(RegOlderAaK10lmCompleted.Total, RegOlderAaCodCount.Total, 3) as Rate from RegOlderAaK10lmCompleted join RegOlderAaCodCount using (State, RegId) |
RegOlderAaK10lmCompletionRateChange | REG | Change in REG-level completion rate of K10LM measures for Older age group in Ambulatory setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderAaK10lmCompletionRate as New join hist.RegOlderAaK10lmCompletionRate as Old using (State, RegId) |
RegOlderAaMhi38Count | REG | REG-level count of all MHI38 measures for Older age group in Ambulatory setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderAaMhi38CountChange | REG | Change in REG-level count of all MHI38 measures for Older age group in Ambulatory setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegOlderAaMhi38Count as New join hist.RegOlderAaMhi38Count as Old using (State, RegId) |
RegOlderAaMhi38CountGrowth | REG | Growth in REG-level count of all MHI38 measures for Older age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderAaMhi38Count as New join hist.RegOlderAaMhi38Count as Old using (State, RegId) |
RegOlderAaMhi38Completed | REG | REG-level count of completed MHI38 measures for Older age group in Ambulatory setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderAaMhi38CompletedChange | REG | Change in REG-level count of completed MHI38 measures for Older age group in Ambulatory setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegOlderAaMhi38Completed as New join hist.RegOlderAaMhi38Completed as Old using (State, RegId) |
RegOlderAaMhi38CompletedGrowth | REG | Growth in REG-level count of completed MHI38 measures for Older age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderAaMhi38Completed as New join hist.RegOlderAaMhi38Completed as Old using (State, RegId) |
RegOlderAaMhi38CompletionRate | REG | REG-level completion rate of MHI38 measures for Older age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(RegOlderAaMhi38Completed.Total, RegOlderAaCodCount.Total, 3) as Rate from RegOlderAaMhi38Completed join RegOlderAaCodCount using (State, RegId) |
RegOlderAaMhi38CompletionRateChange | REG | Change in REG-level completion rate of MHI38 measures for Older age group in Ambulatory setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderAaMhi38CompletionRate as New join hist.RegOlderAaMhi38CompletionRate as Old using (State, RegId) |
RegOlderAaPocCount | REG | REG-level count of all POC measures for Older age group in Ambulatory setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderAaPocCountChange | REG | Change in REG-level count of all POC measures for Older age group in Ambulatory setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegOlderAaPocCount as New join hist.RegOlderAaPocCount as Old using (State, RegId) |
RegOlderAaPocCountGrowth | REG | Growth in REG-level count of all POC measures for Older age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderAaPocCount as New join hist.RegOlderAaPocCount as Old using (State, RegId) |
RegOlderAaPocCompleted | REG | REG-level count of completed POC measures for Older age group in Ambulatory setting after Admission | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderAaPocCompletedChange | REG | Change in REG-level count of completed POC measures for Older age group in Ambulatory setting after Admission | select State, RegId, (New.Total - Old.Total) as Change from RegOlderAaPocCompleted as New join hist.RegOlderAaPocCompleted as Old using (State, RegId) |
RegOlderAaPocCompletedGrowth | REG | Growth in REG-level count of completed POC measures for Older age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderAaPocCompleted as New join hist.RegOlderAaPocCompleted as Old using (State, RegId) |
RegOlderAaPocCompletionRate | REG | REG-level completion rate of POC measures for Older age group in Ambulatory setting after Admission | select State, RegId, sd_div_safe(RegOlderAaPocCompleted.Total, RegOlderAaCodCount.Total, 3) as Rate from RegOlderAaPocCompleted join RegOlderAaCodCount using (State, RegId) |
RegOlderAaPocCompletionRateChange | REG | Change in REG-level completion rate of POC measures for Older age group in Ambulatory setting after Admission | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderAaPocCompletionRate as New join hist.RegOlderAaPocCompletionRate as Old using (State, RegId) |
RegOlderRaCodCount | REG | REG-level count of collection occasions for Older age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD where Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRaHonosCount | REG | REG-level count of all HONOS measures for Older age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRaHonosCountChange | REG | Change in REG-level count of all HONOS measures for Older age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRaHonosCount as New join hist.RegOlderRaHonosCount as Old using (State, RegId) |
RegOlderRaHonosCountGrowth | REG | Growth in REG-level count of all HONOS measures for Older age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRaHonosCount as New join hist.RegOlderRaHonosCount as Old using (State, RegId) |
RegOlderRaHonosCompleted | REG | REG-level count of completed HONOS measures for Older age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRaHonosCompletedChange | REG | Change in REG-level count of completed HONOS measures for Older age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRaHonosCompleted as New join hist.RegOlderRaHonosCompleted as Old using (State, RegId) |
RegOlderRaHonosCompletedGrowth | REG | Growth in REG-level count of completed HONOS measures for Older age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRaHonosCompleted as New join hist.RegOlderRaHonosCompleted as Old using (State, RegId) |
RegOlderRaHonosCompletionRate | REG | REG-level completion rate of HONOS measures for Older age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(RegOlderRaHonosCompleted.Total, RegOlderRaCodCount.Total, 3) as Rate from RegOlderRaHonosCompleted join RegOlderRaCodCount using (State, RegId) |
RegOlderRaHonosCompletionRateChange | REG | Change in REG-level completion rate of HONOS measures for Older age group in Ambulatory setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderRaHonosCompletionRate as New join hist.RegOlderRaHonosCompletionRate as Old using (State, RegId) |
RegOlderRaLsp16Count | REG | REG-level count of all LSP16 measures for Older age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Lsp16Completion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRaLsp16CountChange | REG | Change in REG-level count of all LSP16 measures for Older age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRaLsp16Count as New join hist.RegOlderRaLsp16Count as Old using (State, RegId) |
RegOlderRaLsp16CountGrowth | REG | Growth in REG-level count of all LSP16 measures for Older age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRaLsp16Count as New join hist.RegOlderRaLsp16Count as Old using (State, RegId) |
RegOlderRaLsp16Completed | REG | REG-level count of completed LSP16 measures for Older age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Lsp16Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRaLsp16CompletedChange | REG | Change in REG-level count of completed LSP16 measures for Older age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRaLsp16Completed as New join hist.RegOlderRaLsp16Completed as Old using (State, RegId) |
RegOlderRaLsp16CompletedGrowth | REG | Growth in REG-level count of completed LSP16 measures for Older age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRaLsp16Completed as New join hist.RegOlderRaLsp16Completed as Old using (State, RegId) |
RegOlderRaLsp16CompletionRate | REG | REG-level completion rate of LSP16 measures for Older age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(RegOlderRaLsp16Completed.Total, RegOlderRaCodCount.Total, 3) as Rate from RegOlderRaLsp16Completed join RegOlderRaCodCount using (State, RegId) |
RegOlderRaLsp16CompletionRateChange | REG | Change in REG-level completion rate of LSP16 measures for Older age group in Ambulatory setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderRaLsp16CompletionRate as New join hist.RegOlderRaLsp16CompletionRate as Old using (State, RegId) |
RegOlderRaBasis32Count | REG | REG-level count of all BASIS32 measures for Older age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRaBasis32CountChange | REG | Change in REG-level count of all BASIS32 measures for Older age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRaBasis32Count as New join hist.RegOlderRaBasis32Count as Old using (State, RegId) |
RegOlderRaBasis32CountGrowth | REG | Growth in REG-level count of all BASIS32 measures for Older age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRaBasis32Count as New join hist.RegOlderRaBasis32Count as Old using (State, RegId) |
RegOlderRaBasis32Completed | REG | REG-level count of completed BASIS32 measures for Older age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRaBasis32CompletedChange | REG | Change in REG-level count of completed BASIS32 measures for Older age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRaBasis32Completed as New join hist.RegOlderRaBasis32Completed as Old using (State, RegId) |
RegOlderRaBasis32CompletedGrowth | REG | Growth in REG-level count of completed BASIS32 measures for Older age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRaBasis32Completed as New join hist.RegOlderRaBasis32Completed as Old using (State, RegId) |
RegOlderRaBasis32CompletionRate | REG | REG-level completion rate of BASIS32 measures for Older age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(RegOlderRaBasis32Completed.Total, RegOlderRaCodCount.Total, 3) as Rate from RegOlderRaBasis32Completed join RegOlderRaCodCount using (State, RegId) |
RegOlderRaBasis32CompletionRateChange | REG | Change in REG-level completion rate of BASIS32 measures for Older age group in Ambulatory setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderRaBasis32CompletionRate as New join hist.RegOlderRaBasis32CompletionRate as Old using (State, RegId) |
RegOlderRaK10l3dCount | REG | REG-level count of all K10L3D measures for Older age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRaK10l3dCountChange | REG | Change in REG-level count of all K10L3D measures for Older age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRaK10l3dCount as New join hist.RegOlderRaK10l3dCount as Old using (State, RegId) |
RegOlderRaK10l3dCountGrowth | REG | Growth in REG-level count of all K10L3D measures for Older age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRaK10l3dCount as New join hist.RegOlderRaK10l3dCount as Old using (State, RegId) |
RegOlderRaK10l3dCompleted | REG | REG-level count of completed K10L3D measures for Older age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRaK10l3dCompletedChange | REG | Change in REG-level count of completed K10L3D measures for Older age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRaK10l3dCompleted as New join hist.RegOlderRaK10l3dCompleted as Old using (State, RegId) |
RegOlderRaK10l3dCompletedGrowth | REG | Growth in REG-level count of completed K10L3D measures for Older age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRaK10l3dCompleted as New join hist.RegOlderRaK10l3dCompleted as Old using (State, RegId) |
RegOlderRaK10l3dCompletionRate | REG | REG-level completion rate of K10L3D measures for Older age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(RegOlderRaK10l3dCompleted.Total, RegOlderRaCodCount.Total, 3) as Rate from RegOlderRaK10l3dCompleted join RegOlderRaCodCount using (State, RegId) |
RegOlderRaK10l3dCompletionRateChange | REG | Change in REG-level completion rate of K10L3D measures for Older age group in Ambulatory setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderRaK10l3dCompletionRate as New join hist.RegOlderRaK10l3dCompletionRate as Old using (State, RegId) |
RegOlderRaK10lmCount | REG | REG-level count of all K10LM measures for Older age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRaK10lmCountChange | REG | Change in REG-level count of all K10LM measures for Older age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRaK10lmCount as New join hist.RegOlderRaK10lmCount as Old using (State, RegId) |
RegOlderRaK10lmCountGrowth | REG | Growth in REG-level count of all K10LM measures for Older age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRaK10lmCount as New join hist.RegOlderRaK10lmCount as Old using (State, RegId) |
RegOlderRaK10lmCompleted | REG | REG-level count of completed K10LM measures for Older age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRaK10lmCompletedChange | REG | Change in REG-level count of completed K10LM measures for Older age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRaK10lmCompleted as New join hist.RegOlderRaK10lmCompleted as Old using (State, RegId) |
RegOlderRaK10lmCompletedGrowth | REG | Growth in REG-level count of completed K10LM measures for Older age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRaK10lmCompleted as New join hist.RegOlderRaK10lmCompleted as Old using (State, RegId) |
RegOlderRaK10lmCompletionRate | REG | REG-level completion rate of K10LM measures for Older age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(RegOlderRaK10lmCompleted.Total, RegOlderRaCodCount.Total, 3) as Rate from RegOlderRaK10lmCompleted join RegOlderRaCodCount using (State, RegId) |
RegOlderRaK10lmCompletionRateChange | REG | Change in REG-level completion rate of K10LM measures for Older age group in Ambulatory setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderRaK10lmCompletionRate as New join hist.RegOlderRaK10lmCompletionRate as Old using (State, RegId) |
RegOlderRaMhi38Count | REG | REG-level count of all MHI38 measures for Older age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRaMhi38CountChange | REG | Change in REG-level count of all MHI38 measures for Older age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRaMhi38Count as New join hist.RegOlderRaMhi38Count as Old using (State, RegId) |
RegOlderRaMhi38CountGrowth | REG | Growth in REG-level count of all MHI38 measures for Older age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRaMhi38Count as New join hist.RegOlderRaMhi38Count as Old using (State, RegId) |
RegOlderRaMhi38Completed | REG | REG-level count of completed MHI38 measures for Older age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRaMhi38CompletedChange | REG | Change in REG-level count of completed MHI38 measures for Older age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRaMhi38Completed as New join hist.RegOlderRaMhi38Completed as Old using (State, RegId) |
RegOlderRaMhi38CompletedGrowth | REG | Growth in REG-level count of completed MHI38 measures for Older age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRaMhi38Completed as New join hist.RegOlderRaMhi38Completed as Old using (State, RegId) |
RegOlderRaMhi38CompletionRate | REG | REG-level completion rate of MHI38 measures for Older age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(RegOlderRaMhi38Completed.Total, RegOlderRaCodCount.Total, 3) as Rate from RegOlderRaMhi38Completed join RegOlderRaCodCount using (State, RegId) |
RegOlderRaMhi38CompletionRateChange | REG | Change in REG-level completion rate of MHI38 measures for Older age group in Ambulatory setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderRaMhi38CompletionRate as New join hist.RegOlderRaMhi38CompletionRate as Old using (State, RegId) |
RegOlderRaDiagCount | REG | REG-level count of all DIAG measures for Older age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRaDiagCountChange | REG | Change in REG-level count of all DIAG measures for Older age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRaDiagCount as New join hist.RegOlderRaDiagCount as Old using (State, RegId) |
RegOlderRaDiagCountGrowth | REG | Growth in REG-level count of all DIAG measures for Older age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRaDiagCount as New join hist.RegOlderRaDiagCount as Old using (State, RegId) |
RegOlderRaDiagCompleted | REG | REG-level count of completed DIAG measures for Older age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRaDiagCompletedChange | REG | Change in REG-level count of completed DIAG measures for Older age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRaDiagCompleted as New join hist.RegOlderRaDiagCompleted as Old using (State, RegId) |
RegOlderRaDiagCompletedGrowth | REG | Growth in REG-level count of completed DIAG measures for Older age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRaDiagCompleted as New join hist.RegOlderRaDiagCompleted as Old using (State, RegId) |
RegOlderRaDiagCompletionRate | REG | REG-level completion rate of DIAG measures for Older age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(RegOlderRaDiagCompleted.Total, RegOlderRaCodCount.Total, 3) as Rate from RegOlderRaDiagCompleted join RegOlderRaCodCount using (State, RegId) |
RegOlderRaDiagCompletionRateChange | REG | Change in REG-level completion rate of DIAG measures for Older age group in Ambulatory setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderRaDiagCompletionRate as New join hist.RegOlderRaDiagCompletionRate as Old using (State, RegId) |
RegOlderRaPocCount | REG | REG-level count of all POC measures for Older age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRaPocCountChange | REG | Change in REG-level count of all POC measures for Older age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRaPocCount as New join hist.RegOlderRaPocCount as Old using (State, RegId) |
RegOlderRaPocCountGrowth | REG | Growth in REG-level count of all POC measures for Older age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRaPocCount as New join hist.RegOlderRaPocCount as Old using (State, RegId) |
RegOlderRaPocCompleted | REG | REG-level count of completed POC measures for Older age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRaPocCompletedChange | REG | Change in REG-level count of completed POC measures for Older age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRaPocCompleted as New join hist.RegOlderRaPocCompleted as Old using (State, RegId) |
RegOlderRaPocCompletedGrowth | REG | Growth in REG-level count of completed POC measures for Older age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRaPocCompleted as New join hist.RegOlderRaPocCompleted as Old using (State, RegId) |
RegOlderRaPocCompletionRate | REG | REG-level completion rate of POC measures for Older age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(RegOlderRaPocCompleted.Total, RegOlderRaCodCount.Total, 3) as Rate from RegOlderRaPocCompleted join RegOlderRaCodCount using (State, RegId) |
RegOlderRaPocCompletionRateChange | REG | Change in REG-level completion rate of POC measures for Older age group in Ambulatory setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderRaPocCompletionRate as New join hist.RegOlderRaPocCompletionRate as Old using (State, RegId) |
RegOlderRaMhlsCount | REG | REG-level count of all MHLS measures for Older age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRaMhlsCountChange | REG | Change in REG-level count of all MHLS measures for Older age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRaMhlsCount as New join hist.RegOlderRaMhlsCount as Old using (State, RegId) |
RegOlderRaMhlsCountGrowth | REG | Growth in REG-level count of all MHLS measures for Older age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRaMhlsCount as New join hist.RegOlderRaMhlsCount as Old using (State, RegId) |
RegOlderRaMhlsCompleted | REG | REG-level count of completed MHLS measures for Older age group in Ambulatory setting after Review | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderRaMhlsCompletedChange | REG | Change in REG-level count of completed MHLS measures for Older age group in Ambulatory setting after Review | select State, RegId, (New.Total - Old.Total) as Change from RegOlderRaMhlsCompleted as New join hist.RegOlderRaMhlsCompleted as Old using (State, RegId) |
RegOlderRaMhlsCompletedGrowth | REG | Growth in REG-level count of completed MHLS measures for Older age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderRaMhlsCompleted as New join hist.RegOlderRaMhlsCompleted as Old using (State, RegId) |
RegOlderRaMhlsCompletionRate | REG | REG-level completion rate of MHLS measures for Older age group in Ambulatory setting after Review | select State, RegId, sd_div_safe(RegOlderRaMhlsCompleted.Total, RegOlderRaCodCount.Total, 3) as Rate from RegOlderRaMhlsCompleted join RegOlderRaCodCount using (State, RegId) |
RegOlderRaMhlsCompletionRateChange | REG | Change in REG-level completion rate of MHLS measures for Older age group in Ambulatory setting after Review | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderRaMhlsCompletionRate as New join hist.RegOlderRaMhlsCompletionRate as Old using (State, RegId) |
RegOlderDaCodCount | REG | REG-level count of collection occasions for Older age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD where Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDaHonosCount | REG | REG-level count of all HONOS measures for Older age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDaHonosCountChange | REG | Change in REG-level count of all HONOS measures for Older age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDaHonosCount as New join hist.RegOlderDaHonosCount as Old using (State, RegId) |
RegOlderDaHonosCountGrowth | REG | Growth in REG-level count of all HONOS measures for Older age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDaHonosCount as New join hist.RegOlderDaHonosCount as Old using (State, RegId) |
RegOlderDaHonosCompleted | REG | REG-level count of completed HONOS measures for Older age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDaHonosCompletedChange | REG | Change in REG-level count of completed HONOS measures for Older age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDaHonosCompleted as New join hist.RegOlderDaHonosCompleted as Old using (State, RegId) |
RegOlderDaHonosCompletedGrowth | REG | Growth in REG-level count of completed HONOS measures for Older age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDaHonosCompleted as New join hist.RegOlderDaHonosCompleted as Old using (State, RegId) |
RegOlderDaHonosCompletionRate | REG | REG-level completion rate of HONOS measures for Older age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(RegOlderDaHonosCompleted.Total, RegOlderDaCodCount.Total, 3) as Rate from RegOlderDaHonosCompleted join RegOlderDaCodCount using (State, RegId) |
RegOlderDaHonosCompletionRateChange | REG | Change in REG-level completion rate of HONOS measures for Older age group in Ambulatory setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderDaHonosCompletionRate as New join hist.RegOlderDaHonosCompletionRate as Old using (State, RegId) |
RegOlderDaLsp16Count | REG | REG-level count of all LSP16 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Lsp16Completion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDaLsp16CountChange | REG | Change in REG-level count of all LSP16 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDaLsp16Count as New join hist.RegOlderDaLsp16Count as Old using (State, RegId) |
RegOlderDaLsp16CountGrowth | REG | Growth in REG-level count of all LSP16 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDaLsp16Count as New join hist.RegOlderDaLsp16Count as Old using (State, RegId) |
RegOlderDaLsp16Completed | REG | REG-level count of completed LSP16 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Lsp16Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDaLsp16CompletedChange | REG | Change in REG-level count of completed LSP16 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDaLsp16Completed as New join hist.RegOlderDaLsp16Completed as Old using (State, RegId) |
RegOlderDaLsp16CompletedGrowth | REG | Growth in REG-level count of completed LSP16 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDaLsp16Completed as New join hist.RegOlderDaLsp16Completed as Old using (State, RegId) |
RegOlderDaLsp16CompletionRate | REG | REG-level completion rate of LSP16 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(RegOlderDaLsp16Completed.Total, RegOlderDaCodCount.Total, 3) as Rate from RegOlderDaLsp16Completed join RegOlderDaCodCount using (State, RegId) |
RegOlderDaLsp16CompletionRateChange | REG | Change in REG-level completion rate of LSP16 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderDaLsp16CompletionRate as New join hist.RegOlderDaLsp16CompletionRate as Old using (State, RegId) |
RegOlderDaBasis32Count | REG | REG-level count of all BASIS32 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDaBasis32CountChange | REG | Change in REG-level count of all BASIS32 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDaBasis32Count as New join hist.RegOlderDaBasis32Count as Old using (State, RegId) |
RegOlderDaBasis32CountGrowth | REG | Growth in REG-level count of all BASIS32 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDaBasis32Count as New join hist.RegOlderDaBasis32Count as Old using (State, RegId) |
RegOlderDaBasis32Completed | REG | REG-level count of completed BASIS32 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDaBasis32CompletedChange | REG | Change in REG-level count of completed BASIS32 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDaBasis32Completed as New join hist.RegOlderDaBasis32Completed as Old using (State, RegId) |
RegOlderDaBasis32CompletedGrowth | REG | Growth in REG-level count of completed BASIS32 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDaBasis32Completed as New join hist.RegOlderDaBasis32Completed as Old using (State, RegId) |
RegOlderDaBasis32CompletionRate | REG | REG-level completion rate of BASIS32 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(RegOlderDaBasis32Completed.Total, RegOlderDaCodCount.Total, 3) as Rate from RegOlderDaBasis32Completed join RegOlderDaCodCount using (State, RegId) |
RegOlderDaBasis32CompletionRateChange | REG | Change in REG-level completion rate of BASIS32 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderDaBasis32CompletionRate as New join hist.RegOlderDaBasis32CompletionRate as Old using (State, RegId) |
RegOlderDaK10l3dCount | REG | REG-level count of all K10L3D measures for Older age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDaK10l3dCountChange | REG | Change in REG-level count of all K10L3D measures for Older age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDaK10l3dCount as New join hist.RegOlderDaK10l3dCount as Old using (State, RegId) |
RegOlderDaK10l3dCountGrowth | REG | Growth in REG-level count of all K10L3D measures for Older age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDaK10l3dCount as New join hist.RegOlderDaK10l3dCount as Old using (State, RegId) |
RegOlderDaK10l3dCompleted | REG | REG-level count of completed K10L3D measures for Older age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDaK10l3dCompletedChange | REG | Change in REG-level count of completed K10L3D measures for Older age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDaK10l3dCompleted as New join hist.RegOlderDaK10l3dCompleted as Old using (State, RegId) |
RegOlderDaK10l3dCompletedGrowth | REG | Growth in REG-level count of completed K10L3D measures for Older age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDaK10l3dCompleted as New join hist.RegOlderDaK10l3dCompleted as Old using (State, RegId) |
RegOlderDaK10l3dCompletionRate | REG | REG-level completion rate of K10L3D measures for Older age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(RegOlderDaK10l3dCompleted.Total, RegOlderDaCodCount.Total, 3) as Rate from RegOlderDaK10l3dCompleted join RegOlderDaCodCount using (State, RegId) |
RegOlderDaK10l3dCompletionRateChange | REG | Change in REG-level completion rate of K10L3D measures for Older age group in Ambulatory setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderDaK10l3dCompletionRate as New join hist.RegOlderDaK10l3dCompletionRate as Old using (State, RegId) |
RegOlderDaK10lmCount | REG | REG-level count of all K10LM measures for Older age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDaK10lmCountChange | REG | Change in REG-level count of all K10LM measures for Older age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDaK10lmCount as New join hist.RegOlderDaK10lmCount as Old using (State, RegId) |
RegOlderDaK10lmCountGrowth | REG | Growth in REG-level count of all K10LM measures for Older age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDaK10lmCount as New join hist.RegOlderDaK10lmCount as Old using (State, RegId) |
RegOlderDaK10lmCompleted | REG | REG-level count of completed K10LM measures for Older age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDaK10lmCompletedChange | REG | Change in REG-level count of completed K10LM measures for Older age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDaK10lmCompleted as New join hist.RegOlderDaK10lmCompleted as Old using (State, RegId) |
RegOlderDaK10lmCompletedGrowth | REG | Growth in REG-level count of completed K10LM measures for Older age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDaK10lmCompleted as New join hist.RegOlderDaK10lmCompleted as Old using (State, RegId) |
RegOlderDaK10lmCompletionRate | REG | REG-level completion rate of K10LM measures for Older age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(RegOlderDaK10lmCompleted.Total, RegOlderDaCodCount.Total, 3) as Rate from RegOlderDaK10lmCompleted join RegOlderDaCodCount using (State, RegId) |
RegOlderDaK10lmCompletionRateChange | REG | Change in REG-level completion rate of K10LM measures for Older age group in Ambulatory setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderDaK10lmCompletionRate as New join hist.RegOlderDaK10lmCompletionRate as Old using (State, RegId) |
RegOlderDaMhi38Count | REG | REG-level count of all MHI38 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDaMhi38CountChange | REG | Change in REG-level count of all MHI38 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDaMhi38Count as New join hist.RegOlderDaMhi38Count as Old using (State, RegId) |
RegOlderDaMhi38CountGrowth | REG | Growth in REG-level count of all MHI38 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDaMhi38Count as New join hist.RegOlderDaMhi38Count as Old using (State, RegId) |
RegOlderDaMhi38Completed | REG | REG-level count of completed MHI38 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDaMhi38CompletedChange | REG | Change in REG-level count of completed MHI38 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDaMhi38Completed as New join hist.RegOlderDaMhi38Completed as Old using (State, RegId) |
RegOlderDaMhi38CompletedGrowth | REG | Growth in REG-level count of completed MHI38 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDaMhi38Completed as New join hist.RegOlderDaMhi38Completed as Old using (State, RegId) |
RegOlderDaMhi38CompletionRate | REG | REG-level completion rate of MHI38 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(RegOlderDaMhi38Completed.Total, RegOlderDaCodCount.Total, 3) as Rate from RegOlderDaMhi38Completed join RegOlderDaCodCount using (State, RegId) |
RegOlderDaMhi38CompletionRateChange | REG | Change in REG-level completion rate of MHI38 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderDaMhi38CompletionRate as New join hist.RegOlderDaMhi38CompletionRate as Old using (State, RegId) |
RegOlderDaDiagCount | REG | REG-level count of all DIAG measures for Older age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDaDiagCountChange | REG | Change in REG-level count of all DIAG measures for Older age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDaDiagCount as New join hist.RegOlderDaDiagCount as Old using (State, RegId) |
RegOlderDaDiagCountGrowth | REG | Growth in REG-level count of all DIAG measures for Older age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDaDiagCount as New join hist.RegOlderDaDiagCount as Old using (State, RegId) |
RegOlderDaDiagCompleted | REG | REG-level count of completed DIAG measures for Older age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDaDiagCompletedChange | REG | Change in REG-level count of completed DIAG measures for Older age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDaDiagCompleted as New join hist.RegOlderDaDiagCompleted as Old using (State, RegId) |
RegOlderDaDiagCompletedGrowth | REG | Growth in REG-level count of completed DIAG measures for Older age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDaDiagCompleted as New join hist.RegOlderDaDiagCompleted as Old using (State, RegId) |
RegOlderDaDiagCompletionRate | REG | REG-level completion rate of DIAG measures for Older age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(RegOlderDaDiagCompleted.Total, RegOlderDaCodCount.Total, 3) as Rate from RegOlderDaDiagCompleted join RegOlderDaCodCount using (State, RegId) |
RegOlderDaDiagCompletionRateChange | REG | Change in REG-level completion rate of DIAG measures for Older age group in Ambulatory setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderDaDiagCompletionRate as New join hist.RegOlderDaDiagCompletionRate as Old using (State, RegId) |
RegOlderDaMhlsCount | REG | REG-level count of all MHLS measures for Older age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDaMhlsCountChange | REG | Change in REG-level count of all MHLS measures for Older age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDaMhlsCount as New join hist.RegOlderDaMhlsCount as Old using (State, RegId) |
RegOlderDaMhlsCountGrowth | REG | Growth in REG-level count of all MHLS measures for Older age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDaMhlsCount as New join hist.RegOlderDaMhlsCount as Old using (State, RegId) |
RegOlderDaMhlsCompleted | REG | REG-level count of completed MHLS measures for Older age group in Ambulatory setting after Discharge | select State, RegId, coalesce(Count, 0) as Total from REG left join ( select State, RegId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId ) tmpinner using (State, RegId) |
RegOlderDaMhlsCompletedChange | REG | Change in REG-level count of completed MHLS measures for Older age group in Ambulatory setting after Discharge | select State, RegId, (New.Total - Old.Total) as Change from RegOlderDaMhlsCompleted as New join hist.RegOlderDaMhlsCompleted as Old using (State, RegId) |
RegOlderDaMhlsCompletedGrowth | REG | Growth in REG-level count of completed MHLS measures for Older age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from RegOlderDaMhlsCompleted as New join hist.RegOlderDaMhlsCompleted as Old using (State, RegId) |
RegOlderDaMhlsCompletionRate | REG | REG-level completion rate of MHLS measures for Older age group in Ambulatory setting after Discharge | select State, RegId, sd_div_safe(RegOlderDaMhlsCompleted.Total, RegOlderDaCodCount.Total, 3) as Rate from RegOlderDaMhlsCompleted join RegOlderDaCodCount using (State, RegId) |
RegOlderDaMhlsCompletionRateChange | REG | Change in REG-level completion rate of MHLS measures for Older age group in Ambulatory setting after Discharge | select State, RegId, (New.Rate - Old.Rate) as Change from RegOlderDaMhlsCompletionRate as New join hist.RegOlderDaMhlsCompletionRate as Old using (State, RegId) |
OrgChildAiCodCount | ORG | ORG-level count of collection occasions for Child age group in Inpatient setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD where Setting = '1' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildAiHonoscaCount | ORG | ORG-level count of all HONOSCA measures for Child age group in Inpatient setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonoscaCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildAiHonoscaCountChange | ORG | Change in ORG-level count of all HONOSCA measures for Child age group in Inpatient setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildAiHonoscaCount as New join hist.OrgChildAiHonoscaCount as Old using (State, RegId, OrgId) |
OrgChildAiHonoscaCountGrowth | ORG | Growth in ORG-level count of all HONOSCA measures for Child age group in Inpatient setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildAiHonoscaCount as New join hist.OrgChildAiHonoscaCount as Old using (State, RegId, OrgId) |
OrgChildAiHonoscaCompleted | ORG | ORG-level count of completed HONOSCA measures for Child age group in Inpatient setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonoscaCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildAiHonoscaCompletedChange | ORG | Change in ORG-level count of completed HONOSCA measures for Child age group in Inpatient setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildAiHonoscaCompleted as New join hist.OrgChildAiHonoscaCompleted as Old using (State, RegId, OrgId) |
OrgChildAiHonoscaCompletedGrowth | ORG | Growth in ORG-level count of completed HONOSCA measures for Child age group in Inpatient setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildAiHonoscaCompleted as New join hist.OrgChildAiHonoscaCompleted as Old using (State, RegId, OrgId) |
OrgChildAiHonoscaCompletionRate | ORG | ORG-level completion rate of HONOSCA measures for Child age group in Inpatient setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgChildAiHonoscaCompleted.Total, OrgChildAiCodCount.Total, 3) as Rate from OrgChildAiHonoscaCompleted join OrgChildAiCodCount using (State, RegId, OrgId) |
OrgChildAiHonoscaCompletionRateChange | ORG | Change in ORG-level completion rate of HONOSCA measures for Child age group in Inpatient setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildAiHonoscaCompletionRate as New join hist.OrgChildAiHonoscaCompletionRate as Old using (State, RegId, OrgId) |
OrgChildAiCgasCount | ORG | ORG-level count of all CGAS measures for Child age group in Inpatient setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join CgasCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildAiCgasCountChange | ORG | Change in ORG-level count of all CGAS measures for Child age group in Inpatient setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildAiCgasCount as New join hist.OrgChildAiCgasCount as Old using (State, RegId, OrgId) |
OrgChildAiCgasCountGrowth | ORG | Growth in ORG-level count of all CGAS measures for Child age group in Inpatient setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildAiCgasCount as New join hist.OrgChildAiCgasCount as Old using (State, RegId, OrgId) |
OrgChildAiCgasCompleted | ORG | ORG-level count of completed CGAS measures for Child age group in Inpatient setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join CgasCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildAiCgasCompletedChange | ORG | Change in ORG-level count of completed CGAS measures for Child age group in Inpatient setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildAiCgasCompleted as New join hist.OrgChildAiCgasCompleted as Old using (State, RegId, OrgId) |
OrgChildAiCgasCompletedGrowth | ORG | Growth in ORG-level count of completed CGAS measures for Child age group in Inpatient setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildAiCgasCompleted as New join hist.OrgChildAiCgasCompleted as Old using (State, RegId, OrgId) |
OrgChildAiCgasCompletionRate | ORG | ORG-level completion rate of CGAS measures for Child age group in Inpatient setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgChildAiCgasCompleted.Total, OrgChildAiCodCount.Total, 3) as Rate from OrgChildAiCgasCompleted join OrgChildAiCodCount using (State, RegId, OrgId) |
OrgChildAiCgasCompletionRateChange | ORG | Change in ORG-level completion rate of CGAS measures for Child age group in Inpatient setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildAiCgasCompletionRate as New join hist.OrgChildAiCgasCompletionRate as Old using (State, RegId, OrgId) |
OrgChildAiSdqCount | ORG | ORG-level count of all SDQ measures for Child age group in Inpatient setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join SdqCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildAiSdqCountChange | ORG | Change in ORG-level count of all SDQ measures for Child age group in Inpatient setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildAiSdqCount as New join hist.OrgChildAiSdqCount as Old using (State, RegId, OrgId) |
OrgChildAiSdqCountGrowth | ORG | Growth in ORG-level count of all SDQ measures for Child age group in Inpatient setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildAiSdqCount as New join hist.OrgChildAiSdqCount as Old using (State, RegId, OrgId) |
OrgChildAiSdqCompleted | ORG | ORG-level count of completed SDQ measures for Child age group in Inpatient setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join SdqCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildAiSdqCompletedChange | ORG | Change in ORG-level count of completed SDQ measures for Child age group in Inpatient setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildAiSdqCompleted as New join hist.OrgChildAiSdqCompleted as Old using (State, RegId, OrgId) |
OrgChildAiSdqCompletedGrowth | ORG | Growth in ORG-level count of completed SDQ measures for Child age group in Inpatient setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildAiSdqCompleted as New join hist.OrgChildAiSdqCompleted as Old using (State, RegId, OrgId) |
OrgChildAiSdqCompletionRate | ORG | ORG-level completion rate of SDQ measures for Child age group in Inpatient setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgChildAiSdqCompleted.Total, OrgChildAiCodCount.Total, 3) as Rate from OrgChildAiSdqCompleted join OrgChildAiCodCount using (State, RegId, OrgId) |
OrgChildAiSdqCompletionRateChange | ORG | Change in ORG-level completion rate of SDQ measures for Child age group in Inpatient setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildAiSdqCompletionRate as New join hist.OrgChildAiSdqCompletionRate as Old using (State, RegId, OrgId) |
OrgChildRiCodCount | ORG | ORG-level count of collection occasions for Child age group in Inpatient setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD where Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRiHonoscaCount | ORG | ORG-level count of all HONOSCA measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonoscaCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRiHonoscaCountChange | ORG | Change in ORG-level count of all HONOSCA measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRiHonoscaCount as New join hist.OrgChildRiHonoscaCount as Old using (State, RegId, OrgId) |
OrgChildRiHonoscaCountGrowth | ORG | Growth in ORG-level count of all HONOSCA measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRiHonoscaCount as New join hist.OrgChildRiHonoscaCount as Old using (State, RegId, OrgId) |
OrgChildRiHonoscaCompleted | ORG | ORG-level count of completed HONOSCA measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonoscaCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRiHonoscaCompletedChange | ORG | Change in ORG-level count of completed HONOSCA measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRiHonoscaCompleted as New join hist.OrgChildRiHonoscaCompleted as Old using (State, RegId, OrgId) |
OrgChildRiHonoscaCompletedGrowth | ORG | Growth in ORG-level count of completed HONOSCA measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRiHonoscaCompleted as New join hist.OrgChildRiHonoscaCompleted as Old using (State, RegId, OrgId) |
OrgChildRiHonoscaCompletionRate | ORG | ORG-level completion rate of HONOSCA measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(OrgChildRiHonoscaCompleted.Total, OrgChildRiCodCount.Total, 3) as Rate from OrgChildRiHonoscaCompleted join OrgChildRiCodCount using (State, RegId, OrgId) |
OrgChildRiHonoscaCompletionRateChange | ORG | Change in ORG-level completion rate of HONOSCA measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildRiHonoscaCompletionRate as New join hist.OrgChildRiHonoscaCompletionRate as Old using (State, RegId, OrgId) |
OrgChildRiCgasCount | ORG | ORG-level count of all CGAS measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join CgasCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRiCgasCountChange | ORG | Change in ORG-level count of all CGAS measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRiCgasCount as New join hist.OrgChildRiCgasCount as Old using (State, RegId, OrgId) |
OrgChildRiCgasCountGrowth | ORG | Growth in ORG-level count of all CGAS measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRiCgasCount as New join hist.OrgChildRiCgasCount as Old using (State, RegId, OrgId) |
OrgChildRiCgasCompleted | ORG | ORG-level count of completed CGAS measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join CgasCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRiCgasCompletedChange | ORG | Change in ORG-level count of completed CGAS measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRiCgasCompleted as New join hist.OrgChildRiCgasCompleted as Old using (State, RegId, OrgId) |
OrgChildRiCgasCompletedGrowth | ORG | Growth in ORG-level count of completed CGAS measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRiCgasCompleted as New join hist.OrgChildRiCgasCompleted as Old using (State, RegId, OrgId) |
OrgChildRiCgasCompletionRate | ORG | ORG-level completion rate of CGAS measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(OrgChildRiCgasCompleted.Total, OrgChildRiCodCount.Total, 3) as Rate from OrgChildRiCgasCompleted join OrgChildRiCodCount using (State, RegId, OrgId) |
OrgChildRiCgasCompletionRateChange | ORG | Change in ORG-level completion rate of CGAS measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildRiCgasCompletionRate as New join hist.OrgChildRiCgasCompletionRate as Old using (State, RegId, OrgId) |
OrgChildRiFihsCount | ORG | ORG-level count of all FIHS measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join FihsCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRiFihsCountChange | ORG | Change in ORG-level count of all FIHS measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRiFihsCount as New join hist.OrgChildRiFihsCount as Old using (State, RegId, OrgId) |
OrgChildRiFihsCountGrowth | ORG | Growth in ORG-level count of all FIHS measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRiFihsCount as New join hist.OrgChildRiFihsCount as Old using (State, RegId, OrgId) |
OrgChildRiFihsCompleted | ORG | ORG-level count of completed FIHS measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join FihsCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRiFihsCompletedChange | ORG | Change in ORG-level count of completed FIHS measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRiFihsCompleted as New join hist.OrgChildRiFihsCompleted as Old using (State, RegId, OrgId) |
OrgChildRiFihsCompletedGrowth | ORG | Growth in ORG-level count of completed FIHS measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRiFihsCompleted as New join hist.OrgChildRiFihsCompleted as Old using (State, RegId, OrgId) |
OrgChildRiFihsCompletionRate | ORG | ORG-level completion rate of FIHS measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(OrgChildRiFihsCompleted.Total, OrgChildRiCodCount.Total, 3) as Rate from OrgChildRiFihsCompleted join OrgChildRiCodCount using (State, RegId, OrgId) |
OrgChildRiFihsCompletionRateChange | ORG | Change in ORG-level completion rate of FIHS measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildRiFihsCompletionRate as New join hist.OrgChildRiFihsCompletionRate as Old using (State, RegId, OrgId) |
OrgChildRiSdqCount | ORG | ORG-level count of all SDQ measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join SdqCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRiSdqCountChange | ORG | Change in ORG-level count of all SDQ measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRiSdqCount as New join hist.OrgChildRiSdqCount as Old using (State, RegId, OrgId) |
OrgChildRiSdqCountGrowth | ORG | Growth in ORG-level count of all SDQ measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRiSdqCount as New join hist.OrgChildRiSdqCount as Old using (State, RegId, OrgId) |
OrgChildRiSdqCompleted | ORG | ORG-level count of completed SDQ measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join SdqCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRiSdqCompletedChange | ORG | Change in ORG-level count of completed SDQ measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRiSdqCompleted as New join hist.OrgChildRiSdqCompleted as Old using (State, RegId, OrgId) |
OrgChildRiSdqCompletedGrowth | ORG | Growth in ORG-level count of completed SDQ measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRiSdqCompleted as New join hist.OrgChildRiSdqCompleted as Old using (State, RegId, OrgId) |
OrgChildRiSdqCompletionRate | ORG | ORG-level completion rate of SDQ measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(OrgChildRiSdqCompleted.Total, OrgChildRiCodCount.Total, 3) as Rate from OrgChildRiSdqCompleted join OrgChildRiCodCount using (State, RegId, OrgId) |
OrgChildRiSdqCompletionRateChange | ORG | Change in ORG-level completion rate of SDQ measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildRiSdqCompletionRate as New join hist.OrgChildRiSdqCompletionRate as Old using (State, RegId, OrgId) |
OrgChildRiDiagCount | ORG | ORG-level count of all DIAG measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRiDiagCountChange | ORG | Change in ORG-level count of all DIAG measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRiDiagCount as New join hist.OrgChildRiDiagCount as Old using (State, RegId, OrgId) |
OrgChildRiDiagCountGrowth | ORG | Growth in ORG-level count of all DIAG measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRiDiagCount as New join hist.OrgChildRiDiagCount as Old using (State, RegId, OrgId) |
OrgChildRiDiagCompleted | ORG | ORG-level count of completed DIAG measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRiDiagCompletedChange | ORG | Change in ORG-level count of completed DIAG measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRiDiagCompleted as New join hist.OrgChildRiDiagCompleted as Old using (State, RegId, OrgId) |
OrgChildRiDiagCompletedGrowth | ORG | Growth in ORG-level count of completed DIAG measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRiDiagCompleted as New join hist.OrgChildRiDiagCompleted as Old using (State, RegId, OrgId) |
OrgChildRiDiagCompletionRate | ORG | ORG-level completion rate of DIAG measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(OrgChildRiDiagCompleted.Total, OrgChildRiCodCount.Total, 3) as Rate from OrgChildRiDiagCompleted join OrgChildRiCodCount using (State, RegId, OrgId) |
OrgChildRiDiagCompletionRateChange | ORG | Change in ORG-level completion rate of DIAG measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildRiDiagCompletionRate as New join hist.OrgChildRiDiagCompletionRate as Old using (State, RegId, OrgId) |
OrgChildRiMhlsCount | ORG | ORG-level count of all MHLS measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRiMhlsCountChange | ORG | Change in ORG-level count of all MHLS measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRiMhlsCount as New join hist.OrgChildRiMhlsCount as Old using (State, RegId, OrgId) |
OrgChildRiMhlsCountGrowth | ORG | Growth in ORG-level count of all MHLS measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRiMhlsCount as New join hist.OrgChildRiMhlsCount as Old using (State, RegId, OrgId) |
OrgChildRiMhlsCompleted | ORG | ORG-level count of completed MHLS measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRiMhlsCompletedChange | ORG | Change in ORG-level count of completed MHLS measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRiMhlsCompleted as New join hist.OrgChildRiMhlsCompleted as Old using (State, RegId, OrgId) |
OrgChildRiMhlsCompletedGrowth | ORG | Growth in ORG-level count of completed MHLS measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRiMhlsCompleted as New join hist.OrgChildRiMhlsCompleted as Old using (State, RegId, OrgId) |
OrgChildRiMhlsCompletionRate | ORG | ORG-level completion rate of MHLS measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(OrgChildRiMhlsCompleted.Total, OrgChildRiCodCount.Total, 3) as Rate from OrgChildRiMhlsCompleted join OrgChildRiCodCount using (State, RegId, OrgId) |
OrgChildRiMhlsCompletionRateChange | ORG | Change in ORG-level completion rate of MHLS measures for Child age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildRiMhlsCompletionRate as New join hist.OrgChildRiMhlsCompletionRate as Old using (State, RegId, OrgId) |
OrgChildDiCodCount | ORG | ORG-level count of collection occasions for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD where Setting = '1' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildDiHonoscaCount | ORG | ORG-level count of all HONOSCA measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonoscaCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildDiHonoscaCountChange | ORG | Change in ORG-level count of all HONOSCA measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildDiHonoscaCount as New join hist.OrgChildDiHonoscaCount as Old using (State, RegId, OrgId) |
OrgChildDiHonoscaCountGrowth | ORG | Growth in ORG-level count of all HONOSCA measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildDiHonoscaCount as New join hist.OrgChildDiHonoscaCount as Old using (State, RegId, OrgId) |
OrgChildDiHonoscaCompleted | ORG | ORG-level count of completed HONOSCA measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonoscaCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildDiHonoscaCompletedChange | ORG | Change in ORG-level count of completed HONOSCA measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildDiHonoscaCompleted as New join hist.OrgChildDiHonoscaCompleted as Old using (State, RegId, OrgId) |
OrgChildDiHonoscaCompletedGrowth | ORG | Growth in ORG-level count of completed HONOSCA measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildDiHonoscaCompleted as New join hist.OrgChildDiHonoscaCompleted as Old using (State, RegId, OrgId) |
OrgChildDiHonoscaCompletionRate | ORG | ORG-level completion rate of HONOSCA measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgChildDiHonoscaCompleted.Total, OrgChildDiCodCount.Total, 3) as Rate from OrgChildDiHonoscaCompleted join OrgChildDiCodCount using (State, RegId, OrgId) |
OrgChildDiHonoscaCompletionRateChange | ORG | Change in ORG-level completion rate of HONOSCA measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildDiHonoscaCompletionRate as New join hist.OrgChildDiHonoscaCompletionRate as Old using (State, RegId, OrgId) |
OrgChildDiFihsCount | ORG | ORG-level count of all FIHS measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join FihsCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildDiFihsCountChange | ORG | Change in ORG-level count of all FIHS measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildDiFihsCount as New join hist.OrgChildDiFihsCount as Old using (State, RegId, OrgId) |
OrgChildDiFihsCountGrowth | ORG | Growth in ORG-level count of all FIHS measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildDiFihsCount as New join hist.OrgChildDiFihsCount as Old using (State, RegId, OrgId) |
OrgChildDiFihsCompleted | ORG | ORG-level count of completed FIHS measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join FihsCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildDiFihsCompletedChange | ORG | Change in ORG-level count of completed FIHS measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildDiFihsCompleted as New join hist.OrgChildDiFihsCompleted as Old using (State, RegId, OrgId) |
OrgChildDiFihsCompletedGrowth | ORG | Growth in ORG-level count of completed FIHS measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildDiFihsCompleted as New join hist.OrgChildDiFihsCompleted as Old using (State, RegId, OrgId) |
OrgChildDiFihsCompletionRate | ORG | ORG-level completion rate of FIHS measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgChildDiFihsCompleted.Total, OrgChildDiCodCount.Total, 3) as Rate from OrgChildDiFihsCompleted join OrgChildDiCodCount using (State, RegId, OrgId) |
OrgChildDiFihsCompletionRateChange | ORG | Change in ORG-level completion rate of FIHS measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildDiFihsCompletionRate as New join hist.OrgChildDiFihsCompletionRate as Old using (State, RegId, OrgId) |
OrgChildDiSdqCount | ORG | ORG-level count of all SDQ measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join SdqCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildDiSdqCountChange | ORG | Change in ORG-level count of all SDQ measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildDiSdqCount as New join hist.OrgChildDiSdqCount as Old using (State, RegId, OrgId) |
OrgChildDiSdqCountGrowth | ORG | Growth in ORG-level count of all SDQ measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildDiSdqCount as New join hist.OrgChildDiSdqCount as Old using (State, RegId, OrgId) |
OrgChildDiSdqCompleted | ORG | ORG-level count of completed SDQ measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join SdqCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildDiSdqCompletedChange | ORG | Change in ORG-level count of completed SDQ measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildDiSdqCompleted as New join hist.OrgChildDiSdqCompleted as Old using (State, RegId, OrgId) |
OrgChildDiSdqCompletedGrowth | ORG | Growth in ORG-level count of completed SDQ measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildDiSdqCompleted as New join hist.OrgChildDiSdqCompleted as Old using (State, RegId, OrgId) |
OrgChildDiSdqCompletionRate | ORG | ORG-level completion rate of SDQ measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgChildDiSdqCompleted.Total, OrgChildDiCodCount.Total, 3) as Rate from OrgChildDiSdqCompleted join OrgChildDiCodCount using (State, RegId, OrgId) |
OrgChildDiSdqCompletionRateChange | ORG | Change in ORG-level completion rate of SDQ measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildDiSdqCompletionRate as New join hist.OrgChildDiSdqCompletionRate as Old using (State, RegId, OrgId) |
OrgChildDiDiagCount | ORG | ORG-level count of all DIAG measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildDiDiagCountChange | ORG | Change in ORG-level count of all DIAG measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildDiDiagCount as New join hist.OrgChildDiDiagCount as Old using (State, RegId, OrgId) |
OrgChildDiDiagCountGrowth | ORG | Growth in ORG-level count of all DIAG measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildDiDiagCount as New join hist.OrgChildDiDiagCount as Old using (State, RegId, OrgId) |
OrgChildDiDiagCompleted | ORG | ORG-level count of completed DIAG measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildDiDiagCompletedChange | ORG | Change in ORG-level count of completed DIAG measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildDiDiagCompleted as New join hist.OrgChildDiDiagCompleted as Old using (State, RegId, OrgId) |
OrgChildDiDiagCompletedGrowth | ORG | Growth in ORG-level count of completed DIAG measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildDiDiagCompleted as New join hist.OrgChildDiDiagCompleted as Old using (State, RegId, OrgId) |
OrgChildDiDiagCompletionRate | ORG | ORG-level completion rate of DIAG measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgChildDiDiagCompleted.Total, OrgChildDiCodCount.Total, 3) as Rate from OrgChildDiDiagCompleted join OrgChildDiCodCount using (State, RegId, OrgId) |
OrgChildDiDiagCompletionRateChange | ORG | Change in ORG-level completion rate of DIAG measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildDiDiagCompletionRate as New join hist.OrgChildDiDiagCompletionRate as Old using (State, RegId, OrgId) |
OrgChildDiMhlsCount | ORG | ORG-level count of all MHLS measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '1' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildDiMhlsCountChange | ORG | Change in ORG-level count of all MHLS measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildDiMhlsCount as New join hist.OrgChildDiMhlsCount as Old using (State, RegId, OrgId) |
OrgChildDiMhlsCountGrowth | ORG | Growth in ORG-level count of all MHLS measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildDiMhlsCount as New join hist.OrgChildDiMhlsCount as Old using (State, RegId, OrgId) |
OrgChildDiMhlsCompleted | ORG | ORG-level count of completed MHLS measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildDiMhlsCompletedChange | ORG | Change in ORG-level count of completed MHLS measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildDiMhlsCompleted as New join hist.OrgChildDiMhlsCompleted as Old using (State, RegId, OrgId) |
OrgChildDiMhlsCompletedGrowth | ORG | Growth in ORG-level count of completed MHLS measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildDiMhlsCompleted as New join hist.OrgChildDiMhlsCompleted as Old using (State, RegId, OrgId) |
OrgChildDiMhlsCompletionRate | ORG | ORG-level completion rate of MHLS measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgChildDiMhlsCompleted.Total, OrgChildDiCodCount.Total, 3) as Rate from OrgChildDiMhlsCompleted join OrgChildDiCodCount using (State, RegId, OrgId) |
OrgChildDiMhlsCompletionRateChange | ORG | Change in ORG-level completion rate of MHLS measures for Child age group in Inpatient setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildDiMhlsCompletionRate as New join hist.OrgChildDiMhlsCompletionRate as Old using (State, RegId, OrgId) |
OrgChildArCodCount | ORG | ORG-level count of collection occasions for Child age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD where Setting = '2' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildArHonoscaCount | ORG | ORG-level count of all HONOSCA measures for Child age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonoscaCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildArHonoscaCountChange | ORG | Change in ORG-level count of all HONOSCA measures for Child age group in Residential setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildArHonoscaCount as New join hist.OrgChildArHonoscaCount as Old using (State, RegId, OrgId) |
OrgChildArHonoscaCountGrowth | ORG | Growth in ORG-level count of all HONOSCA measures for Child age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildArHonoscaCount as New join hist.OrgChildArHonoscaCount as Old using (State, RegId, OrgId) |
OrgChildArHonoscaCompleted | ORG | ORG-level count of completed HONOSCA measures for Child age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonoscaCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildArHonoscaCompletedChange | ORG | Change in ORG-level count of completed HONOSCA measures for Child age group in Residential setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildArHonoscaCompleted as New join hist.OrgChildArHonoscaCompleted as Old using (State, RegId, OrgId) |
OrgChildArHonoscaCompletedGrowth | ORG | Growth in ORG-level count of completed HONOSCA measures for Child age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildArHonoscaCompleted as New join hist.OrgChildArHonoscaCompleted as Old using (State, RegId, OrgId) |
OrgChildArHonoscaCompletionRate | ORG | ORG-level completion rate of HONOSCA measures for Child age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgChildArHonoscaCompleted.Total, OrgChildArCodCount.Total, 3) as Rate from OrgChildArHonoscaCompleted join OrgChildArCodCount using (State, RegId, OrgId) |
OrgChildArHonoscaCompletionRateChange | ORG | Change in ORG-level completion rate of HONOSCA measures for Child age group in Residential setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildArHonoscaCompletionRate as New join hist.OrgChildArHonoscaCompletionRate as Old using (State, RegId, OrgId) |
OrgChildArCgasCount | ORG | ORG-level count of all CGAS measures for Child age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join CgasCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildArCgasCountChange | ORG | Change in ORG-level count of all CGAS measures for Child age group in Residential setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildArCgasCount as New join hist.OrgChildArCgasCount as Old using (State, RegId, OrgId) |
OrgChildArCgasCountGrowth | ORG | Growth in ORG-level count of all CGAS measures for Child age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildArCgasCount as New join hist.OrgChildArCgasCount as Old using (State, RegId, OrgId) |
OrgChildArCgasCompleted | ORG | ORG-level count of completed CGAS measures for Child age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join CgasCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildArCgasCompletedChange | ORG | Change in ORG-level count of completed CGAS measures for Child age group in Residential setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildArCgasCompleted as New join hist.OrgChildArCgasCompleted as Old using (State, RegId, OrgId) |
OrgChildArCgasCompletedGrowth | ORG | Growth in ORG-level count of completed CGAS measures for Child age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildArCgasCompleted as New join hist.OrgChildArCgasCompleted as Old using (State, RegId, OrgId) |
OrgChildArCgasCompletionRate | ORG | ORG-level completion rate of CGAS measures for Child age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgChildArCgasCompleted.Total, OrgChildArCodCount.Total, 3) as Rate from OrgChildArCgasCompleted join OrgChildArCodCount using (State, RegId, OrgId) |
OrgChildArCgasCompletionRateChange | ORG | Change in ORG-level completion rate of CGAS measures for Child age group in Residential setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildArCgasCompletionRate as New join hist.OrgChildArCgasCompletionRate as Old using (State, RegId, OrgId) |
OrgChildArSdqCount | ORG | ORG-level count of all SDQ measures for Child age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join SdqCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildArSdqCountChange | ORG | Change in ORG-level count of all SDQ measures for Child age group in Residential setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildArSdqCount as New join hist.OrgChildArSdqCount as Old using (State, RegId, OrgId) |
OrgChildArSdqCountGrowth | ORG | Growth in ORG-level count of all SDQ measures for Child age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildArSdqCount as New join hist.OrgChildArSdqCount as Old using (State, RegId, OrgId) |
OrgChildArSdqCompleted | ORG | ORG-level count of completed SDQ measures for Child age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join SdqCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildArSdqCompletedChange | ORG | Change in ORG-level count of completed SDQ measures for Child age group in Residential setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildArSdqCompleted as New join hist.OrgChildArSdqCompleted as Old using (State, RegId, OrgId) |
OrgChildArSdqCompletedGrowth | ORG | Growth in ORG-level count of completed SDQ measures for Child age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildArSdqCompleted as New join hist.OrgChildArSdqCompleted as Old using (State, RegId, OrgId) |
OrgChildArSdqCompletionRate | ORG | ORG-level completion rate of SDQ measures for Child age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgChildArSdqCompleted.Total, OrgChildArCodCount.Total, 3) as Rate from OrgChildArSdqCompleted join OrgChildArCodCount using (State, RegId, OrgId) |
OrgChildArSdqCompletionRateChange | ORG | Change in ORG-level completion rate of SDQ measures for Child age group in Residential setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildArSdqCompletionRate as New join hist.OrgChildArSdqCompletionRate as Old using (State, RegId, OrgId) |
OrgChildRrCodCount | ORG | ORG-level count of collection occasions for Child age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD where Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRrHonoscaCount | ORG | ORG-level count of all HONOSCA measures for Child age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonoscaCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRrHonoscaCountChange | ORG | Change in ORG-level count of all HONOSCA measures for Child age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRrHonoscaCount as New join hist.OrgChildRrHonoscaCount as Old using (State, RegId, OrgId) |
OrgChildRrHonoscaCountGrowth | ORG | Growth in ORG-level count of all HONOSCA measures for Child age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRrHonoscaCount as New join hist.OrgChildRrHonoscaCount as Old using (State, RegId, OrgId) |
OrgChildRrHonoscaCompleted | ORG | ORG-level count of completed HONOSCA measures for Child age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonoscaCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRrHonoscaCompletedChange | ORG | Change in ORG-level count of completed HONOSCA measures for Child age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRrHonoscaCompleted as New join hist.OrgChildRrHonoscaCompleted as Old using (State, RegId, OrgId) |
OrgChildRrHonoscaCompletedGrowth | ORG | Growth in ORG-level count of completed HONOSCA measures for Child age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRrHonoscaCompleted as New join hist.OrgChildRrHonoscaCompleted as Old using (State, RegId, OrgId) |
OrgChildRrHonoscaCompletionRate | ORG | ORG-level completion rate of HONOSCA measures for Child age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(OrgChildRrHonoscaCompleted.Total, OrgChildRrCodCount.Total, 3) as Rate from OrgChildRrHonoscaCompleted join OrgChildRrCodCount using (State, RegId, OrgId) |
OrgChildRrHonoscaCompletionRateChange | ORG | Change in ORG-level completion rate of HONOSCA measures for Child age group in Residential setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildRrHonoscaCompletionRate as New join hist.OrgChildRrHonoscaCompletionRate as Old using (State, RegId, OrgId) |
OrgChildRrCgasCount | ORG | ORG-level count of all CGAS measures for Child age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join CgasCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRrCgasCountChange | ORG | Change in ORG-level count of all CGAS measures for Child age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRrCgasCount as New join hist.OrgChildRrCgasCount as Old using (State, RegId, OrgId) |
OrgChildRrCgasCountGrowth | ORG | Growth in ORG-level count of all CGAS measures for Child age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRrCgasCount as New join hist.OrgChildRrCgasCount as Old using (State, RegId, OrgId) |
OrgChildRrCgasCompleted | ORG | ORG-level count of completed CGAS measures for Child age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join CgasCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRrCgasCompletedChange | ORG | Change in ORG-level count of completed CGAS measures for Child age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRrCgasCompleted as New join hist.OrgChildRrCgasCompleted as Old using (State, RegId, OrgId) |
OrgChildRrCgasCompletedGrowth | ORG | Growth in ORG-level count of completed CGAS measures for Child age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRrCgasCompleted as New join hist.OrgChildRrCgasCompleted as Old using (State, RegId, OrgId) |
OrgChildRrCgasCompletionRate | ORG | ORG-level completion rate of CGAS measures for Child age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(OrgChildRrCgasCompleted.Total, OrgChildRrCodCount.Total, 3) as Rate from OrgChildRrCgasCompleted join OrgChildRrCodCount using (State, RegId, OrgId) |
OrgChildRrCgasCompletionRateChange | ORG | Change in ORG-level completion rate of CGAS measures for Child age group in Residential setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildRrCgasCompletionRate as New join hist.OrgChildRrCgasCompletionRate as Old using (State, RegId, OrgId) |
OrgChildRrFihsCount | ORG | ORG-level count of all FIHS measures for Child age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join FihsCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRrFihsCountChange | ORG | Change in ORG-level count of all FIHS measures for Child age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRrFihsCount as New join hist.OrgChildRrFihsCount as Old using (State, RegId, OrgId) |
OrgChildRrFihsCountGrowth | ORG | Growth in ORG-level count of all FIHS measures for Child age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRrFihsCount as New join hist.OrgChildRrFihsCount as Old using (State, RegId, OrgId) |
OrgChildRrFihsCompleted | ORG | ORG-level count of completed FIHS measures for Child age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join FihsCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRrFihsCompletedChange | ORG | Change in ORG-level count of completed FIHS measures for Child age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRrFihsCompleted as New join hist.OrgChildRrFihsCompleted as Old using (State, RegId, OrgId) |
OrgChildRrFihsCompletedGrowth | ORG | Growth in ORG-level count of completed FIHS measures for Child age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRrFihsCompleted as New join hist.OrgChildRrFihsCompleted as Old using (State, RegId, OrgId) |
OrgChildRrFihsCompletionRate | ORG | ORG-level completion rate of FIHS measures for Child age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(OrgChildRrFihsCompleted.Total, OrgChildRrCodCount.Total, 3) as Rate from OrgChildRrFihsCompleted join OrgChildRrCodCount using (State, RegId, OrgId) |
OrgChildRrFihsCompletionRateChange | ORG | Change in ORG-level completion rate of FIHS measures for Child age group in Residential setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildRrFihsCompletionRate as New join hist.OrgChildRrFihsCompletionRate as Old using (State, RegId, OrgId) |
OrgChildRrSdqCount | ORG | ORG-level count of all SDQ measures for Child age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join SdqCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRrSdqCountChange | ORG | Change in ORG-level count of all SDQ measures for Child age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRrSdqCount as New join hist.OrgChildRrSdqCount as Old using (State, RegId, OrgId) |
OrgChildRrSdqCountGrowth | ORG | Growth in ORG-level count of all SDQ measures for Child age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRrSdqCount as New join hist.OrgChildRrSdqCount as Old using (State, RegId, OrgId) |
OrgChildRrSdqCompleted | ORG | ORG-level count of completed SDQ measures for Child age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join SdqCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRrSdqCompletedChange | ORG | Change in ORG-level count of completed SDQ measures for Child age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRrSdqCompleted as New join hist.OrgChildRrSdqCompleted as Old using (State, RegId, OrgId) |
OrgChildRrSdqCompletedGrowth | ORG | Growth in ORG-level count of completed SDQ measures for Child age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRrSdqCompleted as New join hist.OrgChildRrSdqCompleted as Old using (State, RegId, OrgId) |
OrgChildRrSdqCompletionRate | ORG | ORG-level completion rate of SDQ measures for Child age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(OrgChildRrSdqCompleted.Total, OrgChildRrCodCount.Total, 3) as Rate from OrgChildRrSdqCompleted join OrgChildRrCodCount using (State, RegId, OrgId) |
OrgChildRrSdqCompletionRateChange | ORG | Change in ORG-level completion rate of SDQ measures for Child age group in Residential setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildRrSdqCompletionRate as New join hist.OrgChildRrSdqCompletionRate as Old using (State, RegId, OrgId) |
OrgChildRrDiagCount | ORG | ORG-level count of all DIAG measures for Child age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRrDiagCountChange | ORG | Change in ORG-level count of all DIAG measures for Child age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRrDiagCount as New join hist.OrgChildRrDiagCount as Old using (State, RegId, OrgId) |
OrgChildRrDiagCountGrowth | ORG | Growth in ORG-level count of all DIAG measures for Child age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRrDiagCount as New join hist.OrgChildRrDiagCount as Old using (State, RegId, OrgId) |
OrgChildRrDiagCompleted | ORG | ORG-level count of completed DIAG measures for Child age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRrDiagCompletedChange | ORG | Change in ORG-level count of completed DIAG measures for Child age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRrDiagCompleted as New join hist.OrgChildRrDiagCompleted as Old using (State, RegId, OrgId) |
OrgChildRrDiagCompletedGrowth | ORG | Growth in ORG-level count of completed DIAG measures for Child age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRrDiagCompleted as New join hist.OrgChildRrDiagCompleted as Old using (State, RegId, OrgId) |
OrgChildRrDiagCompletionRate | ORG | ORG-level completion rate of DIAG measures for Child age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(OrgChildRrDiagCompleted.Total, OrgChildRrCodCount.Total, 3) as Rate from OrgChildRrDiagCompleted join OrgChildRrCodCount using (State, RegId, OrgId) |
OrgChildRrDiagCompletionRateChange | ORG | Change in ORG-level completion rate of DIAG measures for Child age group in Residential setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildRrDiagCompletionRate as New join hist.OrgChildRrDiagCompletionRate as Old using (State, RegId, OrgId) |
OrgChildRrMhlsCount | ORG | ORG-level count of all MHLS measures for Child age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRrMhlsCountChange | ORG | Change in ORG-level count of all MHLS measures for Child age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRrMhlsCount as New join hist.OrgChildRrMhlsCount as Old using (State, RegId, OrgId) |
OrgChildRrMhlsCountGrowth | ORG | Growth in ORG-level count of all MHLS measures for Child age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRrMhlsCount as New join hist.OrgChildRrMhlsCount as Old using (State, RegId, OrgId) |
OrgChildRrMhlsCompleted | ORG | ORG-level count of completed MHLS measures for Child age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRrMhlsCompletedChange | ORG | Change in ORG-level count of completed MHLS measures for Child age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRrMhlsCompleted as New join hist.OrgChildRrMhlsCompleted as Old using (State, RegId, OrgId) |
OrgChildRrMhlsCompletedGrowth | ORG | Growth in ORG-level count of completed MHLS measures for Child age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRrMhlsCompleted as New join hist.OrgChildRrMhlsCompleted as Old using (State, RegId, OrgId) |
OrgChildRrMhlsCompletionRate | ORG | ORG-level completion rate of MHLS measures for Child age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(OrgChildRrMhlsCompleted.Total, OrgChildRrCodCount.Total, 3) as Rate from OrgChildRrMhlsCompleted join OrgChildRrCodCount using (State, RegId, OrgId) |
OrgChildRrMhlsCompletionRateChange | ORG | Change in ORG-level completion rate of MHLS measures for Child age group in Residential setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildRrMhlsCompletionRate as New join hist.OrgChildRrMhlsCompletionRate as Old using (State, RegId, OrgId) |
OrgChildDrCodCount | ORG | ORG-level count of collection occasions for Child age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD where Setting = '2' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildDrHonoscaCount | ORG | ORG-level count of all HONOSCA measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonoscaCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildDrHonoscaCountChange | ORG | Change in ORG-level count of all HONOSCA measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildDrHonoscaCount as New join hist.OrgChildDrHonoscaCount as Old using (State, RegId, OrgId) |
OrgChildDrHonoscaCountGrowth | ORG | Growth in ORG-level count of all HONOSCA measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildDrHonoscaCount as New join hist.OrgChildDrHonoscaCount as Old using (State, RegId, OrgId) |
OrgChildDrHonoscaCompleted | ORG | ORG-level count of completed HONOSCA measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonoscaCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildDrHonoscaCompletedChange | ORG | Change in ORG-level count of completed HONOSCA measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildDrHonoscaCompleted as New join hist.OrgChildDrHonoscaCompleted as Old using (State, RegId, OrgId) |
OrgChildDrHonoscaCompletedGrowth | ORG | Growth in ORG-level count of completed HONOSCA measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildDrHonoscaCompleted as New join hist.OrgChildDrHonoscaCompleted as Old using (State, RegId, OrgId) |
OrgChildDrHonoscaCompletionRate | ORG | ORG-level completion rate of HONOSCA measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgChildDrHonoscaCompleted.Total, OrgChildDrCodCount.Total, 3) as Rate from OrgChildDrHonoscaCompleted join OrgChildDrCodCount using (State, RegId, OrgId) |
OrgChildDrHonoscaCompletionRateChange | ORG | Change in ORG-level completion rate of HONOSCA measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildDrHonoscaCompletionRate as New join hist.OrgChildDrHonoscaCompletionRate as Old using (State, RegId, OrgId) |
OrgChildDrFihsCount | ORG | ORG-level count of all FIHS measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join FihsCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildDrFihsCountChange | ORG | Change in ORG-level count of all FIHS measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildDrFihsCount as New join hist.OrgChildDrFihsCount as Old using (State, RegId, OrgId) |
OrgChildDrFihsCountGrowth | ORG | Growth in ORG-level count of all FIHS measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildDrFihsCount as New join hist.OrgChildDrFihsCount as Old using (State, RegId, OrgId) |
OrgChildDrFihsCompleted | ORG | ORG-level count of completed FIHS measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join FihsCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildDrFihsCompletedChange | ORG | Change in ORG-level count of completed FIHS measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildDrFihsCompleted as New join hist.OrgChildDrFihsCompleted as Old using (State, RegId, OrgId) |
OrgChildDrFihsCompletedGrowth | ORG | Growth in ORG-level count of completed FIHS measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildDrFihsCompleted as New join hist.OrgChildDrFihsCompleted as Old using (State, RegId, OrgId) |
OrgChildDrFihsCompletionRate | ORG | ORG-level completion rate of FIHS measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgChildDrFihsCompleted.Total, OrgChildDrCodCount.Total, 3) as Rate from OrgChildDrFihsCompleted join OrgChildDrCodCount using (State, RegId, OrgId) |
OrgChildDrFihsCompletionRateChange | ORG | Change in ORG-level completion rate of FIHS measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildDrFihsCompletionRate as New join hist.OrgChildDrFihsCompletionRate as Old using (State, RegId, OrgId) |
OrgChildDrSdqCount | ORG | ORG-level count of all SDQ measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join SdqCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildDrSdqCountChange | ORG | Change in ORG-level count of all SDQ measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildDrSdqCount as New join hist.OrgChildDrSdqCount as Old using (State, RegId, OrgId) |
OrgChildDrSdqCountGrowth | ORG | Growth in ORG-level count of all SDQ measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildDrSdqCount as New join hist.OrgChildDrSdqCount as Old using (State, RegId, OrgId) |
OrgChildDrSdqCompleted | ORG | ORG-level count of completed SDQ measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join SdqCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildDrSdqCompletedChange | ORG | Change in ORG-level count of completed SDQ measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildDrSdqCompleted as New join hist.OrgChildDrSdqCompleted as Old using (State, RegId, OrgId) |
OrgChildDrSdqCompletedGrowth | ORG | Growth in ORG-level count of completed SDQ measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildDrSdqCompleted as New join hist.OrgChildDrSdqCompleted as Old using (State, RegId, OrgId) |
OrgChildDrSdqCompletionRate | ORG | ORG-level completion rate of SDQ measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgChildDrSdqCompleted.Total, OrgChildDrCodCount.Total, 3) as Rate from OrgChildDrSdqCompleted join OrgChildDrCodCount using (State, RegId, OrgId) |
OrgChildDrSdqCompletionRateChange | ORG | Change in ORG-level completion rate of SDQ measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildDrSdqCompletionRate as New join hist.OrgChildDrSdqCompletionRate as Old using (State, RegId, OrgId) |
OrgChildDrDiagCount | ORG | ORG-level count of all DIAG measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildDrDiagCountChange | ORG | Change in ORG-level count of all DIAG measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildDrDiagCount as New join hist.OrgChildDrDiagCount as Old using (State, RegId, OrgId) |
OrgChildDrDiagCountGrowth | ORG | Growth in ORG-level count of all DIAG measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildDrDiagCount as New join hist.OrgChildDrDiagCount as Old using (State, RegId, OrgId) |
OrgChildDrDiagCompleted | ORG | ORG-level count of completed DIAG measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildDrDiagCompletedChange | ORG | Change in ORG-level count of completed DIAG measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildDrDiagCompleted as New join hist.OrgChildDrDiagCompleted as Old using (State, RegId, OrgId) |
OrgChildDrDiagCompletedGrowth | ORG | Growth in ORG-level count of completed DIAG measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildDrDiagCompleted as New join hist.OrgChildDrDiagCompleted as Old using (State, RegId, OrgId) |
OrgChildDrDiagCompletionRate | ORG | ORG-level completion rate of DIAG measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgChildDrDiagCompleted.Total, OrgChildDrCodCount.Total, 3) as Rate from OrgChildDrDiagCompleted join OrgChildDrCodCount using (State, RegId, OrgId) |
OrgChildDrDiagCompletionRateChange | ORG | Change in ORG-level completion rate of DIAG measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildDrDiagCompletionRate as New join hist.OrgChildDrDiagCompletionRate as Old using (State, RegId, OrgId) |
OrgChildDrMhlsCount | ORG | ORG-level count of all MHLS measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '2' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildDrMhlsCountChange | ORG | Change in ORG-level count of all MHLS measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildDrMhlsCount as New join hist.OrgChildDrMhlsCount as Old using (State, RegId, OrgId) |
OrgChildDrMhlsCountGrowth | ORG | Growth in ORG-level count of all MHLS measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildDrMhlsCount as New join hist.OrgChildDrMhlsCount as Old using (State, RegId, OrgId) |
OrgChildDrMhlsCompleted | ORG | ORG-level count of completed MHLS measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildDrMhlsCompletedChange | ORG | Change in ORG-level count of completed MHLS measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildDrMhlsCompleted as New join hist.OrgChildDrMhlsCompleted as Old using (State, RegId, OrgId) |
OrgChildDrMhlsCompletedGrowth | ORG | Growth in ORG-level count of completed MHLS measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildDrMhlsCompleted as New join hist.OrgChildDrMhlsCompleted as Old using (State, RegId, OrgId) |
OrgChildDrMhlsCompletionRate | ORG | ORG-level completion rate of MHLS measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgChildDrMhlsCompleted.Total, OrgChildDrCodCount.Total, 3) as Rate from OrgChildDrMhlsCompleted join OrgChildDrCodCount using (State, RegId, OrgId) |
OrgChildDrMhlsCompletionRateChange | ORG | Change in ORG-level completion rate of MHLS measures for Child age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildDrMhlsCompletionRate as New join hist.OrgChildDrMhlsCompletionRate as Old using (State, RegId, OrgId) |
OrgChildAaCodCount | ORG | ORG-level count of collection occasions for Child age group in Ambulatory setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD where Setting = '3' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildAaHonoscaCount | ORG | ORG-level count of all HONOSCA measures for Child age group in Ambulatory setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonoscaCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildAaHonoscaCountChange | ORG | Change in ORG-level count of all HONOSCA measures for Child age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildAaHonoscaCount as New join hist.OrgChildAaHonoscaCount as Old using (State, RegId, OrgId) |
OrgChildAaHonoscaCountGrowth | ORG | Growth in ORG-level count of all HONOSCA measures for Child age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildAaHonoscaCount as New join hist.OrgChildAaHonoscaCount as Old using (State, RegId, OrgId) |
OrgChildAaHonoscaCompleted | ORG | ORG-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonoscaCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildAaHonoscaCompletedChange | ORG | Change in ORG-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildAaHonoscaCompleted as New join hist.OrgChildAaHonoscaCompleted as Old using (State, RegId, OrgId) |
OrgChildAaHonoscaCompletedGrowth | ORG | Growth in ORG-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildAaHonoscaCompleted as New join hist.OrgChildAaHonoscaCompleted as Old using (State, RegId, OrgId) |
OrgChildAaHonoscaCompletionRate | ORG | ORG-level completion rate of HONOSCA measures for Child age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgChildAaHonoscaCompleted.Total, OrgChildAaCodCount.Total, 3) as Rate from OrgChildAaHonoscaCompleted join OrgChildAaCodCount using (State, RegId, OrgId) |
OrgChildAaHonoscaCompletionRateChange | ORG | Change in ORG-level completion rate of HONOSCA measures for Child age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildAaHonoscaCompletionRate as New join hist.OrgChildAaHonoscaCompletionRate as Old using (State, RegId, OrgId) |
OrgChildAaCgasCount | ORG | ORG-level count of all CGAS measures for Child age group in Ambulatory setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join CgasCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildAaCgasCountChange | ORG | Change in ORG-level count of all CGAS measures for Child age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildAaCgasCount as New join hist.OrgChildAaCgasCount as Old using (State, RegId, OrgId) |
OrgChildAaCgasCountGrowth | ORG | Growth in ORG-level count of all CGAS measures for Child age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildAaCgasCount as New join hist.OrgChildAaCgasCount as Old using (State, RegId, OrgId) |
OrgChildAaCgasCompleted | ORG | ORG-level count of completed CGAS measures for Child age group in Ambulatory setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join CgasCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildAaCgasCompletedChange | ORG | Change in ORG-level count of completed CGAS measures for Child age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildAaCgasCompleted as New join hist.OrgChildAaCgasCompleted as Old using (State, RegId, OrgId) |
OrgChildAaCgasCompletedGrowth | ORG | Growth in ORG-level count of completed CGAS measures for Child age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildAaCgasCompleted as New join hist.OrgChildAaCgasCompleted as Old using (State, RegId, OrgId) |
OrgChildAaCgasCompletionRate | ORG | ORG-level completion rate of CGAS measures for Child age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgChildAaCgasCompleted.Total, OrgChildAaCodCount.Total, 3) as Rate from OrgChildAaCgasCompleted join OrgChildAaCodCount using (State, RegId, OrgId) |
OrgChildAaCgasCompletionRateChange | ORG | Change in ORG-level completion rate of CGAS measures for Child age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildAaCgasCompletionRate as New join hist.OrgChildAaCgasCompletionRate as Old using (State, RegId, OrgId) |
OrgChildAaSdqCount | ORG | ORG-level count of all SDQ measures for Child age group in Ambulatory setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join SdqCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildAaSdqCountChange | ORG | Change in ORG-level count of all SDQ measures for Child age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildAaSdqCount as New join hist.OrgChildAaSdqCount as Old using (State, RegId, OrgId) |
OrgChildAaSdqCountGrowth | ORG | Growth in ORG-level count of all SDQ measures for Child age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildAaSdqCount as New join hist.OrgChildAaSdqCount as Old using (State, RegId, OrgId) |
OrgChildAaSdqCompleted | ORG | ORG-level count of completed SDQ measures for Child age group in Ambulatory setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join SdqCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildAaSdqCompletedChange | ORG | Change in ORG-level count of completed SDQ measures for Child age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildAaSdqCompleted as New join hist.OrgChildAaSdqCompleted as Old using (State, RegId, OrgId) |
OrgChildAaSdqCompletedGrowth | ORG | Growth in ORG-level count of completed SDQ measures for Child age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildAaSdqCompleted as New join hist.OrgChildAaSdqCompleted as Old using (State, RegId, OrgId) |
OrgChildAaSdqCompletionRate | ORG | ORG-level completion rate of SDQ measures for Child age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgChildAaSdqCompleted.Total, OrgChildAaCodCount.Total, 3) as Rate from OrgChildAaSdqCompleted join OrgChildAaCodCount using (State, RegId, OrgId) |
OrgChildAaSdqCompletionRateChange | ORG | Change in ORG-level completion rate of SDQ measures for Child age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildAaSdqCompletionRate as New join hist.OrgChildAaSdqCompletionRate as Old using (State, RegId, OrgId) |
OrgChildRaCodCount | ORG | ORG-level count of collection occasions for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD where Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRaHonoscaCount | ORG | ORG-level count of all HONOSCA measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonoscaCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRaHonoscaCountChange | ORG | Change in ORG-level count of all HONOSCA measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRaHonoscaCount as New join hist.OrgChildRaHonoscaCount as Old using (State, RegId, OrgId) |
OrgChildRaHonoscaCountGrowth | ORG | Growth in ORG-level count of all HONOSCA measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRaHonoscaCount as New join hist.OrgChildRaHonoscaCount as Old using (State, RegId, OrgId) |
OrgChildRaHonoscaCompleted | ORG | ORG-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonoscaCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRaHonoscaCompletedChange | ORG | Change in ORG-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRaHonoscaCompleted as New join hist.OrgChildRaHonoscaCompleted as Old using (State, RegId, OrgId) |
OrgChildRaHonoscaCompletedGrowth | ORG | Growth in ORG-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRaHonoscaCompleted as New join hist.OrgChildRaHonoscaCompleted as Old using (State, RegId, OrgId) |
OrgChildRaHonoscaCompletionRate | ORG | ORG-level completion rate of HONOSCA measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(OrgChildRaHonoscaCompleted.Total, OrgChildRaCodCount.Total, 3) as Rate from OrgChildRaHonoscaCompleted join OrgChildRaCodCount using (State, RegId, OrgId) |
OrgChildRaHonoscaCompletionRateChange | ORG | Change in ORG-level completion rate of HONOSCA measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildRaHonoscaCompletionRate as New join hist.OrgChildRaHonoscaCompletionRate as Old using (State, RegId, OrgId) |
OrgChildRaCgasCount | ORG | ORG-level count of all CGAS measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join CgasCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRaCgasCountChange | ORG | Change in ORG-level count of all CGAS measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRaCgasCount as New join hist.OrgChildRaCgasCount as Old using (State, RegId, OrgId) |
OrgChildRaCgasCountGrowth | ORG | Growth in ORG-level count of all CGAS measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRaCgasCount as New join hist.OrgChildRaCgasCount as Old using (State, RegId, OrgId) |
OrgChildRaCgasCompleted | ORG | ORG-level count of completed CGAS measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join CgasCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRaCgasCompletedChange | ORG | Change in ORG-level count of completed CGAS measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRaCgasCompleted as New join hist.OrgChildRaCgasCompleted as Old using (State, RegId, OrgId) |
OrgChildRaCgasCompletedGrowth | ORG | Growth in ORG-level count of completed CGAS measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRaCgasCompleted as New join hist.OrgChildRaCgasCompleted as Old using (State, RegId, OrgId) |
OrgChildRaCgasCompletionRate | ORG | ORG-level completion rate of CGAS measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(OrgChildRaCgasCompleted.Total, OrgChildRaCodCount.Total, 3) as Rate from OrgChildRaCgasCompleted join OrgChildRaCodCount using (State, RegId, OrgId) |
OrgChildRaCgasCompletionRateChange | ORG | Change in ORG-level completion rate of CGAS measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildRaCgasCompletionRate as New join hist.OrgChildRaCgasCompletionRate as Old using (State, RegId, OrgId) |
OrgChildRaFihsCount | ORG | ORG-level count of all FIHS measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join FihsCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRaFihsCountChange | ORG | Change in ORG-level count of all FIHS measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRaFihsCount as New join hist.OrgChildRaFihsCount as Old using (State, RegId, OrgId) |
OrgChildRaFihsCountGrowth | ORG | Growth in ORG-level count of all FIHS measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRaFihsCount as New join hist.OrgChildRaFihsCount as Old using (State, RegId, OrgId) |
OrgChildRaFihsCompleted | ORG | ORG-level count of completed FIHS measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join FihsCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRaFihsCompletedChange | ORG | Change in ORG-level count of completed FIHS measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRaFihsCompleted as New join hist.OrgChildRaFihsCompleted as Old using (State, RegId, OrgId) |
OrgChildRaFihsCompletedGrowth | ORG | Growth in ORG-level count of completed FIHS measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRaFihsCompleted as New join hist.OrgChildRaFihsCompleted as Old using (State, RegId, OrgId) |
OrgChildRaFihsCompletionRate | ORG | ORG-level completion rate of FIHS measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(OrgChildRaFihsCompleted.Total, OrgChildRaCodCount.Total, 3) as Rate from OrgChildRaFihsCompleted join OrgChildRaCodCount using (State, RegId, OrgId) |
OrgChildRaFihsCompletionRateChange | ORG | Change in ORG-level completion rate of FIHS measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildRaFihsCompletionRate as New join hist.OrgChildRaFihsCompletionRate as Old using (State, RegId, OrgId) |
OrgChildRaSdqCount | ORG | ORG-level count of all SDQ measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join SdqCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRaSdqCountChange | ORG | Change in ORG-level count of all SDQ measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRaSdqCount as New join hist.OrgChildRaSdqCount as Old using (State, RegId, OrgId) |
OrgChildRaSdqCountGrowth | ORG | Growth in ORG-level count of all SDQ measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRaSdqCount as New join hist.OrgChildRaSdqCount as Old using (State, RegId, OrgId) |
OrgChildRaSdqCompleted | ORG | ORG-level count of completed SDQ measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join SdqCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRaSdqCompletedChange | ORG | Change in ORG-level count of completed SDQ measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRaSdqCompleted as New join hist.OrgChildRaSdqCompleted as Old using (State, RegId, OrgId) |
OrgChildRaSdqCompletedGrowth | ORG | Growth in ORG-level count of completed SDQ measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRaSdqCompleted as New join hist.OrgChildRaSdqCompleted as Old using (State, RegId, OrgId) |
OrgChildRaSdqCompletionRate | ORG | ORG-level completion rate of SDQ measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(OrgChildRaSdqCompleted.Total, OrgChildRaCodCount.Total, 3) as Rate from OrgChildRaSdqCompleted join OrgChildRaCodCount using (State, RegId, OrgId) |
OrgChildRaSdqCompletionRateChange | ORG | Change in ORG-level completion rate of SDQ measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildRaSdqCompletionRate as New join hist.OrgChildRaSdqCompletionRate as Old using (State, RegId, OrgId) |
OrgChildRaDiagCount | ORG | ORG-level count of all DIAG measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRaDiagCountChange | ORG | Change in ORG-level count of all DIAG measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRaDiagCount as New join hist.OrgChildRaDiagCount as Old using (State, RegId, OrgId) |
OrgChildRaDiagCountGrowth | ORG | Growth in ORG-level count of all DIAG measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRaDiagCount as New join hist.OrgChildRaDiagCount as Old using (State, RegId, OrgId) |
OrgChildRaDiagCompleted | ORG | ORG-level count of completed DIAG measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRaDiagCompletedChange | ORG | Change in ORG-level count of completed DIAG measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRaDiagCompleted as New join hist.OrgChildRaDiagCompleted as Old using (State, RegId, OrgId) |
OrgChildRaDiagCompletedGrowth | ORG | Growth in ORG-level count of completed DIAG measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRaDiagCompleted as New join hist.OrgChildRaDiagCompleted as Old using (State, RegId, OrgId) |
OrgChildRaDiagCompletionRate | ORG | ORG-level completion rate of DIAG measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(OrgChildRaDiagCompleted.Total, OrgChildRaCodCount.Total, 3) as Rate from OrgChildRaDiagCompleted join OrgChildRaCodCount using (State, RegId, OrgId) |
OrgChildRaDiagCompletionRateChange | ORG | Change in ORG-level completion rate of DIAG measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildRaDiagCompletionRate as New join hist.OrgChildRaDiagCompletionRate as Old using (State, RegId, OrgId) |
OrgChildRaMhlsCount | ORG | ORG-level count of all MHLS measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRaMhlsCountChange | ORG | Change in ORG-level count of all MHLS measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRaMhlsCount as New join hist.OrgChildRaMhlsCount as Old using (State, RegId, OrgId) |
OrgChildRaMhlsCountGrowth | ORG | Growth in ORG-level count of all MHLS measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRaMhlsCount as New join hist.OrgChildRaMhlsCount as Old using (State, RegId, OrgId) |
OrgChildRaMhlsCompleted | ORG | ORG-level count of completed MHLS measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildRaMhlsCompletedChange | ORG | Change in ORG-level count of completed MHLS measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildRaMhlsCompleted as New join hist.OrgChildRaMhlsCompleted as Old using (State, RegId, OrgId) |
OrgChildRaMhlsCompletedGrowth | ORG | Growth in ORG-level count of completed MHLS measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildRaMhlsCompleted as New join hist.OrgChildRaMhlsCompleted as Old using (State, RegId, OrgId) |
OrgChildRaMhlsCompletionRate | ORG | ORG-level completion rate of MHLS measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(OrgChildRaMhlsCompleted.Total, OrgChildRaCodCount.Total, 3) as Rate from OrgChildRaMhlsCompleted join OrgChildRaCodCount using (State, RegId, OrgId) |
OrgChildRaMhlsCompletionRateChange | ORG | Change in ORG-level completion rate of MHLS measures for Child age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildRaMhlsCompletionRate as New join hist.OrgChildRaMhlsCompletionRate as Old using (State, RegId, OrgId) |
OrgChildDaCodCount | ORG | ORG-level count of collection occasions for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD where Setting = '3' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildDaHonoscaCount | ORG | ORG-level count of all HONOSCA measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonoscaCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildDaHonoscaCountChange | ORG | Change in ORG-level count of all HONOSCA measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildDaHonoscaCount as New join hist.OrgChildDaHonoscaCount as Old using (State, RegId, OrgId) |
OrgChildDaHonoscaCountGrowth | ORG | Growth in ORG-level count of all HONOSCA measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildDaHonoscaCount as New join hist.OrgChildDaHonoscaCount as Old using (State, RegId, OrgId) |
OrgChildDaHonoscaCompleted | ORG | ORG-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonoscaCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildDaHonoscaCompletedChange | ORG | Change in ORG-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildDaHonoscaCompleted as New join hist.OrgChildDaHonoscaCompleted as Old using (State, RegId, OrgId) |
OrgChildDaHonoscaCompletedGrowth | ORG | Growth in ORG-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildDaHonoscaCompleted as New join hist.OrgChildDaHonoscaCompleted as Old using (State, RegId, OrgId) |
OrgChildDaHonoscaCompletionRate | ORG | ORG-level completion rate of HONOSCA measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgChildDaHonoscaCompleted.Total, OrgChildDaCodCount.Total, 3) as Rate from OrgChildDaHonoscaCompleted join OrgChildDaCodCount using (State, RegId, OrgId) |
OrgChildDaHonoscaCompletionRateChange | ORG | Change in ORG-level completion rate of HONOSCA measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildDaHonoscaCompletionRate as New join hist.OrgChildDaHonoscaCompletionRate as Old using (State, RegId, OrgId) |
OrgChildDaFihsCount | ORG | ORG-level count of all FIHS measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join FihsCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildDaFihsCountChange | ORG | Change in ORG-level count of all FIHS measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildDaFihsCount as New join hist.OrgChildDaFihsCount as Old using (State, RegId, OrgId) |
OrgChildDaFihsCountGrowth | ORG | Growth in ORG-level count of all FIHS measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildDaFihsCount as New join hist.OrgChildDaFihsCount as Old using (State, RegId, OrgId) |
OrgChildDaFihsCompleted | ORG | ORG-level count of completed FIHS measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join FihsCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildDaFihsCompletedChange | ORG | Change in ORG-level count of completed FIHS measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildDaFihsCompleted as New join hist.OrgChildDaFihsCompleted as Old using (State, RegId, OrgId) |
OrgChildDaFihsCompletedGrowth | ORG | Growth in ORG-level count of completed FIHS measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildDaFihsCompleted as New join hist.OrgChildDaFihsCompleted as Old using (State, RegId, OrgId) |
OrgChildDaFihsCompletionRate | ORG | ORG-level completion rate of FIHS measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgChildDaFihsCompleted.Total, OrgChildDaCodCount.Total, 3) as Rate from OrgChildDaFihsCompleted join OrgChildDaCodCount using (State, RegId, OrgId) |
OrgChildDaFihsCompletionRateChange | ORG | Change in ORG-level completion rate of FIHS measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildDaFihsCompletionRate as New join hist.OrgChildDaFihsCompletionRate as Old using (State, RegId, OrgId) |
OrgChildDaSdqCount | ORG | ORG-level count of all SDQ measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join SdqCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildDaSdqCountChange | ORG | Change in ORG-level count of all SDQ measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildDaSdqCount as New join hist.OrgChildDaSdqCount as Old using (State, RegId, OrgId) |
OrgChildDaSdqCountGrowth | ORG | Growth in ORG-level count of all SDQ measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildDaSdqCount as New join hist.OrgChildDaSdqCount as Old using (State, RegId, OrgId) |
OrgChildDaSdqCompleted | ORG | ORG-level count of completed SDQ measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join SdqCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildDaSdqCompletedChange | ORG | Change in ORG-level count of completed SDQ measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildDaSdqCompleted as New join hist.OrgChildDaSdqCompleted as Old using (State, RegId, OrgId) |
OrgChildDaSdqCompletedGrowth | ORG | Growth in ORG-level count of completed SDQ measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildDaSdqCompleted as New join hist.OrgChildDaSdqCompleted as Old using (State, RegId, OrgId) |
OrgChildDaSdqCompletionRate | ORG | ORG-level completion rate of SDQ measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgChildDaSdqCompleted.Total, OrgChildDaCodCount.Total, 3) as Rate from OrgChildDaSdqCompleted join OrgChildDaCodCount using (State, RegId, OrgId) |
OrgChildDaSdqCompletionRateChange | ORG | Change in ORG-level completion rate of SDQ measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildDaSdqCompletionRate as New join hist.OrgChildDaSdqCompletionRate as Old using (State, RegId, OrgId) |
OrgChildDaDiagCount | ORG | ORG-level count of all DIAG measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildDaDiagCountChange | ORG | Change in ORG-level count of all DIAG measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildDaDiagCount as New join hist.OrgChildDaDiagCount as Old using (State, RegId, OrgId) |
OrgChildDaDiagCountGrowth | ORG | Growth in ORG-level count of all DIAG measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildDaDiagCount as New join hist.OrgChildDaDiagCount as Old using (State, RegId, OrgId) |
OrgChildDaDiagCompleted | ORG | ORG-level count of completed DIAG measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildDaDiagCompletedChange | ORG | Change in ORG-level count of completed DIAG measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildDaDiagCompleted as New join hist.OrgChildDaDiagCompleted as Old using (State, RegId, OrgId) |
OrgChildDaDiagCompletedGrowth | ORG | Growth in ORG-level count of completed DIAG measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildDaDiagCompleted as New join hist.OrgChildDaDiagCompleted as Old using (State, RegId, OrgId) |
OrgChildDaDiagCompletionRate | ORG | ORG-level completion rate of DIAG measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgChildDaDiagCompleted.Total, OrgChildDaCodCount.Total, 3) as Rate from OrgChildDaDiagCompleted join OrgChildDaCodCount using (State, RegId, OrgId) |
OrgChildDaDiagCompletionRateChange | ORG | Change in ORG-level completion rate of DIAG measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildDaDiagCompletionRate as New join hist.OrgChildDaDiagCompletionRate as Old using (State, RegId, OrgId) |
OrgChildDaMhlsCount | ORG | ORG-level count of all MHLS measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '3' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildDaMhlsCountChange | ORG | Change in ORG-level count of all MHLS measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildDaMhlsCount as New join hist.OrgChildDaMhlsCount as Old using (State, RegId, OrgId) |
OrgChildDaMhlsCountGrowth | ORG | Growth in ORG-level count of all MHLS measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildDaMhlsCount as New join hist.OrgChildDaMhlsCount as Old using (State, RegId, OrgId) |
OrgChildDaMhlsCompleted | ORG | ORG-level count of completed MHLS measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '1' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgChildDaMhlsCompletedChange | ORG | Change in ORG-level count of completed MHLS measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgChildDaMhlsCompleted as New join hist.OrgChildDaMhlsCompleted as Old using (State, RegId, OrgId) |
OrgChildDaMhlsCompletedGrowth | ORG | Growth in ORG-level count of completed MHLS measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgChildDaMhlsCompleted as New join hist.OrgChildDaMhlsCompleted as Old using (State, RegId, OrgId) |
OrgChildDaMhlsCompletionRate | ORG | ORG-level completion rate of MHLS measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgChildDaMhlsCompleted.Total, OrgChildDaCodCount.Total, 3) as Rate from OrgChildDaMhlsCompleted join OrgChildDaCodCount using (State, RegId, OrgId) |
OrgChildDaMhlsCompletionRateChange | ORG | Change in ORG-level completion rate of MHLS measures for Child age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgChildDaMhlsCompletionRate as New join hist.OrgChildDaMhlsCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultAiCodCount | ORG | ORG-level count of collection occasions for Adult age group in Inpatient setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD where Setting = '1' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultAiHonosCount | ORG | ORG-level count of all HONOS measures for Adult age group in Inpatient setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '1' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultAiHonosCountChange | ORG | Change in ORG-level count of all HONOS measures for Adult age group in Inpatient setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultAiHonosCount as New join hist.OrgAdultAiHonosCount as Old using (State, RegId, OrgId) |
OrgAdultAiHonosCountGrowth | ORG | Growth in ORG-level count of all HONOS measures for Adult age group in Inpatient setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultAiHonosCount as New join hist.OrgAdultAiHonosCount as Old using (State, RegId, OrgId) |
OrgAdultAiHonosCompleted | ORG | ORG-level count of completed HONOS measures for Adult age group in Inpatient setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultAiHonosCompletedChange | ORG | Change in ORG-level count of completed HONOS measures for Adult age group in Inpatient setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultAiHonosCompleted as New join hist.OrgAdultAiHonosCompleted as Old using (State, RegId, OrgId) |
OrgAdultAiHonosCompletedGrowth | ORG | Growth in ORG-level count of completed HONOS measures for Adult age group in Inpatient setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultAiHonosCompleted as New join hist.OrgAdultAiHonosCompleted as Old using (State, RegId, OrgId) |
OrgAdultAiHonosCompletionRate | ORG | ORG-level completion rate of HONOS measures for Adult age group in Inpatient setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgAdultAiHonosCompleted.Total, OrgAdultAiCodCount.Total, 3) as Rate from OrgAdultAiHonosCompleted join OrgAdultAiCodCount using (State, RegId, OrgId) |
OrgAdultAiHonosCompletionRateChange | ORG | Change in ORG-level completion rate of HONOS measures for Adult age group in Inpatient setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultAiHonosCompletionRate as New join hist.OrgAdultAiHonosCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultAiPocCount | ORG | ORG-level count of all POC measures for Adult age group in Inpatient setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '1' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultAiPocCountChange | ORG | Change in ORG-level count of all POC measures for Adult age group in Inpatient setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultAiPocCount as New join hist.OrgAdultAiPocCount as Old using (State, RegId, OrgId) |
OrgAdultAiPocCountGrowth | ORG | Growth in ORG-level count of all POC measures for Adult age group in Inpatient setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultAiPocCount as New join hist.OrgAdultAiPocCount as Old using (State, RegId, OrgId) |
OrgAdultAiPocCompleted | ORG | ORG-level count of completed POC measures for Adult age group in Inpatient setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultAiPocCompletedChange | ORG | Change in ORG-level count of completed POC measures for Adult age group in Inpatient setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultAiPocCompleted as New join hist.OrgAdultAiPocCompleted as Old using (State, RegId, OrgId) |
OrgAdultAiPocCompletedGrowth | ORG | Growth in ORG-level count of completed POC measures for Adult age group in Inpatient setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultAiPocCompleted as New join hist.OrgAdultAiPocCompleted as Old using (State, RegId, OrgId) |
OrgAdultAiPocCompletionRate | ORG | ORG-level completion rate of POC measures for Adult age group in Inpatient setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgAdultAiPocCompleted.Total, OrgAdultAiCodCount.Total, 3) as Rate from OrgAdultAiPocCompleted join OrgAdultAiCodCount using (State, RegId, OrgId) |
OrgAdultAiPocCompletionRateChange | ORG | Change in ORG-level completion rate of POC measures for Adult age group in Inpatient setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultAiPocCompletionRate as New join hist.OrgAdultAiPocCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultRiCodCount | ORG | ORG-level count of collection occasions for Adult age group in Inpatient setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD where Setting = '1' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRiHonosCount | ORG | ORG-level count of all HONOS measures for Adult age group in Inpatient setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '1' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRiHonosCountChange | ORG | Change in ORG-level count of all HONOS measures for Adult age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRiHonosCount as New join hist.OrgAdultRiHonosCount as Old using (State, RegId, OrgId) |
OrgAdultRiHonosCountGrowth | ORG | Growth in ORG-level count of all HONOS measures for Adult age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRiHonosCount as New join hist.OrgAdultRiHonosCount as Old using (State, RegId, OrgId) |
OrgAdultRiHonosCompleted | ORG | ORG-level count of completed HONOS measures for Adult age group in Inpatient setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRiHonosCompletedChange | ORG | Change in ORG-level count of completed HONOS measures for Adult age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRiHonosCompleted as New join hist.OrgAdultRiHonosCompleted as Old using (State, RegId, OrgId) |
OrgAdultRiHonosCompletedGrowth | ORG | Growth in ORG-level count of completed HONOS measures for Adult age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRiHonosCompleted as New join hist.OrgAdultRiHonosCompleted as Old using (State, RegId, OrgId) |
OrgAdultRiHonosCompletionRate | ORG | ORG-level completion rate of HONOS measures for Adult age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(OrgAdultRiHonosCompleted.Total, OrgAdultRiCodCount.Total, 3) as Rate from OrgAdultRiHonosCompleted join OrgAdultRiCodCount using (State, RegId, OrgId) |
OrgAdultRiHonosCompletionRateChange | ORG | Change in ORG-level completion rate of HONOS measures for Adult age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultRiHonosCompletionRate as New join hist.OrgAdultRiHonosCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultRiDiagCount | ORG | ORG-level count of all DIAG measures for Adult age group in Inpatient setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '1' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRiDiagCountChange | ORG | Change in ORG-level count of all DIAG measures for Adult age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRiDiagCount as New join hist.OrgAdultRiDiagCount as Old using (State, RegId, OrgId) |
OrgAdultRiDiagCountGrowth | ORG | Growth in ORG-level count of all DIAG measures for Adult age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRiDiagCount as New join hist.OrgAdultRiDiagCount as Old using (State, RegId, OrgId) |
OrgAdultRiDiagCompleted | ORG | ORG-level count of completed DIAG measures for Adult age group in Inpatient setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRiDiagCompletedChange | ORG | Change in ORG-level count of completed DIAG measures for Adult age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRiDiagCompleted as New join hist.OrgAdultRiDiagCompleted as Old using (State, RegId, OrgId) |
OrgAdultRiDiagCompletedGrowth | ORG | Growth in ORG-level count of completed DIAG measures for Adult age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRiDiagCompleted as New join hist.OrgAdultRiDiagCompleted as Old using (State, RegId, OrgId) |
OrgAdultRiDiagCompletionRate | ORG | ORG-level completion rate of DIAG measures for Adult age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(OrgAdultRiDiagCompleted.Total, OrgAdultRiCodCount.Total, 3) as Rate from OrgAdultRiDiagCompleted join OrgAdultRiCodCount using (State, RegId, OrgId) |
OrgAdultRiDiagCompletionRateChange | ORG | Change in ORG-level completion rate of DIAG measures for Adult age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultRiDiagCompletionRate as New join hist.OrgAdultRiDiagCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultRiPocCount | ORG | ORG-level count of all POC measures for Adult age group in Inpatient setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '1' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRiPocCountChange | ORG | Change in ORG-level count of all POC measures for Adult age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRiPocCount as New join hist.OrgAdultRiPocCount as Old using (State, RegId, OrgId) |
OrgAdultRiPocCountGrowth | ORG | Growth in ORG-level count of all POC measures for Adult age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRiPocCount as New join hist.OrgAdultRiPocCount as Old using (State, RegId, OrgId) |
OrgAdultRiPocCompleted | ORG | ORG-level count of completed POC measures for Adult age group in Inpatient setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRiPocCompletedChange | ORG | Change in ORG-level count of completed POC measures for Adult age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRiPocCompleted as New join hist.OrgAdultRiPocCompleted as Old using (State, RegId, OrgId) |
OrgAdultRiPocCompletedGrowth | ORG | Growth in ORG-level count of completed POC measures for Adult age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRiPocCompleted as New join hist.OrgAdultRiPocCompleted as Old using (State, RegId, OrgId) |
OrgAdultRiPocCompletionRate | ORG | ORG-level completion rate of POC measures for Adult age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(OrgAdultRiPocCompleted.Total, OrgAdultRiCodCount.Total, 3) as Rate from OrgAdultRiPocCompleted join OrgAdultRiCodCount using (State, RegId, OrgId) |
OrgAdultRiPocCompletionRateChange | ORG | Change in ORG-level completion rate of POC measures for Adult age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultRiPocCompletionRate as New join hist.OrgAdultRiPocCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultRiMhlsCount | ORG | ORG-level count of all MHLS measures for Adult age group in Inpatient setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '1' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRiMhlsCountChange | ORG | Change in ORG-level count of all MHLS measures for Adult age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRiMhlsCount as New join hist.OrgAdultRiMhlsCount as Old using (State, RegId, OrgId) |
OrgAdultRiMhlsCountGrowth | ORG | Growth in ORG-level count of all MHLS measures for Adult age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRiMhlsCount as New join hist.OrgAdultRiMhlsCount as Old using (State, RegId, OrgId) |
OrgAdultRiMhlsCompleted | ORG | ORG-level count of completed MHLS measures for Adult age group in Inpatient setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRiMhlsCompletedChange | ORG | Change in ORG-level count of completed MHLS measures for Adult age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRiMhlsCompleted as New join hist.OrgAdultRiMhlsCompleted as Old using (State, RegId, OrgId) |
OrgAdultRiMhlsCompletedGrowth | ORG | Growth in ORG-level count of completed MHLS measures for Adult age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRiMhlsCompleted as New join hist.OrgAdultRiMhlsCompleted as Old using (State, RegId, OrgId) |
OrgAdultRiMhlsCompletionRate | ORG | ORG-level completion rate of MHLS measures for Adult age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(OrgAdultRiMhlsCompleted.Total, OrgAdultRiCodCount.Total, 3) as Rate from OrgAdultRiMhlsCompleted join OrgAdultRiCodCount using (State, RegId, OrgId) |
OrgAdultRiMhlsCompletionRateChange | ORG | Change in ORG-level completion rate of MHLS measures for Adult age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultRiMhlsCompletionRate as New join hist.OrgAdultRiMhlsCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultDiCodCount | ORG | ORG-level count of collection occasions for Adult age group in Inpatient setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD where Setting = '1' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDiHonosCount | ORG | ORG-level count of all HONOS measures for Adult age group in Inpatient setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '1' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDiHonosCountChange | ORG | Change in ORG-level count of all HONOS measures for Adult age group in Inpatient setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDiHonosCount as New join hist.OrgAdultDiHonosCount as Old using (State, RegId, OrgId) |
OrgAdultDiHonosCountGrowth | ORG | Growth in ORG-level count of all HONOS measures for Adult age group in Inpatient setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDiHonosCount as New join hist.OrgAdultDiHonosCount as Old using (State, RegId, OrgId) |
OrgAdultDiHonosCompleted | ORG | ORG-level count of completed HONOS measures for Adult age group in Inpatient setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDiHonosCompletedChange | ORG | Change in ORG-level count of completed HONOS measures for Adult age group in Inpatient setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDiHonosCompleted as New join hist.OrgAdultDiHonosCompleted as Old using (State, RegId, OrgId) |
OrgAdultDiHonosCompletedGrowth | ORG | Growth in ORG-level count of completed HONOS measures for Adult age group in Inpatient setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDiHonosCompleted as New join hist.OrgAdultDiHonosCompleted as Old using (State, RegId, OrgId) |
OrgAdultDiHonosCompletionRate | ORG | ORG-level completion rate of HONOS measures for Adult age group in Inpatient setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgAdultDiHonosCompleted.Total, OrgAdultDiCodCount.Total, 3) as Rate from OrgAdultDiHonosCompleted join OrgAdultDiCodCount using (State, RegId, OrgId) |
OrgAdultDiHonosCompletionRateChange | ORG | Change in ORG-level completion rate of HONOS measures for Adult age group in Inpatient setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultDiHonosCompletionRate as New join hist.OrgAdultDiHonosCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultDiDiagCount | ORG | ORG-level count of all DIAG measures for Adult age group in Inpatient setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '1' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDiDiagCountChange | ORG | Change in ORG-level count of all DIAG measures for Adult age group in Inpatient setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDiDiagCount as New join hist.OrgAdultDiDiagCount as Old using (State, RegId, OrgId) |
OrgAdultDiDiagCountGrowth | ORG | Growth in ORG-level count of all DIAG measures for Adult age group in Inpatient setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDiDiagCount as New join hist.OrgAdultDiDiagCount as Old using (State, RegId, OrgId) |
OrgAdultDiDiagCompleted | ORG | ORG-level count of completed DIAG measures for Adult age group in Inpatient setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDiDiagCompletedChange | ORG | Change in ORG-level count of completed DIAG measures for Adult age group in Inpatient setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDiDiagCompleted as New join hist.OrgAdultDiDiagCompleted as Old using (State, RegId, OrgId) |
OrgAdultDiDiagCompletedGrowth | ORG | Growth in ORG-level count of completed DIAG measures for Adult age group in Inpatient setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDiDiagCompleted as New join hist.OrgAdultDiDiagCompleted as Old using (State, RegId, OrgId) |
OrgAdultDiDiagCompletionRate | ORG | ORG-level completion rate of DIAG measures for Adult age group in Inpatient setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgAdultDiDiagCompleted.Total, OrgAdultDiCodCount.Total, 3) as Rate from OrgAdultDiDiagCompleted join OrgAdultDiCodCount using (State, RegId, OrgId) |
OrgAdultDiDiagCompletionRateChange | ORG | Change in ORG-level completion rate of DIAG measures for Adult age group in Inpatient setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultDiDiagCompletionRate as New join hist.OrgAdultDiDiagCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultDiMhlsCount | ORG | ORG-level count of all MHLS measures for Adult age group in Inpatient setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '1' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDiMhlsCountChange | ORG | Change in ORG-level count of all MHLS measures for Adult age group in Inpatient setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDiMhlsCount as New join hist.OrgAdultDiMhlsCount as Old using (State, RegId, OrgId) |
OrgAdultDiMhlsCountGrowth | ORG | Growth in ORG-level count of all MHLS measures for Adult age group in Inpatient setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDiMhlsCount as New join hist.OrgAdultDiMhlsCount as Old using (State, RegId, OrgId) |
OrgAdultDiMhlsCompleted | ORG | ORG-level count of completed MHLS measures for Adult age group in Inpatient setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDiMhlsCompletedChange | ORG | Change in ORG-level count of completed MHLS measures for Adult age group in Inpatient setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDiMhlsCompleted as New join hist.OrgAdultDiMhlsCompleted as Old using (State, RegId, OrgId) |
OrgAdultDiMhlsCompletedGrowth | ORG | Growth in ORG-level count of completed MHLS measures for Adult age group in Inpatient setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDiMhlsCompleted as New join hist.OrgAdultDiMhlsCompleted as Old using (State, RegId, OrgId) |
OrgAdultDiMhlsCompletionRate | ORG | ORG-level completion rate of MHLS measures for Adult age group in Inpatient setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgAdultDiMhlsCompleted.Total, OrgAdultDiCodCount.Total, 3) as Rate from OrgAdultDiMhlsCompleted join OrgAdultDiCodCount using (State, RegId, OrgId) |
OrgAdultDiMhlsCompletionRateChange | ORG | Change in ORG-level completion rate of MHLS measures for Adult age group in Inpatient setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultDiMhlsCompletionRate as New join hist.OrgAdultDiMhlsCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultArCodCount | ORG | ORG-level count of collection occasions for Adult age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD where Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultArHonosCount | ORG | ORG-level count of all HONOS measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultArHonosCountChange | ORG | Change in ORG-level count of all HONOS measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultArHonosCount as New join hist.OrgAdultArHonosCount as Old using (State, RegId, OrgId) |
OrgAdultArHonosCountGrowth | ORG | Growth in ORG-level count of all HONOS measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultArHonosCount as New join hist.OrgAdultArHonosCount as Old using (State, RegId, OrgId) |
OrgAdultArHonosCompleted | ORG | ORG-level count of completed HONOS measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultArHonosCompletedChange | ORG | Change in ORG-level count of completed HONOS measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultArHonosCompleted as New join hist.OrgAdultArHonosCompleted as Old using (State, RegId, OrgId) |
OrgAdultArHonosCompletedGrowth | ORG | Growth in ORG-level count of completed HONOS measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultArHonosCompleted as New join hist.OrgAdultArHonosCompleted as Old using (State, RegId, OrgId) |
OrgAdultArHonosCompletionRate | ORG | ORG-level completion rate of HONOS measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgAdultArHonosCompleted.Total, OrgAdultArCodCount.Total, 3) as Rate from OrgAdultArHonosCompleted join OrgAdultArCodCount using (State, RegId, OrgId) |
OrgAdultArHonosCompletionRateChange | ORG | Change in ORG-level completion rate of HONOS measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultArHonosCompletionRate as New join hist.OrgAdultArHonosCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultArLsp16Count | ORG | ORG-level count of all LSP16 measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Lsp16Completion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultArLsp16CountChange | ORG | Change in ORG-level count of all LSP16 measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultArLsp16Count as New join hist.OrgAdultArLsp16Count as Old using (State, RegId, OrgId) |
OrgAdultArLsp16CountGrowth | ORG | Growth in ORG-level count of all LSP16 measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultArLsp16Count as New join hist.OrgAdultArLsp16Count as Old using (State, RegId, OrgId) |
OrgAdultArLsp16Completed | ORG | ORG-level count of completed LSP16 measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Lsp16Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultArLsp16CompletedChange | ORG | Change in ORG-level count of completed LSP16 measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultArLsp16Completed as New join hist.OrgAdultArLsp16Completed as Old using (State, RegId, OrgId) |
OrgAdultArLsp16CompletedGrowth | ORG | Growth in ORG-level count of completed LSP16 measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultArLsp16Completed as New join hist.OrgAdultArLsp16Completed as Old using (State, RegId, OrgId) |
OrgAdultArLsp16CompletionRate | ORG | ORG-level completion rate of LSP16 measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgAdultArLsp16Completed.Total, OrgAdultArCodCount.Total, 3) as Rate from OrgAdultArLsp16Completed join OrgAdultArCodCount using (State, RegId, OrgId) |
OrgAdultArLsp16CompletionRateChange | ORG | Change in ORG-level completion rate of LSP16 measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultArLsp16CompletionRate as New join hist.OrgAdultArLsp16CompletionRate as Old using (State, RegId, OrgId) |
OrgAdultArBasis32Count | ORG | ORG-level count of all BASIS32 measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultArBasis32CountChange | ORG | Change in ORG-level count of all BASIS32 measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultArBasis32Count as New join hist.OrgAdultArBasis32Count as Old using (State, RegId, OrgId) |
OrgAdultArBasis32CountGrowth | ORG | Growth in ORG-level count of all BASIS32 measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultArBasis32Count as New join hist.OrgAdultArBasis32Count as Old using (State, RegId, OrgId) |
OrgAdultArBasis32Completed | ORG | ORG-level count of completed BASIS32 measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultArBasis32CompletedChange | ORG | Change in ORG-level count of completed BASIS32 measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultArBasis32Completed as New join hist.OrgAdultArBasis32Completed as Old using (State, RegId, OrgId) |
OrgAdultArBasis32CompletedGrowth | ORG | Growth in ORG-level count of completed BASIS32 measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultArBasis32Completed as New join hist.OrgAdultArBasis32Completed as Old using (State, RegId, OrgId) |
OrgAdultArBasis32CompletionRate | ORG | ORG-level completion rate of BASIS32 measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgAdultArBasis32Completed.Total, OrgAdultArCodCount.Total, 3) as Rate from OrgAdultArBasis32Completed join OrgAdultArCodCount using (State, RegId, OrgId) |
OrgAdultArBasis32CompletionRateChange | ORG | Change in ORG-level completion rate of BASIS32 measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultArBasis32CompletionRate as New join hist.OrgAdultArBasis32CompletionRate as Old using (State, RegId, OrgId) |
OrgAdultArK10l3dCount | ORG | ORG-level count of all K10L3D measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultArK10l3dCountChange | ORG | Change in ORG-level count of all K10L3D measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultArK10l3dCount as New join hist.OrgAdultArK10l3dCount as Old using (State, RegId, OrgId) |
OrgAdultArK10l3dCountGrowth | ORG | Growth in ORG-level count of all K10L3D measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultArK10l3dCount as New join hist.OrgAdultArK10l3dCount as Old using (State, RegId, OrgId) |
OrgAdultArK10l3dCompleted | ORG | ORG-level count of completed K10L3D measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultArK10l3dCompletedChange | ORG | Change in ORG-level count of completed K10L3D measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultArK10l3dCompleted as New join hist.OrgAdultArK10l3dCompleted as Old using (State, RegId, OrgId) |
OrgAdultArK10l3dCompletedGrowth | ORG | Growth in ORG-level count of completed K10L3D measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultArK10l3dCompleted as New join hist.OrgAdultArK10l3dCompleted as Old using (State, RegId, OrgId) |
OrgAdultArK10l3dCompletionRate | ORG | ORG-level completion rate of K10L3D measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgAdultArK10l3dCompleted.Total, OrgAdultArCodCount.Total, 3) as Rate from OrgAdultArK10l3dCompleted join OrgAdultArCodCount using (State, RegId, OrgId) |
OrgAdultArK10l3dCompletionRateChange | ORG | Change in ORG-level completion rate of K10L3D measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultArK10l3dCompletionRate as New join hist.OrgAdultArK10l3dCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultArK10lmCount | ORG | ORG-level count of all K10LM measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultArK10lmCountChange | ORG | Change in ORG-level count of all K10LM measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultArK10lmCount as New join hist.OrgAdultArK10lmCount as Old using (State, RegId, OrgId) |
OrgAdultArK10lmCountGrowth | ORG | Growth in ORG-level count of all K10LM measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultArK10lmCount as New join hist.OrgAdultArK10lmCount as Old using (State, RegId, OrgId) |
OrgAdultArK10lmCompleted | ORG | ORG-level count of completed K10LM measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultArK10lmCompletedChange | ORG | Change in ORG-level count of completed K10LM measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultArK10lmCompleted as New join hist.OrgAdultArK10lmCompleted as Old using (State, RegId, OrgId) |
OrgAdultArK10lmCompletedGrowth | ORG | Growth in ORG-level count of completed K10LM measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultArK10lmCompleted as New join hist.OrgAdultArK10lmCompleted as Old using (State, RegId, OrgId) |
OrgAdultArK10lmCompletionRate | ORG | ORG-level completion rate of K10LM measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgAdultArK10lmCompleted.Total, OrgAdultArCodCount.Total, 3) as Rate from OrgAdultArK10lmCompleted join OrgAdultArCodCount using (State, RegId, OrgId) |
OrgAdultArK10lmCompletionRateChange | ORG | Change in ORG-level completion rate of K10LM measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultArK10lmCompletionRate as New join hist.OrgAdultArK10lmCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultArMhi38Count | ORG | ORG-level count of all MHI38 measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultArMhi38CountChange | ORG | Change in ORG-level count of all MHI38 measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultArMhi38Count as New join hist.OrgAdultArMhi38Count as Old using (State, RegId, OrgId) |
OrgAdultArMhi38CountGrowth | ORG | Growth in ORG-level count of all MHI38 measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultArMhi38Count as New join hist.OrgAdultArMhi38Count as Old using (State, RegId, OrgId) |
OrgAdultArMhi38Completed | ORG | ORG-level count of completed MHI38 measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultArMhi38CompletedChange | ORG | Change in ORG-level count of completed MHI38 measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultArMhi38Completed as New join hist.OrgAdultArMhi38Completed as Old using (State, RegId, OrgId) |
OrgAdultArMhi38CompletedGrowth | ORG | Growth in ORG-level count of completed MHI38 measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultArMhi38Completed as New join hist.OrgAdultArMhi38Completed as Old using (State, RegId, OrgId) |
OrgAdultArMhi38CompletionRate | ORG | ORG-level completion rate of MHI38 measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgAdultArMhi38Completed.Total, OrgAdultArCodCount.Total, 3) as Rate from OrgAdultArMhi38Completed join OrgAdultArCodCount using (State, RegId, OrgId) |
OrgAdultArMhi38CompletionRateChange | ORG | Change in ORG-level completion rate of MHI38 measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultArMhi38CompletionRate as New join hist.OrgAdultArMhi38CompletionRate as Old using (State, RegId, OrgId) |
OrgAdultArPocCount | ORG | ORG-level count of all POC measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultArPocCountChange | ORG | Change in ORG-level count of all POC measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultArPocCount as New join hist.OrgAdultArPocCount as Old using (State, RegId, OrgId) |
OrgAdultArPocCountGrowth | ORG | Growth in ORG-level count of all POC measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultArPocCount as New join hist.OrgAdultArPocCount as Old using (State, RegId, OrgId) |
OrgAdultArPocCompleted | ORG | ORG-level count of completed POC measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultArPocCompletedChange | ORG | Change in ORG-level count of completed POC measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultArPocCompleted as New join hist.OrgAdultArPocCompleted as Old using (State, RegId, OrgId) |
OrgAdultArPocCompletedGrowth | ORG | Growth in ORG-level count of completed POC measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultArPocCompleted as New join hist.OrgAdultArPocCompleted as Old using (State, RegId, OrgId) |
OrgAdultArPocCompletionRate | ORG | ORG-level completion rate of POC measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgAdultArPocCompleted.Total, OrgAdultArCodCount.Total, 3) as Rate from OrgAdultArPocCompleted join OrgAdultArCodCount using (State, RegId, OrgId) |
OrgAdultArPocCompletionRateChange | ORG | Change in ORG-level completion rate of POC measures for Adult age group in Residential setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultArPocCompletionRate as New join hist.OrgAdultArPocCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultRrCodCount | ORG | ORG-level count of collection occasions for Adult age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD where Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRrHonosCount | ORG | ORG-level count of all HONOS measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRrHonosCountChange | ORG | Change in ORG-level count of all HONOS measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRrHonosCount as New join hist.OrgAdultRrHonosCount as Old using (State, RegId, OrgId) |
OrgAdultRrHonosCountGrowth | ORG | Growth in ORG-level count of all HONOS measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRrHonosCount as New join hist.OrgAdultRrHonosCount as Old using (State, RegId, OrgId) |
OrgAdultRrHonosCompleted | ORG | ORG-level count of completed HONOS measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRrHonosCompletedChange | ORG | Change in ORG-level count of completed HONOS measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRrHonosCompleted as New join hist.OrgAdultRrHonosCompleted as Old using (State, RegId, OrgId) |
OrgAdultRrHonosCompletedGrowth | ORG | Growth in ORG-level count of completed HONOS measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRrHonosCompleted as New join hist.OrgAdultRrHonosCompleted as Old using (State, RegId, OrgId) |
OrgAdultRrHonosCompletionRate | ORG | ORG-level completion rate of HONOS measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(OrgAdultRrHonosCompleted.Total, OrgAdultRrCodCount.Total, 3) as Rate from OrgAdultRrHonosCompleted join OrgAdultRrCodCount using (State, RegId, OrgId) |
OrgAdultRrHonosCompletionRateChange | ORG | Change in ORG-level completion rate of HONOS measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultRrHonosCompletionRate as New join hist.OrgAdultRrHonosCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultRrLsp16Count | ORG | ORG-level count of all LSP16 measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Lsp16Completion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRrLsp16CountChange | ORG | Change in ORG-level count of all LSP16 measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRrLsp16Count as New join hist.OrgAdultRrLsp16Count as Old using (State, RegId, OrgId) |
OrgAdultRrLsp16CountGrowth | ORG | Growth in ORG-level count of all LSP16 measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRrLsp16Count as New join hist.OrgAdultRrLsp16Count as Old using (State, RegId, OrgId) |
OrgAdultRrLsp16Completed | ORG | ORG-level count of completed LSP16 measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Lsp16Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRrLsp16CompletedChange | ORG | Change in ORG-level count of completed LSP16 measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRrLsp16Completed as New join hist.OrgAdultRrLsp16Completed as Old using (State, RegId, OrgId) |
OrgAdultRrLsp16CompletedGrowth | ORG | Growth in ORG-level count of completed LSP16 measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRrLsp16Completed as New join hist.OrgAdultRrLsp16Completed as Old using (State, RegId, OrgId) |
OrgAdultRrLsp16CompletionRate | ORG | ORG-level completion rate of LSP16 measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(OrgAdultRrLsp16Completed.Total, OrgAdultRrCodCount.Total, 3) as Rate from OrgAdultRrLsp16Completed join OrgAdultRrCodCount using (State, RegId, OrgId) |
OrgAdultRrLsp16CompletionRateChange | ORG | Change in ORG-level completion rate of LSP16 measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultRrLsp16CompletionRate as New join hist.OrgAdultRrLsp16CompletionRate as Old using (State, RegId, OrgId) |
OrgAdultRrBasis32Count | ORG | ORG-level count of all BASIS32 measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRrBasis32CountChange | ORG | Change in ORG-level count of all BASIS32 measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRrBasis32Count as New join hist.OrgAdultRrBasis32Count as Old using (State, RegId, OrgId) |
OrgAdultRrBasis32CountGrowth | ORG | Growth in ORG-level count of all BASIS32 measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRrBasis32Count as New join hist.OrgAdultRrBasis32Count as Old using (State, RegId, OrgId) |
OrgAdultRrBasis32Completed | ORG | ORG-level count of completed BASIS32 measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRrBasis32CompletedChange | ORG | Change in ORG-level count of completed BASIS32 measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRrBasis32Completed as New join hist.OrgAdultRrBasis32Completed as Old using (State, RegId, OrgId) |
OrgAdultRrBasis32CompletedGrowth | ORG | Growth in ORG-level count of completed BASIS32 measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRrBasis32Completed as New join hist.OrgAdultRrBasis32Completed as Old using (State, RegId, OrgId) |
OrgAdultRrBasis32CompletionRate | ORG | ORG-level completion rate of BASIS32 measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(OrgAdultRrBasis32Completed.Total, OrgAdultRrCodCount.Total, 3) as Rate from OrgAdultRrBasis32Completed join OrgAdultRrCodCount using (State, RegId, OrgId) |
OrgAdultRrBasis32CompletionRateChange | ORG | Change in ORG-level completion rate of BASIS32 measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultRrBasis32CompletionRate as New join hist.OrgAdultRrBasis32CompletionRate as Old using (State, RegId, OrgId) |
OrgAdultRrK10l3dCount | ORG | ORG-level count of all K10L3D measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRrK10l3dCountChange | ORG | Change in ORG-level count of all K10L3D measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRrK10l3dCount as New join hist.OrgAdultRrK10l3dCount as Old using (State, RegId, OrgId) |
OrgAdultRrK10l3dCountGrowth | ORG | Growth in ORG-level count of all K10L3D measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRrK10l3dCount as New join hist.OrgAdultRrK10l3dCount as Old using (State, RegId, OrgId) |
OrgAdultRrK10l3dCompleted | ORG | ORG-level count of completed K10L3D measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRrK10l3dCompletedChange | ORG | Change in ORG-level count of completed K10L3D measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRrK10l3dCompleted as New join hist.OrgAdultRrK10l3dCompleted as Old using (State, RegId, OrgId) |
OrgAdultRrK10l3dCompletedGrowth | ORG | Growth in ORG-level count of completed K10L3D measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRrK10l3dCompleted as New join hist.OrgAdultRrK10l3dCompleted as Old using (State, RegId, OrgId) |
OrgAdultRrK10l3dCompletionRate | ORG | ORG-level completion rate of K10L3D measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(OrgAdultRrK10l3dCompleted.Total, OrgAdultRrCodCount.Total, 3) as Rate from OrgAdultRrK10l3dCompleted join OrgAdultRrCodCount using (State, RegId, OrgId) |
OrgAdultRrK10l3dCompletionRateChange | ORG | Change in ORG-level completion rate of K10L3D measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultRrK10l3dCompletionRate as New join hist.OrgAdultRrK10l3dCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultRrK10lmCount | ORG | ORG-level count of all K10LM measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRrK10lmCountChange | ORG | Change in ORG-level count of all K10LM measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRrK10lmCount as New join hist.OrgAdultRrK10lmCount as Old using (State, RegId, OrgId) |
OrgAdultRrK10lmCountGrowth | ORG | Growth in ORG-level count of all K10LM measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRrK10lmCount as New join hist.OrgAdultRrK10lmCount as Old using (State, RegId, OrgId) |
OrgAdultRrK10lmCompleted | ORG | ORG-level count of completed K10LM measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRrK10lmCompletedChange | ORG | Change in ORG-level count of completed K10LM measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRrK10lmCompleted as New join hist.OrgAdultRrK10lmCompleted as Old using (State, RegId, OrgId) |
OrgAdultRrK10lmCompletedGrowth | ORG | Growth in ORG-level count of completed K10LM measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRrK10lmCompleted as New join hist.OrgAdultRrK10lmCompleted as Old using (State, RegId, OrgId) |
OrgAdultRrK10lmCompletionRate | ORG | ORG-level completion rate of K10LM measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(OrgAdultRrK10lmCompleted.Total, OrgAdultRrCodCount.Total, 3) as Rate from OrgAdultRrK10lmCompleted join OrgAdultRrCodCount using (State, RegId, OrgId) |
OrgAdultRrK10lmCompletionRateChange | ORG | Change in ORG-level completion rate of K10LM measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultRrK10lmCompletionRate as New join hist.OrgAdultRrK10lmCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultRrMhi38Count | ORG | ORG-level count of all MHI38 measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRrMhi38CountChange | ORG | Change in ORG-level count of all MHI38 measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRrMhi38Count as New join hist.OrgAdultRrMhi38Count as Old using (State, RegId, OrgId) |
OrgAdultRrMhi38CountGrowth | ORG | Growth in ORG-level count of all MHI38 measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRrMhi38Count as New join hist.OrgAdultRrMhi38Count as Old using (State, RegId, OrgId) |
OrgAdultRrMhi38Completed | ORG | ORG-level count of completed MHI38 measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRrMhi38CompletedChange | ORG | Change in ORG-level count of completed MHI38 measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRrMhi38Completed as New join hist.OrgAdultRrMhi38Completed as Old using (State, RegId, OrgId) |
OrgAdultRrMhi38CompletedGrowth | ORG | Growth in ORG-level count of completed MHI38 measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRrMhi38Completed as New join hist.OrgAdultRrMhi38Completed as Old using (State, RegId, OrgId) |
OrgAdultRrMhi38CompletionRate | ORG | ORG-level completion rate of MHI38 measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(OrgAdultRrMhi38Completed.Total, OrgAdultRrCodCount.Total, 3) as Rate from OrgAdultRrMhi38Completed join OrgAdultRrCodCount using (State, RegId, OrgId) |
OrgAdultRrMhi38CompletionRateChange | ORG | Change in ORG-level completion rate of MHI38 measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultRrMhi38CompletionRate as New join hist.OrgAdultRrMhi38CompletionRate as Old using (State, RegId, OrgId) |
OrgAdultRrDiagCount | ORG | ORG-level count of all DIAG measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRrDiagCountChange | ORG | Change in ORG-level count of all DIAG measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRrDiagCount as New join hist.OrgAdultRrDiagCount as Old using (State, RegId, OrgId) |
OrgAdultRrDiagCountGrowth | ORG | Growth in ORG-level count of all DIAG measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRrDiagCount as New join hist.OrgAdultRrDiagCount as Old using (State, RegId, OrgId) |
OrgAdultRrDiagCompleted | ORG | ORG-level count of completed DIAG measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRrDiagCompletedChange | ORG | Change in ORG-level count of completed DIAG measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRrDiagCompleted as New join hist.OrgAdultRrDiagCompleted as Old using (State, RegId, OrgId) |
OrgAdultRrDiagCompletedGrowth | ORG | Growth in ORG-level count of completed DIAG measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRrDiagCompleted as New join hist.OrgAdultRrDiagCompleted as Old using (State, RegId, OrgId) |
OrgAdultRrDiagCompletionRate | ORG | ORG-level completion rate of DIAG measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(OrgAdultRrDiagCompleted.Total, OrgAdultRrCodCount.Total, 3) as Rate from OrgAdultRrDiagCompleted join OrgAdultRrCodCount using (State, RegId, OrgId) |
OrgAdultRrDiagCompletionRateChange | ORG | Change in ORG-level completion rate of DIAG measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultRrDiagCompletionRate as New join hist.OrgAdultRrDiagCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultRrPocCount | ORG | ORG-level count of all POC measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRrPocCountChange | ORG | Change in ORG-level count of all POC measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRrPocCount as New join hist.OrgAdultRrPocCount as Old using (State, RegId, OrgId) |
OrgAdultRrPocCountGrowth | ORG | Growth in ORG-level count of all POC measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRrPocCount as New join hist.OrgAdultRrPocCount as Old using (State, RegId, OrgId) |
OrgAdultRrPocCompleted | ORG | ORG-level count of completed POC measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRrPocCompletedChange | ORG | Change in ORG-level count of completed POC measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRrPocCompleted as New join hist.OrgAdultRrPocCompleted as Old using (State, RegId, OrgId) |
OrgAdultRrPocCompletedGrowth | ORG | Growth in ORG-level count of completed POC measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRrPocCompleted as New join hist.OrgAdultRrPocCompleted as Old using (State, RegId, OrgId) |
OrgAdultRrPocCompletionRate | ORG | ORG-level completion rate of POC measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(OrgAdultRrPocCompleted.Total, OrgAdultRrCodCount.Total, 3) as Rate from OrgAdultRrPocCompleted join OrgAdultRrCodCount using (State, RegId, OrgId) |
OrgAdultRrPocCompletionRateChange | ORG | Change in ORG-level completion rate of POC measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultRrPocCompletionRate as New join hist.OrgAdultRrPocCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultRrMhlsCount | ORG | ORG-level count of all MHLS measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRrMhlsCountChange | ORG | Change in ORG-level count of all MHLS measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRrMhlsCount as New join hist.OrgAdultRrMhlsCount as Old using (State, RegId, OrgId) |
OrgAdultRrMhlsCountGrowth | ORG | Growth in ORG-level count of all MHLS measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRrMhlsCount as New join hist.OrgAdultRrMhlsCount as Old using (State, RegId, OrgId) |
OrgAdultRrMhlsCompleted | ORG | ORG-level count of completed MHLS measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRrMhlsCompletedChange | ORG | Change in ORG-level count of completed MHLS measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRrMhlsCompleted as New join hist.OrgAdultRrMhlsCompleted as Old using (State, RegId, OrgId) |
OrgAdultRrMhlsCompletedGrowth | ORG | Growth in ORG-level count of completed MHLS measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRrMhlsCompleted as New join hist.OrgAdultRrMhlsCompleted as Old using (State, RegId, OrgId) |
OrgAdultRrMhlsCompletionRate | ORG | ORG-level completion rate of MHLS measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(OrgAdultRrMhlsCompleted.Total, OrgAdultRrCodCount.Total, 3) as Rate from OrgAdultRrMhlsCompleted join OrgAdultRrCodCount using (State, RegId, OrgId) |
OrgAdultRrMhlsCompletionRateChange | ORG | Change in ORG-level completion rate of MHLS measures for Adult age group in Residential setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultRrMhlsCompletionRate as New join hist.OrgAdultRrMhlsCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultDrCodCount | ORG | ORG-level count of collection occasions for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD where Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDrHonosCount | ORG | ORG-level count of all HONOS measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDrHonosCountChange | ORG | Change in ORG-level count of all HONOS measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDrHonosCount as New join hist.OrgAdultDrHonosCount as Old using (State, RegId, OrgId) |
OrgAdultDrHonosCountGrowth | ORG | Growth in ORG-level count of all HONOS measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDrHonosCount as New join hist.OrgAdultDrHonosCount as Old using (State, RegId, OrgId) |
OrgAdultDrHonosCompleted | ORG | ORG-level count of completed HONOS measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDrHonosCompletedChange | ORG | Change in ORG-level count of completed HONOS measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDrHonosCompleted as New join hist.OrgAdultDrHonosCompleted as Old using (State, RegId, OrgId) |
OrgAdultDrHonosCompletedGrowth | ORG | Growth in ORG-level count of completed HONOS measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDrHonosCompleted as New join hist.OrgAdultDrHonosCompleted as Old using (State, RegId, OrgId) |
OrgAdultDrHonosCompletionRate | ORG | ORG-level completion rate of HONOS measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgAdultDrHonosCompleted.Total, OrgAdultDrCodCount.Total, 3) as Rate from OrgAdultDrHonosCompleted join OrgAdultDrCodCount using (State, RegId, OrgId) |
OrgAdultDrHonosCompletionRateChange | ORG | Change in ORG-level completion rate of HONOS measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultDrHonosCompletionRate as New join hist.OrgAdultDrHonosCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultDrLsp16Count | ORG | ORG-level count of all LSP16 measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Lsp16Completion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDrLsp16CountChange | ORG | Change in ORG-level count of all LSP16 measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDrLsp16Count as New join hist.OrgAdultDrLsp16Count as Old using (State, RegId, OrgId) |
OrgAdultDrLsp16CountGrowth | ORG | Growth in ORG-level count of all LSP16 measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDrLsp16Count as New join hist.OrgAdultDrLsp16Count as Old using (State, RegId, OrgId) |
OrgAdultDrLsp16Completed | ORG | ORG-level count of completed LSP16 measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Lsp16Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDrLsp16CompletedChange | ORG | Change in ORG-level count of completed LSP16 measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDrLsp16Completed as New join hist.OrgAdultDrLsp16Completed as Old using (State, RegId, OrgId) |
OrgAdultDrLsp16CompletedGrowth | ORG | Growth in ORG-level count of completed LSP16 measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDrLsp16Completed as New join hist.OrgAdultDrLsp16Completed as Old using (State, RegId, OrgId) |
OrgAdultDrLsp16CompletionRate | ORG | ORG-level completion rate of LSP16 measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgAdultDrLsp16Completed.Total, OrgAdultDrCodCount.Total, 3) as Rate from OrgAdultDrLsp16Completed join OrgAdultDrCodCount using (State, RegId, OrgId) |
OrgAdultDrLsp16CompletionRateChange | ORG | Change in ORG-level completion rate of LSP16 measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultDrLsp16CompletionRate as New join hist.OrgAdultDrLsp16CompletionRate as Old using (State, RegId, OrgId) |
OrgAdultDrBasis32Count | ORG | ORG-level count of all BASIS32 measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDrBasis32CountChange | ORG | Change in ORG-level count of all BASIS32 measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDrBasis32Count as New join hist.OrgAdultDrBasis32Count as Old using (State, RegId, OrgId) |
OrgAdultDrBasis32CountGrowth | ORG | Growth in ORG-level count of all BASIS32 measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDrBasis32Count as New join hist.OrgAdultDrBasis32Count as Old using (State, RegId, OrgId) |
OrgAdultDrBasis32Completed | ORG | ORG-level count of completed BASIS32 measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDrBasis32CompletedChange | ORG | Change in ORG-level count of completed BASIS32 measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDrBasis32Completed as New join hist.OrgAdultDrBasis32Completed as Old using (State, RegId, OrgId) |
OrgAdultDrBasis32CompletedGrowth | ORG | Growth in ORG-level count of completed BASIS32 measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDrBasis32Completed as New join hist.OrgAdultDrBasis32Completed as Old using (State, RegId, OrgId) |
OrgAdultDrBasis32CompletionRate | ORG | ORG-level completion rate of BASIS32 measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgAdultDrBasis32Completed.Total, OrgAdultDrCodCount.Total, 3) as Rate from OrgAdultDrBasis32Completed join OrgAdultDrCodCount using (State, RegId, OrgId) |
OrgAdultDrBasis32CompletionRateChange | ORG | Change in ORG-level completion rate of BASIS32 measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultDrBasis32CompletionRate as New join hist.OrgAdultDrBasis32CompletionRate as Old using (State, RegId, OrgId) |
OrgAdultDrK10l3dCount | ORG | ORG-level count of all K10L3D measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDrK10l3dCountChange | ORG | Change in ORG-level count of all K10L3D measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDrK10l3dCount as New join hist.OrgAdultDrK10l3dCount as Old using (State, RegId, OrgId) |
OrgAdultDrK10l3dCountGrowth | ORG | Growth in ORG-level count of all K10L3D measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDrK10l3dCount as New join hist.OrgAdultDrK10l3dCount as Old using (State, RegId, OrgId) |
OrgAdultDrK10l3dCompleted | ORG | ORG-level count of completed K10L3D measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDrK10l3dCompletedChange | ORG | Change in ORG-level count of completed K10L3D measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDrK10l3dCompleted as New join hist.OrgAdultDrK10l3dCompleted as Old using (State, RegId, OrgId) |
OrgAdultDrK10l3dCompletedGrowth | ORG | Growth in ORG-level count of completed K10L3D measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDrK10l3dCompleted as New join hist.OrgAdultDrK10l3dCompleted as Old using (State, RegId, OrgId) |
OrgAdultDrK10l3dCompletionRate | ORG | ORG-level completion rate of K10L3D measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgAdultDrK10l3dCompleted.Total, OrgAdultDrCodCount.Total, 3) as Rate from OrgAdultDrK10l3dCompleted join OrgAdultDrCodCount using (State, RegId, OrgId) |
OrgAdultDrK10l3dCompletionRateChange | ORG | Change in ORG-level completion rate of K10L3D measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultDrK10l3dCompletionRate as New join hist.OrgAdultDrK10l3dCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultDrK10lmCount | ORG | ORG-level count of all K10LM measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDrK10lmCountChange | ORG | Change in ORG-level count of all K10LM measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDrK10lmCount as New join hist.OrgAdultDrK10lmCount as Old using (State, RegId, OrgId) |
OrgAdultDrK10lmCountGrowth | ORG | Growth in ORG-level count of all K10LM measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDrK10lmCount as New join hist.OrgAdultDrK10lmCount as Old using (State, RegId, OrgId) |
OrgAdultDrK10lmCompleted | ORG | ORG-level count of completed K10LM measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDrK10lmCompletedChange | ORG | Change in ORG-level count of completed K10LM measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDrK10lmCompleted as New join hist.OrgAdultDrK10lmCompleted as Old using (State, RegId, OrgId) |
OrgAdultDrK10lmCompletedGrowth | ORG | Growth in ORG-level count of completed K10LM measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDrK10lmCompleted as New join hist.OrgAdultDrK10lmCompleted as Old using (State, RegId, OrgId) |
OrgAdultDrK10lmCompletionRate | ORG | ORG-level completion rate of K10LM measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgAdultDrK10lmCompleted.Total, OrgAdultDrCodCount.Total, 3) as Rate from OrgAdultDrK10lmCompleted join OrgAdultDrCodCount using (State, RegId, OrgId) |
OrgAdultDrK10lmCompletionRateChange | ORG | Change in ORG-level completion rate of K10LM measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultDrK10lmCompletionRate as New join hist.OrgAdultDrK10lmCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultDrMhi38Count | ORG | ORG-level count of all MHI38 measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDrMhi38CountChange | ORG | Change in ORG-level count of all MHI38 measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDrMhi38Count as New join hist.OrgAdultDrMhi38Count as Old using (State, RegId, OrgId) |
OrgAdultDrMhi38CountGrowth | ORG | Growth in ORG-level count of all MHI38 measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDrMhi38Count as New join hist.OrgAdultDrMhi38Count as Old using (State, RegId, OrgId) |
OrgAdultDrMhi38Completed | ORG | ORG-level count of completed MHI38 measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDrMhi38CompletedChange | ORG | Change in ORG-level count of completed MHI38 measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDrMhi38Completed as New join hist.OrgAdultDrMhi38Completed as Old using (State, RegId, OrgId) |
OrgAdultDrMhi38CompletedGrowth | ORG | Growth in ORG-level count of completed MHI38 measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDrMhi38Completed as New join hist.OrgAdultDrMhi38Completed as Old using (State, RegId, OrgId) |
OrgAdultDrMhi38CompletionRate | ORG | ORG-level completion rate of MHI38 measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgAdultDrMhi38Completed.Total, OrgAdultDrCodCount.Total, 3) as Rate from OrgAdultDrMhi38Completed join OrgAdultDrCodCount using (State, RegId, OrgId) |
OrgAdultDrMhi38CompletionRateChange | ORG | Change in ORG-level completion rate of MHI38 measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultDrMhi38CompletionRate as New join hist.OrgAdultDrMhi38CompletionRate as Old using (State, RegId, OrgId) |
OrgAdultDrDiagCount | ORG | ORG-level count of all DIAG measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDrDiagCountChange | ORG | Change in ORG-level count of all DIAG measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDrDiagCount as New join hist.OrgAdultDrDiagCount as Old using (State, RegId, OrgId) |
OrgAdultDrDiagCountGrowth | ORG | Growth in ORG-level count of all DIAG measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDrDiagCount as New join hist.OrgAdultDrDiagCount as Old using (State, RegId, OrgId) |
OrgAdultDrDiagCompleted | ORG | ORG-level count of completed DIAG measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDrDiagCompletedChange | ORG | Change in ORG-level count of completed DIAG measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDrDiagCompleted as New join hist.OrgAdultDrDiagCompleted as Old using (State, RegId, OrgId) |
OrgAdultDrDiagCompletedGrowth | ORG | Growth in ORG-level count of completed DIAG measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDrDiagCompleted as New join hist.OrgAdultDrDiagCompleted as Old using (State, RegId, OrgId) |
OrgAdultDrDiagCompletionRate | ORG | ORG-level completion rate of DIAG measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgAdultDrDiagCompleted.Total, OrgAdultDrCodCount.Total, 3) as Rate from OrgAdultDrDiagCompleted join OrgAdultDrCodCount using (State, RegId, OrgId) |
OrgAdultDrDiagCompletionRateChange | ORG | Change in ORG-level completion rate of DIAG measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultDrDiagCompletionRate as New join hist.OrgAdultDrDiagCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultDrMhlsCount | ORG | ORG-level count of all MHLS measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDrMhlsCountChange | ORG | Change in ORG-level count of all MHLS measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDrMhlsCount as New join hist.OrgAdultDrMhlsCount as Old using (State, RegId, OrgId) |
OrgAdultDrMhlsCountGrowth | ORG | Growth in ORG-level count of all MHLS measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDrMhlsCount as New join hist.OrgAdultDrMhlsCount as Old using (State, RegId, OrgId) |
OrgAdultDrMhlsCompleted | ORG | ORG-level count of completed MHLS measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDrMhlsCompletedChange | ORG | Change in ORG-level count of completed MHLS measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDrMhlsCompleted as New join hist.OrgAdultDrMhlsCompleted as Old using (State, RegId, OrgId) |
OrgAdultDrMhlsCompletedGrowth | ORG | Growth in ORG-level count of completed MHLS measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDrMhlsCompleted as New join hist.OrgAdultDrMhlsCompleted as Old using (State, RegId, OrgId) |
OrgAdultDrMhlsCompletionRate | ORG | ORG-level completion rate of MHLS measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgAdultDrMhlsCompleted.Total, OrgAdultDrCodCount.Total, 3) as Rate from OrgAdultDrMhlsCompleted join OrgAdultDrCodCount using (State, RegId, OrgId) |
OrgAdultDrMhlsCompletionRateChange | ORG | Change in ORG-level completion rate of MHLS measures for Adult age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultDrMhlsCompletionRate as New join hist.OrgAdultDrMhlsCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultAaCodCount | ORG | ORG-level count of collection occasions for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD where Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultAaHonosCount | ORG | ORG-level count of all HONOS measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultAaHonosCountChange | ORG | Change in ORG-level count of all HONOS measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultAaHonosCount as New join hist.OrgAdultAaHonosCount as Old using (State, RegId, OrgId) |
OrgAdultAaHonosCountGrowth | ORG | Growth in ORG-level count of all HONOS measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultAaHonosCount as New join hist.OrgAdultAaHonosCount as Old using (State, RegId, OrgId) |
OrgAdultAaHonosCompleted | ORG | ORG-level count of completed HONOS measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultAaHonosCompletedChange | ORG | Change in ORG-level count of completed HONOS measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultAaHonosCompleted as New join hist.OrgAdultAaHonosCompleted as Old using (State, RegId, OrgId) |
OrgAdultAaHonosCompletedGrowth | ORG | Growth in ORG-level count of completed HONOS measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultAaHonosCompleted as New join hist.OrgAdultAaHonosCompleted as Old using (State, RegId, OrgId) |
OrgAdultAaHonosCompletionRate | ORG | ORG-level completion rate of HONOS measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgAdultAaHonosCompleted.Total, OrgAdultAaCodCount.Total, 3) as Rate from OrgAdultAaHonosCompleted join OrgAdultAaCodCount using (State, RegId, OrgId) |
OrgAdultAaHonosCompletionRateChange | ORG | Change in ORG-level completion rate of HONOS measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultAaHonosCompletionRate as New join hist.OrgAdultAaHonosCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultAaBasis32Count | ORG | ORG-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultAaBasis32CountChange | ORG | Change in ORG-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultAaBasis32Count as New join hist.OrgAdultAaBasis32Count as Old using (State, RegId, OrgId) |
OrgAdultAaBasis32CountGrowth | ORG | Growth in ORG-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultAaBasis32Count as New join hist.OrgAdultAaBasis32Count as Old using (State, RegId, OrgId) |
OrgAdultAaBasis32Completed | ORG | ORG-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultAaBasis32CompletedChange | ORG | Change in ORG-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultAaBasis32Completed as New join hist.OrgAdultAaBasis32Completed as Old using (State, RegId, OrgId) |
OrgAdultAaBasis32CompletedGrowth | ORG | Growth in ORG-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultAaBasis32Completed as New join hist.OrgAdultAaBasis32Completed as Old using (State, RegId, OrgId) |
OrgAdultAaBasis32CompletionRate | ORG | ORG-level completion rate of BASIS32 measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgAdultAaBasis32Completed.Total, OrgAdultAaCodCount.Total, 3) as Rate from OrgAdultAaBasis32Completed join OrgAdultAaCodCount using (State, RegId, OrgId) |
OrgAdultAaBasis32CompletionRateChange | ORG | Change in ORG-level completion rate of BASIS32 measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultAaBasis32CompletionRate as New join hist.OrgAdultAaBasis32CompletionRate as Old using (State, RegId, OrgId) |
OrgAdultAaK10l3dCount | ORG | ORG-level count of all K10L3D measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultAaK10l3dCountChange | ORG | Change in ORG-level count of all K10L3D measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultAaK10l3dCount as New join hist.OrgAdultAaK10l3dCount as Old using (State, RegId, OrgId) |
OrgAdultAaK10l3dCountGrowth | ORG | Growth in ORG-level count of all K10L3D measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultAaK10l3dCount as New join hist.OrgAdultAaK10l3dCount as Old using (State, RegId, OrgId) |
OrgAdultAaK10l3dCompleted | ORG | ORG-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultAaK10l3dCompletedChange | ORG | Change in ORG-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultAaK10l3dCompleted as New join hist.OrgAdultAaK10l3dCompleted as Old using (State, RegId, OrgId) |
OrgAdultAaK10l3dCompletedGrowth | ORG | Growth in ORG-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultAaK10l3dCompleted as New join hist.OrgAdultAaK10l3dCompleted as Old using (State, RegId, OrgId) |
OrgAdultAaK10l3dCompletionRate | ORG | ORG-level completion rate of K10L3D measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgAdultAaK10l3dCompleted.Total, OrgAdultAaCodCount.Total, 3) as Rate from OrgAdultAaK10l3dCompleted join OrgAdultAaCodCount using (State, RegId, OrgId) |
OrgAdultAaK10l3dCompletionRateChange | ORG | Change in ORG-level completion rate of K10L3D measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultAaK10l3dCompletionRate as New join hist.OrgAdultAaK10l3dCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultAaK10lmCount | ORG | ORG-level count of all K10LM measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultAaK10lmCountChange | ORG | Change in ORG-level count of all K10LM measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultAaK10lmCount as New join hist.OrgAdultAaK10lmCount as Old using (State, RegId, OrgId) |
OrgAdultAaK10lmCountGrowth | ORG | Growth in ORG-level count of all K10LM measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultAaK10lmCount as New join hist.OrgAdultAaK10lmCount as Old using (State, RegId, OrgId) |
OrgAdultAaK10lmCompleted | ORG | ORG-level count of completed K10LM measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultAaK10lmCompletedChange | ORG | Change in ORG-level count of completed K10LM measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultAaK10lmCompleted as New join hist.OrgAdultAaK10lmCompleted as Old using (State, RegId, OrgId) |
OrgAdultAaK10lmCompletedGrowth | ORG | Growth in ORG-level count of completed K10LM measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultAaK10lmCompleted as New join hist.OrgAdultAaK10lmCompleted as Old using (State, RegId, OrgId) |
OrgAdultAaK10lmCompletionRate | ORG | ORG-level completion rate of K10LM measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgAdultAaK10lmCompleted.Total, OrgAdultAaCodCount.Total, 3) as Rate from OrgAdultAaK10lmCompleted join OrgAdultAaCodCount using (State, RegId, OrgId) |
OrgAdultAaK10lmCompletionRateChange | ORG | Change in ORG-level completion rate of K10LM measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultAaK10lmCompletionRate as New join hist.OrgAdultAaK10lmCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultAaMhi38Count | ORG | ORG-level count of all MHI38 measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultAaMhi38CountChange | ORG | Change in ORG-level count of all MHI38 measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultAaMhi38Count as New join hist.OrgAdultAaMhi38Count as Old using (State, RegId, OrgId) |
OrgAdultAaMhi38CountGrowth | ORG | Growth in ORG-level count of all MHI38 measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultAaMhi38Count as New join hist.OrgAdultAaMhi38Count as Old using (State, RegId, OrgId) |
OrgAdultAaMhi38Completed | ORG | ORG-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultAaMhi38CompletedChange | ORG | Change in ORG-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultAaMhi38Completed as New join hist.OrgAdultAaMhi38Completed as Old using (State, RegId, OrgId) |
OrgAdultAaMhi38CompletedGrowth | ORG | Growth in ORG-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultAaMhi38Completed as New join hist.OrgAdultAaMhi38Completed as Old using (State, RegId, OrgId) |
OrgAdultAaMhi38CompletionRate | ORG | ORG-level completion rate of MHI38 measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgAdultAaMhi38Completed.Total, OrgAdultAaCodCount.Total, 3) as Rate from OrgAdultAaMhi38Completed join OrgAdultAaCodCount using (State, RegId, OrgId) |
OrgAdultAaMhi38CompletionRateChange | ORG | Change in ORG-level completion rate of MHI38 measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultAaMhi38CompletionRate as New join hist.OrgAdultAaMhi38CompletionRate as Old using (State, RegId, OrgId) |
OrgAdultAaPocCount | ORG | ORG-level count of all POC measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultAaPocCountChange | ORG | Change in ORG-level count of all POC measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultAaPocCount as New join hist.OrgAdultAaPocCount as Old using (State, RegId, OrgId) |
OrgAdultAaPocCountGrowth | ORG | Growth in ORG-level count of all POC measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultAaPocCount as New join hist.OrgAdultAaPocCount as Old using (State, RegId, OrgId) |
OrgAdultAaPocCompleted | ORG | ORG-level count of completed POC measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultAaPocCompletedChange | ORG | Change in ORG-level count of completed POC measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultAaPocCompleted as New join hist.OrgAdultAaPocCompleted as Old using (State, RegId, OrgId) |
OrgAdultAaPocCompletedGrowth | ORG | Growth in ORG-level count of completed POC measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultAaPocCompleted as New join hist.OrgAdultAaPocCompleted as Old using (State, RegId, OrgId) |
OrgAdultAaPocCompletionRate | ORG | ORG-level completion rate of POC measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgAdultAaPocCompleted.Total, OrgAdultAaCodCount.Total, 3) as Rate from OrgAdultAaPocCompleted join OrgAdultAaCodCount using (State, RegId, OrgId) |
OrgAdultAaPocCompletionRateChange | ORG | Change in ORG-level completion rate of POC measures for Adult age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultAaPocCompletionRate as New join hist.OrgAdultAaPocCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultRaCodCount | ORG | ORG-level count of collection occasions for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD where Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRaHonosCount | ORG | ORG-level count of all HONOS measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRaHonosCountChange | ORG | Change in ORG-level count of all HONOS measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRaHonosCount as New join hist.OrgAdultRaHonosCount as Old using (State, RegId, OrgId) |
OrgAdultRaHonosCountGrowth | ORG | Growth in ORG-level count of all HONOS measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRaHonosCount as New join hist.OrgAdultRaHonosCount as Old using (State, RegId, OrgId) |
OrgAdultRaHonosCompleted | ORG | ORG-level count of completed HONOS measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRaHonosCompletedChange | ORG | Change in ORG-level count of completed HONOS measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRaHonosCompleted as New join hist.OrgAdultRaHonosCompleted as Old using (State, RegId, OrgId) |
OrgAdultRaHonosCompletedGrowth | ORG | Growth in ORG-level count of completed HONOS measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRaHonosCompleted as New join hist.OrgAdultRaHonosCompleted as Old using (State, RegId, OrgId) |
OrgAdultRaHonosCompletionRate | ORG | ORG-level completion rate of HONOS measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(OrgAdultRaHonosCompleted.Total, OrgAdultRaCodCount.Total, 3) as Rate from OrgAdultRaHonosCompleted join OrgAdultRaCodCount using (State, RegId, OrgId) |
OrgAdultRaHonosCompletionRateChange | ORG | Change in ORG-level completion rate of HONOS measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultRaHonosCompletionRate as New join hist.OrgAdultRaHonosCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultRaLsp16Count | ORG | ORG-level count of all LSP16 measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Lsp16Completion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRaLsp16CountChange | ORG | Change in ORG-level count of all LSP16 measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRaLsp16Count as New join hist.OrgAdultRaLsp16Count as Old using (State, RegId, OrgId) |
OrgAdultRaLsp16CountGrowth | ORG | Growth in ORG-level count of all LSP16 measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRaLsp16Count as New join hist.OrgAdultRaLsp16Count as Old using (State, RegId, OrgId) |
OrgAdultRaLsp16Completed | ORG | ORG-level count of completed LSP16 measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Lsp16Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRaLsp16CompletedChange | ORG | Change in ORG-level count of completed LSP16 measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRaLsp16Completed as New join hist.OrgAdultRaLsp16Completed as Old using (State, RegId, OrgId) |
OrgAdultRaLsp16CompletedGrowth | ORG | Growth in ORG-level count of completed LSP16 measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRaLsp16Completed as New join hist.OrgAdultRaLsp16Completed as Old using (State, RegId, OrgId) |
OrgAdultRaLsp16CompletionRate | ORG | ORG-level completion rate of LSP16 measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(OrgAdultRaLsp16Completed.Total, OrgAdultRaCodCount.Total, 3) as Rate from OrgAdultRaLsp16Completed join OrgAdultRaCodCount using (State, RegId, OrgId) |
OrgAdultRaLsp16CompletionRateChange | ORG | Change in ORG-level completion rate of LSP16 measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultRaLsp16CompletionRate as New join hist.OrgAdultRaLsp16CompletionRate as Old using (State, RegId, OrgId) |
OrgAdultRaBasis32Count | ORG | ORG-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRaBasis32CountChange | ORG | Change in ORG-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRaBasis32Count as New join hist.OrgAdultRaBasis32Count as Old using (State, RegId, OrgId) |
OrgAdultRaBasis32CountGrowth | ORG | Growth in ORG-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRaBasis32Count as New join hist.OrgAdultRaBasis32Count as Old using (State, RegId, OrgId) |
OrgAdultRaBasis32Completed | ORG | ORG-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRaBasis32CompletedChange | ORG | Change in ORG-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRaBasis32Completed as New join hist.OrgAdultRaBasis32Completed as Old using (State, RegId, OrgId) |
OrgAdultRaBasis32CompletedGrowth | ORG | Growth in ORG-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRaBasis32Completed as New join hist.OrgAdultRaBasis32Completed as Old using (State, RegId, OrgId) |
OrgAdultRaBasis32CompletionRate | ORG | ORG-level completion rate of BASIS32 measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(OrgAdultRaBasis32Completed.Total, OrgAdultRaCodCount.Total, 3) as Rate from OrgAdultRaBasis32Completed join OrgAdultRaCodCount using (State, RegId, OrgId) |
OrgAdultRaBasis32CompletionRateChange | ORG | Change in ORG-level completion rate of BASIS32 measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultRaBasis32CompletionRate as New join hist.OrgAdultRaBasis32CompletionRate as Old using (State, RegId, OrgId) |
OrgAdultRaK10l3dCount | ORG | ORG-level count of all K10L3D measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRaK10l3dCountChange | ORG | Change in ORG-level count of all K10L3D measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRaK10l3dCount as New join hist.OrgAdultRaK10l3dCount as Old using (State, RegId, OrgId) |
OrgAdultRaK10l3dCountGrowth | ORG | Growth in ORG-level count of all K10L3D measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRaK10l3dCount as New join hist.OrgAdultRaK10l3dCount as Old using (State, RegId, OrgId) |
OrgAdultRaK10l3dCompleted | ORG | ORG-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRaK10l3dCompletedChange | ORG | Change in ORG-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRaK10l3dCompleted as New join hist.OrgAdultRaK10l3dCompleted as Old using (State, RegId, OrgId) |
OrgAdultRaK10l3dCompletedGrowth | ORG | Growth in ORG-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRaK10l3dCompleted as New join hist.OrgAdultRaK10l3dCompleted as Old using (State, RegId, OrgId) |
OrgAdultRaK10l3dCompletionRate | ORG | ORG-level completion rate of K10L3D measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(OrgAdultRaK10l3dCompleted.Total, OrgAdultRaCodCount.Total, 3) as Rate from OrgAdultRaK10l3dCompleted join OrgAdultRaCodCount using (State, RegId, OrgId) |
OrgAdultRaK10l3dCompletionRateChange | ORG | Change in ORG-level completion rate of K10L3D measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultRaK10l3dCompletionRate as New join hist.OrgAdultRaK10l3dCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultRaK10lmCount | ORG | ORG-level count of all K10LM measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRaK10lmCountChange | ORG | Change in ORG-level count of all K10LM measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRaK10lmCount as New join hist.OrgAdultRaK10lmCount as Old using (State, RegId, OrgId) |
OrgAdultRaK10lmCountGrowth | ORG | Growth in ORG-level count of all K10LM measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRaK10lmCount as New join hist.OrgAdultRaK10lmCount as Old using (State, RegId, OrgId) |
OrgAdultRaK10lmCompleted | ORG | ORG-level count of completed K10LM measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRaK10lmCompletedChange | ORG | Change in ORG-level count of completed K10LM measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRaK10lmCompleted as New join hist.OrgAdultRaK10lmCompleted as Old using (State, RegId, OrgId) |
OrgAdultRaK10lmCompletedGrowth | ORG | Growth in ORG-level count of completed K10LM measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRaK10lmCompleted as New join hist.OrgAdultRaK10lmCompleted as Old using (State, RegId, OrgId) |
OrgAdultRaK10lmCompletionRate | ORG | ORG-level completion rate of K10LM measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(OrgAdultRaK10lmCompleted.Total, OrgAdultRaCodCount.Total, 3) as Rate from OrgAdultRaK10lmCompleted join OrgAdultRaCodCount using (State, RegId, OrgId) |
OrgAdultRaK10lmCompletionRateChange | ORG | Change in ORG-level completion rate of K10LM measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultRaK10lmCompletionRate as New join hist.OrgAdultRaK10lmCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultRaMhi38Count | ORG | ORG-level count of all MHI38 measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRaMhi38CountChange | ORG | Change in ORG-level count of all MHI38 measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRaMhi38Count as New join hist.OrgAdultRaMhi38Count as Old using (State, RegId, OrgId) |
OrgAdultRaMhi38CountGrowth | ORG | Growth in ORG-level count of all MHI38 measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRaMhi38Count as New join hist.OrgAdultRaMhi38Count as Old using (State, RegId, OrgId) |
OrgAdultRaMhi38Completed | ORG | ORG-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRaMhi38CompletedChange | ORG | Change in ORG-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRaMhi38Completed as New join hist.OrgAdultRaMhi38Completed as Old using (State, RegId, OrgId) |
OrgAdultRaMhi38CompletedGrowth | ORG | Growth in ORG-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRaMhi38Completed as New join hist.OrgAdultRaMhi38Completed as Old using (State, RegId, OrgId) |
OrgAdultRaMhi38CompletionRate | ORG | ORG-level completion rate of MHI38 measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(OrgAdultRaMhi38Completed.Total, OrgAdultRaCodCount.Total, 3) as Rate from OrgAdultRaMhi38Completed join OrgAdultRaCodCount using (State, RegId, OrgId) |
OrgAdultRaMhi38CompletionRateChange | ORG | Change in ORG-level completion rate of MHI38 measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultRaMhi38CompletionRate as New join hist.OrgAdultRaMhi38CompletionRate as Old using (State, RegId, OrgId) |
OrgAdultRaDiagCount | ORG | ORG-level count of all DIAG measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRaDiagCountChange | ORG | Change in ORG-level count of all DIAG measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRaDiagCount as New join hist.OrgAdultRaDiagCount as Old using (State, RegId, OrgId) |
OrgAdultRaDiagCountGrowth | ORG | Growth in ORG-level count of all DIAG measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRaDiagCount as New join hist.OrgAdultRaDiagCount as Old using (State, RegId, OrgId) |
OrgAdultRaDiagCompleted | ORG | ORG-level count of completed DIAG measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRaDiagCompletedChange | ORG | Change in ORG-level count of completed DIAG measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRaDiagCompleted as New join hist.OrgAdultRaDiagCompleted as Old using (State, RegId, OrgId) |
OrgAdultRaDiagCompletedGrowth | ORG | Growth in ORG-level count of completed DIAG measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRaDiagCompleted as New join hist.OrgAdultRaDiagCompleted as Old using (State, RegId, OrgId) |
OrgAdultRaDiagCompletionRate | ORG | ORG-level completion rate of DIAG measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(OrgAdultRaDiagCompleted.Total, OrgAdultRaCodCount.Total, 3) as Rate from OrgAdultRaDiagCompleted join OrgAdultRaCodCount using (State, RegId, OrgId) |
OrgAdultRaDiagCompletionRateChange | ORG | Change in ORG-level completion rate of DIAG measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultRaDiagCompletionRate as New join hist.OrgAdultRaDiagCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultRaPocCount | ORG | ORG-level count of all POC measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRaPocCountChange | ORG | Change in ORG-level count of all POC measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRaPocCount as New join hist.OrgAdultRaPocCount as Old using (State, RegId, OrgId) |
OrgAdultRaPocCountGrowth | ORG | Growth in ORG-level count of all POC measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRaPocCount as New join hist.OrgAdultRaPocCount as Old using (State, RegId, OrgId) |
OrgAdultRaPocCompleted | ORG | ORG-level count of completed POC measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRaPocCompletedChange | ORG | Change in ORG-level count of completed POC measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRaPocCompleted as New join hist.OrgAdultRaPocCompleted as Old using (State, RegId, OrgId) |
OrgAdultRaPocCompletedGrowth | ORG | Growth in ORG-level count of completed POC measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRaPocCompleted as New join hist.OrgAdultRaPocCompleted as Old using (State, RegId, OrgId) |
OrgAdultRaPocCompletionRate | ORG | ORG-level completion rate of POC measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(OrgAdultRaPocCompleted.Total, OrgAdultRaCodCount.Total, 3) as Rate from OrgAdultRaPocCompleted join OrgAdultRaCodCount using (State, RegId, OrgId) |
OrgAdultRaPocCompletionRateChange | ORG | Change in ORG-level completion rate of POC measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultRaPocCompletionRate as New join hist.OrgAdultRaPocCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultRaMhlsCount | ORG | ORG-level count of all MHLS measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRaMhlsCountChange | ORG | Change in ORG-level count of all MHLS measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRaMhlsCount as New join hist.OrgAdultRaMhlsCount as Old using (State, RegId, OrgId) |
OrgAdultRaMhlsCountGrowth | ORG | Growth in ORG-level count of all MHLS measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRaMhlsCount as New join hist.OrgAdultRaMhlsCount as Old using (State, RegId, OrgId) |
OrgAdultRaMhlsCompleted | ORG | ORG-level count of completed MHLS measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultRaMhlsCompletedChange | ORG | Change in ORG-level count of completed MHLS measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultRaMhlsCompleted as New join hist.OrgAdultRaMhlsCompleted as Old using (State, RegId, OrgId) |
OrgAdultRaMhlsCompletedGrowth | ORG | Growth in ORG-level count of completed MHLS measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultRaMhlsCompleted as New join hist.OrgAdultRaMhlsCompleted as Old using (State, RegId, OrgId) |
OrgAdultRaMhlsCompletionRate | ORG | ORG-level completion rate of MHLS measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(OrgAdultRaMhlsCompleted.Total, OrgAdultRaCodCount.Total, 3) as Rate from OrgAdultRaMhlsCompleted join OrgAdultRaCodCount using (State, RegId, OrgId) |
OrgAdultRaMhlsCompletionRateChange | ORG | Change in ORG-level completion rate of MHLS measures for Adult age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultRaMhlsCompletionRate as New join hist.OrgAdultRaMhlsCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultDaCodCount | ORG | ORG-level count of collection occasions for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD where Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDaHonosCount | ORG | ORG-level count of all HONOS measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDaHonosCountChange | ORG | Change in ORG-level count of all HONOS measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDaHonosCount as New join hist.OrgAdultDaHonosCount as Old using (State, RegId, OrgId) |
OrgAdultDaHonosCountGrowth | ORG | Growth in ORG-level count of all HONOS measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDaHonosCount as New join hist.OrgAdultDaHonosCount as Old using (State, RegId, OrgId) |
OrgAdultDaHonosCompleted | ORG | ORG-level count of completed HONOS measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDaHonosCompletedChange | ORG | Change in ORG-level count of completed HONOS measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDaHonosCompleted as New join hist.OrgAdultDaHonosCompleted as Old using (State, RegId, OrgId) |
OrgAdultDaHonosCompletedGrowth | ORG | Growth in ORG-level count of completed HONOS measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDaHonosCompleted as New join hist.OrgAdultDaHonosCompleted as Old using (State, RegId, OrgId) |
OrgAdultDaHonosCompletionRate | ORG | ORG-level completion rate of HONOS measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgAdultDaHonosCompleted.Total, OrgAdultDaCodCount.Total, 3) as Rate from OrgAdultDaHonosCompleted join OrgAdultDaCodCount using (State, RegId, OrgId) |
OrgAdultDaHonosCompletionRateChange | ORG | Change in ORG-level completion rate of HONOS measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultDaHonosCompletionRate as New join hist.OrgAdultDaHonosCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultDaLsp16Count | ORG | ORG-level count of all LSP16 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Lsp16Completion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDaLsp16CountChange | ORG | Change in ORG-level count of all LSP16 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDaLsp16Count as New join hist.OrgAdultDaLsp16Count as Old using (State, RegId, OrgId) |
OrgAdultDaLsp16CountGrowth | ORG | Growth in ORG-level count of all LSP16 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDaLsp16Count as New join hist.OrgAdultDaLsp16Count as Old using (State, RegId, OrgId) |
OrgAdultDaLsp16Completed | ORG | ORG-level count of completed LSP16 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Lsp16Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDaLsp16CompletedChange | ORG | Change in ORG-level count of completed LSP16 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDaLsp16Completed as New join hist.OrgAdultDaLsp16Completed as Old using (State, RegId, OrgId) |
OrgAdultDaLsp16CompletedGrowth | ORG | Growth in ORG-level count of completed LSP16 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDaLsp16Completed as New join hist.OrgAdultDaLsp16Completed as Old using (State, RegId, OrgId) |
OrgAdultDaLsp16CompletionRate | ORG | ORG-level completion rate of LSP16 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgAdultDaLsp16Completed.Total, OrgAdultDaCodCount.Total, 3) as Rate from OrgAdultDaLsp16Completed join OrgAdultDaCodCount using (State, RegId, OrgId) |
OrgAdultDaLsp16CompletionRateChange | ORG | Change in ORG-level completion rate of LSP16 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultDaLsp16CompletionRate as New join hist.OrgAdultDaLsp16CompletionRate as Old using (State, RegId, OrgId) |
OrgAdultDaBasis32Count | ORG | ORG-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDaBasis32CountChange | ORG | Change in ORG-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDaBasis32Count as New join hist.OrgAdultDaBasis32Count as Old using (State, RegId, OrgId) |
OrgAdultDaBasis32CountGrowth | ORG | Growth in ORG-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDaBasis32Count as New join hist.OrgAdultDaBasis32Count as Old using (State, RegId, OrgId) |
OrgAdultDaBasis32Completed | ORG | ORG-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDaBasis32CompletedChange | ORG | Change in ORG-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDaBasis32Completed as New join hist.OrgAdultDaBasis32Completed as Old using (State, RegId, OrgId) |
OrgAdultDaBasis32CompletedGrowth | ORG | Growth in ORG-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDaBasis32Completed as New join hist.OrgAdultDaBasis32Completed as Old using (State, RegId, OrgId) |
OrgAdultDaBasis32CompletionRate | ORG | ORG-level completion rate of BASIS32 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgAdultDaBasis32Completed.Total, OrgAdultDaCodCount.Total, 3) as Rate from OrgAdultDaBasis32Completed join OrgAdultDaCodCount using (State, RegId, OrgId) |
OrgAdultDaBasis32CompletionRateChange | ORG | Change in ORG-level completion rate of BASIS32 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultDaBasis32CompletionRate as New join hist.OrgAdultDaBasis32CompletionRate as Old using (State, RegId, OrgId) |
OrgAdultDaK10l3dCount | ORG | ORG-level count of all K10L3D measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDaK10l3dCountChange | ORG | Change in ORG-level count of all K10L3D measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDaK10l3dCount as New join hist.OrgAdultDaK10l3dCount as Old using (State, RegId, OrgId) |
OrgAdultDaK10l3dCountGrowth | ORG | Growth in ORG-level count of all K10L3D measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDaK10l3dCount as New join hist.OrgAdultDaK10l3dCount as Old using (State, RegId, OrgId) |
OrgAdultDaK10l3dCompleted | ORG | ORG-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDaK10l3dCompletedChange | ORG | Change in ORG-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDaK10l3dCompleted as New join hist.OrgAdultDaK10l3dCompleted as Old using (State, RegId, OrgId) |
OrgAdultDaK10l3dCompletedGrowth | ORG | Growth in ORG-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDaK10l3dCompleted as New join hist.OrgAdultDaK10l3dCompleted as Old using (State, RegId, OrgId) |
OrgAdultDaK10l3dCompletionRate | ORG | ORG-level completion rate of K10L3D measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgAdultDaK10l3dCompleted.Total, OrgAdultDaCodCount.Total, 3) as Rate from OrgAdultDaK10l3dCompleted join OrgAdultDaCodCount using (State, RegId, OrgId) |
OrgAdultDaK10l3dCompletionRateChange | ORG | Change in ORG-level completion rate of K10L3D measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultDaK10l3dCompletionRate as New join hist.OrgAdultDaK10l3dCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultDaK10lmCount | ORG | ORG-level count of all K10LM measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDaK10lmCountChange | ORG | Change in ORG-level count of all K10LM measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDaK10lmCount as New join hist.OrgAdultDaK10lmCount as Old using (State, RegId, OrgId) |
OrgAdultDaK10lmCountGrowth | ORG | Growth in ORG-level count of all K10LM measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDaK10lmCount as New join hist.OrgAdultDaK10lmCount as Old using (State, RegId, OrgId) |
OrgAdultDaK10lmCompleted | ORG | ORG-level count of completed K10LM measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDaK10lmCompletedChange | ORG | Change in ORG-level count of completed K10LM measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDaK10lmCompleted as New join hist.OrgAdultDaK10lmCompleted as Old using (State, RegId, OrgId) |
OrgAdultDaK10lmCompletedGrowth | ORG | Growth in ORG-level count of completed K10LM measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDaK10lmCompleted as New join hist.OrgAdultDaK10lmCompleted as Old using (State, RegId, OrgId) |
OrgAdultDaK10lmCompletionRate | ORG | ORG-level completion rate of K10LM measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgAdultDaK10lmCompleted.Total, OrgAdultDaCodCount.Total, 3) as Rate from OrgAdultDaK10lmCompleted join OrgAdultDaCodCount using (State, RegId, OrgId) |
OrgAdultDaK10lmCompletionRateChange | ORG | Change in ORG-level completion rate of K10LM measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultDaK10lmCompletionRate as New join hist.OrgAdultDaK10lmCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultDaMhi38Count | ORG | ORG-level count of all MHI38 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDaMhi38CountChange | ORG | Change in ORG-level count of all MHI38 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDaMhi38Count as New join hist.OrgAdultDaMhi38Count as Old using (State, RegId, OrgId) |
OrgAdultDaMhi38CountGrowth | ORG | Growth in ORG-level count of all MHI38 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDaMhi38Count as New join hist.OrgAdultDaMhi38Count as Old using (State, RegId, OrgId) |
OrgAdultDaMhi38Completed | ORG | ORG-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDaMhi38CompletedChange | ORG | Change in ORG-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDaMhi38Completed as New join hist.OrgAdultDaMhi38Completed as Old using (State, RegId, OrgId) |
OrgAdultDaMhi38CompletedGrowth | ORG | Growth in ORG-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDaMhi38Completed as New join hist.OrgAdultDaMhi38Completed as Old using (State, RegId, OrgId) |
OrgAdultDaMhi38CompletionRate | ORG | ORG-level completion rate of MHI38 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgAdultDaMhi38Completed.Total, OrgAdultDaCodCount.Total, 3) as Rate from OrgAdultDaMhi38Completed join OrgAdultDaCodCount using (State, RegId, OrgId) |
OrgAdultDaMhi38CompletionRateChange | ORG | Change in ORG-level completion rate of MHI38 measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultDaMhi38CompletionRate as New join hist.OrgAdultDaMhi38CompletionRate as Old using (State, RegId, OrgId) |
OrgAdultDaDiagCount | ORG | ORG-level count of all DIAG measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDaDiagCountChange | ORG | Change in ORG-level count of all DIAG measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDaDiagCount as New join hist.OrgAdultDaDiagCount as Old using (State, RegId, OrgId) |
OrgAdultDaDiagCountGrowth | ORG | Growth in ORG-level count of all DIAG measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDaDiagCount as New join hist.OrgAdultDaDiagCount as Old using (State, RegId, OrgId) |
OrgAdultDaDiagCompleted | ORG | ORG-level count of completed DIAG measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDaDiagCompletedChange | ORG | Change in ORG-level count of completed DIAG measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDaDiagCompleted as New join hist.OrgAdultDaDiagCompleted as Old using (State, RegId, OrgId) |
OrgAdultDaDiagCompletedGrowth | ORG | Growth in ORG-level count of completed DIAG measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDaDiagCompleted as New join hist.OrgAdultDaDiagCompleted as Old using (State, RegId, OrgId) |
OrgAdultDaDiagCompletionRate | ORG | ORG-level completion rate of DIAG measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgAdultDaDiagCompleted.Total, OrgAdultDaCodCount.Total, 3) as Rate from OrgAdultDaDiagCompleted join OrgAdultDaCodCount using (State, RegId, OrgId) |
OrgAdultDaDiagCompletionRateChange | ORG | Change in ORG-level completion rate of DIAG measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultDaDiagCompletionRate as New join hist.OrgAdultDaDiagCompletionRate as Old using (State, RegId, OrgId) |
OrgAdultDaMhlsCount | ORG | ORG-level count of all MHLS measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDaMhlsCountChange | ORG | Change in ORG-level count of all MHLS measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDaMhlsCount as New join hist.OrgAdultDaMhlsCount as Old using (State, RegId, OrgId) |
OrgAdultDaMhlsCountGrowth | ORG | Growth in ORG-level count of all MHLS measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDaMhlsCount as New join hist.OrgAdultDaMhlsCount as Old using (State, RegId, OrgId) |
OrgAdultDaMhlsCompleted | ORG | ORG-level count of completed MHLS measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '2' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgAdultDaMhlsCompletedChange | ORG | Change in ORG-level count of completed MHLS measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgAdultDaMhlsCompleted as New join hist.OrgAdultDaMhlsCompleted as Old using (State, RegId, OrgId) |
OrgAdultDaMhlsCompletedGrowth | ORG | Growth in ORG-level count of completed MHLS measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgAdultDaMhlsCompleted as New join hist.OrgAdultDaMhlsCompleted as Old using (State, RegId, OrgId) |
OrgAdultDaMhlsCompletionRate | ORG | ORG-level completion rate of MHLS measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgAdultDaMhlsCompleted.Total, OrgAdultDaCodCount.Total, 3) as Rate from OrgAdultDaMhlsCompleted join OrgAdultDaCodCount using (State, RegId, OrgId) |
OrgAdultDaMhlsCompletionRateChange | ORG | Change in ORG-level completion rate of MHLS measures for Adult age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgAdultDaMhlsCompletionRate as New join hist.OrgAdultDaMhlsCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderAiCodCount | ORG | ORG-level count of collection occasions for Older age group in Inpatient setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD where Setting = '1' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderAiHonosCount | ORG | ORG-level count of all HONOS measures for Older age group in Inpatient setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '1' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderAiHonosCountChange | ORG | Change in ORG-level count of all HONOS measures for Older age group in Inpatient setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderAiHonosCount as New join hist.OrgOlderAiHonosCount as Old using (State, RegId, OrgId) |
OrgOlderAiHonosCountGrowth | ORG | Growth in ORG-level count of all HONOS measures for Older age group in Inpatient setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderAiHonosCount as New join hist.OrgOlderAiHonosCount as Old using (State, RegId, OrgId) |
OrgOlderAiHonosCompleted | ORG | ORG-level count of completed HONOS measures for Older age group in Inpatient setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderAiHonosCompletedChange | ORG | Change in ORG-level count of completed HONOS measures for Older age group in Inpatient setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderAiHonosCompleted as New join hist.OrgOlderAiHonosCompleted as Old using (State, RegId, OrgId) |
OrgOlderAiHonosCompletedGrowth | ORG | Growth in ORG-level count of completed HONOS measures for Older age group in Inpatient setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderAiHonosCompleted as New join hist.OrgOlderAiHonosCompleted as Old using (State, RegId, OrgId) |
OrgOlderAiHonosCompletionRate | ORG | ORG-level completion rate of HONOS measures for Older age group in Inpatient setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgOlderAiHonosCompleted.Total, OrgOlderAiCodCount.Total, 3) as Rate from OrgOlderAiHonosCompleted join OrgOlderAiCodCount using (State, RegId, OrgId) |
OrgOlderAiHonosCompletionRateChange | ORG | Change in ORG-level completion rate of HONOS measures for Older age group in Inpatient setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderAiHonosCompletionRate as New join hist.OrgOlderAiHonosCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderAiRugadlCount | ORG | ORG-level count of all RUGADL measures for Older age group in Inpatient setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join RugadlCompletion using (ColId) where Setting = '1' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderAiRugadlCountChange | ORG | Change in ORG-level count of all RUGADL measures for Older age group in Inpatient setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderAiRugadlCount as New join hist.OrgOlderAiRugadlCount as Old using (State, RegId, OrgId) |
OrgOlderAiRugadlCountGrowth | ORG | Growth in ORG-level count of all RUGADL measures for Older age group in Inpatient setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderAiRugadlCount as New join hist.OrgOlderAiRugadlCount as Old using (State, RegId, OrgId) |
OrgOlderAiRugadlCompleted | ORG | ORG-level count of completed RUGADL measures for Older age group in Inpatient setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join RugadlCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderAiRugadlCompletedChange | ORG | Change in ORG-level count of completed RUGADL measures for Older age group in Inpatient setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderAiRugadlCompleted as New join hist.OrgOlderAiRugadlCompleted as Old using (State, RegId, OrgId) |
OrgOlderAiRugadlCompletedGrowth | ORG | Growth in ORG-level count of completed RUGADL measures for Older age group in Inpatient setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderAiRugadlCompleted as New join hist.OrgOlderAiRugadlCompleted as Old using (State, RegId, OrgId) |
OrgOlderAiRugadlCompletionRate | ORG | ORG-level completion rate of RUGADL measures for Older age group in Inpatient setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgOlderAiRugadlCompleted.Total, OrgOlderAiCodCount.Total, 3) as Rate from OrgOlderAiRugadlCompleted join OrgOlderAiCodCount using (State, RegId, OrgId) |
OrgOlderAiRugadlCompletionRateChange | ORG | Change in ORG-level completion rate of RUGADL measures for Older age group in Inpatient setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderAiRugadlCompletionRate as New join hist.OrgOlderAiRugadlCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderAiPocCount | ORG | ORG-level count of all POC measures for Older age group in Inpatient setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '1' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderAiPocCountChange | ORG | Change in ORG-level count of all POC measures for Older age group in Inpatient setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderAiPocCount as New join hist.OrgOlderAiPocCount as Old using (State, RegId, OrgId) |
OrgOlderAiPocCountGrowth | ORG | Growth in ORG-level count of all POC measures for Older age group in Inpatient setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderAiPocCount as New join hist.OrgOlderAiPocCount as Old using (State, RegId, OrgId) |
OrgOlderAiPocCompleted | ORG | ORG-level count of completed POC measures for Older age group in Inpatient setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderAiPocCompletedChange | ORG | Change in ORG-level count of completed POC measures for Older age group in Inpatient setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderAiPocCompleted as New join hist.OrgOlderAiPocCompleted as Old using (State, RegId, OrgId) |
OrgOlderAiPocCompletedGrowth | ORG | Growth in ORG-level count of completed POC measures for Older age group in Inpatient setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderAiPocCompleted as New join hist.OrgOlderAiPocCompleted as Old using (State, RegId, OrgId) |
OrgOlderAiPocCompletionRate | ORG | ORG-level completion rate of POC measures for Older age group in Inpatient setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgOlderAiPocCompleted.Total, OrgOlderAiCodCount.Total, 3) as Rate from OrgOlderAiPocCompleted join OrgOlderAiCodCount using (State, RegId, OrgId) |
OrgOlderAiPocCompletionRateChange | ORG | Change in ORG-level completion rate of POC measures for Older age group in Inpatient setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderAiPocCompletionRate as New join hist.OrgOlderAiPocCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderRiCodCount | ORG | ORG-level count of collection occasions for Older age group in Inpatient setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD where Setting = '1' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRiHonosCount | ORG | ORG-level count of all HONOS measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '1' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRiHonosCountChange | ORG | Change in ORG-level count of all HONOS measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRiHonosCount as New join hist.OrgOlderRiHonosCount as Old using (State, RegId, OrgId) |
OrgOlderRiHonosCountGrowth | ORG | Growth in ORG-level count of all HONOS measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRiHonosCount as New join hist.OrgOlderRiHonosCount as Old using (State, RegId, OrgId) |
OrgOlderRiHonosCompleted | ORG | ORG-level count of completed HONOS measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRiHonosCompletedChange | ORG | Change in ORG-level count of completed HONOS measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRiHonosCompleted as New join hist.OrgOlderRiHonosCompleted as Old using (State, RegId, OrgId) |
OrgOlderRiHonosCompletedGrowth | ORG | Growth in ORG-level count of completed HONOS measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRiHonosCompleted as New join hist.OrgOlderRiHonosCompleted as Old using (State, RegId, OrgId) |
OrgOlderRiHonosCompletionRate | ORG | ORG-level completion rate of HONOS measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(OrgOlderRiHonosCompleted.Total, OrgOlderRiCodCount.Total, 3) as Rate from OrgOlderRiHonosCompleted join OrgOlderRiCodCount using (State, RegId, OrgId) |
OrgOlderRiHonosCompletionRateChange | ORG | Change in ORG-level completion rate of HONOS measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderRiHonosCompletionRate as New join hist.OrgOlderRiHonosCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderRiRugadlCount | ORG | ORG-level count of all RUGADL measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join RugadlCompletion using (ColId) where Setting = '1' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRiRugadlCountChange | ORG | Change in ORG-level count of all RUGADL measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRiRugadlCount as New join hist.OrgOlderRiRugadlCount as Old using (State, RegId, OrgId) |
OrgOlderRiRugadlCountGrowth | ORG | Growth in ORG-level count of all RUGADL measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRiRugadlCount as New join hist.OrgOlderRiRugadlCount as Old using (State, RegId, OrgId) |
OrgOlderRiRugadlCompleted | ORG | ORG-level count of completed RUGADL measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join RugadlCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRiRugadlCompletedChange | ORG | Change in ORG-level count of completed RUGADL measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRiRugadlCompleted as New join hist.OrgOlderRiRugadlCompleted as Old using (State, RegId, OrgId) |
OrgOlderRiRugadlCompletedGrowth | ORG | Growth in ORG-level count of completed RUGADL measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRiRugadlCompleted as New join hist.OrgOlderRiRugadlCompleted as Old using (State, RegId, OrgId) |
OrgOlderRiRugadlCompletionRate | ORG | ORG-level completion rate of RUGADL measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(OrgOlderRiRugadlCompleted.Total, OrgOlderRiCodCount.Total, 3) as Rate from OrgOlderRiRugadlCompleted join OrgOlderRiCodCount using (State, RegId, OrgId) |
OrgOlderRiRugadlCompletionRateChange | ORG | Change in ORG-level completion rate of RUGADL measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderRiRugadlCompletionRate as New join hist.OrgOlderRiRugadlCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderRiDiagCount | ORG | ORG-level count of all DIAG measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '1' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRiDiagCountChange | ORG | Change in ORG-level count of all DIAG measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRiDiagCount as New join hist.OrgOlderRiDiagCount as Old using (State, RegId, OrgId) |
OrgOlderRiDiagCountGrowth | ORG | Growth in ORG-level count of all DIAG measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRiDiagCount as New join hist.OrgOlderRiDiagCount as Old using (State, RegId, OrgId) |
OrgOlderRiDiagCompleted | ORG | ORG-level count of completed DIAG measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRiDiagCompletedChange | ORG | Change in ORG-level count of completed DIAG measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRiDiagCompleted as New join hist.OrgOlderRiDiagCompleted as Old using (State, RegId, OrgId) |
OrgOlderRiDiagCompletedGrowth | ORG | Growth in ORG-level count of completed DIAG measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRiDiagCompleted as New join hist.OrgOlderRiDiagCompleted as Old using (State, RegId, OrgId) |
OrgOlderRiDiagCompletionRate | ORG | ORG-level completion rate of DIAG measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(OrgOlderRiDiagCompleted.Total, OrgOlderRiCodCount.Total, 3) as Rate from OrgOlderRiDiagCompleted join OrgOlderRiCodCount using (State, RegId, OrgId) |
OrgOlderRiDiagCompletionRateChange | ORG | Change in ORG-level completion rate of DIAG measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderRiDiagCompletionRate as New join hist.OrgOlderRiDiagCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderRiPocCount | ORG | ORG-level count of all POC measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '1' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRiPocCountChange | ORG | Change in ORG-level count of all POC measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRiPocCount as New join hist.OrgOlderRiPocCount as Old using (State, RegId, OrgId) |
OrgOlderRiPocCountGrowth | ORG | Growth in ORG-level count of all POC measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRiPocCount as New join hist.OrgOlderRiPocCount as Old using (State, RegId, OrgId) |
OrgOlderRiPocCompleted | ORG | ORG-level count of completed POC measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRiPocCompletedChange | ORG | Change in ORG-level count of completed POC measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRiPocCompleted as New join hist.OrgOlderRiPocCompleted as Old using (State, RegId, OrgId) |
OrgOlderRiPocCompletedGrowth | ORG | Growth in ORG-level count of completed POC measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRiPocCompleted as New join hist.OrgOlderRiPocCompleted as Old using (State, RegId, OrgId) |
OrgOlderRiPocCompletionRate | ORG | ORG-level completion rate of POC measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(OrgOlderRiPocCompleted.Total, OrgOlderRiCodCount.Total, 3) as Rate from OrgOlderRiPocCompleted join OrgOlderRiCodCount using (State, RegId, OrgId) |
OrgOlderRiPocCompletionRateChange | ORG | Change in ORG-level completion rate of POC measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderRiPocCompletionRate as New join hist.OrgOlderRiPocCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderRiMhlsCount | ORG | ORG-level count of all MHLS measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '1' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRiMhlsCountChange | ORG | Change in ORG-level count of all MHLS measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRiMhlsCount as New join hist.OrgOlderRiMhlsCount as Old using (State, RegId, OrgId) |
OrgOlderRiMhlsCountGrowth | ORG | Growth in ORG-level count of all MHLS measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRiMhlsCount as New join hist.OrgOlderRiMhlsCount as Old using (State, RegId, OrgId) |
OrgOlderRiMhlsCompleted | ORG | ORG-level count of completed MHLS measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRiMhlsCompletedChange | ORG | Change in ORG-level count of completed MHLS measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRiMhlsCompleted as New join hist.OrgOlderRiMhlsCompleted as Old using (State, RegId, OrgId) |
OrgOlderRiMhlsCompletedGrowth | ORG | Growth in ORG-level count of completed MHLS measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRiMhlsCompleted as New join hist.OrgOlderRiMhlsCompleted as Old using (State, RegId, OrgId) |
OrgOlderRiMhlsCompletionRate | ORG | ORG-level completion rate of MHLS measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, sd_div_safe(OrgOlderRiMhlsCompleted.Total, OrgOlderRiCodCount.Total, 3) as Rate from OrgOlderRiMhlsCompleted join OrgOlderRiCodCount using (State, RegId, OrgId) |
OrgOlderRiMhlsCompletionRateChange | ORG | Change in ORG-level completion rate of MHLS measures for Older age group in Inpatient setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderRiMhlsCompletionRate as New join hist.OrgOlderRiMhlsCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderDiCodCount | ORG | ORG-level count of collection occasions for Older age group in Inpatient setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD where Setting = '1' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDiHonosCount | ORG | ORG-level count of all HONOS measures for Older age group in Inpatient setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '1' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDiHonosCountChange | ORG | Change in ORG-level count of all HONOS measures for Older age group in Inpatient setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDiHonosCount as New join hist.OrgOlderDiHonosCount as Old using (State, RegId, OrgId) |
OrgOlderDiHonosCountGrowth | ORG | Growth in ORG-level count of all HONOS measures for Older age group in Inpatient setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDiHonosCount as New join hist.OrgOlderDiHonosCount as Old using (State, RegId, OrgId) |
OrgOlderDiHonosCompleted | ORG | ORG-level count of completed HONOS measures for Older age group in Inpatient setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDiHonosCompletedChange | ORG | Change in ORG-level count of completed HONOS measures for Older age group in Inpatient setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDiHonosCompleted as New join hist.OrgOlderDiHonosCompleted as Old using (State, RegId, OrgId) |
OrgOlderDiHonosCompletedGrowth | ORG | Growth in ORG-level count of completed HONOS measures for Older age group in Inpatient setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDiHonosCompleted as New join hist.OrgOlderDiHonosCompleted as Old using (State, RegId, OrgId) |
OrgOlderDiHonosCompletionRate | ORG | ORG-level completion rate of HONOS measures for Older age group in Inpatient setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgOlderDiHonosCompleted.Total, OrgOlderDiCodCount.Total, 3) as Rate from OrgOlderDiHonosCompleted join OrgOlderDiCodCount using (State, RegId, OrgId) |
OrgOlderDiHonosCompletionRateChange | ORG | Change in ORG-level completion rate of HONOS measures for Older age group in Inpatient setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderDiHonosCompletionRate as New join hist.OrgOlderDiHonosCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderDiDiagCount | ORG | ORG-level count of all DIAG measures for Older age group in Inpatient setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '1' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDiDiagCountChange | ORG | Change in ORG-level count of all DIAG measures for Older age group in Inpatient setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDiDiagCount as New join hist.OrgOlderDiDiagCount as Old using (State, RegId, OrgId) |
OrgOlderDiDiagCountGrowth | ORG | Growth in ORG-level count of all DIAG measures for Older age group in Inpatient setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDiDiagCount as New join hist.OrgOlderDiDiagCount as Old using (State, RegId, OrgId) |
OrgOlderDiDiagCompleted | ORG | ORG-level count of completed DIAG measures for Older age group in Inpatient setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDiDiagCompletedChange | ORG | Change in ORG-level count of completed DIAG measures for Older age group in Inpatient setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDiDiagCompleted as New join hist.OrgOlderDiDiagCompleted as Old using (State, RegId, OrgId) |
OrgOlderDiDiagCompletedGrowth | ORG | Growth in ORG-level count of completed DIAG measures for Older age group in Inpatient setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDiDiagCompleted as New join hist.OrgOlderDiDiagCompleted as Old using (State, RegId, OrgId) |
OrgOlderDiDiagCompletionRate | ORG | ORG-level completion rate of DIAG measures for Older age group in Inpatient setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgOlderDiDiagCompleted.Total, OrgOlderDiCodCount.Total, 3) as Rate from OrgOlderDiDiagCompleted join OrgOlderDiCodCount using (State, RegId, OrgId) |
OrgOlderDiDiagCompletionRateChange | ORG | Change in ORG-level completion rate of DIAG measures for Older age group in Inpatient setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderDiDiagCompletionRate as New join hist.OrgOlderDiDiagCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderDiMhlsCount | ORG | ORG-level count of all MHLS measures for Older age group in Inpatient setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '1' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDiMhlsCountChange | ORG | Change in ORG-level count of all MHLS measures for Older age group in Inpatient setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDiMhlsCount as New join hist.OrgOlderDiMhlsCount as Old using (State, RegId, OrgId) |
OrgOlderDiMhlsCountGrowth | ORG | Growth in ORG-level count of all MHLS measures for Older age group in Inpatient setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDiMhlsCount as New join hist.OrgOlderDiMhlsCount as Old using (State, RegId, OrgId) |
OrgOlderDiMhlsCompleted | ORG | ORG-level count of completed MHLS measures for Older age group in Inpatient setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '1' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDiMhlsCompletedChange | ORG | Change in ORG-level count of completed MHLS measures for Older age group in Inpatient setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDiMhlsCompleted as New join hist.OrgOlderDiMhlsCompleted as Old using (State, RegId, OrgId) |
OrgOlderDiMhlsCompletedGrowth | ORG | Growth in ORG-level count of completed MHLS measures for Older age group in Inpatient setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDiMhlsCompleted as New join hist.OrgOlderDiMhlsCompleted as Old using (State, RegId, OrgId) |
OrgOlderDiMhlsCompletionRate | ORG | ORG-level completion rate of MHLS measures for Older age group in Inpatient setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgOlderDiMhlsCompleted.Total, OrgOlderDiCodCount.Total, 3) as Rate from OrgOlderDiMhlsCompleted join OrgOlderDiCodCount using (State, RegId, OrgId) |
OrgOlderDiMhlsCompletionRateChange | ORG | Change in ORG-level completion rate of MHLS measures for Older age group in Inpatient setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderDiMhlsCompletionRate as New join hist.OrgOlderDiMhlsCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderArCodCount | ORG | ORG-level count of collection occasions for Older age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD where Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderArHonosCount | ORG | ORG-level count of all HONOS measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderArHonosCountChange | ORG | Change in ORG-level count of all HONOS measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderArHonosCount as New join hist.OrgOlderArHonosCount as Old using (State, RegId, OrgId) |
OrgOlderArHonosCountGrowth | ORG | Growth in ORG-level count of all HONOS measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderArHonosCount as New join hist.OrgOlderArHonosCount as Old using (State, RegId, OrgId) |
OrgOlderArHonosCompleted | ORG | ORG-level count of completed HONOS measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderArHonosCompletedChange | ORG | Change in ORG-level count of completed HONOS measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderArHonosCompleted as New join hist.OrgOlderArHonosCompleted as Old using (State, RegId, OrgId) |
OrgOlderArHonosCompletedGrowth | ORG | Growth in ORG-level count of completed HONOS measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderArHonosCompleted as New join hist.OrgOlderArHonosCompleted as Old using (State, RegId, OrgId) |
OrgOlderArHonosCompletionRate | ORG | ORG-level completion rate of HONOS measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgOlderArHonosCompleted.Total, OrgOlderArCodCount.Total, 3) as Rate from OrgOlderArHonosCompleted join OrgOlderArCodCount using (State, RegId, OrgId) |
OrgOlderArHonosCompletionRateChange | ORG | Change in ORG-level completion rate of HONOS measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderArHonosCompletionRate as New join hist.OrgOlderArHonosCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderArLsp16Count | ORG | ORG-level count of all LSP16 measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Lsp16Completion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderArLsp16CountChange | ORG | Change in ORG-level count of all LSP16 measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderArLsp16Count as New join hist.OrgOlderArLsp16Count as Old using (State, RegId, OrgId) |
OrgOlderArLsp16CountGrowth | ORG | Growth in ORG-level count of all LSP16 measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderArLsp16Count as New join hist.OrgOlderArLsp16Count as Old using (State, RegId, OrgId) |
OrgOlderArLsp16Completed | ORG | ORG-level count of completed LSP16 measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Lsp16Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderArLsp16CompletedChange | ORG | Change in ORG-level count of completed LSP16 measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderArLsp16Completed as New join hist.OrgOlderArLsp16Completed as Old using (State, RegId, OrgId) |
OrgOlderArLsp16CompletedGrowth | ORG | Growth in ORG-level count of completed LSP16 measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderArLsp16Completed as New join hist.OrgOlderArLsp16Completed as Old using (State, RegId, OrgId) |
OrgOlderArLsp16CompletionRate | ORG | ORG-level completion rate of LSP16 measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgOlderArLsp16Completed.Total, OrgOlderArCodCount.Total, 3) as Rate from OrgOlderArLsp16Completed join OrgOlderArCodCount using (State, RegId, OrgId) |
OrgOlderArLsp16CompletionRateChange | ORG | Change in ORG-level completion rate of LSP16 measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderArLsp16CompletionRate as New join hist.OrgOlderArLsp16CompletionRate as Old using (State, RegId, OrgId) |
OrgOlderArBasis32Count | ORG | ORG-level count of all BASIS32 measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderArBasis32CountChange | ORG | Change in ORG-level count of all BASIS32 measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderArBasis32Count as New join hist.OrgOlderArBasis32Count as Old using (State, RegId, OrgId) |
OrgOlderArBasis32CountGrowth | ORG | Growth in ORG-level count of all BASIS32 measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderArBasis32Count as New join hist.OrgOlderArBasis32Count as Old using (State, RegId, OrgId) |
OrgOlderArBasis32Completed | ORG | ORG-level count of completed BASIS32 measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderArBasis32CompletedChange | ORG | Change in ORG-level count of completed BASIS32 measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderArBasis32Completed as New join hist.OrgOlderArBasis32Completed as Old using (State, RegId, OrgId) |
OrgOlderArBasis32CompletedGrowth | ORG | Growth in ORG-level count of completed BASIS32 measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderArBasis32Completed as New join hist.OrgOlderArBasis32Completed as Old using (State, RegId, OrgId) |
OrgOlderArBasis32CompletionRate | ORG | ORG-level completion rate of BASIS32 measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgOlderArBasis32Completed.Total, OrgOlderArCodCount.Total, 3) as Rate from OrgOlderArBasis32Completed join OrgOlderArCodCount using (State, RegId, OrgId) |
OrgOlderArBasis32CompletionRateChange | ORG | Change in ORG-level completion rate of BASIS32 measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderArBasis32CompletionRate as New join hist.OrgOlderArBasis32CompletionRate as Old using (State, RegId, OrgId) |
OrgOlderArK10l3dCount | ORG | ORG-level count of all K10L3D measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderArK10l3dCountChange | ORG | Change in ORG-level count of all K10L3D measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderArK10l3dCount as New join hist.OrgOlderArK10l3dCount as Old using (State, RegId, OrgId) |
OrgOlderArK10l3dCountGrowth | ORG | Growth in ORG-level count of all K10L3D measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderArK10l3dCount as New join hist.OrgOlderArK10l3dCount as Old using (State, RegId, OrgId) |
OrgOlderArK10l3dCompleted | ORG | ORG-level count of completed K10L3D measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderArK10l3dCompletedChange | ORG | Change in ORG-level count of completed K10L3D measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderArK10l3dCompleted as New join hist.OrgOlderArK10l3dCompleted as Old using (State, RegId, OrgId) |
OrgOlderArK10l3dCompletedGrowth | ORG | Growth in ORG-level count of completed K10L3D measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderArK10l3dCompleted as New join hist.OrgOlderArK10l3dCompleted as Old using (State, RegId, OrgId) |
OrgOlderArK10l3dCompletionRate | ORG | ORG-level completion rate of K10L3D measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgOlderArK10l3dCompleted.Total, OrgOlderArCodCount.Total, 3) as Rate from OrgOlderArK10l3dCompleted join OrgOlderArCodCount using (State, RegId, OrgId) |
OrgOlderArK10l3dCompletionRateChange | ORG | Change in ORG-level completion rate of K10L3D measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderArK10l3dCompletionRate as New join hist.OrgOlderArK10l3dCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderArK10lmCount | ORG | ORG-level count of all K10LM measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderArK10lmCountChange | ORG | Change in ORG-level count of all K10LM measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderArK10lmCount as New join hist.OrgOlderArK10lmCount as Old using (State, RegId, OrgId) |
OrgOlderArK10lmCountGrowth | ORG | Growth in ORG-level count of all K10LM measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderArK10lmCount as New join hist.OrgOlderArK10lmCount as Old using (State, RegId, OrgId) |
OrgOlderArK10lmCompleted | ORG | ORG-level count of completed K10LM measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderArK10lmCompletedChange | ORG | Change in ORG-level count of completed K10LM measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderArK10lmCompleted as New join hist.OrgOlderArK10lmCompleted as Old using (State, RegId, OrgId) |
OrgOlderArK10lmCompletedGrowth | ORG | Growth in ORG-level count of completed K10LM measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderArK10lmCompleted as New join hist.OrgOlderArK10lmCompleted as Old using (State, RegId, OrgId) |
OrgOlderArK10lmCompletionRate | ORG | ORG-level completion rate of K10LM measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgOlderArK10lmCompleted.Total, OrgOlderArCodCount.Total, 3) as Rate from OrgOlderArK10lmCompleted join OrgOlderArCodCount using (State, RegId, OrgId) |
OrgOlderArK10lmCompletionRateChange | ORG | Change in ORG-level completion rate of K10LM measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderArK10lmCompletionRate as New join hist.OrgOlderArK10lmCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderArMhi38Count | ORG | ORG-level count of all MHI38 measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderArMhi38CountChange | ORG | Change in ORG-level count of all MHI38 measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderArMhi38Count as New join hist.OrgOlderArMhi38Count as Old using (State, RegId, OrgId) |
OrgOlderArMhi38CountGrowth | ORG | Growth in ORG-level count of all MHI38 measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderArMhi38Count as New join hist.OrgOlderArMhi38Count as Old using (State, RegId, OrgId) |
OrgOlderArMhi38Completed | ORG | ORG-level count of completed MHI38 measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderArMhi38CompletedChange | ORG | Change in ORG-level count of completed MHI38 measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderArMhi38Completed as New join hist.OrgOlderArMhi38Completed as Old using (State, RegId, OrgId) |
OrgOlderArMhi38CompletedGrowth | ORG | Growth in ORG-level count of completed MHI38 measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderArMhi38Completed as New join hist.OrgOlderArMhi38Completed as Old using (State, RegId, OrgId) |
OrgOlderArMhi38CompletionRate | ORG | ORG-level completion rate of MHI38 measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgOlderArMhi38Completed.Total, OrgOlderArCodCount.Total, 3) as Rate from OrgOlderArMhi38Completed join OrgOlderArCodCount using (State, RegId, OrgId) |
OrgOlderArMhi38CompletionRateChange | ORG | Change in ORG-level completion rate of MHI38 measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderArMhi38CompletionRate as New join hist.OrgOlderArMhi38CompletionRate as Old using (State, RegId, OrgId) |
OrgOlderArPocCount | ORG | ORG-level count of all POC measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderArPocCountChange | ORG | Change in ORG-level count of all POC measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderArPocCount as New join hist.OrgOlderArPocCount as Old using (State, RegId, OrgId) |
OrgOlderArPocCountGrowth | ORG | Growth in ORG-level count of all POC measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderArPocCount as New join hist.OrgOlderArPocCount as Old using (State, RegId, OrgId) |
OrgOlderArPocCompleted | ORG | ORG-level count of completed POC measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderArPocCompletedChange | ORG | Change in ORG-level count of completed POC measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderArPocCompleted as New join hist.OrgOlderArPocCompleted as Old using (State, RegId, OrgId) |
OrgOlderArPocCompletedGrowth | ORG | Growth in ORG-level count of completed POC measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderArPocCompleted as New join hist.OrgOlderArPocCompleted as Old using (State, RegId, OrgId) |
OrgOlderArPocCompletionRate | ORG | ORG-level completion rate of POC measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgOlderArPocCompleted.Total, OrgOlderArCodCount.Total, 3) as Rate from OrgOlderArPocCompleted join OrgOlderArCodCount using (State, RegId, OrgId) |
OrgOlderArPocCompletionRateChange | ORG | Change in ORG-level completion rate of POC measures for Older age group in Residential setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderArPocCompletionRate as New join hist.OrgOlderArPocCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderRrCodCount | ORG | ORG-level count of collection occasions for Older age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD where Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRrHonosCount | ORG | ORG-level count of all HONOS measures for Older age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRrHonosCountChange | ORG | Change in ORG-level count of all HONOS measures for Older age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRrHonosCount as New join hist.OrgOlderRrHonosCount as Old using (State, RegId, OrgId) |
OrgOlderRrHonosCountGrowth | ORG | Growth in ORG-level count of all HONOS measures for Older age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRrHonosCount as New join hist.OrgOlderRrHonosCount as Old using (State, RegId, OrgId) |
OrgOlderRrHonosCompleted | ORG | ORG-level count of completed HONOS measures for Older age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRrHonosCompletedChange | ORG | Change in ORG-level count of completed HONOS measures for Older age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRrHonosCompleted as New join hist.OrgOlderRrHonosCompleted as Old using (State, RegId, OrgId) |
OrgOlderRrHonosCompletedGrowth | ORG | Growth in ORG-level count of completed HONOS measures for Older age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRrHonosCompleted as New join hist.OrgOlderRrHonosCompleted as Old using (State, RegId, OrgId) |
OrgOlderRrHonosCompletionRate | ORG | ORG-level completion rate of HONOS measures for Older age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(OrgOlderRrHonosCompleted.Total, OrgOlderRrCodCount.Total, 3) as Rate from OrgOlderRrHonosCompleted join OrgOlderRrCodCount using (State, RegId, OrgId) |
OrgOlderRrHonosCompletionRateChange | ORG | Change in ORG-level completion rate of HONOS measures for Older age group in Residential setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderRrHonosCompletionRate as New join hist.OrgOlderRrHonosCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderRrLsp16Count | ORG | ORG-level count of all LSP16 measures for Older age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Lsp16Completion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRrLsp16CountChange | ORG | Change in ORG-level count of all LSP16 measures for Older age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRrLsp16Count as New join hist.OrgOlderRrLsp16Count as Old using (State, RegId, OrgId) |
OrgOlderRrLsp16CountGrowth | ORG | Growth in ORG-level count of all LSP16 measures for Older age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRrLsp16Count as New join hist.OrgOlderRrLsp16Count as Old using (State, RegId, OrgId) |
OrgOlderRrLsp16Completed | ORG | ORG-level count of completed LSP16 measures for Older age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Lsp16Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRrLsp16CompletedChange | ORG | Change in ORG-level count of completed LSP16 measures for Older age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRrLsp16Completed as New join hist.OrgOlderRrLsp16Completed as Old using (State, RegId, OrgId) |
OrgOlderRrLsp16CompletedGrowth | ORG | Growth in ORG-level count of completed LSP16 measures for Older age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRrLsp16Completed as New join hist.OrgOlderRrLsp16Completed as Old using (State, RegId, OrgId) |
OrgOlderRrLsp16CompletionRate | ORG | ORG-level completion rate of LSP16 measures for Older age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(OrgOlderRrLsp16Completed.Total, OrgOlderRrCodCount.Total, 3) as Rate from OrgOlderRrLsp16Completed join OrgOlderRrCodCount using (State, RegId, OrgId) |
OrgOlderRrLsp16CompletionRateChange | ORG | Change in ORG-level completion rate of LSP16 measures for Older age group in Residential setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderRrLsp16CompletionRate as New join hist.OrgOlderRrLsp16CompletionRate as Old using (State, RegId, OrgId) |
OrgOlderRrBasis32Count | ORG | ORG-level count of all BASIS32 measures for Older age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRrBasis32CountChange | ORG | Change in ORG-level count of all BASIS32 measures for Older age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRrBasis32Count as New join hist.OrgOlderRrBasis32Count as Old using (State, RegId, OrgId) |
OrgOlderRrBasis32CountGrowth | ORG | Growth in ORG-level count of all BASIS32 measures for Older age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRrBasis32Count as New join hist.OrgOlderRrBasis32Count as Old using (State, RegId, OrgId) |
OrgOlderRrBasis32Completed | ORG | ORG-level count of completed BASIS32 measures for Older age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRrBasis32CompletedChange | ORG | Change in ORG-level count of completed BASIS32 measures for Older age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRrBasis32Completed as New join hist.OrgOlderRrBasis32Completed as Old using (State, RegId, OrgId) |
OrgOlderRrBasis32CompletedGrowth | ORG | Growth in ORG-level count of completed BASIS32 measures for Older age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRrBasis32Completed as New join hist.OrgOlderRrBasis32Completed as Old using (State, RegId, OrgId) |
OrgOlderRrBasis32CompletionRate | ORG | ORG-level completion rate of BASIS32 measures for Older age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(OrgOlderRrBasis32Completed.Total, OrgOlderRrCodCount.Total, 3) as Rate from OrgOlderRrBasis32Completed join OrgOlderRrCodCount using (State, RegId, OrgId) |
OrgOlderRrBasis32CompletionRateChange | ORG | Change in ORG-level completion rate of BASIS32 measures for Older age group in Residential setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderRrBasis32CompletionRate as New join hist.OrgOlderRrBasis32CompletionRate as Old using (State, RegId, OrgId) |
OrgOlderRrK10l3dCount | ORG | ORG-level count of all K10L3D measures for Older age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRrK10l3dCountChange | ORG | Change in ORG-level count of all K10L3D measures for Older age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRrK10l3dCount as New join hist.OrgOlderRrK10l3dCount as Old using (State, RegId, OrgId) |
OrgOlderRrK10l3dCountGrowth | ORG | Growth in ORG-level count of all K10L3D measures for Older age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRrK10l3dCount as New join hist.OrgOlderRrK10l3dCount as Old using (State, RegId, OrgId) |
OrgOlderRrK10l3dCompleted | ORG | ORG-level count of completed K10L3D measures for Older age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRrK10l3dCompletedChange | ORG | Change in ORG-level count of completed K10L3D measures for Older age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRrK10l3dCompleted as New join hist.OrgOlderRrK10l3dCompleted as Old using (State, RegId, OrgId) |
OrgOlderRrK10l3dCompletedGrowth | ORG | Growth in ORG-level count of completed K10L3D measures for Older age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRrK10l3dCompleted as New join hist.OrgOlderRrK10l3dCompleted as Old using (State, RegId, OrgId) |
OrgOlderRrK10l3dCompletionRate | ORG | ORG-level completion rate of K10L3D measures for Older age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(OrgOlderRrK10l3dCompleted.Total, OrgOlderRrCodCount.Total, 3) as Rate from OrgOlderRrK10l3dCompleted join OrgOlderRrCodCount using (State, RegId, OrgId) |
OrgOlderRrK10l3dCompletionRateChange | ORG | Change in ORG-level completion rate of K10L3D measures for Older age group in Residential setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderRrK10l3dCompletionRate as New join hist.OrgOlderRrK10l3dCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderRrK10lmCount | ORG | ORG-level count of all K10LM measures for Older age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRrK10lmCountChange | ORG | Change in ORG-level count of all K10LM measures for Older age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRrK10lmCount as New join hist.OrgOlderRrK10lmCount as Old using (State, RegId, OrgId) |
OrgOlderRrK10lmCountGrowth | ORG | Growth in ORG-level count of all K10LM measures for Older age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRrK10lmCount as New join hist.OrgOlderRrK10lmCount as Old using (State, RegId, OrgId) |
OrgOlderRrK10lmCompleted | ORG | ORG-level count of completed K10LM measures for Older age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRrK10lmCompletedChange | ORG | Change in ORG-level count of completed K10LM measures for Older age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRrK10lmCompleted as New join hist.OrgOlderRrK10lmCompleted as Old using (State, RegId, OrgId) |
OrgOlderRrK10lmCompletedGrowth | ORG | Growth in ORG-level count of completed K10LM measures for Older age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRrK10lmCompleted as New join hist.OrgOlderRrK10lmCompleted as Old using (State, RegId, OrgId) |
OrgOlderRrK10lmCompletionRate | ORG | ORG-level completion rate of K10LM measures for Older age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(OrgOlderRrK10lmCompleted.Total, OrgOlderRrCodCount.Total, 3) as Rate from OrgOlderRrK10lmCompleted join OrgOlderRrCodCount using (State, RegId, OrgId) |
OrgOlderRrK10lmCompletionRateChange | ORG | Change in ORG-level completion rate of K10LM measures for Older age group in Residential setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderRrK10lmCompletionRate as New join hist.OrgOlderRrK10lmCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderRrMhi38Count | ORG | ORG-level count of all MHI38 measures for Older age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRrMhi38CountChange | ORG | Change in ORG-level count of all MHI38 measures for Older age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRrMhi38Count as New join hist.OrgOlderRrMhi38Count as Old using (State, RegId, OrgId) |
OrgOlderRrMhi38CountGrowth | ORG | Growth in ORG-level count of all MHI38 measures for Older age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRrMhi38Count as New join hist.OrgOlderRrMhi38Count as Old using (State, RegId, OrgId) |
OrgOlderRrMhi38Completed | ORG | ORG-level count of completed MHI38 measures for Older age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRrMhi38CompletedChange | ORG | Change in ORG-level count of completed MHI38 measures for Older age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRrMhi38Completed as New join hist.OrgOlderRrMhi38Completed as Old using (State, RegId, OrgId) |
OrgOlderRrMhi38CompletedGrowth | ORG | Growth in ORG-level count of completed MHI38 measures for Older age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRrMhi38Completed as New join hist.OrgOlderRrMhi38Completed as Old using (State, RegId, OrgId) |
OrgOlderRrMhi38CompletionRate | ORG | ORG-level completion rate of MHI38 measures for Older age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(OrgOlderRrMhi38Completed.Total, OrgOlderRrCodCount.Total, 3) as Rate from OrgOlderRrMhi38Completed join OrgOlderRrCodCount using (State, RegId, OrgId) |
OrgOlderRrMhi38CompletionRateChange | ORG | Change in ORG-level completion rate of MHI38 measures for Older age group in Residential setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderRrMhi38CompletionRate as New join hist.OrgOlderRrMhi38CompletionRate as Old using (State, RegId, OrgId) |
OrgOlderRrDiagCount | ORG | ORG-level count of all DIAG measures for Older age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRrDiagCountChange | ORG | Change in ORG-level count of all DIAG measures for Older age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRrDiagCount as New join hist.OrgOlderRrDiagCount as Old using (State, RegId, OrgId) |
OrgOlderRrDiagCountGrowth | ORG | Growth in ORG-level count of all DIAG measures for Older age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRrDiagCount as New join hist.OrgOlderRrDiagCount as Old using (State, RegId, OrgId) |
OrgOlderRrDiagCompleted | ORG | ORG-level count of completed DIAG measures for Older age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRrDiagCompletedChange | ORG | Change in ORG-level count of completed DIAG measures for Older age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRrDiagCompleted as New join hist.OrgOlderRrDiagCompleted as Old using (State, RegId, OrgId) |
OrgOlderRrDiagCompletedGrowth | ORG | Growth in ORG-level count of completed DIAG measures for Older age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRrDiagCompleted as New join hist.OrgOlderRrDiagCompleted as Old using (State, RegId, OrgId) |
OrgOlderRrDiagCompletionRate | ORG | ORG-level completion rate of DIAG measures for Older age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(OrgOlderRrDiagCompleted.Total, OrgOlderRrCodCount.Total, 3) as Rate from OrgOlderRrDiagCompleted join OrgOlderRrCodCount using (State, RegId, OrgId) |
OrgOlderRrDiagCompletionRateChange | ORG | Change in ORG-level completion rate of DIAG measures for Older age group in Residential setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderRrDiagCompletionRate as New join hist.OrgOlderRrDiagCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderRrPocCount | ORG | ORG-level count of all POC measures for Older age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRrPocCountChange | ORG | Change in ORG-level count of all POC measures for Older age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRrPocCount as New join hist.OrgOlderRrPocCount as Old using (State, RegId, OrgId) |
OrgOlderRrPocCountGrowth | ORG | Growth in ORG-level count of all POC measures for Older age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRrPocCount as New join hist.OrgOlderRrPocCount as Old using (State, RegId, OrgId) |
OrgOlderRrPocCompleted | ORG | ORG-level count of completed POC measures for Older age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRrPocCompletedChange | ORG | Change in ORG-level count of completed POC measures for Older age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRrPocCompleted as New join hist.OrgOlderRrPocCompleted as Old using (State, RegId, OrgId) |
OrgOlderRrPocCompletedGrowth | ORG | Growth in ORG-level count of completed POC measures for Older age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRrPocCompleted as New join hist.OrgOlderRrPocCompleted as Old using (State, RegId, OrgId) |
OrgOlderRrPocCompletionRate | ORG | ORG-level completion rate of POC measures for Older age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(OrgOlderRrPocCompleted.Total, OrgOlderRrCodCount.Total, 3) as Rate from OrgOlderRrPocCompleted join OrgOlderRrCodCount using (State, RegId, OrgId) |
OrgOlderRrPocCompletionRateChange | ORG | Change in ORG-level completion rate of POC measures for Older age group in Residential setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderRrPocCompletionRate as New join hist.OrgOlderRrPocCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderRrMhlsCount | ORG | ORG-level count of all MHLS measures for Older age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRrMhlsCountChange | ORG | Change in ORG-level count of all MHLS measures for Older age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRrMhlsCount as New join hist.OrgOlderRrMhlsCount as Old using (State, RegId, OrgId) |
OrgOlderRrMhlsCountGrowth | ORG | Growth in ORG-level count of all MHLS measures for Older age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRrMhlsCount as New join hist.OrgOlderRrMhlsCount as Old using (State, RegId, OrgId) |
OrgOlderRrMhlsCompleted | ORG | ORG-level count of completed MHLS measures for Older age group in Residential setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRrMhlsCompletedChange | ORG | Change in ORG-level count of completed MHLS measures for Older age group in Residential setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRrMhlsCompleted as New join hist.OrgOlderRrMhlsCompleted as Old using (State, RegId, OrgId) |
OrgOlderRrMhlsCompletedGrowth | ORG | Growth in ORG-level count of completed MHLS measures for Older age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRrMhlsCompleted as New join hist.OrgOlderRrMhlsCompleted as Old using (State, RegId, OrgId) |
OrgOlderRrMhlsCompletionRate | ORG | ORG-level completion rate of MHLS measures for Older age group in Residential setting after Review | select State, RegId, OrgId, sd_div_safe(OrgOlderRrMhlsCompleted.Total, OrgOlderRrCodCount.Total, 3) as Rate from OrgOlderRrMhlsCompleted join OrgOlderRrCodCount using (State, RegId, OrgId) |
OrgOlderRrMhlsCompletionRateChange | ORG | Change in ORG-level completion rate of MHLS measures for Older age group in Residential setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderRrMhlsCompletionRate as New join hist.OrgOlderRrMhlsCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderDrCodCount | ORG | ORG-level count of collection occasions for Older age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD where Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDrHonosCount | ORG | ORG-level count of all HONOS measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDrHonosCountChange | ORG | Change in ORG-level count of all HONOS measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDrHonosCount as New join hist.OrgOlderDrHonosCount as Old using (State, RegId, OrgId) |
OrgOlderDrHonosCountGrowth | ORG | Growth in ORG-level count of all HONOS measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDrHonosCount as New join hist.OrgOlderDrHonosCount as Old using (State, RegId, OrgId) |
OrgOlderDrHonosCompleted | ORG | ORG-level count of completed HONOS measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDrHonosCompletedChange | ORG | Change in ORG-level count of completed HONOS measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDrHonosCompleted as New join hist.OrgOlderDrHonosCompleted as Old using (State, RegId, OrgId) |
OrgOlderDrHonosCompletedGrowth | ORG | Growth in ORG-level count of completed HONOS measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDrHonosCompleted as New join hist.OrgOlderDrHonosCompleted as Old using (State, RegId, OrgId) |
OrgOlderDrHonosCompletionRate | ORG | ORG-level completion rate of HONOS measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgOlderDrHonosCompleted.Total, OrgOlderDrCodCount.Total, 3) as Rate from OrgOlderDrHonosCompleted join OrgOlderDrCodCount using (State, RegId, OrgId) |
OrgOlderDrHonosCompletionRateChange | ORG | Change in ORG-level completion rate of HONOS measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderDrHonosCompletionRate as New join hist.OrgOlderDrHonosCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderDrLsp16Count | ORG | ORG-level count of all LSP16 measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Lsp16Completion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDrLsp16CountChange | ORG | Change in ORG-level count of all LSP16 measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDrLsp16Count as New join hist.OrgOlderDrLsp16Count as Old using (State, RegId, OrgId) |
OrgOlderDrLsp16CountGrowth | ORG | Growth in ORG-level count of all LSP16 measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDrLsp16Count as New join hist.OrgOlderDrLsp16Count as Old using (State, RegId, OrgId) |
OrgOlderDrLsp16Completed | ORG | ORG-level count of completed LSP16 measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Lsp16Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDrLsp16CompletedChange | ORG | Change in ORG-level count of completed LSP16 measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDrLsp16Completed as New join hist.OrgOlderDrLsp16Completed as Old using (State, RegId, OrgId) |
OrgOlderDrLsp16CompletedGrowth | ORG | Growth in ORG-level count of completed LSP16 measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDrLsp16Completed as New join hist.OrgOlderDrLsp16Completed as Old using (State, RegId, OrgId) |
OrgOlderDrLsp16CompletionRate | ORG | ORG-level completion rate of LSP16 measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgOlderDrLsp16Completed.Total, OrgOlderDrCodCount.Total, 3) as Rate from OrgOlderDrLsp16Completed join OrgOlderDrCodCount using (State, RegId, OrgId) |
OrgOlderDrLsp16CompletionRateChange | ORG | Change in ORG-level completion rate of LSP16 measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderDrLsp16CompletionRate as New join hist.OrgOlderDrLsp16CompletionRate as Old using (State, RegId, OrgId) |
OrgOlderDrBasis32Count | ORG | ORG-level count of all BASIS32 measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDrBasis32CountChange | ORG | Change in ORG-level count of all BASIS32 measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDrBasis32Count as New join hist.OrgOlderDrBasis32Count as Old using (State, RegId, OrgId) |
OrgOlderDrBasis32CountGrowth | ORG | Growth in ORG-level count of all BASIS32 measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDrBasis32Count as New join hist.OrgOlderDrBasis32Count as Old using (State, RegId, OrgId) |
OrgOlderDrBasis32Completed | ORG | ORG-level count of completed BASIS32 measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDrBasis32CompletedChange | ORG | Change in ORG-level count of completed BASIS32 measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDrBasis32Completed as New join hist.OrgOlderDrBasis32Completed as Old using (State, RegId, OrgId) |
OrgOlderDrBasis32CompletedGrowth | ORG | Growth in ORG-level count of completed BASIS32 measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDrBasis32Completed as New join hist.OrgOlderDrBasis32Completed as Old using (State, RegId, OrgId) |
OrgOlderDrBasis32CompletionRate | ORG | ORG-level completion rate of BASIS32 measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgOlderDrBasis32Completed.Total, OrgOlderDrCodCount.Total, 3) as Rate from OrgOlderDrBasis32Completed join OrgOlderDrCodCount using (State, RegId, OrgId) |
OrgOlderDrBasis32CompletionRateChange | ORG | Change in ORG-level completion rate of BASIS32 measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderDrBasis32CompletionRate as New join hist.OrgOlderDrBasis32CompletionRate as Old using (State, RegId, OrgId) |
OrgOlderDrK10l3dCount | ORG | ORG-level count of all K10L3D measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDrK10l3dCountChange | ORG | Change in ORG-level count of all K10L3D measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDrK10l3dCount as New join hist.OrgOlderDrK10l3dCount as Old using (State, RegId, OrgId) |
OrgOlderDrK10l3dCountGrowth | ORG | Growth in ORG-level count of all K10L3D measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDrK10l3dCount as New join hist.OrgOlderDrK10l3dCount as Old using (State, RegId, OrgId) |
OrgOlderDrK10l3dCompleted | ORG | ORG-level count of completed K10L3D measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDrK10l3dCompletedChange | ORG | Change in ORG-level count of completed K10L3D measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDrK10l3dCompleted as New join hist.OrgOlderDrK10l3dCompleted as Old using (State, RegId, OrgId) |
OrgOlderDrK10l3dCompletedGrowth | ORG | Growth in ORG-level count of completed K10L3D measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDrK10l3dCompleted as New join hist.OrgOlderDrK10l3dCompleted as Old using (State, RegId, OrgId) |
OrgOlderDrK10l3dCompletionRate | ORG | ORG-level completion rate of K10L3D measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgOlderDrK10l3dCompleted.Total, OrgOlderDrCodCount.Total, 3) as Rate from OrgOlderDrK10l3dCompleted join OrgOlderDrCodCount using (State, RegId, OrgId) |
OrgOlderDrK10l3dCompletionRateChange | ORG | Change in ORG-level completion rate of K10L3D measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderDrK10l3dCompletionRate as New join hist.OrgOlderDrK10l3dCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderDrK10lmCount | ORG | ORG-level count of all K10LM measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDrK10lmCountChange | ORG | Change in ORG-level count of all K10LM measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDrK10lmCount as New join hist.OrgOlderDrK10lmCount as Old using (State, RegId, OrgId) |
OrgOlderDrK10lmCountGrowth | ORG | Growth in ORG-level count of all K10LM measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDrK10lmCount as New join hist.OrgOlderDrK10lmCount as Old using (State, RegId, OrgId) |
OrgOlderDrK10lmCompleted | ORG | ORG-level count of completed K10LM measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDrK10lmCompletedChange | ORG | Change in ORG-level count of completed K10LM measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDrK10lmCompleted as New join hist.OrgOlderDrK10lmCompleted as Old using (State, RegId, OrgId) |
OrgOlderDrK10lmCompletedGrowth | ORG | Growth in ORG-level count of completed K10LM measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDrK10lmCompleted as New join hist.OrgOlderDrK10lmCompleted as Old using (State, RegId, OrgId) |
OrgOlderDrK10lmCompletionRate | ORG | ORG-level completion rate of K10LM measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgOlderDrK10lmCompleted.Total, OrgOlderDrCodCount.Total, 3) as Rate from OrgOlderDrK10lmCompleted join OrgOlderDrCodCount using (State, RegId, OrgId) |
OrgOlderDrK10lmCompletionRateChange | ORG | Change in ORG-level completion rate of K10LM measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderDrK10lmCompletionRate as New join hist.OrgOlderDrK10lmCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderDrMhi38Count | ORG | ORG-level count of all MHI38 measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDrMhi38CountChange | ORG | Change in ORG-level count of all MHI38 measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDrMhi38Count as New join hist.OrgOlderDrMhi38Count as Old using (State, RegId, OrgId) |
OrgOlderDrMhi38CountGrowth | ORG | Growth in ORG-level count of all MHI38 measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDrMhi38Count as New join hist.OrgOlderDrMhi38Count as Old using (State, RegId, OrgId) |
OrgOlderDrMhi38Completed | ORG | ORG-level count of completed MHI38 measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDrMhi38CompletedChange | ORG | Change in ORG-level count of completed MHI38 measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDrMhi38Completed as New join hist.OrgOlderDrMhi38Completed as Old using (State, RegId, OrgId) |
OrgOlderDrMhi38CompletedGrowth | ORG | Growth in ORG-level count of completed MHI38 measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDrMhi38Completed as New join hist.OrgOlderDrMhi38Completed as Old using (State, RegId, OrgId) |
OrgOlderDrMhi38CompletionRate | ORG | ORG-level completion rate of MHI38 measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgOlderDrMhi38Completed.Total, OrgOlderDrCodCount.Total, 3) as Rate from OrgOlderDrMhi38Completed join OrgOlderDrCodCount using (State, RegId, OrgId) |
OrgOlderDrMhi38CompletionRateChange | ORG | Change in ORG-level completion rate of MHI38 measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderDrMhi38CompletionRate as New join hist.OrgOlderDrMhi38CompletionRate as Old using (State, RegId, OrgId) |
OrgOlderDrDiagCount | ORG | ORG-level count of all DIAG measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDrDiagCountChange | ORG | Change in ORG-level count of all DIAG measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDrDiagCount as New join hist.OrgOlderDrDiagCount as Old using (State, RegId, OrgId) |
OrgOlderDrDiagCountGrowth | ORG | Growth in ORG-level count of all DIAG measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDrDiagCount as New join hist.OrgOlderDrDiagCount as Old using (State, RegId, OrgId) |
OrgOlderDrDiagCompleted | ORG | ORG-level count of completed DIAG measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDrDiagCompletedChange | ORG | Change in ORG-level count of completed DIAG measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDrDiagCompleted as New join hist.OrgOlderDrDiagCompleted as Old using (State, RegId, OrgId) |
OrgOlderDrDiagCompletedGrowth | ORG | Growth in ORG-level count of completed DIAG measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDrDiagCompleted as New join hist.OrgOlderDrDiagCompleted as Old using (State, RegId, OrgId) |
OrgOlderDrDiagCompletionRate | ORG | ORG-level completion rate of DIAG measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgOlderDrDiagCompleted.Total, OrgOlderDrCodCount.Total, 3) as Rate from OrgOlderDrDiagCompleted join OrgOlderDrCodCount using (State, RegId, OrgId) |
OrgOlderDrDiagCompletionRateChange | ORG | Change in ORG-level completion rate of DIAG measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderDrDiagCompletionRate as New join hist.OrgOlderDrDiagCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderDrMhlsCount | ORG | ORG-level count of all MHLS measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDrMhlsCountChange | ORG | Change in ORG-level count of all MHLS measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDrMhlsCount as New join hist.OrgOlderDrMhlsCount as Old using (State, RegId, OrgId) |
OrgOlderDrMhlsCountGrowth | ORG | Growth in ORG-level count of all MHLS measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDrMhlsCount as New join hist.OrgOlderDrMhlsCount as Old using (State, RegId, OrgId) |
OrgOlderDrMhlsCompleted | ORG | ORG-level count of completed MHLS measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '2' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDrMhlsCompletedChange | ORG | Change in ORG-level count of completed MHLS measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDrMhlsCompleted as New join hist.OrgOlderDrMhlsCompleted as Old using (State, RegId, OrgId) |
OrgOlderDrMhlsCompletedGrowth | ORG | Growth in ORG-level count of completed MHLS measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDrMhlsCompleted as New join hist.OrgOlderDrMhlsCompleted as Old using (State, RegId, OrgId) |
OrgOlderDrMhlsCompletionRate | ORG | ORG-level completion rate of MHLS measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgOlderDrMhlsCompleted.Total, OrgOlderDrCodCount.Total, 3) as Rate from OrgOlderDrMhlsCompleted join OrgOlderDrCodCount using (State, RegId, OrgId) |
OrgOlderDrMhlsCompletionRateChange | ORG | Change in ORG-level completion rate of MHLS measures for Older age group in Residential setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderDrMhlsCompletionRate as New join hist.OrgOlderDrMhlsCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderAaCodCount | ORG | ORG-level count of collection occasions for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD where Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderAaHonosCount | ORG | ORG-level count of all HONOS measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderAaHonosCountChange | ORG | Change in ORG-level count of all HONOS measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderAaHonosCount as New join hist.OrgOlderAaHonosCount as Old using (State, RegId, OrgId) |
OrgOlderAaHonosCountGrowth | ORG | Growth in ORG-level count of all HONOS measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderAaHonosCount as New join hist.OrgOlderAaHonosCount as Old using (State, RegId, OrgId) |
OrgOlderAaHonosCompleted | ORG | ORG-level count of completed HONOS measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderAaHonosCompletedChange | ORG | Change in ORG-level count of completed HONOS measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderAaHonosCompleted as New join hist.OrgOlderAaHonosCompleted as Old using (State, RegId, OrgId) |
OrgOlderAaHonosCompletedGrowth | ORG | Growth in ORG-level count of completed HONOS measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderAaHonosCompleted as New join hist.OrgOlderAaHonosCompleted as Old using (State, RegId, OrgId) |
OrgOlderAaHonosCompletionRate | ORG | ORG-level completion rate of HONOS measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgOlderAaHonosCompleted.Total, OrgOlderAaCodCount.Total, 3) as Rate from OrgOlderAaHonosCompleted join OrgOlderAaCodCount using (State, RegId, OrgId) |
OrgOlderAaHonosCompletionRateChange | ORG | Change in ORG-level completion rate of HONOS measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderAaHonosCompletionRate as New join hist.OrgOlderAaHonosCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderAaBasis32Count | ORG | ORG-level count of all BASIS32 measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderAaBasis32CountChange | ORG | Change in ORG-level count of all BASIS32 measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderAaBasis32Count as New join hist.OrgOlderAaBasis32Count as Old using (State, RegId, OrgId) |
OrgOlderAaBasis32CountGrowth | ORG | Growth in ORG-level count of all BASIS32 measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderAaBasis32Count as New join hist.OrgOlderAaBasis32Count as Old using (State, RegId, OrgId) |
OrgOlderAaBasis32Completed | ORG | ORG-level count of completed BASIS32 measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderAaBasis32CompletedChange | ORG | Change in ORG-level count of completed BASIS32 measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderAaBasis32Completed as New join hist.OrgOlderAaBasis32Completed as Old using (State, RegId, OrgId) |
OrgOlderAaBasis32CompletedGrowth | ORG | Growth in ORG-level count of completed BASIS32 measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderAaBasis32Completed as New join hist.OrgOlderAaBasis32Completed as Old using (State, RegId, OrgId) |
OrgOlderAaBasis32CompletionRate | ORG | ORG-level completion rate of BASIS32 measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgOlderAaBasis32Completed.Total, OrgOlderAaCodCount.Total, 3) as Rate from OrgOlderAaBasis32Completed join OrgOlderAaCodCount using (State, RegId, OrgId) |
OrgOlderAaBasis32CompletionRateChange | ORG | Change in ORG-level completion rate of BASIS32 measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderAaBasis32CompletionRate as New join hist.OrgOlderAaBasis32CompletionRate as Old using (State, RegId, OrgId) |
OrgOlderAaK10l3dCount | ORG | ORG-level count of all K10L3D measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderAaK10l3dCountChange | ORG | Change in ORG-level count of all K10L3D measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderAaK10l3dCount as New join hist.OrgOlderAaK10l3dCount as Old using (State, RegId, OrgId) |
OrgOlderAaK10l3dCountGrowth | ORG | Growth in ORG-level count of all K10L3D measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderAaK10l3dCount as New join hist.OrgOlderAaK10l3dCount as Old using (State, RegId, OrgId) |
OrgOlderAaK10l3dCompleted | ORG | ORG-level count of completed K10L3D measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderAaK10l3dCompletedChange | ORG | Change in ORG-level count of completed K10L3D measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderAaK10l3dCompleted as New join hist.OrgOlderAaK10l3dCompleted as Old using (State, RegId, OrgId) |
OrgOlderAaK10l3dCompletedGrowth | ORG | Growth in ORG-level count of completed K10L3D measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderAaK10l3dCompleted as New join hist.OrgOlderAaK10l3dCompleted as Old using (State, RegId, OrgId) |
OrgOlderAaK10l3dCompletionRate | ORG | ORG-level completion rate of K10L3D measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgOlderAaK10l3dCompleted.Total, OrgOlderAaCodCount.Total, 3) as Rate from OrgOlderAaK10l3dCompleted join OrgOlderAaCodCount using (State, RegId, OrgId) |
OrgOlderAaK10l3dCompletionRateChange | ORG | Change in ORG-level completion rate of K10L3D measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderAaK10l3dCompletionRate as New join hist.OrgOlderAaK10l3dCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderAaK10lmCount | ORG | ORG-level count of all K10LM measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderAaK10lmCountChange | ORG | Change in ORG-level count of all K10LM measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderAaK10lmCount as New join hist.OrgOlderAaK10lmCount as Old using (State, RegId, OrgId) |
OrgOlderAaK10lmCountGrowth | ORG | Growth in ORG-level count of all K10LM measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderAaK10lmCount as New join hist.OrgOlderAaK10lmCount as Old using (State, RegId, OrgId) |
OrgOlderAaK10lmCompleted | ORG | ORG-level count of completed K10LM measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderAaK10lmCompletedChange | ORG | Change in ORG-level count of completed K10LM measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderAaK10lmCompleted as New join hist.OrgOlderAaK10lmCompleted as Old using (State, RegId, OrgId) |
OrgOlderAaK10lmCompletedGrowth | ORG | Growth in ORG-level count of completed K10LM measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderAaK10lmCompleted as New join hist.OrgOlderAaK10lmCompleted as Old using (State, RegId, OrgId) |
OrgOlderAaK10lmCompletionRate | ORG | ORG-level completion rate of K10LM measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgOlderAaK10lmCompleted.Total, OrgOlderAaCodCount.Total, 3) as Rate from OrgOlderAaK10lmCompleted join OrgOlderAaCodCount using (State, RegId, OrgId) |
OrgOlderAaK10lmCompletionRateChange | ORG | Change in ORG-level completion rate of K10LM measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderAaK10lmCompletionRate as New join hist.OrgOlderAaK10lmCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderAaMhi38Count | ORG | ORG-level count of all MHI38 measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderAaMhi38CountChange | ORG | Change in ORG-level count of all MHI38 measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderAaMhi38Count as New join hist.OrgOlderAaMhi38Count as Old using (State, RegId, OrgId) |
OrgOlderAaMhi38CountGrowth | ORG | Growth in ORG-level count of all MHI38 measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderAaMhi38Count as New join hist.OrgOlderAaMhi38Count as Old using (State, RegId, OrgId) |
OrgOlderAaMhi38Completed | ORG | ORG-level count of completed MHI38 measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderAaMhi38CompletedChange | ORG | Change in ORG-level count of completed MHI38 measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderAaMhi38Completed as New join hist.OrgOlderAaMhi38Completed as Old using (State, RegId, OrgId) |
OrgOlderAaMhi38CompletedGrowth | ORG | Growth in ORG-level count of completed MHI38 measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderAaMhi38Completed as New join hist.OrgOlderAaMhi38Completed as Old using (State, RegId, OrgId) |
OrgOlderAaMhi38CompletionRate | ORG | ORG-level completion rate of MHI38 measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgOlderAaMhi38Completed.Total, OrgOlderAaCodCount.Total, 3) as Rate from OrgOlderAaMhi38Completed join OrgOlderAaCodCount using (State, RegId, OrgId) |
OrgOlderAaMhi38CompletionRateChange | ORG | Change in ORG-level completion rate of MHI38 measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderAaMhi38CompletionRate as New join hist.OrgOlderAaMhi38CompletionRate as Old using (State, RegId, OrgId) |
OrgOlderAaPocCount | ORG | ORG-level count of all POC measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderAaPocCountChange | ORG | Change in ORG-level count of all POC measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderAaPocCount as New join hist.OrgOlderAaPocCount as Old using (State, RegId, OrgId) |
OrgOlderAaPocCountGrowth | ORG | Growth in ORG-level count of all POC measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderAaPocCount as New join hist.OrgOlderAaPocCount as Old using (State, RegId, OrgId) |
OrgOlderAaPocCompleted | ORG | ORG-level count of completed POC measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('01','02','03') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderAaPocCompletedChange | ORG | Change in ORG-level count of completed POC measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderAaPocCompleted as New join hist.OrgOlderAaPocCompleted as Old using (State, RegId, OrgId) |
OrgOlderAaPocCompletedGrowth | ORG | Growth in ORG-level count of completed POC measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderAaPocCompleted as New join hist.OrgOlderAaPocCompleted as Old using (State, RegId, OrgId) |
OrgOlderAaPocCompletionRate | ORG | ORG-level completion rate of POC measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, sd_div_safe(OrgOlderAaPocCompleted.Total, OrgOlderAaCodCount.Total, 3) as Rate from OrgOlderAaPocCompleted join OrgOlderAaCodCount using (State, RegId, OrgId) |
OrgOlderAaPocCompletionRateChange | ORG | Change in ORG-level completion rate of POC measures for Older age group in Ambulatory setting after Admission | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderAaPocCompletionRate as New join hist.OrgOlderAaPocCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderRaCodCount | ORG | ORG-level count of collection occasions for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD where Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRaHonosCount | ORG | ORG-level count of all HONOS measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRaHonosCountChange | ORG | Change in ORG-level count of all HONOS measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRaHonosCount as New join hist.OrgOlderRaHonosCount as Old using (State, RegId, OrgId) |
OrgOlderRaHonosCountGrowth | ORG | Growth in ORG-level count of all HONOS measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRaHonosCount as New join hist.OrgOlderRaHonosCount as Old using (State, RegId, OrgId) |
OrgOlderRaHonosCompleted | ORG | ORG-level count of completed HONOS measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRaHonosCompletedChange | ORG | Change in ORG-level count of completed HONOS measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRaHonosCompleted as New join hist.OrgOlderRaHonosCompleted as Old using (State, RegId, OrgId) |
OrgOlderRaHonosCompletedGrowth | ORG | Growth in ORG-level count of completed HONOS measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRaHonosCompleted as New join hist.OrgOlderRaHonosCompleted as Old using (State, RegId, OrgId) |
OrgOlderRaHonosCompletionRate | ORG | ORG-level completion rate of HONOS measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(OrgOlderRaHonosCompleted.Total, OrgOlderRaCodCount.Total, 3) as Rate from OrgOlderRaHonosCompleted join OrgOlderRaCodCount using (State, RegId, OrgId) |
OrgOlderRaHonosCompletionRateChange | ORG | Change in ORG-level completion rate of HONOS measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderRaHonosCompletionRate as New join hist.OrgOlderRaHonosCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderRaLsp16Count | ORG | ORG-level count of all LSP16 measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Lsp16Completion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRaLsp16CountChange | ORG | Change in ORG-level count of all LSP16 measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRaLsp16Count as New join hist.OrgOlderRaLsp16Count as Old using (State, RegId, OrgId) |
OrgOlderRaLsp16CountGrowth | ORG | Growth in ORG-level count of all LSP16 measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRaLsp16Count as New join hist.OrgOlderRaLsp16Count as Old using (State, RegId, OrgId) |
OrgOlderRaLsp16Completed | ORG | ORG-level count of completed LSP16 measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Lsp16Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRaLsp16CompletedChange | ORG | Change in ORG-level count of completed LSP16 measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRaLsp16Completed as New join hist.OrgOlderRaLsp16Completed as Old using (State, RegId, OrgId) |
OrgOlderRaLsp16CompletedGrowth | ORG | Growth in ORG-level count of completed LSP16 measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRaLsp16Completed as New join hist.OrgOlderRaLsp16Completed as Old using (State, RegId, OrgId) |
OrgOlderRaLsp16CompletionRate | ORG | ORG-level completion rate of LSP16 measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(OrgOlderRaLsp16Completed.Total, OrgOlderRaCodCount.Total, 3) as Rate from OrgOlderRaLsp16Completed join OrgOlderRaCodCount using (State, RegId, OrgId) |
OrgOlderRaLsp16CompletionRateChange | ORG | Change in ORG-level completion rate of LSP16 measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderRaLsp16CompletionRate as New join hist.OrgOlderRaLsp16CompletionRate as Old using (State, RegId, OrgId) |
OrgOlderRaBasis32Count | ORG | ORG-level count of all BASIS32 measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRaBasis32CountChange | ORG | Change in ORG-level count of all BASIS32 measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRaBasis32Count as New join hist.OrgOlderRaBasis32Count as Old using (State, RegId, OrgId) |
OrgOlderRaBasis32CountGrowth | ORG | Growth in ORG-level count of all BASIS32 measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRaBasis32Count as New join hist.OrgOlderRaBasis32Count as Old using (State, RegId, OrgId) |
OrgOlderRaBasis32Completed | ORG | ORG-level count of completed BASIS32 measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRaBasis32CompletedChange | ORG | Change in ORG-level count of completed BASIS32 measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRaBasis32Completed as New join hist.OrgOlderRaBasis32Completed as Old using (State, RegId, OrgId) |
OrgOlderRaBasis32CompletedGrowth | ORG | Growth in ORG-level count of completed BASIS32 measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRaBasis32Completed as New join hist.OrgOlderRaBasis32Completed as Old using (State, RegId, OrgId) |
OrgOlderRaBasis32CompletionRate | ORG | ORG-level completion rate of BASIS32 measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(OrgOlderRaBasis32Completed.Total, OrgOlderRaCodCount.Total, 3) as Rate from OrgOlderRaBasis32Completed join OrgOlderRaCodCount using (State, RegId, OrgId) |
OrgOlderRaBasis32CompletionRateChange | ORG | Change in ORG-level completion rate of BASIS32 measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderRaBasis32CompletionRate as New join hist.OrgOlderRaBasis32CompletionRate as Old using (State, RegId, OrgId) |
OrgOlderRaK10l3dCount | ORG | ORG-level count of all K10L3D measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRaK10l3dCountChange | ORG | Change in ORG-level count of all K10L3D measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRaK10l3dCount as New join hist.OrgOlderRaK10l3dCount as Old using (State, RegId, OrgId) |
OrgOlderRaK10l3dCountGrowth | ORG | Growth in ORG-level count of all K10L3D measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRaK10l3dCount as New join hist.OrgOlderRaK10l3dCount as Old using (State, RegId, OrgId) |
OrgOlderRaK10l3dCompleted | ORG | ORG-level count of completed K10L3D measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRaK10l3dCompletedChange | ORG | Change in ORG-level count of completed K10L3D measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRaK10l3dCompleted as New join hist.OrgOlderRaK10l3dCompleted as Old using (State, RegId, OrgId) |
OrgOlderRaK10l3dCompletedGrowth | ORG | Growth in ORG-level count of completed K10L3D measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRaK10l3dCompleted as New join hist.OrgOlderRaK10l3dCompleted as Old using (State, RegId, OrgId) |
OrgOlderRaK10l3dCompletionRate | ORG | ORG-level completion rate of K10L3D measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(OrgOlderRaK10l3dCompleted.Total, OrgOlderRaCodCount.Total, 3) as Rate from OrgOlderRaK10l3dCompleted join OrgOlderRaCodCount using (State, RegId, OrgId) |
OrgOlderRaK10l3dCompletionRateChange | ORG | Change in ORG-level completion rate of K10L3D measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderRaK10l3dCompletionRate as New join hist.OrgOlderRaK10l3dCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderRaK10lmCount | ORG | ORG-level count of all K10LM measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRaK10lmCountChange | ORG | Change in ORG-level count of all K10LM measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRaK10lmCount as New join hist.OrgOlderRaK10lmCount as Old using (State, RegId, OrgId) |
OrgOlderRaK10lmCountGrowth | ORG | Growth in ORG-level count of all K10LM measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRaK10lmCount as New join hist.OrgOlderRaK10lmCount as Old using (State, RegId, OrgId) |
OrgOlderRaK10lmCompleted | ORG | ORG-level count of completed K10LM measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRaK10lmCompletedChange | ORG | Change in ORG-level count of completed K10LM measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRaK10lmCompleted as New join hist.OrgOlderRaK10lmCompleted as Old using (State, RegId, OrgId) |
OrgOlderRaK10lmCompletedGrowth | ORG | Growth in ORG-level count of completed K10LM measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRaK10lmCompleted as New join hist.OrgOlderRaK10lmCompleted as Old using (State, RegId, OrgId) |
OrgOlderRaK10lmCompletionRate | ORG | ORG-level completion rate of K10LM measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(OrgOlderRaK10lmCompleted.Total, OrgOlderRaCodCount.Total, 3) as Rate from OrgOlderRaK10lmCompleted join OrgOlderRaCodCount using (State, RegId, OrgId) |
OrgOlderRaK10lmCompletionRateChange | ORG | Change in ORG-level completion rate of K10LM measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderRaK10lmCompletionRate as New join hist.OrgOlderRaK10lmCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderRaMhi38Count | ORG | ORG-level count of all MHI38 measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRaMhi38CountChange | ORG | Change in ORG-level count of all MHI38 measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRaMhi38Count as New join hist.OrgOlderRaMhi38Count as Old using (State, RegId, OrgId) |
OrgOlderRaMhi38CountGrowth | ORG | Growth in ORG-level count of all MHI38 measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRaMhi38Count as New join hist.OrgOlderRaMhi38Count as Old using (State, RegId, OrgId) |
OrgOlderRaMhi38Completed | ORG | ORG-level count of completed MHI38 measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRaMhi38CompletedChange | ORG | Change in ORG-level count of completed MHI38 measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRaMhi38Completed as New join hist.OrgOlderRaMhi38Completed as Old using (State, RegId, OrgId) |
OrgOlderRaMhi38CompletedGrowth | ORG | Growth in ORG-level count of completed MHI38 measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRaMhi38Completed as New join hist.OrgOlderRaMhi38Completed as Old using (State, RegId, OrgId) |
OrgOlderRaMhi38CompletionRate | ORG | ORG-level completion rate of MHI38 measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(OrgOlderRaMhi38Completed.Total, OrgOlderRaCodCount.Total, 3) as Rate from OrgOlderRaMhi38Completed join OrgOlderRaCodCount using (State, RegId, OrgId) |
OrgOlderRaMhi38CompletionRateChange | ORG | Change in ORG-level completion rate of MHI38 measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderRaMhi38CompletionRate as New join hist.OrgOlderRaMhi38CompletionRate as Old using (State, RegId, OrgId) |
OrgOlderRaDiagCount | ORG | ORG-level count of all DIAG measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRaDiagCountChange | ORG | Change in ORG-level count of all DIAG measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRaDiagCount as New join hist.OrgOlderRaDiagCount as Old using (State, RegId, OrgId) |
OrgOlderRaDiagCountGrowth | ORG | Growth in ORG-level count of all DIAG measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRaDiagCount as New join hist.OrgOlderRaDiagCount as Old using (State, RegId, OrgId) |
OrgOlderRaDiagCompleted | ORG | ORG-level count of completed DIAG measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRaDiagCompletedChange | ORG | Change in ORG-level count of completed DIAG measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRaDiagCompleted as New join hist.OrgOlderRaDiagCompleted as Old using (State, RegId, OrgId) |
OrgOlderRaDiagCompletedGrowth | ORG | Growth in ORG-level count of completed DIAG measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRaDiagCompleted as New join hist.OrgOlderRaDiagCompleted as Old using (State, RegId, OrgId) |
OrgOlderRaDiagCompletionRate | ORG | ORG-level completion rate of DIAG measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(OrgOlderRaDiagCompleted.Total, OrgOlderRaCodCount.Total, 3) as Rate from OrgOlderRaDiagCompleted join OrgOlderRaCodCount using (State, RegId, OrgId) |
OrgOlderRaDiagCompletionRateChange | ORG | Change in ORG-level completion rate of DIAG measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderRaDiagCompletionRate as New join hist.OrgOlderRaDiagCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderRaPocCount | ORG | ORG-level count of all POC measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join PocCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRaPocCountChange | ORG | Change in ORG-level count of all POC measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRaPocCount as New join hist.OrgOlderRaPocCount as Old using (State, RegId, OrgId) |
OrgOlderRaPocCountGrowth | ORG | Growth in ORG-level count of all POC measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRaPocCount as New join hist.OrgOlderRaPocCount as Old using (State, RegId, OrgId) |
OrgOlderRaPocCompleted | ORG | ORG-level count of completed POC measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join PocCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRaPocCompletedChange | ORG | Change in ORG-level count of completed POC measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRaPocCompleted as New join hist.OrgOlderRaPocCompleted as Old using (State, RegId, OrgId) |
OrgOlderRaPocCompletedGrowth | ORG | Growth in ORG-level count of completed POC measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRaPocCompleted as New join hist.OrgOlderRaPocCompleted as Old using (State, RegId, OrgId) |
OrgOlderRaPocCompletionRate | ORG | ORG-level completion rate of POC measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(OrgOlderRaPocCompleted.Total, OrgOlderRaCodCount.Total, 3) as Rate from OrgOlderRaPocCompleted join OrgOlderRaCodCount using (State, RegId, OrgId) |
OrgOlderRaPocCompletionRateChange | ORG | Change in ORG-level completion rate of POC measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderRaPocCompletionRate as New join hist.OrgOlderRaPocCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderRaMhlsCount | ORG | ORG-level count of all MHLS measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRaMhlsCountChange | ORG | Change in ORG-level count of all MHLS measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRaMhlsCount as New join hist.OrgOlderRaMhlsCount as Old using (State, RegId, OrgId) |
OrgOlderRaMhlsCountGrowth | ORG | Growth in ORG-level count of all MHLS measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRaMhlsCount as New join hist.OrgOlderRaMhlsCount as Old using (State, RegId, OrgId) |
OrgOlderRaMhlsCompleted | ORG | ORG-level count of completed MHLS measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('04','05') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderRaMhlsCompletedChange | ORG | Change in ORG-level count of completed MHLS measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderRaMhlsCompleted as New join hist.OrgOlderRaMhlsCompleted as Old using (State, RegId, OrgId) |
OrgOlderRaMhlsCompletedGrowth | ORG | Growth in ORG-level count of completed MHLS measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderRaMhlsCompleted as New join hist.OrgOlderRaMhlsCompleted as Old using (State, RegId, OrgId) |
OrgOlderRaMhlsCompletionRate | ORG | ORG-level completion rate of MHLS measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, sd_div_safe(OrgOlderRaMhlsCompleted.Total, OrgOlderRaCodCount.Total, 3) as Rate from OrgOlderRaMhlsCompleted join OrgOlderRaCodCount using (State, RegId, OrgId) |
OrgOlderRaMhlsCompletionRateChange | ORG | Change in ORG-level completion rate of MHLS measures for Older age group in Ambulatory setting after Review | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderRaMhlsCompletionRate as New join hist.OrgOlderRaMhlsCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderDaCodCount | ORG | ORG-level count of collection occasions for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD where Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDaHonosCount | ORG | ORG-level count of all HONOS measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDaHonosCountChange | ORG | Change in ORG-level count of all HONOS measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDaHonosCount as New join hist.OrgOlderDaHonosCount as Old using (State, RegId, OrgId) |
OrgOlderDaHonosCountGrowth | ORG | Growth in ORG-level count of all HONOS measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDaHonosCount as New join hist.OrgOlderDaHonosCount as Old using (State, RegId, OrgId) |
OrgOlderDaHonosCompleted | ORG | ORG-level count of completed HONOS measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join HonosCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDaHonosCompletedChange | ORG | Change in ORG-level count of completed HONOS measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDaHonosCompleted as New join hist.OrgOlderDaHonosCompleted as Old using (State, RegId, OrgId) |
OrgOlderDaHonosCompletedGrowth | ORG | Growth in ORG-level count of completed HONOS measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDaHonosCompleted as New join hist.OrgOlderDaHonosCompleted as Old using (State, RegId, OrgId) |
OrgOlderDaHonosCompletionRate | ORG | ORG-level completion rate of HONOS measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgOlderDaHonosCompleted.Total, OrgOlderDaCodCount.Total, 3) as Rate from OrgOlderDaHonosCompleted join OrgOlderDaCodCount using (State, RegId, OrgId) |
OrgOlderDaHonosCompletionRateChange | ORG | Change in ORG-level completion rate of HONOS measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderDaHonosCompletionRate as New join hist.OrgOlderDaHonosCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderDaLsp16Count | ORG | ORG-level count of all LSP16 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Lsp16Completion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDaLsp16CountChange | ORG | Change in ORG-level count of all LSP16 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDaLsp16Count as New join hist.OrgOlderDaLsp16Count as Old using (State, RegId, OrgId) |
OrgOlderDaLsp16CountGrowth | ORG | Growth in ORG-level count of all LSP16 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDaLsp16Count as New join hist.OrgOlderDaLsp16Count as Old using (State, RegId, OrgId) |
OrgOlderDaLsp16Completed | ORG | ORG-level count of completed LSP16 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Lsp16Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDaLsp16CompletedChange | ORG | Change in ORG-level count of completed LSP16 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDaLsp16Completed as New join hist.OrgOlderDaLsp16Completed as Old using (State, RegId, OrgId) |
OrgOlderDaLsp16CompletedGrowth | ORG | Growth in ORG-level count of completed LSP16 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDaLsp16Completed as New join hist.OrgOlderDaLsp16Completed as Old using (State, RegId, OrgId) |
OrgOlderDaLsp16CompletionRate | ORG | ORG-level completion rate of LSP16 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgOlderDaLsp16Completed.Total, OrgOlderDaCodCount.Total, 3) as Rate from OrgOlderDaLsp16Completed join OrgOlderDaCodCount using (State, RegId, OrgId) |
OrgOlderDaLsp16CompletionRateChange | ORG | Change in ORG-level completion rate of LSP16 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderDaLsp16CompletionRate as New join hist.OrgOlderDaLsp16CompletionRate as Old using (State, RegId, OrgId) |
OrgOlderDaBasis32Count | ORG | ORG-level count of all BASIS32 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Basis32Completion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDaBasis32CountChange | ORG | Change in ORG-level count of all BASIS32 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDaBasis32Count as New join hist.OrgOlderDaBasis32Count as Old using (State, RegId, OrgId) |
OrgOlderDaBasis32CountGrowth | ORG | Growth in ORG-level count of all BASIS32 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDaBasis32Count as New join hist.OrgOlderDaBasis32Count as Old using (State, RegId, OrgId) |
OrgOlderDaBasis32Completed | ORG | ORG-level count of completed BASIS32 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Basis32Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDaBasis32CompletedChange | ORG | Change in ORG-level count of completed BASIS32 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDaBasis32Completed as New join hist.OrgOlderDaBasis32Completed as Old using (State, RegId, OrgId) |
OrgOlderDaBasis32CompletedGrowth | ORG | Growth in ORG-level count of completed BASIS32 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDaBasis32Completed as New join hist.OrgOlderDaBasis32Completed as Old using (State, RegId, OrgId) |
OrgOlderDaBasis32CompletionRate | ORG | ORG-level completion rate of BASIS32 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgOlderDaBasis32Completed.Total, OrgOlderDaCodCount.Total, 3) as Rate from OrgOlderDaBasis32Completed join OrgOlderDaCodCount using (State, RegId, OrgId) |
OrgOlderDaBasis32CompletionRateChange | ORG | Change in ORG-level completion rate of BASIS32 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderDaBasis32CompletionRate as New join hist.OrgOlderDaBasis32CompletionRate as Old using (State, RegId, OrgId) |
OrgOlderDaK10l3dCount | ORG | ORG-level count of all K10L3D measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10l3dCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDaK10l3dCountChange | ORG | Change in ORG-level count of all K10L3D measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDaK10l3dCount as New join hist.OrgOlderDaK10l3dCount as Old using (State, RegId, OrgId) |
OrgOlderDaK10l3dCountGrowth | ORG | Growth in ORG-level count of all K10L3D measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDaK10l3dCount as New join hist.OrgOlderDaK10l3dCount as Old using (State, RegId, OrgId) |
OrgOlderDaK10l3dCompleted | ORG | ORG-level count of completed K10L3D measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10l3dCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDaK10l3dCompletedChange | ORG | Change in ORG-level count of completed K10L3D measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDaK10l3dCompleted as New join hist.OrgOlderDaK10l3dCompleted as Old using (State, RegId, OrgId) |
OrgOlderDaK10l3dCompletedGrowth | ORG | Growth in ORG-level count of completed K10L3D measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDaK10l3dCompleted as New join hist.OrgOlderDaK10l3dCompleted as Old using (State, RegId, OrgId) |
OrgOlderDaK10l3dCompletionRate | ORG | ORG-level completion rate of K10L3D measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgOlderDaK10l3dCompleted.Total, OrgOlderDaCodCount.Total, 3) as Rate from OrgOlderDaK10l3dCompleted join OrgOlderDaCodCount using (State, RegId, OrgId) |
OrgOlderDaK10l3dCompletionRateChange | ORG | Change in ORG-level completion rate of K10L3D measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderDaK10l3dCompletionRate as New join hist.OrgOlderDaK10l3dCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderDaK10lmCount | ORG | ORG-level count of all K10LM measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10lmCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDaK10lmCountChange | ORG | Change in ORG-level count of all K10LM measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDaK10lmCount as New join hist.OrgOlderDaK10lmCount as Old using (State, RegId, OrgId) |
OrgOlderDaK10lmCountGrowth | ORG | Growth in ORG-level count of all K10LM measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDaK10lmCount as New join hist.OrgOlderDaK10lmCount as Old using (State, RegId, OrgId) |
OrgOlderDaK10lmCompleted | ORG | ORG-level count of completed K10LM measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join K10lmCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDaK10lmCompletedChange | ORG | Change in ORG-level count of completed K10LM measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDaK10lmCompleted as New join hist.OrgOlderDaK10lmCompleted as Old using (State, RegId, OrgId) |
OrgOlderDaK10lmCompletedGrowth | ORG | Growth in ORG-level count of completed K10LM measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDaK10lmCompleted as New join hist.OrgOlderDaK10lmCompleted as Old using (State, RegId, OrgId) |
OrgOlderDaK10lmCompletionRate | ORG | ORG-level completion rate of K10LM measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgOlderDaK10lmCompleted.Total, OrgOlderDaCodCount.Total, 3) as Rate from OrgOlderDaK10lmCompleted join OrgOlderDaCodCount using (State, RegId, OrgId) |
OrgOlderDaK10lmCompletionRateChange | ORG | Change in ORG-level completion rate of K10LM measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderDaK10lmCompletionRate as New join hist.OrgOlderDaK10lmCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderDaMhi38Count | ORG | ORG-level count of all MHI38 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Mhi38Completion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDaMhi38CountChange | ORG | Change in ORG-level count of all MHI38 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDaMhi38Count as New join hist.OrgOlderDaMhi38Count as Old using (State, RegId, OrgId) |
OrgOlderDaMhi38CountGrowth | ORG | Growth in ORG-level count of all MHI38 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDaMhi38Count as New join hist.OrgOlderDaMhi38Count as Old using (State, RegId, OrgId) |
OrgOlderDaMhi38Completed | ORG | ORG-level count of completed MHI38 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join Mhi38Completion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDaMhi38CompletedChange | ORG | Change in ORG-level count of completed MHI38 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDaMhi38Completed as New join hist.OrgOlderDaMhi38Completed as Old using (State, RegId, OrgId) |
OrgOlderDaMhi38CompletedGrowth | ORG | Growth in ORG-level count of completed MHI38 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDaMhi38Completed as New join hist.OrgOlderDaMhi38Completed as Old using (State, RegId, OrgId) |
OrgOlderDaMhi38CompletionRate | ORG | ORG-level completion rate of MHI38 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgOlderDaMhi38Completed.Total, OrgOlderDaCodCount.Total, 3) as Rate from OrgOlderDaMhi38Completed join OrgOlderDaCodCount using (State, RegId, OrgId) |
OrgOlderDaMhi38CompletionRateChange | ORG | Change in ORG-level completion rate of MHI38 measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderDaMhi38CompletionRate as New join hist.OrgOlderDaMhi38CompletionRate as Old using (State, RegId, OrgId) |
OrgOlderDaDiagCount | ORG | ORG-level count of all DIAG measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDaDiagCountChange | ORG | Change in ORG-level count of all DIAG measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDaDiagCount as New join hist.OrgOlderDaDiagCount as Old using (State, RegId, OrgId) |
OrgOlderDaDiagCountGrowth | ORG | Growth in ORG-level count of all DIAG measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDaDiagCount as New join hist.OrgOlderDaDiagCount as Old using (State, RegId, OrgId) |
OrgOlderDaDiagCompleted | ORG | ORG-level count of completed DIAG measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join DiagCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDaDiagCompletedChange | ORG | Change in ORG-level count of completed DIAG measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDaDiagCompleted as New join hist.OrgOlderDaDiagCompleted as Old using (State, RegId, OrgId) |
OrgOlderDaDiagCompletedGrowth | ORG | Growth in ORG-level count of completed DIAG measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDaDiagCompleted as New join hist.OrgOlderDaDiagCompleted as Old using (State, RegId, OrgId) |
OrgOlderDaDiagCompletionRate | ORG | ORG-level completion rate of DIAG measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgOlderDaDiagCompleted.Total, OrgOlderDaCodCount.Total, 3) as Rate from OrgOlderDaDiagCompleted join OrgOlderDaCodCount using (State, RegId, OrgId) |
OrgOlderDaDiagCompletionRateChange | ORG | Change in ORG-level completion rate of DIAG measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderDaDiagCompletionRate as New join hist.OrgOlderDaDiagCompletionRate as Old using (State, RegId, OrgId) |
OrgOlderDaMhlsCount | ORG | ORG-level count of all MHLS measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDaMhlsCountChange | ORG | Change in ORG-level count of all MHLS measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDaMhlsCount as New join hist.OrgOlderDaMhlsCount as Old using (State, RegId, OrgId) |
OrgOlderDaMhlsCountGrowth | ORG | Growth in ORG-level count of all MHLS measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDaMhlsCount as New join hist.OrgOlderDaMhlsCount as Old using (State, RegId, OrgId) |
OrgOlderDaMhlsCompleted | ORG | ORG-level count of completed MHLS measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, coalesce(Count, 0) as Total from ORG left join ( select State, RegId, OrgId, count(*) as Count from COD join MhlsCompletion using (ColId) where IsCompleted and Setting = '3' and AgeGrp = '3' and ColRsn in ('06','07','08','09') group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId) |
OrgOlderDaMhlsCompletedChange | ORG | Change in ORG-level count of completed MHLS measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Total - Old.Total) as Change from OrgOlderDaMhlsCompleted as New join hist.OrgOlderDaMhlsCompleted as Old using (State, RegId, OrgId) |
OrgOlderDaMhlsCompletedGrowth | ORG | Growth in ORG-level count of completed MHLS measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from OrgOlderDaMhlsCompleted as New join hist.OrgOlderDaMhlsCompleted as Old using (State, RegId, OrgId) |
OrgOlderDaMhlsCompletionRate | ORG | ORG-level completion rate of MHLS measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, sd_div_safe(OrgOlderDaMhlsCompleted.Total, OrgOlderDaCodCount.Total, 3) as Rate from OrgOlderDaMhlsCompleted join OrgOlderDaCodCount using (State, RegId, OrgId) |
OrgOlderDaMhlsCompletionRateChange | ORG | Change in ORG-level completion rate of MHLS measures for Older age group in Ambulatory setting after Discharge | select State, RegId, OrgId, (New.Rate - Old.Rate) as Change from OrgOlderDaMhlsCompletionRate as New join hist.OrgOlderDaMhlsCompletionRate as Old using (State, RegId, OrgId) |
CodAge | COD | Age at Contact | select ColId, FLOOR((ColDt - DoB) / 365.25) as Age from COD where DoB != '9999-09-09' |
OrgAdmiCount | ORG | Admi Count at ORG Level | select State, RegId, OrgId, coalesce(Count, 0) as Count from ORG left join ( select State, RegId, OrgId, count(*) as Count from SERV where SUType = '1' group by State, RegId, OrgId ) as tmpinner using (State, RegId, OrgId) |
OrgHasAdmi | ORG | SERV Admi Count below ORG | select State, RegId, OrgId, Count from OrgAdmiCount where Count > 0 |
OrgAdmiCACount | ORG | SERV Child and adolescent Count at ORG Level | select State, RegId, OrgId, coalesce(Count, 0) as Count from ORG left join ( select State, RegId, OrgId, count(*) as Count from SERV where SUType = '1' and TargetPop = '1' group by State, RegId, OrgId ) as tmpinner using (State, RegId, OrgId) |
OrgHasAdmiCA | ORG | SERV AdmiCA Count below ORG | select State, RegId, OrgId, Count from OrgAdmiCACount where Count > 0 |
OrgAdmiOldCount | ORG | SERV Older person Count at ORG Level | select State, RegId, OrgId, coalesce(Count, 0) as Count from ORG left join ( select State, RegId, OrgId, count(*) as Count from SERV where SUType = '1' and TargetPop = '2' group by State, RegId, OrgId ) as tmpinner using (State, RegId, OrgId) |
OrgHasAdmiOld | ORG | SERV AdmiOld Count below ORG | select State, RegId, OrgId, Count from OrgAdmiOldCount where Count > 0 |
OrgAdmiForCount | ORG | SERV Forensic Count at ORG Level | select State, RegId, OrgId, coalesce(Count, 0) as Count from ORG left join ( select State, RegId, OrgId, count(*) as Count from SERV where SUType = '1' and TargetPop = '3' group by State, RegId, OrgId ) as tmpinner using (State, RegId, OrgId) |
OrgHasAdmiFor | ORG | SERV AdmiFor Count below ORG | select State, RegId, OrgId, Count from OrgAdmiForCount where Count > 0 |
OrgAdmiGenCount | ORG | SERV General Count at ORG Level | select State, RegId, OrgId, coalesce(Count, 0) as Count from ORG left join ( select State, RegId, OrgId, count(*) as Count from SERV where SUType = '1' and TargetPop = '4' group by State, RegId, OrgId ) as tmpinner using (State, RegId, OrgId) |
OrgHasAdmiGen | ORG | SERV AdmiGen Count below ORG | select State, RegId, OrgId, Count from OrgAdmiGenCount where Count > 0 |
OrgAdmiYthCount | ORG | SERV Youth Count at ORG Level | select State, RegId, OrgId, coalesce(Count, 0) as Count from ORG left join ( select State, RegId, OrgId, count(*) as Count from SERV where SUType = '1' and TargetPop = '5' group by State, RegId, OrgId ) as tmpinner using (State, RegId, OrgId) |
OrgHasAdmiYth | ORG | SERV AdmiYth Count below ORG | select State, RegId, OrgId, Count from OrgAdmiYthCount where Count > 0 |
OrgResiCount | ORG | Resi Count at ORG Level | select State, RegId, OrgId, coalesce(Count, 0) as Count from ORG left join ( select State, RegId, OrgId, count(*) as Count from SERV where SUType = '2' group by State, RegId, OrgId ) as tmpinner using (State, RegId, OrgId) |
OrgHasResi | ORG | SERV Resi Count below ORG | select State, RegId, OrgId, Count from OrgResiCount where Count > 0 |
OrgResiCACount | ORG | SERV Child and adolescent Count at ORG Level | select State, RegId, OrgId, coalesce(Count, 0) as Count from ORG left join ( select State, RegId, OrgId, count(*) as Count from SERV where SUType = '2' and TargetPop = '1' group by State, RegId, OrgId ) as tmpinner using (State, RegId, OrgId) |
OrgHasResiCA | ORG | SERV ResiCA Count below ORG | select State, RegId, OrgId, Count from OrgResiCACount where Count > 0 |
OrgResiOldCount | ORG | SERV Older person Count at ORG Level | select State, RegId, OrgId, coalesce(Count, 0) as Count from ORG left join ( select State, RegId, OrgId, count(*) as Count from SERV where SUType = '2' and TargetPop = '2' group by State, RegId, OrgId ) as tmpinner using (State, RegId, OrgId) |
OrgHasResiOld | ORG | SERV ResiOld Count below ORG | select State, RegId, OrgId, Count from OrgResiOldCount where Count > 0 |
OrgResiForCount | ORG | SERV Forensic Count at ORG Level | select State, RegId, OrgId, coalesce(Count, 0) as Count from ORG left join ( select State, RegId, OrgId, count(*) as Count from SERV where SUType = '2' and TargetPop = '3' group by State, RegId, OrgId ) as tmpinner using (State, RegId, OrgId) |
OrgHasResiFor | ORG | SERV ResiFor Count below ORG | select State, RegId, OrgId, Count from OrgResiForCount where Count > 0 |
OrgResiGenCount | ORG | SERV General Count at ORG Level | select State, RegId, OrgId, coalesce(Count, 0) as Count from ORG left join ( select State, RegId, OrgId, count(*) as Count from SERV where SUType = '2' and TargetPop = '4' group by State, RegId, OrgId ) as tmpinner using (State, RegId, OrgId) |
OrgHasResiGen | ORG | SERV ResiGen Count below ORG | select State, RegId, OrgId, Count from OrgResiGenCount where Count > 0 |
OrgResiYthCount | ORG | SERV Youth Count at ORG Level | select State, RegId, OrgId, coalesce(Count, 0) as Count from ORG left join ( select State, RegId, OrgId, count(*) as Count from SERV where SUType = '2' and TargetPop = '5' group by State, RegId, OrgId ) as tmpinner using (State, RegId, OrgId) |
OrgHasResiYth | ORG | SERV ResiYth Count below ORG | select State, RegId, OrgId, Count from OrgResiYthCount where Count > 0 |
OrgAmbuCount | ORG | Ambu Count at ORG Level | select State, RegId, OrgId, coalesce(Count, 0) as Count from ORG left join ( select State, RegId, OrgId, count(*) as Count from SERV where SUType = '3' group by State, RegId, OrgId ) as tmpinner using (State, RegId, OrgId) |
OrgHasAmbu | ORG | SERV Ambu Count below ORG | select State, RegId, OrgId, Count from OrgAmbuCount where Count > 0 |
OrgAmbuCACount | ORG | SERV Child and adolescent Count at ORG Level | select State, RegId, OrgId, coalesce(Count, 0) as Count from ORG left join ( select State, RegId, OrgId, count(*) as Count from SERV where SUType = '3' and TargetPop = '1' group by State, RegId, OrgId ) as tmpinner using (State, RegId, OrgId) |
OrgHasAmbuCA | ORG | SERV AmbuCA Count below ORG | select State, RegId, OrgId, Count from OrgAmbuCACount where Count > 0 |
OrgAmbuOldCount | ORG | SERV Older person Count at ORG Level | select State, RegId, OrgId, coalesce(Count, 0) as Count from ORG left join ( select State, RegId, OrgId, count(*) as Count from SERV where SUType = '3' and TargetPop = '2' group by State, RegId, OrgId ) as tmpinner using (State, RegId, OrgId) |
OrgHasAmbuOld | ORG | SERV AmbuOld Count below ORG | select State, RegId, OrgId, Count from OrgAmbuOldCount where Count > 0 |
OrgAmbuForCount | ORG | SERV Forensic Count at ORG Level | select State, RegId, OrgId, coalesce(Count, 0) as Count from ORG left join ( select State, RegId, OrgId, count(*) as Count from SERV where SUType = '3' and TargetPop = '3' group by State, RegId, OrgId ) as tmpinner using (State, RegId, OrgId) |
OrgHasAmbuFor | ORG | SERV AmbuFor Count below ORG | select State, RegId, OrgId, Count from OrgAmbuForCount where Count > 0 |
OrgAmbuGenCount | ORG | SERV General Count at ORG Level | select State, RegId, OrgId, coalesce(Count, 0) as Count from ORG left join ( select State, RegId, OrgId, count(*) as Count from SERV where SUType = '3' and TargetPop = '4' group by State, RegId, OrgId ) as tmpinner using (State, RegId, OrgId) |
OrgHasAmbuGen | ORG | SERV AmbuGen Count below ORG | select State, RegId, OrgId, Count from OrgAmbuGenCount where Count > 0 |
OrgAmbuYthCount | ORG | SERV Youth Count at ORG Level | select State, RegId, OrgId, coalesce(Count, 0) as Count from ORG left join ( select State, RegId, OrgId, count(*) as Count from SERV where SUType = '3' and TargetPop = '5' group by State, RegId, OrgId ) as tmpinner using (State, RegId, OrgId) |
OrgHasAmbuYth | ORG | SERV AmbuYth Count below ORG | select State, RegId, OrgId, Count from OrgAmbuYthCount where Count > 0 |
HospClusAdmiCount | HOSPCLUS | Admi Count at HOSPCLUS Level | select State, RegId, OrgId, HospClusId, coalesce(Count, 0) as Count from HOSPCLUS left join ( select State, RegId, OrgId, HospClusId, count(*) as Count from SERV where SUType = '1' group by State, RegId, OrgId, HospClusId ) as tmpinner using (State, RegId, OrgId, HospClusId) |
HospClusHasAdmi | HOSPCLUS | SERV Admi Count below HOSPCLUS | select State, RegId, OrgId, HospClusId, Count from HospClusAdmiCount where Count > 0 |
HospClusResiCount | HOSPCLUS | Resi Count at HOSPCLUS Level | select State, RegId, OrgId, HospClusId, coalesce(Count, 0) as Count from HOSPCLUS left join ( select State, RegId, OrgId, HospClusId, count(*) as Count from SERV where SUType = '2' group by State, RegId, OrgId, HospClusId ) as tmpinner using (State, RegId, OrgId, HospClusId) |
HospClusHasResi | HOSPCLUS | SERV Resi Count below HOSPCLUS | select State, RegId, OrgId, HospClusId, Count from HospClusResiCount where Count > 0 |
HospClusAmbuCount | HOSPCLUS | Ambu Count at HOSPCLUS Level | select State, RegId, OrgId, HospClusId, coalesce(Count, 0) as Count from HOSPCLUS left join ( select State, RegId, OrgId, HospClusId, count(*) as Count from SERV where SUType = '3' group by State, RegId, OrgId, HospClusId ) as tmpinner using (State, RegId, OrgId, HospClusId) |
HospClusHasAmbu | HOSPCLUS | SERV Ambu Count below HOSPCLUS | select State, RegId, OrgId, HospClusId, Count from HospClusAmbuCount where Count > 0 |
ServAdmiCount | SERV | Admi Count at SERV Level | select State, RegId, OrgId, HospClusId, SUId, coalesce(Count, 0) as Count from SERV left join ( select State, RegId, OrgId, HospClusId, SUId, count(*) as Count from SERV where SUType = '1' group by State, RegId, OrgId, HospClusId, SUId ) as tmpinner using (State, RegId, OrgId, HospClusId, SUId) |
ServHasAdmi | SERV | SERV Admi Count below SERV | select State, RegId, OrgId, HospClusId, SUId, Count from ServAdmiCount where Count > 0 |
ServResiCount | SERV | Resi Count at SERV Level | select State, RegId, OrgId, HospClusId, SUId, coalesce(Count, 0) as Count from SERV left join ( select State, RegId, OrgId, HospClusId, SUId, count(*) as Count from SERV where SUType = '2' group by State, RegId, OrgId, HospClusId, SUId ) as tmpinner using (State, RegId, OrgId, HospClusId, SUId) |
ServHasResi | SERV | SERV Resi Count below SERV | select State, RegId, OrgId, HospClusId, SUId, Count from ServResiCount where Count > 0 |
ServAmbuCount | SERV | Ambu Count at SERV Level | select State, RegId, OrgId, HospClusId, SUId, coalesce(Count, 0) as Count from SERV left join ( select State, RegId, OrgId, HospClusId, SUId, count(*) as Count from SERV where SUType = '3' group by State, RegId, OrgId, HospClusId, SUId ) as tmpinner using (State, RegId, OrgId, HospClusId, SUId) |
ServHasAmbu | SERV | SERV Ambu Count below SERV | select State, RegId, OrgId, HospClusId, SUId, Count from ServAmbuCount where Count > 0 |
HospClusInSklOnly | ORG | Hospital or Cluster found in SKL only | select * from HospInSklOnly union select * from ClusInSklOnly |