13. Appendix C: Rules and Virtual Elements

13.1. Rules

13.1.1. AdmiInSklOnly

Class:

Skeleton

Priority:

High

Message:

Serv $skl_name.qt expected from SKL is missing

Mark:

HOSPCLUS

Description:

Admitted Patient Service Unit (ADMI) appears in skeleton data only - A Service Unit (SERV) with matching Ids is expected based on the SKL data but is not present in this file

SQL:
select State,
       RegId,
       OrgId,
       HospClusId,
       SUId as skl_AdmiId,
       skl_entity.AdmiName as skl_name
  from (
        select State,
               RegId,
               OrgId,
               HospId as HospClusId,
               AdmiId as SUId,
               AdmiName
          from skl.Admi
       ) as skl_entity
  left join SERV as checking using (State, RegId, OrgId, HospClusId, SUId)
  left join HOSPCLUS as parent using (State, RegId, OrgId, HospClusId)
 where checking.SUId is null
   and parent.HospClusId is not null
Data Elements:

13.1.2. AdmiNotInSkl

Class:

Skeleton

Priority:

High

Message:

Serv $name.qt not in SKL data

Mark:

SERV

Description:

Service Unit not in skeleton reference data - A matching Admitted Patient Service Unit (ADMI) was not found in the skeleton data

SQL:
select State,
       RegId,
       OrgId,
       HospClusId,
       SUId,
       SERV.SUName as name
  from SERV
  left join (
        select State,
               RegId,
               OrgId,
               HospId as HospClusId,
               AdmiId as SUId
          from ADMI
       ) as skl_entity using (State, RegId, OrgId, HospClusId, SUId)
  left join (
        select State,
               RegId,
               OrgId,
               HospId as HospClusId
          from skl.HOSP
       ) as skl_parent using (State, RegId, OrgId, HospClusId)
 where SUType = '1'
   and skl_entity.SUId is null
   and skl_parent.HospClusId is not null
Data Elements:

13.1.3. BadDx1Ad

Class:

Inconsistent

Priority:

Low

Message:

Principal Diagnosis ($Dx1) and Age ($Age) less than 15

Mark:

DIAG.Dx1

Description:

The following diagnosis codes should not apply to ages less than 15: ‘F03 ‘, ‘F01.0 ‘, ‘F01.1 ‘, ‘F01.2 ‘, ‘F01.3 ‘, ‘F01.8 ‘, ‘F01.9 ‘

SQL:
select ColId,
       Dx1,
       Age
  from DIAG
  join CodAge using (ColId)
 where Dx1 in ('F03   ', 'F01.0 ', 'F01.1 ', 'F01.2 ', 'F01.3 ', 'F01.8 ', 'F01.9 ')
   and Age < 15
Data Elements:
Virtual Elements:

13.1.4. BadDx1F

Class:

Inconsistent

Priority:

High

Message:

Principal Diagnosis ($Dx1) and Sex ($Sex) is not female

Mark:

DIAG.Dx1

Description:

The following diagnosis codes should only apply to females: ‘F53.0 ‘, ‘F53.1 ‘, ‘F53.8 ‘, ‘F53.9 ‘, ‘F32.01’, ‘F32.11’, ‘F32.21’, ‘F32.31’, ‘F32.81’, ‘F32.91’, ‘O99.3 ‘, ‘F52.5 ‘

SQL:
select ColId,
       Dx1,
       Sex
  from DIAG
  join COD using (ColId)
 where Dx1 in ('F53.0 ', 'F53.1 ', 'F53.8 ', 'F53.9 ', 'F32.01', 'F32.11', 'F32.21', 'F32.31', 'F32.81', 'F32.91', 'O99.3 ', 'F52.5 ')
   and Sex is not null
   and Sex != '2'
   and Sex != '3'
Data Elements:

13.1.5. BadDx1LowAge

Class:

Inconsistent

Priority:

Low

Message:

Principal Diagnosis ($Dx1) and Age ($Age) less than 1

Mark:

DIAG.Dx1

Description:

The following diagnosis codes should not apply to ages less than 1: ‘F80.0 ‘, ‘F80.1 ‘, ‘F80.2 ‘, ‘F80.3 ‘, ‘F80.8 ‘, ‘F80.9 ‘, ‘F81.0 ‘, ‘F81.1 ‘, ‘F81.2 ‘, ‘F81.3 ‘, ‘F81.8 ‘, ‘F81.9 ‘, ‘F82 ‘, ‘F83 ‘, ‘F88 ‘, ‘F89 ‘

SQL:
select ColId,
       Dx1,
       Age
  from DIAG
  join CodAge using (ColId)
 where Dx1 in ('F80.0 ', 'F80.1 ', 'F80.2 ', 'F80.3 ', 'F80.8 ', 'F80.9 ', 'F81.0 ', 'F81.1 ', 'F81.2 ', 'F81.3 ', 'F81.8 ', 'F81.9 ', 'F82   ', 'F83   ', 'F88   ', 'F89   ')
   and Age < 1
Data Elements:
Virtual Elements:

13.1.6. BadDx1M

Class:

Inconsistent

Priority:

High

Message:

Principal Diagnosis ($Dx1) and Sex ($Sex) is not male

Mark:

DIAG.Dx1

Description:

The following diagnosis codes should only apply to males: ‘F52.4 ‘

SQL:
select ColId,
       Dx1,
       Sex
  from DIAG
  join COD using (ColId)
 where Dx1 in ('F52.4 ')
   and Sex is not null
   and Sex != '1'
   and Sex != '3'
Data Elements:

13.1.7. BadDx1Ppm

Class:

Inconsistent

Priority:

Low

Message:

Principal Diagnosis ($Dx1) and Age ($Age) not between 10 and 60

Mark:

DIAG.Dx1

Description:

The following diagnosis codes should only apply to ages 10-60: ‘F53 ‘, ‘F53.0 ‘, ‘F53.1 ‘, ‘F53.8 ‘, ‘F53.9 ‘, ‘F32.01’, ‘F32.11’, ‘F32.21’, ‘F32.31’, ‘F32.81’, ‘F32.91’, ‘O99.3 ‘

SQL:
select ColId,
       Dx1,
       Age
  from DIAG
  join CodAge using (ColId)
 where Dx1 in ('F53   ', 'F53.0 ', 'F53.1 ', 'F53.8 ', 'F53.9 ', 'F32.01', 'F32.11', 'F32.21', 'F32.31', 'F32.81', 'F32.91', 'O99.3 ')
   and Age not between 10 and 60
Data Elements:
Virtual Elements:

13.1.8. BadDx2Ad

Class:

Inconsistent

Priority:

Low

Message:

Principal Diagnosis ($Dx2) and Age ($Age) less than 15

Mark:

DIAG.Dx2

Description:

The following diagnosis codes should not apply to ages less than 15: ‘F03 ‘, ‘F01.0 ‘, ‘F01.1 ‘, ‘F01.2 ‘, ‘F01.3 ‘, ‘F01.8 ‘, ‘F01.9 ‘

SQL:
select ColId,
       Dx2,
       Age
  from DIAG
  join CodAge using (ColId)
 where Dx2 in ('F03   ', 'F01.0 ', 'F01.1 ', 'F01.2 ', 'F01.3 ', 'F01.8 ', 'F01.9 ')
   and Age < 15
Data Elements:
Virtual Elements:

13.1.9. BadDx2F

Class:

Inconsistent

Priority:

High

Message:

Principal Diagnosis ($Dx2) and Sex ($Sex) is not female

Mark:

DIAG.Dx2

Description:

The following diagnosis codes should only apply to females: ‘F53.0 ‘, ‘F53.1 ‘, ‘F53.8 ‘, ‘F53.9 ‘, ‘F32.01’, ‘F32.11’, ‘F32.21’, ‘F32.31’, ‘F32.81’, ‘F32.91’, ‘O99.3 ‘, ‘F52.5 ‘

SQL:
select ColId,
       Dx2,
       Sex
  from DIAG
  join COD using (ColId)
 where Dx2 in ('F53.0 ', 'F53.1 ', 'F53.8 ', 'F53.9 ', 'F32.01', 'F32.11', 'F32.21', 'F32.31', 'F32.81', 'F32.91', 'O99.3 ', 'F52.5 ')
   and Sex is not null
   and Sex != '2'
   and Sex != '3'
Data Elements:

13.1.10. BadDx2LowAge

Class:

Inconsistent

Priority:

Low

Message:

Principal Diagnosis ($Dx2) and Age ($Age) less than 1

Mark:

DIAG.Dx2

Description:

The following diagnosis codes should not apply to ages less than 1: ‘F80.0 ‘, ‘F80.1 ‘, ‘F80.2 ‘, ‘F80.3 ‘, ‘F80.8 ‘, ‘F80.9 ‘, ‘F81.0 ‘, ‘F81.1 ‘, ‘F81.2 ‘, ‘F81.3 ‘, ‘F81.8 ‘, ‘F81.9 ‘, ‘F82 ‘, ‘F83 ‘, ‘F88 ‘, ‘F89 ‘

SQL:
select ColId,
       Dx2,
       Age
  from DIAG
  join CodAge using (ColId)
 where Dx2 in ('F80.0 ', 'F80.1 ', 'F80.2 ', 'F80.3 ', 'F80.8 ', 'F80.9 ', 'F81.0 ', 'F81.1 ', 'F81.2 ', 'F81.3 ', 'F81.8 ', 'F81.9 ', 'F82   ', 'F83   ', 'F88   ', 'F89   ')
   and Age < 1
Data Elements:
Virtual Elements:

13.1.11. BadDx2M

Class:

Inconsistent

Priority:

High

Message:

Principal Diagnosis ($Dx2) and Sex ($Sex) is not male

Mark:

DIAG.Dx2

Description:

The following diagnosis codes should only apply to males: ‘F52.4 ‘

SQL:
select ColId,
       Dx2,
       Sex
  from DIAG
  join COD using (ColId)
 where Dx2 in ('F52.4 ')
   and Sex is not null
   and Sex != '1'
   and Sex != '3'
Data Elements:

13.1.12. BadDx2Ppm

Class:

Inconsistent

Priority:

Low

Message:

Principal Diagnosis ($Dx2) and Age ($Age) not between 10 and 60

Mark:

DIAG.Dx2

Description:

The following diagnosis codes should only apply to ages 10-60: ‘F53 ‘, ‘F53.0 ‘, ‘F53.1 ‘, ‘F53.8 ‘, ‘F53.9 ‘, ‘F32.01’, ‘F32.11’, ‘F32.21’, ‘F32.31’, ‘F32.81’, ‘F32.91’, ‘O99.3 ‘

SQL:
select ColId,
       Dx2,
       Age
  from DIAG
  join CodAge using (ColId)
 where Dx2 in ('F53   ', 'F53.0 ', 'F53.1 ', 'F53.8 ', 'F53.9 ', 'F32.01', 'F32.11', 'F32.21', 'F32.31', 'F32.81', 'F32.91', 'O99.3 ')
   and Age not between 10 and 60
Data Elements:
Virtual Elements:

13.1.13. BadDx3Ad

Class:

Inconsistent

Priority:

Low

Message:

Principal Diagnosis ($Dx3) and Age ($Age) less than 15

Mark:

DIAG.Dx3

Description:

The following diagnosis codes should not apply to ages less than 15: ‘F03 ‘, ‘F01.0 ‘, ‘F01.1 ‘, ‘F01.2 ‘, ‘F01.3 ‘, ‘F01.8 ‘, ‘F01.9 ‘

SQL:
select ColId,
       Dx3,
       Age
  from DIAG
  join CodAge using (ColId)
 where Dx3 in ('F03   ', 'F01.0 ', 'F01.1 ', 'F01.2 ', 'F01.3 ', 'F01.8 ', 'F01.9 ')
   and Age < 15
Data Elements:
Virtual Elements:

13.1.14. BadDx3F

Class:

Inconsistent

Priority:

High

Message:

Principal Diagnosis ($Dx3) and Sex ($Sex) is not female

Mark:

DIAG.Dx3

Description:

The following diagnosis codes should only apply to females: ‘F53.0 ‘, ‘F53.1 ‘, ‘F53.8 ‘, ‘F53.9 ‘, ‘F32.01’, ‘F32.11’, ‘F32.21’, ‘F32.31’, ‘F32.81’, ‘F32.91’, ‘O99.3 ‘, ‘F52.5 ‘

SQL:
select ColId,
       Dx3,
       Sex
  from DIAG
  join COD using (ColId)
 where Dx3 in ('F53.0 ', 'F53.1 ', 'F53.8 ', 'F53.9 ', 'F32.01', 'F32.11', 'F32.21', 'F32.31', 'F32.81', 'F32.91', 'O99.3 ', 'F52.5 ')
   and Sex is not null
   and Sex != '2'
   and Sex != '3'
Data Elements:

13.1.15. BadDx3LowAge

Class:

Inconsistent

Priority:

Low

Message:

Principal Diagnosis ($Dx3) and Age ($Age) less than 1

Mark:

DIAG.Dx3

Description:

The following diagnosis codes should not apply to ages less than 1: ‘F80.0 ‘, ‘F80.1 ‘, ‘F80.2 ‘, ‘F80.3 ‘, ‘F80.8 ‘, ‘F80.9 ‘, ‘F81.0 ‘, ‘F81.1 ‘, ‘F81.2 ‘, ‘F81.3 ‘, ‘F81.8 ‘, ‘F81.9 ‘, ‘F82 ‘, ‘F83 ‘, ‘F88 ‘, ‘F89 ‘

SQL:
select ColId,
       Dx3,
       Age
  from DIAG
  join CodAge using (ColId)
 where Dx3 in ('F80.0 ', 'F80.1 ', 'F80.2 ', 'F80.3 ', 'F80.8 ', 'F80.9 ', 'F81.0 ', 'F81.1 ', 'F81.2 ', 'F81.3 ', 'F81.8 ', 'F81.9 ', 'F82   ', 'F83   ', 'F88   ', 'F89   ')
   and Age < 1
Data Elements:
Virtual Elements:

13.1.16. BadDx3M

Class:

Inconsistent

Priority:

High

Message:

Principal Diagnosis ($Dx3) and Sex ($Sex) is not male

Mark:

DIAG.Dx3

Description:

The following diagnosis codes should only apply to males: ‘F52.4 ‘

SQL:
select ColId,
       Dx3,
       Sex
  from DIAG
  join COD using (ColId)
 where Dx3 in ('F52.4 ')
   and Sex is not null
   and Sex != '1'
   and Sex != '3'
Data Elements:

13.1.17. BadDx3Ppm

Class:

Inconsistent

Priority:

Low

Message:

Principal Diagnosis ($Dx3) and Age ($Age) not between 10 and 60

Mark:

DIAG.Dx3

Description:

The following diagnosis codes should only apply to ages 10-60: ‘F53 ‘, ‘F53.0 ‘, ‘F53.1 ‘, ‘F53.8 ‘, ‘F53.9 ‘, ‘F32.01’, ‘F32.11’, ‘F32.21’, ‘F32.31’, ‘F32.81’, ‘F32.91’, ‘O99.3 ‘

SQL:
select ColId,
       Dx3,
       Age
  from DIAG
  join CodAge using (ColId)
 where Dx3 in ('F53   ', 'F53.0 ', 'F53.1 ', 'F53.8 ', 'F53.9 ', 'F32.01', 'F32.11', 'F32.21', 'F32.31', 'F32.81', 'F32.91', 'O99.3 ')
   and Age not between 10 and 60
Data Elements:
Virtual Elements:

13.1.18. Basis32BASIS01Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field BASIS01 (Number)

Mark:

BASIS32.BASIS01

Description:

All spaces in field BASIS01 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       BASIS01
  from BASIS32
 where BASIS01 is null
Data Elements:

13.1.19. Basis32BASIS02Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field BASIS02 (Number)

Mark:

BASIS32.BASIS02

Description:

All spaces in field BASIS02 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       BASIS02
  from BASIS32
 where BASIS02 is null
Data Elements:

13.1.20. Basis32BASIS03Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field BASIS03 (Number)

Mark:

BASIS32.BASIS03

Description:

All spaces in field BASIS03 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       BASIS03
  from BASIS32
 where BASIS03 is null
Data Elements:

13.1.21. Basis32BASIS04Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field BASIS04 (Number)

Mark:

BASIS32.BASIS04

Description:

All spaces in field BASIS04 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       BASIS04
  from BASIS32
 where BASIS04 is null
Data Elements:

13.1.22. Basis32BASIS05Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field BASIS05 (Number)

Mark:

BASIS32.BASIS05

Description:

All spaces in field BASIS05 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       BASIS05
  from BASIS32
 where BASIS05 is null
Data Elements:

13.1.23. Basis32BASIS06Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field BASIS06 (Number)

Mark:

BASIS32.BASIS06

Description:

All spaces in field BASIS06 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       BASIS06
  from BASIS32
 where BASIS06 is null
Data Elements:

13.1.24. Basis32BASIS07Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field BASIS07 (Number)

Mark:

BASIS32.BASIS07

Description:

All spaces in field BASIS07 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       BASIS07
  from BASIS32
 where BASIS07 is null
Data Elements:

13.1.25. Basis32BASIS08Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field BASIS08 (Number)

Mark:

BASIS32.BASIS08

Description:

All spaces in field BASIS08 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       BASIS08
  from BASIS32
 where BASIS08 is null
Data Elements:

13.1.26. Basis32BASIS09Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field BASIS09 (Number)

Mark:

BASIS32.BASIS09

Description:

All spaces in field BASIS09 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       BASIS09
  from BASIS32
 where BASIS09 is null
Data Elements:

13.1.27. Basis32BASIS10Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field BASIS10 (Number)

Mark:

BASIS32.BASIS10

Description:

All spaces in field BASIS10 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       BASIS10
  from BASIS32
 where BASIS10 is null
Data Elements:

13.1.28. Basis32BASIS11Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field BASIS11 (Number)

Mark:

BASIS32.BASIS11

Description:

All spaces in field BASIS11 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       BASIS11
  from BASIS32
 where BASIS11 is null
Data Elements:

13.1.29. Basis32BASIS12Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field BASIS12 (Number)

Mark:

BASIS32.BASIS12

Description:

All spaces in field BASIS12 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       BASIS12
  from BASIS32
 where BASIS12 is null
Data Elements:

13.1.30. Basis32BASIS13Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field BASIS13 (Number)

Mark:

BASIS32.BASIS13

Description:

All spaces in field BASIS13 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       BASIS13
  from BASIS32
 where BASIS13 is null
Data Elements:

13.1.31. Basis32BASIS14Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field BASIS14 (Number)

Mark:

BASIS32.BASIS14

Description:

All spaces in field BASIS14 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       BASIS14
  from BASIS32
 where BASIS14 is null
Data Elements:

13.1.32. Basis32BASIS15Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field BASIS15 (Number)

Mark:

BASIS32.BASIS15

Description:

All spaces in field BASIS15 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       BASIS15
  from BASIS32
 where BASIS15 is null
Data Elements:

13.1.33. Basis32BASIS16Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field BASIS16 (Number)

Mark:

BASIS32.BASIS16

Description:

All spaces in field BASIS16 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       BASIS16
  from BASIS32
 where BASIS16 is null
Data Elements:

13.1.34. Basis32BASIS17Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field BASIS17 (Number)

Mark:

BASIS32.BASIS17

Description:

All spaces in field BASIS17 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       BASIS17
  from BASIS32
 where BASIS17 is null
Data Elements:

13.1.35. Basis32BASIS18Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field BASIS18 (Number)

Mark:

BASIS32.BASIS18

Description:

All spaces in field BASIS18 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       BASIS18
  from BASIS32
 where BASIS18 is null
Data Elements:

13.1.36. Basis32BASIS19Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field BASIS19 (Number)

Mark:

BASIS32.BASIS19

Description:

All spaces in field BASIS19 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       BASIS19
  from BASIS32
 where BASIS19 is null
Data Elements:

13.1.37. Basis32BASIS20Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field BASIS20 (Number)

Mark:

BASIS32.BASIS20

Description:

All spaces in field BASIS20 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       BASIS20
  from BASIS32
 where BASIS20 is null
Data Elements:

13.1.38. Basis32BASIS21Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field BASIS21 (Number)

Mark:

BASIS32.BASIS21

Description:

All spaces in field BASIS21 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       BASIS21
  from BASIS32
 where BASIS21 is null
Data Elements:

13.1.39. Basis32BASIS22Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field BASIS22 (Number)

Mark:

BASIS32.BASIS22

Description:

All spaces in field BASIS22 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       BASIS22
  from BASIS32
 where BASIS22 is null
Data Elements:

13.1.40. Basis32BASIS23Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field BASIS23 (Number)

Mark:

BASIS32.BASIS23

Description:

All spaces in field BASIS23 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       BASIS23
  from BASIS32
 where BASIS23 is null
Data Elements:

13.1.41. Basis32BASIS24Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field BASIS24 (Number)

Mark:

BASIS32.BASIS24

Description:

All spaces in field BASIS24 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       BASIS24
  from BASIS32
 where BASIS24 is null
Data Elements:

13.1.42. Basis32BASIS25Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field BASIS25 (Number)

Mark:

BASIS32.BASIS25

Description:

All spaces in field BASIS25 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       BASIS25
  from BASIS32
 where BASIS25 is null
Data Elements:

13.1.43. Basis32BASIS26Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field BASIS26 (Number)

Mark:

BASIS32.BASIS26

Description:

All spaces in field BASIS26 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       BASIS26
  from BASIS32
 where BASIS26 is null
Data Elements:

13.1.44. Basis32BASIS27Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field BASIS27 (Number)

Mark:

BASIS32.BASIS27

Description:

All spaces in field BASIS27 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       BASIS27
  from BASIS32
 where BASIS27 is null
Data Elements:

13.1.45. Basis32BASIS28Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field BASIS28 (Number)

Mark:

BASIS32.BASIS28

Description:

All spaces in field BASIS28 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       BASIS28
  from BASIS32
 where BASIS28 is null
Data Elements:

13.1.46. Basis32BASIS29Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field BASIS29 (Number)

Mark:

BASIS32.BASIS29

Description:

All spaces in field BASIS29 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       BASIS29
  from BASIS32
 where BASIS29 is null
Data Elements:

13.1.47. Basis32BASIS30Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field BASIS30 (Number)

Mark:

BASIS32.BASIS30

Description:

All spaces in field BASIS30 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       BASIS30
  from BASIS32
 where BASIS30 is null
Data Elements:

13.1.48. Basis32BASIS31Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field BASIS31 (Number)

Mark:

BASIS32.BASIS31

Description:

All spaces in field BASIS31 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       BASIS31
  from BASIS32
 where BASIS31 is null
Data Elements:

13.1.49. Basis32BASIS32Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field BASIS32 (Number)

Mark:

BASIS32.BASIS32

Description:

All spaces in field BASIS32 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       BASIS32
  from BASIS32
 where BASIS32 is null
Data Elements:

13.1.50. Basis32BASISVerMissing

Class:

Missing

Priority:

High

Message:

Missing data - BASISVer $BASISVer.q

Mark:

BASIS32.BASISVer

Description:

Missing data - BASIS32 Version (BASISVer)

SQL:
select ColId,
       BASISVer
  from BASIS32
 where BASISVer is null
Data Elements:

13.1.51. Basis32ColStSpaces

Class:

Invalid

Priority:

High

Message:

All spaces in field ColSt (Char)

Mark:

BASIS32.ColSt

Description:

All spaces in field ColSt (Char). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       ColSt
  from BASIS32
 where ColSt is null
Data Elements:

13.1.52. Basis32Incomplete

Class:

Missing

Priority:

Low

Message:

BASIS32 is Incomplete (at least 27 valid required)

Mark:

BASIS32

Description:

BASIS32 is Incomplete - 27 valid items (valid: 0, 1, 2, 3, 4) are required from: BASIS01, BASIS02, BASIS03, BASIS04, BASIS05, BASIS06, BASIS07, BASIS08, BASIS09, BASIS10, BASIS11, BASIS12, BASIS13, BASIS14, BASIS15, BASIS16, BASIS17, BASIS18, BASIS19, BASIS20, BASIS21, BASIS22, BASIS23, BASIS24, BASIS25, BASIS26, BASIS27, BASIS28, BASIS29, BASIS30, BASIS31, BASIS32

SQL:
select State,
       RegId,
       OrgId,
       ColId,
       IsCompleted
  from COD
  join Basis32 using (ColId)
  join Basis32Completion using (ColId)
 where not IsCompleted
Data Elements:
Virtual Elements:

13.1.53. CgasCgasSpaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Cgas (Number)

Mark:

CGAS.Cgas

Description:

All spaces in field Cgas (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Cgas
  from CGAS
 where Cgas is null
Data Elements:

13.1.54. CgasCgasVerMissing

Class:

Missing

Priority:

High

Message:

Missing data - CgasVer $CgasVer.q

Mark:

CGAS.CgasVer

Description:

Missing data - CGAS Version (CgasVer)

SQL:
select ColId,
       CgasVer
  from CGAS
 where CgasVer is null
Data Elements:

13.1.55. CgasIncomplete

Class:

Missing

Priority:

Low

Message:

CGAS is Incomplete (at least 1 valid required)

Mark:

CGAS

Description:

CGAS is Incomplete - 1 valid items (valid: 1-100) are required from: Cgas

SQL:
select State,
       RegId,
       OrgId,
       ColId,
       IsCompleted
  from COD
  join Cgas using (ColId)
  join CgasCompletion using (ColId)
 where not IsCompleted
Data Elements:
Virtual Elements:

13.1.56. ClusInSklOnly

Class:

Skeleton

Priority:

High

Message:

HospClus $skl_name.qt expected from SKL is missing

Mark:

ORG

Description:

Service Unit Cluster (CLUS) appears in skeleton data only - A Hospital / Cluster (HOSPCLUS) with matching Ids is expected based on the SKL data but is not present in this file

SQL:
select State,
       RegId,
       OrgId,
       HospClusId as skl_ClusId,
       skl_entity.ClusName as skl_name
  from (
        select State,
               RegId,
               OrgId,
               ClusName,
               ClusId as HospClusId
          from skl.Clus
       ) as skl_entity
  left join HOSPCLUS as checking using (State, RegId, OrgId, HospClusId)
  left join ORG as parent using (State, RegId, OrgId)
 where checking.HospClusId is null
   and parent.OrgId is not null
Data Elements:

13.1.57. CodAgeGrpMissing

Class:

Missing

Priority:

High

Message:

Missing data - AgeGrp $AgeGrp.q

Mark:

COD.AgeGrp

Description:

Missing data - Age Group (AgeGrp)

SQL:
select ColId,
       AgeGrp
  from COD
 where AgeGrp is null
Data Elements:

13.1.58. CodDoBMissingPropHigh

Class:

Anomaly

Priority:

High

Message:

Greater than 1% of DoB values are coded as Missing ($total_missing out of $total_all)

Mark:

ORG

Description:

Greater than 1% of COD DoB values in an organisation are coded as Missing

SQL:
with CodDoBMissingProp as (
        select State,
               RegId,
               OrgId,
               count(*) as total_all,
               sum(case when dob = '9999-09-09' then 1 else 0 end) as total_missing
          from COD
         group by State,
                  RegId,
                  OrgId
       ) select State,
       RegId,
       OrgId,
       total_all,
       total_missing
  from CodDoBMissingProp
 where total_all > 0
   and (total_missing::float / total_all::float > 0.01)
Data Elements:

13.1.59. CodSexGenderMissing

Class:

Missing

Priority:

High

Message:

Missing data - at least one of Sex $Sex.q or Gender $Gender.q required

Mark:

COD

Description:

Missing data - at least one of Sex (Sex) or Gender (Gender) required

SQL:
select ColId,
       Sex,
       Gender
  from COD
 where (coalesce(cast(Sex in ('1','2','3','9') as integer),0) + coalesce(cast(Gender in ('1','2','3','4','5','9') as integer),0) + 0) = 0
Data Elements:

13.1.60. CodSexMissingPropHigh

Class:

Anomaly

Priority:

High

Message:

Greater than 0.1% of Sex values are coded as Missing ($total_missing out of $total_all)

Mark:

HR

Description:

Greater than 0.1% of COD Sex values are coded as Missing

SQL:
with CodSexMissingProp as (
        select state,
               count(*) as total_all,
               sum(case when sex = '9' then 1 else 0 end) as total_missing
          from COD
         group by state
       ) select state,
       total_all,
       total_missing
  from CodSexMissingProp
 where total_all > 0
   and (total_missing::float / total_all::float > 0.001)

13.1.61. DiagIncomplete

Class:

Missing

Priority:

Low

Message:

DIAG is Incomplete

Mark:

DIAG

Description:

DIAG is Incomplete

SQL:
select State,
       RegId,
       OrgId,
       ColId,
       IsCompleted
  from COD
  join Diag using (ColId)
  join DiagCompletion using (ColId)
 where not IsCompleted
Data Elements:
Virtual Elements:

13.1.62. DoBBefore1900

Class:

Invalid

Priority:

High

Message:

Date of Birth ($DoB.dmy) before 1900

Mark:

COD.DoB

Description:

Date of Birth before 1900

SQL:
select ColId,
       DoB
  from COD
 where extract(year FROM DoB) < 1900
Data Elements:

13.1.63. FihsFihs1Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Fihs1 (Number)

Mark:

FIHS.Fihs1

Description:

All spaces in field Fihs1 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Fihs1
  from FIHS
 where Fihs1 is null
Data Elements:

13.1.64. FihsFihs2Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Fihs2 (Number)

Mark:

FIHS.Fihs2

Description:

All spaces in field Fihs2 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Fihs2
  from FIHS
 where Fihs2 is null
Data Elements:

13.1.65. FihsFihs3Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Fihs3 (Number)

Mark:

FIHS.Fihs3

Description:

All spaces in field Fihs3 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Fihs3
  from FIHS
 where Fihs3 is null
Data Elements:

13.1.66. FihsFihs4Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Fihs4 (Number)

Mark:

FIHS.Fihs4

Description:

All spaces in field Fihs4 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Fihs4
  from FIHS
 where Fihs4 is null
Data Elements:

13.1.67. FihsFihs5Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Fihs5 (Number)

Mark:

FIHS.Fihs5

Description:

All spaces in field Fihs5 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Fihs5
  from FIHS
 where Fihs5 is null
Data Elements:

13.1.68. FihsFihs6Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Fihs6 (Number)

Mark:

FIHS.Fihs6

Description:

All spaces in field Fihs6 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Fihs6
  from FIHS
 where Fihs6 is null
Data Elements:

13.1.69. FihsFihs7Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Fihs7 (Number)

Mark:

FIHS.Fihs7

Description:

All spaces in field Fihs7 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Fihs7
  from FIHS
 where Fihs7 is null
Data Elements:

13.1.70. FihsFihsVerMissing

Class:

Missing

Priority:

High

Message:

Missing data - FihsVer $FihsVer.q

Mark:

FIHS.FihsVer

Description:

Missing data - FIHS Version (FihsVer)

SQL:
select ColId,
       FihsVer
  from FIHS
 where FihsVer is null
Data Elements:

13.1.71. FihsIncomplete

Class:

Missing

Priority:

Low

Message:

FIHS is Incomplete (at least 6 valid required)

Mark:

FIHS

Description:

FIHS is Incomplete - 6 valid items (valid: 1, 2) are required from: Fihs1, Fihs2, Fihs3, Fihs4, Fihs5, Fihs6, Fihs7

SQL:
select State,
       RegId,
       OrgId,
       ColId,
       IsCompleted
  from COD
  join Fihs using (ColId)
  join FihsCompletion using (ColId)
 where not IsCompleted
Data Elements:
Virtual Elements:

13.1.72. HonosHnos01Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Hnos01 (Number)

Mark:

HONOS.Hnos01

Description:

All spaces in field Hnos01 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Hnos01
  from HONOS
 where Hnos01 is null
Data Elements:

13.1.73. HonosHnos02Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Hnos02 (Number)

Mark:

HONOS.Hnos02

Description:

All spaces in field Hnos02 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Hnos02
  from HONOS
 where Hnos02 is null
Data Elements:

13.1.74. HonosHnos03Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Hnos03 (Number)

Mark:

HONOS.Hnos03

Description:

All spaces in field Hnos03 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Hnos03
  from HONOS
 where Hnos03 is null
Data Elements:

13.1.75. HonosHnos04Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Hnos04 (Number)

Mark:

HONOS.Hnos04

Description:

All spaces in field Hnos04 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Hnos04
  from HONOS
 where Hnos04 is null
Data Elements:

13.1.76. HonosHnos05Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Hnos05 (Number)

Mark:

HONOS.Hnos05

Description:

All spaces in field Hnos05 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Hnos05
  from HONOS
 where Hnos05 is null
Data Elements:

13.1.77. HonosHnos06Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Hnos06 (Number)

Mark:

HONOS.Hnos06

Description:

All spaces in field Hnos06 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Hnos06
  from HONOS
 where Hnos06 is null
Data Elements:

13.1.78. HonosHnos07Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Hnos07 (Number)

Mark:

HONOS.Hnos07

Description:

All spaces in field Hnos07 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Hnos07
  from HONOS
 where Hnos07 is null
Data Elements:

13.1.79. HonosHnos08Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Hnos08 (Number)

Mark:

HONOS.Hnos08

Description:

All spaces in field Hnos08 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Hnos08
  from HONOS
 where Hnos08 is null
Data Elements:

13.1.80. HonosHnos08aSpaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Hnos08a (Char)

Mark:

HONOS.Hnos08a

Description:

All spaces in field Hnos08a (Char). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Hnos08a
  from HONOS
 where Hnos08a is null
Data Elements:

13.1.81. HonosHnos09Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Hnos09 (Number)

Mark:

HONOS.Hnos09

Description:

All spaces in field Hnos09 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Hnos09
  from HONOS
 where Hnos09 is null
Data Elements:

13.1.82. HonosHnos10Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Hnos10 (Number)

Mark:

HONOS.Hnos10

Description:

All spaces in field Hnos10 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Hnos10
  from HONOS
 where Hnos10 is null
Data Elements:

13.1.83. HonosHnos11Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Hnos11 (Number)

Mark:

HONOS.Hnos11

Description:

All spaces in field Hnos11 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Hnos11
  from HONOS
 where Hnos11 is null
Data Elements:

13.1.84. HonosHnos12Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Hnos12 (Number)

Mark:

HONOS.Hnos12

Description:

All spaces in field Hnos12 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Hnos12
  from HONOS
 where Hnos12 is null
Data Elements:

13.1.85. HonosHnosVerMissing

Class:

Missing

Priority:

High

Message:

Missing data - HnosVer $HnosVer.q

Mark:

HONOS.HnosVer

Description:

Missing data - HoNOS Version (HnosVer)

SQL:
select ColId,
       HnosVer
  from HONOS
 where HnosVer is null
Data Elements:

13.1.86. HonosIncomplete

Class:

Missing

Priority:

Low

Message:

HONOS is Incomplete (at least 10 valid required)

Mark:

HONOS

Description:

HONOS is Incomplete - 10 valid items (valid: 0, 1, 2, 3, 4) are required from: Hnos01, Hnos02, Hnos03, Hnos04, Hnos05, Hnos06, Hnos07, Hnos08, Hnos09, Hnos10, Hnos11, Hnos12

SQL:
select State,
       RegId,
       OrgId,
       ColId,
       IsCompleted
  from COD
  join Honos using (ColId)
  join HonosCompletion using (ColId)
 where not IsCompleted
Data Elements:
Virtual Elements:

13.1.87. HonoscaHnosC01Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field HnosC01 (Number)

Mark:

HONOSCA.HnosC01

Description:

All spaces in field HnosC01 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       HnosC01
  from HONOSCA
 where HnosC01 is null
Data Elements:

13.1.88. HonoscaHnosC02Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field HnosC02 (Number)

Mark:

HONOSCA.HnosC02

Description:

All spaces in field HnosC02 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       HnosC02
  from HONOSCA
 where HnosC02 is null
Data Elements:

13.1.89. HonoscaHnosC03Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field HnosC03 (Number)

Mark:

HONOSCA.HnosC03

Description:

All spaces in field HnosC03 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       HnosC03
  from HONOSCA
 where HnosC03 is null
Data Elements:

13.1.90. HonoscaHnosC04Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field HnosC04 (Number)

Mark:

HONOSCA.HnosC04

Description:

All spaces in field HnosC04 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       HnosC04
  from HONOSCA
 where HnosC04 is null
Data Elements:

13.1.91. HonoscaHnosC05Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field HnosC05 (Number)

Mark:

HONOSCA.HnosC05

Description:

All spaces in field HnosC05 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       HnosC05
  from HONOSCA
 where HnosC05 is null
Data Elements:

13.1.92. HonoscaHnosC06Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field HnosC06 (Number)

Mark:

HONOSCA.HnosC06

Description:

All spaces in field HnosC06 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       HnosC06
  from HONOSCA
 where HnosC06 is null
Data Elements:

13.1.93. HonoscaHnosC07Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field HnosC07 (Number)

Mark:

HONOSCA.HnosC07

Description:

All spaces in field HnosC07 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       HnosC07
  from HONOSCA
 where HnosC07 is null
Data Elements:

13.1.94. HonoscaHnosC08Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field HnosC08 (Number)

Mark:

HONOSCA.HnosC08

Description:

All spaces in field HnosC08 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       HnosC08
  from HONOSCA
 where HnosC08 is null
Data Elements:

13.1.95. HonoscaHnosC09Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field HnosC09 (Number)

Mark:

HONOSCA.HnosC09

Description:

All spaces in field HnosC09 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       HnosC09
  from HONOSCA
 where HnosC09 is null
Data Elements:

13.1.96. HonoscaHnosC10Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field HnosC10 (Number)

Mark:

HONOSCA.HnosC10

Description:

All spaces in field HnosC10 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       HnosC10
  from HONOSCA
 where HnosC10 is null
Data Elements:

13.1.97. HonoscaHnosC11Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field HnosC11 (Number)

Mark:

HONOSCA.HnosC11

Description:

All spaces in field HnosC11 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       HnosC11
  from HONOSCA
 where HnosC11 is null
Data Elements:

13.1.98. HonoscaHnosC12Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field HnosC12 (Number)

Mark:

HONOSCA.HnosC12

Description:

All spaces in field HnosC12 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       HnosC12
  from HONOSCA
 where HnosC12 is null
Data Elements:

13.1.99. HonoscaHnosC13Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field HnosC13 (Number)

Mark:

HONOSCA.HnosC13

Description:

All spaces in field HnosC13 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       HnosC13
  from HONOSCA
 where HnosC13 is null
Data Elements:

13.1.100. HonoscaHnosC14Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field HnosC14 (Number)

Mark:

HONOSCA.HnosC14

Description:

All spaces in field HnosC14 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       HnosC14
  from HONOSCA
 where HnosC14 is null
Data Elements:

13.1.101. HonoscaHnosC15Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field HnosC15 (Number)

Mark:

HONOSCA.HnosC15

Description:

All spaces in field HnosC15 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       HnosC15
  from HONOSCA
 where HnosC15 is null
Data Elements:

13.1.102. HonoscaHnosCVerMissing

Class:

Missing

Priority:

High

Message:

Missing data - HnosCVer $HnosCVer.q

Mark:

HONOSCA.HnosCVer

Description:

Missing data - HoNOSCA Version (HnosCVer)

SQL:
select ColId,
       HnosCVer
  from HONOSCA
 where HnosCVer is null
Data Elements:

13.1.103. HonoscaIncomplete

Class:

Missing

Priority:

Low

Message:

HONOSCA is Incomplete (at least 11 valid required)

Mark:

HONOSCA

Description:

HONOSCA is Incomplete - 11 valid items (valid: 0, 1, 2, 3, 4) are required from: HnosC01, HnosC02, HnosC03, HnosC04, HnosC05, HnosC06, HnosC07, HnosC08, HnosC09, HnosC10, HnosC11, HnosC12, HnosC13

SQL:
select State,
       RegId,
       OrgId,
       ColId,
       IsCompleted
  from COD
  join Honosca using (ColId)
  join HonoscaCompletion using (ColId)
 where not IsCompleted
Data Elements:
Virtual Elements:

13.1.104. HospClusClosed

Class:

Historical

Priority:

High

Message:

HospClus closed, historical $hist_name.qt (HospClusId: $hist_HospClusId) no longer exists

Mark:

HR

Description:

Hospital / Cluster Closed - A historical Hospital / Cluster was not found in current data

SQL:
select State,
       hist_entity.State as hist_State,
       hist_entity.RegId as hist_RegId,
       hist_entity.OrgId as hist_OrgId,
       hist_entity.HospClusId as hist_HospClusId,
       hist_entity.HospClusName as hist_name
  from hist.HOSPCLUS as hist_entity
  left join main.HOSPCLUS using (State, RegId, OrgId, HospClusId)
 where HOSPCLUS.HospClusId is null
Data Elements:

13.1.105. HospClusCoLocStatusChanged

Class:

Historical

Priority:

High

Message:

Hospital / Cluster CoLocStatus changed from $hist_CoLocStatus to $CoLocStatus

Mark:

HOSPCLUS.CoLocStatus

Description:

Co-Location Status Changed - Co-Location Status value for Hospital / Cluster differs between historical and current data

SQL:
select State,
       RegId,
       OrgId,
       HospClusId,
       HOSPCLUS.CoLocStatus,
       hist_HOSPCLUS.CoLocStatus as hist_CoLocStatus
  from HOSPCLUS
  join hist.HOSPCLUS as hist_HOSPCLUS using(State, RegId, OrgId, HospClusId)
 where HOSPCLUS.CoLocStatus != hist_HOSPCLUS.CoLocStatus
Data Elements:

13.1.106. HospClusCoLocStatusMissing

Class:

Missing

Priority:

High

Message:

Missing data - CoLocStatus $CoLocStatus.q

Mark:

HOSPCLUS.CoLocStatus

Description:

Missing data - Co-Location Status (CoLocStatus)

SQL:
select State,
       RegId,
       OrgId,
       HospClusId,
       CoLocStatus
  from HOSPCLUS
 where CoLocStatus is null
Data Elements:

13.1.107. HospClusHospClusNameMissing

Class:

Missing

Priority:

High

Message:

Missing data - HospClusName $HospClusName.q

Mark:

HOSPCLUS.HospClusName

Description:

Missing data - Hospital - Cluster Name (HospClusName)

SQL:
select State,
       RegId,
       OrgId,
       HospClusId,
       HospClusName
  from HOSPCLUS
 where HospClusName is null
Data Elements:

13.1.108. HospClusNotInSkl

Class:

Skeleton

Priority:

High

Message:

HospClus $name.qt not in SKL data

Mark:

HOSPCLUS

Description:

Hospital / Cluster not in skeleton reference data - A matching Hospital (HOSP) or Service Unit Cluster (CLUS) was not found in the skeleton data

SQL:
select State,
       RegId,
       OrgId,
       HospClusId,
       HOSPCLUS.HospClusName as name
  from HOSPCLUS
  left join (
        select State,
               RegId,
               OrgId,
               HospId as HospClusId
          from skl.Hosp
         union select State,
               RegId,
               OrgId,
               ClusId as HospClusId
          from skl.Clus
       ) as skl_entity using (State, RegId, OrgId, HospClusId)
  left join skl.ORG as skl_parent using (State, RegId, OrgId)
 where skl_entity.HospClusId is null
   and skl_parent.OrgId is not null
Data Elements:

13.1.109. HospClusOpened

Class:

Historical

Priority:

High

Message:

HospClus opened, $HospClusName.qt (HospClusId: $HospClusId) not in historical data

Mark:

HOSPCLUS

Description:

Hospital / Cluster Opened - A matching Hospital / Cluster was not found in the historical data

SQL:
select State,
       RegId,
       OrgId,
       HospClusId,
       HOSPCLUS.HospClusName
  from main.HOSPCLUS
  left join hist.HOSPCLUS as hist_entity using (State, RegId, OrgId, HospClusId)
 where hist_entity.HospClusId is null
Data Elements:

13.1.110. HospClusRenamed

Class:

Historical

Priority:

High

Message:

HospClus renamed from $hist_name.qt to $HospClusName.qt

Mark:

HOSPCLUS.HospClusName

Description:

Hospital / Cluster Renamed - Hospital / Cluster Name differs between historical and current data

SQL:
select State,
       RegId,
       OrgId,
       HospClusId,
       HOSPCLUS.HospClusName,
       hist_entity.HospClusName as hist_name
  from HOSPCLUS
  join hist.HOSPCLUS as hist_entity using(State, RegId, OrgId, HospClusId)
 where not sloppy_match(HOSPCLUS.HospClusName, hist_entity.HospClusName)
Data Elements:

13.1.111. HospInSklOnly

Class:

Skeleton

Priority:

High

Message:

HospClus $skl_name.qt expected from SKL is missing

Mark:

ORG

Description:

Hospital (HOSP) appears in skeleton data only - A Hospital / Cluster (HOSPCLUS) with matching Ids is expected based on the SKL data but is not present in this file

SQL:
select State,
       RegId,
       OrgId,
       HospClusId as skl_HospId,
       skl_entity.HospName as skl_name
  from (
        select State,
               RegId,
               OrgId,
               HospName,
               HospId as HospClusId
          from skl.Hosp
       ) as skl_entity
  left join HOSPCLUS as checking using (State, RegId, OrgId, HospClusId)
  left join ORG as parent using (State, RegId, OrgId)
 where checking.HospClusId is null
   and parent.OrgId is not null
Data Elements:

13.1.112. HrAdultAaBasis32CompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultAaBasis32CompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of BASIS32 for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultAaBasis32CompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.113. HrAdultAaBasis32VolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultAaBasis32Count exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of BASIS32 for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultAaBasis32CountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.114. HrAdultAaHonosCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultAaHonosCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of HONOS for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultAaHonosCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.115. HrAdultAaHonosVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultAaHonosCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of HONOS for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultAaHonosCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.116. HrAdultAaHonosZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultAaHonosCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of HONOS for Adult age group in Ambulatory setting after Admission

SQL:
select State
  from HrAdultAaHonosCompleted
  join HrAdultAaCodCount using (State)
 where HrAdultAaHonosCompleted.Total = 0
   and HrAdultAaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.117. HrAdultAaK10l3dCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultAaK10l3dCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of K10L3D for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultAaK10l3dCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.118. HrAdultAaK10l3dVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultAaK10l3dCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of K10L3D for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultAaK10l3dCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.119. HrAdultAaK10lmCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultAaK10lmCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of K10LM for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultAaK10lmCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.120. HrAdultAaK10lmVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultAaK10lmCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of K10LM for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultAaK10lmCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.121. HrAdultAaMhi38CompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultAaMhi38CompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of MHI38 for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultAaMhi38CompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.122. HrAdultAaMhi38VolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultAaMhi38Count exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of MHI38 for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultAaMhi38CountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.123. HrAdultAaPocCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultAaPocCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of POC for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultAaPocCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.124. HrAdultAaPocVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultAaPocCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of POC for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultAaPocCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.125. HrAdultAaPocZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultAaPocCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of POC for Adult age group in Ambulatory setting after Admission

SQL:
select State
  from HrAdultAaPocCompleted
  join HrAdultAaCodCount using (State)
 where HrAdultAaPocCompleted.Total = 0
   and HrAdultAaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.126. HrAdultAaSelfRepZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultAaSelfRepCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of self-reported meastures for Adult age group in Ambulatory setting after Admission

SQL:
select HrAdultAaCodCount.State as State
  from HrAdultAaCodCount
  join HrAdultAaMhi38Completed using (State)
  join HrAdultAaBasis32Completed using (State)
  join HrAdultAaK10lmCompleted using (State)
  join HrAdultAaK10l3dCompleted using (State)
 where HrAdultAaMhi38Completed.Total = 0
   and HrAdultAaBasis32Completed.Total = 0
   and HrAdultAaK10lmCompleted.Total = 0
   and HrAdultAaK10l3dCompleted.Total = 0
   and HrAdultAaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.127. HrAdultAiHonosCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultAiHonosCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of HONOS for Adult age group in Inpatient setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultAiHonosCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.128. HrAdultAiHonosVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultAiHonosCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of HONOS for Adult age group in Inpatient setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultAiHonosCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.129. HrAdultAiHonosZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultAiHonosCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of HONOS for Adult age group in Inpatient setting after Admission

SQL:
select State
  from HrAdultAiHonosCompleted
  join HrAdultAiCodCount using (State)
 where HrAdultAiHonosCompleted.Total = 0
   and HrAdultAiCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.130. HrAdultAiPocCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultAiPocCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of POC for Adult age group in Inpatient setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultAiPocCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.131. HrAdultAiPocVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultAiPocCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of POC for Adult age group in Inpatient setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultAiPocCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.132. HrAdultAiPocZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultAiPocCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of POC for Adult age group in Inpatient setting after Admission

SQL:
select State
  from HrAdultAiPocCompleted
  join HrAdultAiCodCount using (State)
 where HrAdultAiPocCompleted.Total = 0
   and HrAdultAiCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.133. HrAdultArBasis32CompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultArBasis32CompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of BASIS32 for Adult age group in Residential setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultArBasis32CompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.134. HrAdultArBasis32VolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultArBasis32Count exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of BASIS32 for Adult age group in Residential setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultArBasis32CountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.135. HrAdultArHonosCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultArHonosCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of HONOS for Adult age group in Residential setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultArHonosCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.136. HrAdultArHonosVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultArHonosCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of HONOS for Adult age group in Residential setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultArHonosCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.137. HrAdultArHonosZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultArHonosCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of HONOS for Adult age group in Residential setting after Admission

SQL:
select State
  from HrAdultArHonosCompleted
  join HrAdultArCodCount using (State)
 where HrAdultArHonosCompleted.Total = 0
   and HrAdultArCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.138. HrAdultArK10l3dCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultArK10l3dCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of K10L3D for Adult age group in Residential setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultArK10l3dCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.139. HrAdultArK10l3dVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultArK10l3dCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of K10L3D for Adult age group in Residential setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultArK10l3dCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.140. HrAdultArK10lmCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultArK10lmCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of K10LM for Adult age group in Residential setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultArK10lmCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.141. HrAdultArK10lmVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultArK10lmCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of K10LM for Adult age group in Residential setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultArK10lmCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.142. HrAdultArLsp16CompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultArLsp16CompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of LSP16 for Adult age group in Residential setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultArLsp16CompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.143. HrAdultArLsp16VolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultArLsp16Count exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of LSP16 for Adult age group in Residential setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultArLsp16CountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.144. HrAdultArLsp16ZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultArLsp16CompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of LSP16 for Adult age group in Residential setting after Admission

SQL:
select State
  from HrAdultArLsp16Completed
  join HrAdultArCodCount using (State)
 where HrAdultArLsp16Completed.Total = 0
   and HrAdultArCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.145. HrAdultArMhi38CompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultArMhi38CompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of MHI38 for Adult age group in Residential setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultArMhi38CompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.146. HrAdultArMhi38VolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultArMhi38Count exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of MHI38 for Adult age group in Residential setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultArMhi38CountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.147. HrAdultArPocCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultArPocCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of POC for Adult age group in Residential setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultArPocCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.148. HrAdultArPocVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultArPocCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of POC for Adult age group in Residential setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultArPocCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.149. HrAdultArPocZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultArPocCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of POC for Adult age group in Residential setting after Admission

SQL:
select State
  from HrAdultArPocCompleted
  join HrAdultArCodCount using (State)
 where HrAdultArPocCompleted.Total = 0
   and HrAdultArCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.150. HrAdultArSelfRepZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultArSelfRepCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of self-reported meastures for Adult age group in Residential setting after Admission

SQL:
select HrAdultArCodCount.State as State
  from HrAdultArCodCount
  join HrAdultArMhi38Completed using (State)
  join HrAdultArBasis32Completed using (State)
  join HrAdultArK10lmCompleted using (State)
  join HrAdultArK10l3dCompleted using (State)
 where HrAdultArMhi38Completed.Total = 0
   and HrAdultArBasis32Completed.Total = 0
   and HrAdultArK10lmCompleted.Total = 0
   and HrAdultArK10l3dCompleted.Total = 0
   and HrAdultArCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.151. HrAdultDaBasis32CompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDaBasis32CompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of BASIS32 for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultDaBasis32CompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.152. HrAdultDaBasis32VolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDaBasis32Count exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of BASIS32 for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultDaBasis32CountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.153. HrAdultDaDiagCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDaDiagCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of DIAG for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultDaDiagCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.154. HrAdultDaDiagVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDaDiagCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of DIAG for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultDaDiagCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.155. HrAdultDaDiagZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultDaDiagCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of DIAG for Adult age group in Ambulatory setting after Discharge

SQL:
select State
  from HrAdultDaDiagCompleted
  join HrAdultDaCodCount using (State)
 where HrAdultDaDiagCompleted.Total = 0
   and HrAdultDaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.156. HrAdultDaHonosCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDaHonosCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of HONOS for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultDaHonosCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.157. HrAdultDaHonosVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDaHonosCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of HONOS for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultDaHonosCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.158. HrAdultDaHonosZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultDaHonosCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of HONOS for Adult age group in Ambulatory setting after Discharge

SQL:
select State
  from HrAdultDaHonosCompleted
  join HrAdultDaCodCount using (State)
 where HrAdultDaHonosCompleted.Total = 0
   and HrAdultDaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.159. HrAdultDaK10l3dCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDaK10l3dCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of K10L3D for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultDaK10l3dCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.160. HrAdultDaK10l3dVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDaK10l3dCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of K10L3D for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultDaK10l3dCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.161. HrAdultDaK10lmCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDaK10lmCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of K10LM for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultDaK10lmCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.162. HrAdultDaK10lmVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDaK10lmCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of K10LM for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultDaK10lmCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.163. HrAdultDaLsp16CompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDaLsp16CompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of LSP16 for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultDaLsp16CompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.164. HrAdultDaLsp16VolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDaLsp16Count exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of LSP16 for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultDaLsp16CountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.165. HrAdultDaLsp16ZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultDaLsp16CompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of LSP16 for Adult age group in Ambulatory setting after Discharge

SQL:
select State
  from HrAdultDaLsp16Completed
  join HrAdultDaCodCount using (State)
 where HrAdultDaLsp16Completed.Total = 0
   and HrAdultDaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.166. HrAdultDaMhi38CompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDaMhi38CompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of MHI38 for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultDaMhi38CompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.167. HrAdultDaMhi38VolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDaMhi38Count exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of MHI38 for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultDaMhi38CountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.168. HrAdultDaMhlsCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDaMhlsCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of MHLS for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultDaMhlsCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.169. HrAdultDaMhlsVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDaMhlsCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of MHLS for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultDaMhlsCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.170. HrAdultDaMhlsZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultDaMhlsCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of MHLS for Adult age group in Ambulatory setting after Discharge

SQL:
select State
  from HrAdultDaMhlsCompleted
  join HrAdultDaCodCount using (State)
 where HrAdultDaMhlsCompleted.Total = 0
   and HrAdultDaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.171. HrAdultDaSelfRepZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultDaSelfRepCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of self-reported meastures for Adult age group in Ambulatory setting after Discharge

SQL:
select HrAdultDaCodCount.State as State
  from HrAdultDaCodCount
  join HrAdultDaMhi38Completed using (State)
  join HrAdultDaBasis32Completed using (State)
  join HrAdultDaK10lmCompleted using (State)
  join HrAdultDaK10l3dCompleted using (State)
 where HrAdultDaMhi38Completed.Total = 0
   and HrAdultDaBasis32Completed.Total = 0
   and HrAdultDaK10lmCompleted.Total = 0
   and HrAdultDaK10l3dCompleted.Total = 0
   and HrAdultDaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.172. HrAdultDiDiagCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDiDiagCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of DIAG for Adult age group in Inpatient setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultDiDiagCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.173. HrAdultDiDiagVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDiDiagCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of DIAG for Adult age group in Inpatient setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultDiDiagCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.174. HrAdultDiDiagZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultDiDiagCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of DIAG for Adult age group in Inpatient setting after Discharge

SQL:
select State
  from HrAdultDiDiagCompleted
  join HrAdultDiCodCount using (State)
 where HrAdultDiDiagCompleted.Total = 0
   and HrAdultDiCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.175. HrAdultDiHonosCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDiHonosCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of HONOS for Adult age group in Inpatient setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultDiHonosCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.176. HrAdultDiHonosVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDiHonosCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of HONOS for Adult age group in Inpatient setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultDiHonosCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.177. HrAdultDiHonosZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultDiHonosCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of HONOS for Adult age group in Inpatient setting after Discharge

SQL:
select State
  from HrAdultDiHonosCompleted
  join HrAdultDiCodCount using (State)
 where HrAdultDiHonosCompleted.Total = 0
   and HrAdultDiCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.178. HrAdultDiMhlsCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDiMhlsCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of MHLS for Adult age group in Inpatient setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultDiMhlsCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.179. HrAdultDiMhlsVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDiMhlsCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of MHLS for Adult age group in Inpatient setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultDiMhlsCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.180. HrAdultDiMhlsZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultDiMhlsCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of MHLS for Adult age group in Inpatient setting after Discharge

SQL:
select State
  from HrAdultDiMhlsCompleted
  join HrAdultDiCodCount using (State)
 where HrAdultDiMhlsCompleted.Total = 0
   and HrAdultDiCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.181. HrAdultDrBasis32CompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDrBasis32CompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of BASIS32 for Adult age group in Residential setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultDrBasis32CompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.182. HrAdultDrBasis32VolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDrBasis32Count exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of BASIS32 for Adult age group in Residential setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultDrBasis32CountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.183. HrAdultDrDiagCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDrDiagCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of DIAG for Adult age group in Residential setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultDrDiagCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.184. HrAdultDrDiagVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDrDiagCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of DIAG for Adult age group in Residential setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultDrDiagCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.185. HrAdultDrDiagZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultDrDiagCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of DIAG for Adult age group in Residential setting after Discharge

SQL:
select State
  from HrAdultDrDiagCompleted
  join HrAdultDrCodCount using (State)
 where HrAdultDrDiagCompleted.Total = 0
   and HrAdultDrCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.186. HrAdultDrHonosCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDrHonosCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of HONOS for Adult age group in Residential setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultDrHonosCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.187. HrAdultDrHonosVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDrHonosCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of HONOS for Adult age group in Residential setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultDrHonosCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.188. HrAdultDrHonosZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultDrHonosCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of HONOS for Adult age group in Residential setting after Discharge

SQL:
select State
  from HrAdultDrHonosCompleted
  join HrAdultDrCodCount using (State)
 where HrAdultDrHonosCompleted.Total = 0
   and HrAdultDrCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.189. HrAdultDrK10l3dCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDrK10l3dCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of K10L3D for Adult age group in Residential setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultDrK10l3dCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.190. HrAdultDrK10l3dVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDrK10l3dCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of K10L3D for Adult age group in Residential setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultDrK10l3dCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.191. HrAdultDrK10lmCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDrK10lmCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of K10LM for Adult age group in Residential setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultDrK10lmCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.192. HrAdultDrK10lmVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDrK10lmCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of K10LM for Adult age group in Residential setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultDrK10lmCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.193. HrAdultDrLsp16CompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDrLsp16CompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of LSP16 for Adult age group in Residential setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultDrLsp16CompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.194. HrAdultDrLsp16VolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDrLsp16Count exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of LSP16 for Adult age group in Residential setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultDrLsp16CountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.195. HrAdultDrLsp16ZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultDrLsp16CompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of LSP16 for Adult age group in Residential setting after Discharge

SQL:
select State
  from HrAdultDrLsp16Completed
  join HrAdultDrCodCount using (State)
 where HrAdultDrLsp16Completed.Total = 0
   and HrAdultDrCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.196. HrAdultDrMhi38CompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDrMhi38CompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of MHI38 for Adult age group in Residential setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultDrMhi38CompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.197. HrAdultDrMhi38VolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDrMhi38Count exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of MHI38 for Adult age group in Residential setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultDrMhi38CountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.198. HrAdultDrMhlsCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDrMhlsCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of MHLS for Adult age group in Residential setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultDrMhlsCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.199. HrAdultDrMhlsVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultDrMhlsCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of MHLS for Adult age group in Residential setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultDrMhlsCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.200. HrAdultDrMhlsZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultDrMhlsCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of MHLS for Adult age group in Residential setting after Discharge

SQL:
select State
  from HrAdultDrMhlsCompleted
  join HrAdultDrCodCount using (State)
 where HrAdultDrMhlsCompleted.Total = 0
   and HrAdultDrCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.201. HrAdultDrSelfRepZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultDrSelfRepCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of self-reported meastures for Adult age group in Residential setting after Discharge

SQL:
select HrAdultDrCodCount.State as State
  from HrAdultDrCodCount
  join HrAdultDrMhi38Completed using (State)
  join HrAdultDrBasis32Completed using (State)
  join HrAdultDrK10lmCompleted using (State)
  join HrAdultDrK10l3dCompleted using (State)
 where HrAdultDrMhi38Completed.Total = 0
   and HrAdultDrBasis32Completed.Total = 0
   and HrAdultDrK10lmCompleted.Total = 0
   and HrAdultDrK10l3dCompleted.Total = 0
   and HrAdultDrCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.202. HrAdultRaBasis32CompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRaBasis32CompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of BASIS32 for Adult age group in Ambulatory setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultRaBasis32CompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.203. HrAdultRaBasis32VolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRaBasis32Count exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of BASIS32 for Adult age group in Ambulatory setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultRaBasis32CountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.204. HrAdultRaDiagCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRaDiagCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of DIAG for Adult age group in Ambulatory setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultRaDiagCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.205. HrAdultRaDiagVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRaDiagCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of DIAG for Adult age group in Ambulatory setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultRaDiagCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.206. HrAdultRaDiagZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultRaDiagCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of DIAG for Adult age group in Ambulatory setting after Review

SQL:
select State
  from HrAdultRaDiagCompleted
  join HrAdultRaCodCount using (State)
 where HrAdultRaDiagCompleted.Total = 0
   and HrAdultRaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.207. HrAdultRaHonosCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRaHonosCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of HONOS for Adult age group in Ambulatory setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultRaHonosCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.208. HrAdultRaHonosVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRaHonosCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of HONOS for Adult age group in Ambulatory setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultRaHonosCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.209. HrAdultRaHonosZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultRaHonosCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of HONOS for Adult age group in Ambulatory setting after Review

SQL:
select State
  from HrAdultRaHonosCompleted
  join HrAdultRaCodCount using (State)
 where HrAdultRaHonosCompleted.Total = 0
   and HrAdultRaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.210. HrAdultRaK10l3dCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRaK10l3dCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of K10L3D for Adult age group in Ambulatory setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultRaK10l3dCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.211. HrAdultRaK10l3dVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRaK10l3dCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of K10L3D for Adult age group in Ambulatory setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultRaK10l3dCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.212. HrAdultRaK10lmCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRaK10lmCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of K10LM for Adult age group in Ambulatory setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultRaK10lmCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.213. HrAdultRaK10lmVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRaK10lmCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of K10LM for Adult age group in Ambulatory setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultRaK10lmCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.214. HrAdultRaLsp16CompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRaLsp16CompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of LSP16 for Adult age group in Ambulatory setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultRaLsp16CompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.215. HrAdultRaLsp16VolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRaLsp16Count exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of LSP16 for Adult age group in Ambulatory setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultRaLsp16CountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.216. HrAdultRaLsp16ZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultRaLsp16CompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of LSP16 for Adult age group in Ambulatory setting after Review

SQL:
select State
  from HrAdultRaLsp16Completed
  join HrAdultRaCodCount using (State)
 where HrAdultRaLsp16Completed.Total = 0
   and HrAdultRaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.217. HrAdultRaMhi38CompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRaMhi38CompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of MHI38 for Adult age group in Ambulatory setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultRaMhi38CompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.218. HrAdultRaMhi38VolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRaMhi38Count exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of MHI38 for Adult age group in Ambulatory setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultRaMhi38CountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.219. HrAdultRaMhlsCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRaMhlsCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of MHLS for Adult age group in Ambulatory setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultRaMhlsCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.220. HrAdultRaMhlsVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRaMhlsCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of MHLS for Adult age group in Ambulatory setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultRaMhlsCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.221. HrAdultRaMhlsZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultRaMhlsCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of MHLS for Adult age group in Ambulatory setting after Review

SQL:
select State
  from HrAdultRaMhlsCompleted
  join HrAdultRaCodCount using (State)
 where HrAdultRaMhlsCompleted.Total = 0
   and HrAdultRaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.222. HrAdultRaPocCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRaPocCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of POC for Adult age group in Ambulatory setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultRaPocCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.223. HrAdultRaPocVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRaPocCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of POC for Adult age group in Ambulatory setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultRaPocCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.224. HrAdultRaPocZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultRaPocCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of POC for Adult age group in Ambulatory setting after Review

SQL:
select State
  from HrAdultRaPocCompleted
  join HrAdultRaCodCount using (State)
 where HrAdultRaPocCompleted.Total = 0
   and HrAdultRaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.225. HrAdultRaSelfRepZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultRaSelfRepCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of self-reported meastures for Adult age group in Ambulatory setting after Review

SQL:
select HrAdultRaCodCount.State as State
  from HrAdultRaCodCount
  join HrAdultRaMhi38Completed using (State)
  join HrAdultRaBasis32Completed using (State)
  join HrAdultRaK10lmCompleted using (State)
  join HrAdultRaK10l3dCompleted using (State)
 where HrAdultRaMhi38Completed.Total = 0
   and HrAdultRaBasis32Completed.Total = 0
   and HrAdultRaK10lmCompleted.Total = 0
   and HrAdultRaK10l3dCompleted.Total = 0
   and HrAdultRaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.226. HrAdultRiDiagCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRiDiagCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of DIAG for Adult age group in Inpatient setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultRiDiagCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.227. HrAdultRiDiagVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRiDiagCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of DIAG for Adult age group in Inpatient setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultRiDiagCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.228. HrAdultRiDiagZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultRiDiagCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of DIAG for Adult age group in Inpatient setting after Review

SQL:
select State
  from HrAdultRiDiagCompleted
  join HrAdultRiCodCount using (State)
 where HrAdultRiDiagCompleted.Total = 0
   and HrAdultRiCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.229. HrAdultRiHonosCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRiHonosCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of HONOS for Adult age group in Inpatient setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultRiHonosCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.230. HrAdultRiHonosVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRiHonosCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of HONOS for Adult age group in Inpatient setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultRiHonosCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.231. HrAdultRiHonosZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultRiHonosCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of HONOS for Adult age group in Inpatient setting after Review

SQL:
select State
  from HrAdultRiHonosCompleted
  join HrAdultRiCodCount using (State)
 where HrAdultRiHonosCompleted.Total = 0
   and HrAdultRiCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.232. HrAdultRiMhlsCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRiMhlsCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of MHLS for Adult age group in Inpatient setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultRiMhlsCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.233. HrAdultRiMhlsVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRiMhlsCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of MHLS for Adult age group in Inpatient setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultRiMhlsCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.234. HrAdultRiMhlsZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultRiMhlsCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of MHLS for Adult age group in Inpatient setting after Review

SQL:
select State
  from HrAdultRiMhlsCompleted
  join HrAdultRiCodCount using (State)
 where HrAdultRiMhlsCompleted.Total = 0
   and HrAdultRiCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.235. HrAdultRiPocCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRiPocCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of POC for Adult age group in Inpatient setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultRiPocCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.236. HrAdultRiPocVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRiPocCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of POC for Adult age group in Inpatient setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultRiPocCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.237. HrAdultRiPocZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultRiPocCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of POC for Adult age group in Inpatient setting after Review

SQL:
select State
  from HrAdultRiPocCompleted
  join HrAdultRiCodCount using (State)
 where HrAdultRiPocCompleted.Total = 0
   and HrAdultRiCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.238. HrAdultRrBasis32CompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRrBasis32CompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of BASIS32 for Adult age group in Residential setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultRrBasis32CompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.239. HrAdultRrBasis32VolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRrBasis32Count exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of BASIS32 for Adult age group in Residential setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultRrBasis32CountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.240. HrAdultRrDiagCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRrDiagCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of DIAG for Adult age group in Residential setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultRrDiagCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.241. HrAdultRrDiagVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRrDiagCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of DIAG for Adult age group in Residential setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultRrDiagCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.242. HrAdultRrDiagZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultRrDiagCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of DIAG for Adult age group in Residential setting after Review

SQL:
select State
  from HrAdultRrDiagCompleted
  join HrAdultRrCodCount using (State)
 where HrAdultRrDiagCompleted.Total = 0
   and HrAdultRrCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.243. HrAdultRrHonosCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRrHonosCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of HONOS for Adult age group in Residential setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultRrHonosCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.244. HrAdultRrHonosVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRrHonosCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of HONOS for Adult age group in Residential setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultRrHonosCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.245. HrAdultRrHonosZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultRrHonosCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of HONOS for Adult age group in Residential setting after Review

SQL:
select State
  from HrAdultRrHonosCompleted
  join HrAdultRrCodCount using (State)
 where HrAdultRrHonosCompleted.Total = 0
   and HrAdultRrCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.246. HrAdultRrK10l3dCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRrK10l3dCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of K10L3D for Adult age group in Residential setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultRrK10l3dCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.247. HrAdultRrK10l3dVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRrK10l3dCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of K10L3D for Adult age group in Residential setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultRrK10l3dCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.248. HrAdultRrK10lmCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRrK10lmCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of K10LM for Adult age group in Residential setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultRrK10lmCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.249. HrAdultRrK10lmVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRrK10lmCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of K10LM for Adult age group in Residential setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultRrK10lmCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.250. HrAdultRrLsp16CompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRrLsp16CompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of LSP16 for Adult age group in Residential setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultRrLsp16CompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.251. HrAdultRrLsp16VolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRrLsp16Count exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of LSP16 for Adult age group in Residential setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultRrLsp16CountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.252. HrAdultRrLsp16ZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultRrLsp16CompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of LSP16 for Adult age group in Residential setting after Review

SQL:
select State
  from HrAdultRrLsp16Completed
  join HrAdultRrCodCount using (State)
 where HrAdultRrLsp16Completed.Total = 0
   and HrAdultRrCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.253. HrAdultRrMhi38CompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRrMhi38CompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of MHI38 for Adult age group in Residential setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultRrMhi38CompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.254. HrAdultRrMhi38VolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRrMhi38Count exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of MHI38 for Adult age group in Residential setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultRrMhi38CountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.255. HrAdultRrMhlsCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRrMhlsCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of MHLS for Adult age group in Residential setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultRrMhlsCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.256. HrAdultRrMhlsVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRrMhlsCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of MHLS for Adult age group in Residential setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultRrMhlsCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.257. HrAdultRrMhlsZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultRrMhlsCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of MHLS for Adult age group in Residential setting after Review

SQL:
select State
  from HrAdultRrMhlsCompleted
  join HrAdultRrCodCount using (State)
 where HrAdultRrMhlsCompleted.Total = 0
   and HrAdultRrCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.258. HrAdultRrPocCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRrPocCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of POC for Adult age group in Residential setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrAdultRrPocCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.259. HrAdultRrPocVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrAdultRrPocCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of POC for Adult age group in Residential setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrAdultRrPocCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.260. HrAdultRrPocZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultRrPocCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of POC for Adult age group in Residential setting after Review

SQL:
select State
  from HrAdultRrPocCompleted
  join HrAdultRrCodCount using (State)
 where HrAdultRrPocCompleted.Total = 0
   and HrAdultRrCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.261. HrAdultRrSelfRepZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrAdultRrSelfRepCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of self-reported meastures for Adult age group in Residential setting after Review

SQL:
select HrAdultRrCodCount.State as State
  from HrAdultRrCodCount
  join HrAdultRrMhi38Completed using (State)
  join HrAdultRrBasis32Completed using (State)
  join HrAdultRrK10lmCompleted using (State)
  join HrAdultRrK10l3dCompleted using (State)
 where HrAdultRrMhi38Completed.Total = 0
   and HrAdultRrBasis32Completed.Total = 0
   and HrAdultRrK10lmCompleted.Total = 0
   and HrAdultRrK10l3dCompleted.Total = 0
   and HrAdultRrCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.262. HrChildAaCgasCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildAaCgasCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of CGAS for Child age group in Ambulatory setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildAaCgasCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.263. HrChildAaCgasVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildAaCgasCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of CGAS for Child age group in Ambulatory setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildAaCgasCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.264. HrChildAaCgasZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildAaCgasCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of CGAS for Child age group in Ambulatory setting after Admission

SQL:
select State
  from HrChildAaCgasCompleted
  join HrChildAaCodCount using (State)
 where HrChildAaCgasCompleted.Total = 0
   and HrChildAaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.265. HrChildAaHonoscaCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildAaHonoscaCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of HONOSCA for Child age group in Ambulatory setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildAaHonoscaCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.266. HrChildAaHonoscaVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildAaHonoscaCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of HONOSCA for Child age group in Ambulatory setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildAaHonoscaCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.267. HrChildAaHonoscaZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildAaHonoscaCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of HONOSCA for Child age group in Ambulatory setting after Admission

SQL:
select State
  from HrChildAaHonoscaCompleted
  join HrChildAaCodCount using (State)
 where HrChildAaHonoscaCompleted.Total = 0
   and HrChildAaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.268. HrChildAaSdqCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildAaSdqCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of SDQ for Child age group in Ambulatory setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildAaSdqCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.269. HrChildAaSdqVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildAaSdqCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of SDQ for Child age group in Ambulatory setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildAaSdqCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.270. HrChildAaSdqZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildAaSdqCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of SDQ for Child age group in Ambulatory setting after Admission

SQL:
select State
  from HrChildAaSdqCompleted
  join HrChildAaCodCount using (State)
 where HrChildAaSdqCompleted.Total = 0
   and HrChildAaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.271. HrChildAiCgasCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildAiCgasCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of CGAS for Child age group in Inpatient setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildAiCgasCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.272. HrChildAiCgasVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildAiCgasCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of CGAS for Child age group in Inpatient setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildAiCgasCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.273. HrChildAiCgasZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildAiCgasCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of CGAS for Child age group in Inpatient setting after Admission

SQL:
select State
  from HrChildAiCgasCompleted
  join HrChildAiCodCount using (State)
 where HrChildAiCgasCompleted.Total = 0
   and HrChildAiCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.274. HrChildAiHonoscaCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildAiHonoscaCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of HONOSCA for Child age group in Inpatient setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildAiHonoscaCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.275. HrChildAiHonoscaVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildAiHonoscaCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of HONOSCA for Child age group in Inpatient setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildAiHonoscaCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.276. HrChildAiHonoscaZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildAiHonoscaCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of HONOSCA for Child age group in Inpatient setting after Admission

SQL:
select State
  from HrChildAiHonoscaCompleted
  join HrChildAiCodCount using (State)
 where HrChildAiHonoscaCompleted.Total = 0
   and HrChildAiCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.277. HrChildAiSdqCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildAiSdqCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of SDQ for Child age group in Inpatient setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildAiSdqCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.278. HrChildAiSdqVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildAiSdqCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of SDQ for Child age group in Inpatient setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildAiSdqCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.279. HrChildAiSdqZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildAiSdqCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of SDQ for Child age group in Inpatient setting after Admission

SQL:
select State
  from HrChildAiSdqCompleted
  join HrChildAiCodCount using (State)
 where HrChildAiSdqCompleted.Total = 0
   and HrChildAiCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.280. HrChildArCgasCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildArCgasCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of CGAS for Child age group in Residential setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildArCgasCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.281. HrChildArCgasVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildArCgasCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of CGAS for Child age group in Residential setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildArCgasCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.282. HrChildArCgasZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildArCgasCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of CGAS for Child age group in Residential setting after Admission

SQL:
select State
  from HrChildArCgasCompleted
  join HrChildArCodCount using (State)
 where HrChildArCgasCompleted.Total = 0
   and HrChildArCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.283. HrChildArHonoscaCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildArHonoscaCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of HONOSCA for Child age group in Residential setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildArHonoscaCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.284. HrChildArHonoscaVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildArHonoscaCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of HONOSCA for Child age group in Residential setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildArHonoscaCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.285. HrChildArHonoscaZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildArHonoscaCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of HONOSCA for Child age group in Residential setting after Admission

SQL:
select State
  from HrChildArHonoscaCompleted
  join HrChildArCodCount using (State)
 where HrChildArHonoscaCompleted.Total = 0
   and HrChildArCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.286. HrChildArSdqCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildArSdqCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of SDQ for Child age group in Residential setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildArSdqCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.287. HrChildArSdqVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildArSdqCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of SDQ for Child age group in Residential setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildArSdqCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.288. HrChildArSdqZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildArSdqCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of SDQ for Child age group in Residential setting after Admission

SQL:
select State
  from HrChildArSdqCompleted
  join HrChildArCodCount using (State)
 where HrChildArSdqCompleted.Total = 0
   and HrChildArCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.289. HrChildDaDiagCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildDaDiagCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of DIAG for Child age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildDaDiagCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.290. HrChildDaDiagVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildDaDiagCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of DIAG for Child age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildDaDiagCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.291. HrChildDaDiagZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildDaDiagCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of DIAG for Child age group in Ambulatory setting after Discharge

SQL:
select State
  from HrChildDaDiagCompleted
  join HrChildDaCodCount using (State)
 where HrChildDaDiagCompleted.Total = 0
   and HrChildDaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.292. HrChildDaFihsCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildDaFihsCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of FIHS for Child age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildDaFihsCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.293. HrChildDaFihsVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildDaFihsCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of FIHS for Child age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildDaFihsCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.294. HrChildDaFihsZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildDaFihsCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of FIHS for Child age group in Ambulatory setting after Discharge

SQL:
select State
  from HrChildDaFihsCompleted
  join HrChildDaCodCount using (State)
 where HrChildDaFihsCompleted.Total = 0
   and HrChildDaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.295. HrChildDaHonoscaCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildDaHonoscaCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of HONOSCA for Child age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildDaHonoscaCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.296. HrChildDaHonoscaVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildDaHonoscaCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of HONOSCA for Child age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildDaHonoscaCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.297. HrChildDaHonoscaZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildDaHonoscaCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of HONOSCA for Child age group in Ambulatory setting after Discharge

SQL:
select State
  from HrChildDaHonoscaCompleted
  join HrChildDaCodCount using (State)
 where HrChildDaHonoscaCompleted.Total = 0
   and HrChildDaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.298. HrChildDaMhlsCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildDaMhlsCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of MHLS for Child age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildDaMhlsCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.299. HrChildDaMhlsVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildDaMhlsCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of MHLS for Child age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildDaMhlsCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.300. HrChildDaMhlsZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildDaMhlsCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of MHLS for Child age group in Ambulatory setting after Discharge

SQL:
select State
  from HrChildDaMhlsCompleted
  join HrChildDaCodCount using (State)
 where HrChildDaMhlsCompleted.Total = 0
   and HrChildDaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.301. HrChildDaSdqCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildDaSdqCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of SDQ for Child age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildDaSdqCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.302. HrChildDaSdqVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildDaSdqCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of SDQ for Child age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildDaSdqCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.303. HrChildDaSdqZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildDaSdqCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of SDQ for Child age group in Ambulatory setting after Discharge

SQL:
select State
  from HrChildDaSdqCompleted
  join HrChildDaCodCount using (State)
 where HrChildDaSdqCompleted.Total = 0
   and HrChildDaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.304. HrChildDiDiagCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildDiDiagCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of DIAG for Child age group in Inpatient setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildDiDiagCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.305. HrChildDiDiagVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildDiDiagCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of DIAG for Child age group in Inpatient setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildDiDiagCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.306. HrChildDiDiagZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildDiDiagCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of DIAG for Child age group in Inpatient setting after Discharge

SQL:
select State
  from HrChildDiDiagCompleted
  join HrChildDiCodCount using (State)
 where HrChildDiDiagCompleted.Total = 0
   and HrChildDiCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.307. HrChildDiFihsCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildDiFihsCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of FIHS for Child age group in Inpatient setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildDiFihsCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.308. HrChildDiFihsVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildDiFihsCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of FIHS for Child age group in Inpatient setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildDiFihsCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.309. HrChildDiFihsZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildDiFihsCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of FIHS for Child age group in Inpatient setting after Discharge

SQL:
select State
  from HrChildDiFihsCompleted
  join HrChildDiCodCount using (State)
 where HrChildDiFihsCompleted.Total = 0
   and HrChildDiCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.310. HrChildDiHonoscaCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildDiHonoscaCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of HONOSCA for Child age group in Inpatient setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildDiHonoscaCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.311. HrChildDiHonoscaVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildDiHonoscaCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of HONOSCA for Child age group in Inpatient setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildDiHonoscaCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.312. HrChildDiHonoscaZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildDiHonoscaCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of HONOSCA for Child age group in Inpatient setting after Discharge

SQL:
select State
  from HrChildDiHonoscaCompleted
  join HrChildDiCodCount using (State)
 where HrChildDiHonoscaCompleted.Total = 0
   and HrChildDiCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.313. HrChildDiMhlsCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildDiMhlsCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of MHLS for Child age group in Inpatient setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildDiMhlsCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.314. HrChildDiMhlsVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildDiMhlsCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of MHLS for Child age group in Inpatient setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildDiMhlsCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.315. HrChildDiMhlsZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildDiMhlsCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of MHLS for Child age group in Inpatient setting after Discharge

SQL:
select State
  from HrChildDiMhlsCompleted
  join HrChildDiCodCount using (State)
 where HrChildDiMhlsCompleted.Total = 0
   and HrChildDiCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.316. HrChildDiSdqCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildDiSdqCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of SDQ for Child age group in Inpatient setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildDiSdqCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.317. HrChildDiSdqVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildDiSdqCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of SDQ for Child age group in Inpatient setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildDiSdqCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.318. HrChildDiSdqZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildDiSdqCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of SDQ for Child age group in Inpatient setting after Discharge

SQL:
select State
  from HrChildDiSdqCompleted
  join HrChildDiCodCount using (State)
 where HrChildDiSdqCompleted.Total = 0
   and HrChildDiCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.319. HrChildDrDiagCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildDrDiagCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of DIAG for Child age group in Residential setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildDrDiagCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.320. HrChildDrDiagVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildDrDiagCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of DIAG for Child age group in Residential setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildDrDiagCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.321. HrChildDrDiagZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildDrDiagCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of DIAG for Child age group in Residential setting after Discharge

SQL:
select State
  from HrChildDrDiagCompleted
  join HrChildDrCodCount using (State)
 where HrChildDrDiagCompleted.Total = 0
   and HrChildDrCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.322. HrChildDrFihsCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildDrFihsCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of FIHS for Child age group in Residential setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildDrFihsCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.323. HrChildDrFihsVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildDrFihsCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of FIHS for Child age group in Residential setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildDrFihsCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.324. HrChildDrFihsZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildDrFihsCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of FIHS for Child age group in Residential setting after Discharge

SQL:
select State
  from HrChildDrFihsCompleted
  join HrChildDrCodCount using (State)
 where HrChildDrFihsCompleted.Total = 0
   and HrChildDrCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.325. HrChildDrHonoscaCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildDrHonoscaCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of HONOSCA for Child age group in Residential setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildDrHonoscaCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.326. HrChildDrHonoscaVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildDrHonoscaCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of HONOSCA for Child age group in Residential setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildDrHonoscaCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.327. HrChildDrHonoscaZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildDrHonoscaCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of HONOSCA for Child age group in Residential setting after Discharge

SQL:
select State
  from HrChildDrHonoscaCompleted
  join HrChildDrCodCount using (State)
 where HrChildDrHonoscaCompleted.Total = 0
   and HrChildDrCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.328. HrChildDrMhlsCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildDrMhlsCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of MHLS for Child age group in Residential setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildDrMhlsCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.329. HrChildDrMhlsVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildDrMhlsCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of MHLS for Child age group in Residential setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildDrMhlsCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.330. HrChildDrMhlsZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildDrMhlsCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of MHLS for Child age group in Residential setting after Discharge

SQL:
select State
  from HrChildDrMhlsCompleted
  join HrChildDrCodCount using (State)
 where HrChildDrMhlsCompleted.Total = 0
   and HrChildDrCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.331. HrChildDrSdqCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildDrSdqCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of SDQ for Child age group in Residential setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildDrSdqCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.332. HrChildDrSdqVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildDrSdqCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of SDQ for Child age group in Residential setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildDrSdqCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.333. HrChildDrSdqZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildDrSdqCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of SDQ for Child age group in Residential setting after Discharge

SQL:
select State
  from HrChildDrSdqCompleted
  join HrChildDrCodCount using (State)
 where HrChildDrSdqCompleted.Total = 0
   and HrChildDrCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.334. HrChildRaCgasCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRaCgasCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of CGAS for Child age group in Ambulatory setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildRaCgasCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.335. HrChildRaCgasVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRaCgasCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of CGAS for Child age group in Ambulatory setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildRaCgasCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.336. HrChildRaCgasZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildRaCgasCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of CGAS for Child age group in Ambulatory setting after Review

SQL:
select State
  from HrChildRaCgasCompleted
  join HrChildRaCodCount using (State)
 where HrChildRaCgasCompleted.Total = 0
   and HrChildRaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.337. HrChildRaDiagCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRaDiagCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of DIAG for Child age group in Ambulatory setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildRaDiagCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.338. HrChildRaDiagVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRaDiagCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of DIAG for Child age group in Ambulatory setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildRaDiagCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.339. HrChildRaDiagZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildRaDiagCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of DIAG for Child age group in Ambulatory setting after Review

SQL:
select State
  from HrChildRaDiagCompleted
  join HrChildRaCodCount using (State)
 where HrChildRaDiagCompleted.Total = 0
   and HrChildRaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.340. HrChildRaFihsCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRaFihsCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of FIHS for Child age group in Ambulatory setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildRaFihsCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.341. HrChildRaFihsVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRaFihsCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of FIHS for Child age group in Ambulatory setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildRaFihsCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.342. HrChildRaFihsZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildRaFihsCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of FIHS for Child age group in Ambulatory setting after Review

SQL:
select State
  from HrChildRaFihsCompleted
  join HrChildRaCodCount using (State)
 where HrChildRaFihsCompleted.Total = 0
   and HrChildRaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.343. HrChildRaHonoscaCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRaHonoscaCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of HONOSCA for Child age group in Ambulatory setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildRaHonoscaCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.344. HrChildRaHonoscaVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRaHonoscaCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of HONOSCA for Child age group in Ambulatory setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildRaHonoscaCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.345. HrChildRaHonoscaZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildRaHonoscaCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of HONOSCA for Child age group in Ambulatory setting after Review

SQL:
select State
  from HrChildRaHonoscaCompleted
  join HrChildRaCodCount using (State)
 where HrChildRaHonoscaCompleted.Total = 0
   and HrChildRaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.346. HrChildRaMhlsCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRaMhlsCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of MHLS for Child age group in Ambulatory setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildRaMhlsCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.347. HrChildRaMhlsVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRaMhlsCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of MHLS for Child age group in Ambulatory setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildRaMhlsCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.348. HrChildRaMhlsZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildRaMhlsCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of MHLS for Child age group in Ambulatory setting after Review

SQL:
select State
  from HrChildRaMhlsCompleted
  join HrChildRaCodCount using (State)
 where HrChildRaMhlsCompleted.Total = 0
   and HrChildRaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.349. HrChildRaSdqCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRaSdqCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of SDQ for Child age group in Ambulatory setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildRaSdqCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.350. HrChildRaSdqVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRaSdqCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of SDQ for Child age group in Ambulatory setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildRaSdqCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.351. HrChildRaSdqZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildRaSdqCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of SDQ for Child age group in Ambulatory setting after Review

SQL:
select State
  from HrChildRaSdqCompleted
  join HrChildRaCodCount using (State)
 where HrChildRaSdqCompleted.Total = 0
   and HrChildRaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.352. HrChildRiCgasCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRiCgasCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of CGAS for Child age group in Inpatient setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildRiCgasCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.353. HrChildRiCgasVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRiCgasCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of CGAS for Child age group in Inpatient setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildRiCgasCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.354. HrChildRiCgasZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildRiCgasCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of CGAS for Child age group in Inpatient setting after Review

SQL:
select State
  from HrChildRiCgasCompleted
  join HrChildRiCodCount using (State)
 where HrChildRiCgasCompleted.Total = 0
   and HrChildRiCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.355. HrChildRiDiagCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRiDiagCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of DIAG for Child age group in Inpatient setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildRiDiagCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.356. HrChildRiDiagVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRiDiagCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of DIAG for Child age group in Inpatient setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildRiDiagCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.357. HrChildRiDiagZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildRiDiagCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of DIAG for Child age group in Inpatient setting after Review

SQL:
select State
  from HrChildRiDiagCompleted
  join HrChildRiCodCount using (State)
 where HrChildRiDiagCompleted.Total = 0
   and HrChildRiCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.358. HrChildRiFihsCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRiFihsCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of FIHS for Child age group in Inpatient setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildRiFihsCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.359. HrChildRiFihsVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRiFihsCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of FIHS for Child age group in Inpatient setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildRiFihsCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.360. HrChildRiFihsZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildRiFihsCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of FIHS for Child age group in Inpatient setting after Review

SQL:
select State
  from HrChildRiFihsCompleted
  join HrChildRiCodCount using (State)
 where HrChildRiFihsCompleted.Total = 0
   and HrChildRiCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.361. HrChildRiHonoscaCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRiHonoscaCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of HONOSCA for Child age group in Inpatient setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildRiHonoscaCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.362. HrChildRiHonoscaVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRiHonoscaCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of HONOSCA for Child age group in Inpatient setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildRiHonoscaCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.363. HrChildRiHonoscaZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildRiHonoscaCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of HONOSCA for Child age group in Inpatient setting after Review

SQL:
select State
  from HrChildRiHonoscaCompleted
  join HrChildRiCodCount using (State)
 where HrChildRiHonoscaCompleted.Total = 0
   and HrChildRiCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.364. HrChildRiMhlsCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRiMhlsCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of MHLS for Child age group in Inpatient setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildRiMhlsCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.365. HrChildRiMhlsVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRiMhlsCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of MHLS for Child age group in Inpatient setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildRiMhlsCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.366. HrChildRiMhlsZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildRiMhlsCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of MHLS for Child age group in Inpatient setting after Review

SQL:
select State
  from HrChildRiMhlsCompleted
  join HrChildRiCodCount using (State)
 where HrChildRiMhlsCompleted.Total = 0
   and HrChildRiCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.367. HrChildRiSdqCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRiSdqCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of SDQ for Child age group in Inpatient setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildRiSdqCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.368. HrChildRiSdqVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRiSdqCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of SDQ for Child age group in Inpatient setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildRiSdqCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.369. HrChildRiSdqZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildRiSdqCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of SDQ for Child age group in Inpatient setting after Review

SQL:
select State
  from HrChildRiSdqCompleted
  join HrChildRiCodCount using (State)
 where HrChildRiSdqCompleted.Total = 0
   and HrChildRiCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.370. HrChildRrCgasCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRrCgasCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of CGAS for Child age group in Residential setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildRrCgasCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.371. HrChildRrCgasVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRrCgasCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of CGAS for Child age group in Residential setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildRrCgasCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.372. HrChildRrCgasZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildRrCgasCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of CGAS for Child age group in Residential setting after Review

SQL:
select State
  from HrChildRrCgasCompleted
  join HrChildRrCodCount using (State)
 where HrChildRrCgasCompleted.Total = 0
   and HrChildRrCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.373. HrChildRrDiagCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRrDiagCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of DIAG for Child age group in Residential setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildRrDiagCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.374. HrChildRrDiagVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRrDiagCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of DIAG for Child age group in Residential setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildRrDiagCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.375. HrChildRrDiagZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildRrDiagCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of DIAG for Child age group in Residential setting after Review

SQL:
select State
  from HrChildRrDiagCompleted
  join HrChildRrCodCount using (State)
 where HrChildRrDiagCompleted.Total = 0
   and HrChildRrCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.376. HrChildRrFihsCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRrFihsCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of FIHS for Child age group in Residential setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildRrFihsCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.377. HrChildRrFihsVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRrFihsCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of FIHS for Child age group in Residential setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildRrFihsCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.378. HrChildRrFihsZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildRrFihsCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of FIHS for Child age group in Residential setting after Review

SQL:
select State
  from HrChildRrFihsCompleted
  join HrChildRrCodCount using (State)
 where HrChildRrFihsCompleted.Total = 0
   and HrChildRrCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.379. HrChildRrHonoscaCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRrHonoscaCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of HONOSCA for Child age group in Residential setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildRrHonoscaCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.380. HrChildRrHonoscaVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRrHonoscaCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of HONOSCA for Child age group in Residential setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildRrHonoscaCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.381. HrChildRrHonoscaZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildRrHonoscaCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of HONOSCA for Child age group in Residential setting after Review

SQL:
select State
  from HrChildRrHonoscaCompleted
  join HrChildRrCodCount using (State)
 where HrChildRrHonoscaCompleted.Total = 0
   and HrChildRrCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.382. HrChildRrMhlsCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRrMhlsCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of MHLS for Child age group in Residential setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildRrMhlsCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.383. HrChildRrMhlsVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRrMhlsCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of MHLS for Child age group in Residential setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildRrMhlsCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.384. HrChildRrMhlsZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildRrMhlsCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of MHLS for Child age group in Residential setting after Review

SQL:
select State
  from HrChildRrMhlsCompleted
  join HrChildRrCodCount using (State)
 where HrChildRrMhlsCompleted.Total = 0
   and HrChildRrCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.385. HrChildRrSdqCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRrSdqCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of SDQ for Child age group in Residential setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrChildRrSdqCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.386. HrChildRrSdqVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrChildRrSdqCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of SDQ for Child age group in Residential setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrChildRrSdqCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.387. HrChildRrSdqZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrChildRrSdqCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of SDQ for Child age group in Residential setting after Review

SQL:
select State
  from HrChildRrSdqCompleted
  join HrChildRrCodCount using (State)
 where HrChildRrSdqCompleted.Total = 0
   and HrChildRrCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.388. HrGenDtMissing

Class:

Missing

Priority:

High

Message:

Missing data - GenDt $GenDt.q

Mark:

HR.GenDt

Description:

Missing data - Data File Generation Date (GenDt)

SQL:
select State,
       GenDt
  from HR
 where GenDt is null
Data Elements:

13.1.389. HrOlderAaBasis32CompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderAaBasis32CompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of BASIS32 for Older age group in Ambulatory setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderAaBasis32CompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.390. HrOlderAaBasis32VolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderAaBasis32Count exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of BASIS32 for Older age group in Ambulatory setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderAaBasis32CountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.391. HrOlderAaHonosCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderAaHonosCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of HONOS for Older age group in Ambulatory setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderAaHonosCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.392. HrOlderAaHonosVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderAaHonosCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of HONOS for Older age group in Ambulatory setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderAaHonosCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.393. HrOlderAaHonosZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderAaHonosCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of HONOS for Older age group in Ambulatory setting after Admission

SQL:
select State
  from HrOlderAaHonosCompleted
  join HrOlderAaCodCount using (State)
 where HrOlderAaHonosCompleted.Total = 0
   and HrOlderAaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.394. HrOlderAaK10l3dCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderAaK10l3dCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of K10L3D for Older age group in Ambulatory setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderAaK10l3dCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.395. HrOlderAaK10l3dVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderAaK10l3dCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of K10L3D for Older age group in Ambulatory setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderAaK10l3dCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.396. HrOlderAaK10lmCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderAaK10lmCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of K10LM for Older age group in Ambulatory setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderAaK10lmCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.397. HrOlderAaK10lmVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderAaK10lmCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of K10LM for Older age group in Ambulatory setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderAaK10lmCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.398. HrOlderAaMhi38CompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderAaMhi38CompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of MHI38 for Older age group in Ambulatory setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderAaMhi38CompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.399. HrOlderAaMhi38VolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderAaMhi38Count exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of MHI38 for Older age group in Ambulatory setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderAaMhi38CountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.400. HrOlderAaPocCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderAaPocCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of POC for Older age group in Ambulatory setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderAaPocCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.401. HrOlderAaPocVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderAaPocCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of POC for Older age group in Ambulatory setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderAaPocCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.402. HrOlderAaPocZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderAaPocCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of POC for Older age group in Ambulatory setting after Admission

SQL:
select State
  from HrOlderAaPocCompleted
  join HrOlderAaCodCount using (State)
 where HrOlderAaPocCompleted.Total = 0
   and HrOlderAaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.403. HrOlderAaSelfRepZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderAaSelfRepCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of self-reported meastures for Older age group in Ambulatory setting after Admission

SQL:
select HrOlderAaCodCount.State as State
  from HrOlderAaCodCount
  join HrOlderAaMhi38Completed using (State)
  join HrOlderAaBasis32Completed using (State)
  join HrOlderAaK10lmCompleted using (State)
  join HrOlderAaK10l3dCompleted using (State)
 where HrOlderAaMhi38Completed.Total = 0
   and HrOlderAaBasis32Completed.Total = 0
   and HrOlderAaK10lmCompleted.Total = 0
   and HrOlderAaK10l3dCompleted.Total = 0
   and HrOlderAaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.404. HrOlderAiHonosCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderAiHonosCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of HONOS for Older age group in Inpatient setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderAiHonosCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.405. HrOlderAiHonosVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderAiHonosCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of HONOS for Older age group in Inpatient setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderAiHonosCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.406. HrOlderAiHonosZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderAiHonosCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of HONOS for Older age group in Inpatient setting after Admission

SQL:
select State
  from HrOlderAiHonosCompleted
  join HrOlderAiCodCount using (State)
 where HrOlderAiHonosCompleted.Total = 0
   and HrOlderAiCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.407. HrOlderAiPocCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderAiPocCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of POC for Older age group in Inpatient setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderAiPocCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.408. HrOlderAiPocVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderAiPocCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of POC for Older age group in Inpatient setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderAiPocCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.409. HrOlderAiPocZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderAiPocCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of POC for Older age group in Inpatient setting after Admission

SQL:
select State
  from HrOlderAiPocCompleted
  join HrOlderAiCodCount using (State)
 where HrOlderAiPocCompleted.Total = 0
   and HrOlderAiCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.410. HrOlderAiRugadlCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderAiRugadlCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of RUGADL for Older age group in Inpatient setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderAiRugadlCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.411. HrOlderAiRugadlVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderAiRugadlCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of RUGADL for Older age group in Inpatient setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderAiRugadlCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.412. HrOlderAiRugadlZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderAiRugadlCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of RUGADL for Older age group in Inpatient setting after Admission

SQL:
select State
  from HrOlderAiRugadlCompleted
  join HrOlderAiCodCount using (State)
 where HrOlderAiRugadlCompleted.Total = 0
   and HrOlderAiCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.413. HrOlderArBasis32CompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderArBasis32CompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of BASIS32 for Older age group in Residential setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderArBasis32CompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.414. HrOlderArBasis32VolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderArBasis32Count exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of BASIS32 for Older age group in Residential setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderArBasis32CountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.415. HrOlderArHonosCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderArHonosCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of HONOS for Older age group in Residential setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderArHonosCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.416. HrOlderArHonosVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderArHonosCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of HONOS for Older age group in Residential setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderArHonosCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.417. HrOlderArHonosZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderArHonosCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of HONOS for Older age group in Residential setting after Admission

SQL:
select State
  from HrOlderArHonosCompleted
  join HrOlderArCodCount using (State)
 where HrOlderArHonosCompleted.Total = 0
   and HrOlderArCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.418. HrOlderArK10l3dCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderArK10l3dCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of K10L3D for Older age group in Residential setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderArK10l3dCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.419. HrOlderArK10l3dVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderArK10l3dCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of K10L3D for Older age group in Residential setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderArK10l3dCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.420. HrOlderArK10lmCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderArK10lmCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of K10LM for Older age group in Residential setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderArK10lmCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.421. HrOlderArK10lmVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderArK10lmCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of K10LM for Older age group in Residential setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderArK10lmCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.422. HrOlderArLsp16CompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderArLsp16CompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of LSP16 for Older age group in Residential setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderArLsp16CompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.423. HrOlderArLsp16VolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderArLsp16Count exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of LSP16 for Older age group in Residential setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderArLsp16CountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.424. HrOlderArLsp16ZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderArLsp16CompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of LSP16 for Older age group in Residential setting after Admission

SQL:
select State
  from HrOlderArLsp16Completed
  join HrOlderArCodCount using (State)
 where HrOlderArLsp16Completed.Total = 0
   and HrOlderArCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.425. HrOlderArMhi38CompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderArMhi38CompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of MHI38 for Older age group in Residential setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderArMhi38CompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.426. HrOlderArMhi38VolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderArMhi38Count exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of MHI38 for Older age group in Residential setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderArMhi38CountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.427. HrOlderArPocCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderArPocCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of POC for Older age group in Residential setting after Admission

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderArPocCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.428. HrOlderArPocVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderArPocCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of POC for Older age group in Residential setting after Admission

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderArPocCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.429. HrOlderArPocZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderArPocCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of POC for Older age group in Residential setting after Admission

SQL:
select State
  from HrOlderArPocCompleted
  join HrOlderArCodCount using (State)
 where HrOlderArPocCompleted.Total = 0
   and HrOlderArCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.430. HrOlderArSelfRepZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderArSelfRepCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of self-reported meastures for Older age group in Residential setting after Admission

SQL:
select HrOlderArCodCount.State as State
  from HrOlderArCodCount
  join HrOlderArMhi38Completed using (State)
  join HrOlderArBasis32Completed using (State)
  join HrOlderArK10lmCompleted using (State)
  join HrOlderArK10l3dCompleted using (State)
 where HrOlderArMhi38Completed.Total = 0
   and HrOlderArBasis32Completed.Total = 0
   and HrOlderArK10lmCompleted.Total = 0
   and HrOlderArK10l3dCompleted.Total = 0
   and HrOlderArCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.431. HrOlderDaBasis32CompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDaBasis32CompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of BASIS32 for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderDaBasis32CompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.432. HrOlderDaBasis32VolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDaBasis32Count exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of BASIS32 for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderDaBasis32CountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.433. HrOlderDaDiagCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDaDiagCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of DIAG for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderDaDiagCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.434. HrOlderDaDiagVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDaDiagCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of DIAG for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderDaDiagCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.435. HrOlderDaDiagZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderDaDiagCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of DIAG for Older age group in Ambulatory setting after Discharge

SQL:
select State
  from HrOlderDaDiagCompleted
  join HrOlderDaCodCount using (State)
 where HrOlderDaDiagCompleted.Total = 0
   and HrOlderDaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.436. HrOlderDaHonosCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDaHonosCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of HONOS for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderDaHonosCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.437. HrOlderDaHonosVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDaHonosCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of HONOS for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderDaHonosCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.438. HrOlderDaHonosZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderDaHonosCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of HONOS for Older age group in Ambulatory setting after Discharge

SQL:
select State
  from HrOlderDaHonosCompleted
  join HrOlderDaCodCount using (State)
 where HrOlderDaHonosCompleted.Total = 0
   and HrOlderDaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.439. HrOlderDaK10l3dCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDaK10l3dCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of K10L3D for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderDaK10l3dCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.440. HrOlderDaK10l3dVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDaK10l3dCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of K10L3D for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderDaK10l3dCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.441. HrOlderDaK10lmCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDaK10lmCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of K10LM for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderDaK10lmCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.442. HrOlderDaK10lmVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDaK10lmCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of K10LM for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderDaK10lmCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.443. HrOlderDaLsp16CompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDaLsp16CompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of LSP16 for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderDaLsp16CompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.444. HrOlderDaLsp16VolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDaLsp16Count exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of LSP16 for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderDaLsp16CountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.445. HrOlderDaLsp16ZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderDaLsp16CompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of LSP16 for Older age group in Ambulatory setting after Discharge

SQL:
select State
  from HrOlderDaLsp16Completed
  join HrOlderDaCodCount using (State)
 where HrOlderDaLsp16Completed.Total = 0
   and HrOlderDaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.446. HrOlderDaMhi38CompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDaMhi38CompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of MHI38 for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderDaMhi38CompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.447. HrOlderDaMhi38VolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDaMhi38Count exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of MHI38 for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderDaMhi38CountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.448. HrOlderDaMhlsCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDaMhlsCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of MHLS for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderDaMhlsCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.449. HrOlderDaMhlsVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDaMhlsCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of MHLS for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderDaMhlsCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.450. HrOlderDaMhlsZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderDaMhlsCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of MHLS for Older age group in Ambulatory setting after Discharge

SQL:
select State
  from HrOlderDaMhlsCompleted
  join HrOlderDaCodCount using (State)
 where HrOlderDaMhlsCompleted.Total = 0
   and HrOlderDaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.451. HrOlderDaSelfRepZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderDaSelfRepCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of self-reported meastures for Older age group in Ambulatory setting after Discharge

SQL:
select HrOlderDaCodCount.State as State
  from HrOlderDaCodCount
  join HrOlderDaMhi38Completed using (State)
  join HrOlderDaBasis32Completed using (State)
  join HrOlderDaK10lmCompleted using (State)
  join HrOlderDaK10l3dCompleted using (State)
 where HrOlderDaMhi38Completed.Total = 0
   and HrOlderDaBasis32Completed.Total = 0
   and HrOlderDaK10lmCompleted.Total = 0
   and HrOlderDaK10l3dCompleted.Total = 0
   and HrOlderDaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.452. HrOlderDiDiagCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDiDiagCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of DIAG for Older age group in Inpatient setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderDiDiagCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.453. HrOlderDiDiagVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDiDiagCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of DIAG for Older age group in Inpatient setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderDiDiagCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.454. HrOlderDiDiagZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderDiDiagCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of DIAG for Older age group in Inpatient setting after Discharge

SQL:
select State
  from HrOlderDiDiagCompleted
  join HrOlderDiCodCount using (State)
 where HrOlderDiDiagCompleted.Total = 0
   and HrOlderDiCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.455. HrOlderDiHonosCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDiHonosCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of HONOS for Older age group in Inpatient setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderDiHonosCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.456. HrOlderDiHonosVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDiHonosCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of HONOS for Older age group in Inpatient setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderDiHonosCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.457. HrOlderDiHonosZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderDiHonosCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of HONOS for Older age group in Inpatient setting after Discharge

SQL:
select State
  from HrOlderDiHonosCompleted
  join HrOlderDiCodCount using (State)
 where HrOlderDiHonosCompleted.Total = 0
   and HrOlderDiCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.458. HrOlderDiMhlsCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDiMhlsCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of MHLS for Older age group in Inpatient setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderDiMhlsCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.459. HrOlderDiMhlsVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDiMhlsCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of MHLS for Older age group in Inpatient setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderDiMhlsCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.460. HrOlderDiMhlsZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderDiMhlsCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of MHLS for Older age group in Inpatient setting after Discharge

SQL:
select State
  from HrOlderDiMhlsCompleted
  join HrOlderDiCodCount using (State)
 where HrOlderDiMhlsCompleted.Total = 0
   and HrOlderDiCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.461. HrOlderDrBasis32CompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDrBasis32CompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of BASIS32 for Older age group in Residential setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderDrBasis32CompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.462. HrOlderDrBasis32VolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDrBasis32Count exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of BASIS32 for Older age group in Residential setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderDrBasis32CountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.463. HrOlderDrDiagCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDrDiagCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of DIAG for Older age group in Residential setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderDrDiagCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.464. HrOlderDrDiagVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDrDiagCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of DIAG for Older age group in Residential setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderDrDiagCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.465. HrOlderDrDiagZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderDrDiagCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of DIAG for Older age group in Residential setting after Discharge

SQL:
select State
  from HrOlderDrDiagCompleted
  join HrOlderDrCodCount using (State)
 where HrOlderDrDiagCompleted.Total = 0
   and HrOlderDrCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.466. HrOlderDrHonosCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDrHonosCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of HONOS for Older age group in Residential setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderDrHonosCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.467. HrOlderDrHonosVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDrHonosCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of HONOS for Older age group in Residential setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderDrHonosCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.468. HrOlderDrHonosZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderDrHonosCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of HONOS for Older age group in Residential setting after Discharge

SQL:
select State
  from HrOlderDrHonosCompleted
  join HrOlderDrCodCount using (State)
 where HrOlderDrHonosCompleted.Total = 0
   and HrOlderDrCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.469. HrOlderDrK10l3dCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDrK10l3dCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of K10L3D for Older age group in Residential setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderDrK10l3dCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.470. HrOlderDrK10l3dVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDrK10l3dCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of K10L3D for Older age group in Residential setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderDrK10l3dCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.471. HrOlderDrK10lmCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDrK10lmCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of K10LM for Older age group in Residential setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderDrK10lmCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.472. HrOlderDrK10lmVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDrK10lmCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of K10LM for Older age group in Residential setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderDrK10lmCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.473. HrOlderDrLsp16CompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDrLsp16CompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of LSP16 for Older age group in Residential setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderDrLsp16CompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.474. HrOlderDrLsp16VolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDrLsp16Count exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of LSP16 for Older age group in Residential setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderDrLsp16CountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.475. HrOlderDrLsp16ZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderDrLsp16CompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of LSP16 for Older age group in Residential setting after Discharge

SQL:
select State
  from HrOlderDrLsp16Completed
  join HrOlderDrCodCount using (State)
 where HrOlderDrLsp16Completed.Total = 0
   and HrOlderDrCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.476. HrOlderDrMhi38CompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDrMhi38CompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of MHI38 for Older age group in Residential setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderDrMhi38CompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.477. HrOlderDrMhi38VolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDrMhi38Count exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of MHI38 for Older age group in Residential setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderDrMhi38CountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.478. HrOlderDrMhlsCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDrMhlsCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of MHLS for Older age group in Residential setting after Discharge

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderDrMhlsCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.479. HrOlderDrMhlsVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderDrMhlsCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of MHLS for Older age group in Residential setting after Discharge

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderDrMhlsCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.480. HrOlderDrMhlsZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderDrMhlsCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of MHLS for Older age group in Residential setting after Discharge

SQL:
select State
  from HrOlderDrMhlsCompleted
  join HrOlderDrCodCount using (State)
 where HrOlderDrMhlsCompleted.Total = 0
   and HrOlderDrCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.481. HrOlderDrSelfRepZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderDrSelfRepCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of self-reported meastures for Older age group in Residential setting after Discharge

SQL:
select HrOlderDrCodCount.State as State
  from HrOlderDrCodCount
  join HrOlderDrMhi38Completed using (State)
  join HrOlderDrBasis32Completed using (State)
  join HrOlderDrK10lmCompleted using (State)
  join HrOlderDrK10l3dCompleted using (State)
 where HrOlderDrMhi38Completed.Total = 0
   and HrOlderDrBasis32Completed.Total = 0
   and HrOlderDrK10lmCompleted.Total = 0
   and HrOlderDrK10l3dCompleted.Total = 0
   and HrOlderDrCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.482. HrOlderRaBasis32CompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRaBasis32CompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of BASIS32 for Older age group in Ambulatory setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderRaBasis32CompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.483. HrOlderRaBasis32VolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRaBasis32Count exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of BASIS32 for Older age group in Ambulatory setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderRaBasis32CountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.484. HrOlderRaDiagCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRaDiagCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of DIAG for Older age group in Ambulatory setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderRaDiagCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.485. HrOlderRaDiagVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRaDiagCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of DIAG for Older age group in Ambulatory setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderRaDiagCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.486. HrOlderRaDiagZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderRaDiagCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of DIAG for Older age group in Ambulatory setting after Review

SQL:
select State
  from HrOlderRaDiagCompleted
  join HrOlderRaCodCount using (State)
 where HrOlderRaDiagCompleted.Total = 0
   and HrOlderRaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.487. HrOlderRaHonosCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRaHonosCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of HONOS for Older age group in Ambulatory setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderRaHonosCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.488. HrOlderRaHonosVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRaHonosCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of HONOS for Older age group in Ambulatory setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderRaHonosCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.489. HrOlderRaHonosZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderRaHonosCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of HONOS for Older age group in Ambulatory setting after Review

SQL:
select State
  from HrOlderRaHonosCompleted
  join HrOlderRaCodCount using (State)
 where HrOlderRaHonosCompleted.Total = 0
   and HrOlderRaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.490. HrOlderRaK10l3dCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRaK10l3dCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of K10L3D for Older age group in Ambulatory setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderRaK10l3dCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.491. HrOlderRaK10l3dVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRaK10l3dCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of K10L3D for Older age group in Ambulatory setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderRaK10l3dCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.492. HrOlderRaK10lmCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRaK10lmCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of K10LM for Older age group in Ambulatory setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderRaK10lmCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.493. HrOlderRaK10lmVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRaK10lmCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of K10LM for Older age group in Ambulatory setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderRaK10lmCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.494. HrOlderRaLsp16CompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRaLsp16CompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of LSP16 for Older age group in Ambulatory setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderRaLsp16CompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.495. HrOlderRaLsp16VolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRaLsp16Count exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of LSP16 for Older age group in Ambulatory setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderRaLsp16CountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.496. HrOlderRaLsp16ZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderRaLsp16CompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of LSP16 for Older age group in Ambulatory setting after Review

SQL:
select State
  from HrOlderRaLsp16Completed
  join HrOlderRaCodCount using (State)
 where HrOlderRaLsp16Completed.Total = 0
   and HrOlderRaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.497. HrOlderRaMhi38CompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRaMhi38CompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of MHI38 for Older age group in Ambulatory setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderRaMhi38CompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.498. HrOlderRaMhi38VolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRaMhi38Count exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of MHI38 for Older age group in Ambulatory setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderRaMhi38CountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.499. HrOlderRaMhlsCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRaMhlsCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of MHLS for Older age group in Ambulatory setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderRaMhlsCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.500. HrOlderRaMhlsVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRaMhlsCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of MHLS for Older age group in Ambulatory setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderRaMhlsCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.501. HrOlderRaMhlsZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderRaMhlsCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of MHLS for Older age group in Ambulatory setting after Review

SQL:
select State
  from HrOlderRaMhlsCompleted
  join HrOlderRaCodCount using (State)
 where HrOlderRaMhlsCompleted.Total = 0
   and HrOlderRaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.502. HrOlderRaPocCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRaPocCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of POC for Older age group in Ambulatory setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderRaPocCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.503. HrOlderRaPocVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRaPocCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of POC for Older age group in Ambulatory setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderRaPocCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.504. HrOlderRaPocZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderRaPocCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of POC for Older age group in Ambulatory setting after Review

SQL:
select State
  from HrOlderRaPocCompleted
  join HrOlderRaCodCount using (State)
 where HrOlderRaPocCompleted.Total = 0
   and HrOlderRaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.505. HrOlderRaSelfRepZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderRaSelfRepCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of self-reported meastures for Older age group in Ambulatory setting after Review

SQL:
select HrOlderRaCodCount.State as State
  from HrOlderRaCodCount
  join HrOlderRaMhi38Completed using (State)
  join HrOlderRaBasis32Completed using (State)
  join HrOlderRaK10lmCompleted using (State)
  join HrOlderRaK10l3dCompleted using (State)
 where HrOlderRaMhi38Completed.Total = 0
   and HrOlderRaBasis32Completed.Total = 0
   and HrOlderRaK10lmCompleted.Total = 0
   and HrOlderRaK10l3dCompleted.Total = 0
   and HrOlderRaCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.506. HrOlderRiDiagCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRiDiagCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of DIAG for Older age group in Inpatient setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderRiDiagCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.507. HrOlderRiDiagVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRiDiagCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of DIAG for Older age group in Inpatient setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderRiDiagCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.508. HrOlderRiDiagZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderRiDiagCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of DIAG for Older age group in Inpatient setting after Review

SQL:
select State
  from HrOlderRiDiagCompleted
  join HrOlderRiCodCount using (State)
 where HrOlderRiDiagCompleted.Total = 0
   and HrOlderRiCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.509. HrOlderRiHonosCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRiHonosCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of HONOS for Older age group in Inpatient setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderRiHonosCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.510. HrOlderRiHonosVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRiHonosCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of HONOS for Older age group in Inpatient setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderRiHonosCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.511. HrOlderRiHonosZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderRiHonosCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of HONOS for Older age group in Inpatient setting after Review

SQL:
select State
  from HrOlderRiHonosCompleted
  join HrOlderRiCodCount using (State)
 where HrOlderRiHonosCompleted.Total = 0
   and HrOlderRiCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.512. HrOlderRiMhlsCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRiMhlsCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of MHLS for Older age group in Inpatient setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderRiMhlsCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.513. HrOlderRiMhlsVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRiMhlsCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of MHLS for Older age group in Inpatient setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderRiMhlsCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.514. HrOlderRiMhlsZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderRiMhlsCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of MHLS for Older age group in Inpatient setting after Review

SQL:
select State
  from HrOlderRiMhlsCompleted
  join HrOlderRiCodCount using (State)
 where HrOlderRiMhlsCompleted.Total = 0
   and HrOlderRiCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.515. HrOlderRiPocCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRiPocCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of POC for Older age group in Inpatient setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderRiPocCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.516. HrOlderRiPocVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRiPocCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of POC for Older age group in Inpatient setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderRiPocCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.517. HrOlderRiPocZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderRiPocCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of POC for Older age group in Inpatient setting after Review

SQL:
select State
  from HrOlderRiPocCompleted
  join HrOlderRiCodCount using (State)
 where HrOlderRiPocCompleted.Total = 0
   and HrOlderRiCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.518. HrOlderRiRugadlCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRiRugadlCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of RUGADL for Older age group in Inpatient setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderRiRugadlCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.519. HrOlderRiRugadlVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRiRugadlCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of RUGADL for Older age group in Inpatient setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderRiRugadlCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.520. HrOlderRiRugadlZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderRiRugadlCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of RUGADL for Older age group in Inpatient setting after Review

SQL:
select State
  from HrOlderRiRugadlCompleted
  join HrOlderRiCodCount using (State)
 where HrOlderRiRugadlCompleted.Total = 0
   and HrOlderRiCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.521. HrOlderRrBasis32CompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRrBasis32CompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of BASIS32 for Older age group in Residential setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderRrBasis32CompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.522. HrOlderRrBasis32VolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRrBasis32Count exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of BASIS32 for Older age group in Residential setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderRrBasis32CountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.523. HrOlderRrDiagCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRrDiagCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of DIAG for Older age group in Residential setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderRrDiagCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.524. HrOlderRrDiagVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRrDiagCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of DIAG for Older age group in Residential setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderRrDiagCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.525. HrOlderRrDiagZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderRrDiagCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of DIAG for Older age group in Residential setting after Review

SQL:
select State
  from HrOlderRrDiagCompleted
  join HrOlderRrCodCount using (State)
 where HrOlderRrDiagCompleted.Total = 0
   and HrOlderRrCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.526. HrOlderRrHonosCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRrHonosCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of HONOS for Older age group in Residential setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderRrHonosCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.527. HrOlderRrHonosVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRrHonosCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of HONOS for Older age group in Residential setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderRrHonosCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.528. HrOlderRrHonosZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderRrHonosCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of HONOS for Older age group in Residential setting after Review

SQL:
select State
  from HrOlderRrHonosCompleted
  join HrOlderRrCodCount using (State)
 where HrOlderRrHonosCompleted.Total = 0
   and HrOlderRrCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.529. HrOlderRrK10l3dCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRrK10l3dCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of K10L3D for Older age group in Residential setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderRrK10l3dCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.530. HrOlderRrK10l3dVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRrK10l3dCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of K10L3D for Older age group in Residential setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderRrK10l3dCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.531. HrOlderRrK10lmCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRrK10lmCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of K10LM for Older age group in Residential setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderRrK10lmCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.532. HrOlderRrK10lmVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRrK10lmCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of K10LM for Older age group in Residential setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderRrK10lmCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.533. HrOlderRrLsp16CompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRrLsp16CompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of LSP16 for Older age group in Residential setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderRrLsp16CompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.534. HrOlderRrLsp16VolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRrLsp16Count exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of LSP16 for Older age group in Residential setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderRrLsp16CountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.535. HrOlderRrLsp16ZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderRrLsp16CompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of LSP16 for Older age group in Residential setting after Review

SQL:
select State
  from HrOlderRrLsp16Completed
  join HrOlderRrCodCount using (State)
 where HrOlderRrLsp16Completed.Total = 0
   and HrOlderRrCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.536. HrOlderRrMhi38CompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRrMhi38CompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of MHI38 for Older age group in Residential setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderRrMhi38CompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.537. HrOlderRrMhi38VolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRrMhi38Count exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of MHI38 for Older age group in Residential setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderRrMhi38CountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.538. HrOlderRrMhlsCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRrMhlsCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of MHLS for Older age group in Residential setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderRrMhlsCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.539. HrOlderRrMhlsVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRrMhlsCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of MHLS for Older age group in Residential setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderRrMhlsCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.540. HrOlderRrMhlsZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderRrMhlsCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of MHLS for Older age group in Residential setting after Review

SQL:
select State
  from HrOlderRrMhlsCompleted
  join HrOlderRrCodCount using (State)
 where HrOlderRrMhlsCompleted.Total = 0
   and HrOlderRrCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.541. HrOlderRrPocCompletionRateDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRrPocCompletionRate exceeding 5% ($Decrease.perc)

Mark:

HR

Description:

Decrease in completion rate exceeding 5% for HR-level count of POC for Older age group in Residential setting after Review

SQL:
select State,
       round(-Change, 3) as Decrease
  from HrOlderRrPocCompletionRateChange
 where Change < -0.05
Data Elements:
Virtual Elements:

13.1.542. HrOlderRrPocVolumeDecrease

Class:

Historical

Priority:

High

Message:

Decrease in HrOlderRrPocCount exceeding 10% ($Decrease.perc)

Mark:

HR

Description:

Decrease in overall volume exceeding 10% HR-level count of POC for Older age group in Residential setting after Review

SQL:
select State,
       round(-Growth, 3) as Decrease
  from HrOlderRrPocCountGrowth
 where Growth < -0.1
Data Elements:
Virtual Elements:

13.1.543. HrOlderRrPocZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderRrPocCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of POC for Older age group in Residential setting after Review

SQL:
select State
  from HrOlderRrPocCompleted
  join HrOlderRrCodCount using (State)
 where HrOlderRrPocCompleted.Total = 0
   and HrOlderRrCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.544. HrOlderRrSelfRepZeroCompletion

Class:

Anomaly

Priority:

High

Message:

Zero completion rate for HrOlderRrSelfRepCompletionRate

Mark:

HR

Description:

Zero completion rate for HR-level count of self-reported meastures for Older age group in Residential setting after Review

SQL:
select HrOlderRrCodCount.State as State
  from HrOlderRrCodCount
  join HrOlderRrMhi38Completed using (State)
  join HrOlderRrBasis32Completed using (State)
  join HrOlderRrK10lmCompleted using (State)
  join HrOlderRrK10l3dCompleted using (State)
 where HrOlderRrMhi38Completed.Total = 0
   and HrOlderRrBasis32Completed.Total = 0
   and HrOlderRrK10lmCompleted.Total = 0
   and HrOlderRrK10l3dCompleted.Total = 0
   and HrOlderRrCodCount.Total > 0
Data Elements:
Virtual Elements:

13.1.545. K10l3dColStSpaces

Class:

Invalid

Priority:

High

Message:

All spaces in field ColSt (Char)

Mark:

K10L3D.ColSt

Description:

All spaces in field ColSt (Char). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       ColSt
  from K10L3D
 where ColSt is null
Data Elements:

13.1.546. K10l3dIncomplete

Class:

Missing

Priority:

Low

Message:

K10L3D is Incomplete (at least 9 valid required)

Mark:

K10L3D

Description:

K10L3D is Incomplete - 9 valid items (valid: 1, 2, 3, 4, 5) are required from: K10L3D01, K10L3D02, K10L3D03, K10L3D04, K10L3D05, K10L3D06, K10L3D07, K10L3D08, K10L3D09, K10L3D10

SQL:
select State,
       RegId,
       OrgId,
       ColId,
       IsCompleted
  from COD
  join K10l3d using (ColId)
  join K10l3dCompletion using (ColId)
 where not IsCompleted
Data Elements:
Virtual Elements:

13.1.547. K10l3dK10L3D01Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field K10L3D01 (Number)

Mark:

K10L3D.K10L3D01

Description:

All spaces in field K10L3D01 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       K10L3D01
  from K10L3D
 where K10L3D01 is null
Data Elements:

13.1.548. K10l3dK10L3D02Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field K10L3D02 (Number)

Mark:

K10L3D.K10L3D02

Description:

All spaces in field K10L3D02 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       K10L3D02
  from K10L3D
 where K10L3D02 is null
Data Elements:

13.1.549. K10l3dK10L3D03Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field K10L3D03 (Number)

Mark:

K10L3D.K10L3D03

Description:

All spaces in field K10L3D03 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       K10L3D03
  from K10L3D
 where K10L3D03 is null
Data Elements:

13.1.550. K10l3dK10L3D04Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field K10L3D04 (Number)

Mark:

K10L3D.K10L3D04

Description:

All spaces in field K10L3D04 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       K10L3D04
  from K10L3D
 where K10L3D04 is null
Data Elements:

13.1.551. K10l3dK10L3D05Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field K10L3D05 (Number)

Mark:

K10L3D.K10L3D05

Description:

All spaces in field K10L3D05 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       K10L3D05
  from K10L3D
 where K10L3D05 is null
Data Elements:

13.1.552. K10l3dK10L3D06Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field K10L3D06 (Number)

Mark:

K10L3D.K10L3D06

Description:

All spaces in field K10L3D06 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       K10L3D06
  from K10L3D
 where K10L3D06 is null
Data Elements:

13.1.553. K10l3dK10L3D07Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field K10L3D07 (Number)

Mark:

K10L3D.K10L3D07

Description:

All spaces in field K10L3D07 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       K10L3D07
  from K10L3D
 where K10L3D07 is null
Data Elements:

13.1.554. K10l3dK10L3D08Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field K10L3D08 (Number)

Mark:

K10L3D.K10L3D08

Description:

All spaces in field K10L3D08 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       K10L3D08
  from K10L3D
 where K10L3D08 is null
Data Elements:

13.1.555. K10l3dK10L3D09Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field K10L3D09 (Number)

Mark:

K10L3D.K10L3D09

Description:

All spaces in field K10L3D09 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       K10L3D09
  from K10L3D
 where K10L3D09 is null
Data Elements:

13.1.556. K10l3dK10L3D10Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field K10L3D10 (Number)

Mark:

K10L3D.K10L3D10

Description:

All spaces in field K10L3D10 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       K10L3D10
  from K10L3D
 where K10L3D10 is null
Data Elements:

13.1.557. K10l3dK10L3DVerMissing

Class:

Missing

Priority:

High

Message:

Missing data - K10L3DVer $K10L3DVer.q

Mark:

K10L3D.K10L3DVer

Description:

Missing data - K10L3D Version (K10L3DVer)

SQL:
select ColId,
       K10L3DVer
  from K10L3D
 where K10L3DVer is null
Data Elements:

13.1.558. K10lmColStSpaces

Class:

Invalid

Priority:

High

Message:

All spaces in field ColSt (Char)

Mark:

K10LM.ColSt

Description:

All spaces in field ColSt (Char). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       ColSt
  from K10LM
 where ColSt is null
Data Elements:

13.1.559. K10lmIncomplete

Class:

Missing

Priority:

Low

Message:

K10LM is Incomplete (at least 9 valid required)

Mark:

K10LM

Description:

K10LM is Incomplete - 9 valid items (valid: 1, 2, 3, 4, 5) are required from: K10LM01, K10LM02, K10LM03, K10LM04, K10LM05, K10LM06, K10LM07, K10LM08, K10LM09, K10LM10

SQL:
select State,
       RegId,
       OrgId,
       ColId,
       IsCompleted
  from COD
  join K10lm using (ColId)
  join K10lmCompletion using (ColId)
 where not IsCompleted
Data Elements:
Virtual Elements:

13.1.560. K10lmK10LM01Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field K10LM01 (Number)

Mark:

K10LM.K10LM01

Description:

All spaces in field K10LM01 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       K10LM01
  from K10LM
 where K10LM01 is null
Data Elements:

13.1.561. K10lmK10LM02Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field K10LM02 (Number)

Mark:

K10LM.K10LM02

Description:

All spaces in field K10LM02 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       K10LM02
  from K10LM
 where K10LM02 is null
Data Elements:

13.1.562. K10lmK10LM03Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field K10LM03 (Number)

Mark:

K10LM.K10LM03

Description:

All spaces in field K10LM03 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       K10LM03
  from K10LM
 where K10LM03 is null
Data Elements:

13.1.563. K10lmK10LM04Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field K10LM04 (Number)

Mark:

K10LM.K10LM04

Description:

All spaces in field K10LM04 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       K10LM04
  from K10LM
 where K10LM04 is null
Data Elements:

13.1.564. K10lmK10LM05Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field K10LM05 (Number)

Mark:

K10LM.K10LM05

Description:

All spaces in field K10LM05 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       K10LM05
  from K10LM
 where K10LM05 is null
Data Elements:

13.1.565. K10lmK10LM06Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field K10LM06 (Number)

Mark:

K10LM.K10LM06

Description:

All spaces in field K10LM06 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       K10LM06
  from K10LM
 where K10LM06 is null
Data Elements:

13.1.566. K10lmK10LM07Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field K10LM07 (Number)

Mark:

K10LM.K10LM07

Description:

All spaces in field K10LM07 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       K10LM07
  from K10LM
 where K10LM07 is null
Data Elements:

13.1.567. K10lmK10LM08Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field K10LM08 (Number)

Mark:

K10LM.K10LM08

Description:

All spaces in field K10LM08 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       K10LM08
  from K10LM
 where K10LM08 is null
Data Elements:

13.1.568. K10lmK10LM09Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field K10LM09 (Number)

Mark:

K10LM.K10LM09

Description:

All spaces in field K10LM09 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       K10LM09
  from K10LM
 where K10LM09 is null
Data Elements:

13.1.569. K10lmK10LM10Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field K10LM10 (Number)

Mark:

K10LM.K10LM10

Description:

All spaces in field K10LM10 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       K10LM10
  from K10LM
 where K10LM10 is null
Data Elements:

13.1.570. K10lmK10LM11Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field K10LM11 (Number)

Mark:

K10LM.K10LM11

Description:

All spaces in field K10LM11 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       K10LM11
  from K10LM
 where K10LM11 is null
Data Elements:

13.1.571. K10lmK10LM12Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field K10LM12 (Number)

Mark:

K10LM.K10LM12

Description:

All spaces in field K10LM12 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       K10LM12
  from K10LM
 where K10LM12 is null
Data Elements:

13.1.572. K10lmK10LM13Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field K10LM13 (Number)

Mark:

K10LM.K10LM13

Description:

All spaces in field K10LM13 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       K10LM13
  from K10LM
 where K10LM13 is null
Data Elements:

13.1.573. K10lmK10LM14Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field K10LM14 (Number)

Mark:

K10LM.K10LM14

Description:

All spaces in field K10LM14 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       K10LM14
  from K10LM
 where K10LM14 is null
Data Elements:

13.1.574. K10lmK10LMVerMissing

Class:

Missing

Priority:

High

Message:

Missing data - K10LMVer $K10LMVer.q

Mark:

K10LM.K10LMVer

Description:

Missing data - K10+LM Version (K10LMVer)

SQL:
select ColId,
       K10LMVer
  from K10LM
 where K10LMVer is null
Data Elements:

13.1.575. Lsp16Incomplete

Class:

Missing

Priority:

Low

Message:

LSP16 is Incomplete (at least 14 valid required)

Mark:

LSP16

Description:

LSP16 is Incomplete - 14 valid items (valid: 0, 1, 2, 3) are required from: Lsp01, Lsp02, Lsp03, Lsp04, Lsp05, Lsp06, Lsp07, Lsp08, Lsp09, Lsp10, Lsp11, Lsp12, Lsp13, Lsp14, Lsp15, Lsp16

SQL:
select State,
       RegId,
       OrgId,
       ColId,
       IsCompleted
  from COD
  join Lsp16 using (ColId)
  join Lsp16Completion using (ColId)
 where not IsCompleted
Data Elements:
Virtual Elements:

13.1.576. Lsp16Lsp01Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Lsp01 (Number)

Mark:

LSP16.Lsp01

Description:

All spaces in field Lsp01 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Lsp01
  from LSP16
 where Lsp01 is null
Data Elements:

13.1.577. Lsp16Lsp02Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Lsp02 (Number)

Mark:

LSP16.Lsp02

Description:

All spaces in field Lsp02 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Lsp02
  from LSP16
 where Lsp02 is null
Data Elements:

13.1.578. Lsp16Lsp03Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Lsp03 (Number)

Mark:

LSP16.Lsp03

Description:

All spaces in field Lsp03 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Lsp03
  from LSP16
 where Lsp03 is null
Data Elements:

13.1.579. Lsp16Lsp04Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Lsp04 (Number)

Mark:

LSP16.Lsp04

Description:

All spaces in field Lsp04 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Lsp04
  from LSP16
 where Lsp04 is null
Data Elements:

13.1.580. Lsp16Lsp05Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Lsp05 (Number)

Mark:

LSP16.Lsp05

Description:

All spaces in field Lsp05 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Lsp05
  from LSP16
 where Lsp05 is null
Data Elements:

13.1.581. Lsp16Lsp06Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Lsp06 (Number)

Mark:

LSP16.Lsp06

Description:

All spaces in field Lsp06 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Lsp06
  from LSP16
 where Lsp06 is null
Data Elements:

13.1.582. Lsp16Lsp07Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Lsp07 (Number)

Mark:

LSP16.Lsp07

Description:

All spaces in field Lsp07 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Lsp07
  from LSP16
 where Lsp07 is null
Data Elements:

13.1.583. Lsp16Lsp08Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Lsp08 (Number)

Mark:

LSP16.Lsp08

Description:

All spaces in field Lsp08 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Lsp08
  from LSP16
 where Lsp08 is null
Data Elements:

13.1.584. Lsp16Lsp09Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Lsp09 (Number)

Mark:

LSP16.Lsp09

Description:

All spaces in field Lsp09 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Lsp09
  from LSP16
 where Lsp09 is null
Data Elements:

13.1.585. Lsp16Lsp10Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Lsp10 (Number)

Mark:

LSP16.Lsp10

Description:

All spaces in field Lsp10 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Lsp10
  from LSP16
 where Lsp10 is null
Data Elements:

13.1.586. Lsp16Lsp11Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Lsp11 (Number)

Mark:

LSP16.Lsp11

Description:

All spaces in field Lsp11 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Lsp11
  from LSP16
 where Lsp11 is null
Data Elements:

13.1.587. Lsp16Lsp12Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Lsp12 (Number)

Mark:

LSP16.Lsp12

Description:

All spaces in field Lsp12 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Lsp12
  from LSP16
 where Lsp12 is null
Data Elements:

13.1.588. Lsp16Lsp13Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Lsp13 (Number)

Mark:

LSP16.Lsp13

Description:

All spaces in field Lsp13 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Lsp13
  from LSP16
 where Lsp13 is null
Data Elements:

13.1.589. Lsp16Lsp14Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Lsp14 (Number)

Mark:

LSP16.Lsp14

Description:

All spaces in field Lsp14 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Lsp14
  from LSP16
 where Lsp14 is null
Data Elements:

13.1.590. Lsp16Lsp15Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Lsp15 (Number)

Mark:

LSP16.Lsp15

Description:

All spaces in field Lsp15 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Lsp15
  from LSP16
 where Lsp15 is null
Data Elements:

13.1.591. Lsp16Lsp16Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field Lsp16 (Number)

Mark:

LSP16.Lsp16

Description:

All spaces in field Lsp16 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       Lsp16
  from LSP16
 where Lsp16 is null
Data Elements:

13.1.592. Lsp16LspVerMissing

Class:

Missing

Priority:

High

Message:

Missing data - LspVer $LspVer.q

Mark:

LSP16.LspVer

Description:

Missing data - LSP-16 Version (LspVer)

SQL:
select ColId,
       LspVer
  from LSP16
 where LspVer is null
Data Elements:

13.1.593. Mhi38ColStSpaces

Class:

Invalid

Priority:

High

Message:

All spaces in field ColSt (Char)

Mark:

MHI38.ColSt

Description:

All spaces in field ColSt (Char). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       ColSt
  from MHI38
 where ColSt is null
Data Elements:

13.1.594. Mhi38Incomplete

Class:

Missing

Priority:

Low

Message:

MHI38 is Incomplete (at least 30 valid required)

Mark:

MHI38

Description:

MHI38 is Incomplete - 30 valid items (valid: 1, 2, 3, 4, 5, 6) are required from: MHI01, MHI02, MHI03, MHI04, MHI05, MHI06, MHI07, MHI08, MHI09, MHI10, MHI11, MHI12, MHI13, MHI14, MHI15, MHI16, MHI17, MHI18, MHI19, MHI20, MHI21, MHI22, MHI23, MHI24, MHI25, MHI26, MHI27, MHI28, MHI29, MHI30, MHI31, MHI32, MHI33, MHI34, MHI35, MHI36, MHI37, MHI38

SQL:
select State,
       RegId,
       OrgId,
       ColId,
       IsCompleted
  from COD
  join Mhi38 using (ColId)
  join Mhi38Completion using (ColId)
 where not IsCompleted
Data Elements:
Virtual Elements:

13.1.595. Mhi38MHI01Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI01 (Number)

Mark:

MHI38.MHI01

Description:

All spaces in field MHI01 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI01
  from MHI38
 where MHI01 is null
Data Elements:

13.1.596. Mhi38MHI02Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI02 (Number)

Mark:

MHI38.MHI02

Description:

All spaces in field MHI02 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI02
  from MHI38
 where MHI02 is null
Data Elements:

13.1.597. Mhi38MHI03Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI03 (Number)

Mark:

MHI38.MHI03

Description:

All spaces in field MHI03 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI03
  from MHI38
 where MHI03 is null
Data Elements:

13.1.598. Mhi38MHI04Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI04 (Number)

Mark:

MHI38.MHI04

Description:

All spaces in field MHI04 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI04
  from MHI38
 where MHI04 is null
Data Elements:

13.1.599. Mhi38MHI05Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI05 (Number)

Mark:

MHI38.MHI05

Description:

All spaces in field MHI05 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI05
  from MHI38
 where MHI05 is null
Data Elements:

13.1.600. Mhi38MHI06Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI06 (Number)

Mark:

MHI38.MHI06

Description:

All spaces in field MHI06 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI06
  from MHI38
 where MHI06 is null
Data Elements:

13.1.601. Mhi38MHI07Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI07 (Number)

Mark:

MHI38.MHI07

Description:

All spaces in field MHI07 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI07
  from MHI38
 where MHI07 is null
Data Elements:

13.1.602. Mhi38MHI08Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI08 (Number)

Mark:

MHI38.MHI08

Description:

All spaces in field MHI08 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI08
  from MHI38
 where MHI08 is null
Data Elements:

13.1.603. Mhi38MHI09Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI09 (Number)

Mark:

MHI38.MHI09

Description:

All spaces in field MHI09 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI09
  from MHI38
 where MHI09 is null
Data Elements:

13.1.604. Mhi38MHI10Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI10 (Number)

Mark:

MHI38.MHI10

Description:

All spaces in field MHI10 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI10
  from MHI38
 where MHI10 is null
Data Elements:

13.1.605. Mhi38MHI11Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI11 (Number)

Mark:

MHI38.MHI11

Description:

All spaces in field MHI11 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI11
  from MHI38
 where MHI11 is null
Data Elements:

13.1.606. Mhi38MHI12Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI12 (Number)

Mark:

MHI38.MHI12

Description:

All spaces in field MHI12 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI12
  from MHI38
 where MHI12 is null
Data Elements:

13.1.607. Mhi38MHI13Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI13 (Number)

Mark:

MHI38.MHI13

Description:

All spaces in field MHI13 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI13
  from MHI38
 where MHI13 is null
Data Elements:

13.1.608. Mhi38MHI14Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI14 (Number)

Mark:

MHI38.MHI14

Description:

All spaces in field MHI14 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI14
  from MHI38
 where MHI14 is null
Data Elements:

13.1.609. Mhi38MHI15Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI15 (Number)

Mark:

MHI38.MHI15

Description:

All spaces in field MHI15 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI15
  from MHI38
 where MHI15 is null
Data Elements:

13.1.610. Mhi38MHI16Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI16 (Number)

Mark:

MHI38.MHI16

Description:

All spaces in field MHI16 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI16
  from MHI38
 where MHI16 is null
Data Elements:

13.1.611. Mhi38MHI17Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI17 (Number)

Mark:

MHI38.MHI17

Description:

All spaces in field MHI17 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI17
  from MHI38
 where MHI17 is null
Data Elements:

13.1.612. Mhi38MHI18Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI18 (Number)

Mark:

MHI38.MHI18

Description:

All spaces in field MHI18 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI18
  from MHI38
 where MHI18 is null
Data Elements:

13.1.613. Mhi38MHI19Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI19 (Number)

Mark:

MHI38.MHI19

Description:

All spaces in field MHI19 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI19
  from MHI38
 where MHI19 is null
Data Elements:

13.1.614. Mhi38MHI20Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI20 (Number)

Mark:

MHI38.MHI20

Description:

All spaces in field MHI20 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI20
  from MHI38
 where MHI20 is null
Data Elements:

13.1.615. Mhi38MHI21Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI21 (Number)

Mark:

MHI38.MHI21

Description:

All spaces in field MHI21 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI21
  from MHI38
 where MHI21 is null
Data Elements:

13.1.616. Mhi38MHI22Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI22 (Number)

Mark:

MHI38.MHI22

Description:

All spaces in field MHI22 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI22
  from MHI38
 where MHI22 is null
Data Elements:

13.1.617. Mhi38MHI23Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI23 (Number)

Mark:

MHI38.MHI23

Description:

All spaces in field MHI23 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI23
  from MHI38
 where MHI23 is null
Data Elements:

13.1.618. Mhi38MHI24Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI24 (Number)

Mark:

MHI38.MHI24

Description:

All spaces in field MHI24 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI24
  from MHI38
 where MHI24 is null
Data Elements:

13.1.619. Mhi38MHI25Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI25 (Number)

Mark:

MHI38.MHI25

Description:

All spaces in field MHI25 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI25
  from MHI38
 where MHI25 is null
Data Elements:

13.1.620. Mhi38MHI26Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI26 (Number)

Mark:

MHI38.MHI26

Description:

All spaces in field MHI26 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI26
  from MHI38
 where MHI26 is null
Data Elements:

13.1.621. Mhi38MHI27Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI27 (Number)

Mark:

MHI38.MHI27

Description:

All spaces in field MHI27 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI27
  from MHI38
 where MHI27 is null
Data Elements:

13.1.622. Mhi38MHI28Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI28 (Number)

Mark:

MHI38.MHI28

Description:

All spaces in field MHI28 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI28
  from MHI38
 where MHI28 is null
Data Elements:

13.1.623. Mhi38MHI29Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI29 (Number)

Mark:

MHI38.MHI29

Description:

All spaces in field MHI29 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI29
  from MHI38
 where MHI29 is null
Data Elements:

13.1.624. Mhi38MHI30Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI30 (Number)

Mark:

MHI38.MHI30

Description:

All spaces in field MHI30 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI30
  from MHI38
 where MHI30 is null
Data Elements:

13.1.625. Mhi38MHI31Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI31 (Number)

Mark:

MHI38.MHI31

Description:

All spaces in field MHI31 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI31
  from MHI38
 where MHI31 is null
Data Elements:

13.1.626. Mhi38MHI32Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI32 (Number)

Mark:

MHI38.MHI32

Description:

All spaces in field MHI32 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI32
  from MHI38
 where MHI32 is null
Data Elements:

13.1.627. Mhi38MHI33Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI33 (Number)

Mark:

MHI38.MHI33

Description:

All spaces in field MHI33 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI33
  from MHI38
 where MHI33 is null
Data Elements:

13.1.628. Mhi38MHI34Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI34 (Number)

Mark:

MHI38.MHI34

Description:

All spaces in field MHI34 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI34
  from MHI38
 where MHI34 is null
Data Elements:

13.1.629. Mhi38MHI35Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI35 (Number)

Mark:

MHI38.MHI35

Description:

All spaces in field MHI35 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI35
  from MHI38
 where MHI35 is null
Data Elements:

13.1.630. Mhi38MHI36Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI36 (Number)

Mark:

MHI38.MHI36

Description:

All spaces in field MHI36 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI36
  from MHI38
 where MHI36 is null
Data Elements:

13.1.631. Mhi38MHI37Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI37 (Number)

Mark:

MHI38.MHI37

Description:

All spaces in field MHI37 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI37
  from MHI38
 where MHI37 is null
Data Elements:

13.1.632. Mhi38MHI38Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field MHI38 (Number)

Mark:

MHI38.MHI38

Description:

All spaces in field MHI38 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       MHI38
  from MHI38
 where MHI38 is null
Data Elements:

13.1.633. Mhi38MHIVerMissing

Class:

Missing

Priority:

High

Message:

Missing data - MHIVer $MHIVer.q

Mark:

MHI38.MHIVer

Description:

Missing data - MHI38 Version (MHIVer)

SQL:
select ColId,
       MHIVer
  from MHI38
 where MHIVer is null
Data Elements:

13.1.634. MhlsIncomplete

Class:

Missing

Priority:

Low

Message:

MHLS is Incomplete

Mark:

MHLS

Description:

MHLS is Incomplete

SQL:
select State,
       RegId,
       OrgId,
       ColId,
       IsCompleted
  from COD
  join Mhls using (ColId)
  join MhlsCompletion using (ColId)
 where not IsCompleted
Data Elements:
Virtual Elements:

13.1.635. MhlsLegalStSpaces

Class:

Invalid

Priority:

High

Message:

All spaces in field LegalSt (Char)

Mark:

MHLS.LegalSt

Description:

All spaces in field LegalSt (Char). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       LegalSt
  from MHLS
 where LegalSt is null
Data Elements:

13.1.636. OrgAmbuCAInSklOnly

Class:

Skeleton

Priority:

High

Message:

ORG Child and adolescent unit $skl_name.qt expected from SKL is missing

Mark:

ORG

Description:

Organisation (CLUS) appears in skeleton data only - A matching Organisation (ORG) with Child and adolescent in Ambulatory setting is expected based on the SKL data but is not present in this file

SQL:
select State,
       RegId,
       OrgId,
       skl_entity.OrgName as skl_name
  from skl.OrgHasAmbuCA
  left join OrgHasAmbuCA as checking using (State, RegId, OrgId)
  left join OrgHasAmbu as parent using (State, RegId, OrgId)
  join skl.ORG as skl_entity using (State, RegId, OrgId)
 where checking.OrgId is null
   and parent.OrgId is not null
Data Elements:
Virtual Elements:

13.1.637. OrgAmbuCANotInSkl

Class:

Skeleton

Priority:

High

Message:

ORG Child and adolescent unit $name.qt not in SKL data

Mark:

ORG

Description:

Organisation (ORG) not in skeleton reference data - A matching Organisation (ORG) with Child and adolescent age group in Ambulatory setting was not found in the skeleton data

SQL:
select State,
       RegId,
       OrgId,
       ORG.OrgName as name
  from OrgHasAmbuCA
  left join skl.OrgHasAmbuCA as skl_entity using (State, RegId, OrgId)
  left join skl.OrgHasAmbu as skl_parent using (State, RegId, OrgId)
  join ORG using (State, RegId, OrgId)
 where skl_entity.OrgId is null
   and skl_parent.OrgId is not null
Data Elements:
Virtual Elements:

13.1.638. OrgAmbuForInSklOnly

Class:

Skeleton

Priority:

High

Message:

ORG Forensic unit $skl_name.qt expected from SKL is missing

Mark:

ORG

Description:

Organisation (CLUS) appears in skeleton data only - A matching Organisation (ORG) with Forensic in Ambulatory setting is expected based on the SKL data but is not present in this file

SQL:
select State,
       RegId,
       OrgId,
       skl_entity.OrgName as skl_name
  from skl.OrgHasAmbuFor
  left join OrgHasAmbuFor as checking using (State, RegId, OrgId)
  left join OrgHasAmbu as parent using (State, RegId, OrgId)
  join skl.ORG as skl_entity using (State, RegId, OrgId)
 where checking.OrgId is null
   and parent.OrgId is not null
Data Elements:
Virtual Elements:

13.1.639. OrgAmbuForNotInSkl

Class:

Skeleton

Priority:

High

Message:

ORG Forensic unit $name.qt not in SKL data

Mark:

ORG

Description:

Organisation (ORG) not in skeleton reference data - A matching Organisation (ORG) with Forensic age group in Ambulatory setting was not found in the skeleton data

SQL:
select State,
       RegId,
       OrgId,
       ORG.OrgName as name
  from OrgHasAmbuFor
  left join skl.OrgHasAmbuFor as skl_entity using (State, RegId, OrgId)
  left join skl.OrgHasAmbu as skl_parent using (State, RegId, OrgId)
  join ORG using (State, RegId, OrgId)
 where skl_entity.OrgId is null
   and skl_parent.OrgId is not null
Data Elements:
Virtual Elements:

13.1.640. OrgAmbuGenInSklOnly

Class:

Skeleton

Priority:

High

Message:

ORG General unit $skl_name.qt expected from SKL is missing

Mark:

ORG

Description:

Organisation (CLUS) appears in skeleton data only - A matching Organisation (ORG) with General in Ambulatory setting is expected based on the SKL data but is not present in this file

SQL:
select State,
       RegId,
       OrgId,
       skl_entity.OrgName as skl_name
  from skl.OrgHasAmbuGen
  left join OrgHasAmbuGen as checking using (State, RegId, OrgId)
  left join OrgHasAmbu as parent using (State, RegId, OrgId)
  join skl.ORG as skl_entity using (State, RegId, OrgId)
 where checking.OrgId is null
   and parent.OrgId is not null
Data Elements:
Virtual Elements:

13.1.641. OrgAmbuGenNotInSkl

Class:

Skeleton

Priority:

High

Message:

ORG General unit $name.qt not in SKL data

Mark:

ORG

Description:

Organisation (ORG) not in skeleton reference data - A matching Organisation (ORG) with General age group in Ambulatory setting was not found in the skeleton data

SQL:
select State,
       RegId,
       OrgId,
       ORG.OrgName as name
  from OrgHasAmbuGen
  left join skl.OrgHasAmbuGen as skl_entity using (State, RegId, OrgId)
  left join skl.OrgHasAmbu as skl_parent using (State, RegId, OrgId)
  join ORG using (State, RegId, OrgId)
 where skl_entity.OrgId is null
   and skl_parent.OrgId is not null
Data Elements:
Virtual Elements:

13.1.642. OrgAmbuOldInSklOnly

Class:

Skeleton

Priority:

High

Message:

ORG Older person unit $skl_name.qt expected from SKL is missing

Mark:

ORG

Description:

Organisation (CLUS) appears in skeleton data only - A matching Organisation (ORG) with Older person in Ambulatory setting is expected based on the SKL data but is not present in this file

SQL:
select State,
       RegId,
       OrgId,
       skl_entity.OrgName as skl_name
  from skl.OrgHasAmbuOld
  left join OrgHasAmbuOld as checking using (State, RegId, OrgId)
  left join OrgHasAmbu as parent using (State, RegId, OrgId)
  join skl.ORG as skl_entity using (State, RegId, OrgId)
 where checking.OrgId is null
   and parent.OrgId is not null
Data Elements:
Virtual Elements:

13.1.643. OrgAmbuOldNotInSkl

Class:

Skeleton

Priority:

High

Message:

ORG Older person unit $name.qt not in SKL data

Mark:

ORG

Description:

Organisation (ORG) not in skeleton reference data - A matching Organisation (ORG) with Older person age group in Ambulatory setting was not found in the skeleton data

SQL:
select State,
       RegId,
       OrgId,
       ORG.OrgName as name
  from OrgHasAmbuOld
  left join skl.OrgHasAmbuOld as skl_entity using (State, RegId, OrgId)
  left join skl.OrgHasAmbu as skl_parent using (State, RegId, OrgId)
  join ORG using (State, RegId, OrgId)
 where skl_entity.OrgId is null
   and skl_parent.OrgId is not null
Data Elements:
Virtual Elements:

13.1.644. OrgAmbuYthInSklOnly

Class:

Skeleton

Priority:

High

Message:

ORG Youth unit $skl_name.qt expected from SKL is missing

Mark:

ORG

Description:

Organisation (CLUS) appears in skeleton data only - A matching Organisation (ORG) with Youth in Ambulatory setting is expected based on the SKL data but is not present in this file

SQL:
select State,
       RegId,
       OrgId,
       skl_entity.OrgName as skl_name
  from skl.OrgHasAmbuYth
  left join OrgHasAmbuYth as checking using (State, RegId, OrgId)
  left join OrgHasAmbu as parent using (State, RegId, OrgId)
  join skl.ORG as skl_entity using (State, RegId, OrgId)
 where checking.OrgId is null
   and parent.OrgId is not null
Data Elements:
Virtual Elements:

13.1.645. OrgAmbuYthNotInSkl

Class:

Skeleton

Priority:

High

Message:

ORG Youth unit $name.qt not in SKL data

Mark:

ORG

Description:

Organisation (ORG) not in skeleton reference data - A matching Organisation (ORG) with Youth age group in Ambulatory setting was not found in the skeleton data

SQL:
select State,
       RegId,
       OrgId,
       ORG.OrgName as name
  from OrgHasAmbuYth
  left join skl.OrgHasAmbuYth as skl_entity using (State, RegId, OrgId)
  left join skl.OrgHasAmbu as skl_parent using (State, RegId, OrgId)
  join ORG using (State, RegId, OrgId)
 where skl_entity.OrgId is null
   and skl_parent.OrgId is not null
Data Elements:
Virtual Elements:

13.1.646. OrgClosed

Class:

Historical

Priority:

High

Message:

Org closed, historical $hist_name.qt (OrgId: $hist_OrgId) no longer exists

Mark:

HR

Description:

Organisation Closed - A historical Organisation was not found in current data

SQL:
select State,
       hist_entity.State as hist_State,
       hist_entity.RegId as hist_RegId,
       hist_entity.OrgId as hist_OrgId,
       hist_entity.OrgName as hist_name
  from hist.ORG as hist_entity
  left join main.ORG using (State, RegId, OrgId)
 where ORG.OrgId is null
Data Elements:

13.1.647. OrgCodDoBDiffers

Class:

Anomaly

Priority:

Low

Message:

Organisation has $percount people with inconsistently recorded DoB field values

Mark:

ORG

Description:

Person has multiple values for DoB across one organisation

SQL:
with codattrdiffers as (
        select State,
               RegId,
               OrgId,
               pid
          from cod
         group by State,
                  RegId,
                  OrgId,
                  pid
        having count(distinct DoB) > 1
       ) select State,
       RegId,
       OrgId,
       count(pid) as percount
  from codattrdiffers
 group by State,
          RegId,
          OrgId
Data Elements:

13.1.648. OrgCodSexDiffers

Class:

Anomaly

Priority:

Low

Message:

Organisation has $percount people with inconsistently recorded Sex field values

Mark:

ORG

Description:

Person has multiple values for Sex across one organisation

SQL:
with codattrdiffers as (
        select State,
               RegId,
               OrgId,
               pid
          from cod
         group by State,
                  RegId,
                  OrgId,
                  pid
        having count(distinct Sex) > 1
       ) select State,
       RegId,
       OrgId,
       count(pid) as percount
  from codattrdiffers
 group by State,
          RegId,
          OrgId
Data Elements:

13.1.649. OrgInSklOnly

Class:

Skeleton

Priority:

High

Message:

Org $skl_name.qt expected from SKL is missing

Mark:

REG

Description:

Organisation (ORG) appears in skeleton data only - A Organisation (ORG) with matching Ids is expected based on the SKL data but is not present in this file

SQL:
select State,
       RegId,
       OrgId as skl_OrgId,
       skl_entity.OrgName as skl_name
  from skl.ORG as skl_entity
  left join ORG as checking using (State, RegId, OrgId)
  left join REG as parent using (State, RegId)
 where checking.OrgId is null
   and parent.RegId is not null
Data Elements:

13.1.650. OrgNotInSkl

Class:

Skeleton

Priority:

High

Message:

Org $name.qt not in SKL data

Mark:

ORG

Description:

Organisation not in skeleton reference data - A matching Organisation (ORG) was not found in the skeleton data

SQL:
select State,
       RegId,
       OrgId,
       ORG.OrgName as name
  from ORG
  left join skl.ORG as skl_entity using (State, RegId, OrgId)
  left join skl.REG as skl_parent using (State, RegId)
 where skl_entity.OrgId is null
   and skl_parent.RegId is not null
Data Elements:

13.1.651. OrgOpened

Class:

Historical

Priority:

High

Message:

Org opened, $OrgName.qt (OrgId: $OrgId) not in historical data

Mark:

ORG

Description:

Organisation Opened - A matching Organisation was not found in the historical data

SQL:
select State,
       RegId,
       OrgId,
       ORG.OrgName
  from main.ORG
  left join hist.ORG as hist_entity using (State, RegId, OrgId)
 where hist_entity.OrgId is null
Data Elements:

13.1.652. OrgOrgNameMissing

Class:

Missing

Priority:

High

Message:

Missing data - OrgName $OrgName.q

Mark:

ORG.OrgName

Description:

Missing data - Organisation Name (OrgName)

SQL:
select State,
       RegId,
       OrgId,
       OrgName
  from ORG
 where OrgName is null
Data Elements:

13.1.653. OrgRenamed

Class:

Historical

Priority:

High

Message:

Org renamed from $hist_name.qt to $OrgName.qt

Mark:

ORG.OrgName

Description:

Organisation Renamed - Organisation Name differs between historical and current data

SQL:
select State,
       RegId,
       OrgId,
       ORG.OrgName,
       hist_entity.OrgName as hist_name
  from ORG
  join hist.ORG as hist_entity using(State, RegId, OrgId)
 where not sloppy_match(ORG.OrgName, hist_entity.OrgName)
Data Elements:

13.1.654. PocIncomplete

Class:

Missing

Priority:

Low

Message:

POC is Incomplete

Mark:

POC

Description:

POC is Incomplete

SQL:
select State,
       RegId,
       OrgId,
       ColId,
       IsCompleted
  from COD
  join Poc using (ColId)
  join PocCompletion using (ColId)
 where not IsCompleted
Data Elements:
Virtual Elements:

13.1.655. PocPoCSpaces

Class:

Invalid

Priority:

High

Message:

All spaces in field PoC (Char)

Mark:

POC.PoC

Description:

All spaces in field PoC (Char). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       PoC
  from POC
 where PoC is null
Data Elements:

13.1.656. RegClosed

Class:

Historical

Priority:

High

Message:

Reg closed, historical $hist_name.qt (RegId: $hist_RegId) no longer exists

Mark:

HR

Description:

Region Closed - A historical Region was not found in current data

SQL:
select State,
       hist_entity.State as hist_State,
       hist_entity.RegId as hist_RegId,
       hist_entity.RegName as hist_name
  from hist.REG as hist_entity
  left join main.REG using (State, RegId)
 where REG.RegId is null
Data Elements:

13.1.657. RegInSklOnly

Class:

Skeleton

Priority:

High

Message:

Reg $skl_name.qt expected from SKL is missing

Mark:

HR

Description:

Region (REG) appears in skeleton data only - A Region (REG) with matching Ids is expected based on the SKL data but is not present in this file

SQL:
select State,
       RegId as skl_RegId,
       skl_entity.RegName as skl_name
  from skl.REG as skl_entity
  left join REG as checking using (State, RegId)
 where checking.RegId is null
Data Elements:

13.1.658. RegNotInSkl

Class:

Skeleton

Priority:

High

Message:

Reg $name.qt not in SKL data

Mark:

REG

Description:

Region not in skeleton reference data - A matching Region (REG) was not found in the skeleton data

SQL:
select State,
       RegId,
       REG.RegName as name
  from REG
  left join skl.REG as skl_entity using (State, RegId)
 where skl_entity.RegId is null
Data Elements:

13.1.659. RegOpened

Class:

Historical

Priority:

High

Message:

Reg opened, $RegName.qt (RegId: $RegId) not in historical data

Mark:

REG

Description:

Region Opened - A matching Region was not found in the historical data

SQL:
select State,
       RegId,
       REG.RegName
  from main.REG
  left join hist.REG as hist_entity using (State, RegId)
 where hist_entity.RegId is null
Data Elements:

13.1.660. RegRegNameMissing

Class:

Missing

Priority:

High

Message:

Missing data - RegName $RegName.q

Mark:

REG.RegName

Description:

Missing data - Region Name (RegName)

SQL:
select State,
       RegId,
       RegName
  from REG
 where RegName is null
Data Elements:

13.1.661. RegRenamed

Class:

Historical

Priority:

High

Message:

Reg renamed from $hist_name.qt to $RegName.qt

Mark:

REG.RegName

Description:

Region Renamed - Region Name differs between historical and current data

SQL:
select State,
       RegId,
       REG.RegName,
       hist_entity.RegName as hist_name
  from REG
  join hist.REG as hist_entity using(State, RegId)
 where not sloppy_match(REG.RegName, hist_entity.RegName)
Data Elements:

13.1.662. ResiInSklOnly

Class:

Skeleton

Priority:

High

Message:

Serv $skl_name.qt expected from SKL is missing

Mark:

HOSPCLUS

Description:

Residential Service Unit (RESI) appears in skeleton data only - A Service Unit (SERV) with matching Ids is expected based on the SKL data but is not present in this file

SQL:
select State,
       RegId,
       OrgId,
       HospClusId,
       SUId as skl_ResiId,
       skl_entity.ResiName as skl_name
  from (
        select State,
               RegId,
               OrgId,
               ClusId as HospClusId,
               ResiId as SUId,
               ResiName
          from skl.Resi
       ) as skl_entity
  left join SERV as checking using (State, RegId, OrgId, HospClusId, SUId)
  left join HOSPCLUS as parent using (State, RegId, OrgId, HospClusId)
 where checking.SUId is null
   and parent.HospClusId is not null
Data Elements:

13.1.663. ResiNotInSkl

Class:

Skeleton

Priority:

High

Message:

Serv $name.qt not in SKL data

Mark:

SERV

Description:

Service Unit not in skeleton reference data - A matching Residential Service Unit (RESI) was not found in the skeleton data

SQL:
select State,
       RegId,
       OrgId,
       HospClusId,
       SUId,
       SERV.SUName as name
  from SERV
  left join (
        select State,
               RegId,
               OrgId,
               ClusId as HospClusId,
               ResiId as SUId
          from RESI
       ) as skl_entity using (State, RegId, OrgId, HospClusId, SUId)
  left join (
        select State,
               RegId,
               OrgId,
               ClusId as HospClusId
          from skl.CLUS
       ) as skl_parent using (State, RegId, OrgId, HospClusId)
 where SUType = '2'
   and skl_entity.SUId is null
   and skl_parent.HospClusId is not null
Data Elements:

13.1.664. RugadlIncomplete

Class:

Missing

Priority:

Low

Message:

RUGADL is Incomplete (at least 4 valid required)

Mark:

RUGADL

Description:

RUGADL is Incomplete - 4 valid items (valid: 1, 2, 3, 4, 5) are required from: RugAdl1, RugAdl2, RugAdl3, RugAdl4

SQL:
select State,
       RegId,
       OrgId,
       ColId,
       IsCompleted
  from COD
  join Rugadl using (ColId)
  join RugadlCompletion using (ColId)
 where not IsCompleted
Data Elements:
Virtual Elements:

13.1.665. RugadlRugAdl1Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field RugAdl1 (Number)

Mark:

RUGADL.RugAdl1

Description:

All spaces in field RugAdl1 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       RugAdl1
  from RUGADL
 where RugAdl1 is null
Data Elements:

13.1.666. RugadlRugAdl2Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field RugAdl2 (Number)

Mark:

RUGADL.RugAdl2

Description:

All spaces in field RugAdl2 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       RugAdl2
  from RUGADL
 where RugAdl2 is null
Data Elements:

13.1.667. RugadlRugAdl3Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field RugAdl3 (Number)

Mark:

RUGADL.RugAdl3

Description:

All spaces in field RugAdl3 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       RugAdl3
  from RUGADL
 where RugAdl3 is null
Data Elements:

13.1.668. RugadlRugAdl4Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field RugAdl4 (Number)

Mark:

RUGADL.RugAdl4

Description:

All spaces in field RugAdl4 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       RugAdl4
  from RUGADL
 where RugAdl4 is null
Data Elements:

13.1.669. RugadlRugAdlVerMissing

Class:

Missing

Priority:

High

Message:

Missing data - RugAdlVer $RugAdlVer.q

Mark:

RUGADL.RugAdlVer

Description:

Missing data - RUGADL Version (RugAdlVer)

SQL:
select ColId,
       RugAdlVer
  from RUGADL
 where RugAdlVer is null
Data Elements:

13.1.670. SDQ_ParentIncomplete

SQL:
SELECT *
  FROM SDQIncomplete
 WHERE SDQVer = 'PC101'
    OR SDQVer = 'PC201'
    OR SDQVer = 'PY101'
    OR SDQVer = 'PY201';
Data Elements:

13.1.671. SDQ_SelfIncomplete

SQL:
SELECT *
  FROM SDQIncomplete
 WHERE SDQVer = 'YR101'
    OR SDQVer = 'YR201';
Data Elements:

13.1.672. SdqColStSpaces

Class:

Invalid

Priority:

High

Message:

All spaces in field ColSt (Char)

Mark:

SDQ.ColSt

Description:

All spaces in field ColSt (Char). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       ColSt
  from SDQ
 where ColSt is null
Data Elements:

13.1.673. SdqIncomplete

Class:

Missing

Priority:

Low

Message:

SDQ is Incomplete (at least 3/5 for each of 5 subscales valid required)

Mark:

SDQ

Description:

SDQ is Incomplete - 3/5 for each of 5 subscales valid items (valid: 0, 1, 2) are required from: Subscale 1 (SDQ03, SDQ08, SDQ13, SDQ16, SDQ24) Subscale 2 (SDQ05, SDQ07, SDQ12, SDQ18, SDQ22) Subscale 3 (SDQ02, SDQ10, SDQ15, SDQ21, SDQ25) Subscale 4 (SDQ06, SDQ11, SDQ14, SDQ19, SDQ23)

SQL:
select State,
       RegId,
       OrgId,
       ColId,
       SDQVer,
       IsCompleted
  from COD
  join Sdq using (ColId)
  join SdqCompletion using (ColId, SDQVer)
 where not IsCompleted
Data Elements:
Virtual Elements:

13.1.674. SdqSDQ01Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ01 (Number)

Mark:

SDQ.SDQ01

Description:

All spaces in field SDQ01 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ01
  from SDQ
 where SDQ01 is null
Data Elements:

13.1.675. SdqSDQ02Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ02 (Number)

Mark:

SDQ.SDQ02

Description:

All spaces in field SDQ02 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ02
  from SDQ
 where SDQ02 is null
Data Elements:

13.1.676. SdqSDQ03Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ03 (Number)

Mark:

SDQ.SDQ03

Description:

All spaces in field SDQ03 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ03
  from SDQ
 where SDQ03 is null
Data Elements:

13.1.677. SdqSDQ04Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ04 (Number)

Mark:

SDQ.SDQ04

Description:

All spaces in field SDQ04 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ04
  from SDQ
 where SDQ04 is null
Data Elements:

13.1.678. SdqSDQ05Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ05 (Number)

Mark:

SDQ.SDQ05

Description:

All spaces in field SDQ05 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ05
  from SDQ
 where SDQ05 is null
Data Elements:

13.1.679. SdqSDQ06Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ06 (Number)

Mark:

SDQ.SDQ06

Description:

All spaces in field SDQ06 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ06
  from SDQ
 where SDQ06 is null
Data Elements:

13.1.680. SdqSDQ07Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ07 (Number)

Mark:

SDQ.SDQ07

Description:

All spaces in field SDQ07 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ07
  from SDQ
 where SDQ07 is null
Data Elements:

13.1.681. SdqSDQ08Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ08 (Number)

Mark:

SDQ.SDQ08

Description:

All spaces in field SDQ08 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ08
  from SDQ
 where SDQ08 is null
Data Elements:

13.1.682. SdqSDQ09Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ09 (Number)

Mark:

SDQ.SDQ09

Description:

All spaces in field SDQ09 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ09
  from SDQ
 where SDQ09 is null
Data Elements:

13.1.683. SdqSDQ10Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ10 (Number)

Mark:

SDQ.SDQ10

Description:

All spaces in field SDQ10 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ10
  from SDQ
 where SDQ10 is null
Data Elements:

13.1.684. SdqSDQ11Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ11 (Number)

Mark:

SDQ.SDQ11

Description:

All spaces in field SDQ11 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ11
  from SDQ
 where SDQ11 is null
Data Elements:

13.1.685. SdqSDQ12Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ12 (Number)

Mark:

SDQ.SDQ12

Description:

All spaces in field SDQ12 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ12
  from SDQ
 where SDQ12 is null
Data Elements:

13.1.686. SdqSDQ13Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ13 (Number)

Mark:

SDQ.SDQ13

Description:

All spaces in field SDQ13 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ13
  from SDQ
 where SDQ13 is null
Data Elements:

13.1.687. SdqSDQ14Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ14 (Number)

Mark:

SDQ.SDQ14

Description:

All spaces in field SDQ14 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ14
  from SDQ
 where SDQ14 is null
Data Elements:

13.1.688. SdqSDQ15Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ15 (Number)

Mark:

SDQ.SDQ15

Description:

All spaces in field SDQ15 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ15
  from SDQ
 where SDQ15 is null
Data Elements:

13.1.689. SdqSDQ16Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ16 (Number)

Mark:

SDQ.SDQ16

Description:

All spaces in field SDQ16 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ16
  from SDQ
 where SDQ16 is null
Data Elements:

13.1.690. SdqSDQ17Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ17 (Number)

Mark:

SDQ.SDQ17

Description:

All spaces in field SDQ17 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ17
  from SDQ
 where SDQ17 is null
Data Elements:

13.1.691. SdqSDQ18Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ18 (Number)

Mark:

SDQ.SDQ18

Description:

All spaces in field SDQ18 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ18
  from SDQ
 where SDQ18 is null
Data Elements:

13.1.692. SdqSDQ19Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ19 (Number)

Mark:

SDQ.SDQ19

Description:

All spaces in field SDQ19 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ19
  from SDQ
 where SDQ19 is null
Data Elements:

13.1.693. SdqSDQ20Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ20 (Number)

Mark:

SDQ.SDQ20

Description:

All spaces in field SDQ20 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ20
  from SDQ
 where SDQ20 is null
Data Elements:

13.1.694. SdqSDQ21Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ21 (Number)

Mark:

SDQ.SDQ21

Description:

All spaces in field SDQ21 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ21
  from SDQ
 where SDQ21 is null
Data Elements:

13.1.695. SdqSDQ22Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ22 (Number)

Mark:

SDQ.SDQ22

Description:

All spaces in field SDQ22 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ22
  from SDQ
 where SDQ22 is null
Data Elements:

13.1.696. SdqSDQ23Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ23 (Number)

Mark:

SDQ.SDQ23

Description:

All spaces in field SDQ23 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ23
  from SDQ
 where SDQ23 is null
Data Elements:

13.1.697. SdqSDQ24Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ24 (Number)

Mark:

SDQ.SDQ24

Description:

All spaces in field SDQ24 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ24
  from SDQ
 where SDQ24 is null
Data Elements:

13.1.698. SdqSDQ25Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ25 (Number)

Mark:

SDQ.SDQ25

Description:

All spaces in field SDQ25 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ25
  from SDQ
 where SDQ25 is null
Data Elements:

13.1.699. SdqSDQ26Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ26 (Number)

Mark:

SDQ.SDQ26

Description:

All spaces in field SDQ26 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ26
  from SDQ
 where SDQ26 is null
Data Elements:

13.1.700. SdqSDQ27Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ27 (Number)

Mark:

SDQ.SDQ27

Description:

All spaces in field SDQ27 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ27
  from SDQ
 where SDQ27 is null
Data Elements:

13.1.701. SdqSDQ28Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ28 (Number)

Mark:

SDQ.SDQ28

Description:

All spaces in field SDQ28 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ28
  from SDQ
 where SDQ28 is null
Data Elements:

13.1.702. SdqSDQ29Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ29 (Number)

Mark:

SDQ.SDQ29

Description:

All spaces in field SDQ29 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ29
  from SDQ
 where SDQ29 is null
Data Elements:

13.1.703. SdqSDQ30Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ30 (Number)

Mark:

SDQ.SDQ30

Description:

All spaces in field SDQ30 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ30
  from SDQ
 where SDQ30 is null
Data Elements:

13.1.704. SdqSDQ31Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ31 (Number)

Mark:

SDQ.SDQ31

Description:

All spaces in field SDQ31 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ31
  from SDQ
 where SDQ31 is null
Data Elements:

13.1.705. SdqSDQ32Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ32 (Number)

Mark:

SDQ.SDQ32

Description:

All spaces in field SDQ32 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ32
  from SDQ
 where SDQ32 is null
Data Elements:

13.1.706. SdqSDQ33Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ33 (Number)

Mark:

SDQ.SDQ33

Description:

All spaces in field SDQ33 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ33
  from SDQ
 where SDQ33 is null
Data Elements:

13.1.707. SdqSDQ34Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ34 (Number)

Mark:

SDQ.SDQ34

Description:

All spaces in field SDQ34 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ34
  from SDQ
 where SDQ34 is null
Data Elements:

13.1.708. SdqSDQ35Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ35 (Number)

Mark:

SDQ.SDQ35

Description:

All spaces in field SDQ35 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ35
  from SDQ
 where SDQ35 is null
Data Elements:

13.1.709. SdqSDQ36Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ36 (Number)

Mark:

SDQ.SDQ36

Description:

All spaces in field SDQ36 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ36
  from SDQ
 where SDQ36 is null
Data Elements:

13.1.710. SdqSDQ37Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ37 (Number)

Mark:

SDQ.SDQ37

Description:

All spaces in field SDQ37 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ37
  from SDQ
 where SDQ37 is null
Data Elements:

13.1.711. SdqSDQ38Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ38 (Number)

Mark:

SDQ.SDQ38

Description:

All spaces in field SDQ38 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ38
  from SDQ
 where SDQ38 is null
Data Elements:

13.1.712. SdqSDQ39Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ39 (Number)

Mark:

SDQ.SDQ39

Description:

All spaces in field SDQ39 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ39
  from SDQ
 where SDQ39 is null
Data Elements:

13.1.713. SdqSDQ40Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ40 (Number)

Mark:

SDQ.SDQ40

Description:

All spaces in field SDQ40 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ40
  from SDQ
 where SDQ40 is null
Data Elements:

13.1.714. SdqSDQ41Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ41 (Number)

Mark:

SDQ.SDQ41

Description:

All spaces in field SDQ41 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ41
  from SDQ
 where SDQ41 is null
Data Elements:

13.1.715. SdqSDQ42Spaces

Class:

Invalid

Priority:

High

Message:

All spaces in field SDQ42 (Number)

Mark:

SDQ.SDQ42

Description:

All spaces in field SDQ42 (Number). This field should not be empty (only spaces), one of the codes is required.

SQL:
select ColId,
       SDQVer,
       SDQ42
  from SDQ
 where SDQ42 is null
Data Elements:

13.1.716. ServClosed

Class:

Historical

Priority:

High

Message:

Serv closed, historical $hist_name.qt (SUId: $hist_SUId) no longer exists

Mark:

HR

Description:

Service Unit Closed - A historical Service Unit was not found in current data

SQL:
select State,
       hist_entity.State as hist_State,
       hist_entity.RegId as hist_RegId,
       hist_entity.OrgId as hist_OrgId,
       hist_entity.HospClusId as hist_HospClusId,
       hist_entity.SUId as hist_SUId,
       hist_entity.SUName as hist_name
  from hist.SERV as hist_entity
  left join main.SERV using (State, RegId, OrgId, HospClusId, SUId)
 where SERV.SUId is null
Data Elements:

13.1.717. ServEstAreaMissing

Class:

Missing

Priority:

High

Message:

Missing data - EstArea $EstArea.q

Mark:

SERV.EstArea

Description:

Missing data - Geographical Location of Establishment (EstArea)

SQL:
select State,
       RegId,
       OrgId,
       HospClusId,
       SUId,
       EstArea
  from SERV
 where EstArea is null
Data Elements:

13.1.718. ServOpened

Class:

Historical

Priority:

High

Message:

Serv opened, $SUName.qt (SUId: $SUId) not in historical data

Mark:

SERV

Description:

Service Unit Opened - A matching Service Unit was not found in the historical data

SQL:
select State,
       RegId,
       OrgId,
       HospClusId,
       SUId,
       SERV.SUName
  from main.SERV
  left join hist.SERV as hist_entity using (State, RegId, OrgId, HospClusId, SUId)
 where hist_entity.SUId is null
Data Elements:

13.1.719. ServProgTypeChanged

Class:

Historical

Priority:

High

Message:

Service Unit ProgType changed from $hist_ProgType to $ProgType

Mark:

SERV.ProgType

Description:

Program Type Changed - Program Type value for Service Unit differs between historical and current data

SQL:
select State,
       RegId,
       OrgId,
       HospClusId,
       SUId,
       SERV.ProgType,
       hist_SERV.ProgType as hist_ProgType
  from SERV
  join hist.SERV as hist_SERV using(State, RegId, OrgId, HospClusId, SUId)
 where SERV.ProgType != hist_SERV.ProgType
Data Elements:

13.1.720. ServProgTypeMissing

Class:

Missing

Priority:

High

Message:

Missing data - ProgType $ProgType.q

Mark:

SERV.ProgType

Description:

Missing data - Program Type (ProgType)

SQL:
select State,
       RegId,
       OrgId,
       HospClusId,
       SUId,
       ProgType
  from SERV
 where ProgType is null
Data Elements:

13.1.721. ServRenamed

Class:

Historical

Priority:

High

Message:

Serv renamed from $hist_name.qt to $SUName.qt

Mark:

SERV.SUName

Description:

Service Unit Renamed - Service Unit Name differs between historical and current data

SQL:
select State,
       RegId,
       OrgId,
       HospClusId,
       SUId,
       SERV.SUName,
       hist_entity.SUName as hist_name
  from SERV
  join hist.SERV as hist_entity using(State, RegId, OrgId, HospClusId, SUId)
 where not sloppy_match(SERV.SUName, hist_entity.SUName)
Data Elements:

13.1.722. ServSUNameMissing

Class:

Missing

Priority:

High

Message:

Missing data - SUName $SUName.q

Mark:

SERV.SUName

Description:

Missing data - Service Unit Name (SUName)

SQL:
select State,
       RegId,
       OrgId,
       HospClusId,
       SUId,
       SUName
  from SERV
 where SUName is null
Data Elements:

13.1.723. ServSUTypeChanged

Class:

Historical

Priority:

High

Message:

Service Unit SUType changed from $hist_SUType to $SUType

Mark:

SERV.SUType

Description:

Service Unit Type Changed - Service Unit Type value for Service Unit differs between historical and current data

SQL:
select State,
       RegId,
       OrgId,
       HospClusId,
       SUId,
       SERV.SUType,
       hist_SERV.SUType as hist_SUType
  from SERV
  join hist.SERV as hist_SERV using(State, RegId, OrgId, HospClusId, SUId)
 where SERV.SUType != hist_SERV.SUType
Data Elements:

13.1.724. ServSUTypeMissing

Class:

Missing

Priority:

High

Message:

Missing data - SUType $SUType.q

Mark:

SERV.SUType

Description:

Missing data - Service Unit Type (SUType)

SQL:
select State,
       RegId,
       OrgId,
       HospClusId,
       SUId,
       SUType
  from SERV
 where SUType is null
Data Elements:

13.1.725. ServSectorChanged

Class:

Historical

Priority:

High

Message:

Service Unit Sector changed from $hist_Sector to $Sector

Mark:

SERV.Sector

Description:

Service Unit Sector Changed - Service Unit Sector value for Service Unit differs between historical and current data

SQL:
select State,
       RegId,
       OrgId,
       HospClusId,
       SUId,
       SERV.Sector,
       hist_SERV.Sector as hist_Sector
  from SERV
  join hist.SERV as hist_SERV using(State, RegId, OrgId, HospClusId, SUId)
 where SERV.Sector != hist_SERV.Sector
Data Elements:

13.1.726. ServSectorMissing

Class:

Missing

Priority:

High

Message:

Missing data - Sector $Sector.q

Mark:

SERV.Sector

Description:

Missing data - Service Unit Sector (Sector)

SQL:
select State,
       RegId,
       OrgId,
       HospClusId,
       SUId,
       Sector
  from SERV
 where Sector is null
Data Elements:

13.1.727. ServTargetPopChanged

Class:

Historical

Priority:

High

Message:

Service Unit TargetPop changed from $hist_TargetPop to $TargetPop

Mark:

SERV.TargetPop

Description:

Target Population Changed - Target Population value for Service Unit differs between historical and current data

SQL:
select State,
       RegId,
       OrgId,
       HospClusId,
       SUId,
       SERV.TargetPop,
       hist_SERV.TargetPop as hist_TargetPop
  from SERV
  join hist.SERV as hist_SERV using(State, RegId, OrgId, HospClusId, SUId)
 where SERV.TargetPop != hist_SERV.TargetPop
Data Elements:

13.1.728. ServTargetPopMissing

Class:

Missing

Priority:

High

Message:

Missing data - TargetPop $TargetPop.q

Mark:

SERV.TargetPop

Description:

Missing data - Target Population (TargetPop)

SQL:
select State,
       RegId,
       OrgId,
       HospClusId,
       SUId,
       TargetPop
  from SERV
 where TargetPop is null
Data Elements:

13.2. Virtual Elements

13.2.1. Basis32Completion

Base:

BASIS32

Title:

Basis32 Completion Status

SQL:
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
Rules:

13.2.2. CgasCompletion

Base:

CGAS

Title:

Cgas Completion Status

SQL:
select ColId,
       (Cgas between 1 and 100) as IsCompleted
  from CGAS
Rules:

13.2.3. CodAge

Base:

COD

Title:

Age at Contact

SQL:
select ColId,
       FLOOR((ColDt - DoB) / 365.25) as Age
  from COD
 where DoB != '9999-09-09'
Rules:

13.2.4. DiagCompletion

Base:

DIAG

Title:

Diag Completion Status

SQL:
select ColId,
       Dx1 <> '        '
   and Dx1 is not null as IsCompleted
  from DIAG
Rules:

13.2.5. FihsCompletion

Base:

FIHS

Title:

Fihs Completion Status

SQL:
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
Rules:

13.2.6. HonosCompletion

Base:

HONOS

Title:

Honos Completion Status

SQL:
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
Rules:

13.2.7. HonoscaCompletion

Base:

HONOSCA

Title:

Honosca Completion Status

SQL:
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
Rules:

13.2.8. HospClusAdmiCount

Base:

HOSPCLUS

Title:

Admi Count at HOSPCLUS Level

SQL:
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)

13.2.9. HospClusAmbuCount

Base:

HOSPCLUS

Title:

Ambu Count at HOSPCLUS Level

SQL:
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)

13.2.10. HospClusHasAdmi

Base:

HOSPCLUS

Title:

SERV Admi Count below HOSPCLUS

SQL:
select State,
       RegId,
       OrgId,
       HospClusId,
       Count
  from HospClusAdmiCount
 where Count > 0

13.2.11. HospClusHasAmbu

Base:

HOSPCLUS

Title:

SERV Ambu Count below HOSPCLUS

SQL:
select State,
       RegId,
       OrgId,
       HospClusId,
       Count
  from HospClusAmbuCount
 where Count > 0

13.2.12. HospClusHasResi

Base:

HOSPCLUS

Title:

SERV Resi Count below HOSPCLUS

SQL:
select State,
       RegId,
       OrgId,
       HospClusId,
       Count
  from HospClusResiCount
 where Count > 0

13.2.13. HospClusInSklOnly

Base:

ORG

Title:

Hospital or Cluster found in SKL only

SQL:
select *
  from HospInSklOnly
 union select *
  from ClusInSklOnly

13.2.14. HospClusResiCount

Base:

HOSPCLUS

Title:

Resi Count at HOSPCLUS Level

SQL:
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)

13.2.15. HrAdultAaBasis32Completed

Base:

HR

Title:

HR-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Admission

SQL:
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)
Rules:

13.2.16. HrAdultAaBasis32CompletedChange

Base:

HR

Title:

Change in HR-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultAaBasis32Completed as New
  join hist.HrAdultAaBasis32Completed as Old using (State)

13.2.17. HrAdultAaBasis32CompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Admission

SQL:
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)

13.2.18. HrAdultAaBasis32CompletionRate

Base:

HR

Title:

HR-level completion rate of BASIS32 measures for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       sd_div_safe(HrAdultAaBasis32Completed.Total, HrAdultAaCodCount.Total, 3) as Rate
  from HrAdultAaBasis32Completed
  join HrAdultAaCodCount using (State)

13.2.19. HrAdultAaBasis32CompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of BASIS32 measures for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultAaBasis32CompletionRate as New
  join hist.HrAdultAaBasis32CompletionRate as Old using (State)
Rules:

13.2.20. HrAdultAaBasis32Count

Base:

HR

Title:

HR-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Admission

SQL:
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)

13.2.21. HrAdultAaBasis32CountChange

Base:

HR

Title:

Change in HR-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultAaBasis32Count as New
  join hist.HrAdultAaBasis32Count as Old using (State)

13.2.22. HrAdultAaBasis32CountGrowth

Base:

HR

Title:

Growth in HR-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Admission

SQL:
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)
Rules:

13.2.23. HrAdultAaCodCount

Base:

HR

Title:

HR-level count of collection occasions for Adult age group in Ambulatory setting after Admission

SQL:
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)
Rules:

13.2.24. HrAdultAaHonosCompleted

Base:

HR

Title:

HR-level count of completed HONOS measures for Adult age group in Ambulatory setting after Admission

SQL:
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)
Rules:

13.2.25. HrAdultAaHonosCompletedChange

Base:

HR

Title:

Change in HR-level count of completed HONOS measures for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultAaHonosCompleted as New
  join hist.HrAdultAaHonosCompleted as Old using (State)

13.2.26. HrAdultAaHonosCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed HONOS measures for Adult age group in Ambulatory setting after Admission

SQL:
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)

13.2.27. HrAdultAaHonosCompletionRate

Base:

HR

Title:

HR-level completion rate of HONOS measures for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       sd_div_safe(HrAdultAaHonosCompleted.Total, HrAdultAaCodCount.Total, 3) as Rate
  from HrAdultAaHonosCompleted
  join HrAdultAaCodCount using (State)

13.2.28. HrAdultAaHonosCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of HONOS measures for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultAaHonosCompletionRate as New
  join hist.HrAdultAaHonosCompletionRate as Old using (State)
Rules:

13.2.29. HrAdultAaHonosCount

Base:

HR

Title:

HR-level count of all HONOS measures for Adult age group in Ambulatory setting after Admission

SQL:
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)

13.2.30. HrAdultAaHonosCountChange

Base:

HR

Title:

Change in HR-level count of all HONOS measures for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultAaHonosCount as New
  join hist.HrAdultAaHonosCount as Old using (State)

13.2.31. HrAdultAaHonosCountGrowth

Base:

HR

Title:

Growth in HR-level count of all HONOS measures for Adult age group in Ambulatory setting after Admission

SQL:
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)
Rules:

13.2.32. HrAdultAaK10l3dCompleted

Base:

HR

Title:

HR-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Admission

SQL:
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)
Rules:

13.2.33. HrAdultAaK10l3dCompletedChange

Base:

HR

Title:

Change in HR-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultAaK10l3dCompleted as New
  join hist.HrAdultAaK10l3dCompleted as Old using (State)

13.2.34. HrAdultAaK10l3dCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Admission

SQL:
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)

13.2.35. HrAdultAaK10l3dCompletionRate

Base:

HR

Title:

HR-level completion rate of K10L3D measures for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       sd_div_safe(HrAdultAaK10l3dCompleted.Total, HrAdultAaCodCount.Total, 3) as Rate
  from HrAdultAaK10l3dCompleted
  join HrAdultAaCodCount using (State)

13.2.36. HrAdultAaK10l3dCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of K10L3D measures for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultAaK10l3dCompletionRate as New
  join hist.HrAdultAaK10l3dCompletionRate as Old using (State)
Rules:

13.2.37. HrAdultAaK10l3dCount

Base:

HR

Title:

HR-level count of all K10L3D measures for Adult age group in Ambulatory setting after Admission

SQL:
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)

13.2.38. HrAdultAaK10l3dCountChange

Base:

HR

Title:

Change in HR-level count of all K10L3D measures for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultAaK10l3dCount as New
  join hist.HrAdultAaK10l3dCount as Old using (State)

13.2.39. HrAdultAaK10l3dCountGrowth

Base:

HR

Title:

Growth in HR-level count of all K10L3D measures for Adult age group in Ambulatory setting after Admission

SQL:
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)
Rules:

13.2.40. HrAdultAaK10lmCompleted

Base:

HR

Title:

HR-level count of completed K10LM measures for Adult age group in Ambulatory setting after Admission

SQL:
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)
Rules:

13.2.41. HrAdultAaK10lmCompletedChange

Base:

HR

Title:

Change in HR-level count of completed K10LM measures for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultAaK10lmCompleted as New
  join hist.HrAdultAaK10lmCompleted as Old using (State)

13.2.42. HrAdultAaK10lmCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed K10LM measures for Adult age group in Ambulatory setting after Admission

SQL:
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)

13.2.43. HrAdultAaK10lmCompletionRate

Base:

HR

Title:

HR-level completion rate of K10LM measures for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       sd_div_safe(HrAdultAaK10lmCompleted.Total, HrAdultAaCodCount.Total, 3) as Rate
  from HrAdultAaK10lmCompleted
  join HrAdultAaCodCount using (State)

13.2.44. HrAdultAaK10lmCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of K10LM measures for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultAaK10lmCompletionRate as New
  join hist.HrAdultAaK10lmCompletionRate as Old using (State)
Rules:

13.2.45. HrAdultAaK10lmCount

Base:

HR

Title:

HR-level count of all K10LM measures for Adult age group in Ambulatory setting after Admission

SQL:
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)

13.2.46. HrAdultAaK10lmCountChange

Base:

HR

Title:

Change in HR-level count of all K10LM measures for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultAaK10lmCount as New
  join hist.HrAdultAaK10lmCount as Old using (State)

13.2.47. HrAdultAaK10lmCountGrowth

Base:

HR

Title:

Growth in HR-level count of all K10LM measures for Adult age group in Ambulatory setting after Admission

SQL:
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)
Rules:

13.2.48. HrAdultAaMhi38Completed

Base:

HR

Title:

HR-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Admission

SQL:
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)
Rules:

13.2.49. HrAdultAaMhi38CompletedChange

Base:

HR

Title:

Change in HR-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultAaMhi38Completed as New
  join hist.HrAdultAaMhi38Completed as Old using (State)

13.2.50. HrAdultAaMhi38CompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Admission

SQL:
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)

13.2.51. HrAdultAaMhi38CompletionRate

Base:

HR

Title:

HR-level completion rate of MHI38 measures for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       sd_div_safe(HrAdultAaMhi38Completed.Total, HrAdultAaCodCount.Total, 3) as Rate
  from HrAdultAaMhi38Completed
  join HrAdultAaCodCount using (State)

13.2.52. HrAdultAaMhi38CompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of MHI38 measures for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultAaMhi38CompletionRate as New
  join hist.HrAdultAaMhi38CompletionRate as Old using (State)
Rules:

13.2.53. HrAdultAaMhi38Count

Base:

HR

Title:

HR-level count of all MHI38 measures for Adult age group in Ambulatory setting after Admission

SQL:
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)

13.2.54. HrAdultAaMhi38CountChange

Base:

HR

Title:

Change in HR-level count of all MHI38 measures for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultAaMhi38Count as New
  join hist.HrAdultAaMhi38Count as Old using (State)

13.2.55. HrAdultAaMhi38CountGrowth

Base:

HR

Title:

Growth in HR-level count of all MHI38 measures for Adult age group in Ambulatory setting after Admission

SQL:
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)
Rules:

13.2.56. HrAdultAaPocCompleted

Base:

HR

Title:

HR-level count of completed POC measures for Adult age group in Ambulatory setting after Admission

SQL:
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)
Rules:

13.2.57. HrAdultAaPocCompletedChange

Base:

HR

Title:

Change in HR-level count of completed POC measures for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultAaPocCompleted as New
  join hist.HrAdultAaPocCompleted as Old using (State)

13.2.58. HrAdultAaPocCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed POC measures for Adult age group in Ambulatory setting after Admission

SQL:
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)

13.2.59. HrAdultAaPocCompletionRate

Base:

HR

Title:

HR-level completion rate of POC measures for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       sd_div_safe(HrAdultAaPocCompleted.Total, HrAdultAaCodCount.Total, 3) as Rate
  from HrAdultAaPocCompleted
  join HrAdultAaCodCount using (State)

13.2.60. HrAdultAaPocCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of POC measures for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultAaPocCompletionRate as New
  join hist.HrAdultAaPocCompletionRate as Old using (State)
Rules:

13.2.61. HrAdultAaPocCount

Base:

HR

Title:

HR-level count of all POC measures for Adult age group in Ambulatory setting after Admission

SQL:
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)

13.2.62. HrAdultAaPocCountChange

Base:

HR

Title:

Change in HR-level count of all POC measures for Adult age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultAaPocCount as New
  join hist.HrAdultAaPocCount as Old using (State)

13.2.63. HrAdultAaPocCountGrowth

Base:

HR

Title:

Growth in HR-level count of all POC measures for Adult age group in Ambulatory setting after Admission

SQL:
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)
Rules:

13.2.64. HrAdultAiCodCount

Base:

HR

Title:

HR-level count of collection occasions for Adult age group in Inpatient setting after Admission

SQL:
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)
Rules:

13.2.65. HrAdultAiHonosCompleted

Base:

HR

Title:

HR-level count of completed HONOS measures for Adult age group in Inpatient setting after Admission

SQL:
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)
Rules:

13.2.66. HrAdultAiHonosCompletedChange

Base:

HR

Title:

Change in HR-level count of completed HONOS measures for Adult age group in Inpatient setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultAiHonosCompleted as New
  join hist.HrAdultAiHonosCompleted as Old using (State)

13.2.67. HrAdultAiHonosCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed HONOS measures for Adult age group in Inpatient setting after Admission

SQL:
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)

13.2.68. HrAdultAiHonosCompletionRate

Base:

HR

Title:

HR-level completion rate of HONOS measures for Adult age group in Inpatient setting after Admission

SQL:
select State,
       sd_div_safe(HrAdultAiHonosCompleted.Total, HrAdultAiCodCount.Total, 3) as Rate
  from HrAdultAiHonosCompleted
  join HrAdultAiCodCount using (State)

13.2.69. HrAdultAiHonosCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of HONOS measures for Adult age group in Inpatient setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultAiHonosCompletionRate as New
  join hist.HrAdultAiHonosCompletionRate as Old using (State)
Rules:

13.2.70. HrAdultAiHonosCount

Base:

HR

Title:

HR-level count of all HONOS measures for Adult age group in Inpatient setting after Admission

SQL:
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)

13.2.71. HrAdultAiHonosCountChange

Base:

HR

Title:

Change in HR-level count of all HONOS measures for Adult age group in Inpatient setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultAiHonosCount as New
  join hist.HrAdultAiHonosCount as Old using (State)

13.2.72. HrAdultAiHonosCountGrowth

Base:

HR

Title:

Growth in HR-level count of all HONOS measures for Adult age group in Inpatient setting after Admission

SQL:
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)
Rules:

13.2.73. HrAdultAiPocCompleted

Base:

HR

Title:

HR-level count of completed POC measures for Adult age group in Inpatient setting after Admission

SQL:
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)
Rules:

13.2.74. HrAdultAiPocCompletedChange

Base:

HR

Title:

Change in HR-level count of completed POC measures for Adult age group in Inpatient setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultAiPocCompleted as New
  join hist.HrAdultAiPocCompleted as Old using (State)

13.2.75. HrAdultAiPocCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed POC measures for Adult age group in Inpatient setting after Admission

SQL:
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)

13.2.76. HrAdultAiPocCompletionRate

Base:

HR

Title:

HR-level completion rate of POC measures for Adult age group in Inpatient setting after Admission

SQL:
select State,
       sd_div_safe(HrAdultAiPocCompleted.Total, HrAdultAiCodCount.Total, 3) as Rate
  from HrAdultAiPocCompleted
  join HrAdultAiCodCount using (State)

13.2.77. HrAdultAiPocCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of POC measures for Adult age group in Inpatient setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultAiPocCompletionRate as New
  join hist.HrAdultAiPocCompletionRate as Old using (State)
Rules:

13.2.78. HrAdultAiPocCount

Base:

HR

Title:

HR-level count of all POC measures for Adult age group in Inpatient setting after Admission

SQL:
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)

13.2.79. HrAdultAiPocCountChange

Base:

HR

Title:

Change in HR-level count of all POC measures for Adult age group in Inpatient setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultAiPocCount as New
  join hist.HrAdultAiPocCount as Old using (State)

13.2.80. HrAdultAiPocCountGrowth

Base:

HR

Title:

Growth in HR-level count of all POC measures for Adult age group in Inpatient setting after Admission

SQL:
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)
Rules:

13.2.81. HrAdultArBasis32Completed

Base:

HR

Title:

HR-level count of completed BASIS32 measures for Adult age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.82. HrAdultArBasis32CompletedChange

Base:

HR

Title:

Change in HR-level count of completed BASIS32 measures for Adult age group in Residential setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultArBasis32Completed as New
  join hist.HrAdultArBasis32Completed as Old using (State)

13.2.83. HrAdultArBasis32CompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed BASIS32 measures for Adult age group in Residential setting after Admission

SQL:
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)

13.2.84. HrAdultArBasis32CompletionRate

Base:

HR

Title:

HR-level completion rate of BASIS32 measures for Adult age group in Residential setting after Admission

SQL:
select State,
       sd_div_safe(HrAdultArBasis32Completed.Total, HrAdultArCodCount.Total, 3) as Rate
  from HrAdultArBasis32Completed
  join HrAdultArCodCount using (State)

13.2.85. HrAdultArBasis32CompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of BASIS32 measures for Adult age group in Residential setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultArBasis32CompletionRate as New
  join hist.HrAdultArBasis32CompletionRate as Old using (State)
Rules:

13.2.86. HrAdultArBasis32Count

Base:

HR

Title:

HR-level count of all BASIS32 measures for Adult age group in Residential setting after Admission

SQL:
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)

13.2.87. HrAdultArBasis32CountChange

Base:

HR

Title:

Change in HR-level count of all BASIS32 measures for Adult age group in Residential setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultArBasis32Count as New
  join hist.HrAdultArBasis32Count as Old using (State)

13.2.88. HrAdultArBasis32CountGrowth

Base:

HR

Title:

Growth in HR-level count of all BASIS32 measures for Adult age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.89. HrAdultArCodCount

Base:

HR

Title:

HR-level count of collection occasions for Adult age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.90. HrAdultArHonosCompleted

Base:

HR

Title:

HR-level count of completed HONOS measures for Adult age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.91. HrAdultArHonosCompletedChange

Base:

HR

Title:

Change in HR-level count of completed HONOS measures for Adult age group in Residential setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultArHonosCompleted as New
  join hist.HrAdultArHonosCompleted as Old using (State)

13.2.92. HrAdultArHonosCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed HONOS measures for Adult age group in Residential setting after Admission

SQL:
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)

13.2.93. HrAdultArHonosCompletionRate

Base:

HR

Title:

HR-level completion rate of HONOS measures for Adult age group in Residential setting after Admission

SQL:
select State,
       sd_div_safe(HrAdultArHonosCompleted.Total, HrAdultArCodCount.Total, 3) as Rate
  from HrAdultArHonosCompleted
  join HrAdultArCodCount using (State)

13.2.94. HrAdultArHonosCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of HONOS measures for Adult age group in Residential setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultArHonosCompletionRate as New
  join hist.HrAdultArHonosCompletionRate as Old using (State)
Rules:

13.2.95. HrAdultArHonosCount

Base:

HR

Title:

HR-level count of all HONOS measures for Adult age group in Residential setting after Admission

SQL:
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)

13.2.96. HrAdultArHonosCountChange

Base:

HR

Title:

Change in HR-level count of all HONOS measures for Adult age group in Residential setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultArHonosCount as New
  join hist.HrAdultArHonosCount as Old using (State)

13.2.97. HrAdultArHonosCountGrowth

Base:

HR

Title:

Growth in HR-level count of all HONOS measures for Adult age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.98. HrAdultArK10l3dCompleted

Base:

HR

Title:

HR-level count of completed K10L3D measures for Adult age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.99. HrAdultArK10l3dCompletedChange

Base:

HR

Title:

Change in HR-level count of completed K10L3D measures for Adult age group in Residential setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultArK10l3dCompleted as New
  join hist.HrAdultArK10l3dCompleted as Old using (State)

13.2.100. HrAdultArK10l3dCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed K10L3D measures for Adult age group in Residential setting after Admission

SQL:
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)

13.2.101. HrAdultArK10l3dCompletionRate

Base:

HR

Title:

HR-level completion rate of K10L3D measures for Adult age group in Residential setting after Admission

SQL:
select State,
       sd_div_safe(HrAdultArK10l3dCompleted.Total, HrAdultArCodCount.Total, 3) as Rate
  from HrAdultArK10l3dCompleted
  join HrAdultArCodCount using (State)

13.2.102. HrAdultArK10l3dCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of K10L3D measures for Adult age group in Residential setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultArK10l3dCompletionRate as New
  join hist.HrAdultArK10l3dCompletionRate as Old using (State)
Rules:

13.2.103. HrAdultArK10l3dCount

Base:

HR

Title:

HR-level count of all K10L3D measures for Adult age group in Residential setting after Admission

SQL:
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)

13.2.104. HrAdultArK10l3dCountChange

Base:

HR

Title:

Change in HR-level count of all K10L3D measures for Adult age group in Residential setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultArK10l3dCount as New
  join hist.HrAdultArK10l3dCount as Old using (State)

13.2.105. HrAdultArK10l3dCountGrowth

Base:

HR

Title:

Growth in HR-level count of all K10L3D measures for Adult age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.106. HrAdultArK10lmCompleted

Base:

HR

Title:

HR-level count of completed K10LM measures for Adult age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.107. HrAdultArK10lmCompletedChange

Base:

HR

Title:

Change in HR-level count of completed K10LM measures for Adult age group in Residential setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultArK10lmCompleted as New
  join hist.HrAdultArK10lmCompleted as Old using (State)

13.2.108. HrAdultArK10lmCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed K10LM measures for Adult age group in Residential setting after Admission

SQL:
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)

13.2.109. HrAdultArK10lmCompletionRate

Base:

HR

Title:

HR-level completion rate of K10LM measures for Adult age group in Residential setting after Admission

SQL:
select State,
       sd_div_safe(HrAdultArK10lmCompleted.Total, HrAdultArCodCount.Total, 3) as Rate
  from HrAdultArK10lmCompleted
  join HrAdultArCodCount using (State)

13.2.110. HrAdultArK10lmCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of K10LM measures for Adult age group in Residential setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultArK10lmCompletionRate as New
  join hist.HrAdultArK10lmCompletionRate as Old using (State)
Rules:

13.2.111. HrAdultArK10lmCount

Base:

HR

Title:

HR-level count of all K10LM measures for Adult age group in Residential setting after Admission

SQL:
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)

13.2.112. HrAdultArK10lmCountChange

Base:

HR

Title:

Change in HR-level count of all K10LM measures for Adult age group in Residential setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultArK10lmCount as New
  join hist.HrAdultArK10lmCount as Old using (State)

13.2.113. HrAdultArK10lmCountGrowth

Base:

HR

Title:

Growth in HR-level count of all K10LM measures for Adult age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.114. HrAdultArLsp16Completed

Base:

HR

Title:

HR-level count of completed LSP16 measures for Adult age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.115. HrAdultArLsp16CompletedChange

Base:

HR

Title:

Change in HR-level count of completed LSP16 measures for Adult age group in Residential setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultArLsp16Completed as New
  join hist.HrAdultArLsp16Completed as Old using (State)

13.2.116. HrAdultArLsp16CompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed LSP16 measures for Adult age group in Residential setting after Admission

SQL:
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)

13.2.117. HrAdultArLsp16CompletionRate

Base:

HR

Title:

HR-level completion rate of LSP16 measures for Adult age group in Residential setting after Admission

SQL:
select State,
       sd_div_safe(HrAdultArLsp16Completed.Total, HrAdultArCodCount.Total, 3) as Rate
  from HrAdultArLsp16Completed
  join HrAdultArCodCount using (State)

13.2.118. HrAdultArLsp16CompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of LSP16 measures for Adult age group in Residential setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultArLsp16CompletionRate as New
  join hist.HrAdultArLsp16CompletionRate as Old using (State)
Rules:

13.2.119. HrAdultArLsp16Count

Base:

HR

Title:

HR-level count of all LSP16 measures for Adult age group in Residential setting after Admission

SQL:
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)

13.2.120. HrAdultArLsp16CountChange

Base:

HR

Title:

Change in HR-level count of all LSP16 measures for Adult age group in Residential setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultArLsp16Count as New
  join hist.HrAdultArLsp16Count as Old using (State)

13.2.121. HrAdultArLsp16CountGrowth

Base:

HR

Title:

Growth in HR-level count of all LSP16 measures for Adult age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.122. HrAdultArMhi38Completed

Base:

HR

Title:

HR-level count of completed MHI38 measures for Adult age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.123. HrAdultArMhi38CompletedChange

Base:

HR

Title:

Change in HR-level count of completed MHI38 measures for Adult age group in Residential setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultArMhi38Completed as New
  join hist.HrAdultArMhi38Completed as Old using (State)

13.2.124. HrAdultArMhi38CompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed MHI38 measures for Adult age group in Residential setting after Admission

SQL:
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)

13.2.125. HrAdultArMhi38CompletionRate

Base:

HR

Title:

HR-level completion rate of MHI38 measures for Adult age group in Residential setting after Admission

SQL:
select State,
       sd_div_safe(HrAdultArMhi38Completed.Total, HrAdultArCodCount.Total, 3) as Rate
  from HrAdultArMhi38Completed
  join HrAdultArCodCount using (State)

13.2.126. HrAdultArMhi38CompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of MHI38 measures for Adult age group in Residential setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultArMhi38CompletionRate as New
  join hist.HrAdultArMhi38CompletionRate as Old using (State)
Rules:

13.2.127. HrAdultArMhi38Count

Base:

HR

Title:

HR-level count of all MHI38 measures for Adult age group in Residential setting after Admission

SQL:
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)

13.2.128. HrAdultArMhi38CountChange

Base:

HR

Title:

Change in HR-level count of all MHI38 measures for Adult age group in Residential setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultArMhi38Count as New
  join hist.HrAdultArMhi38Count as Old using (State)

13.2.129. HrAdultArMhi38CountGrowth

Base:

HR

Title:

Growth in HR-level count of all MHI38 measures for Adult age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.130. HrAdultArPocCompleted

Base:

HR

Title:

HR-level count of completed POC measures for Adult age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.131. HrAdultArPocCompletedChange

Base:

HR

Title:

Change in HR-level count of completed POC measures for Adult age group in Residential setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultArPocCompleted as New
  join hist.HrAdultArPocCompleted as Old using (State)

13.2.132. HrAdultArPocCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed POC measures for Adult age group in Residential setting after Admission

SQL:
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)

13.2.133. HrAdultArPocCompletionRate

Base:

HR

Title:

HR-level completion rate of POC measures for Adult age group in Residential setting after Admission

SQL:
select State,
       sd_div_safe(HrAdultArPocCompleted.Total, HrAdultArCodCount.Total, 3) as Rate
  from HrAdultArPocCompleted
  join HrAdultArCodCount using (State)

13.2.134. HrAdultArPocCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of POC measures for Adult age group in Residential setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultArPocCompletionRate as New
  join hist.HrAdultArPocCompletionRate as Old using (State)
Rules:

13.2.135. HrAdultArPocCount

Base:

HR

Title:

HR-level count of all POC measures for Adult age group in Residential setting after Admission

SQL:
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)

13.2.136. HrAdultArPocCountChange

Base:

HR

Title:

Change in HR-level count of all POC measures for Adult age group in Residential setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultArPocCount as New
  join hist.HrAdultArPocCount as Old using (State)

13.2.137. HrAdultArPocCountGrowth

Base:

HR

Title:

Growth in HR-level count of all POC measures for Adult age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.138. HrAdultDaBasis32Completed

Base:

HR

Title:

HR-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.139. HrAdultDaBasis32CompletedChange

Base:

HR

Title:

Change in HR-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDaBasis32Completed as New
  join hist.HrAdultDaBasis32Completed as Old using (State)

13.2.140. HrAdultDaBasis32CompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Discharge

SQL:
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)

13.2.141. HrAdultDaBasis32CompletionRate

Base:

HR

Title:

HR-level completion rate of BASIS32 measures for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       sd_div_safe(HrAdultDaBasis32Completed.Total, HrAdultDaCodCount.Total, 3) as Rate
  from HrAdultDaBasis32Completed
  join HrAdultDaCodCount using (State)

13.2.142. HrAdultDaBasis32CompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of BASIS32 measures for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultDaBasis32CompletionRate as New
  join hist.HrAdultDaBasis32CompletionRate as Old using (State)
Rules:

13.2.143. HrAdultDaBasis32Count

Base:

HR

Title:

HR-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Discharge

SQL:
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)

13.2.144. HrAdultDaBasis32CountChange

Base:

HR

Title:

Change in HR-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDaBasis32Count as New
  join hist.HrAdultDaBasis32Count as Old using (State)

13.2.145. HrAdultDaBasis32CountGrowth

Base:

HR

Title:

Growth in HR-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.146. HrAdultDaCodCount

Base:

HR

Title:

HR-level count of collection occasions for Adult age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.147. HrAdultDaDiagCompleted

Base:

HR

Title:

HR-level count of completed DIAG measures for Adult age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.148. HrAdultDaDiagCompletedChange

Base:

HR

Title:

Change in HR-level count of completed DIAG measures for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDaDiagCompleted as New
  join hist.HrAdultDaDiagCompleted as Old using (State)

13.2.149. HrAdultDaDiagCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed DIAG measures for Adult age group in Ambulatory setting after Discharge

SQL:
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)

13.2.150. HrAdultDaDiagCompletionRate

Base:

HR

Title:

HR-level completion rate of DIAG measures for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       sd_div_safe(HrAdultDaDiagCompleted.Total, HrAdultDaCodCount.Total, 3) as Rate
  from HrAdultDaDiagCompleted
  join HrAdultDaCodCount using (State)

13.2.151. HrAdultDaDiagCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of DIAG measures for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultDaDiagCompletionRate as New
  join hist.HrAdultDaDiagCompletionRate as Old using (State)
Rules:

13.2.152. HrAdultDaDiagCount

Base:

HR

Title:

HR-level count of all DIAG measures for Adult age group in Ambulatory setting after Discharge

SQL:
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)

13.2.153. HrAdultDaDiagCountChange

Base:

HR

Title:

Change in HR-level count of all DIAG measures for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDaDiagCount as New
  join hist.HrAdultDaDiagCount as Old using (State)

13.2.154. HrAdultDaDiagCountGrowth

Base:

HR

Title:

Growth in HR-level count of all DIAG measures for Adult age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.155. HrAdultDaHonosCompleted

Base:

HR

Title:

HR-level count of completed HONOS measures for Adult age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.156. HrAdultDaHonosCompletedChange

Base:

HR

Title:

Change in HR-level count of completed HONOS measures for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDaHonosCompleted as New
  join hist.HrAdultDaHonosCompleted as Old using (State)

13.2.157. HrAdultDaHonosCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed HONOS measures for Adult age group in Ambulatory setting after Discharge

SQL:
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)

13.2.158. HrAdultDaHonosCompletionRate

Base:

HR

Title:

HR-level completion rate of HONOS measures for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       sd_div_safe(HrAdultDaHonosCompleted.Total, HrAdultDaCodCount.Total, 3) as Rate
  from HrAdultDaHonosCompleted
  join HrAdultDaCodCount using (State)

13.2.159. HrAdultDaHonosCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of HONOS measures for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultDaHonosCompletionRate as New
  join hist.HrAdultDaHonosCompletionRate as Old using (State)
Rules:

13.2.160. HrAdultDaHonosCount

Base:

HR

Title:

HR-level count of all HONOS measures for Adult age group in Ambulatory setting after Discharge

SQL:
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)

13.2.161. HrAdultDaHonosCountChange

Base:

HR

Title:

Change in HR-level count of all HONOS measures for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDaHonosCount as New
  join hist.HrAdultDaHonosCount as Old using (State)

13.2.162. HrAdultDaHonosCountGrowth

Base:

HR

Title:

Growth in HR-level count of all HONOS measures for Adult age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.163. HrAdultDaK10l3dCompleted

Base:

HR

Title:

HR-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.164. HrAdultDaK10l3dCompletedChange

Base:

HR

Title:

Change in HR-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDaK10l3dCompleted as New
  join hist.HrAdultDaK10l3dCompleted as Old using (State)

13.2.165. HrAdultDaK10l3dCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Discharge

SQL:
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)

13.2.166. HrAdultDaK10l3dCompletionRate

Base:

HR

Title:

HR-level completion rate of K10L3D measures for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       sd_div_safe(HrAdultDaK10l3dCompleted.Total, HrAdultDaCodCount.Total, 3) as Rate
  from HrAdultDaK10l3dCompleted
  join HrAdultDaCodCount using (State)

13.2.167. HrAdultDaK10l3dCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of K10L3D measures for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultDaK10l3dCompletionRate as New
  join hist.HrAdultDaK10l3dCompletionRate as Old using (State)
Rules:

13.2.168. HrAdultDaK10l3dCount

Base:

HR

Title:

HR-level count of all K10L3D measures for Adult age group in Ambulatory setting after Discharge

SQL:
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)

13.2.169. HrAdultDaK10l3dCountChange

Base:

HR

Title:

Change in HR-level count of all K10L3D measures for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDaK10l3dCount as New
  join hist.HrAdultDaK10l3dCount as Old using (State)

13.2.170. HrAdultDaK10l3dCountGrowth

Base:

HR

Title:

Growth in HR-level count of all K10L3D measures for Adult age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.171. HrAdultDaK10lmCompleted

Base:

HR

Title:

HR-level count of completed K10LM measures for Adult age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.172. HrAdultDaK10lmCompletedChange

Base:

HR

Title:

Change in HR-level count of completed K10LM measures for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDaK10lmCompleted as New
  join hist.HrAdultDaK10lmCompleted as Old using (State)

13.2.173. HrAdultDaK10lmCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed K10LM measures for Adult age group in Ambulatory setting after Discharge

SQL:
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)

13.2.174. HrAdultDaK10lmCompletionRate

Base:

HR

Title:

HR-level completion rate of K10LM measures for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       sd_div_safe(HrAdultDaK10lmCompleted.Total, HrAdultDaCodCount.Total, 3) as Rate
  from HrAdultDaK10lmCompleted
  join HrAdultDaCodCount using (State)

13.2.175. HrAdultDaK10lmCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of K10LM measures for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultDaK10lmCompletionRate as New
  join hist.HrAdultDaK10lmCompletionRate as Old using (State)
Rules:

13.2.176. HrAdultDaK10lmCount

Base:

HR

Title:

HR-level count of all K10LM measures for Adult age group in Ambulatory setting after Discharge

SQL:
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)

13.2.177. HrAdultDaK10lmCountChange

Base:

HR

Title:

Change in HR-level count of all K10LM measures for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDaK10lmCount as New
  join hist.HrAdultDaK10lmCount as Old using (State)

13.2.178. HrAdultDaK10lmCountGrowth

Base:

HR

Title:

Growth in HR-level count of all K10LM measures for Adult age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.179. HrAdultDaLsp16Completed

Base:

HR

Title:

HR-level count of completed LSP16 measures for Adult age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.180. HrAdultDaLsp16CompletedChange

Base:

HR

Title:

Change in HR-level count of completed LSP16 measures for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDaLsp16Completed as New
  join hist.HrAdultDaLsp16Completed as Old using (State)

13.2.181. HrAdultDaLsp16CompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed LSP16 measures for Adult age group in Ambulatory setting after Discharge

SQL:
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)

13.2.182. HrAdultDaLsp16CompletionRate

Base:

HR

Title:

HR-level completion rate of LSP16 measures for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       sd_div_safe(HrAdultDaLsp16Completed.Total, HrAdultDaCodCount.Total, 3) as Rate
  from HrAdultDaLsp16Completed
  join HrAdultDaCodCount using (State)

13.2.183. HrAdultDaLsp16CompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of LSP16 measures for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultDaLsp16CompletionRate as New
  join hist.HrAdultDaLsp16CompletionRate as Old using (State)
Rules:

13.2.184. HrAdultDaLsp16Count

Base:

HR

Title:

HR-level count of all LSP16 measures for Adult age group in Ambulatory setting after Discharge

SQL:
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)

13.2.185. HrAdultDaLsp16CountChange

Base:

HR

Title:

Change in HR-level count of all LSP16 measures for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDaLsp16Count as New
  join hist.HrAdultDaLsp16Count as Old using (State)

13.2.186. HrAdultDaLsp16CountGrowth

Base:

HR

Title:

Growth in HR-level count of all LSP16 measures for Adult age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.187. HrAdultDaMhi38Completed

Base:

HR

Title:

HR-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.188. HrAdultDaMhi38CompletedChange

Base:

HR

Title:

Change in HR-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDaMhi38Completed as New
  join hist.HrAdultDaMhi38Completed as Old using (State)

13.2.189. HrAdultDaMhi38CompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Discharge

SQL:
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)

13.2.190. HrAdultDaMhi38CompletionRate

Base:

HR

Title:

HR-level completion rate of MHI38 measures for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       sd_div_safe(HrAdultDaMhi38Completed.Total, HrAdultDaCodCount.Total, 3) as Rate
  from HrAdultDaMhi38Completed
  join HrAdultDaCodCount using (State)

13.2.191. HrAdultDaMhi38CompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of MHI38 measures for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultDaMhi38CompletionRate as New
  join hist.HrAdultDaMhi38CompletionRate as Old using (State)
Rules:

13.2.192. HrAdultDaMhi38Count

Base:

HR

Title:

HR-level count of all MHI38 measures for Adult age group in Ambulatory setting after Discharge

SQL:
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)

13.2.193. HrAdultDaMhi38CountChange

Base:

HR

Title:

Change in HR-level count of all MHI38 measures for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDaMhi38Count as New
  join hist.HrAdultDaMhi38Count as Old using (State)

13.2.194. HrAdultDaMhi38CountGrowth

Base:

HR

Title:

Growth in HR-level count of all MHI38 measures for Adult age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.195. HrAdultDaMhlsCompleted

Base:

HR

Title:

HR-level count of completed MHLS measures for Adult age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.196. HrAdultDaMhlsCompletedChange

Base:

HR

Title:

Change in HR-level count of completed MHLS measures for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDaMhlsCompleted as New
  join hist.HrAdultDaMhlsCompleted as Old using (State)

13.2.197. HrAdultDaMhlsCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed MHLS measures for Adult age group in Ambulatory setting after Discharge

SQL:
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)

13.2.198. HrAdultDaMhlsCompletionRate

Base:

HR

Title:

HR-level completion rate of MHLS measures for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       sd_div_safe(HrAdultDaMhlsCompleted.Total, HrAdultDaCodCount.Total, 3) as Rate
  from HrAdultDaMhlsCompleted
  join HrAdultDaCodCount using (State)

13.2.199. HrAdultDaMhlsCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of MHLS measures for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultDaMhlsCompletionRate as New
  join hist.HrAdultDaMhlsCompletionRate as Old using (State)
Rules:

13.2.200. HrAdultDaMhlsCount

Base:

HR

Title:

HR-level count of all MHLS measures for Adult age group in Ambulatory setting after Discharge

SQL:
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)

13.2.201. HrAdultDaMhlsCountChange

Base:

HR

Title:

Change in HR-level count of all MHLS measures for Adult age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDaMhlsCount as New
  join hist.HrAdultDaMhlsCount as Old using (State)

13.2.202. HrAdultDaMhlsCountGrowth

Base:

HR

Title:

Growth in HR-level count of all MHLS measures for Adult age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.203. HrAdultDiCodCount

Base:

HR

Title:

HR-level count of collection occasions for Adult age group in Inpatient setting after Discharge

SQL:
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)
Rules:

13.2.204. HrAdultDiDiagCompleted

Base:

HR

Title:

HR-level count of completed DIAG measures for Adult age group in Inpatient setting after Discharge

SQL:
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)
Rules:

13.2.205. HrAdultDiDiagCompletedChange

Base:

HR

Title:

Change in HR-level count of completed DIAG measures for Adult age group in Inpatient setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDiDiagCompleted as New
  join hist.HrAdultDiDiagCompleted as Old using (State)

13.2.206. HrAdultDiDiagCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed DIAG measures for Adult age group in Inpatient setting after Discharge

SQL:
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)

13.2.207. HrAdultDiDiagCompletionRate

Base:

HR

Title:

HR-level completion rate of DIAG measures for Adult age group in Inpatient setting after Discharge

SQL:
select State,
       sd_div_safe(HrAdultDiDiagCompleted.Total, HrAdultDiCodCount.Total, 3) as Rate
  from HrAdultDiDiagCompleted
  join HrAdultDiCodCount using (State)

13.2.208. HrAdultDiDiagCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of DIAG measures for Adult age group in Inpatient setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultDiDiagCompletionRate as New
  join hist.HrAdultDiDiagCompletionRate as Old using (State)
Rules:

13.2.209. HrAdultDiDiagCount

Base:

HR

Title:

HR-level count of all DIAG measures for Adult age group in Inpatient setting after Discharge

SQL:
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)

13.2.210. HrAdultDiDiagCountChange

Base:

HR

Title:

Change in HR-level count of all DIAG measures for Adult age group in Inpatient setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDiDiagCount as New
  join hist.HrAdultDiDiagCount as Old using (State)

13.2.211. HrAdultDiDiagCountGrowth

Base:

HR

Title:

Growth in HR-level count of all DIAG measures for Adult age group in Inpatient setting after Discharge

SQL:
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)
Rules:

13.2.212. HrAdultDiHonosCompleted

Base:

HR

Title:

HR-level count of completed HONOS measures for Adult age group in Inpatient setting after Discharge

SQL:
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)
Rules:

13.2.213. HrAdultDiHonosCompletedChange

Base:

HR

Title:

Change in HR-level count of completed HONOS measures for Adult age group in Inpatient setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDiHonosCompleted as New
  join hist.HrAdultDiHonosCompleted as Old using (State)

13.2.214. HrAdultDiHonosCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed HONOS measures for Adult age group in Inpatient setting after Discharge

SQL:
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)

13.2.215. HrAdultDiHonosCompletionRate

Base:

HR

Title:

HR-level completion rate of HONOS measures for Adult age group in Inpatient setting after Discharge

SQL:
select State,
       sd_div_safe(HrAdultDiHonosCompleted.Total, HrAdultDiCodCount.Total, 3) as Rate
  from HrAdultDiHonosCompleted
  join HrAdultDiCodCount using (State)

13.2.216. HrAdultDiHonosCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of HONOS measures for Adult age group in Inpatient setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultDiHonosCompletionRate as New
  join hist.HrAdultDiHonosCompletionRate as Old using (State)
Rules:

13.2.217. HrAdultDiHonosCount

Base:

HR

Title:

HR-level count of all HONOS measures for Adult age group in Inpatient setting after Discharge

SQL:
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)

13.2.218. HrAdultDiHonosCountChange

Base:

HR

Title:

Change in HR-level count of all HONOS measures for Adult age group in Inpatient setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDiHonosCount as New
  join hist.HrAdultDiHonosCount as Old using (State)

13.2.219. HrAdultDiHonosCountGrowth

Base:

HR

Title:

Growth in HR-level count of all HONOS measures for Adult age group in Inpatient setting after Discharge

SQL:
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)
Rules:

13.2.220. HrAdultDiMhlsCompleted

Base:

HR

Title:

HR-level count of completed MHLS measures for Adult age group in Inpatient setting after Discharge

SQL:
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)
Rules:

13.2.221. HrAdultDiMhlsCompletedChange

Base:

HR

Title:

Change in HR-level count of completed MHLS measures for Adult age group in Inpatient setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDiMhlsCompleted as New
  join hist.HrAdultDiMhlsCompleted as Old using (State)

13.2.222. HrAdultDiMhlsCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed MHLS measures for Adult age group in Inpatient setting after Discharge

SQL:
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)

13.2.223. HrAdultDiMhlsCompletionRate

Base:

HR

Title:

HR-level completion rate of MHLS measures for Adult age group in Inpatient setting after Discharge

SQL:
select State,
       sd_div_safe(HrAdultDiMhlsCompleted.Total, HrAdultDiCodCount.Total, 3) as Rate
  from HrAdultDiMhlsCompleted
  join HrAdultDiCodCount using (State)

13.2.224. HrAdultDiMhlsCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of MHLS measures for Adult age group in Inpatient setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultDiMhlsCompletionRate as New
  join hist.HrAdultDiMhlsCompletionRate as Old using (State)
Rules:

13.2.225. HrAdultDiMhlsCount

Base:

HR

Title:

HR-level count of all MHLS measures for Adult age group in Inpatient setting after Discharge

SQL:
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)

13.2.226. HrAdultDiMhlsCountChange

Base:

HR

Title:

Change in HR-level count of all MHLS measures for Adult age group in Inpatient setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDiMhlsCount as New
  join hist.HrAdultDiMhlsCount as Old using (State)

13.2.227. HrAdultDiMhlsCountGrowth

Base:

HR

Title:

Growth in HR-level count of all MHLS measures for Adult age group in Inpatient setting after Discharge

SQL:
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)
Rules:

13.2.228. HrAdultDrBasis32Completed

Base:

HR

Title:

HR-level count of completed BASIS32 measures for Adult age group in Residential setting after Discharge

SQL:
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)
Rules:

13.2.229. HrAdultDrBasis32CompletedChange

Base:

HR

Title:

Change in HR-level count of completed BASIS32 measures for Adult age group in Residential setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDrBasis32Completed as New
  join hist.HrAdultDrBasis32Completed as Old using (State)

13.2.230. HrAdultDrBasis32CompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed BASIS32 measures for Adult age group in Residential setting after Discharge

SQL:
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)

13.2.231. HrAdultDrBasis32CompletionRate

Base:

HR

Title:

HR-level completion rate of BASIS32 measures for Adult age group in Residential setting after Discharge

SQL:
select State,
       sd_div_safe(HrAdultDrBasis32Completed.Total, HrAdultDrCodCount.Total, 3) as Rate
  from HrAdultDrBasis32Completed
  join HrAdultDrCodCount using (State)

13.2.232. HrAdultDrBasis32CompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of BASIS32 measures for Adult age group in Residential setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultDrBasis32CompletionRate as New
  join hist.HrAdultDrBasis32CompletionRate as Old using (State)
Rules:

13.2.233. HrAdultDrBasis32Count

Base:

HR

Title:

HR-level count of all BASIS32 measures for Adult age group in Residential setting after Discharge

SQL:
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)

13.2.234. HrAdultDrBasis32CountChange

Base:

HR

Title:

Change in HR-level count of all BASIS32 measures for Adult age group in Residential setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDrBasis32Count as New
  join hist.HrAdultDrBasis32Count as Old using (State)

13.2.235. HrAdultDrBasis32CountGrowth

Base:

HR

Title:

Growth in HR-level count of all BASIS32 measures for Adult age group in Residential setting after Discharge

SQL:
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)
Rules:

13.2.236. HrAdultDrCodCount

Base:

HR

Title:

HR-level count of collection occasions for Adult age group in Residential setting after Discharge

SQL:
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)
Rules:

13.2.237. HrAdultDrDiagCompleted

Base:

HR

Title:

HR-level count of completed DIAG measures for Adult age group in Residential setting after Discharge

SQL:
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)
Rules:

13.2.238. HrAdultDrDiagCompletedChange

Base:

HR

Title:

Change in HR-level count of completed DIAG measures for Adult age group in Residential setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDrDiagCompleted as New
  join hist.HrAdultDrDiagCompleted as Old using (State)

13.2.239. HrAdultDrDiagCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed DIAG measures for Adult age group in Residential setting after Discharge

SQL:
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)

13.2.240. HrAdultDrDiagCompletionRate

Base:

HR

Title:

HR-level completion rate of DIAG measures for Adult age group in Residential setting after Discharge

SQL:
select State,
       sd_div_safe(HrAdultDrDiagCompleted.Total, HrAdultDrCodCount.Total, 3) as Rate
  from HrAdultDrDiagCompleted
  join HrAdultDrCodCount using (State)

13.2.241. HrAdultDrDiagCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of DIAG measures for Adult age group in Residential setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultDrDiagCompletionRate as New
  join hist.HrAdultDrDiagCompletionRate as Old using (State)
Rules:

13.2.242. HrAdultDrDiagCount

Base:

HR

Title:

HR-level count of all DIAG measures for Adult age group in Residential setting after Discharge

SQL:
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)

13.2.243. HrAdultDrDiagCountChange

Base:

HR

Title:

Change in HR-level count of all DIAG measures for Adult age group in Residential setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDrDiagCount as New
  join hist.HrAdultDrDiagCount as Old using (State)

13.2.244. HrAdultDrDiagCountGrowth

Base:

HR

Title:

Growth in HR-level count of all DIAG measures for Adult age group in Residential setting after Discharge

SQL:
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)
Rules:

13.2.245. HrAdultDrHonosCompleted

Base:

HR

Title:

HR-level count of completed HONOS measures for Adult age group in Residential setting after Discharge

SQL:
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)
Rules:

13.2.246. HrAdultDrHonosCompletedChange

Base:

HR

Title:

Change in HR-level count of completed HONOS measures for Adult age group in Residential setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDrHonosCompleted as New
  join hist.HrAdultDrHonosCompleted as Old using (State)

13.2.247. HrAdultDrHonosCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed HONOS measures for Adult age group in Residential setting after Discharge

SQL:
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)

13.2.248. HrAdultDrHonosCompletionRate

Base:

HR

Title:

HR-level completion rate of HONOS measures for Adult age group in Residential setting after Discharge

SQL:
select State,
       sd_div_safe(HrAdultDrHonosCompleted.Total, HrAdultDrCodCount.Total, 3) as Rate
  from HrAdultDrHonosCompleted
  join HrAdultDrCodCount using (State)

13.2.249. HrAdultDrHonosCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of HONOS measures for Adult age group in Residential setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultDrHonosCompletionRate as New
  join hist.HrAdultDrHonosCompletionRate as Old using (State)
Rules:

13.2.250. HrAdultDrHonosCount

Base:

HR

Title:

HR-level count of all HONOS measures for Adult age group in Residential setting after Discharge

SQL:
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)

13.2.251. HrAdultDrHonosCountChange

Base:

HR

Title:

Change in HR-level count of all HONOS measures for Adult age group in Residential setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDrHonosCount as New
  join hist.HrAdultDrHonosCount as Old using (State)

13.2.252. HrAdultDrHonosCountGrowth

Base:

HR

Title:

Growth in HR-level count of all HONOS measures for Adult age group in Residential setting after Discharge

SQL:
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)
Rules:

13.2.253. HrAdultDrK10l3dCompleted

Base:

HR

Title:

HR-level count of completed K10L3D measures for Adult age group in Residential setting after Discharge

SQL:
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)
Rules:

13.2.254. HrAdultDrK10l3dCompletedChange

Base:

HR

Title:

Change in HR-level count of completed K10L3D measures for Adult age group in Residential setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDrK10l3dCompleted as New
  join hist.HrAdultDrK10l3dCompleted as Old using (State)

13.2.255. HrAdultDrK10l3dCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed K10L3D measures for Adult age group in Residential setting after Discharge

SQL:
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)

13.2.256. HrAdultDrK10l3dCompletionRate

Base:

HR

Title:

HR-level completion rate of K10L3D measures for Adult age group in Residential setting after Discharge

SQL:
select State,
       sd_div_safe(HrAdultDrK10l3dCompleted.Total, HrAdultDrCodCount.Total, 3) as Rate
  from HrAdultDrK10l3dCompleted
  join HrAdultDrCodCount using (State)

13.2.257. HrAdultDrK10l3dCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of K10L3D measures for Adult age group in Residential setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultDrK10l3dCompletionRate as New
  join hist.HrAdultDrK10l3dCompletionRate as Old using (State)
Rules:

13.2.258. HrAdultDrK10l3dCount

Base:

HR

Title:

HR-level count of all K10L3D measures for Adult age group in Residential setting after Discharge

SQL:
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)

13.2.259. HrAdultDrK10l3dCountChange

Base:

HR

Title:

Change in HR-level count of all K10L3D measures for Adult age group in Residential setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDrK10l3dCount as New
  join hist.HrAdultDrK10l3dCount as Old using (State)

13.2.260. HrAdultDrK10l3dCountGrowth

Base:

HR

Title:

Growth in HR-level count of all K10L3D measures for Adult age group in Residential setting after Discharge

SQL:
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)
Rules:

13.2.261. HrAdultDrK10lmCompleted

Base:

HR

Title:

HR-level count of completed K10LM measures for Adult age group in Residential setting after Discharge

SQL:
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)
Rules:

13.2.262. HrAdultDrK10lmCompletedChange

Base:

HR

Title:

Change in HR-level count of completed K10LM measures for Adult age group in Residential setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDrK10lmCompleted as New
  join hist.HrAdultDrK10lmCompleted as Old using (State)

13.2.263. HrAdultDrK10lmCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed K10LM measures for Adult age group in Residential setting after Discharge

SQL:
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)

13.2.264. HrAdultDrK10lmCompletionRate

Base:

HR

Title:

HR-level completion rate of K10LM measures for Adult age group in Residential setting after Discharge

SQL:
select State,
       sd_div_safe(HrAdultDrK10lmCompleted.Total, HrAdultDrCodCount.Total, 3) as Rate
  from HrAdultDrK10lmCompleted
  join HrAdultDrCodCount using (State)

13.2.265. HrAdultDrK10lmCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of K10LM measures for Adult age group in Residential setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultDrK10lmCompletionRate as New
  join hist.HrAdultDrK10lmCompletionRate as Old using (State)
Rules:

13.2.266. HrAdultDrK10lmCount

Base:

HR

Title:

HR-level count of all K10LM measures for Adult age group in Residential setting after Discharge

SQL:
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)

13.2.267. HrAdultDrK10lmCountChange

Base:

HR

Title:

Change in HR-level count of all K10LM measures for Adult age group in Residential setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDrK10lmCount as New
  join hist.HrAdultDrK10lmCount as Old using (State)

13.2.268. HrAdultDrK10lmCountGrowth

Base:

HR

Title:

Growth in HR-level count of all K10LM measures for Adult age group in Residential setting after Discharge

SQL:
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)
Rules:

13.2.269. HrAdultDrLsp16Completed

Base:

HR

Title:

HR-level count of completed LSP16 measures for Adult age group in Residential setting after Discharge

SQL:
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)
Rules:

13.2.270. HrAdultDrLsp16CompletedChange

Base:

HR

Title:

Change in HR-level count of completed LSP16 measures for Adult age group in Residential setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDrLsp16Completed as New
  join hist.HrAdultDrLsp16Completed as Old using (State)

13.2.271. HrAdultDrLsp16CompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed LSP16 measures for Adult age group in Residential setting after Discharge

SQL:
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)

13.2.272. HrAdultDrLsp16CompletionRate

Base:

HR

Title:

HR-level completion rate of LSP16 measures for Adult age group in Residential setting after Discharge

SQL:
select State,
       sd_div_safe(HrAdultDrLsp16Completed.Total, HrAdultDrCodCount.Total, 3) as Rate
  from HrAdultDrLsp16Completed
  join HrAdultDrCodCount using (State)

13.2.273. HrAdultDrLsp16CompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of LSP16 measures for Adult age group in Residential setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultDrLsp16CompletionRate as New
  join hist.HrAdultDrLsp16CompletionRate as Old using (State)
Rules:

13.2.274. HrAdultDrLsp16Count

Base:

HR

Title:

HR-level count of all LSP16 measures for Adult age group in Residential setting after Discharge

SQL:
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)

13.2.275. HrAdultDrLsp16CountChange

Base:

HR

Title:

Change in HR-level count of all LSP16 measures for Adult age group in Residential setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDrLsp16Count as New
  join hist.HrAdultDrLsp16Count as Old using (State)

13.2.276. HrAdultDrLsp16CountGrowth

Base:

HR

Title:

Growth in HR-level count of all LSP16 measures for Adult age group in Residential setting after Discharge

SQL:
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)
Rules:

13.2.277. HrAdultDrMhi38Completed

Base:

HR

Title:

HR-level count of completed MHI38 measures for Adult age group in Residential setting after Discharge

SQL:
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)
Rules:

13.2.278. HrAdultDrMhi38CompletedChange

Base:

HR

Title:

Change in HR-level count of completed MHI38 measures for Adult age group in Residential setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDrMhi38Completed as New
  join hist.HrAdultDrMhi38Completed as Old using (State)

13.2.279. HrAdultDrMhi38CompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed MHI38 measures for Adult age group in Residential setting after Discharge

SQL:
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)

13.2.280. HrAdultDrMhi38CompletionRate

Base:

HR

Title:

HR-level completion rate of MHI38 measures for Adult age group in Residential setting after Discharge

SQL:
select State,
       sd_div_safe(HrAdultDrMhi38Completed.Total, HrAdultDrCodCount.Total, 3) as Rate
  from HrAdultDrMhi38Completed
  join HrAdultDrCodCount using (State)

13.2.281. HrAdultDrMhi38CompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of MHI38 measures for Adult age group in Residential setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultDrMhi38CompletionRate as New
  join hist.HrAdultDrMhi38CompletionRate as Old using (State)
Rules:

13.2.282. HrAdultDrMhi38Count

Base:

HR

Title:

HR-level count of all MHI38 measures for Adult age group in Residential setting after Discharge

SQL:
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)

13.2.283. HrAdultDrMhi38CountChange

Base:

HR

Title:

Change in HR-level count of all MHI38 measures for Adult age group in Residential setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDrMhi38Count as New
  join hist.HrAdultDrMhi38Count as Old using (State)

13.2.284. HrAdultDrMhi38CountGrowth

Base:

HR

Title:

Growth in HR-level count of all MHI38 measures for Adult age group in Residential setting after Discharge

SQL:
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)
Rules:

13.2.285. HrAdultDrMhlsCompleted

Base:

HR

Title:

HR-level count of completed MHLS measures for Adult age group in Residential setting after Discharge

SQL:
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)
Rules:

13.2.286. HrAdultDrMhlsCompletedChange

Base:

HR

Title:

Change in HR-level count of completed MHLS measures for Adult age group in Residential setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDrMhlsCompleted as New
  join hist.HrAdultDrMhlsCompleted as Old using (State)

13.2.287. HrAdultDrMhlsCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed MHLS measures for Adult age group in Residential setting after Discharge

SQL:
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)

13.2.288. HrAdultDrMhlsCompletionRate

Base:

HR

Title:

HR-level completion rate of MHLS measures for Adult age group in Residential setting after Discharge

SQL:
select State,
       sd_div_safe(HrAdultDrMhlsCompleted.Total, HrAdultDrCodCount.Total, 3) as Rate
  from HrAdultDrMhlsCompleted
  join HrAdultDrCodCount using (State)

13.2.289. HrAdultDrMhlsCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of MHLS measures for Adult age group in Residential setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultDrMhlsCompletionRate as New
  join hist.HrAdultDrMhlsCompletionRate as Old using (State)
Rules:

13.2.290. HrAdultDrMhlsCount

Base:

HR

Title:

HR-level count of all MHLS measures for Adult age group in Residential setting after Discharge

SQL:
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)

13.2.291. HrAdultDrMhlsCountChange

Base:

HR

Title:

Change in HR-level count of all MHLS measures for Adult age group in Residential setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultDrMhlsCount as New
  join hist.HrAdultDrMhlsCount as Old using (State)

13.2.292. HrAdultDrMhlsCountGrowth

Base:

HR

Title:

Growth in HR-level count of all MHLS measures for Adult age group in Residential setting after Discharge

SQL:
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)
Rules:

13.2.293. HrAdultRaBasis32Completed

Base:

HR

Title:

HR-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Review

SQL:
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)
Rules:

13.2.294. HrAdultRaBasis32CompletedChange

Base:

HR

Title:

Change in HR-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRaBasis32Completed as New
  join hist.HrAdultRaBasis32Completed as Old using (State)

13.2.295. HrAdultRaBasis32CompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed BASIS32 measures for Adult age group in Ambulatory setting after Review

SQL:
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)

13.2.296. HrAdultRaBasis32CompletionRate

Base:

HR

Title:

HR-level completion rate of BASIS32 measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       sd_div_safe(HrAdultRaBasis32Completed.Total, HrAdultRaCodCount.Total, 3) as Rate
  from HrAdultRaBasis32Completed
  join HrAdultRaCodCount using (State)

13.2.297. HrAdultRaBasis32CompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of BASIS32 measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultRaBasis32CompletionRate as New
  join hist.HrAdultRaBasis32CompletionRate as Old using (State)
Rules:

13.2.298. HrAdultRaBasis32Count

Base:

HR

Title:

HR-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Review

SQL:
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)

13.2.299. HrAdultRaBasis32CountChange

Base:

HR

Title:

Change in HR-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRaBasis32Count as New
  join hist.HrAdultRaBasis32Count as Old using (State)

13.2.300. HrAdultRaBasis32CountGrowth

Base:

HR

Title:

Growth in HR-level count of all BASIS32 measures for Adult age group in Ambulatory setting after Review

SQL:
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)
Rules:

13.2.301. HrAdultRaCodCount

Base:

HR

Title:

HR-level count of collection occasions for Adult age group in Ambulatory setting after Review

SQL:
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)
Rules:

13.2.302. HrAdultRaDiagCompleted

Base:

HR

Title:

HR-level count of completed DIAG measures for Adult age group in Ambulatory setting after Review

SQL:
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)
Rules:

13.2.303. HrAdultRaDiagCompletedChange

Base:

HR

Title:

Change in HR-level count of completed DIAG measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRaDiagCompleted as New
  join hist.HrAdultRaDiagCompleted as Old using (State)

13.2.304. HrAdultRaDiagCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed DIAG measures for Adult age group in Ambulatory setting after Review

SQL:
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)

13.2.305. HrAdultRaDiagCompletionRate

Base:

HR

Title:

HR-level completion rate of DIAG measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       sd_div_safe(HrAdultRaDiagCompleted.Total, HrAdultRaCodCount.Total, 3) as Rate
  from HrAdultRaDiagCompleted
  join HrAdultRaCodCount using (State)

13.2.306. HrAdultRaDiagCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of DIAG measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultRaDiagCompletionRate as New
  join hist.HrAdultRaDiagCompletionRate as Old using (State)
Rules:

13.2.307. HrAdultRaDiagCount

Base:

HR

Title:

HR-level count of all DIAG measures for Adult age group in Ambulatory setting after Review

SQL:
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)

13.2.308. HrAdultRaDiagCountChange

Base:

HR

Title:

Change in HR-level count of all DIAG measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRaDiagCount as New
  join hist.HrAdultRaDiagCount as Old using (State)

13.2.309. HrAdultRaDiagCountGrowth

Base:

HR

Title:

Growth in HR-level count of all DIAG measures for Adult age group in Ambulatory setting after Review

SQL:
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)
Rules:

13.2.310. HrAdultRaHonosCompleted

Base:

HR

Title:

HR-level count of completed HONOS measures for Adult age group in Ambulatory setting after Review

SQL:
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)
Rules:

13.2.311. HrAdultRaHonosCompletedChange

Base:

HR

Title:

Change in HR-level count of completed HONOS measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRaHonosCompleted as New
  join hist.HrAdultRaHonosCompleted as Old using (State)

13.2.312. HrAdultRaHonosCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed HONOS measures for Adult age group in Ambulatory setting after Review

SQL:
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)

13.2.313. HrAdultRaHonosCompletionRate

Base:

HR

Title:

HR-level completion rate of HONOS measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       sd_div_safe(HrAdultRaHonosCompleted.Total, HrAdultRaCodCount.Total, 3) as Rate
  from HrAdultRaHonosCompleted
  join HrAdultRaCodCount using (State)

13.2.314. HrAdultRaHonosCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of HONOS measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultRaHonosCompletionRate as New
  join hist.HrAdultRaHonosCompletionRate as Old using (State)
Rules:

13.2.315. HrAdultRaHonosCount

Base:

HR

Title:

HR-level count of all HONOS measures for Adult age group in Ambulatory setting after Review

SQL:
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)

13.2.316. HrAdultRaHonosCountChange

Base:

HR

Title:

Change in HR-level count of all HONOS measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRaHonosCount as New
  join hist.HrAdultRaHonosCount as Old using (State)

13.2.317. HrAdultRaHonosCountGrowth

Base:

HR

Title:

Growth in HR-level count of all HONOS measures for Adult age group in Ambulatory setting after Review

SQL:
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)
Rules:

13.2.318. HrAdultRaK10l3dCompleted

Base:

HR

Title:

HR-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Review

SQL:
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)
Rules:

13.2.319. HrAdultRaK10l3dCompletedChange

Base:

HR

Title:

Change in HR-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRaK10l3dCompleted as New
  join hist.HrAdultRaK10l3dCompleted as Old using (State)

13.2.320. HrAdultRaK10l3dCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed K10L3D measures for Adult age group in Ambulatory setting after Review

SQL:
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)

13.2.321. HrAdultRaK10l3dCompletionRate

Base:

HR

Title:

HR-level completion rate of K10L3D measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       sd_div_safe(HrAdultRaK10l3dCompleted.Total, HrAdultRaCodCount.Total, 3) as Rate
  from HrAdultRaK10l3dCompleted
  join HrAdultRaCodCount using (State)

13.2.322. HrAdultRaK10l3dCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of K10L3D measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultRaK10l3dCompletionRate as New
  join hist.HrAdultRaK10l3dCompletionRate as Old using (State)
Rules:

13.2.323. HrAdultRaK10l3dCount

Base:

HR

Title:

HR-level count of all K10L3D measures for Adult age group in Ambulatory setting after Review

SQL:
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)

13.2.324. HrAdultRaK10l3dCountChange

Base:

HR

Title:

Change in HR-level count of all K10L3D measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRaK10l3dCount as New
  join hist.HrAdultRaK10l3dCount as Old using (State)

13.2.325. HrAdultRaK10l3dCountGrowth

Base:

HR

Title:

Growth in HR-level count of all K10L3D measures for Adult age group in Ambulatory setting after Review

SQL:
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)
Rules:

13.2.326. HrAdultRaK10lmCompleted

Base:

HR

Title:

HR-level count of completed K10LM measures for Adult age group in Ambulatory setting after Review

SQL:
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)
Rules:

13.2.327. HrAdultRaK10lmCompletedChange

Base:

HR

Title:

Change in HR-level count of completed K10LM measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRaK10lmCompleted as New
  join hist.HrAdultRaK10lmCompleted as Old using (State)

13.2.328. HrAdultRaK10lmCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed K10LM measures for Adult age group in Ambulatory setting after Review

SQL:
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)

13.2.329. HrAdultRaK10lmCompletionRate

Base:

HR

Title:

HR-level completion rate of K10LM measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       sd_div_safe(HrAdultRaK10lmCompleted.Total, HrAdultRaCodCount.Total, 3) as Rate
  from HrAdultRaK10lmCompleted
  join HrAdultRaCodCount using (State)

13.2.330. HrAdultRaK10lmCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of K10LM measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultRaK10lmCompletionRate as New
  join hist.HrAdultRaK10lmCompletionRate as Old using (State)
Rules:

13.2.331. HrAdultRaK10lmCount

Base:

HR

Title:

HR-level count of all K10LM measures for Adult age group in Ambulatory setting after Review

SQL:
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)

13.2.332. HrAdultRaK10lmCountChange

Base:

HR

Title:

Change in HR-level count of all K10LM measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRaK10lmCount as New
  join hist.HrAdultRaK10lmCount as Old using (State)

13.2.333. HrAdultRaK10lmCountGrowth

Base:

HR

Title:

Growth in HR-level count of all K10LM measures for Adult age group in Ambulatory setting after Review

SQL:
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)
Rules:

13.2.334. HrAdultRaLsp16Completed

Base:

HR

Title:

HR-level count of completed LSP16 measures for Adult age group in Ambulatory setting after Review

SQL:
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)
Rules:

13.2.335. HrAdultRaLsp16CompletedChange

Base:

HR

Title:

Change in HR-level count of completed LSP16 measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRaLsp16Completed as New
  join hist.HrAdultRaLsp16Completed as Old using (State)

13.2.336. HrAdultRaLsp16CompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed LSP16 measures for Adult age group in Ambulatory setting after Review

SQL:
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)

13.2.337. HrAdultRaLsp16CompletionRate

Base:

HR

Title:

HR-level completion rate of LSP16 measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       sd_div_safe(HrAdultRaLsp16Completed.Total, HrAdultRaCodCount.Total, 3) as Rate
  from HrAdultRaLsp16Completed
  join HrAdultRaCodCount using (State)

13.2.338. HrAdultRaLsp16CompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of LSP16 measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultRaLsp16CompletionRate as New
  join hist.HrAdultRaLsp16CompletionRate as Old using (State)
Rules:

13.2.339. HrAdultRaLsp16Count

Base:

HR

Title:

HR-level count of all LSP16 measures for Adult age group in Ambulatory setting after Review

SQL:
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)

13.2.340. HrAdultRaLsp16CountChange

Base:

HR

Title:

Change in HR-level count of all LSP16 measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRaLsp16Count as New
  join hist.HrAdultRaLsp16Count as Old using (State)

13.2.341. HrAdultRaLsp16CountGrowth

Base:

HR

Title:

Growth in HR-level count of all LSP16 measures for Adult age group in Ambulatory setting after Review

SQL:
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)
Rules:

13.2.342. HrAdultRaMhi38Completed

Base:

HR

Title:

HR-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Review

SQL:
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)
Rules:

13.2.343. HrAdultRaMhi38CompletedChange

Base:

HR

Title:

Change in HR-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRaMhi38Completed as New
  join hist.HrAdultRaMhi38Completed as Old using (State)

13.2.344. HrAdultRaMhi38CompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed MHI38 measures for Adult age group in Ambulatory setting after Review

SQL:
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)

13.2.345. HrAdultRaMhi38CompletionRate

Base:

HR

Title:

HR-level completion rate of MHI38 measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       sd_div_safe(HrAdultRaMhi38Completed.Total, HrAdultRaCodCount.Total, 3) as Rate
  from HrAdultRaMhi38Completed
  join HrAdultRaCodCount using (State)

13.2.346. HrAdultRaMhi38CompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of MHI38 measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultRaMhi38CompletionRate as New
  join hist.HrAdultRaMhi38CompletionRate as Old using (State)
Rules:

13.2.347. HrAdultRaMhi38Count

Base:

HR

Title:

HR-level count of all MHI38 measures for Adult age group in Ambulatory setting after Review

SQL:
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)

13.2.348. HrAdultRaMhi38CountChange

Base:

HR

Title:

Change in HR-level count of all MHI38 measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRaMhi38Count as New
  join hist.HrAdultRaMhi38Count as Old using (State)

13.2.349. HrAdultRaMhi38CountGrowth

Base:

HR

Title:

Growth in HR-level count of all MHI38 measures for Adult age group in Ambulatory setting after Review

SQL:
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)
Rules:

13.2.350. HrAdultRaMhlsCompleted

Base:

HR

Title:

HR-level count of completed MHLS measures for Adult age group in Ambulatory setting after Review

SQL:
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)
Rules:

13.2.351. HrAdultRaMhlsCompletedChange

Base:

HR

Title:

Change in HR-level count of completed MHLS measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRaMhlsCompleted as New
  join hist.HrAdultRaMhlsCompleted as Old using (State)

13.2.352. HrAdultRaMhlsCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed MHLS measures for Adult age group in Ambulatory setting after Review

SQL:
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)

13.2.353. HrAdultRaMhlsCompletionRate

Base:

HR

Title:

HR-level completion rate of MHLS measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       sd_div_safe(HrAdultRaMhlsCompleted.Total, HrAdultRaCodCount.Total, 3) as Rate
  from HrAdultRaMhlsCompleted
  join HrAdultRaCodCount using (State)

13.2.354. HrAdultRaMhlsCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of MHLS measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultRaMhlsCompletionRate as New
  join hist.HrAdultRaMhlsCompletionRate as Old using (State)
Rules:

13.2.355. HrAdultRaMhlsCount

Base:

HR

Title:

HR-level count of all MHLS measures for Adult age group in Ambulatory setting after Review

SQL:
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)

13.2.356. HrAdultRaMhlsCountChange

Base:

HR

Title:

Change in HR-level count of all MHLS measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRaMhlsCount as New
  join hist.HrAdultRaMhlsCount as Old using (State)

13.2.357. HrAdultRaMhlsCountGrowth

Base:

HR

Title:

Growth in HR-level count of all MHLS measures for Adult age group in Ambulatory setting after Review

SQL:
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)
Rules:

13.2.358. HrAdultRaPocCompleted

Base:

HR

Title:

HR-level count of completed POC measures for Adult age group in Ambulatory setting after Review

SQL:
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)
Rules:

13.2.359. HrAdultRaPocCompletedChange

Base:

HR

Title:

Change in HR-level count of completed POC measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRaPocCompleted as New
  join hist.HrAdultRaPocCompleted as Old using (State)

13.2.360. HrAdultRaPocCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed POC measures for Adult age group in Ambulatory setting after Review

SQL:
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)

13.2.361. HrAdultRaPocCompletionRate

Base:

HR

Title:

HR-level completion rate of POC measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       sd_div_safe(HrAdultRaPocCompleted.Total, HrAdultRaCodCount.Total, 3) as Rate
  from HrAdultRaPocCompleted
  join HrAdultRaCodCount using (State)

13.2.362. HrAdultRaPocCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of POC measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultRaPocCompletionRate as New
  join hist.HrAdultRaPocCompletionRate as Old using (State)
Rules:

13.2.363. HrAdultRaPocCount

Base:

HR

Title:

HR-level count of all POC measures for Adult age group in Ambulatory setting after Review

SQL:
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)

13.2.364. HrAdultRaPocCountChange

Base:

HR

Title:

Change in HR-level count of all POC measures for Adult age group in Ambulatory setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRaPocCount as New
  join hist.HrAdultRaPocCount as Old using (State)

13.2.365. HrAdultRaPocCountGrowth

Base:

HR

Title:

Growth in HR-level count of all POC measures for Adult age group in Ambulatory setting after Review

SQL:
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)
Rules:

13.2.366. HrAdultRiCodCount

Base:

HR

Title:

HR-level count of collection occasions for Adult age group in Inpatient setting after Review

SQL:
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)
Rules:

13.2.367. HrAdultRiDiagCompleted

Base:

HR

Title:

HR-level count of completed DIAG measures for Adult age group in Inpatient setting after Review

SQL:
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)
Rules:

13.2.368. HrAdultRiDiagCompletedChange

Base:

HR

Title:

Change in HR-level count of completed DIAG measures for Adult age group in Inpatient setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRiDiagCompleted as New
  join hist.HrAdultRiDiagCompleted as Old using (State)

13.2.369. HrAdultRiDiagCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed DIAG measures for Adult age group in Inpatient setting after Review

SQL:
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)

13.2.370. HrAdultRiDiagCompletionRate

Base:

HR

Title:

HR-level completion rate of DIAG measures for Adult age group in Inpatient setting after Review

SQL:
select State,
       sd_div_safe(HrAdultRiDiagCompleted.Total, HrAdultRiCodCount.Total, 3) as Rate
  from HrAdultRiDiagCompleted
  join HrAdultRiCodCount using (State)

13.2.371. HrAdultRiDiagCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of DIAG measures for Adult age group in Inpatient setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultRiDiagCompletionRate as New
  join hist.HrAdultRiDiagCompletionRate as Old using (State)
Rules:

13.2.372. HrAdultRiDiagCount

Base:

HR

Title:

HR-level count of all DIAG measures for Adult age group in Inpatient setting after Review

SQL:
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)

13.2.373. HrAdultRiDiagCountChange

Base:

HR

Title:

Change in HR-level count of all DIAG measures for Adult age group in Inpatient setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRiDiagCount as New
  join hist.HrAdultRiDiagCount as Old using (State)

13.2.374. HrAdultRiDiagCountGrowth

Base:

HR

Title:

Growth in HR-level count of all DIAG measures for Adult age group in Inpatient setting after Review

SQL:
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)
Rules:

13.2.375. HrAdultRiHonosCompleted

Base:

HR

Title:

HR-level count of completed HONOS measures for Adult age group in Inpatient setting after Review

SQL:
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)
Rules:

13.2.376. HrAdultRiHonosCompletedChange

Base:

HR

Title:

Change in HR-level count of completed HONOS measures for Adult age group in Inpatient setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRiHonosCompleted as New
  join hist.HrAdultRiHonosCompleted as Old using (State)

13.2.377. HrAdultRiHonosCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed HONOS measures for Adult age group in Inpatient setting after Review

SQL:
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)

13.2.378. HrAdultRiHonosCompletionRate

Base:

HR

Title:

HR-level completion rate of HONOS measures for Adult age group in Inpatient setting after Review

SQL:
select State,
       sd_div_safe(HrAdultRiHonosCompleted.Total, HrAdultRiCodCount.Total, 3) as Rate
  from HrAdultRiHonosCompleted
  join HrAdultRiCodCount using (State)

13.2.379. HrAdultRiHonosCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of HONOS measures for Adult age group in Inpatient setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultRiHonosCompletionRate as New
  join hist.HrAdultRiHonosCompletionRate as Old using (State)
Rules:

13.2.380. HrAdultRiHonosCount

Base:

HR

Title:

HR-level count of all HONOS measures for Adult age group in Inpatient setting after Review

SQL:
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)

13.2.381. HrAdultRiHonosCountChange

Base:

HR

Title:

Change in HR-level count of all HONOS measures for Adult age group in Inpatient setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRiHonosCount as New
  join hist.HrAdultRiHonosCount as Old using (State)

13.2.382. HrAdultRiHonosCountGrowth

Base:

HR

Title:

Growth in HR-level count of all HONOS measures for Adult age group in Inpatient setting after Review

SQL:
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)
Rules:

13.2.383. HrAdultRiMhlsCompleted

Base:

HR

Title:

HR-level count of completed MHLS measures for Adult age group in Inpatient setting after Review

SQL:
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)
Rules:

13.2.384. HrAdultRiMhlsCompletedChange

Base:

HR

Title:

Change in HR-level count of completed MHLS measures for Adult age group in Inpatient setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRiMhlsCompleted as New
  join hist.HrAdultRiMhlsCompleted as Old using (State)

13.2.385. HrAdultRiMhlsCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed MHLS measures for Adult age group in Inpatient setting after Review

SQL:
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)

13.2.386. HrAdultRiMhlsCompletionRate

Base:

HR

Title:

HR-level completion rate of MHLS measures for Adult age group in Inpatient setting after Review

SQL:
select State,
       sd_div_safe(HrAdultRiMhlsCompleted.Total, HrAdultRiCodCount.Total, 3) as Rate
  from HrAdultRiMhlsCompleted
  join HrAdultRiCodCount using (State)

13.2.387. HrAdultRiMhlsCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of MHLS measures for Adult age group in Inpatient setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultRiMhlsCompletionRate as New
  join hist.HrAdultRiMhlsCompletionRate as Old using (State)
Rules:

13.2.388. HrAdultRiMhlsCount

Base:

HR

Title:

HR-level count of all MHLS measures for Adult age group in Inpatient setting after Review

SQL:
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)

13.2.389. HrAdultRiMhlsCountChange

Base:

HR

Title:

Change in HR-level count of all MHLS measures for Adult age group in Inpatient setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRiMhlsCount as New
  join hist.HrAdultRiMhlsCount as Old using (State)

13.2.390. HrAdultRiMhlsCountGrowth

Base:

HR

Title:

Growth in HR-level count of all MHLS measures for Adult age group in Inpatient setting after Review

SQL:
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)
Rules:

13.2.391. HrAdultRiPocCompleted

Base:

HR

Title:

HR-level count of completed POC measures for Adult age group in Inpatient setting after Review

SQL:
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)
Rules:

13.2.392. HrAdultRiPocCompletedChange

Base:

HR

Title:

Change in HR-level count of completed POC measures for Adult age group in Inpatient setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRiPocCompleted as New
  join hist.HrAdultRiPocCompleted as Old using (State)

13.2.393. HrAdultRiPocCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed POC measures for Adult age group in Inpatient setting after Review

SQL:
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)

13.2.394. HrAdultRiPocCompletionRate

Base:

HR

Title:

HR-level completion rate of POC measures for Adult age group in Inpatient setting after Review

SQL:
select State,
       sd_div_safe(HrAdultRiPocCompleted.Total, HrAdultRiCodCount.Total, 3) as Rate
  from HrAdultRiPocCompleted
  join HrAdultRiCodCount using (State)

13.2.395. HrAdultRiPocCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of POC measures for Adult age group in Inpatient setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultRiPocCompletionRate as New
  join hist.HrAdultRiPocCompletionRate as Old using (State)
Rules:

13.2.396. HrAdultRiPocCount

Base:

HR

Title:

HR-level count of all POC measures for Adult age group in Inpatient setting after Review

SQL:
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)

13.2.397. HrAdultRiPocCountChange

Base:

HR

Title:

Change in HR-level count of all POC measures for Adult age group in Inpatient setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRiPocCount as New
  join hist.HrAdultRiPocCount as Old using (State)

13.2.398. HrAdultRiPocCountGrowth

Base:

HR

Title:

Growth in HR-level count of all POC measures for Adult age group in Inpatient setting after Review

SQL:
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)
Rules:

13.2.399. HrAdultRrBasis32Completed

Base:

HR

Title:

HR-level count of completed BASIS32 measures for Adult age group in Residential setting after Review

SQL:
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)
Rules:

13.2.400. HrAdultRrBasis32CompletedChange

Base:

HR

Title:

Change in HR-level count of completed BASIS32 measures for Adult age group in Residential setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRrBasis32Completed as New
  join hist.HrAdultRrBasis32Completed as Old using (State)

13.2.401. HrAdultRrBasis32CompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed BASIS32 measures for Adult age group in Residential setting after Review

SQL:
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)

13.2.402. HrAdultRrBasis32CompletionRate

Base:

HR

Title:

HR-level completion rate of BASIS32 measures for Adult age group in Residential setting after Review

SQL:
select State,
       sd_div_safe(HrAdultRrBasis32Completed.Total, HrAdultRrCodCount.Total, 3) as Rate
  from HrAdultRrBasis32Completed
  join HrAdultRrCodCount using (State)

13.2.403. HrAdultRrBasis32CompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of BASIS32 measures for Adult age group in Residential setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultRrBasis32CompletionRate as New
  join hist.HrAdultRrBasis32CompletionRate as Old using (State)
Rules:

13.2.404. HrAdultRrBasis32Count

Base:

HR

Title:

HR-level count of all BASIS32 measures for Adult age group in Residential setting after Review

SQL:
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)

13.2.405. HrAdultRrBasis32CountChange

Base:

HR

Title:

Change in HR-level count of all BASIS32 measures for Adult age group in Residential setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRrBasis32Count as New
  join hist.HrAdultRrBasis32Count as Old using (State)

13.2.406. HrAdultRrBasis32CountGrowth

Base:

HR

Title:

Growth in HR-level count of all BASIS32 measures for Adult age group in Residential setting after Review

SQL:
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)
Rules:

13.2.407. HrAdultRrCodCount

Base:

HR

Title:

HR-level count of collection occasions for Adult age group in Residential setting after Review

SQL:
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)
Rules:

13.2.408. HrAdultRrDiagCompleted

Base:

HR

Title:

HR-level count of completed DIAG measures for Adult age group in Residential setting after Review

SQL:
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)
Rules:

13.2.409. HrAdultRrDiagCompletedChange

Base:

HR

Title:

Change in HR-level count of completed DIAG measures for Adult age group in Residential setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRrDiagCompleted as New
  join hist.HrAdultRrDiagCompleted as Old using (State)

13.2.410. HrAdultRrDiagCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed DIAG measures for Adult age group in Residential setting after Review

SQL:
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)

13.2.411. HrAdultRrDiagCompletionRate

Base:

HR

Title:

HR-level completion rate of DIAG measures for Adult age group in Residential setting after Review

SQL:
select State,
       sd_div_safe(HrAdultRrDiagCompleted.Total, HrAdultRrCodCount.Total, 3) as Rate
  from HrAdultRrDiagCompleted
  join HrAdultRrCodCount using (State)

13.2.412. HrAdultRrDiagCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of DIAG measures for Adult age group in Residential setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultRrDiagCompletionRate as New
  join hist.HrAdultRrDiagCompletionRate as Old using (State)
Rules:

13.2.413. HrAdultRrDiagCount

Base:

HR

Title:

HR-level count of all DIAG measures for Adult age group in Residential setting after Review

SQL:
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)

13.2.414. HrAdultRrDiagCountChange

Base:

HR

Title:

Change in HR-level count of all DIAG measures for Adult age group in Residential setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRrDiagCount as New
  join hist.HrAdultRrDiagCount as Old using (State)

13.2.415. HrAdultRrDiagCountGrowth

Base:

HR

Title:

Growth in HR-level count of all DIAG measures for Adult age group in Residential setting after Review

SQL:
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)
Rules:

13.2.416. HrAdultRrHonosCompleted

Base:

HR

Title:

HR-level count of completed HONOS measures for Adult age group in Residential setting after Review

SQL:
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)
Rules:

13.2.417. HrAdultRrHonosCompletedChange

Base:

HR

Title:

Change in HR-level count of completed HONOS measures for Adult age group in Residential setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRrHonosCompleted as New
  join hist.HrAdultRrHonosCompleted as Old using (State)

13.2.418. HrAdultRrHonosCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed HONOS measures for Adult age group in Residential setting after Review

SQL:
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)

13.2.419. HrAdultRrHonosCompletionRate

Base:

HR

Title:

HR-level completion rate of HONOS measures for Adult age group in Residential setting after Review

SQL:
select State,
       sd_div_safe(HrAdultRrHonosCompleted.Total, HrAdultRrCodCount.Total, 3) as Rate
  from HrAdultRrHonosCompleted
  join HrAdultRrCodCount using (State)

13.2.420. HrAdultRrHonosCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of HONOS measures for Adult age group in Residential setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultRrHonosCompletionRate as New
  join hist.HrAdultRrHonosCompletionRate as Old using (State)
Rules:

13.2.421. HrAdultRrHonosCount

Base:

HR

Title:

HR-level count of all HONOS measures for Adult age group in Residential setting after Review

SQL:
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)

13.2.422. HrAdultRrHonosCountChange

Base:

HR

Title:

Change in HR-level count of all HONOS measures for Adult age group in Residential setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRrHonosCount as New
  join hist.HrAdultRrHonosCount as Old using (State)

13.2.423. HrAdultRrHonosCountGrowth

Base:

HR

Title:

Growth in HR-level count of all HONOS measures for Adult age group in Residential setting after Review

SQL:
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)
Rules:

13.2.424. HrAdultRrK10l3dCompleted

Base:

HR

Title:

HR-level count of completed K10L3D measures for Adult age group in Residential setting after Review

SQL:
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)
Rules:

13.2.425. HrAdultRrK10l3dCompletedChange

Base:

HR

Title:

Change in HR-level count of completed K10L3D measures for Adult age group in Residential setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRrK10l3dCompleted as New
  join hist.HrAdultRrK10l3dCompleted as Old using (State)

13.2.426. HrAdultRrK10l3dCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed K10L3D measures for Adult age group in Residential setting after Review

SQL:
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)

13.2.427. HrAdultRrK10l3dCompletionRate

Base:

HR

Title:

HR-level completion rate of K10L3D measures for Adult age group in Residential setting after Review

SQL:
select State,
       sd_div_safe(HrAdultRrK10l3dCompleted.Total, HrAdultRrCodCount.Total, 3) as Rate
  from HrAdultRrK10l3dCompleted
  join HrAdultRrCodCount using (State)

13.2.428. HrAdultRrK10l3dCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of K10L3D measures for Adult age group in Residential setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultRrK10l3dCompletionRate as New
  join hist.HrAdultRrK10l3dCompletionRate as Old using (State)
Rules:

13.2.429. HrAdultRrK10l3dCount

Base:

HR

Title:

HR-level count of all K10L3D measures for Adult age group in Residential setting after Review

SQL:
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)

13.2.430. HrAdultRrK10l3dCountChange

Base:

HR

Title:

Change in HR-level count of all K10L3D measures for Adult age group in Residential setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRrK10l3dCount as New
  join hist.HrAdultRrK10l3dCount as Old using (State)

13.2.431. HrAdultRrK10l3dCountGrowth

Base:

HR

Title:

Growth in HR-level count of all K10L3D measures for Adult age group in Residential setting after Review

SQL:
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)
Rules:

13.2.432. HrAdultRrK10lmCompleted

Base:

HR

Title:

HR-level count of completed K10LM measures for Adult age group in Residential setting after Review

SQL:
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)
Rules:

13.2.433. HrAdultRrK10lmCompletedChange

Base:

HR

Title:

Change in HR-level count of completed K10LM measures for Adult age group in Residential setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRrK10lmCompleted as New
  join hist.HrAdultRrK10lmCompleted as Old using (State)

13.2.434. HrAdultRrK10lmCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed K10LM measures for Adult age group in Residential setting after Review

SQL:
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)

13.2.435. HrAdultRrK10lmCompletionRate

Base:

HR

Title:

HR-level completion rate of K10LM measures for Adult age group in Residential setting after Review

SQL:
select State,
       sd_div_safe(HrAdultRrK10lmCompleted.Total, HrAdultRrCodCount.Total, 3) as Rate
  from HrAdultRrK10lmCompleted
  join HrAdultRrCodCount using (State)

13.2.436. HrAdultRrK10lmCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of K10LM measures for Adult age group in Residential setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultRrK10lmCompletionRate as New
  join hist.HrAdultRrK10lmCompletionRate as Old using (State)
Rules:

13.2.437. HrAdultRrK10lmCount

Base:

HR

Title:

HR-level count of all K10LM measures for Adult age group in Residential setting after Review

SQL:
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)

13.2.438. HrAdultRrK10lmCountChange

Base:

HR

Title:

Change in HR-level count of all K10LM measures for Adult age group in Residential setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRrK10lmCount as New
  join hist.HrAdultRrK10lmCount as Old using (State)

13.2.439. HrAdultRrK10lmCountGrowth

Base:

HR

Title:

Growth in HR-level count of all K10LM measures for Adult age group in Residential setting after Review

SQL:
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)
Rules:

13.2.440. HrAdultRrLsp16Completed

Base:

HR

Title:

HR-level count of completed LSP16 measures for Adult age group in Residential setting after Review

SQL:
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)
Rules:

13.2.441. HrAdultRrLsp16CompletedChange

Base:

HR

Title:

Change in HR-level count of completed LSP16 measures for Adult age group in Residential setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRrLsp16Completed as New
  join hist.HrAdultRrLsp16Completed as Old using (State)

13.2.442. HrAdultRrLsp16CompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed LSP16 measures for Adult age group in Residential setting after Review

SQL:
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)

13.2.443. HrAdultRrLsp16CompletionRate

Base:

HR

Title:

HR-level completion rate of LSP16 measures for Adult age group in Residential setting after Review

SQL:
select State,
       sd_div_safe(HrAdultRrLsp16Completed.Total, HrAdultRrCodCount.Total, 3) as Rate
  from HrAdultRrLsp16Completed
  join HrAdultRrCodCount using (State)

13.2.444. HrAdultRrLsp16CompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of LSP16 measures for Adult age group in Residential setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultRrLsp16CompletionRate as New
  join hist.HrAdultRrLsp16CompletionRate as Old using (State)
Rules:

13.2.445. HrAdultRrLsp16Count

Base:

HR

Title:

HR-level count of all LSP16 measures for Adult age group in Residential setting after Review

SQL:
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)

13.2.446. HrAdultRrLsp16CountChange

Base:

HR

Title:

Change in HR-level count of all LSP16 measures for Adult age group in Residential setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRrLsp16Count as New
  join hist.HrAdultRrLsp16Count as Old using (State)

13.2.447. HrAdultRrLsp16CountGrowth

Base:

HR

Title:

Growth in HR-level count of all LSP16 measures for Adult age group in Residential setting after Review

SQL:
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)
Rules:

13.2.448. HrAdultRrMhi38Completed

Base:

HR

Title:

HR-level count of completed MHI38 measures for Adult age group in Residential setting after Review

SQL:
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)
Rules:

13.2.449. HrAdultRrMhi38CompletedChange

Base:

HR

Title:

Change in HR-level count of completed MHI38 measures for Adult age group in Residential setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRrMhi38Completed as New
  join hist.HrAdultRrMhi38Completed as Old using (State)

13.2.450. HrAdultRrMhi38CompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed MHI38 measures for Adult age group in Residential setting after Review

SQL:
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)

13.2.451. HrAdultRrMhi38CompletionRate

Base:

HR

Title:

HR-level completion rate of MHI38 measures for Adult age group in Residential setting after Review

SQL:
select State,
       sd_div_safe(HrAdultRrMhi38Completed.Total, HrAdultRrCodCount.Total, 3) as Rate
  from HrAdultRrMhi38Completed
  join HrAdultRrCodCount using (State)

13.2.452. HrAdultRrMhi38CompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of MHI38 measures for Adult age group in Residential setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultRrMhi38CompletionRate as New
  join hist.HrAdultRrMhi38CompletionRate as Old using (State)
Rules:

13.2.453. HrAdultRrMhi38Count

Base:

HR

Title:

HR-level count of all MHI38 measures for Adult age group in Residential setting after Review

SQL:
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)

13.2.454. HrAdultRrMhi38CountChange

Base:

HR

Title:

Change in HR-level count of all MHI38 measures for Adult age group in Residential setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRrMhi38Count as New
  join hist.HrAdultRrMhi38Count as Old using (State)

13.2.455. HrAdultRrMhi38CountGrowth

Base:

HR

Title:

Growth in HR-level count of all MHI38 measures for Adult age group in Residential setting after Review

SQL:
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)
Rules:

13.2.456. HrAdultRrMhlsCompleted

Base:

HR

Title:

HR-level count of completed MHLS measures for Adult age group in Residential setting after Review

SQL:
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)
Rules:

13.2.457. HrAdultRrMhlsCompletedChange

Base:

HR

Title:

Change in HR-level count of completed MHLS measures for Adult age group in Residential setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRrMhlsCompleted as New
  join hist.HrAdultRrMhlsCompleted as Old using (State)

13.2.458. HrAdultRrMhlsCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed MHLS measures for Adult age group in Residential setting after Review

SQL:
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)

13.2.459. HrAdultRrMhlsCompletionRate

Base:

HR

Title:

HR-level completion rate of MHLS measures for Adult age group in Residential setting after Review

SQL:
select State,
       sd_div_safe(HrAdultRrMhlsCompleted.Total, HrAdultRrCodCount.Total, 3) as Rate
  from HrAdultRrMhlsCompleted
  join HrAdultRrCodCount using (State)

13.2.460. HrAdultRrMhlsCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of MHLS measures for Adult age group in Residential setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultRrMhlsCompletionRate as New
  join hist.HrAdultRrMhlsCompletionRate as Old using (State)
Rules:

13.2.461. HrAdultRrMhlsCount

Base:

HR

Title:

HR-level count of all MHLS measures for Adult age group in Residential setting after Review

SQL:
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)

13.2.462. HrAdultRrMhlsCountChange

Base:

HR

Title:

Change in HR-level count of all MHLS measures for Adult age group in Residential setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRrMhlsCount as New
  join hist.HrAdultRrMhlsCount as Old using (State)

13.2.463. HrAdultRrMhlsCountGrowth

Base:

HR

Title:

Growth in HR-level count of all MHLS measures for Adult age group in Residential setting after Review

SQL:
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)
Rules:

13.2.464. HrAdultRrPocCompleted

Base:

HR

Title:

HR-level count of completed POC measures for Adult age group in Residential setting after Review

SQL:
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)
Rules:

13.2.465. HrAdultRrPocCompletedChange

Base:

HR

Title:

Change in HR-level count of completed POC measures for Adult age group in Residential setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRrPocCompleted as New
  join hist.HrAdultRrPocCompleted as Old using (State)

13.2.466. HrAdultRrPocCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed POC measures for Adult age group in Residential setting after Review

SQL:
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)

13.2.467. HrAdultRrPocCompletionRate

Base:

HR

Title:

HR-level completion rate of POC measures for Adult age group in Residential setting after Review

SQL:
select State,
       sd_div_safe(HrAdultRrPocCompleted.Total, HrAdultRrCodCount.Total, 3) as Rate
  from HrAdultRrPocCompleted
  join HrAdultRrCodCount using (State)

13.2.468. HrAdultRrPocCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of POC measures for Adult age group in Residential setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrAdultRrPocCompletionRate as New
  join hist.HrAdultRrPocCompletionRate as Old using (State)
Rules:

13.2.469. HrAdultRrPocCount

Base:

HR

Title:

HR-level count of all POC measures for Adult age group in Residential setting after Review

SQL:
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)

13.2.470. HrAdultRrPocCountChange

Base:

HR

Title:

Change in HR-level count of all POC measures for Adult age group in Residential setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrAdultRrPocCount as New
  join hist.HrAdultRrPocCount as Old using (State)

13.2.471. HrAdultRrPocCountGrowth

Base:

HR

Title:

Growth in HR-level count of all POC measures for Adult age group in Residential setting after Review

SQL:
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)
Rules:

13.2.472. HrChildAaCgasCompleted

Base:

HR

Title:

HR-level count of completed CGAS measures for Child age group in Ambulatory setting after Admission

SQL:
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)
Rules:

13.2.473. HrChildAaCgasCompletedChange

Base:

HR

Title:

Change in HR-level count of completed CGAS measures for Child age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildAaCgasCompleted as New
  join hist.HrChildAaCgasCompleted as Old using (State)

13.2.474. HrChildAaCgasCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed CGAS measures for Child age group in Ambulatory setting after Admission

SQL:
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)

13.2.475. HrChildAaCgasCompletionRate

Base:

HR

Title:

HR-level completion rate of CGAS measures for Child age group in Ambulatory setting after Admission

SQL:
select State,
       sd_div_safe(HrChildAaCgasCompleted.Total, HrChildAaCodCount.Total, 3) as Rate
  from HrChildAaCgasCompleted
  join HrChildAaCodCount using (State)

13.2.476. HrChildAaCgasCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of CGAS measures for Child age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildAaCgasCompletionRate as New
  join hist.HrChildAaCgasCompletionRate as Old using (State)
Rules:

13.2.477. HrChildAaCgasCount

Base:

HR

Title:

HR-level count of all CGAS measures for Child age group in Ambulatory setting after Admission

SQL:
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)

13.2.478. HrChildAaCgasCountChange

Base:

HR

Title:

Change in HR-level count of all CGAS measures for Child age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildAaCgasCount as New
  join hist.HrChildAaCgasCount as Old using (State)

13.2.479. HrChildAaCgasCountGrowth

Base:

HR

Title:

Growth in HR-level count of all CGAS measures for Child age group in Ambulatory setting after Admission

SQL:
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)
Rules:

13.2.480. HrChildAaCodCount

Base:

HR

Title:

HR-level count of collection occasions for Child age group in Ambulatory setting after Admission

SQL:
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)
Rules:

13.2.481. HrChildAaHonoscaCompleted

Base:

HR

Title:

HR-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Admission

SQL:
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)
Rules:

13.2.482. HrChildAaHonoscaCompletedChange

Base:

HR

Title:

Change in HR-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildAaHonoscaCompleted as New
  join hist.HrChildAaHonoscaCompleted as Old using (State)

13.2.483. HrChildAaHonoscaCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Admission

SQL:
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)

13.2.484. HrChildAaHonoscaCompletionRate

Base:

HR

Title:

HR-level completion rate of HONOSCA measures for Child age group in Ambulatory setting after Admission

SQL:
select State,
       sd_div_safe(HrChildAaHonoscaCompleted.Total, HrChildAaCodCount.Total, 3) as Rate
  from HrChildAaHonoscaCompleted
  join HrChildAaCodCount using (State)

13.2.485. HrChildAaHonoscaCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of HONOSCA measures for Child age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildAaHonoscaCompletionRate as New
  join hist.HrChildAaHonoscaCompletionRate as Old using (State)
Rules:

13.2.486. HrChildAaHonoscaCount

Base:

HR

Title:

HR-level count of all HONOSCA measures for Child age group in Ambulatory setting after Admission

SQL:
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)

13.2.487. HrChildAaHonoscaCountChange

Base:

HR

Title:

Change in HR-level count of all HONOSCA measures for Child age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildAaHonoscaCount as New
  join hist.HrChildAaHonoscaCount as Old using (State)

13.2.488. HrChildAaHonoscaCountGrowth

Base:

HR

Title:

Growth in HR-level count of all HONOSCA measures for Child age group in Ambulatory setting after Admission

SQL:
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)
Rules:

13.2.489. HrChildAaSdqCompleted

Base:

HR

Title:

HR-level count of completed SDQ measures for Child age group in Ambulatory setting after Admission

SQL:
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)
Rules:

13.2.490. HrChildAaSdqCompletedChange

Base:

HR

Title:

Change in HR-level count of completed SDQ measures for Child age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildAaSdqCompleted as New
  join hist.HrChildAaSdqCompleted as Old using (State)

13.2.491. HrChildAaSdqCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed SDQ measures for Child age group in Ambulatory setting after Admission

SQL:
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)

13.2.492. HrChildAaSdqCompletionRate

Base:

HR

Title:

HR-level completion rate of SDQ measures for Child age group in Ambulatory setting after Admission

SQL:
select State,
       sd_div_safe(HrChildAaSdqCompleted.Total, HrChildAaCodCount.Total, 3) as Rate
  from HrChildAaSdqCompleted
  join HrChildAaCodCount using (State)

13.2.493. HrChildAaSdqCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of SDQ measures for Child age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildAaSdqCompletionRate as New
  join hist.HrChildAaSdqCompletionRate as Old using (State)
Rules:

13.2.494. HrChildAaSdqCount

Base:

HR

Title:

HR-level count of all SDQ measures for Child age group in Ambulatory setting after Admission

SQL:
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)

13.2.495. HrChildAaSdqCountChange

Base:

HR

Title:

Change in HR-level count of all SDQ measures for Child age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildAaSdqCount as New
  join hist.HrChildAaSdqCount as Old using (State)

13.2.496. HrChildAaSdqCountGrowth

Base:

HR

Title:

Growth in HR-level count of all SDQ measures for Child age group in Ambulatory setting after Admission

SQL:
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)
Rules:

13.2.497. HrChildAiCgasCompleted

Base:

HR

Title:

HR-level count of completed CGAS measures for Child age group in Inpatient setting after Admission

SQL:
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)
Rules:

13.2.498. HrChildAiCgasCompletedChange

Base:

HR

Title:

Change in HR-level count of completed CGAS measures for Child age group in Inpatient setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildAiCgasCompleted as New
  join hist.HrChildAiCgasCompleted as Old using (State)

13.2.499. HrChildAiCgasCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed CGAS measures for Child age group in Inpatient setting after Admission

SQL:
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)

13.2.500. HrChildAiCgasCompletionRate

Base:

HR

Title:

HR-level completion rate of CGAS measures for Child age group in Inpatient setting after Admission

SQL:
select State,
       sd_div_safe(HrChildAiCgasCompleted.Total, HrChildAiCodCount.Total, 3) as Rate
  from HrChildAiCgasCompleted
  join HrChildAiCodCount using (State)

13.2.501. HrChildAiCgasCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of CGAS measures for Child age group in Inpatient setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildAiCgasCompletionRate as New
  join hist.HrChildAiCgasCompletionRate as Old using (State)
Rules:

13.2.502. HrChildAiCgasCount

Base:

HR

Title:

HR-level count of all CGAS measures for Child age group in Inpatient setting after Admission

SQL:
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)

13.2.503. HrChildAiCgasCountChange

Base:

HR

Title:

Change in HR-level count of all CGAS measures for Child age group in Inpatient setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildAiCgasCount as New
  join hist.HrChildAiCgasCount as Old using (State)

13.2.504. HrChildAiCgasCountGrowth

Base:

HR

Title:

Growth in HR-level count of all CGAS measures for Child age group in Inpatient setting after Admission

SQL:
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)
Rules:

13.2.505. HrChildAiCodCount

Base:

HR

Title:

HR-level count of collection occasions for Child age group in Inpatient setting after Admission

SQL:
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)
Rules:

13.2.506. HrChildAiHonoscaCompleted

Base:

HR

Title:

HR-level count of completed HONOSCA measures for Child age group in Inpatient setting after Admission

SQL:
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)
Rules:

13.2.507. HrChildAiHonoscaCompletedChange

Base:

HR

Title:

Change in HR-level count of completed HONOSCA measures for Child age group in Inpatient setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildAiHonoscaCompleted as New
  join hist.HrChildAiHonoscaCompleted as Old using (State)

13.2.508. HrChildAiHonoscaCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed HONOSCA measures for Child age group in Inpatient setting after Admission

SQL:
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)

13.2.509. HrChildAiHonoscaCompletionRate

Base:

HR

Title:

HR-level completion rate of HONOSCA measures for Child age group in Inpatient setting after Admission

SQL:
select State,
       sd_div_safe(HrChildAiHonoscaCompleted.Total, HrChildAiCodCount.Total, 3) as Rate
  from HrChildAiHonoscaCompleted
  join HrChildAiCodCount using (State)

13.2.510. HrChildAiHonoscaCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of HONOSCA measures for Child age group in Inpatient setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildAiHonoscaCompletionRate as New
  join hist.HrChildAiHonoscaCompletionRate as Old using (State)
Rules:

13.2.511. HrChildAiHonoscaCount

Base:

HR

Title:

HR-level count of all HONOSCA measures for Child age group in Inpatient setting after Admission

SQL:
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)

13.2.512. HrChildAiHonoscaCountChange

Base:

HR

Title:

Change in HR-level count of all HONOSCA measures for Child age group in Inpatient setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildAiHonoscaCount as New
  join hist.HrChildAiHonoscaCount as Old using (State)

13.2.513. HrChildAiHonoscaCountGrowth

Base:

HR

Title:

Growth in HR-level count of all HONOSCA measures for Child age group in Inpatient setting after Admission

SQL:
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)
Rules:

13.2.514. HrChildAiSdqCompleted

Base:

HR

Title:

HR-level count of completed SDQ measures for Child age group in Inpatient setting after Admission

SQL:
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)
Rules:

13.2.515. HrChildAiSdqCompletedChange

Base:

HR

Title:

Change in HR-level count of completed SDQ measures for Child age group in Inpatient setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildAiSdqCompleted as New
  join hist.HrChildAiSdqCompleted as Old using (State)

13.2.516. HrChildAiSdqCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed SDQ measures for Child age group in Inpatient setting after Admission

SQL:
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)

13.2.517. HrChildAiSdqCompletionRate

Base:

HR

Title:

HR-level completion rate of SDQ measures for Child age group in Inpatient setting after Admission

SQL:
select State,
       sd_div_safe(HrChildAiSdqCompleted.Total, HrChildAiCodCount.Total, 3) as Rate
  from HrChildAiSdqCompleted
  join HrChildAiCodCount using (State)

13.2.518. HrChildAiSdqCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of SDQ measures for Child age group in Inpatient setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildAiSdqCompletionRate as New
  join hist.HrChildAiSdqCompletionRate as Old using (State)
Rules:

13.2.519. HrChildAiSdqCount

Base:

HR

Title:

HR-level count of all SDQ measures for Child age group in Inpatient setting after Admission

SQL:
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)

13.2.520. HrChildAiSdqCountChange

Base:

HR

Title:

Change in HR-level count of all SDQ measures for Child age group in Inpatient setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildAiSdqCount as New
  join hist.HrChildAiSdqCount as Old using (State)

13.2.521. HrChildAiSdqCountGrowth

Base:

HR

Title:

Growth in HR-level count of all SDQ measures for Child age group in Inpatient setting after Admission

SQL:
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)
Rules:

13.2.522. HrChildArCgasCompleted

Base:

HR

Title:

HR-level count of completed CGAS measures for Child age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.523. HrChildArCgasCompletedChange

Base:

HR

Title:

Change in HR-level count of completed CGAS measures for Child age group in Residential setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildArCgasCompleted as New
  join hist.HrChildArCgasCompleted as Old using (State)

13.2.524. HrChildArCgasCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed CGAS measures for Child age group in Residential setting after Admission

SQL:
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)

13.2.525. HrChildArCgasCompletionRate

Base:

HR

Title:

HR-level completion rate of CGAS measures for Child age group in Residential setting after Admission

SQL:
select State,
       sd_div_safe(HrChildArCgasCompleted.Total, HrChildArCodCount.Total, 3) as Rate
  from HrChildArCgasCompleted
  join HrChildArCodCount using (State)

13.2.526. HrChildArCgasCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of CGAS measures for Child age group in Residential setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildArCgasCompletionRate as New
  join hist.HrChildArCgasCompletionRate as Old using (State)
Rules:

13.2.527. HrChildArCgasCount

Base:

HR

Title:

HR-level count of all CGAS measures for Child age group in Residential setting after Admission

SQL:
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)

13.2.528. HrChildArCgasCountChange

Base:

HR

Title:

Change in HR-level count of all CGAS measures for Child age group in Residential setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildArCgasCount as New
  join hist.HrChildArCgasCount as Old using (State)

13.2.529. HrChildArCgasCountGrowth

Base:

HR

Title:

Growth in HR-level count of all CGAS measures for Child age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.530. HrChildArCodCount

Base:

HR

Title:

HR-level count of collection occasions for Child age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.531. HrChildArHonoscaCompleted

Base:

HR

Title:

HR-level count of completed HONOSCA measures for Child age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.532. HrChildArHonoscaCompletedChange

Base:

HR

Title:

Change in HR-level count of completed HONOSCA measures for Child age group in Residential setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildArHonoscaCompleted as New
  join hist.HrChildArHonoscaCompleted as Old using (State)

13.2.533. HrChildArHonoscaCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed HONOSCA measures for Child age group in Residential setting after Admission

SQL:
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)

13.2.534. HrChildArHonoscaCompletionRate

Base:

HR

Title:

HR-level completion rate of HONOSCA measures for Child age group in Residential setting after Admission

SQL:
select State,
       sd_div_safe(HrChildArHonoscaCompleted.Total, HrChildArCodCount.Total, 3) as Rate
  from HrChildArHonoscaCompleted
  join HrChildArCodCount using (State)

13.2.535. HrChildArHonoscaCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of HONOSCA measures for Child age group in Residential setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildArHonoscaCompletionRate as New
  join hist.HrChildArHonoscaCompletionRate as Old using (State)
Rules:

13.2.536. HrChildArHonoscaCount

Base:

HR

Title:

HR-level count of all HONOSCA measures for Child age group in Residential setting after Admission

SQL:
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)

13.2.537. HrChildArHonoscaCountChange

Base:

HR

Title:

Change in HR-level count of all HONOSCA measures for Child age group in Residential setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildArHonoscaCount as New
  join hist.HrChildArHonoscaCount as Old using (State)

13.2.538. HrChildArHonoscaCountGrowth

Base:

HR

Title:

Growth in HR-level count of all HONOSCA measures for Child age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.539. HrChildArSdqCompleted

Base:

HR

Title:

HR-level count of completed SDQ measures for Child age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.540. HrChildArSdqCompletedChange

Base:

HR

Title:

Change in HR-level count of completed SDQ measures for Child age group in Residential setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildArSdqCompleted as New
  join hist.HrChildArSdqCompleted as Old using (State)

13.2.541. HrChildArSdqCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed SDQ measures for Child age group in Residential setting after Admission

SQL:
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)

13.2.542. HrChildArSdqCompletionRate

Base:

HR

Title:

HR-level completion rate of SDQ measures for Child age group in Residential setting after Admission

SQL:
select State,
       sd_div_safe(HrChildArSdqCompleted.Total, HrChildArCodCount.Total, 3) as Rate
  from HrChildArSdqCompleted
  join HrChildArCodCount using (State)

13.2.543. HrChildArSdqCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of SDQ measures for Child age group in Residential setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildArSdqCompletionRate as New
  join hist.HrChildArSdqCompletionRate as Old using (State)
Rules:

13.2.544. HrChildArSdqCount

Base:

HR

Title:

HR-level count of all SDQ measures for Child age group in Residential setting after Admission

SQL:
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)

13.2.545. HrChildArSdqCountChange

Base:

HR

Title:

Change in HR-level count of all SDQ measures for Child age group in Residential setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildArSdqCount as New
  join hist.HrChildArSdqCount as Old using (State)

13.2.546. HrChildArSdqCountGrowth

Base:

HR

Title:

Growth in HR-level count of all SDQ measures for Child age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.547. HrChildDaCodCount

Base:

HR

Title:

HR-level count of collection occasions for Child age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.548. HrChildDaDiagCompleted

Base:

HR

Title:

HR-level count of completed DIAG measures for Child age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.549. HrChildDaDiagCompletedChange

Base:

HR

Title:

Change in HR-level count of completed DIAG measures for Child age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildDaDiagCompleted as New
  join hist.HrChildDaDiagCompleted as Old using (State)

13.2.550. HrChildDaDiagCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed DIAG measures for Child age group in Ambulatory setting after Discharge

SQL:
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)

13.2.551. HrChildDaDiagCompletionRate

Base:

HR

Title:

HR-level completion rate of DIAG measures for Child age group in Ambulatory setting after Discharge

SQL:
select State,
       sd_div_safe(HrChildDaDiagCompleted.Total, HrChildDaCodCount.Total, 3) as Rate
  from HrChildDaDiagCompleted
  join HrChildDaCodCount using (State)

13.2.552. HrChildDaDiagCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of DIAG measures for Child age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildDaDiagCompletionRate as New
  join hist.HrChildDaDiagCompletionRate as Old using (State)
Rules:

13.2.553. HrChildDaDiagCount

Base:

HR

Title:

HR-level count of all DIAG measures for Child age group in Ambulatory setting after Discharge

SQL:
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)

13.2.554. HrChildDaDiagCountChange

Base:

HR

Title:

Change in HR-level count of all DIAG measures for Child age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildDaDiagCount as New
  join hist.HrChildDaDiagCount as Old using (State)

13.2.555. HrChildDaDiagCountGrowth

Base:

HR

Title:

Growth in HR-level count of all DIAG measures for Child age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.556. HrChildDaFihsCompleted

Base:

HR

Title:

HR-level count of completed FIHS measures for Child age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.557. HrChildDaFihsCompletedChange

Base:

HR

Title:

Change in HR-level count of completed FIHS measures for Child age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildDaFihsCompleted as New
  join hist.HrChildDaFihsCompleted as Old using (State)

13.2.558. HrChildDaFihsCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed FIHS measures for Child age group in Ambulatory setting after Discharge

SQL:
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)

13.2.559. HrChildDaFihsCompletionRate

Base:

HR

Title:

HR-level completion rate of FIHS measures for Child age group in Ambulatory setting after Discharge

SQL:
select State,
       sd_div_safe(HrChildDaFihsCompleted.Total, HrChildDaCodCount.Total, 3) as Rate
  from HrChildDaFihsCompleted
  join HrChildDaCodCount using (State)

13.2.560. HrChildDaFihsCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of FIHS measures for Child age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildDaFihsCompletionRate as New
  join hist.HrChildDaFihsCompletionRate as Old using (State)
Rules:

13.2.561. HrChildDaFihsCount

Base:

HR

Title:

HR-level count of all FIHS measures for Child age group in Ambulatory setting after Discharge

SQL:
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)

13.2.562. HrChildDaFihsCountChange

Base:

HR

Title:

Change in HR-level count of all FIHS measures for Child age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildDaFihsCount as New
  join hist.HrChildDaFihsCount as Old using (State)

13.2.563. HrChildDaFihsCountGrowth

Base:

HR

Title:

Growth in HR-level count of all FIHS measures for Child age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.564. HrChildDaHonoscaCompleted

Base:

HR

Title:

HR-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.565. HrChildDaHonoscaCompletedChange

Base:

HR

Title:

Change in HR-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildDaHonoscaCompleted as New
  join hist.HrChildDaHonoscaCompleted as Old using (State)

13.2.566. HrChildDaHonoscaCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Discharge

SQL:
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)

13.2.567. HrChildDaHonoscaCompletionRate

Base:

HR

Title:

HR-level completion rate of HONOSCA measures for Child age group in Ambulatory setting after Discharge

SQL:
select State,
       sd_div_safe(HrChildDaHonoscaCompleted.Total, HrChildDaCodCount.Total, 3) as Rate
  from HrChildDaHonoscaCompleted
  join HrChildDaCodCount using (State)

13.2.568. HrChildDaHonoscaCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of HONOSCA measures for Child age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildDaHonoscaCompletionRate as New
  join hist.HrChildDaHonoscaCompletionRate as Old using (State)
Rules:

13.2.569. HrChildDaHonoscaCount

Base:

HR

Title:

HR-level count of all HONOSCA measures for Child age group in Ambulatory setting after Discharge

SQL:
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)

13.2.570. HrChildDaHonoscaCountChange

Base:

HR

Title:

Change in HR-level count of all HONOSCA measures for Child age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildDaHonoscaCount as New
  join hist.HrChildDaHonoscaCount as Old using (State)

13.2.571. HrChildDaHonoscaCountGrowth

Base:

HR

Title:

Growth in HR-level count of all HONOSCA measures for Child age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.572. HrChildDaMhlsCompleted

Base:

HR

Title:

HR-level count of completed MHLS measures for Child age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.573. HrChildDaMhlsCompletedChange

Base:

HR

Title:

Change in HR-level count of completed MHLS measures for Child age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildDaMhlsCompleted as New
  join hist.HrChildDaMhlsCompleted as Old using (State)

13.2.574. HrChildDaMhlsCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed MHLS measures for Child age group in Ambulatory setting after Discharge

SQL:
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)

13.2.575. HrChildDaMhlsCompletionRate

Base:

HR

Title:

HR-level completion rate of MHLS measures for Child age group in Ambulatory setting after Discharge

SQL:
select State,
       sd_div_safe(HrChildDaMhlsCompleted.Total, HrChildDaCodCount.Total, 3) as Rate
  from HrChildDaMhlsCompleted
  join HrChildDaCodCount using (State)

13.2.576. HrChildDaMhlsCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of MHLS measures for Child age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildDaMhlsCompletionRate as New
  join hist.HrChildDaMhlsCompletionRate as Old using (State)
Rules:

13.2.577. HrChildDaMhlsCount

Base:

HR

Title:

HR-level count of all MHLS measures for Child age group in Ambulatory setting after Discharge

SQL:
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)

13.2.578. HrChildDaMhlsCountChange

Base:

HR

Title:

Change in HR-level count of all MHLS measures for Child age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildDaMhlsCount as New
  join hist.HrChildDaMhlsCount as Old using (State)

13.2.579. HrChildDaMhlsCountGrowth

Base:

HR

Title:

Growth in HR-level count of all MHLS measures for Child age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.580. HrChildDaSdqCompleted

Base:

HR

Title:

HR-level count of completed SDQ measures for Child age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.581. HrChildDaSdqCompletedChange

Base:

HR

Title:

Change in HR-level count of completed SDQ measures for Child age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildDaSdqCompleted as New
  join hist.HrChildDaSdqCompleted as Old using (State)

13.2.582. HrChildDaSdqCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed SDQ measures for Child age group in Ambulatory setting after Discharge

SQL:
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)

13.2.583. HrChildDaSdqCompletionRate

Base:

HR

Title:

HR-level completion rate of SDQ measures for Child age group in Ambulatory setting after Discharge

SQL:
select State,
       sd_div_safe(HrChildDaSdqCompleted.Total, HrChildDaCodCount.Total, 3) as Rate
  from HrChildDaSdqCompleted
  join HrChildDaCodCount using (State)

13.2.584. HrChildDaSdqCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of SDQ measures for Child age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildDaSdqCompletionRate as New
  join hist.HrChildDaSdqCompletionRate as Old using (State)
Rules:

13.2.585. HrChildDaSdqCount

Base:

HR

Title:

HR-level count of all SDQ measures for Child age group in Ambulatory setting after Discharge

SQL:
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)

13.2.586. HrChildDaSdqCountChange

Base:

HR

Title:

Change in HR-level count of all SDQ measures for Child age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildDaSdqCount as New
  join hist.HrChildDaSdqCount as Old using (State)

13.2.587. HrChildDaSdqCountGrowth

Base:

HR

Title:

Growth in HR-level count of all SDQ measures for Child age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.588. HrChildDiCodCount

Base:

HR

Title:

HR-level count of collection occasions for Child age group in Inpatient setting after Discharge

SQL:
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)
Rules:

13.2.589. HrChildDiDiagCompleted

Base:

HR

Title:

HR-level count of completed DIAG measures for Child age group in Inpatient setting after Discharge

SQL:
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)
Rules:

13.2.590. HrChildDiDiagCompletedChange

Base:

HR

Title:

Change in HR-level count of completed DIAG measures for Child age group in Inpatient setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildDiDiagCompleted as New
  join hist.HrChildDiDiagCompleted as Old using (State)

13.2.591. HrChildDiDiagCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed DIAG measures for Child age group in Inpatient setting after Discharge

SQL:
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)

13.2.592. HrChildDiDiagCompletionRate

Base:

HR

Title:

HR-level completion rate of DIAG measures for Child age group in Inpatient setting after Discharge

SQL:
select State,
       sd_div_safe(HrChildDiDiagCompleted.Total, HrChildDiCodCount.Total, 3) as Rate
  from HrChildDiDiagCompleted
  join HrChildDiCodCount using (State)

13.2.593. HrChildDiDiagCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of DIAG measures for Child age group in Inpatient setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildDiDiagCompletionRate as New
  join hist.HrChildDiDiagCompletionRate as Old using (State)
Rules:

13.2.594. HrChildDiDiagCount

Base:

HR

Title:

HR-level count of all DIAG measures for Child age group in Inpatient setting after Discharge

SQL:
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)

13.2.595. HrChildDiDiagCountChange

Base:

HR

Title:

Change in HR-level count of all DIAG measures for Child age group in Inpatient setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildDiDiagCount as New
  join hist.HrChildDiDiagCount as Old using (State)

13.2.596. HrChildDiDiagCountGrowth

Base:

HR

Title:

Growth in HR-level count of all DIAG measures for Child age group in Inpatient setting after Discharge

SQL:
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)
Rules:

13.2.597. HrChildDiFihsCompleted

Base:

HR

Title:

HR-level count of completed FIHS measures for Child age group in Inpatient setting after Discharge

SQL:
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)
Rules:

13.2.598. HrChildDiFihsCompletedChange

Base:

HR

Title:

Change in HR-level count of completed FIHS measures for Child age group in Inpatient setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildDiFihsCompleted as New
  join hist.HrChildDiFihsCompleted as Old using (State)

13.2.599. HrChildDiFihsCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed FIHS measures for Child age group in Inpatient setting after Discharge

SQL:
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)

13.2.600. HrChildDiFihsCompletionRate

Base:

HR

Title:

HR-level completion rate of FIHS measures for Child age group in Inpatient setting after Discharge

SQL:
select State,
       sd_div_safe(HrChildDiFihsCompleted.Total, HrChildDiCodCount.Total, 3) as Rate
  from HrChildDiFihsCompleted
  join HrChildDiCodCount using (State)

13.2.601. HrChildDiFihsCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of FIHS measures for Child age group in Inpatient setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildDiFihsCompletionRate as New
  join hist.HrChildDiFihsCompletionRate as Old using (State)
Rules:

13.2.602. HrChildDiFihsCount

Base:

HR

Title:

HR-level count of all FIHS measures for Child age group in Inpatient setting after Discharge

SQL:
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)

13.2.603. HrChildDiFihsCountChange

Base:

HR

Title:

Change in HR-level count of all FIHS measures for Child age group in Inpatient setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildDiFihsCount as New
  join hist.HrChildDiFihsCount as Old using (State)

13.2.604. HrChildDiFihsCountGrowth

Base:

HR

Title:

Growth in HR-level count of all FIHS measures for Child age group in Inpatient setting after Discharge

SQL:
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)
Rules:

13.2.605. HrChildDiHonoscaCompleted

Base:

HR

Title:

HR-level count of completed HONOSCA measures for Child age group in Inpatient setting after Discharge

SQL:
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)
Rules:

13.2.606. HrChildDiHonoscaCompletedChange

Base:

HR

Title:

Change in HR-level count of completed HONOSCA measures for Child age group in Inpatient setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildDiHonoscaCompleted as New
  join hist.HrChildDiHonoscaCompleted as Old using (State)

13.2.607. HrChildDiHonoscaCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed HONOSCA measures for Child age group in Inpatient setting after Discharge

SQL:
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)

13.2.608. HrChildDiHonoscaCompletionRate

Base:

HR

Title:

HR-level completion rate of HONOSCA measures for Child age group in Inpatient setting after Discharge

SQL:
select State,
       sd_div_safe(HrChildDiHonoscaCompleted.Total, HrChildDiCodCount.Total, 3) as Rate
  from HrChildDiHonoscaCompleted
  join HrChildDiCodCount using (State)

13.2.609. HrChildDiHonoscaCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of HONOSCA measures for Child age group in Inpatient setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildDiHonoscaCompletionRate as New
  join hist.HrChildDiHonoscaCompletionRate as Old using (State)
Rules:

13.2.610. HrChildDiHonoscaCount

Base:

HR

Title:

HR-level count of all HONOSCA measures for Child age group in Inpatient setting after Discharge

SQL:
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)

13.2.611. HrChildDiHonoscaCountChange

Base:

HR

Title:

Change in HR-level count of all HONOSCA measures for Child age group in Inpatient setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildDiHonoscaCount as New
  join hist.HrChildDiHonoscaCount as Old using (State)

13.2.612. HrChildDiHonoscaCountGrowth

Base:

HR

Title:

Growth in HR-level count of all HONOSCA measures for Child age group in Inpatient setting after Discharge

SQL:
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)
Rules:

13.2.613. HrChildDiMhlsCompleted

Base:

HR

Title:

HR-level count of completed MHLS measures for Child age group in Inpatient setting after Discharge

SQL:
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)
Rules:

13.2.614. HrChildDiMhlsCompletedChange

Base:

HR

Title:

Change in HR-level count of completed MHLS measures for Child age group in Inpatient setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildDiMhlsCompleted as New
  join hist.HrChildDiMhlsCompleted as Old using (State)

13.2.615. HrChildDiMhlsCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed MHLS measures for Child age group in Inpatient setting after Discharge

SQL:
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)

13.2.616. HrChildDiMhlsCompletionRate

Base:

HR

Title:

HR-level completion rate of MHLS measures for Child age group in Inpatient setting after Discharge

SQL:
select State,
       sd_div_safe(HrChildDiMhlsCompleted.Total, HrChildDiCodCount.Total, 3) as Rate
  from HrChildDiMhlsCompleted
  join HrChildDiCodCount using (State)

13.2.617. HrChildDiMhlsCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of MHLS measures for Child age group in Inpatient setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildDiMhlsCompletionRate as New
  join hist.HrChildDiMhlsCompletionRate as Old using (State)
Rules:

13.2.618. HrChildDiMhlsCount

Base:

HR

Title:

HR-level count of all MHLS measures for Child age group in Inpatient setting after Discharge

SQL:
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)

13.2.619. HrChildDiMhlsCountChange

Base:

HR

Title:

Change in HR-level count of all MHLS measures for Child age group in Inpatient setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildDiMhlsCount as New
  join hist.HrChildDiMhlsCount as Old using (State)

13.2.620. HrChildDiMhlsCountGrowth

Base:

HR

Title:

Growth in HR-level count of all MHLS measures for Child age group in Inpatient setting after Discharge

SQL:
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)
Rules:

13.2.621. HrChildDiSdqCompleted

Base:

HR

Title:

HR-level count of completed SDQ measures for Child age group in Inpatient setting after Discharge

SQL:
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)
Rules:

13.2.622. HrChildDiSdqCompletedChange

Base:

HR

Title:

Change in HR-level count of completed SDQ measures for Child age group in Inpatient setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildDiSdqCompleted as New
  join hist.HrChildDiSdqCompleted as Old using (State)

13.2.623. HrChildDiSdqCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed SDQ measures for Child age group in Inpatient setting after Discharge

SQL:
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)

13.2.624. HrChildDiSdqCompletionRate

Base:

HR

Title:

HR-level completion rate of SDQ measures for Child age group in Inpatient setting after Discharge

SQL:
select State,
       sd_div_safe(HrChildDiSdqCompleted.Total, HrChildDiCodCount.Total, 3) as Rate
  from HrChildDiSdqCompleted
  join HrChildDiCodCount using (State)

13.2.625. HrChildDiSdqCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of SDQ measures for Child age group in Inpatient setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildDiSdqCompletionRate as New
  join hist.HrChildDiSdqCompletionRate as Old using (State)
Rules:

13.2.626. HrChildDiSdqCount

Base:

HR

Title:

HR-level count of all SDQ measures for Child age group in Inpatient setting after Discharge

SQL:
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)

13.2.627. HrChildDiSdqCountChange

Base:

HR

Title:

Change in HR-level count of all SDQ measures for Child age group in Inpatient setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildDiSdqCount as New
  join hist.HrChildDiSdqCount as Old using (State)

13.2.628. HrChildDiSdqCountGrowth

Base:

HR

Title:

Growth in HR-level count of all SDQ measures for Child age group in Inpatient setting after Discharge

SQL:
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)
Rules:

13.2.629. HrChildDrCodCount

Base:

HR

Title:

HR-level count of collection occasions for Child age group in Residential setting after Discharge

SQL:
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)
Rules:

13.2.630. HrChildDrDiagCompleted

Base:

HR

Title:

HR-level count of completed DIAG measures for Child age group in Residential setting after Discharge

SQL:
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)
Rules:

13.2.631. HrChildDrDiagCompletedChange

Base:

HR

Title:

Change in HR-level count of completed DIAG measures for Child age group in Residential setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildDrDiagCompleted as New
  join hist.HrChildDrDiagCompleted as Old using (State)

13.2.632. HrChildDrDiagCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed DIAG measures for Child age group in Residential setting after Discharge

SQL:
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)

13.2.633. HrChildDrDiagCompletionRate

Base:

HR

Title:

HR-level completion rate of DIAG measures for Child age group in Residential setting after Discharge

SQL:
select State,
       sd_div_safe(HrChildDrDiagCompleted.Total, HrChildDrCodCount.Total, 3) as Rate
  from HrChildDrDiagCompleted
  join HrChildDrCodCount using (State)

13.2.634. HrChildDrDiagCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of DIAG measures for Child age group in Residential setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildDrDiagCompletionRate as New
  join hist.HrChildDrDiagCompletionRate as Old using (State)
Rules:

13.2.635. HrChildDrDiagCount

Base:

HR

Title:

HR-level count of all DIAG measures for Child age group in Residential setting after Discharge

SQL:
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)

13.2.636. HrChildDrDiagCountChange

Base:

HR

Title:

Change in HR-level count of all DIAG measures for Child age group in Residential setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildDrDiagCount as New
  join hist.HrChildDrDiagCount as Old using (State)

13.2.637. HrChildDrDiagCountGrowth

Base:

HR

Title:

Growth in HR-level count of all DIAG measures for Child age group in Residential setting after Discharge

SQL:
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)
Rules:

13.2.638. HrChildDrFihsCompleted

Base:

HR

Title:

HR-level count of completed FIHS measures for Child age group in Residential setting after Discharge

SQL:
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)
Rules:

13.2.639. HrChildDrFihsCompletedChange

Base:

HR

Title:

Change in HR-level count of completed FIHS measures for Child age group in Residential setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildDrFihsCompleted as New
  join hist.HrChildDrFihsCompleted as Old using (State)

13.2.640. HrChildDrFihsCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed FIHS measures for Child age group in Residential setting after Discharge

SQL:
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)

13.2.641. HrChildDrFihsCompletionRate

Base:

HR

Title:

HR-level completion rate of FIHS measures for Child age group in Residential setting after Discharge

SQL:
select State,
       sd_div_safe(HrChildDrFihsCompleted.Total, HrChildDrCodCount.Total, 3) as Rate
  from HrChildDrFihsCompleted
  join HrChildDrCodCount using (State)

13.2.642. HrChildDrFihsCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of FIHS measures for Child age group in Residential setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildDrFihsCompletionRate as New
  join hist.HrChildDrFihsCompletionRate as Old using (State)
Rules:

13.2.643. HrChildDrFihsCount

Base:

HR

Title:

HR-level count of all FIHS measures for Child age group in Residential setting after Discharge

SQL:
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)

13.2.644. HrChildDrFihsCountChange

Base:

HR

Title:

Change in HR-level count of all FIHS measures for Child age group in Residential setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildDrFihsCount as New
  join hist.HrChildDrFihsCount as Old using (State)

13.2.645. HrChildDrFihsCountGrowth

Base:

HR

Title:

Growth in HR-level count of all FIHS measures for Child age group in Residential setting after Discharge

SQL:
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)
Rules:

13.2.646. HrChildDrHonoscaCompleted

Base:

HR

Title:

HR-level count of completed HONOSCA measures for Child age group in Residential setting after Discharge

SQL:
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)
Rules:

13.2.647. HrChildDrHonoscaCompletedChange

Base:

HR

Title:

Change in HR-level count of completed HONOSCA measures for Child age group in Residential setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildDrHonoscaCompleted as New
  join hist.HrChildDrHonoscaCompleted as Old using (State)

13.2.648. HrChildDrHonoscaCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed HONOSCA measures for Child age group in Residential setting after Discharge

SQL:
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)

13.2.649. HrChildDrHonoscaCompletionRate

Base:

HR

Title:

HR-level completion rate of HONOSCA measures for Child age group in Residential setting after Discharge

SQL:
select State,
       sd_div_safe(HrChildDrHonoscaCompleted.Total, HrChildDrCodCount.Total, 3) as Rate
  from HrChildDrHonoscaCompleted
  join HrChildDrCodCount using (State)

13.2.650. HrChildDrHonoscaCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of HONOSCA measures for Child age group in Residential setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildDrHonoscaCompletionRate as New
  join hist.HrChildDrHonoscaCompletionRate as Old using (State)
Rules:

13.2.651. HrChildDrHonoscaCount

Base:

HR

Title:

HR-level count of all HONOSCA measures for Child age group in Residential setting after Discharge

SQL:
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)

13.2.652. HrChildDrHonoscaCountChange

Base:

HR

Title:

Change in HR-level count of all HONOSCA measures for Child age group in Residential setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildDrHonoscaCount as New
  join hist.HrChildDrHonoscaCount as Old using (State)

13.2.653. HrChildDrHonoscaCountGrowth

Base:

HR

Title:

Growth in HR-level count of all HONOSCA measures for Child age group in Residential setting after Discharge

SQL:
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)
Rules:

13.2.654. HrChildDrMhlsCompleted

Base:

HR

Title:

HR-level count of completed MHLS measures for Child age group in Residential setting after Discharge

SQL:
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)
Rules:

13.2.655. HrChildDrMhlsCompletedChange

Base:

HR

Title:

Change in HR-level count of completed MHLS measures for Child age group in Residential setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildDrMhlsCompleted as New
  join hist.HrChildDrMhlsCompleted as Old using (State)

13.2.656. HrChildDrMhlsCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed MHLS measures for Child age group in Residential setting after Discharge

SQL:
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)

13.2.657. HrChildDrMhlsCompletionRate

Base:

HR

Title:

HR-level completion rate of MHLS measures for Child age group in Residential setting after Discharge

SQL:
select State,
       sd_div_safe(HrChildDrMhlsCompleted.Total, HrChildDrCodCount.Total, 3) as Rate
  from HrChildDrMhlsCompleted
  join HrChildDrCodCount using (State)

13.2.658. HrChildDrMhlsCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of MHLS measures for Child age group in Residential setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildDrMhlsCompletionRate as New
  join hist.HrChildDrMhlsCompletionRate as Old using (State)
Rules:

13.2.659. HrChildDrMhlsCount

Base:

HR

Title:

HR-level count of all MHLS measures for Child age group in Residential setting after Discharge

SQL:
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)

13.2.660. HrChildDrMhlsCountChange

Base:

HR

Title:

Change in HR-level count of all MHLS measures for Child age group in Residential setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildDrMhlsCount as New
  join hist.HrChildDrMhlsCount as Old using (State)

13.2.661. HrChildDrMhlsCountGrowth

Base:

HR

Title:

Growth in HR-level count of all MHLS measures for Child age group in Residential setting after Discharge

SQL:
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)
Rules:

13.2.662. HrChildDrSdqCompleted

Base:

HR

Title:

HR-level count of completed SDQ measures for Child age group in Residential setting after Discharge

SQL:
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)
Rules:

13.2.663. HrChildDrSdqCompletedChange

Base:

HR

Title:

Change in HR-level count of completed SDQ measures for Child age group in Residential setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildDrSdqCompleted as New
  join hist.HrChildDrSdqCompleted as Old using (State)

13.2.664. HrChildDrSdqCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed SDQ measures for Child age group in Residential setting after Discharge

SQL:
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)

13.2.665. HrChildDrSdqCompletionRate

Base:

HR

Title:

HR-level completion rate of SDQ measures for Child age group in Residential setting after Discharge

SQL:
select State,
       sd_div_safe(HrChildDrSdqCompleted.Total, HrChildDrCodCount.Total, 3) as Rate
  from HrChildDrSdqCompleted
  join HrChildDrCodCount using (State)

13.2.666. HrChildDrSdqCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of SDQ measures for Child age group in Residential setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildDrSdqCompletionRate as New
  join hist.HrChildDrSdqCompletionRate as Old using (State)
Rules:

13.2.667. HrChildDrSdqCount

Base:

HR

Title:

HR-level count of all SDQ measures for Child age group in Residential setting after Discharge

SQL:
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)

13.2.668. HrChildDrSdqCountChange

Base:

HR

Title:

Change in HR-level count of all SDQ measures for Child age group in Residential setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildDrSdqCount as New
  join hist.HrChildDrSdqCount as Old using (State)

13.2.669. HrChildDrSdqCountGrowth

Base:

HR

Title:

Growth in HR-level count of all SDQ measures for Child age group in Residential setting after Discharge

SQL:
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)
Rules:

13.2.670. HrChildRaCgasCompleted

Base:

HR

Title:

HR-level count of completed CGAS measures for Child age group in Ambulatory setting after Review

SQL:
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)
Rules:

13.2.671. HrChildRaCgasCompletedChange

Base:

HR

Title:

Change in HR-level count of completed CGAS measures for Child age group in Ambulatory setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRaCgasCompleted as New
  join hist.HrChildRaCgasCompleted as Old using (State)

13.2.672. HrChildRaCgasCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed CGAS measures for Child age group in Ambulatory setting after Review

SQL:
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)

13.2.673. HrChildRaCgasCompletionRate

Base:

HR

Title:

HR-level completion rate of CGAS measures for Child age group in Ambulatory setting after Review

SQL:
select State,
       sd_div_safe(HrChildRaCgasCompleted.Total, HrChildRaCodCount.Total, 3) as Rate
  from HrChildRaCgasCompleted
  join HrChildRaCodCount using (State)

13.2.674. HrChildRaCgasCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of CGAS measures for Child age group in Ambulatory setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildRaCgasCompletionRate as New
  join hist.HrChildRaCgasCompletionRate as Old using (State)
Rules:

13.2.675. HrChildRaCgasCount

Base:

HR

Title:

HR-level count of all CGAS measures for Child age group in Ambulatory setting after Review

SQL:
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)

13.2.676. HrChildRaCgasCountChange

Base:

HR

Title:

Change in HR-level count of all CGAS measures for Child age group in Ambulatory setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRaCgasCount as New
  join hist.HrChildRaCgasCount as Old using (State)

13.2.677. HrChildRaCgasCountGrowth

Base:

HR

Title:

Growth in HR-level count of all CGAS measures for Child age group in Ambulatory setting after Review

SQL:
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)
Rules:

13.2.678. HrChildRaCodCount

Base:

HR

Title:

HR-level count of collection occasions for Child age group in Ambulatory setting after Review

SQL:
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)
Rules:

13.2.679. HrChildRaDiagCompleted

Base:

HR

Title:

HR-level count of completed DIAG measures for Child age group in Ambulatory setting after Review

SQL:
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)
Rules:

13.2.680. HrChildRaDiagCompletedChange

Base:

HR

Title:

Change in HR-level count of completed DIAG measures for Child age group in Ambulatory setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRaDiagCompleted as New
  join hist.HrChildRaDiagCompleted as Old using (State)

13.2.681. HrChildRaDiagCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed DIAG measures for Child age group in Ambulatory setting after Review

SQL:
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)

13.2.682. HrChildRaDiagCompletionRate

Base:

HR

Title:

HR-level completion rate of DIAG measures for Child age group in Ambulatory setting after Review

SQL:
select State,
       sd_div_safe(HrChildRaDiagCompleted.Total, HrChildRaCodCount.Total, 3) as Rate
  from HrChildRaDiagCompleted
  join HrChildRaCodCount using (State)

13.2.683. HrChildRaDiagCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of DIAG measures for Child age group in Ambulatory setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildRaDiagCompletionRate as New
  join hist.HrChildRaDiagCompletionRate as Old using (State)
Rules:

13.2.684. HrChildRaDiagCount

Base:

HR

Title:

HR-level count of all DIAG measures for Child age group in Ambulatory setting after Review

SQL:
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)

13.2.685. HrChildRaDiagCountChange

Base:

HR

Title:

Change in HR-level count of all DIAG measures for Child age group in Ambulatory setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRaDiagCount as New
  join hist.HrChildRaDiagCount as Old using (State)

13.2.686. HrChildRaDiagCountGrowth

Base:

HR

Title:

Growth in HR-level count of all DIAG measures for Child age group in Ambulatory setting after Review

SQL:
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)
Rules:

13.2.687. HrChildRaFihsCompleted

Base:

HR

Title:

HR-level count of completed FIHS measures for Child age group in Ambulatory setting after Review

SQL:
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)
Rules:

13.2.688. HrChildRaFihsCompletedChange

Base:

HR

Title:

Change in HR-level count of completed FIHS measures for Child age group in Ambulatory setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRaFihsCompleted as New
  join hist.HrChildRaFihsCompleted as Old using (State)

13.2.689. HrChildRaFihsCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed FIHS measures for Child age group in Ambulatory setting after Review

SQL:
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)

13.2.690. HrChildRaFihsCompletionRate

Base:

HR

Title:

HR-level completion rate of FIHS measures for Child age group in Ambulatory setting after Review

SQL:
select State,
       sd_div_safe(HrChildRaFihsCompleted.Total, HrChildRaCodCount.Total, 3) as Rate
  from HrChildRaFihsCompleted
  join HrChildRaCodCount using (State)

13.2.691. HrChildRaFihsCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of FIHS measures for Child age group in Ambulatory setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildRaFihsCompletionRate as New
  join hist.HrChildRaFihsCompletionRate as Old using (State)
Rules:

13.2.692. HrChildRaFihsCount

Base:

HR

Title:

HR-level count of all FIHS measures for Child age group in Ambulatory setting after Review

SQL:
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)

13.2.693. HrChildRaFihsCountChange

Base:

HR

Title:

Change in HR-level count of all FIHS measures for Child age group in Ambulatory setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRaFihsCount as New
  join hist.HrChildRaFihsCount as Old using (State)

13.2.694. HrChildRaFihsCountGrowth

Base:

HR

Title:

Growth in HR-level count of all FIHS measures for Child age group in Ambulatory setting after Review

SQL:
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)
Rules:

13.2.695. HrChildRaHonoscaCompleted

Base:

HR

Title:

HR-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Review

SQL:
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)
Rules:

13.2.696. HrChildRaHonoscaCompletedChange

Base:

HR

Title:

Change in HR-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRaHonoscaCompleted as New
  join hist.HrChildRaHonoscaCompleted as Old using (State)

13.2.697. HrChildRaHonoscaCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed HONOSCA measures for Child age group in Ambulatory setting after Review

SQL:
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)

13.2.698. HrChildRaHonoscaCompletionRate

Base:

HR

Title:

HR-level completion rate of HONOSCA measures for Child age group in Ambulatory setting after Review

SQL:
select State,
       sd_div_safe(HrChildRaHonoscaCompleted.Total, HrChildRaCodCount.Total, 3) as Rate
  from HrChildRaHonoscaCompleted
  join HrChildRaCodCount using (State)

13.2.699. HrChildRaHonoscaCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of HONOSCA measures for Child age group in Ambulatory setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildRaHonoscaCompletionRate as New
  join hist.HrChildRaHonoscaCompletionRate as Old using (State)
Rules:

13.2.700. HrChildRaHonoscaCount

Base:

HR

Title:

HR-level count of all HONOSCA measures for Child age group in Ambulatory setting after Review

SQL:
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)

13.2.701. HrChildRaHonoscaCountChange

Base:

HR

Title:

Change in HR-level count of all HONOSCA measures for Child age group in Ambulatory setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRaHonoscaCount as New
  join hist.HrChildRaHonoscaCount as Old using (State)

13.2.702. HrChildRaHonoscaCountGrowth

Base:

HR

Title:

Growth in HR-level count of all HONOSCA measures for Child age group in Ambulatory setting after Review

SQL:
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)
Rules:

13.2.703. HrChildRaMhlsCompleted

Base:

HR

Title:

HR-level count of completed MHLS measures for Child age group in Ambulatory setting after Review

SQL:
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)
Rules:

13.2.704. HrChildRaMhlsCompletedChange

Base:

HR

Title:

Change in HR-level count of completed MHLS measures for Child age group in Ambulatory setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRaMhlsCompleted as New
  join hist.HrChildRaMhlsCompleted as Old using (State)

13.2.705. HrChildRaMhlsCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed MHLS measures for Child age group in Ambulatory setting after Review

SQL:
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)

13.2.706. HrChildRaMhlsCompletionRate

Base:

HR

Title:

HR-level completion rate of MHLS measures for Child age group in Ambulatory setting after Review

SQL:
select State,
       sd_div_safe(HrChildRaMhlsCompleted.Total, HrChildRaCodCount.Total, 3) as Rate
  from HrChildRaMhlsCompleted
  join HrChildRaCodCount using (State)

13.2.707. HrChildRaMhlsCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of MHLS measures for Child age group in Ambulatory setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildRaMhlsCompletionRate as New
  join hist.HrChildRaMhlsCompletionRate as Old using (State)
Rules:

13.2.708. HrChildRaMhlsCount

Base:

HR

Title:

HR-level count of all MHLS measures for Child age group in Ambulatory setting after Review

SQL:
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)

13.2.709. HrChildRaMhlsCountChange

Base:

HR

Title:

Change in HR-level count of all MHLS measures for Child age group in Ambulatory setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRaMhlsCount as New
  join hist.HrChildRaMhlsCount as Old using (State)

13.2.710. HrChildRaMhlsCountGrowth

Base:

HR

Title:

Growth in HR-level count of all MHLS measures for Child age group in Ambulatory setting after Review

SQL:
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)
Rules:

13.2.711. HrChildRaSdqCompleted

Base:

HR

Title:

HR-level count of completed SDQ measures for Child age group in Ambulatory setting after Review

SQL:
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)
Rules:

13.2.712. HrChildRaSdqCompletedChange

Base:

HR

Title:

Change in HR-level count of completed SDQ measures for Child age group in Ambulatory setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRaSdqCompleted as New
  join hist.HrChildRaSdqCompleted as Old using (State)

13.2.713. HrChildRaSdqCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed SDQ measures for Child age group in Ambulatory setting after Review

SQL:
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)

13.2.714. HrChildRaSdqCompletionRate

Base:

HR

Title:

HR-level completion rate of SDQ measures for Child age group in Ambulatory setting after Review

SQL:
select State,
       sd_div_safe(HrChildRaSdqCompleted.Total, HrChildRaCodCount.Total, 3) as Rate
  from HrChildRaSdqCompleted
  join HrChildRaCodCount using (State)

13.2.715. HrChildRaSdqCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of SDQ measures for Child age group in Ambulatory setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildRaSdqCompletionRate as New
  join hist.HrChildRaSdqCompletionRate as Old using (State)
Rules:

13.2.716. HrChildRaSdqCount

Base:

HR

Title:

HR-level count of all SDQ measures for Child age group in Ambulatory setting after Review

SQL:
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)

13.2.717. HrChildRaSdqCountChange

Base:

HR

Title:

Change in HR-level count of all SDQ measures for Child age group in Ambulatory setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRaSdqCount as New
  join hist.HrChildRaSdqCount as Old using (State)

13.2.718. HrChildRaSdqCountGrowth

Base:

HR

Title:

Growth in HR-level count of all SDQ measures for Child age group in Ambulatory setting after Review

SQL:
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)
Rules:

13.2.719. HrChildRiCgasCompleted

Base:

HR

Title:

HR-level count of completed CGAS measures for Child age group in Inpatient setting after Review

SQL:
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)
Rules:

13.2.720. HrChildRiCgasCompletedChange

Base:

HR

Title:

Change in HR-level count of completed CGAS measures for Child age group in Inpatient setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRiCgasCompleted as New
  join hist.HrChildRiCgasCompleted as Old using (State)

13.2.721. HrChildRiCgasCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed CGAS measures for Child age group in Inpatient setting after Review

SQL:
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)

13.2.722. HrChildRiCgasCompletionRate

Base:

HR

Title:

HR-level completion rate of CGAS measures for Child age group in Inpatient setting after Review

SQL:
select State,
       sd_div_safe(HrChildRiCgasCompleted.Total, HrChildRiCodCount.Total, 3) as Rate
  from HrChildRiCgasCompleted
  join HrChildRiCodCount using (State)

13.2.723. HrChildRiCgasCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of CGAS measures for Child age group in Inpatient setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildRiCgasCompletionRate as New
  join hist.HrChildRiCgasCompletionRate as Old using (State)
Rules:

13.2.724. HrChildRiCgasCount

Base:

HR

Title:

HR-level count of all CGAS measures for Child age group in Inpatient setting after Review

SQL:
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)

13.2.725. HrChildRiCgasCountChange

Base:

HR

Title:

Change in HR-level count of all CGAS measures for Child age group in Inpatient setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRiCgasCount as New
  join hist.HrChildRiCgasCount as Old using (State)

13.2.726. HrChildRiCgasCountGrowth

Base:

HR

Title:

Growth in HR-level count of all CGAS measures for Child age group in Inpatient setting after Review

SQL:
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)
Rules:

13.2.727. HrChildRiCodCount

Base:

HR

Title:

HR-level count of collection occasions for Child age group in Inpatient setting after Review

SQL:
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)
Rules:

13.2.728. HrChildRiDiagCompleted

Base:

HR

Title:

HR-level count of completed DIAG measures for Child age group in Inpatient setting after Review

SQL:
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)
Rules:

13.2.729. HrChildRiDiagCompletedChange

Base:

HR

Title:

Change in HR-level count of completed DIAG measures for Child age group in Inpatient setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRiDiagCompleted as New
  join hist.HrChildRiDiagCompleted as Old using (State)

13.2.730. HrChildRiDiagCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed DIAG measures for Child age group in Inpatient setting after Review

SQL:
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)

13.2.731. HrChildRiDiagCompletionRate

Base:

HR

Title:

HR-level completion rate of DIAG measures for Child age group in Inpatient setting after Review

SQL:
select State,
       sd_div_safe(HrChildRiDiagCompleted.Total, HrChildRiCodCount.Total, 3) as Rate
  from HrChildRiDiagCompleted
  join HrChildRiCodCount using (State)

13.2.732. HrChildRiDiagCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of DIAG measures for Child age group in Inpatient setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildRiDiagCompletionRate as New
  join hist.HrChildRiDiagCompletionRate as Old using (State)
Rules:

13.2.733. HrChildRiDiagCount

Base:

HR

Title:

HR-level count of all DIAG measures for Child age group in Inpatient setting after Review

SQL:
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)

13.2.734. HrChildRiDiagCountChange

Base:

HR

Title:

Change in HR-level count of all DIAG measures for Child age group in Inpatient setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRiDiagCount as New
  join hist.HrChildRiDiagCount as Old using (State)

13.2.735. HrChildRiDiagCountGrowth

Base:

HR

Title:

Growth in HR-level count of all DIAG measures for Child age group in Inpatient setting after Review

SQL:
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)
Rules:

13.2.736. HrChildRiFihsCompleted

Base:

HR

Title:

HR-level count of completed FIHS measures for Child age group in Inpatient setting after Review

SQL:
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)
Rules:

13.2.737. HrChildRiFihsCompletedChange

Base:

HR

Title:

Change in HR-level count of completed FIHS measures for Child age group in Inpatient setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRiFihsCompleted as New
  join hist.HrChildRiFihsCompleted as Old using (State)

13.2.738. HrChildRiFihsCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed FIHS measures for Child age group in Inpatient setting after Review

SQL:
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)

13.2.739. HrChildRiFihsCompletionRate

Base:

HR

Title:

HR-level completion rate of FIHS measures for Child age group in Inpatient setting after Review

SQL:
select State,
       sd_div_safe(HrChildRiFihsCompleted.Total, HrChildRiCodCount.Total, 3) as Rate
  from HrChildRiFihsCompleted
  join HrChildRiCodCount using (State)

13.2.740. HrChildRiFihsCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of FIHS measures for Child age group in Inpatient setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildRiFihsCompletionRate as New
  join hist.HrChildRiFihsCompletionRate as Old using (State)
Rules:

13.2.741. HrChildRiFihsCount

Base:

HR

Title:

HR-level count of all FIHS measures for Child age group in Inpatient setting after Review

SQL:
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)

13.2.742. HrChildRiFihsCountChange

Base:

HR

Title:

Change in HR-level count of all FIHS measures for Child age group in Inpatient setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRiFihsCount as New
  join hist.HrChildRiFihsCount as Old using (State)

13.2.743. HrChildRiFihsCountGrowth

Base:

HR

Title:

Growth in HR-level count of all FIHS measures for Child age group in Inpatient setting after Review

SQL:
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)
Rules:

13.2.744. HrChildRiHonoscaCompleted

Base:

HR

Title:

HR-level count of completed HONOSCA measures for Child age group in Inpatient setting after Review

SQL:
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)
Rules:

13.2.745. HrChildRiHonoscaCompletedChange

Base:

HR

Title:

Change in HR-level count of completed HONOSCA measures for Child age group in Inpatient setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRiHonoscaCompleted as New
  join hist.HrChildRiHonoscaCompleted as Old using (State)

13.2.746. HrChildRiHonoscaCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed HONOSCA measures for Child age group in Inpatient setting after Review

SQL:
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)

13.2.747. HrChildRiHonoscaCompletionRate

Base:

HR

Title:

HR-level completion rate of HONOSCA measures for Child age group in Inpatient setting after Review

SQL:
select State,
       sd_div_safe(HrChildRiHonoscaCompleted.Total, HrChildRiCodCount.Total, 3) as Rate
  from HrChildRiHonoscaCompleted
  join HrChildRiCodCount using (State)

13.2.748. HrChildRiHonoscaCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of HONOSCA measures for Child age group in Inpatient setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildRiHonoscaCompletionRate as New
  join hist.HrChildRiHonoscaCompletionRate as Old using (State)
Rules:

13.2.749. HrChildRiHonoscaCount

Base:

HR

Title:

HR-level count of all HONOSCA measures for Child age group in Inpatient setting after Review

SQL:
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)

13.2.750. HrChildRiHonoscaCountChange

Base:

HR

Title:

Change in HR-level count of all HONOSCA measures for Child age group in Inpatient setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRiHonoscaCount as New
  join hist.HrChildRiHonoscaCount as Old using (State)

13.2.751. HrChildRiHonoscaCountGrowth

Base:

HR

Title:

Growth in HR-level count of all HONOSCA measures for Child age group in Inpatient setting after Review

SQL:
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)
Rules:

13.2.752. HrChildRiMhlsCompleted

Base:

HR

Title:

HR-level count of completed MHLS measures for Child age group in Inpatient setting after Review

SQL:
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)
Rules:

13.2.753. HrChildRiMhlsCompletedChange

Base:

HR

Title:

Change in HR-level count of completed MHLS measures for Child age group in Inpatient setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRiMhlsCompleted as New
  join hist.HrChildRiMhlsCompleted as Old using (State)

13.2.754. HrChildRiMhlsCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed MHLS measures for Child age group in Inpatient setting after Review

SQL:
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)

13.2.755. HrChildRiMhlsCompletionRate

Base:

HR

Title:

HR-level completion rate of MHLS measures for Child age group in Inpatient setting after Review

SQL:
select State,
       sd_div_safe(HrChildRiMhlsCompleted.Total, HrChildRiCodCount.Total, 3) as Rate
  from HrChildRiMhlsCompleted
  join HrChildRiCodCount using (State)

13.2.756. HrChildRiMhlsCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of MHLS measures for Child age group in Inpatient setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildRiMhlsCompletionRate as New
  join hist.HrChildRiMhlsCompletionRate as Old using (State)
Rules:

13.2.757. HrChildRiMhlsCount

Base:

HR

Title:

HR-level count of all MHLS measures for Child age group in Inpatient setting after Review

SQL:
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)

13.2.758. HrChildRiMhlsCountChange

Base:

HR

Title:

Change in HR-level count of all MHLS measures for Child age group in Inpatient setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRiMhlsCount as New
  join hist.HrChildRiMhlsCount as Old using (State)

13.2.759. HrChildRiMhlsCountGrowth

Base:

HR

Title:

Growth in HR-level count of all MHLS measures for Child age group in Inpatient setting after Review

SQL:
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)
Rules:

13.2.760. HrChildRiSdqCompleted

Base:

HR

Title:

HR-level count of completed SDQ measures for Child age group in Inpatient setting after Review

SQL:
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)
Rules:

13.2.761. HrChildRiSdqCompletedChange

Base:

HR

Title:

Change in HR-level count of completed SDQ measures for Child age group in Inpatient setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRiSdqCompleted as New
  join hist.HrChildRiSdqCompleted as Old using (State)

13.2.762. HrChildRiSdqCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed SDQ measures for Child age group in Inpatient setting after Review

SQL:
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)

13.2.763. HrChildRiSdqCompletionRate

Base:

HR

Title:

HR-level completion rate of SDQ measures for Child age group in Inpatient setting after Review

SQL:
select State,
       sd_div_safe(HrChildRiSdqCompleted.Total, HrChildRiCodCount.Total, 3) as Rate
  from HrChildRiSdqCompleted
  join HrChildRiCodCount using (State)

13.2.764. HrChildRiSdqCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of SDQ measures for Child age group in Inpatient setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildRiSdqCompletionRate as New
  join hist.HrChildRiSdqCompletionRate as Old using (State)
Rules:

13.2.765. HrChildRiSdqCount

Base:

HR

Title:

HR-level count of all SDQ measures for Child age group in Inpatient setting after Review

SQL:
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)

13.2.766. HrChildRiSdqCountChange

Base:

HR

Title:

Change in HR-level count of all SDQ measures for Child age group in Inpatient setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRiSdqCount as New
  join hist.HrChildRiSdqCount as Old using (State)

13.2.767. HrChildRiSdqCountGrowth

Base:

HR

Title:

Growth in HR-level count of all SDQ measures for Child age group in Inpatient setting after Review

SQL:
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)
Rules:

13.2.768. HrChildRrCgasCompleted

Base:

HR

Title:

HR-level count of completed CGAS measures for Child age group in Residential setting after Review

SQL:
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)
Rules:

13.2.769. HrChildRrCgasCompletedChange

Base:

HR

Title:

Change in HR-level count of completed CGAS measures for Child age group in Residential setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRrCgasCompleted as New
  join hist.HrChildRrCgasCompleted as Old using (State)

13.2.770. HrChildRrCgasCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed CGAS measures for Child age group in Residential setting after Review

SQL:
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)

13.2.771. HrChildRrCgasCompletionRate

Base:

HR

Title:

HR-level completion rate of CGAS measures for Child age group in Residential setting after Review

SQL:
select State,
       sd_div_safe(HrChildRrCgasCompleted.Total, HrChildRrCodCount.Total, 3) as Rate
  from HrChildRrCgasCompleted
  join HrChildRrCodCount using (State)

13.2.772. HrChildRrCgasCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of CGAS measures for Child age group in Residential setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildRrCgasCompletionRate as New
  join hist.HrChildRrCgasCompletionRate as Old using (State)
Rules:

13.2.773. HrChildRrCgasCount

Base:

HR

Title:

HR-level count of all CGAS measures for Child age group in Residential setting after Review

SQL:
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)

13.2.774. HrChildRrCgasCountChange

Base:

HR

Title:

Change in HR-level count of all CGAS measures for Child age group in Residential setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRrCgasCount as New
  join hist.HrChildRrCgasCount as Old using (State)

13.2.775. HrChildRrCgasCountGrowth

Base:

HR

Title:

Growth in HR-level count of all CGAS measures for Child age group in Residential setting after Review

SQL:
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)
Rules:

13.2.776. HrChildRrCodCount

Base:

HR

Title:

HR-level count of collection occasions for Child age group in Residential setting after Review

SQL:
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)
Rules:

13.2.777. HrChildRrDiagCompleted

Base:

HR

Title:

HR-level count of completed DIAG measures for Child age group in Residential setting after Review

SQL:
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)
Rules:

13.2.778. HrChildRrDiagCompletedChange

Base:

HR

Title:

Change in HR-level count of completed DIAG measures for Child age group in Residential setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRrDiagCompleted as New
  join hist.HrChildRrDiagCompleted as Old using (State)

13.2.779. HrChildRrDiagCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed DIAG measures for Child age group in Residential setting after Review

SQL:
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)

13.2.780. HrChildRrDiagCompletionRate

Base:

HR

Title:

HR-level completion rate of DIAG measures for Child age group in Residential setting after Review

SQL:
select State,
       sd_div_safe(HrChildRrDiagCompleted.Total, HrChildRrCodCount.Total, 3) as Rate
  from HrChildRrDiagCompleted
  join HrChildRrCodCount using (State)

13.2.781. HrChildRrDiagCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of DIAG measures for Child age group in Residential setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildRrDiagCompletionRate as New
  join hist.HrChildRrDiagCompletionRate as Old using (State)
Rules:

13.2.782. HrChildRrDiagCount

Base:

HR

Title:

HR-level count of all DIAG measures for Child age group in Residential setting after Review

SQL:
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)

13.2.783. HrChildRrDiagCountChange

Base:

HR

Title:

Change in HR-level count of all DIAG measures for Child age group in Residential setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRrDiagCount as New
  join hist.HrChildRrDiagCount as Old using (State)

13.2.784. HrChildRrDiagCountGrowth

Base:

HR

Title:

Growth in HR-level count of all DIAG measures for Child age group in Residential setting after Review

SQL:
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)
Rules:

13.2.785. HrChildRrFihsCompleted

Base:

HR

Title:

HR-level count of completed FIHS measures for Child age group in Residential setting after Review

SQL:
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)
Rules:

13.2.786. HrChildRrFihsCompletedChange

Base:

HR

Title:

Change in HR-level count of completed FIHS measures for Child age group in Residential setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRrFihsCompleted as New
  join hist.HrChildRrFihsCompleted as Old using (State)

13.2.787. HrChildRrFihsCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed FIHS measures for Child age group in Residential setting after Review

SQL:
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)

13.2.788. HrChildRrFihsCompletionRate

Base:

HR

Title:

HR-level completion rate of FIHS measures for Child age group in Residential setting after Review

SQL:
select State,
       sd_div_safe(HrChildRrFihsCompleted.Total, HrChildRrCodCount.Total, 3) as Rate
  from HrChildRrFihsCompleted
  join HrChildRrCodCount using (State)

13.2.789. HrChildRrFihsCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of FIHS measures for Child age group in Residential setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildRrFihsCompletionRate as New
  join hist.HrChildRrFihsCompletionRate as Old using (State)
Rules:

13.2.790. HrChildRrFihsCount

Base:

HR

Title:

HR-level count of all FIHS measures for Child age group in Residential setting after Review

SQL:
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)

13.2.791. HrChildRrFihsCountChange

Base:

HR

Title:

Change in HR-level count of all FIHS measures for Child age group in Residential setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRrFihsCount as New
  join hist.HrChildRrFihsCount as Old using (State)

13.2.792. HrChildRrFihsCountGrowth

Base:

HR

Title:

Growth in HR-level count of all FIHS measures for Child age group in Residential setting after Review

SQL:
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)
Rules:

13.2.793. HrChildRrHonoscaCompleted

Base:

HR

Title:

HR-level count of completed HONOSCA measures for Child age group in Residential setting after Review

SQL:
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)
Rules:

13.2.794. HrChildRrHonoscaCompletedChange

Base:

HR

Title:

Change in HR-level count of completed HONOSCA measures for Child age group in Residential setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRrHonoscaCompleted as New
  join hist.HrChildRrHonoscaCompleted as Old using (State)

13.2.795. HrChildRrHonoscaCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed HONOSCA measures for Child age group in Residential setting after Review

SQL:
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)

13.2.796. HrChildRrHonoscaCompletionRate

Base:

HR

Title:

HR-level completion rate of HONOSCA measures for Child age group in Residential setting after Review

SQL:
select State,
       sd_div_safe(HrChildRrHonoscaCompleted.Total, HrChildRrCodCount.Total, 3) as Rate
  from HrChildRrHonoscaCompleted
  join HrChildRrCodCount using (State)

13.2.797. HrChildRrHonoscaCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of HONOSCA measures for Child age group in Residential setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildRrHonoscaCompletionRate as New
  join hist.HrChildRrHonoscaCompletionRate as Old using (State)
Rules:

13.2.798. HrChildRrHonoscaCount

Base:

HR

Title:

HR-level count of all HONOSCA measures for Child age group in Residential setting after Review

SQL:
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)

13.2.799. HrChildRrHonoscaCountChange

Base:

HR

Title:

Change in HR-level count of all HONOSCA measures for Child age group in Residential setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRrHonoscaCount as New
  join hist.HrChildRrHonoscaCount as Old using (State)

13.2.800. HrChildRrHonoscaCountGrowth

Base:

HR

Title:

Growth in HR-level count of all HONOSCA measures for Child age group in Residential setting after Review

SQL:
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)
Rules:

13.2.801. HrChildRrMhlsCompleted

Base:

HR

Title:

HR-level count of completed MHLS measures for Child age group in Residential setting after Review

SQL:
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)
Rules:

13.2.802. HrChildRrMhlsCompletedChange

Base:

HR

Title:

Change in HR-level count of completed MHLS measures for Child age group in Residential setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRrMhlsCompleted as New
  join hist.HrChildRrMhlsCompleted as Old using (State)

13.2.803. HrChildRrMhlsCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed MHLS measures for Child age group in Residential setting after Review

SQL:
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)

13.2.804. HrChildRrMhlsCompletionRate

Base:

HR

Title:

HR-level completion rate of MHLS measures for Child age group in Residential setting after Review

SQL:
select State,
       sd_div_safe(HrChildRrMhlsCompleted.Total, HrChildRrCodCount.Total, 3) as Rate
  from HrChildRrMhlsCompleted
  join HrChildRrCodCount using (State)

13.2.805. HrChildRrMhlsCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of MHLS measures for Child age group in Residential setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildRrMhlsCompletionRate as New
  join hist.HrChildRrMhlsCompletionRate as Old using (State)
Rules:

13.2.806. HrChildRrMhlsCount

Base:

HR

Title:

HR-level count of all MHLS measures for Child age group in Residential setting after Review

SQL:
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)

13.2.807. HrChildRrMhlsCountChange

Base:

HR

Title:

Change in HR-level count of all MHLS measures for Child age group in Residential setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRrMhlsCount as New
  join hist.HrChildRrMhlsCount as Old using (State)

13.2.808. HrChildRrMhlsCountGrowth

Base:

HR

Title:

Growth in HR-level count of all MHLS measures for Child age group in Residential setting after Review

SQL:
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)
Rules:

13.2.809. HrChildRrSdqCompleted

Base:

HR

Title:

HR-level count of completed SDQ measures for Child age group in Residential setting after Review

SQL:
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)
Rules:

13.2.810. HrChildRrSdqCompletedChange

Base:

HR

Title:

Change in HR-level count of completed SDQ measures for Child age group in Residential setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRrSdqCompleted as New
  join hist.HrChildRrSdqCompleted as Old using (State)

13.2.811. HrChildRrSdqCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed SDQ measures for Child age group in Residential setting after Review

SQL:
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)

13.2.812. HrChildRrSdqCompletionRate

Base:

HR

Title:

HR-level completion rate of SDQ measures for Child age group in Residential setting after Review

SQL:
select State,
       sd_div_safe(HrChildRrSdqCompleted.Total, HrChildRrCodCount.Total, 3) as Rate
  from HrChildRrSdqCompleted
  join HrChildRrCodCount using (State)

13.2.813. HrChildRrSdqCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of SDQ measures for Child age group in Residential setting after Review

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrChildRrSdqCompletionRate as New
  join hist.HrChildRrSdqCompletionRate as Old using (State)
Rules:

13.2.814. HrChildRrSdqCount

Base:

HR

Title:

HR-level count of all SDQ measures for Child age group in Residential setting after Review

SQL:
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)

13.2.815. HrChildRrSdqCountChange

Base:

HR

Title:

Change in HR-level count of all SDQ measures for Child age group in Residential setting after Review

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrChildRrSdqCount as New
  join hist.HrChildRrSdqCount as Old using (State)

13.2.816. HrChildRrSdqCountGrowth

Base:

HR

Title:

Growth in HR-level count of all SDQ measures for Child age group in Residential setting after Review

SQL:
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)
Rules:

13.2.817. HrOlderAaBasis32Completed

Base:

HR

Title:

HR-level count of completed BASIS32 measures for Older age group in Ambulatory setting after Admission

SQL:
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)
Rules:

13.2.818. HrOlderAaBasis32CompletedChange

Base:

HR

Title:

Change in HR-level count of completed BASIS32 measures for Older age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderAaBasis32Completed as New
  join hist.HrOlderAaBasis32Completed as Old using (State)

13.2.819. HrOlderAaBasis32CompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed BASIS32 measures for Older age group in Ambulatory setting after Admission

SQL:
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)

13.2.820. HrOlderAaBasis32CompletionRate

Base:

HR

Title:

HR-level completion rate of BASIS32 measures for Older age group in Ambulatory setting after Admission

SQL:
select State,
       sd_div_safe(HrOlderAaBasis32Completed.Total, HrOlderAaCodCount.Total, 3) as Rate
  from HrOlderAaBasis32Completed
  join HrOlderAaCodCount using (State)

13.2.821. HrOlderAaBasis32CompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of BASIS32 measures for Older age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrOlderAaBasis32CompletionRate as New
  join hist.HrOlderAaBasis32CompletionRate as Old using (State)
Rules:

13.2.822. HrOlderAaBasis32Count

Base:

HR

Title:

HR-level count of all BASIS32 measures for Older age group in Ambulatory setting after Admission

SQL:
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)

13.2.823. HrOlderAaBasis32CountChange

Base:

HR

Title:

Change in HR-level count of all BASIS32 measures for Older age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderAaBasis32Count as New
  join hist.HrOlderAaBasis32Count as Old using (State)

13.2.824. HrOlderAaBasis32CountGrowth

Base:

HR

Title:

Growth in HR-level count of all BASIS32 measures for Older age group in Ambulatory setting after Admission

SQL:
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)
Rules:

13.2.825. HrOlderAaCodCount

Base:

HR

Title:

HR-level count of collection occasions for Older age group in Ambulatory setting after Admission

SQL:
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)
Rules:

13.2.826. HrOlderAaHonosCompleted

Base:

HR

Title:

HR-level count of completed HONOS measures for Older age group in Ambulatory setting after Admission

SQL:
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)
Rules:

13.2.827. HrOlderAaHonosCompletedChange

Base:

HR

Title:

Change in HR-level count of completed HONOS measures for Older age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderAaHonosCompleted as New
  join hist.HrOlderAaHonosCompleted as Old using (State)

13.2.828. HrOlderAaHonosCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed HONOS measures for Older age group in Ambulatory setting after Admission

SQL:
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)

13.2.829. HrOlderAaHonosCompletionRate

Base:

HR

Title:

HR-level completion rate of HONOS measures for Older age group in Ambulatory setting after Admission

SQL:
select State,
       sd_div_safe(HrOlderAaHonosCompleted.Total, HrOlderAaCodCount.Total, 3) as Rate
  from HrOlderAaHonosCompleted
  join HrOlderAaCodCount using (State)

13.2.830. HrOlderAaHonosCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of HONOS measures for Older age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrOlderAaHonosCompletionRate as New
  join hist.HrOlderAaHonosCompletionRate as Old using (State)
Rules:

13.2.831. HrOlderAaHonosCount

Base:

HR

Title:

HR-level count of all HONOS measures for Older age group in Ambulatory setting after Admission

SQL:
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)

13.2.832. HrOlderAaHonosCountChange

Base:

HR

Title:

Change in HR-level count of all HONOS measures for Older age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderAaHonosCount as New
  join hist.HrOlderAaHonosCount as Old using (State)

13.2.833. HrOlderAaHonosCountGrowth

Base:

HR

Title:

Growth in HR-level count of all HONOS measures for Older age group in Ambulatory setting after Admission

SQL:
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)
Rules:

13.2.834. HrOlderAaK10l3dCompleted

Base:

HR

Title:

HR-level count of completed K10L3D measures for Older age group in Ambulatory setting after Admission

SQL:
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)
Rules:

13.2.835. HrOlderAaK10l3dCompletedChange

Base:

HR

Title:

Change in HR-level count of completed K10L3D measures for Older age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderAaK10l3dCompleted as New
  join hist.HrOlderAaK10l3dCompleted as Old using (State)

13.2.836. HrOlderAaK10l3dCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed K10L3D measures for Older age group in Ambulatory setting after Admission

SQL:
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)

13.2.837. HrOlderAaK10l3dCompletionRate

Base:

HR

Title:

HR-level completion rate of K10L3D measures for Older age group in Ambulatory setting after Admission

SQL:
select State,
       sd_div_safe(HrOlderAaK10l3dCompleted.Total, HrOlderAaCodCount.Total, 3) as Rate
  from HrOlderAaK10l3dCompleted
  join HrOlderAaCodCount using (State)

13.2.838. HrOlderAaK10l3dCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of K10L3D measures for Older age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrOlderAaK10l3dCompletionRate as New
  join hist.HrOlderAaK10l3dCompletionRate as Old using (State)
Rules:

13.2.839. HrOlderAaK10l3dCount

Base:

HR

Title:

HR-level count of all K10L3D measures for Older age group in Ambulatory setting after Admission

SQL:
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)

13.2.840. HrOlderAaK10l3dCountChange

Base:

HR

Title:

Change in HR-level count of all K10L3D measures for Older age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderAaK10l3dCount as New
  join hist.HrOlderAaK10l3dCount as Old using (State)

13.2.841. HrOlderAaK10l3dCountGrowth

Base:

HR

Title:

Growth in HR-level count of all K10L3D measures for Older age group in Ambulatory setting after Admission

SQL:
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)
Rules:

13.2.842. HrOlderAaK10lmCompleted

Base:

HR

Title:

HR-level count of completed K10LM measures for Older age group in Ambulatory setting after Admission

SQL:
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)
Rules:

13.2.843. HrOlderAaK10lmCompletedChange

Base:

HR

Title:

Change in HR-level count of completed K10LM measures for Older age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderAaK10lmCompleted as New
  join hist.HrOlderAaK10lmCompleted as Old using (State)

13.2.844. HrOlderAaK10lmCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed K10LM measures for Older age group in Ambulatory setting after Admission

SQL:
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)

13.2.845. HrOlderAaK10lmCompletionRate

Base:

HR

Title:

HR-level completion rate of K10LM measures for Older age group in Ambulatory setting after Admission

SQL:
select State,
       sd_div_safe(HrOlderAaK10lmCompleted.Total, HrOlderAaCodCount.Total, 3) as Rate
  from HrOlderAaK10lmCompleted
  join HrOlderAaCodCount using (State)

13.2.846. HrOlderAaK10lmCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of K10LM measures for Older age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrOlderAaK10lmCompletionRate as New
  join hist.HrOlderAaK10lmCompletionRate as Old using (State)
Rules:

13.2.847. HrOlderAaK10lmCount

Base:

HR

Title:

HR-level count of all K10LM measures for Older age group in Ambulatory setting after Admission

SQL:
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)

13.2.848. HrOlderAaK10lmCountChange

Base:

HR

Title:

Change in HR-level count of all K10LM measures for Older age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderAaK10lmCount as New
  join hist.HrOlderAaK10lmCount as Old using (State)

13.2.849. HrOlderAaK10lmCountGrowth

Base:

HR

Title:

Growth in HR-level count of all K10LM measures for Older age group in Ambulatory setting after Admission

SQL:
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)
Rules:

13.2.850. HrOlderAaMhi38Completed

Base:

HR

Title:

HR-level count of completed MHI38 measures for Older age group in Ambulatory setting after Admission

SQL:
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)
Rules:

13.2.851. HrOlderAaMhi38CompletedChange

Base:

HR

Title:

Change in HR-level count of completed MHI38 measures for Older age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderAaMhi38Completed as New
  join hist.HrOlderAaMhi38Completed as Old using (State)

13.2.852. HrOlderAaMhi38CompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed MHI38 measures for Older age group in Ambulatory setting after Admission

SQL:
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)

13.2.853. HrOlderAaMhi38CompletionRate

Base:

HR

Title:

HR-level completion rate of MHI38 measures for Older age group in Ambulatory setting after Admission

SQL:
select State,
       sd_div_safe(HrOlderAaMhi38Completed.Total, HrOlderAaCodCount.Total, 3) as Rate
  from HrOlderAaMhi38Completed
  join HrOlderAaCodCount using (State)

13.2.854. HrOlderAaMhi38CompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of MHI38 measures for Older age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrOlderAaMhi38CompletionRate as New
  join hist.HrOlderAaMhi38CompletionRate as Old using (State)
Rules:

13.2.855. HrOlderAaMhi38Count

Base:

HR

Title:

HR-level count of all MHI38 measures for Older age group in Ambulatory setting after Admission

SQL:
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)

13.2.856. HrOlderAaMhi38CountChange

Base:

HR

Title:

Change in HR-level count of all MHI38 measures for Older age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderAaMhi38Count as New
  join hist.HrOlderAaMhi38Count as Old using (State)

13.2.857. HrOlderAaMhi38CountGrowth

Base:

HR

Title:

Growth in HR-level count of all MHI38 measures for Older age group in Ambulatory setting after Admission

SQL:
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)
Rules:

13.2.858. HrOlderAaPocCompleted

Base:

HR

Title:

HR-level count of completed POC measures for Older age group in Ambulatory setting after Admission

SQL:
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)
Rules:

13.2.859. HrOlderAaPocCompletedChange

Base:

HR

Title:

Change in HR-level count of completed POC measures for Older age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderAaPocCompleted as New
  join hist.HrOlderAaPocCompleted as Old using (State)

13.2.860. HrOlderAaPocCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed POC measures for Older age group in Ambulatory setting after Admission

SQL:
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)

13.2.861. HrOlderAaPocCompletionRate

Base:

HR

Title:

HR-level completion rate of POC measures for Older age group in Ambulatory setting after Admission

SQL:
select State,
       sd_div_safe(HrOlderAaPocCompleted.Total, HrOlderAaCodCount.Total, 3) as Rate
  from HrOlderAaPocCompleted
  join HrOlderAaCodCount using (State)

13.2.862. HrOlderAaPocCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of POC measures for Older age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrOlderAaPocCompletionRate as New
  join hist.HrOlderAaPocCompletionRate as Old using (State)
Rules:

13.2.863. HrOlderAaPocCount

Base:

HR

Title:

HR-level count of all POC measures for Older age group in Ambulatory setting after Admission

SQL:
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)

13.2.864. HrOlderAaPocCountChange

Base:

HR

Title:

Change in HR-level count of all POC measures for Older age group in Ambulatory setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderAaPocCount as New
  join hist.HrOlderAaPocCount as Old using (State)

13.2.865. HrOlderAaPocCountGrowth

Base:

HR

Title:

Growth in HR-level count of all POC measures for Older age group in Ambulatory setting after Admission

SQL:
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)
Rules:

13.2.866. HrOlderAiCodCount

Base:

HR

Title:

HR-level count of collection occasions for Older age group in Inpatient setting after Admission

SQL:
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)
Rules:

13.2.867. HrOlderAiHonosCompleted

Base:

HR

Title:

HR-level count of completed HONOS measures for Older age group in Inpatient setting after Admission

SQL:
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)
Rules:

13.2.868. HrOlderAiHonosCompletedChange

Base:

HR

Title:

Change in HR-level count of completed HONOS measures for Older age group in Inpatient setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderAiHonosCompleted as New
  join hist.HrOlderAiHonosCompleted as Old using (State)

13.2.869. HrOlderAiHonosCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed HONOS measures for Older age group in Inpatient setting after Admission

SQL:
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)

13.2.870. HrOlderAiHonosCompletionRate

Base:

HR

Title:

HR-level completion rate of HONOS measures for Older age group in Inpatient setting after Admission

SQL:
select State,
       sd_div_safe(HrOlderAiHonosCompleted.Total, HrOlderAiCodCount.Total, 3) as Rate
  from HrOlderAiHonosCompleted
  join HrOlderAiCodCount using (State)

13.2.871. HrOlderAiHonosCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of HONOS measures for Older age group in Inpatient setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrOlderAiHonosCompletionRate as New
  join hist.HrOlderAiHonosCompletionRate as Old using (State)
Rules:

13.2.872. HrOlderAiHonosCount

Base:

HR

Title:

HR-level count of all HONOS measures for Older age group in Inpatient setting after Admission

SQL:
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)

13.2.873. HrOlderAiHonosCountChange

Base:

HR

Title:

Change in HR-level count of all HONOS measures for Older age group in Inpatient setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderAiHonosCount as New
  join hist.HrOlderAiHonosCount as Old using (State)

13.2.874. HrOlderAiHonosCountGrowth

Base:

HR

Title:

Growth in HR-level count of all HONOS measures for Older age group in Inpatient setting after Admission

SQL:
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)
Rules:

13.2.875. HrOlderAiPocCompleted

Base:

HR

Title:

HR-level count of completed POC measures for Older age group in Inpatient setting after Admission

SQL:
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)
Rules:

13.2.876. HrOlderAiPocCompletedChange

Base:

HR

Title:

Change in HR-level count of completed POC measures for Older age group in Inpatient setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderAiPocCompleted as New
  join hist.HrOlderAiPocCompleted as Old using (State)

13.2.877. HrOlderAiPocCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed POC measures for Older age group in Inpatient setting after Admission

SQL:
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)

13.2.878. HrOlderAiPocCompletionRate

Base:

HR

Title:

HR-level completion rate of POC measures for Older age group in Inpatient setting after Admission

SQL:
select State,
       sd_div_safe(HrOlderAiPocCompleted.Total, HrOlderAiCodCount.Total, 3) as Rate
  from HrOlderAiPocCompleted
  join HrOlderAiCodCount using (State)

13.2.879. HrOlderAiPocCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of POC measures for Older age group in Inpatient setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrOlderAiPocCompletionRate as New
  join hist.HrOlderAiPocCompletionRate as Old using (State)
Rules:

13.2.880. HrOlderAiPocCount

Base:

HR

Title:

HR-level count of all POC measures for Older age group in Inpatient setting after Admission

SQL:
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)

13.2.881. HrOlderAiPocCountChange

Base:

HR

Title:

Change in HR-level count of all POC measures for Older age group in Inpatient setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderAiPocCount as New
  join hist.HrOlderAiPocCount as Old using (State)

13.2.882. HrOlderAiPocCountGrowth

Base:

HR

Title:

Growth in HR-level count of all POC measures for Older age group in Inpatient setting after Admission

SQL:
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)
Rules:

13.2.883. HrOlderAiRugadlCompleted

Base:

HR

Title:

HR-level count of completed RUGADL measures for Older age group in Inpatient setting after Admission

SQL:
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)
Rules:

13.2.884. HrOlderAiRugadlCompletedChange

Base:

HR

Title:

Change in HR-level count of completed RUGADL measures for Older age group in Inpatient setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderAiRugadlCompleted as New
  join hist.HrOlderAiRugadlCompleted as Old using (State)

13.2.885. HrOlderAiRugadlCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed RUGADL measures for Older age group in Inpatient setting after Admission

SQL:
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)

13.2.886. HrOlderAiRugadlCompletionRate

Base:

HR

Title:

HR-level completion rate of RUGADL measures for Older age group in Inpatient setting after Admission

SQL:
select State,
       sd_div_safe(HrOlderAiRugadlCompleted.Total, HrOlderAiCodCount.Total, 3) as Rate
  from HrOlderAiRugadlCompleted
  join HrOlderAiCodCount using (State)

13.2.887. HrOlderAiRugadlCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of RUGADL measures for Older age group in Inpatient setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrOlderAiRugadlCompletionRate as New
  join hist.HrOlderAiRugadlCompletionRate as Old using (State)
Rules:

13.2.888. HrOlderAiRugadlCount

Base:

HR

Title:

HR-level count of all RUGADL measures for Older age group in Inpatient setting after Admission

SQL:
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)

13.2.889. HrOlderAiRugadlCountChange

Base:

HR

Title:

Change in HR-level count of all RUGADL measures for Older age group in Inpatient setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderAiRugadlCount as New
  join hist.HrOlderAiRugadlCount as Old using (State)

13.2.890. HrOlderAiRugadlCountGrowth

Base:

HR

Title:

Growth in HR-level count of all RUGADL measures for Older age group in Inpatient setting after Admission

SQL:
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)
Rules:

13.2.891. HrOlderArBasis32Completed

Base:

HR

Title:

HR-level count of completed BASIS32 measures for Older age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.892. HrOlderArBasis32CompletedChange

Base:

HR

Title:

Change in HR-level count of completed BASIS32 measures for Older age group in Residential setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderArBasis32Completed as New
  join hist.HrOlderArBasis32Completed as Old using (State)

13.2.893. HrOlderArBasis32CompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed BASIS32 measures for Older age group in Residential setting after Admission

SQL:
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)

13.2.894. HrOlderArBasis32CompletionRate

Base:

HR

Title:

HR-level completion rate of BASIS32 measures for Older age group in Residential setting after Admission

SQL:
select State,
       sd_div_safe(HrOlderArBasis32Completed.Total, HrOlderArCodCount.Total, 3) as Rate
  from HrOlderArBasis32Completed
  join HrOlderArCodCount using (State)

13.2.895. HrOlderArBasis32CompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of BASIS32 measures for Older age group in Residential setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrOlderArBasis32CompletionRate as New
  join hist.HrOlderArBasis32CompletionRate as Old using (State)
Rules:

13.2.896. HrOlderArBasis32Count

Base:

HR

Title:

HR-level count of all BASIS32 measures for Older age group in Residential setting after Admission

SQL:
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)

13.2.897. HrOlderArBasis32CountChange

Base:

HR

Title:

Change in HR-level count of all BASIS32 measures for Older age group in Residential setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderArBasis32Count as New
  join hist.HrOlderArBasis32Count as Old using (State)

13.2.898. HrOlderArBasis32CountGrowth

Base:

HR

Title:

Growth in HR-level count of all BASIS32 measures for Older age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.899. HrOlderArCodCount

Base:

HR

Title:

HR-level count of collection occasions for Older age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.900. HrOlderArHonosCompleted

Base:

HR

Title:

HR-level count of completed HONOS measures for Older age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.901. HrOlderArHonosCompletedChange

Base:

HR

Title:

Change in HR-level count of completed HONOS measures for Older age group in Residential setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderArHonosCompleted as New
  join hist.HrOlderArHonosCompleted as Old using (State)

13.2.902. HrOlderArHonosCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed HONOS measures for Older age group in Residential setting after Admission

SQL:
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)

13.2.903. HrOlderArHonosCompletionRate

Base:

HR

Title:

HR-level completion rate of HONOS measures for Older age group in Residential setting after Admission

SQL:
select State,
       sd_div_safe(HrOlderArHonosCompleted.Total, HrOlderArCodCount.Total, 3) as Rate
  from HrOlderArHonosCompleted
  join HrOlderArCodCount using (State)

13.2.904. HrOlderArHonosCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of HONOS measures for Older age group in Residential setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrOlderArHonosCompletionRate as New
  join hist.HrOlderArHonosCompletionRate as Old using (State)
Rules:

13.2.905. HrOlderArHonosCount

Base:

HR

Title:

HR-level count of all HONOS measures for Older age group in Residential setting after Admission

SQL:
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)

13.2.906. HrOlderArHonosCountChange

Base:

HR

Title:

Change in HR-level count of all HONOS measures for Older age group in Residential setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderArHonosCount as New
  join hist.HrOlderArHonosCount as Old using (State)

13.2.907. HrOlderArHonosCountGrowth

Base:

HR

Title:

Growth in HR-level count of all HONOS measures for Older age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.908. HrOlderArK10l3dCompleted

Base:

HR

Title:

HR-level count of completed K10L3D measures for Older age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.909. HrOlderArK10l3dCompletedChange

Base:

HR

Title:

Change in HR-level count of completed K10L3D measures for Older age group in Residential setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderArK10l3dCompleted as New
  join hist.HrOlderArK10l3dCompleted as Old using (State)

13.2.910. HrOlderArK10l3dCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed K10L3D measures for Older age group in Residential setting after Admission

SQL:
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)

13.2.911. HrOlderArK10l3dCompletionRate

Base:

HR

Title:

HR-level completion rate of K10L3D measures for Older age group in Residential setting after Admission

SQL:
select State,
       sd_div_safe(HrOlderArK10l3dCompleted.Total, HrOlderArCodCount.Total, 3) as Rate
  from HrOlderArK10l3dCompleted
  join HrOlderArCodCount using (State)

13.2.912. HrOlderArK10l3dCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of K10L3D measures for Older age group in Residential setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrOlderArK10l3dCompletionRate as New
  join hist.HrOlderArK10l3dCompletionRate as Old using (State)
Rules:

13.2.913. HrOlderArK10l3dCount

Base:

HR

Title:

HR-level count of all K10L3D measures for Older age group in Residential setting after Admission

SQL:
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)

13.2.914. HrOlderArK10l3dCountChange

Base:

HR

Title:

Change in HR-level count of all K10L3D measures for Older age group in Residential setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderArK10l3dCount as New
  join hist.HrOlderArK10l3dCount as Old using (State)

13.2.915. HrOlderArK10l3dCountGrowth

Base:

HR

Title:

Growth in HR-level count of all K10L3D measures for Older age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.916. HrOlderArK10lmCompleted

Base:

HR

Title:

HR-level count of completed K10LM measures for Older age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.917. HrOlderArK10lmCompletedChange

Base:

HR

Title:

Change in HR-level count of completed K10LM measures for Older age group in Residential setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderArK10lmCompleted as New
  join hist.HrOlderArK10lmCompleted as Old using (State)

13.2.918. HrOlderArK10lmCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed K10LM measures for Older age group in Residential setting after Admission

SQL:
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)

13.2.919. HrOlderArK10lmCompletionRate

Base:

HR

Title:

HR-level completion rate of K10LM measures for Older age group in Residential setting after Admission

SQL:
select State,
       sd_div_safe(HrOlderArK10lmCompleted.Total, HrOlderArCodCount.Total, 3) as Rate
  from HrOlderArK10lmCompleted
  join HrOlderArCodCount using (State)

13.2.920. HrOlderArK10lmCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of K10LM measures for Older age group in Residential setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrOlderArK10lmCompletionRate as New
  join hist.HrOlderArK10lmCompletionRate as Old using (State)
Rules:

13.2.921. HrOlderArK10lmCount

Base:

HR

Title:

HR-level count of all K10LM measures for Older age group in Residential setting after Admission

SQL:
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)

13.2.922. HrOlderArK10lmCountChange

Base:

HR

Title:

Change in HR-level count of all K10LM measures for Older age group in Residential setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderArK10lmCount as New
  join hist.HrOlderArK10lmCount as Old using (State)

13.2.923. HrOlderArK10lmCountGrowth

Base:

HR

Title:

Growth in HR-level count of all K10LM measures for Older age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.924. HrOlderArLsp16Completed

Base:

HR

Title:

HR-level count of completed LSP16 measures for Older age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.925. HrOlderArLsp16CompletedChange

Base:

HR

Title:

Change in HR-level count of completed LSP16 measures for Older age group in Residential setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderArLsp16Completed as New
  join hist.HrOlderArLsp16Completed as Old using (State)

13.2.926. HrOlderArLsp16CompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed LSP16 measures for Older age group in Residential setting after Admission

SQL:
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)

13.2.927. HrOlderArLsp16CompletionRate

Base:

HR

Title:

HR-level completion rate of LSP16 measures for Older age group in Residential setting after Admission

SQL:
select State,
       sd_div_safe(HrOlderArLsp16Completed.Total, HrOlderArCodCount.Total, 3) as Rate
  from HrOlderArLsp16Completed
  join HrOlderArCodCount using (State)

13.2.928. HrOlderArLsp16CompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of LSP16 measures for Older age group in Residential setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrOlderArLsp16CompletionRate as New
  join hist.HrOlderArLsp16CompletionRate as Old using (State)
Rules:

13.2.929. HrOlderArLsp16Count

Base:

HR

Title:

HR-level count of all LSP16 measures for Older age group in Residential setting after Admission

SQL:
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)

13.2.930. HrOlderArLsp16CountChange

Base:

HR

Title:

Change in HR-level count of all LSP16 measures for Older age group in Residential setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderArLsp16Count as New
  join hist.HrOlderArLsp16Count as Old using (State)

13.2.931. HrOlderArLsp16CountGrowth

Base:

HR

Title:

Growth in HR-level count of all LSP16 measures for Older age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.932. HrOlderArMhi38Completed

Base:

HR

Title:

HR-level count of completed MHI38 measures for Older age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.933. HrOlderArMhi38CompletedChange

Base:

HR

Title:

Change in HR-level count of completed MHI38 measures for Older age group in Residential setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderArMhi38Completed as New
  join hist.HrOlderArMhi38Completed as Old using (State)

13.2.934. HrOlderArMhi38CompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed MHI38 measures for Older age group in Residential setting after Admission

SQL:
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)

13.2.935. HrOlderArMhi38CompletionRate

Base:

HR

Title:

HR-level completion rate of MHI38 measures for Older age group in Residential setting after Admission

SQL:
select State,
       sd_div_safe(HrOlderArMhi38Completed.Total, HrOlderArCodCount.Total, 3) as Rate
  from HrOlderArMhi38Completed
  join HrOlderArCodCount using (State)

13.2.936. HrOlderArMhi38CompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of MHI38 measures for Older age group in Residential setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrOlderArMhi38CompletionRate as New
  join hist.HrOlderArMhi38CompletionRate as Old using (State)
Rules:

13.2.937. HrOlderArMhi38Count

Base:

HR

Title:

HR-level count of all MHI38 measures for Older age group in Residential setting after Admission

SQL:
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)

13.2.938. HrOlderArMhi38CountChange

Base:

HR

Title:

Change in HR-level count of all MHI38 measures for Older age group in Residential setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderArMhi38Count as New
  join hist.HrOlderArMhi38Count as Old using (State)

13.2.939. HrOlderArMhi38CountGrowth

Base:

HR

Title:

Growth in HR-level count of all MHI38 measures for Older age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.940. HrOlderArPocCompleted

Base:

HR

Title:

HR-level count of completed POC measures for Older age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.941. HrOlderArPocCompletedChange

Base:

HR

Title:

Change in HR-level count of completed POC measures for Older age group in Residential setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderArPocCompleted as New
  join hist.HrOlderArPocCompleted as Old using (State)

13.2.942. HrOlderArPocCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed POC measures for Older age group in Residential setting after Admission

SQL:
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)

13.2.943. HrOlderArPocCompletionRate

Base:

HR

Title:

HR-level completion rate of POC measures for Older age group in Residential setting after Admission

SQL:
select State,
       sd_div_safe(HrOlderArPocCompleted.Total, HrOlderArCodCount.Total, 3) as Rate
  from HrOlderArPocCompleted
  join HrOlderArCodCount using (State)

13.2.944. HrOlderArPocCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of POC measures for Older age group in Residential setting after Admission

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrOlderArPocCompletionRate as New
  join hist.HrOlderArPocCompletionRate as Old using (State)
Rules:

13.2.945. HrOlderArPocCount

Base:

HR

Title:

HR-level count of all POC measures for Older age group in Residential setting after Admission

SQL:
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)

13.2.946. HrOlderArPocCountChange

Base:

HR

Title:

Change in HR-level count of all POC measures for Older age group in Residential setting after Admission

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderArPocCount as New
  join hist.HrOlderArPocCount as Old using (State)

13.2.947. HrOlderArPocCountGrowth

Base:

HR

Title:

Growth in HR-level count of all POC measures for Older age group in Residential setting after Admission

SQL:
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)
Rules:

13.2.948. HrOlderDaBasis32Completed

Base:

HR

Title:

HR-level count of completed BASIS32 measures for Older age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.949. HrOlderDaBasis32CompletedChange

Base:

HR

Title:

Change in HR-level count of completed BASIS32 measures for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderDaBasis32Completed as New
  join hist.HrOlderDaBasis32Completed as Old using (State)

13.2.950. HrOlderDaBasis32CompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed BASIS32 measures for Older age group in Ambulatory setting after Discharge

SQL:
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)

13.2.951. HrOlderDaBasis32CompletionRate

Base:

HR

Title:

HR-level completion rate of BASIS32 measures for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       sd_div_safe(HrOlderDaBasis32Completed.Total, HrOlderDaCodCount.Total, 3) as Rate
  from HrOlderDaBasis32Completed
  join HrOlderDaCodCount using (State)

13.2.952. HrOlderDaBasis32CompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of BASIS32 measures for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrOlderDaBasis32CompletionRate as New
  join hist.HrOlderDaBasis32CompletionRate as Old using (State)
Rules:

13.2.953. HrOlderDaBasis32Count

Base:

HR

Title:

HR-level count of all BASIS32 measures for Older age group in Ambulatory setting after Discharge

SQL:
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)

13.2.954. HrOlderDaBasis32CountChange

Base:

HR

Title:

Change in HR-level count of all BASIS32 measures for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderDaBasis32Count as New
  join hist.HrOlderDaBasis32Count as Old using (State)

13.2.955. HrOlderDaBasis32CountGrowth

Base:

HR

Title:

Growth in HR-level count of all BASIS32 measures for Older age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.956. HrOlderDaCodCount

Base:

HR

Title:

HR-level count of collection occasions for Older age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.957. HrOlderDaDiagCompleted

Base:

HR

Title:

HR-level count of completed DIAG measures for Older age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.958. HrOlderDaDiagCompletedChange

Base:

HR

Title:

Change in HR-level count of completed DIAG measures for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderDaDiagCompleted as New
  join hist.HrOlderDaDiagCompleted as Old using (State)

13.2.959. HrOlderDaDiagCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed DIAG measures for Older age group in Ambulatory setting after Discharge

SQL:
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)

13.2.960. HrOlderDaDiagCompletionRate

Base:

HR

Title:

HR-level completion rate of DIAG measures for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       sd_div_safe(HrOlderDaDiagCompleted.Total, HrOlderDaCodCount.Total, 3) as Rate
  from HrOlderDaDiagCompleted
  join HrOlderDaCodCount using (State)

13.2.961. HrOlderDaDiagCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of DIAG measures for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrOlderDaDiagCompletionRate as New
  join hist.HrOlderDaDiagCompletionRate as Old using (State)
Rules:

13.2.962. HrOlderDaDiagCount

Base:

HR

Title:

HR-level count of all DIAG measures for Older age group in Ambulatory setting after Discharge

SQL:
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)

13.2.963. HrOlderDaDiagCountChange

Base:

HR

Title:

Change in HR-level count of all DIAG measures for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderDaDiagCount as New
  join hist.HrOlderDaDiagCount as Old using (State)

13.2.964. HrOlderDaDiagCountGrowth

Base:

HR

Title:

Growth in HR-level count of all DIAG measures for Older age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.965. HrOlderDaHonosCompleted

Base:

HR

Title:

HR-level count of completed HONOS measures for Older age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.966. HrOlderDaHonosCompletedChange

Base:

HR

Title:

Change in HR-level count of completed HONOS measures for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderDaHonosCompleted as New
  join hist.HrOlderDaHonosCompleted as Old using (State)

13.2.967. HrOlderDaHonosCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed HONOS measures for Older age group in Ambulatory setting after Discharge

SQL:
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)

13.2.968. HrOlderDaHonosCompletionRate

Base:

HR

Title:

HR-level completion rate of HONOS measures for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       sd_div_safe(HrOlderDaHonosCompleted.Total, HrOlderDaCodCount.Total, 3) as Rate
  from HrOlderDaHonosCompleted
  join HrOlderDaCodCount using (State)

13.2.969. HrOlderDaHonosCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of HONOS measures for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrOlderDaHonosCompletionRate as New
  join hist.HrOlderDaHonosCompletionRate as Old using (State)
Rules:

13.2.970. HrOlderDaHonosCount

Base:

HR

Title:

HR-level count of all HONOS measures for Older age group in Ambulatory setting after Discharge

SQL:
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)

13.2.971. HrOlderDaHonosCountChange

Base:

HR

Title:

Change in HR-level count of all HONOS measures for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderDaHonosCount as New
  join hist.HrOlderDaHonosCount as Old using (State)

13.2.972. HrOlderDaHonosCountGrowth

Base:

HR

Title:

Growth in HR-level count of all HONOS measures for Older age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.973. HrOlderDaK10l3dCompleted

Base:

HR

Title:

HR-level count of completed K10L3D measures for Older age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.974. HrOlderDaK10l3dCompletedChange

Base:

HR

Title:

Change in HR-level count of completed K10L3D measures for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderDaK10l3dCompleted as New
  join hist.HrOlderDaK10l3dCompleted as Old using (State)

13.2.975. HrOlderDaK10l3dCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed K10L3D measures for Older age group in Ambulatory setting after Discharge

SQL:
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)

13.2.976. HrOlderDaK10l3dCompletionRate

Base:

HR

Title:

HR-level completion rate of K10L3D measures for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       sd_div_safe(HrOlderDaK10l3dCompleted.Total, HrOlderDaCodCount.Total, 3) as Rate
  from HrOlderDaK10l3dCompleted
  join HrOlderDaCodCount using (State)

13.2.977. HrOlderDaK10l3dCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of K10L3D measures for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrOlderDaK10l3dCompletionRate as New
  join hist.HrOlderDaK10l3dCompletionRate as Old using (State)
Rules:

13.2.978. HrOlderDaK10l3dCount

Base:

HR

Title:

HR-level count of all K10L3D measures for Older age group in Ambulatory setting after Discharge

SQL:
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)

13.2.979. HrOlderDaK10l3dCountChange

Base:

HR

Title:

Change in HR-level count of all K10L3D measures for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderDaK10l3dCount as New
  join hist.HrOlderDaK10l3dCount as Old using (State)

13.2.980. HrOlderDaK10l3dCountGrowth

Base:

HR

Title:

Growth in HR-level count of all K10L3D measures for Older age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.981. HrOlderDaK10lmCompleted

Base:

HR

Title:

HR-level count of completed K10LM measures for Older age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.982. HrOlderDaK10lmCompletedChange

Base:

HR

Title:

Change in HR-level count of completed K10LM measures for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderDaK10lmCompleted as New
  join hist.HrOlderDaK10lmCompleted as Old using (State)

13.2.983. HrOlderDaK10lmCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed K10LM measures for Older age group in Ambulatory setting after Discharge

SQL:
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)

13.2.984. HrOlderDaK10lmCompletionRate

Base:

HR

Title:

HR-level completion rate of K10LM measures for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       sd_div_safe(HrOlderDaK10lmCompleted.Total, HrOlderDaCodCount.Total, 3) as Rate
  from HrOlderDaK10lmCompleted
  join HrOlderDaCodCount using (State)

13.2.985. HrOlderDaK10lmCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of K10LM measures for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrOlderDaK10lmCompletionRate as New
  join hist.HrOlderDaK10lmCompletionRate as Old using (State)
Rules:

13.2.986. HrOlderDaK10lmCount

Base:

HR

Title:

HR-level count of all K10LM measures for Older age group in Ambulatory setting after Discharge

SQL:
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)

13.2.987. HrOlderDaK10lmCountChange

Base:

HR

Title:

Change in HR-level count of all K10LM measures for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderDaK10lmCount as New
  join hist.HrOlderDaK10lmCount as Old using (State)

13.2.988. HrOlderDaK10lmCountGrowth

Base:

HR

Title:

Growth in HR-level count of all K10LM measures for Older age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.989. HrOlderDaLsp16Completed

Base:

HR

Title:

HR-level count of completed LSP16 measures for Older age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.990. HrOlderDaLsp16CompletedChange

Base:

HR

Title:

Change in HR-level count of completed LSP16 measures for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderDaLsp16Completed as New
  join hist.HrOlderDaLsp16Completed as Old using (State)

13.2.991. HrOlderDaLsp16CompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed LSP16 measures for Older age group in Ambulatory setting after Discharge

SQL:
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)

13.2.992. HrOlderDaLsp16CompletionRate

Base:

HR

Title:

HR-level completion rate of LSP16 measures for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       sd_div_safe(HrOlderDaLsp16Completed.Total, HrOlderDaCodCount.Total, 3) as Rate
  from HrOlderDaLsp16Completed
  join HrOlderDaCodCount using (State)

13.2.993. HrOlderDaLsp16CompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of LSP16 measures for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrOlderDaLsp16CompletionRate as New
  join hist.HrOlderDaLsp16CompletionRate as Old using (State)
Rules:

13.2.994. HrOlderDaLsp16Count

Base:

HR

Title:

HR-level count of all LSP16 measures for Older age group in Ambulatory setting after Discharge

SQL:
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)

13.2.995. HrOlderDaLsp16CountChange

Base:

HR

Title:

Change in HR-level count of all LSP16 measures for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderDaLsp16Count as New
  join hist.HrOlderDaLsp16Count as Old using (State)

13.2.996. HrOlderDaLsp16CountGrowth

Base:

HR

Title:

Growth in HR-level count of all LSP16 measures for Older age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.997. HrOlderDaMhi38Completed

Base:

HR

Title:

HR-level count of completed MHI38 measures for Older age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.998. HrOlderDaMhi38CompletedChange

Base:

HR

Title:

Change in HR-level count of completed MHI38 measures for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderDaMhi38Completed as New
  join hist.HrOlderDaMhi38Completed as Old using (State)

13.2.999. HrOlderDaMhi38CompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed MHI38 measures for Older age group in Ambulatory setting after Discharge

SQL:
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)

13.2.1000. HrOlderDaMhi38CompletionRate

Base:

HR

Title:

HR-level completion rate of MHI38 measures for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       sd_div_safe(HrOlderDaMhi38Completed.Total, HrOlderDaCodCount.Total, 3) as Rate
  from HrOlderDaMhi38Completed
  join HrOlderDaCodCount using (State)

13.2.1001. HrOlderDaMhi38CompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of MHI38 measures for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrOlderDaMhi38CompletionRate as New
  join hist.HrOlderDaMhi38CompletionRate as Old using (State)
Rules:

13.2.1002. HrOlderDaMhi38Count

Base:

HR

Title:

HR-level count of all MHI38 measures for Older age group in Ambulatory setting after Discharge

SQL:
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)

13.2.1003. HrOlderDaMhi38CountChange

Base:

HR

Title:

Change in HR-level count of all MHI38 measures for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderDaMhi38Count as New
  join hist.HrOlderDaMhi38Count as Old using (State)

13.2.1004. HrOlderDaMhi38CountGrowth

Base:

HR

Title:

Growth in HR-level count of all MHI38 measures for Older age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.1005. HrOlderDaMhlsCompleted

Base:

HR

Title:

HR-level count of completed MHLS measures for Older age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.1006. HrOlderDaMhlsCompletedChange

Base:

HR

Title:

Change in HR-level count of completed MHLS measures for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderDaMhlsCompleted as New
  join hist.HrOlderDaMhlsCompleted as Old using (State)

13.2.1007. HrOlderDaMhlsCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed MHLS measures for Older age group in Ambulatory setting after Discharge

SQL:
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)

13.2.1008. HrOlderDaMhlsCompletionRate

Base:

HR

Title:

HR-level completion rate of MHLS measures for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       sd_div_safe(HrOlderDaMhlsCompleted.Total, HrOlderDaCodCount.Total, 3) as Rate
  from HrOlderDaMhlsCompleted
  join HrOlderDaCodCount using (State)

13.2.1009. HrOlderDaMhlsCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of MHLS measures for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrOlderDaMhlsCompletionRate as New
  join hist.HrOlderDaMhlsCompletionRate as Old using (State)
Rules:

13.2.1010. HrOlderDaMhlsCount

Base:

HR

Title:

HR-level count of all MHLS measures for Older age group in Ambulatory setting after Discharge

SQL:
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)

13.2.1011. HrOlderDaMhlsCountChange

Base:

HR

Title:

Change in HR-level count of all MHLS measures for Older age group in Ambulatory setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderDaMhlsCount as New
  join hist.HrOlderDaMhlsCount as Old using (State)

13.2.1012. HrOlderDaMhlsCountGrowth

Base:

HR

Title:

Growth in HR-level count of all MHLS measures for Older age group in Ambulatory setting after Discharge

SQL:
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)
Rules:

13.2.1013. HrOlderDiCodCount

Base:

HR

Title:

HR-level count of collection occasions for Older age group in Inpatient setting after Discharge

SQL:
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)
Rules:

13.2.1014. HrOlderDiDiagCompleted

Base:

HR

Title:

HR-level count of completed DIAG measures for Older age group in Inpatient setting after Discharge

SQL:
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)
Rules:

13.2.1015. HrOlderDiDiagCompletedChange

Base:

HR

Title:

Change in HR-level count of completed DIAG measures for Older age group in Inpatient setting after Discharge

SQL:
select State,
       (New.Total - Old.Total) as Change
  from HrOlderDiDiagCompleted as New
  join hist.HrOlderDiDiagCompleted as Old using (State)

13.2.1016. HrOlderDiDiagCompletedGrowth

Base:

HR

Title:

Growth in HR-level count of completed DIAG measures for Older age group in Inpatient setting after Discharge

SQL:
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)

13.2.1017. HrOlderDiDiagCompletionRate

Base:

HR

Title:

HR-level completion rate of DIAG measures for Older age group in Inpatient setting after Discharge

SQL:
select State,
       sd_div_safe(HrOlderDiDiagCompleted.Total, HrOlderDiCodCount.Total, 3) as Rate
  from HrOlderDiDiagCompleted
  join HrOlderDiCodCount using (State)

13.2.1018. HrOlderDiDiagCompletionRateChange

Base:

HR

Title:

Change in HR-level completion rate of DIAG measures for Older age group in Inpatient setting after Discharge

SQL:
select State,
       (New.Rate - Old.Rate) as Change
  from HrOlderDiDiagCompletionRate as New
  join hist.HrOlderDiDiagCompletionRate as Old using (State)
Rules:

13.2.1019. HrOlderDiDiagCount

Base:

HR

Title:

HR-level count of all DIAG measures for Older age group in Inpatient setting after Discharge

SQL:
select