Dataset and Business Rules - Learning Disabilities Indicator Set

Dataset and Business Rules - Learning Disabilities Indicator Set

Data and Business Rules – Childhood Seasonal Influenza ES
Author / HSCIC - SDS team / Version No / 1.6 / Version Date / 30/01/2014

New GMS Contract Implementation

Dataset and Business Rules

-

Childhood Seasonal Influenza ES

Childhood Seasonal Influenza ES_v1.6_monthly / Version Date:30/01/2014

Amendment History:

Version / Date / Amendment History
0.1 / 24th July 2013 / First draft by HSCIC
0.2 / 30th July 2013 / Second draft by HSCIC
0.3 / 31st July 2013 / Third draft by HSCIC
0.4 / 1st August 2013 / Fourth draft by HSCIC – four week check added
0.5 / 1st August 2013 / Fifth draft by HSCIC – dual payment count added
0.6 / 2nd August 2013 / Sixth draft by HSCIC – retrospective fix added
0.7 / 6th August 2013 / Seventh draft by HSCIC – further logic added
0.8 / 7th August 2013 / Eighth draft by HSCIC – logic change made to payment count
0.9 / 9th August 2013 / Ninth draft by HSCIC
1.0 / 19th August 2013 / Tenth draft by HSCIC – amendment to payment count selection
1.1 / 9th September 2013 / Eleventh draft by HSCIC – amendment to TIV1_COD and TIV2_COD CTV3 codes
1.2 / 18th September 2013 / New codes checked and count CFLUMI007 updated
1.3 / 26th September 2013 / ‘=’ removed from the Qualifying Criteria of INTRANAS2_COD and TIV2_COD
1.4 / 11th November 2013 / INTRANAS1_COD and INTRANAS2_COD updated
1.5 / 14th November 2013 / INTRANAS1_COD and INTRANAS2_COD updated to include 65EE. / Xaa9G
1.6 / 30th January 2014 / Updated following October 2013 code release and review

Dataset and business rules – Childhood Seasonal InfluenzaES

Notes

1)Dates used:

  1. ACHIEVEMENT_DAT: The date up to which patient information is considered when determining the output for each extraction.
  2. PAYMENTPERIODEND_DAT: The end date of the period for which payments are made for a given Quality Service. For any given Quality Service there will be one or more payment periods.
  3. QUALITY_SERVICE_START_DAT (QSSD): The start of the period during which a GP Practice provides the Quality Service
  4. QUALITY_SERVICE_END_DAT (QSED): The end of the period during which a GP Practice provides the Quality Service

The QUALITY_SERVICE_START_DAT (QSSD) for this ES is 01.09.2013

The QUALITY_SERVICE_END_DAT (QSED) for this ES is 01.04.2014

2)Clinical codes quoted are (where known) from the October 2013 release of Read codes version 2 and clinical terms version 3 (CTV3).The codes are shown within the document as a 5 character value to show that the Read Code is for a 5-Byte system.

i)Where a ‘%’ wildcard is displayed, the Read Code is filled to 5 characters with full-stops. When implementing a search for the Read Code, only the non full-stop values should be used in the search, For example, a displayed Read Code of c1...% should be implemented as a search for c1%, i.e. should find c1 and any of it’s children.

ii)Where a range of read codes are displayed, the Read Code is filled to 5 characters with full-stops. When implementing the search, only the non full-stop values should be used in the search, For example, a displayed Read Code range of G342. – G3z.. should find all codes between G342 and G3z (including any children where applicable).

3)Where Rulesets are specified as multiple rules they are to be processed sequentially. Processing of rules should terminate as soon as a ‘Reject’ or ‘Select’ condition is encountered. A count should be returned for each Select statement. Unless explicitly stated there is no need to return a count for the Reject statements.

4)Rules are expressed as logical statements that evaluate as either ‘true’ or ‘false’. The following operators are required to be supported:

Page 1 of 3

Childhood Seasonal Influenza ES_v1.6_monthly / Version Date:30/01/2014

a)> (greater than)

b)< (less than)

c)= (equal to)

d)≠ (not equal to)

e)AND

f)OR

g)NOT

Page 1 of 3

Childhood Seasonal Influenza ES_v1.6_monthly / Version Date: 30/01/2014

