Java library to map LOINC-encoded test results to Human Phenotype Ontology
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Codacy Badge

LOINC2HPO annotation

If you want to access the LOINC to HPO mapping, refer to loinc2hpoAnnotation repo.

If you want to contribute to LOINC to HPO mapping, read below.


Java library to map LOINC-encoded test results to Human Phenotype Ontology.

There are currently two modules, a core module and a graphical user interface (GUI) module. loinc2hpogui is a JavaFX app that intends to help with biocuration of LOINC code to HPO term mappings. To build and run the GUI, use the following command.

$ mvn clean package
$ java -jar loinc2hpogui/target/Loinc2HpoGui-jar-with-dependencies.jar 

To run the library code, enter the following

$ java -jar loinc2hpo-core/target/Loinc2HpoLib.jar download

This will download the hp.obo file (You need to manually download the LOINC Core Table file). There is a demo function that currently doesn't do anything

$ java -jar loinc2hpo-core/target/Loinc2HpoLib.jar demo


Please refer to

spring framework app

We are developing a separate app that will specialize in one functionality of this app - converting FHIR observations into HPO terms. The new app will be coded with the Spring framework and we strive to achieve enterprise-level quality. Please refer to the app with the following link:


We gratefully acknowledge funding by NCATS (CD2H project), 1U24TR002306 A NATIONAL CENTER FOR DIGITAL HEALTH INFORMATICS INNOVATION