fbpx
 

FHIRFHIR and Machine Learning (ML)


Nowadays healthcare is all about data. Different medical data are being continuously generated about each of us. Doctors and nurses create some of this data, but medical devices and wearables produce much more of it. Besides data that was traditionally collected by EHR (Electronic Health Record) systems, we are seeing terabytes of genomics data that have started complimenting patient records with the rise of precision medicine. The volume of medical data is only increasing with time, and it is becoming tough for people to comprehend this data and derive meaningful insights from it without the help of the automated systems.

This is why machine learning is becoming invaluable. Increased computer processing power and storage capabilities have enabled many different use cases for automated systems to help clinicians perform their work faster, and better. Machine learning is not a new technology anymore, as many healthcare organizations have already implemented it in their workflows. The most common use case is medical image processing while signal processing and genomics have started gaining traction too. There are others use cases arising as well. For example, audit logs are analyzed with machine learning to detect intrusions and unusual behavior by medical staff. Machine learning is also used to predict patients who have a higher risk of readmission to the hospital or patients who have a higher chance of not showing up for an appointment or not adhering to prescribed medications. The applications are limitless. To see more cutting-edge applications of machine learning in healthcare you can check mlforhc.org and mucmd.org, which have recordings of all presentations at the annual “Machine Learning in Healthcare” conference from 2011 to now.

How does machine learning work and where does FHIR come to play?

A typical machine learning workflow starts with using the existing data for training a model and then applying this model to make predictions on the new dataset:

As you can see, data is the key along the entire path – from training the model to deriving insights and making predictions. So here is where FHIR comes into play. FHIR has become the de-facto standard for accessing data in healthcare. Getting data for an individual patient for making predictions can’t be achieved easier than via FHIR APIs. Moreover, FHIR is continuing to expand its capabilities. The stable (and extensible) data model described by the FHIR specification allows implementation of a FHIR Clinical Data Repository (CDR) for data mining and analytics. Several companies have started offering technology solutions for an efficient way to serialize large amounts of data and represent data in a manner that allows data analytics to be run.

Back in 2014, we created an open source storage for FHIR resources called FHIRbase that enables SQL queries to be run against FHIR data. There are libraries for FHIR that support implementations in Python, which is the most popular language among data scientists who develop machine learning solutions. There are also open source libraries for other technologies as well, e.g., R on FHIRis getting traction in the community.

In March of 2018, Google opened a protocol buffer implementation of the FHIR standard, which supports Java, C++, C#,  Go, and Python. Open source protocol buffers are a mechanism for serializing structured data – think XML, but smaller, faster, and simpler. A user defines how to structure data once, then uses the generated source code to write and read data to and from a variety of data streams. The protocol is suitable for both programmatic access and database queries. One of the examples shows how to upload FHIR data into Google Cloud BigQuery and have it available for querying. BigQuery can handle a massive amount of data in a highly paralleled cloud environment. It opens the opportunity to work with big medical data in Google Cloud as well as leverage other Google services such as machine learning (ML).

FHIR and machine learning both have a bright future in healthcare and we will see them converging in the coming years.

Leave your vote

1 point
Upvote Downvote

Total votes: 1

Upvotes: 1

Upvotes percentage: 100.000000%

Downvotes: 0

Downvotes percentage: 0.000000%

Pavel Smirnov

Pavel Smirnov

Pavel is a serial entrepreneur, FHIR trailblazer and the CEO of Health Samurai. Health Samurai has been using the FHIR standard in real projects since 2012, and are active participants in the FHIR community. Health Samurai is developing Aidbox - a FHIR development platform that makes your software engineer a healthcare developer guru. Pavel’s expertise spans across health IT, strategy, medical standards including FHIR, and modern cloud technologies.

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

Hey there!

Sign in

Forgot password?

Don't have an account? Register

Close
of

Processing files…