At-source architecture

Where de-identification runs, what leaves the owner's environment, and who can access what.

Updated 15 Oct 2026

De-identification runs inside the owner's environment. Raw audio, DICOM and reports never reach Quarry or the lab: only de-identified output and a hash log cross the boundary.

owner environmentraw archivetranscribedetectreplacecleanat-source agentsign-offraw data: no route outboundaryde-identified outputhash logquarrylab
The boundaryOnly de-identified output and a hash log cross it, over an outbound-only connection.

Where it runs

Quarry's pipeline ships as a container image or an on-prem agent and runs on the owner's own infrastructure, next to the archive. It needs read access to the source data and an outbound connection to Quarry; it opens no inbound ports. Install steps are in Installing the at-source agent.

What it does

  1. Reads source records in place.
  2. For audio: transcribes locally, detects personal data, and replaces it with a tone or silence in audio and tags in text. See audio and transcript redaction.
  3. For imaging: cleans DICOM headers, masks burned-in text, redacts reports and shifts dates. See DICOM and report de-identification.
  4. Runs automated scans on the output and prepares a sample for human QA.
  5. Waits for the owner's sign-off before exporting anything.

What leaves

Crosses the boundaryNever crosses
De-identified audio, transcripts, images and reportsRaw recordings, DICOM, reports or EMR
A hash log: the SHA-256 of every exported fileRe-identification keys and pseudonym secrets
Pipeline version and run logs without personal dataCustomer or patient lists

Who can access what

WhoRaw dataDe-identified outputHash log and run logs
Owner's staffYes, as todayYesYes
Quarry staffNoYes, for QA and deliveryYes
Lab under sample NDANoThe sample onlyNo
Lab under licenceNoThe licensed datasetHashes, in the manifest

Bringing your own tooling

Where a lab or owner already runs its own at-source de-identification, Quarry verifies the output instead of running the pipeline: the same scans, the same human QA sample and the same report.