everglade
A naïve HL7 scrubber which attempts to remove personal information from a file containing messages.
Last updated 8 years ago by wombleton .
Repository · Original npm · Tarball · package.json
$ cnpm install everglade 
SYNC missed versions from official npm registry.

everglade

A naïve HL7 scrubber. It currently removes identifying information from the following fields:

  • PID|5
  • PID|7
  • PID|11
  • NK1|2
  • NK1|4

... and replaces it with fake data.

Usage

Given a file sample-hl7.txt with the following HL7:

MSH|^~\&|REG|XYZ||XYZ|20050912110538||SIU^S12|4676115|P|2.3|EVN|A04|20050912110538|||VKP
PID|||353966||SMITH^JOHN^^^^||19820707|F||C|108 MAIN STREET ^^ANYTOWN^TX^77777^^|HARV|(512)555-0170|||||00362103|123-45-6789||||||||||||
SCH|1||||||NEW||||20050912110230^20050912110430||||||||||||||||||^^^^^^||3|
PV1||O|SEROT|3|||1284^JOHNSON^MIKE^S.^^MD~|||SEROT||||1|||1284^JOHNSON^MIKE^S.^^ MD|SERIES|787672|B|||||||||N||||||||||||A|||20050912110230|||||| PV2|||HAND BRACE NEEDS REPAIRED|||||||||||20050912||||||||||A||20050725|||||O||||||
NK1|0001|HULK^INCREDIBLE|M|123 FAKE ST^^OUTLAND^^00000|123456789||

Run this command:

everglade sample-hl7.txt > scrubbed.txt

Installation

$ npm install everglade

Development

Caveat

This package is in its infancy, use with extreme caution.

Current Tags

  • 0.0.1                                ...           latest (8 years ago)

1 Versions

  • 0.0.1                                ...           8 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (5)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |