omopvocabmapper.jl
Science Score: 67.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 2 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.7%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: JuliaHealth
- License: mit
- Language: Julia
- Default Branch: main
- Size: 61.5 KB
Statistics
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 1
- Releases: 3
Metadata Files
README.md
OmopVocabMapper
OmopVocabMapper is a Julia package for mapping various medical vocabularies to the OMOP standard vocabulary. It provides functionalities to convert terminology codes from different sources, starting with ICD (International Classification of Diseases) to the corresponding OMOP concept IDs, with the ability to indicate ICD codes that map to multiple OMOP concept IDs.
Features
- Mapping ICD codes to OMOP concept IDs: The library currently supports the mapping of ICD9CM and ICD10CM codes to their respective OMOP concept IDs.
- Reusability: We are actively working on expanding the functionality to support mapping of additional vocabularies like RXNORM, CPT, NDC, and more, making the library versatile and adaptable to different terminologies.
Usage
Preparing the Data
Ensure you have the following CSV files in your working directory: - icdcodes.csv - CONCEPT.csv - CONCEPTRELATIONSHIP.csv
icd_codes.csv File Format
When using the map_icd_to_omop function, you need to provide a CSV file that contains ICD codes and their corresponding system types. The CSV file can have any name, but make sure to specify the correct file path and name when using the function.
Mandatory Columns:
ICD: This column should contain the ICD codes. Important: Make sure that codes like428.0or those with leading zeros (e.g.,012.5) retain their format. This often happens when editing CSV files in spreadsheet software (like Excel) that might automatically remove trailing zeros or convert codes to numbers. Be cautious when creating the CSV file to ensure the ICD codes are preserved correctly.system: This column should specify the ICD code system used for each code. The values should be eitherICD9CMorICD10CM.
Example:
Your CSV file should look like the following:
| ICD | system | |---------|---------| | 428 | ICD9CM | | 428.0 | ICD9CM | | I50.9 | ICD10CM | | 012.5 | ICD9CM | | J44.1 | ICD10CM |
Important Notes:
- Make sure the
ICDcolumn preserves both numeric and alphanumeric codes exactly as they are, without removing decimal points or leading/trailing zeros. - The
systemcolumn specifies the version of ICD codes, eitherICD9CMorICD10CM. - Ensure your CSV file is properly saved, and provide the correct path and file name when calling the
map_icd_to_omopfunction. - It can also have other columns like name.
Downloading the vocabulary files from Athena
- From Athena https://athena.ohdsi.org/search-terms/start download the vocabulary files. From the downloaded files copy only the required CONCEPT.csv and CONCEPT_RELATIONSHIP.csv files to the working dircetory.
Running the Mapping
Include the module and use it in your script or Julia REPL:
julia using Pkg Pkg.add("OMOPVocabMapper") using OMOPVocabMapperCall the
map_icd_to_omopfunction:julia map_icd_to_omop( "path/to/icd_codes.csv", "path/to/concept.csv", "path/to/concept_relationship.csv", "path/to/output/omopmappedcodes.csv" )
License
This project is licensed under the MIT License - see the LICENSE file for details.
Reference
Thakkallapally M, Bradenday J, Aluthge D, Sarkar IN, Crowley KM, Chen E. OMOPVocabMapper: A Tool for Mapping ICD Codes to OMOP Concepts. AMIA 2024 Annual Symposium. [Poster Abstract] - Accepted
Owner
- Name: JuliaHealth
- Login: JuliaHealth
- Kind: organization
- Website: https://juliahealth.org
- Repositories: 42
- Profile: https://github.com/JuliaHealth
Using the Julia programming language to improve medicine, health care, public health, and biomedical research.
Citation (CITATION.cff)
cff-version: 1.2.0
message: "If you use this software, please cite it using the following metadata."
title: "OMOPVocabMapper 0.1.0"
version: "v0.1.0"
doi: "10.5281/zenodo.13883120"
date-released: 2024-10-02
authors:
- family-names: "Thakkallapally"
given-names: "Mounika"
affiliation: "Brown Center for Biomedical Informatics"
repository-code: "https://github.com/bcbi/OMOPVocabMapper.jl.git"
license: "MIT"
GitHub Events
Total
- Watch event: 1
Last Year
- Watch event: 1
Committers
Last synced: 7 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| mounika | y****u@e****m | 21 |
| Mounika Thakkallapally | 8****y | 18 |
| Ashlin Harris | 9****s | 17 |
Issues and Pull Requests
Last synced: 7 months ago
All Time
- Total issues: 4
- Total pull requests: 10
- Average time to close issues: 5 days
- Average time to close pull requests: 6 minutes
- Total issue authors: 2
- Total pull request authors: 1
- Average comments per issue: 4.75
- Average comments per pull request: 0.1
- Merged pull requests: 10
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 4
- Pull requests: 10
- Average time to close issues: 5 days
- Average time to close pull requests: 6 minutes
- Issue authors: 2
- Pull request authors: 1
- Average comments per issue: 4.75
- Average comments per pull request: 0.1
- Merged pull requests: 10
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- Mounika-Thakkallapally (3)
- JuliaTagBot (1)
Pull Request Authors
- Mounika-Thakkallapally (9)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- JuliaRegistries/TagBot v1 composite
- actions/cache v1 composite
- actions/checkout v2 composite
- codecov/codecov-action v3 composite
- julia-actions/julia-buildpkg v1 composite
- julia-actions/julia-processcoverage v1 composite
- julia-actions/julia-runtest v1 composite
- julia-actions/setup-julia v1 composite
- actions/checkout master composite
- alstr/todo-to-issue-action master composite