In short.
OpenMed's ingesting-clinical-documents is an assistant skill for developers building clinical document intake, but it has no direct PDF or DOCX handler. It explains how OpenMed converts images, CSV/TSV exports and recognized C-CDA XML into text with source-location metadata, then applies de-identification before clinical entity extraction. Images require a local OCR backend; tables use column classification and format-aware redaction. The documentation describes useful integration contracts, but supplies no measured OCR accuracy, identifier-removal accuracy, throughput or hardware requirements. Nothing was executed, and clinical or regulatory suitability is not established.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes the complete captured selected folder: skills/ingesting-clinical-documents/SKILL.md and skills/ingesting-clinical-documents/references/multimodal-ingest.md, plus the repository-level LICENSE and NOTICE, at commit e8325586e1ce2da73e9e865f34bd0345bb64301a. The wider OpenMed implementation, related skills, OCR engine implementations, models and datasets are outside this scope. Installation, example execution, OCR quality, de-identification accuracy, coordinate alignment, performance and offline behavior were not assessed.
The overview
identity
The resource is the ingesting-clinical-documents skill in maziyarpanahi/openmed. It consists of SKILL.md and references/multimodal-ingest.md, which explain the document intake stage before OpenMed de-identification and clinical entity extraction. Original source: [https://github.com/maziyarpanahi/openmed/tree/master/skills/ingesting-clinical-documents].
Its front matter identifies skill version 1.0 and an Apache-2.0 license. This is an assistant instruction resource with Python integration examples; the selected folder does not contain the OpenMed implementation or OCR engines.
assessment
The skill offers a concrete starting point for developers combining clinical document extraction and de-identification. Its most useful details are the shared ExtractedDocument contract, source-coordinate tracking and separate treatment of structured tables.
Its usefulness depends on the installed OpenMed package matching the documented interfaces. The supplied material documents behavior rather than demonstrating it through execution or accuracy results. Projects dominated by PDF or DOCX inputs also need a separate conversion stage.
users
The intended users are developers working with scanned clinical notes, photographed or faxed pages, patient CSV/TSV exports and C-CDA documents. It is particularly relevant when extracted text must remain traceable to a page or image region.
Beginners receive installation commands and short examples, but still need Python knowledge and an understanding of sensitive clinical data. Experienced developers receive type contracts, extension hooks and column-level redaction controls. The material does not describe an end-user upload interface.
capabilities
Documented image handlers cover PNG, JPG/JPEG, TIF/TIFF, BMP, GIF and WebP. CSV and TSV use a tabular redactor. XML is supported when recognized as C-CDA; this does not establish support for arbitrary XML.
OCR exposes recognized words, bounding boxes, confidence values and page numbers. ExtractedDocument provides normalized text and spans connecting character offsets to source locations. redact_document combines supported-format intake and de-identification in one call.
The tabular interface classifies columns as direct identifiers, quasi-identifiers or having no detected identifying signal. Available actions include masking, hashing, dropping columns, shifting dates, redacting free text and keeping values. These are documented controls, not evidence of complete identifier detection.
Using it
requirements
The documented setup uses Python, OpenMed and the openmed[multimodal] extra. Image OCR needs an installed backend: Tesseract requires pytesseract and a system Tesseract binary, while PaddleOCR is installed through openmed[ocr-paddle]. Missing OCR backends are documented to raise MissingDependencyError.
Supported Python versions, compatible OpenMed package versions, minimum memory, CPU/GPU requirements and storage needs are unknown. The documentation describes local processing, but does not establish model provisioning requirements or operation on a fully disconnected machine.
mechanism
redact_document selects a registered handler by file extension and returns an already de-identified ExtractedDocument. Unsupported extensions raise UnsupportedDocumentError. Developers can add handlers through register_handler.
For images, ocr returns an OcrResult containing words and their locations. Its to_document method creates an ExtractedDocument. SourceSpan uses inclusive start and exclusive end offsets, a page number and an optional bounding box; location_at maps a text offset to a source span.
Tables follow a separate path: columns are classified before cell-level actions are applied. RedactedTable includes output data, column decisions and a manifest documented to contain actions and counts without raw cell contents. This manifest restriction does not make every object safe to log: TableView.rows and ColumnDecision.sampled_values may contain identifying data.
setup
The documented installation starts with pip install "openmed[multimodal]". For PaddleOCR, it adds pip install "openmed[ocr-paddle]". The Tesseract route also requires its system binary; the reference gives brew install tesseract and apt-get install tesseract-ocr as examples.
Import the OCR function with from openmed.multimodal.ocr import ocr. It is deliberately not re-exported from openmed.multimodal. redact_document, read_table and redact_table are imported from openmed.multimodal.
The folder provides assistant instructions and a reference file, but does not specify installation into a particular assistant host. None of the installation commands were executed.
example
The documented controlled workflow imports ocr from openmed.multimodal.ocr and imports openmed. It creates doc with ocr("fax_page.png", engine=None).to_document(), then calls openmed.deidentify(doc.text, method="mask", policy="hipaa_safe_harbor"). The subsequent entity-extraction call is openmed.analyze_text(deid.deidentified_text, output_format="dict").
For a shorter format-aware route, the documentation uses redact_document("fax_page.png") or redact_document("patients.csv"). These return redacted text in an ExtractedDocument. These are source examples, not executed demonstrations; no resulting text, detection score or successful output is established.
Assessment & evidence
limitations
PDF and DOCX have no documented live handler. They require external conversion to page images or text. OCR mistakes can reduce downstream identifier detection; no accuracy results are supplied for handwriting, poor scans, particular languages or clinical layouts.
The documents describe on-device processing and source-location tracking, but do not independently establish network behavior, reading-order fidelity or correct coordinate alignment after redaction changes text length. Returning redacted text and coordinates does not establish that identifying pixels in an original scan have been removed.
A policy named hipaa_safe_harbor is shown in an example, but that name is not evidence of regulatory compliance or complete de-identification. Likewise, a SAFE column classification means no identifying signal was detected, rather than proving the column contains no sensitive information.
reasoning
The shared document contract is useful because downstream processing can consume one text representation while retaining a route back to source locations. The separate tabular path also addresses a concrete integration issue: structured identifiers and note-like columns need different handling.
These design choices support considering the skill for an OpenMed-based development project. They do not establish detection quality or production suitability. The decisive questions are whether the documented APIs match the installed package and whether extraction and redaction preserve the required information on representative documents.
alternatives
The documentation names Tesseract and PaddleOCR as alternative local OCR backends. It supplies no comparative accuracy, speed or hardware results, so neither can be ranked from this evidence.
Within OpenMed, redact_document offers combined intake and de-identification, while ocr followed by openmed.deidentify gives explicit control over the de-identification method and policy. Direct OCR-engine use is another integration approach, but the supplied material does not describe a complete equivalent clinical intake workflow outside OpenMed.
evidence
The available evidence comprises SKILL.md, its multimodal reference, and the repository LICENSE and NOTICE at one source revision. The two skill files provide examples, public API names, data contracts and explicit unsupported-format behavior.
Implementation code, package metadata, test results and benchmarks are absent. Statements in the source that interfaces are verified are documentation claims, not execution evidence. Nothing was run, so installation success, output correctness, local-only operation and identifier-removal accuracy remain unverified.
Access & freshness
costs
The Apache-2.0 license grants no-charge rights to use and redistribute the covered work under its conditions. The skill documents local OCR rather than a required paid OCR API.
Actual operating costs are unknown. The material supplies no pricing, processing-time measurements, hardware sizing or estimates for storage, integration and human review. Local execution should not be interpreted as zero operating cost.
rights
The skill declares Apache-2.0, and the repository LICENSE permits use, modification and redistribution, including commercial use, subject to its conditions. Redistribution requires a license copy, preservation of applicable notices and prominent notices in modified files. Applicable NOTICE attributions must also be retained. The work is provided without warranties.
The repository NOTICE discusses bundled, optional and planned third-party assets; their appearance there does not establish that this skill implements every integration. The skill's license does not establish usage rights for separately acquired model weights, datasets or other third-party assets.
freshness
The supplied capture is dated 2026-11-17T12:01:46.465Z and identifies source commit e8325586e1ce2da73e9e865f34bd0345bb64301a. The skill declares version 1.0; an associated OpenMed package version is not specified.
The original source address follows the master branch, which can change. The findings concern the captured commit. Release compatibility, later changes and the files' publication or last-update dates are unknown.
actions
Begin with synthetic or appropriately authorized sample documents. Confirm the installed package exposes the documented imports, choose an OCR backend, and inspect recognized text and low-confidence words. For PDF or DOCX inputs, establish a separate conversion step first.
For tables, inspect column decisions before accepting redacted output, especially columns marked SAFE or kept unchanged. Keep raw rows, sampled values and OCR intermediates out of logs. Evaluate missed identifiers and retained clinical information on representative document types.
If source coordinates will drive image redaction, check their alignment against the original pages and confirm that the final image pixels are actually redacted. Assess disconnected operation separately if it is a requirement.