5)Where date criteria are specified with intervals of multiples of months or years these should be interpreted as calendar months or calendar years.

Page 1 of 9

Childhood Seasonal Influenza ES_v1.6_monthly / Version Date: 30/01/2014

Dataset Specification

1)Patient selection criteria:

a)Registration status

Current registration status / Qualifying criteria
Currently registered for GMS / Most recent registration date < (ACHIEVEMENT_DAT)
Previously registered for GMS / Any sequential pairing of registration date and deregistration date where both of the following conditions are met:
registration date < (ACHIEVEMENT_DAT); and
deregistration date >= (ACHIEVEMENT_DAT)

b)Diagnostic code status

2)Clinical data extraction criteria

Field Number / Field name / Data item / Qualifying criteria
1 / pat_id / Patient ID number / Unconditional
2 / reg_dat / Date of patient registration / Latest < ACHIEVEMENT_DAT
3 / PAT_AGE / Patients age (years) at QSSD / Unconditional
4 / INTRANAS1_COD / Read codes v2 / CTV3 / Earliest= QSSD
AND
(ACHIEVEMENT_DAT)
65ED1
65EE0
65EE.
n47D.
n47E. / Xaac3
XaaED
Xaa9G
n47D.
n47E.
(Seasonal influenza intranasal vaccination first dose codes)
5 / INTRNAS1_DAT / Date of INTRANAS1_COD / Chosen record
6 / INTRANAS2_COD / Read codes v2 / CTV3 / Earliest
> (INTRANAS1_DAT)
AND
< (ACHIEVEMENT_DAT)
65ED3
65EE1
65EE.
n47D.
n47E. / Xaac4
XaaEF
Xaa9G
n47D.
n47E.
(Seasonal influenza intranasal vaccination second dose codes)
7 / INTRANAS2_DAT / Date of INTRANAS2_COD / Chosen record
8 / TIV1_COD / Read codes v2 / CTV3 / Earliest >= QSSD
AND
< (ACHIEVEMENT_DAT)
65ED.
n471.
n472.
n473.
n474.
n475.
n47d.
n47f.
n47k.
n47m.
n47n.
n47o.
n47y.
n47z. / XaZ0d
n471.
n472.
n473.
n474.
n475.
n47d.
n47f.
n47k.
n47m.
n47n.
n47o.
n47y.
n47z.
(TIV first dose codes)
9 / TIV1_DAT / Date of TIV1_COD / Chosen record
10 / TIV2_COD / Read codes v2 / CTV3 / Earliest
> (TIV1_DAT)
AND
< (ACHIEVEMENT_DAT)
65ED.
n471.
n472.
n473.
n474.
n475.
n47d.
n47f.
n47k.
n47m.
n47n.
n47o.
n47y.
n47z. / XaZ0d
n471.
n472.
n473.
n474.
n475.
n47d.
n47f.
n47k.
n47m.
n47n.
n47o.
n47y.
n47z.
(TIV second dose codes)
11 / TIV2_DAT / Date of TIV2_COD / Chosen record
12 / INTRANAS1OHP_COD / Read codes v2 / CTV3 / Earliest= QSSD
AND
(ACHIEVEMENT_DAT)
65E21 / Xaac7
(Seasonal influenza intranasal vaccination first dose given by other healthcare provider codes)
13 / INTRANAS1OHP_DAT / Date of INTRANAS1OHP_COD / Chosen record
14 / INTRANAS2OHP_COD / Read codes v2 / CTV3 / Earliest >= QSSD
AND
(ACHIEVEMENT_DAT)
65E22 / Xaac8
(Seasonal influenza intranasal vaccination second dose given by other healthcare provider codes)
15 / INTRANAS2OHP_DAT / Date of INTRANAS2OHP_COD / Chosen record
16 / TIVOHP_COD / Read codes v2 / CTV3 / Earliest= QSSD
AND
(ACHIEVEMENT_DAT)
65E20
65ED2 / XaZ0e
XaaZp
(TIV dose given by other healthcare provider codes)
17 / TIVOHP_DAT / Date of TIVOHP_COD / Chosen record
18 / TIVPHARM_COD / Read codes v2 / CTV3 / Earliest= QSSD
AND
(ACHIEVEMENT_DAT)
65ED0 / XaZfY
(TIV dose given by pharmacist codes)
19 / TIVPHARM_DAT / Date of TIVPHARM_COD / Chosen record

Page 1 of 9

Childhood Seasonal Influenza ES_v1.6_monthly / Version Date: 30/01/2014

ES Countrulesets

The following section shows how the Cohorts and Counts used within this ES are defined. In some instances the Cohorts are used to derive multiple Counts. In this instance Cohort 1 forms the cohort for the payment count CFLU001 and the additional counts CFLUMI007 and CFLUMI008.

Where a Count is to be used for payment it is listed as a PaymentCount i.e. PaymentCount_CFLU001 and where a Count is used to support additional reporting it will be listed as an AdditionalCount i.e. AdditionalCount_CFLUMI001.

For an explanation of the dates in this section used please refer to Point 1 of the Notes section above.

Cohort 1

Count 0.1: The number of patients aged two or three but not yet four on 1 September 2013

Rule number / Rule / Action if true / Action if false
1 / If PAT_AGE >= 2 AND
If PAT_AGE < 4 / Select / Reject

Rule 1: The aim of this rule is to identify patients who are aged two or three but not yet four on QUALITY_SERVICE_START_DAT. If a patient meets this age criteria they are added to the Cohort count, otherwise they are rejected and not added to the Cohort count.

Cohort 2

Count 0.2: The number of patients aged two on 1 September 2013

Rule number / Rule / Action if true / Action if false
1 / If PAT_AGE = 2 / Select / Reject

Rule 1: The aim of this rule is to identify patients who are aged two but not yet three on QUALITY_SERVICE_START_DAT. If a patient meets this age criteria they are added to the Cohort count, otherwise they are rejected and not added to the Cohort count.

Cohort 3

Count 0.3: The number of patients aged three on 1 September 2013

Rule number / Rule / Action if true / Action if false
1 / If PAT_AGE = 3 / Select / Reject

Rule 1: The aim of this rule is to identify patients who are aged three but not yet four on QUALITY_SERVICE_START_DAT. If a patient meets this age criteria they are added to the Cohort count, otherwise they are rejected and not added to the Cohort count.

PaymentCount_CFLU001:Monthly count of doses of seasonal influenza vaccination given to patients aged two and three but not four on 1 September 2013

PaymentCount_CFLU001: To be applied to the Cohort 1 population

