extract_document_metadata
Extract structured medical metadata from documents to identify findings, diagnoses, medications, providers, and generate patient-friendly summaries for cancer care management.
Instructions
Extract and store structured medical metadata from a document.
Uses AI to analyze the document text and extract findings, diagnoses, medications, providers, and a patient-friendly summary. Results are persisted in the structured_metadata column.
Args: document_id: The local document ID to extract metadata from.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |