DICTMAPS: Mapping between OPCS / ICD-10 and Read terms

Description Details Note Source See Also

Description

Mapping from the UK Clinical Terminology Centre. Can be used to select a set of Read codes mapping to an ICD-10 code.

Additional maps have been added where the Read term and ICD-10/OPCS term are identical; these have map status T. The mapping is via Read terms so that identical Read terms have identical maps even if the NHS-supplied mapping only covers one of several Read codes with the same term, i.e.

ICD-10/OPCS <-(NHS mapping)-> 5-char Read code <–> Read term <–> 7-char Read code <–> medcode

Dagger ICD-10 terms are not used for matching.

Details

A data table with observations on the following 8 variables.

code

OPCS, ICD-9 or ICD-10 code, a character vector

map_stat

Map status, a character vector. Map status, a character vector. D is the default map, A is the alternative map, E is an exact match, and G is a map where the OPCS or ICD-10 term is more general than the Read term. R is for a term which must be ruled out before allocating a specified ICD-10 term, for example myocardial infarction must be ruled out in order to code to the ICD-10 term for essential hypertension, but myocardial infarction is not a map for essential hypertension. The default values of map_stat allowed by this package are A, D, E or T when searching Read codes and looking for ICD-10 and OPCS codes that will select corresponding patients, and A, D, G, E or T when searching for Read codes that map to ICD-10 or OPCS codes for patient selection.

ref_flag

a character vector, not currently used)

add_flag

a character vector, not currently used

elem_num

element number within the block, a numeric vector (currently not used)

block_num

block number, a numeric vector (currently not used)

medcode

CPRD medcode (key column)

dict

a character vector: 'icd9', 'icd10', 'icdhead' or 'opcs'

Note

For CALIBER users, the tables are included in the CALIBERlookups package. External users need to obtain their own copies of the dictionaries and generate the data file using the supplied script demo(loadnewdicts).

If there is no CALIBER_DICTMAPS table in the global environment, CALIBERcodelists functions will create one containing a small sample of terms. This is used for testing the examples.

Source

UK Terminology Centre

See Also

codematch, convert


CALIBERcodelists documentation built on Feb. 28, 2020, 3:01 a.m.