XML4Pharma
Home Services CDISC Software About us

Automated Generation of CDISC Biomedical Concepts starting from LOINC Panels

Biomedical Concepts (BCs) are not an invention of CDISC. Very similar concepts are already for a long time in use by e.g HL7-FHIR ("FHIR profiles"), by OpenEHR ("Archetypes").
Also a LOINC code for a test already represents a "mini-BC", and a LOINC panel surely is very close to a CDISC BC.
We have to realize that medical doctors think in "panels" when they order a set of lab or microbiology tests, which (in the computer system) are represented by a LOINC code. They do not think in CDISC controlled terminology ...

So, the question arose whether it is possible to take a LOINC panel, and transform that into a CDISC BC in an automated or semi-automated way.
The challenge with this is that LOINC is pre-coordinated (everything defined in advance) whereas CDISC-SDTM is post-coordinated (categorizing afterwards).
Fortunately we now have LOINC-SDTM mappings, as published by CDISC for Laboratory, and extended by us, and for vital signs and SARS-Corona virus, developed and published by us, and all available as a RESTful web service.
We can also use the RESTful web services for UMLS (Unified Medical Language System), made available by the National Library of Medicine NLM.

When developing a software program for transforming LOINC panels into CDISC BCs, we soon found out that a full automation is not possible: in some cases the user needs to provide small amounts of additional information.
A demo of the software will be be given at the CDISC European Interchange 2021 in April.
On this site, we present a few of our very first results, where the results are in the format of an RDF-Turtle file. Recently, we also exported the results of our software as CDISC Define-XML files.

For each of the LOINC panels below, we provide the output BC as a graph in RDF-Turtle format, and as a PDF with its visualization. The latter is not always very nice, and you are encouraged to download the Turtle files and use them in your own (visualization) tools or query them e.g. using SPARQL.

A few of important remarks!:

Meanings of code prefixes:

Here are the first results (last update 2021-11-09):

It is also possible to generate a Biomedical Concept starting from a single-test LOINC code (i.e. a LOINC code that does not represent a panel). I call this a "mini-BC", as it does not always covers the complete information in the scope of the SDTM standard.
For example, for a vital sign, it often does not contain the body part location, as this is represented by a separate LOINC code. For some lab or microbiology tests, it does sometimes not contain the specimen type, as there is then a separate LOINC code for it that is in the same panel.

Below are a few BCs generated from "single-test" LOINC codes:

Want to see a BC generated for your favority LOINC panel (laboratory or vital signs data)? Just let us know!

The full scientific article (7 pages) for the European CDISC Interchange 2021 can be found here.

A movie showing the program running for the LOINC panel 35095-9 (Body temperature panel):


A "backup" movie of the full presentation given at the CDISC European Interchange can be downloaded here.

Contact XML4Pharma
XML4Pharma, Griesegg 39, A-6464 Tarrenz, Austria