PyCon 2016 in Portland, Or
hills next to breadcrumb illustration

Wednesday 1:50 p.m.–2:20 p.m.

Accelerating healthcare transactions with Python and PyPy

Brian Corbin

Audience level:
Best Practices & Patterns


Python is well suited for many file processing tasks. However, Python is an uncommon language choice for many organizations that need to process large files of healthcare transactions. This talk will share lessons we've learned processing healthcare transactions in Python running on PyPy.


It's not uncommon in the healthcare industry to hear about delays processing large files of claims or other transaction types. These files typically utilize the X12 healthcare standards for representing eligibility, claims, claim payments and other transaction types. The file formats are very loop oriented and can be difficult to interpret. Patients and healthcare providers depend on the timely processing of these transactions. We've found that using Python to process these files can result in code that's straightforward and easy to maintain. Many are surprised when they learn that we process healthcare transactions using Python and that we're able to process these transactions much more quickly than other systems. In this talk, we'll review some of the Python language features that have allowed us to move quickly with a small team to support the X12 healthcare standards, our experiences moving a large project to run on PyPy, and the performance gains we've seen by using PyPy.