JCM//DEV/WORK/HEALTHCARE / CONTRACTS

HEALTHCARE / CONTRACTS

SliceHeath

Unified

medical contract assistant

SliceHeath — medical contract intelligence: upload, unify, and query agreements in one place. Medical Contract Assistant is a Python + Flask web app that ingests multiple healthcare contracts (PDF, Word, text), backs a single OpenAI-powered assistant, and answers questions with cross-contract comparison across terms, rates, liability, and compliance-oriented analysis — through a chat UI and REST API.

Architecture

Single unified assistant

Surfaces

Web chat · REST · CLI

Ingest

PDF · Word · text

Config

Environment-based keys

THE PROBLEM

Teams juggling several agreements often end up with one-off tools or separate chats per file, which raises overhead and makes questions like “which agreement has better payment terms?” hard to answer in one place.

THE SOLUTION

Built a unified assistant model so every upload feeds one backend instead of a bot per document — enabling richer cross-document reasoning. The stack includes Flask REST endpoints for upload, query, list, and remove; a file pipeline for TXT, MD, DOC, DOCX, and PDF (e.g. PyPDF2); environment-based API keys (e.g. config.env); a JSON persistence layer for assistant metadata; local storage with a documented 16MB upload limit; and health checks. Delivered an embedded web chat UI plus CLI usage against the same backend, with README-driven setup, API reference, troubleshooting, and a clear repo layout (config/, src/, scripts/, data/).

THE OUTCOME

Demonstrates full-stack delivery on a healthcare-contract domain: compliance-minded Q&A (including HIPAA, FDA, and related scope as described in the product), lower operational overhead than per-file assistants, and documented operations suitable for handoff or extension.

STACK

PythonFlaskOpenAI APIPDF / Office parsing (e.g. PyPDF2)REST APIJSON persistenceEnvironment configEmbedded web UI

WANT RESULTS LIKE THIS?

Tell us what you're building. We'll tell you exactly what it needs.

START A PROJECT →