Malabsorption due to other causes

PH3555 / 8622

OpenSAFELY

Jan 26, 2026

OpenCodelists Phenotype
  1. Overview

    Codelist ID
    opensafely/malabsorption-due-to-other-causes
    Version ID
    7e45b98c
    Coding System
    SNOMED CT codes
    Collections
    OpenCodelistPhenotype Library
    Tags
    No data
  2. Definition

    This codelist was taken from OpenCodelists, created by OpenSAFELY. We recommend viewing this Phenotype on the OpenCodelist website to view the most recent version.

    This codelist identifies malabsorption syndromes. It is designed for the purpose of the vitamin D study (indications for vit. D testing/ prescribing) and therefore focused on the malabsorption of lipids.

    To be used correctly and cover all potential causes of malabsorption, this codelist should be used alongside the following codelists: Coeliac disease, Crohn's disease, Cystic Fibrosis, Pancreatic Insufficiency, Malabsorption due to gastrointestinal surgery.

    © University of Oxford for the Bennett Institute for Applied Data Science 2025. This work may be copied freely for non-commercial research and study.

  3. Methodology

    Search term: malabsorption

    Inclusion criteria for codes: Inclusion of all codes causing chronic malabsorption, including acquired and congenital, as well as generalised malabsorption and malabsorption specific to lipids.

    Exclusion criteria for codes: Codes referring to malabsorption of other specific substances which are not lipids (e.g. folate, protein). Codes which may refer to transient malabsorption (e.g. tropical spruce, post-infective). This is because the codelist is to be used to identify codes recorded at any point in someone's life BEFORE vitamin D testing or prescription.

  4. References

  5. Clinical Codelist

  6. API

    To Export Phenotype Details:

    FormatAPI
    JSON site_root/api/v1/phenotypes/PH3555/version/8622/detail/?format=json
    R Package

    # Download here

    library(ConceptLibraryClient)


    # Connect to API

    client = ConceptLibraryClient::Connection$new(public=TRUE)


    # Get details of Phenotype

    phenotype_details = client$phenotypes$get_detail(
     'PH3555',
     version_id=8622
    )

    Py Package

    # Download here

    from pyconceptlibraryclient import Client


    # Connect to API

    client = Client(public=True)


    # Get details of Phenotype

    phenotype_detail = client.phenotypes.get_detail(
     'PH3555',
     version_id=8622
    )

    To Export Phenotype Code List:

    FormatAPI
    JSON site_root/api/v1/phenotypes/PH3555/version/8622/export/codes/?format=json
    R Package

    # Download here

    library(ConceptLibraryClient)


    # Connect to API

    client = ConceptLibraryClient::Connection$new(public=TRUE)


    # Get codelist of Phenotype

    phenotype_codelist = client$phenotypes$get_codelist(
     'PH3555',
     version_id=8622
    )

    Py Package

    # Download here

    from pyconceptlibraryclient import Client


    # Connect to API

    client = Client(public=True)


    # Get codelist of Phenotype

    phenotype_codelist = client.phenotypes.get_codelist(
     'PH3555',
     version_id=8622
    )

  7. Version History

    Version IDNameOwnerPublish date
    Malabsorption due to other causes ieuan.scanlon2026-01-26 23:22