Skip to content

FrailWords/hipaa-verifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pre-requisite

This project requires Golang to be installed - https://go.dev/doc/install

Description

HIPAA-Verifier is responsible for the following -

  • Act as a registry for services that exchange data, described by -

    • a source or the data owner - who is sending the data ?
    • a destination or the data requester - who is requesting the data ?
    • a type - the record type that is being exchanged
    • a list of protect-rules (defined ahead)
    • a list of verify-rules (defined ahead)
  • Define a identify path and protect-rule/verify-rule corresponding to this field -

    • a protect-rule defines what logic/function is to be used to protect a certain field's value
    • a verify-rule defines what logic/function is to be used to verify that a certain field's value is protected

Current Implementation

  • registration is part of the hipaa/systems.go file as a hard-coded value.
  • rule definitions are defined in the hipaa/rule.go file as a map of specific PHI field and corresponding rule
  • actual implementations of protect and verify of data are in hipaa/protect.go

Running

  1. Download dependencies -
make deps
  1. Run the server -
make run

This will bring up a webserver at http:https://localhost:4000/ having the following 2 endpoints -

/protect - returns protected data after applying all protect-rules based on incoming request data /verify - returns a true/false (boolean) based on whether the incoming request data passes verification rules or not.

The other services will call these endpoints to protect and check their compliance.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published