Thanks as always to Kit Baum, a new version of the cprdhesutil package is now available for download from SSC. In Stata, use the ssc command to do this, or adoupdate if you already have an old version of cprdhesutil.

The cprdhesutil package is described as below on my website. The new version adds a new value label classpat for the classpat variable created by the cprdhes_episodes module.

Best wishes

Roger

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

TITLE
cprdhesutil: Inputting CPRD HES-linkage datasets into Stata

DESCRIPTION/AUTHOR(S)
The cprdhesutil 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). cprdhesutil is a
suite of utility programs for inputting linkage text data files
produced by CPRD to contain data on the same patients from the
Hospital Episodes System (HES), and creating equivalent Stata
datasets in the memory. Each program in the suite imports into
Stata a dataset type produced by a CPRD HES linkage retrieval, with
1 observation for each of a set of things of a kind on which HES
collects data, such as patients, hospitalisation events, or episodes
within hospitalisations. cprdhesutil uses the SSC packages keyby,
chardef, and lablist, which need to be installed for cprdhesutil to
work.

Author: Roger Newson
Distribution-Date: 11october2019
Stata-Version: 13

INSTALLATION FILES (click here to install)
cprdhes_patient.ado
cprdhes_hospital.ado
cprdhes_episodes.ado
cprdhes_diagnosis_epi.ado
cprdhes_diagnosis_hosp.ado
cprdhes_primary_diag_hosp.ado
cprdhes_procedures_epi.ado
cprdhes_acp.ado
cprdhes_ccare.ado
cprdhes_maternity.ado
cprdhes_hrg.ado
cprdhes_patient.sthlp
cprdhes_hospital.sthlp
cprdhes_episodes.sthlp
cprdhes_diagnosis_epi.sthlp
cprdhes_diagnosis_hosp.sthlp
cprdhes_primary_diag_hosp.sthlp
cprdhes_procedures_epi.sthlp
cprdhes_acp.sthlp
cprdhes_ccare.sthlp
cprdhes_maternity.sthlp
cprdhes_hrg.sthlp
cprdhesutil.sthlp
-------------------------------------------------------------------------------
(click here to return to the previous screen)