Top Banner
Gonymizer A Tool to Anonymize Sensitive PostgreSQL Data Tables for Use in QA and Testing Levi Junkert
38

Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

May 02, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

Gonymizer

A Tool to Anonymize Sensitive PostgreSQL Data Tables

for Use in QA and Testing

Levi Junkert

Page 2: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

Agenda● Introductions

● HIPAA Regulations

● SmithRx Solution: Gonymizer

● Gonymizing multiple environments using Kubernetes

● Demo

● Wrap-up

Page 3: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

Who am I?

● Database systems 18 years

○ MySQL

○ PostgreSQL

● Software Engineering 11 years

○ Product, Infrastructure, and Automation

● DB and SE Experience

○ Facebook

○ RightNow ( Oracle)

○ OpenDNS (Cisco)

○ Get Better

Page 4: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

PBMs sit in the

middle of a large and

complex ecosystem

Manufacturer

Drug Wholesaler

Patient

Services Agreement Formulary Agreement

Wholesaler Payment for Product

Pharmacy Payment for Product

Vendor Agreement Network Participation

Copayment or Coinsurance

Product Shipment

Product Shipment

Serv. Contract

Payer Reimbursement

to PBM

Service and Data

Fees (specialty )

Formulary Rebates

Prescription Reimbursement

Self-Insured

Employer

Pharmacy Benefit

Manager

Pass throughof rebate

Dispense Prescription

Pharmacy

Fein, Adam. J., The 2016 Economic Report on Retail, Mail and Specialty

Pharmacies, Drug Channels Institute, January 2016 .

Financial Flow

Contract Relationship

Product Movement

Page 5: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager
Page 6: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

HIPAA RegulationsHealth Insurance Portability and Accountability Act of 1996

United States Legislation

Page 7: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

HIPAA

Regulations

Examples

Importance

Solutions

© All Rights Reserved - Chris Slane

Page 8: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

HIPAA

Regulations

Examples

Importance

Solutions

Page 9: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

HIPAA

Regulations

Examples

Importance

Solutions

Page 10: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

HIPAA

Regulations

Examples

Importance

Solutions

Page 11: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

HIPAA

Regulations ● Name

● Street

● All elements of dates

but year

● Telephone Number

● Fax Number

● Email Address

● Driver Licenses and IDS

● Vehicle IDs

● Biometric IDs

● Full face photos○ Other comparable images

● URL addresses

● Social Security Number

● Account numbers

○ CC/Debit

● Passwords

Safe Harbor Method (164 somethin b2?)

Examples

Importance

Solutions

Page 12: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

HIPAA

Regulations ● Name

● Street

● All elements of dates

but year

● Telephone Number

● Fax Number

● Email Address

● Driver Licenses and IDS

● Vehicle IDs

● Biometric IDs

● Full face photos○ Other comparable images

● URL addresses

● Social Security Number

● Account numbers

○ CC/Debit

● Passwords

Safe Harbour Method (164 somethin b2?)

Examples

Importance

Solutions

Page 13: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

SmithRx Solution:

Gonymizer

Page 14: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

Gonymizer

Requirements

Design

Mapping

Page 15: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

Gonymizer

Requirements

Design

Mapping

Page 16: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

Gonymizer

Requirements

Design

Mapping

Page 17: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

Gonymizer● Dump of the original PHI dataset

● Load the data set into a PSQL host

● Assignable scrambler function(s)

● A map to know which columns to anonymize

● Must keep relationships intact

● Must be able to be automated

Requirements

Design

Mapping

Page 18: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

Gonymizer

Requirements

Design

Mapping

Separated Commands● Dump

○ Downloads SQL dump file

● Map

○ Build and maintain an anonymization map

for

■ Schemas

■ Tables

■ Columns

● Process

○ Anonymizes columns according to map

● Load

○ Loads the anonymized file

Page 19: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

Gonymizer

DUMPRequirements

Design

Mapping LOAD

Page 20: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

Gonymizer PROCESS

MAP

Requirements

Design

Mapping

Page 21: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

Gonymizer

Requirements

Design

Mapping

Page 22: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

Gonymizer

?Requirements

Design

Mapping

Page 23: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

Gonymizer

Requirements

Design

Mapping

Page 24: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

Gonymizer

Requirements

Design

Mapping

Page 25: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

Gonymizer

Requirements

Design

Mapping

Page 26: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

Gonymizer

Person

Requirements

Design

Mapping

Page 27: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

Gonymizer

Requirements

Design

Mapping

Page 28: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

Gonymizer

Requirements

Design

Mapping

Page 29: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

Gonymizer

Requirements

Design

Mapping

Page 30: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

Gonymizing Environments

Page 31: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

Automation &

Kubernetes

Dump

Process

Load

Page 32: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

Automation &

Kubernetes

Dump

Process

Load

Page 33: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

Automation &

Kubernetes

Dump

Process

Load

Page 34: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

Automation &

Kubernetes

Dump

Process

Load

Page 35: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

Now a demo

The demo database comes from the Dell-Store 2 collection found at: http://pgfoundry.org/projects/dbsamples/

Page 36: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

We are hiring

mission-driven devs

and PMs passionate

about fixing U.S.

healthcare

Office Location

San Francisco, CA

Current Positions Open

Software Engineer (mid-level)

Senior Software Engineer

Product Manager (mid-level)

Senior Product Manager

Send Resume To

[email protected]

Page 37: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

Call for Contributorshttps://github.com/smithoss/gonymizer

Page 38: Gonymizer - Percona€¦ · Payer Reimbursement to PBM Service and Data Fees (specialty ) Formulary Rebates Prescription Reimbursement Self-Insured Employer Pharmacy Benefit Manager

Thank you