Health, Medical and Pharmaceuticals: Case Study
Healthcare organizations run on text. Patient registrations, lab results, claims, billing extracts, discharge summaries and consent forms all move between systems as files, and those systems were rarely bought at the same time or from the same vendor. Our medical and pharmaceutical customers use TextPipe to convert, clean and de-identify that text without writing custom code. The scenario below is a composite of the work we see most often at hospitals and health plans, and the figures are typical of what customers report.
The challenge
A regional hospital group with six sites was replacing its legacy patient administration system. The old system exported admissions, lab results and billing data as fixed-width files in EBCDIC, with packed decimal charge amounts and dates in a two-digit-year format. The new electronic health record (EHR) accepted only delimited UTF-8 files and HL7 messages. About 14 million historical records had to be loaded before go-live, and the cutover weekend allowed roughly 30 hours.
The hospital's analysts had already tried spreadsheets and a handwritten script. Excel refused files of this size, and the script took four days to process one site, rejected records with embedded commas, and could not be audited by the compliance office.
A second problem ran alongside the first. The research department needed the same data for a clinical study, but patient names, medical record numbers, addresses and dates of birth had to be removed first to meet HIPAA de-identification rules.
The solution
The integration team built a short TextPipe filter list for each extract type. Each list ran in a single pass over the file:
- Converted the file from EBCDIC to ASCII and unpacked the COBOL packed decimal amounts.
- Split each fixed-width record into fields, re-ordered the columns to match the EHR import layout, and expanded two-digit years using a rule agreed with the clinical records office.
- Used EasyPattern expressions to find member numbers, phone numbers and postcodes, and quoted any field that contained a delimiter.
- For the research copy, replaced names, record numbers and dates of birth with consistent pseudonyms, so that one patient kept the same identifier across every file.
TextPipe's Restrictions limited each change to the right field, for example the date of birth column only, so free-text clinical notes were never altered by accident. The saved filter lists were reviewed line by line by the compliance office and re-run from the command line, which gave the group a repeatable, documented process instead of a one-off script.
The results
- Migration time: from an estimated four days per site to under 40 minutes for the largest site, so all six sites fit inside the cutover weekend with hours to spare.
- Rejected records: the first trial load rejected about 3 percent of records. After the delimiter and date rules were added to the filter list, the rejection rate fell below 0.01 percent.
- De-identification: the research extract was produced in one run per night, replacing a manual review that previously took two analysts about a week each quarter.
- Audit: every transformation was visible in the saved filter list, which the compliance office accepted as the record of how data had changed.
Beyond data feeds: clinical documents
Hospitals and pharmaceutical firms also keep thousands of Word documents that need controlled, consistent edits: patient information leaflets, standard operating procedures and consent forms. When a procedure name, a drug label warning or a department phone number changes, WordPipe can update every affected file in one batch. Our guides show how to update consent forms and procedure descriptions, update labeling and disclaimers and redact information in Word documents before they are shared.
Related reading
The same techniques apply in other fields. See the data conversion and systems integration solution pages for the general approach, and the banking and finance and government case studies for other regulated environments.
See also: Testimonials and Customer Uses for TextPipe Pro
A selection of our customers
DataMystic has more than 2000 customers in 56 countries, across a variety of industries including Banking and Finance, Telecommunications, Utilities, Medicine, Law, Government, Publishing, Consulting and Manufacturing.
- AHC, VI, USA
- ALLMED HEALTH SYSTEMS INC, USA
- Cardinal Health, USA
- Covenant Health System - IA, USA
- Detroit Medical Center, USA
- Dorset NHS Health Authority, UK
- Eli Lilly and Company - IN, USA
- Eos Biotechnology - CA, USA
- GE Medical Systems, USA
- HealthCatcher, USA
- HealthPartners Research Foundation, USA
- Healthware Solutions, USA
- Keystone Health Plan Central, USA
- Mediconsult - ON, CANADA
- Mercy Health System, USA
- Mount Carmel Health System, USA
- New River Behavioral HealthCare, USA
- Pensacola Pathologists, USA
- PHARMATIC - SWITZERLAND
- San Gabriel Valley Medical Centre, USA
- Springhill Memorial Hospital - AL, USA
- Siemens Medical Solutions - GERMANY
- St. Elizabeth Medical Center, USA
- Taylors Pharmacy, USA
- Thomas Memorial Hospital, USA