All blueprintsLegal & Risk AI workflow blueprint

AI WC Medical Legal Report Extraction workflow blueprint

Extract medical-legal information from workers' compensation claim files, including QME/AME status, diagnoses, MMI, and work restrictions

See where this blueprint fits in the production workflow lifecycle
Workers Comp
Medical Legal
Qme
RAG
KB
Legal
Use this blueprint
Pattern
Dag
Agents
2
Functions
2
MCP servers
1

Inputs for the WC Medical Legal Report Extraction workflow

Provide the following information when starting this workflow. Required inputs are validated before the first workflow stage runs.

  • Storage Id

    Required

    Storage ID containing claim documents

    Type: StringSource default or example: your_storage_id
  • Files

    Required

    File paths to process (PDF, TIFF, or markdown)

    Type: ArraySource default or example: ["path/to/report.pdf"]
  • Query

    Required

    Extract all medical-legal information from this workers' compensation claim file

    Type: String

Input template

This request shape is generated from the blueprint's input schema. Angle-bracket values are placeholders; defaults and examples appear only when the source blueprint defines them.

{
  "storage_id": "your_storage_id",
  "files": ["path/to/report.pdf"],
  "query": "<required string>"
}

How the WC Medical Legal Report Extraction AI workflow works

This legal & risk blueprint uses a dag workflow with 2 agents, 2 functions, and 1 MCP server. Open it in GraphN to customize the resources, inputs, and workflow behavior for your use case.

  1. Ingest Files

    For Each

  2. Convert Document

    Function using Convert Document

  3. Ingest to KB

    Function using Ingest To Kb

  4. MedLegal Researcher

    Agent using MedLegal Researcher

  5. RAG Tools

    Mcp Tool

  6. MedLegal Extractor

    Agent using MedLegal Extractor

Blueprint resources and prerequisites

These are the actual agents, functions, and MCP servers declared by the blueprint. If an MCP server connects to an external system, configure the required connection and credentials in your GraphN workspace before running the workflow.

AI agent

MedLegal Researcher

You are analyzing a workers' compensation claim file stored in a knowledge base.

AI agent

MedLegal Extractor

You are a workers' compensation legal analyst.

Function

Convert Document

Convert document to markdown using OCR

Function

Ingest To Kb

Ingest markdown document into knowledge base

MCP server

RAG Tools

Semantic and keyword search for claim documents

Tools: Semantic Search, Keyword Search

Workflow output contract

The completed workflow makes the following output available to downstream steps, applications, or API clients:

Extractor

Frequently asked questions

What does the WC Medical Legal Report Extraction blueprint do?
Extract medical-legal information from workers' compensation claim files, including QME/AME status, diagnoses, MMI, and work restrictions
What inputs does the WC Medical Legal Report Extraction workflow use?
The workflow uses Storage Id, Files, Query. Required fields and their expected formats are listed on this page.
What resources are included in the WC Medical Legal Report Extraction blueprint?
The blueprint contains 2 AI agents, 2 functions, 1 MCP server. Its workflow pattern is Dag.
Can I customize the WC Medical Legal Report Extraction blueprint in GraphN?
Yes. Open the blueprint in GraphN to customize its inputs, models, resources, and workflow behavior before deployment.

Related Legal & Risk blueprints

View all legal & risk workflows

Contract Risk Reviewer

Upload a contract and get every risky clause flagged with clear explanations

NDA Comparison Tool

Compare two NDA versions side by side and get a summary of differences with risk ratings

Privacy Policy Checker

Check your privacy policy against GDPR, CCPA, or HIPAA requirements

Regulatory Filing Preparer

Gather required data points and draft a regulatory filing from templates