Rule number / Rule / Action if true / Action if false
1 / [If INTRANAS1_DAT < (PAYMENTPERIODEND_DAT – 1 month)
AND
If INTRANAS2_DAT < (PAYMENTPERIODEND_DAT – 1 month)]
OR
[If INTRANAS1_DAT < (PAYMENTPERIODEND_DAT – 1 month)
AND
If TIV1_DAT < (PAYMENTPERIODEND_DAT – 1 month)]
OR
[If TIV1_DAT < (PAYMENTPERIODEND_DAT – 1 month)
AND
If TIV2_DAT < (PAYMENTPERIODEND_DAT – 1 month)] / Reject / Next rule
2 / [If INTRANAS1_DAT < (PAYMENTPERIODEND_DAT – 1 month)
AND
((If INTRANAS2_DAT >= (PAYMENTPERIODEND_DAT – 1 month)
AND
If INTRANAS2_DAT < PAYMENTPERIODEND_DAT)
AND
If INTRANAS2_DAT < (INTRANAS1_DAT + 4 weeks)]
OR
[If INTRANAS1_DAT < (PAYMENTPERIODEND_DAT – 1 month)
AND
((If TIV1_DAT >= (PAYMENTPERIODEND_DAT – 1 month)
AND
If TIV1_DAT < PAYMENTPERIODEND_DAT)
AND
If TIV1_DAT < (INTRANAS1_DAT + 4 weeks))]
OR
[If TIV1_DAT < (PAYMENTPERIODEND_DAT – 1 month)
AND
((If TIV2_DAT >= (PAYMENTPERIODEND_DAT – 1 month)
AND
If TIV2_DAT < PAYMENTPERIODEND_DAT)
AND
If TIV2_DAT < (TIV1_DAT + 4 weeks))]
OR
[If TIV1_DAT < (PAYMENTPERIODEND_DAT – 1 month)
AND
((If INTRANAS1_DAT >= (PAYMENTPERIODEND_DAT – 1 month)
AND
If INTRANAS1_DAT< PAYMENTPERIODEND_DAT)
AND
If INTRANAS1_DAT < (TIV1_DAT + 4 weeks))] / Reject / Next rule
3 / (If INTRANAS1_DAT >= (PAYMENTPERIODEND_DAT – 1 month)
AND
If INTRANAS1_DAT < PAYMENTPERIODEND_DAT)
OR
(If INTRANAS2_DAT >= (PAYMENTPERIODEND_DAT – 1 month)
AND
If INTRANAS2_DAT< PAYMENTPERIODEND_DAT)
OR
(If TIV1_DAT >= (PAYMENTPERIODEND_DAT – 1 month)
AND
If TIV1_DAT < PAYMENTPERIODEND_DAT)
OR
(If TIV2_DAT >= (PAYMENTPERIODEND_DAT – 1 month)
AND
If TIV2_DAT< PAYMENTPERIODEND_DAT) / Select / Reject

These rules will be used to determine payment

Rule 1: The aim of this rule is to identify if a patient has received two doses of seasonal influenza vaccination after the QUALITY_SERVICE_START_DAT but before the start of the payment period. If a patient has already received two doses within this period, regardless of length of time time between these two doses they will be rejected from the count, otherwise they are passed to the next rule.

Rule 2: The aim of this rule is to identify if a patient has received their first dose of seasonal influenza vaccine in the previous payment period then received a second dose of the vaccine in the current payment period but where there were less than four weeks between the first and the second dose being administered. If the patient meets this criteria they are rejected from the count, otherwise they are passed to the next rule.

Rule 3: The aim of this rule is to identify the number of first and second doses of seasonal influenza vaccination (intranasal or TIV) that have been administered within the period. If a patient has received either their first or second dose within the period and they are added to the payment count, otherwise they are rejected.

NOTE: The below count (PaymentCount_CFLU001a) is an additional payment count to be added to the figure given by the ‘Select’ statement of PaymentCount_CFLU001 if required. This count below will be the number of patients who have received a second dose of the vaccination within the same month as they received their first dose and where there is at least a four week gap between doses. The patient will already be counted for the first dose in PaymentCount_CFLU001 so this counts their second dose within that same month (providing this was at least four weeks from their first dose)

PaymentCount_CFLU001a:Count of second doses given to patients within the same month but at least four weeks after the first dose

PaymentCount_CFLU001a: To beapplied to the population selected by PaymentCount_CFLU001

Rule number / Rule / Action if true / Action if false
1 / [If INTRANAS1_DAT >= (PAYMENTPERIODEND_DAT – 1 month)
AND
If INTRANAS1_DAT < PAYMENTPERIODEND_DAT)
AND
If INTRANAS2_DAT >= (PAYMENTPERIODEND_DAT – 1 month)
AND
If INTRANAS2_DAT< PAYMENTPERIODEND_DAT)
AND
If INTRANAS2_DAT >= (INTRANAS1_DAT + 4 weeks)]
OR
[If INTRANAS1_DAT >= (PAYMENTPERIODEND_DAT – 1 month)
AND
If INTRANAS1_DAT < PAYMENTPERIODEND_DAT)
AND
If TIV1_DAT >= (PAYMENTPERIODEND_DAT – 1 month)
AND
If TIV1_DAT < PAYMENTPERIODEND_DAT)
AND
If TIV1_DAT >= (INTRANAS1_DAT + 4 weeks)]
OR
[(If TIV1_DAT >= (PAYMENTPERIODEND_DAT – 1 month)
AND
If TIV1_DAT < PAYMENTPERIODEND_DAT)
AND
(If TIV2_DAT >= (PAYMENTPERIODEND_DAT – 1 month)
AND
If TIV2_DAT< PAYMENTPERIODEND_DAT)
AND
If TIV2_DAT >= (TIV1_DAT + 4 weeks)]
OR
[(If TIV1_DAT >= (PAYMENTPERIODEND_DAT – 1 month)
AND
If TIV1_DAT < PAYMENTPERIODEND_DAT)
AND
If INTRANAS1_DAT >= (PAYMENTPERIODEND_DAT – 1 month)
AND
If INTRANAS1_DAT < PAYMENTPERIODEND_DAT)
AND
If INTRANAS1_DAT >= (TIV1_DAT + 4 weeks)] / Select / Reject

This rule will be used to determine payment

Rule 1: The aim of this rule is to identify where a patient has received a second dose of the vaccination within the same month the patient received their first dose, where there are at least four weeks between the two doses. If this criteria is met the patient will be added to the payment count, otherwise they are rejected.

Counts CFLU001 and CFLU001a are to be added together before sending as a single figure for doses administered for that month.

AdditionalCount_CFLUMI001: The number of patients aged two on 1 September 2013 who received a Fluenz vaccination within the reporting period

AdditionalCount_CFLUMI001: To be applied to the Cohort 2 population

Rule number / Rule / Action if true / Action if false
1 / (If INTRANAS1_DAT >= (PAYMENTPERIODEND_DAT – 1 month)
AND
If INTRANAS1_DAT < PAYMENTPERIODEND_DAT)
OR
If INTRANAS2_DAT >= (PAYMENTPERIODEND_DAT – 1 month)
AND
If INTRANAS2_DAT < PAYMENTPERIODEND_DAT) / Select / Reject

Rule 1: The aim of this rule is to identify if the patient has received a dose of intranasal seasonal influenza vaccination (first or second) within the period (this window is defined by PAYMENTPERIODEND_DAT). If the patient did receive an intranasal seasonal influenza dose within the period they will be added to the count, otherwise they are rejected.

NOTE: This count will be used to support additional reporting and will not be used for payment

AdditionalCount_CFLUMI002:The number of patients aged two on 1 September 2013 who received a 1st dose of TIV within the reporting period

AdditionalCount_CFLUMI002: To be applied to the Cohort 2 population

Rule number / Rule / Action if true / Action if false
1 / If TIV1_DAT >= (PAYMENTPERIODEND_DAT – 1 month)
AND
If TIV1_DAT < PAYMENTPERIODEND_DAT / Select / Reject

Rule 1: The aim of this rule is to identify if the patient has received a first dose of TIV within the period (this window is defined by PAYMENTPERIODEND_DAT). If the patient did receive a first dose of TIV within the period they will be added to the count, otherwise they are rejected.

NOTE: This count will be used to support additional reporting and will not be used for payment

AdditionalCount_CFLUMI003:The number of patients aged two on 1 September 2013 who received a 2nd dose of TIV within the reporting period

AdditionalCount_CFLUMI003: To be applied to the Cohort 2 population

Rule number / Rule / Action if true / Action if false
1 / If TIV2_DAT >= (PAYMENTPERIODEND_DAT – 1 month)
AND
If TIV2_DAT < PAYMENTPERIODEND_DAT / Select / Reject

Rule 1: The aim of this rule is to identify if the patient has received a second dose of TIV within the period (this window is defined by PAYMENTPERIODEND_DAT). If the patient did receive a second dose of TIV within the period they will be added to the count, otherwise they are rejected.

NOTE: This count will be used to support additional reporting and will not be used for payment

AdditionalCount_CFLUMI004: The number of patients aged three on 1 September 2013 who received a Fluenz vaccination within the reporting period

AdditionalCount_CFLUMI004: To be applied to the Cohort 3 population

Rule number / Rule / Action if true / Action if false
1 / (If INTRANAS1_DAT >= (PAYMENTPERIODEND_DAT – 1 month)
AND
If INTRANAS1_DAT < PAYMENTPERIODEND_DAT)
OR
If INTRANAS2_DAT >= (PAYMENTPERIODEND_DAT – 1 month)
AND
If INTRANAS2_DAT < PAYMENTPERIODEND_DAT) / Select / Reject

Rule 1: The aim of this rule is to identify if the patient has received a dose of intranasal seasonal influenza vaccination (first or second) within the period (this window is defined by PAYMENTPERIODEND_DAT). If the patient did receive an intranasal seasonal influenza dose within the period they will be added to the count, otherwise they are rejected.

NOTE: This count will be used to support additional reporting and will not be used for payment

AdditionalCount_CFLUMI005:The number of patients aged three on 1 September 2013 who received a 1st dose of TIV within the reporting period

