[Alpha] De-identify a document
/lang2fhir/deidentifyAlpha — under development, use at your own risk. De-identification is under active development and has not been validated. Request parameters, response shape, and results may change between releases. Do not rely on it as your sole means of de-identification or for production workloads.
Available on dedicated instances only.
Redaction follows the HIPAA Privacy Rule's Safe Harbor method (45 CFR 164.514(b)(2)) and targets the identifiers it lists. The output is not certified as de-identified under HIPAA. Before treating a document as de-identified, you remain responsible for reviewing it and for confirming that no remaining information could identify the individual.
Finds protected health information (PHI) in a PDF, PNG, JPEG, or TIFF document and returns a redacted copy with each identifier covered by a black box. Redacted identifiers include names, dates, ages, addresses and other locations, ZIP codes, organizations, phone numbers, email addresses, URLs, IP addresses, Social Security numbers, medical record numbers, and other identifying numbers. Faces, signatures, barcodes, and patient label stickers are also covered, as are the answer areas next to identifying form labels such as Name, DOB, or MRN.
Detection favors catching every identifier over preserving surrounding content, so some non-identifying text may also be covered. When a page can't be redacted reliably, the whole page is blacked out.
Upload the document as the file part of a multipart/form-data request. The
response body is the redacted document as an image-only PDF (application/pdf)
with one page per input page and no text layer. The submitted document and the
redacted output are not stored.
The complete request body is limited to 32 MiB (33,554,432 bytes).
Body parameters
The document to redact: PDF (application/pdf), PNG (image/png), JPEG (image/jpeg), or TIFF (image/tiff). File type is auto-detected from content magic bytes. The file must not exceed 20 MiB, and documents may have at most 30 pages. Each page image may be at most 40 megapixels.
The redacted document