Source: https://quadevs.com/healthcare/hipaa-file-sharing/

Title: HIPAA compliant file sharing and document delivery | quadevs

[Home](https://quadevs.com/)/ [Healthcare software development](https://quadevs.com/healthcare/)/ HIPAA compliant file sharing and document delivery

# HIPAA compliant file sharing and document delivery

A delivery service for clinical documents where every link, read and expiry can be shown to an auditor.

[Tell us about your project](https://quadevs.com/contact/)  [or email us](mailto:hello@quadevs.com)

**HIPAA compliant file sharing** has to answer one question later: who opened which document, and when. We build the delivery layer between your systems and your partners. A link opens one document for one recipient for a set time, each file is scanned first, and the **audit trail** records what happened to it.

## When to build file delivery yourself

- ### Systems exchange the documents

  Files move between an EHR and partner systems with no person in between, and an audit is on the calendar.
- ### Staff send files now and then

  A managed file transfer product under a BAA covers occasional sharing by hand.

## What the delivery service includes

EHRs and partner systems send documents through the virus scan to the file proxy, and every read and expiry lands in the audit trail.

- ### Scoped download links

  Each link carries a token for a single file, a single recipient and a fixed period.
- ### Virus scanning gate

  Every file is scanned before it leaves, and no download path skips the scan.
- ### Retention per partner

  How long a file is kept follows each partner contract and is set in configuration.
- ### Per-document audit trail

  Reads, downloads and expiries are logged for each document.
- ### EHR and partner adapters

  EHRs and partner systems connect the same way, through adapters.
- ### Compliance queries

  The compliance team asks the audit data directly, with no CSV export in between.

## A file sharing product or a custom delivery service

Managed file transfer products can be used under HIPAA. Files.com, for one, signs a Business Associate Agreement with customers on its Enterprise plan and requires its maximum security configuration. That suits people who exchange files by hand.

|  | A file sharing product | A custom delivery service |
| --- | --- | --- |
| Who sends the file | A person, through the product's interface. | Your EHR or a partner system, through an adapter. |
| Scope of a link | As the product's sharing settings allow. | One document, one recipient, one time window. |
| Audit data | The product's own logs and reports. | A dataset your compliance team queries directly. |
| Retention rules | As the product's settings allow. | A rule per partner contract, set in configuration. |

Product facts as each vendor states them: [Files.com on HIPAA](https://www.files.com/docs/compliance/compliance-frameworks/health-insurance-portability-and-accountability-act-hipaa).

## Case study: a file proxy before a HIPAA audit

- ### What the audit would have found

  Links that were scoped too loosely, download paths that skipped the virus scan and gaps in the trail for documents from outside EHRs.
- ### What the proxy enforces

  A token per file and recipient, a scan before delivery, retention by contract and a log of each read, download and expiry.

Built with .NET, token auth, audit log. [Read the case study: HIPAA audited file proxy](https://quadevs.com/case/hipaa-file-proxy/)

## File delivery we have built

- [HIPAA audited file proxy](https://quadevs.com/case/hipaa-file-proxy/)

  Our file proxy for clinical documents went through an outside HIPAA security audit and passed on the first review. Compliance questions that used to take weeks now take minutes.
- [Clinical document watcher](https://quadevs.com/case/document-watcher/)

  Watcher agents at provider sites send each signed document on with a record that proves where it came from.
- And many more projects

  [All 37 case studies](https://quadevs.com/cases/) [Ask about your project](https://quadevs.com/contact/)

## How a file delivery project starts

1. ### Flows and partners

   List which systems send documents, who receives them and what each contract says about retention.
2. ### Rules on paper

   We write down the link scope, the scan rules and what the audit data must show.
3. ### First partner live

   One flow goes live end to end, and the other partners are added as adapters.

**And much more.** [Ask about your project](https://quadevs.com/contact/)

## Common questions

Can you trace one file from sender to recipient?

Yes. The audit trail of our file proxy logs every read, download and expiry for each document, so the path of one file can be read back from the audit data.

   What happens when someone opens an expired link?

The link no longer works. A token covers a single file and a single recipient until its time runs out, and the expiry itself is written to the audit trail.

   How long are files and records kept?

As each partner contract says. Retention is a setting per partner, so two partners can have different periods on the same service.

   Is HIPAA compliant SFTP not enough?

SFTP protects the transfer. It does not limit a file to one recipient for a set time, and it leaves the access record to whoever runs the server.

## Which documents leave your systems?

Name the systems that send files, the partners that receive them and the date of the next audit.

### Your project brief