AdditionalCount_CFLUMI005: To be applied to the Cohort 3 population

Rule number / Rule / Action if true / Action if false
1 / If TIV1_DAT >= (PAYMENTPERIODEND_DAT – 1 month)
AND
If TIV1_DAT < PAYMENTPERIODEND_DAT / Select / Reject

Rule 1: The aim of this rule is to identify if the patient has received a first dose of TIV within the period (this window is defined by PAYMENTPERIODEND_DAT). If the patient did receive a first dose of TIV within the period they will be added to the count, otherwise they are rejected.

NOTE: This count will be used to support additional reporting and will not be used for payment

AdditionalCount_CFLUMI006:The number of patients aged three on 1 September 2013 who received a 2nd dose of TIV within the reporting period

AdditionalCount_CFLUMI006: To be applied to the Cohort 3 population

Rule number / Rule / Action if true / Action if false
1 / If TIV2_DAT >= (PAYMENTPERIODEND_DAT – 1 month)
AND
If TIV2_DAT < PAYMENTPERIODEND_DAT / Select / Reject

Rule 1: The aim of this rule is to identify if the patient has received a second dose of TIV within the period (this window is defined by PAYMENTPERIODEND_DAT). If the patient did receive a second dose of TIV within the period they will be added to the count, otherwise they are rejected.

NOTE: This count will be used to support additional reporting and will not be used for payment

AdditionalCount_CFLUMI007: The number of patients aged two and three but not yet four on 1 September 2013 who have not received a seasonal influenza vaccination

AdditionalCount_CFLUMI007: To be applied to the Cohort 1 population

Rule number / Rule / Action if true / Action if false
1 / If INTRANAS1_DAT < PAYMENTPERIODEND_DAT
OR
If INTRANAS2_DAT < PAYMENTPERIODEND_DAT
OR
If TIV1_DAT < PAYMENTPERIODEND_DAT
OR
If TIV2_DAT < PAYMENTPERIODEND_DAT
OR
If INTRANAS1OHP_DAT < PAYMENTPERIODEND_DAT
OR
If INTRANAS2OHP_DAT < PAYMENTPERIODEND_DAT
OR
If TIVOHP_DAT < PAYMENTPERIODEND_DAT
OR
If TIVPHARM_DAT < PAYMENTPERIODEND_DAT / Reject / Select

Rule 1: The aim of this rule is to identify if a patient has not received a seasonal influenza vaccination (intranasal or TIV) at any point from the QUALITY_SERVICE_START_DAT up to the PAYMENTPERIODEND_DAT. If a patient has received a seasonal influenza vaccination they are rejected, otherwise they are added to the count

NOTE: This count will be used to support additional reporting and will not be used for payment

AdditionalCount_CFLUMI008: The number of patients aged two and three but not yet four on 1 September2013 who have received a seasonal influenza vaccination given by another healthcare provider within the reporting period

AdditionalCount_CFLUMI008: To be applied to the Cohort 1 population

Rule number / Rule / Action if true / Action if false
1 / (If INTRANAS1OHP_DAT >= (PAYMENTPERIODEND_DAT – 1 month)
AND
If INTRANAS1OHP_DAT < PAYMENTPERIODEND_DAT)
OR
(If INTRANAS2OHP_DAT >= (PAYMENTPERIODEND_DAT – 1 month)
AND
If INTRANAS2OHP_DAT < PAYMENTPERIODEND_DAT)
OR
(If TIVOHP_DAT >= (PAYMENTPERIODEND_DAT – 1 month)
AND
If TIVOHP_DAT < PAYMENTPERIODEND_DAT)
OR
(If TIVPHARM_DAT >= (PAYMENTPERIODEND_DAT – 1 month)
AND
If TIVPHARM_DAT < PAYMENTPERIODEND_DAT) / Select / Reject

Rule 1: The aim of this rule is to identifyif the patient received a seasonal influenza vaccination from another healthcare provider (including pharmacists) within the period (this window is defined by PAYMENTPERIODEND_DAT). If the did receive a dose of TIV from another healthcare provider (including pharmacists)within the period they are added to the count, otherwise they are rejected.

NOTE: This count will be used to support additional reporting and will not be used for payment

Page 1 of 20