Thanks as always to Kit Baum, 2 new packages cprdonsutil and cprdlsoautil are now available for download from SSC. In Stata, use the ssc command to do this.

The cprdonsutil and cprdlsoautil packages are described as below on my website. They are both intended for use with the existing cprdutil package, and are used to input CPRD linkage datasets provided by the United Kingdom Office of National Statistics (ONS) for death-certificate data and by United Kingdom lower super-output areas (LSOAs) for social-deprivation data, respectively.

Best wishes

Roger

-----------------------------------------------------------------------------
package cprdonsutil from http://www.rogernewsonresources.org.uk/stata13
-----------------------------------------------------------------------------

TITLE
cprdonsutil: Inputting CPRD ONS-linkage datasets into Stata

DESCRIPTION/AUTHOR(S)
The cprdonsutil package is designed for use with the cprdutil
package, which creates Stata datasets from text data files produced
by the Clinical Practice Research Datalink (CPRD). cprdonsutil is
a suite of utility programs for inputting linkage text data files
produced by CPRD to contain data on the same patients form the
United Kingdom (UK) Office of National Statistics (ONS), and
creating equivalent Stata datasets in the memory. Currently, there
is one program in the suite, which imports into Stata a dataset
type produced by a CPRD ONS linkage retrieval, with 1 observation
for each of a set of patients on which ONS collects death data.
cprdonsutil uses the SSC packages keyby, chardef, and lablist,
which need to be installed for cprdonsutil to work.

Author: Roger Newson
Distribution-Date: 14january2019
Stata-Version: 13

INSTALLATION FILES (click here to install)
cprdons_death_patient.ado
cprdons_death_patient.sthlp
cprdonsutil.sthlp
-----------------------------------------------------------------------------
(click here to return to the previous screen)

-----------------------------------------------------------------------------------
package cprdlsoautil from http://www.rogernewsonresources.org.uk/stata13
-----------------------------------------------------------------------------------

TITLE
cprdlsoautil: Inputting CPRD LSOA-linkage datasets into Stata

DESCRIPTION/AUTHOR(S)
The cprdlsoautil package is designed for use with the cprdutil package,
which creates Stata datasets from text data files produced by the
Clinical Practice Research Datalink (CPRD). cprdlsoautil is a suite of
utility programs for inputting linkage text data files produced by CPRD
to contain social-deprivation data on patients from these patients' home
lower layer super output areas (LSOAs), and creating equivalent Stata
datasets in the memory. cprdlsoautil {like cprdutil) uses the SSC
packages keyby and chardef, which need to be installed for cprdlsoautil
to work.

Author: Roger Newson
Distribution-Date: 14january2019
Stata-Version: 13

INSTALLATION FILES (click here to install)
cprdlsoa_patient_index.ado
cprdlsoa_patient_index.sthlp
cprdlsoautil.sthlp
-----------------------------------------------------------------------------------
(click here to return to the previous screen)