Skip to content

Commit d7d4056

Browse files
authored
Merge pull request #1898 from opensafely/evansd/remove-warning
Remove warning which only applied to Cohort Extractor
2 parents 10ab8a6 + e496339 commit d7d4056

3 files changed

Lines changed: 14 additions & 12 deletions

File tree

docs/data-sources/systmone.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,10 @@ IMD rankings are recalculated every 3 or 4 years.
7272
Consequently, there is no original ranking for some newly built residences.
7373
In these cases, the rounded ranking is -1.
7474

75-
---8<-- 'includes/imd-warning-header.md'
75+
!!! warning
76+
The original IMD ranking is rounded to the nearest 100 in the OpenSAFELY-TPP and OpenSAFELY-EMIS databases.
77+
The rounded IMD ranking ranges from 0 to 32,800.
78+
If there is no original ranking, then the rounded ranking is -1 in the OpenSAFELY-TPP database and `NULL` in the OpenSAFELY-EMIS database.
7679

7780
Occasionally, a patient has multiple active registrations on a given date.
7881
If so, the address is chosen as follows:

docs/legacy/study-def-tricks.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,16 @@ In addition:
362362

363363
## Grouping IMD by quintile
364364

365-
---8<-- 'includes/imd-warning-header.md'
365+
!!! warning
366+
The original IMD ranking is rounded to the nearest 100 in the OpenSAFELY-TPP and OpenSAFELY-EMIS databases.
367+
The rounded IMD ranking ranges from 0 to 32,800.
368+
If there is no original ranking, then the rounded ranking is -1 in the OpenSAFELY-TPP database and `NULL` in the OpenSAFELY-EMIS database.
369+
370+
!!! warning
371+
Avoid extracting the rounded IMD ranking to a binary format, such as `.feather` or `.dta`.
372+
Either nest it within a variable,
373+
such as when [grouping rounded IMD by quintile](https://docs.opensafely.org/legacy/study-def-tricks/#grouping-imd-by-quintile),
374+
or extract it to a non-binary format, such as `.csv.gz`.
366375

367376
To group IMD by quintile, then:
368377

includes/imd-warning-header.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)