Skip to content
This repository was archived by the owner on Oct 28, 2025. It is now read-only.
This repository was archived by the owner on Oct 28, 2025. It is now read-only.

Hierarchy and Code Translation Tables #4

@benjaminBrownlee

Description

@benjaminBrownlee

We need tables that can be used by our API and models to quickly convert prescription, diagnosis, and lab event codes to AUIs as well as AUIs to a specified level on the UMLS hierarchy.

We need to create scripts to generate then following tables in a new codes database:

  1. labevents: LOINC to AUI
  2. prescriptions: CDN to AUI
  3. diagnoses: ICD9 to AUI
  4. heirarchy: AUI to (AUI, AUI, AUI, ...)

To save space and increase speed, all tables will only include codes that exist in the MIMIC data set, and the hierarchy table will only have a small number of columns for a decided upon hierarchy set of hierarchy levels.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions