Weight loss - Elixhauser primary care

David Metcalfe, James Masters, Antonella Delmestri, Andrew Judge, Daniel Perry, Cheryl Zogg, Belinda Gabbe, Matthew Costa

Version ID
Disease or Syndrome
Data Sources
♀  Female ♂  Male
Agreement Date
Coding system
Read codes v2
Phenotype Library
Comorbidity Index


Weight loss comorbidity category for Elixhauser index, defined in Read codes for primary care by David Metcalfe et. al.


  • Metcalfe, D., Masters, J., Delmestri, A. et al. Coding algorithms for defining Charlson and Elixhauser co-morbidities in Read-coded databases. BMC Med Res Methodol 19, 115 (2019).

  • Elixhauser A, Steiner C, Harris DR, et al. Comorbidity measures for use with administrative data. Med Care. 1998;36(1):8–27.

  • Lyons J, Akbari A, Agrawal U, et al Protocol for the development of the Wales Multimorbidity e-Cohort (WMC): data sources and methods to construct a population-based research platform to investigate multimorbidity BMJ Open 2021;11:e047101. doi: 10.1136/bmjopen-2020-047101

Clinical Code List

Rows: 35
Code Description Medcode
1625.00 Abnormal weight loss 4663
1625.11 Abnormal weight loss - symptom 5812
1627.00 Unintentional weight loss 102563
1D1A.00 Complaining of weight loss 12398
C20..00 Kwashiorkor 35737
C201.00 Marasmic kwashiorkor 35893
C20z.00 Protein malnutrition unspecified 38024
C20zX00 Unspecified severe protein-energy malnutrition 55008
C21..00 Nutritional marasmus 5247
C22..00 Other severe protein-calorie malnutrition (wt for age < 60%) 26366
C23..00 Other+unsp protein-calorie malnutrition (wt for age 60-89%) 54476
C230.00 Moderate protein-calorie malnutrition (wt for age 60-74%) 98680
C231.00 Mild protein-calorie malnutrition (wt for age 75-89%) 67272
C232.00 Physical retardation due to protein-calorie malnutrition 94237
C233.00 Mild protein energy malnutrition 57410
C234.00 Moderate protein energy malnutrition 36455
C23y.00 Other protein-calorie malnutrition 59885
C23z.00 Protein-calorie malnutrition NOS 36951
C23z.11 Dystrophy due to malnutrition 47381
C23z.12 Malnutrition NOS 8869
C286.00 Adult osteomalacia due to malnutrition 58696
C28X.00 Sequelae of unspecified nutritional deficiency 31802
C29y.00 Other nutritional deficiency 41521
C29z.00 Other nutritional deficiency NOS 56242
C2A..00 Sequelae of malnutrition and other nutritional deficiencies 47211
C2A0.00 Sequelae of protein-energy malnutrition 56315
C2z..00 Nutritional deficiency NOS 23500
Cyu5.00 [X]Malnutrition 72615
D01y.00 Other specified nutritional deficiency anaemia 58136
D01yy00 Other specified other nutritional deficiency anaemia 100576
J693100 Post gastrointestinal tract surgery malnutrition 57647
L2C..00 Malnutrition in pregnancy 67893
R032.00 [D]Abnormal loss of weight 3647
SN55112 Malnutrition in child maltreatment syndrome 50085
ZV12100 [V]Personal history of nutritional deficiency 43796


To Export Phenotype Details:

Format API
XML site_root/api/v1/public/phenotypes/PH1099/version/2401/detail/?format=xml
JSON site_root/api/v1/public/phenotypes/PH1099/version/2401/detail/?format=json
R Package

# Download here


# Connect to API

client = connect_to_API(public=TRUE)

# Get details of phenotype

details = get_phenotype_detail_by_version('PH1099', '2401', api_client=client)

To Export Phenotype Code List:

Format API
XML site_root/api/v1/public/phenotypes/PH1099/version/2401/export/codes/?format=xml
JSON site_root/api/v1/public/phenotypes/PH1099/version/2401/export/codes/?format=json
CSV site_root/phenotypes/PH1099/version/2401/export/codes/
R Package

# Download here


# Connect to API

client = connect_to_API(public=TRUE)

# Get codelists of phenotype

codelists = get_phenotype_code_list('PH1099', '2401', api_client=client)

Version History

Name Owner Publish date
2401 Weight loss - Elixhauser primary care coldeaa 2023-02-14 currently shown

Export - export all codes into a csv file/JSON/XML for the current phenotype version.

Print - Print page.