Overview
Medical DM Nano - Compact Decision Model with PHI Guards and Ensemble Endpoints
Medical DM Nano is the compact decision model in the Medical DM family, purpose-built for structured clinical and administrative decisions where a small footprint matters. Instead of generating free text, it answers specific questions about a document in a single pass: send a clinical document along with a set of typed questions - a choice among options, a yes/no question, or a graded score - and receive a structured answer with a probability for each question.
Clinical and Administrative Task Coverage
Medical DM Nano covers nine task areas, delivering measurable accuracy across each:
- Cancer registry abstraction - Extract and classify registry data points from clinical records (0.961 score)
- Adverse drug event detection - Flag and classify adverse drug events with high accuracy (0.972 score)
- Cohort identification - Identify patient cohorts from unstructured clinical text (0.950 score)
- Clinical note review - Assess and classify clinical note content (0.935 score)
- Coding and prior authorization - Support accurate code assignment and authorization decisions (0.888 score)
- Oncology record review - Review and classify oncology documentation (0.885 score)
- Quality measure review - Evaluate clinical notes against quality measures (0.875 score)
- General clinical decisions - Answer structured clinical questions across specialties (0.860 score)
- Clinical trial eligibility - Determine patient eligibility for clinical trials (0.781 score)
Across all nine areas, Medical DM Nano achieves a 0.901 average score (the mean of accuracy and macro precision, recall, and F1). It leads Medical DM Small on cancer registry abstraction, adverse drug events, and oncology record review.
Built-In PHI Guard for Privacy-Safe Inference
The listing includes the PHI Guard model, a lightweight CPU-based model that checks whether a note still leaks protected health information, whether a raw note holds any, how much it exposes, and whether a leak is harmful. PHI Guard delivers strong standalone performance:
- PHI leak detection on de-identified notes: PR-AUC 0.956 on the main test set, 0.941 on held-out note styles, and 0.939 on long notes
Ensemble Endpoints - Combining PHI Guard with Medical DM Nano
Ensemble endpoints combine the PHI Guard with Medical DM Nano to route each document to one of three outcomes: leak, review, or clean. This approach improves detection accuracy and reduces false positives:
- Ensemble leak PR-AUC: 0.853 vs. 0.821 for PHI Guard alone and 0.838 for the decision model alone (mean over seven test sets), rising to 0.982 on the main test set
- "Both agree" rule: Clean notes wrongly flagged on the main test set fall from 94 to 23, at 0.84 precision and 0.85 recall (mean over the sets)
- Harmful-leak detection: Precision at 99% recall rises from 0.534 (PHI Guard alone) to 0.615 in the ensemble
How It Works
- Prepare your request - Structure a clinical document alongside a set of typed questions. Each question specifies its type: multiple choice, yes/no, or graded score.
- Send to the model endpoint - Submit the document and questions in a single inference call. The model processes everything in one pass.
- Receive structured results - The model returns a structured answer with a probability for each question.
- Optional ensemble routing - When using ensemble endpoints, documents pass through both the PHI Guard and Medical DM Nano. Each document is routed to one of three outcomes (leak, review, or clean) before results are returned.
Lightweight Deployment Requirements
Medical DM Nano is designed for environments where resource efficiency is critical:
- Processes documents of up to 16K tokens per inference call
- Requires approximately 2 GB of GPU memory, or runs entirely on a CPU
- PHI Guard runs on CPU only, keeping infrastructure costs low
Get Started
Subscribe through AWS Marketplace to begin using Medical DM Nano for privacy-safe structured clinical decisions. To request a live demo, schedule a proof-of-concept, or learn more about deployment and configuration, contact the product team at John Snow Labs.
IMPORTANT USAGE INFORMATION:
After subscribing to this product and creating a SageMaker endpoint, billing occurs on an HOURLY BASIS for as long as the endpoint is running.
-Charges apply even if the endpoint is idle and not actively processing requests.
-To stop charges, you MUST DELETE the endpoint in your SageMaker console.
-Simply stopping requests will NOT stop billing.
This ensures you are only billed for the time you actively use the service.
Highlights
- One-pass structured answers with a probability for each question across nine clinical and administrative task areas, with a 0.901 average score. Small footprint: processes documents of up to 16K tokens on about 2 GB of GPU memory, or on a CPU. Leads Medical DM Small on cancer registry abstraction, adverse drug events and oncology record review. Includes the CPU-based PHI Guard and ensemble endpoints that route each document to leak, review or clean.
Details
Features and programs
Financing for AWS Marketplace purchases
Pricing
Free trial
Dimension | Description | Cost/host/hour |
|---|---|---|
ml.m5.2xlarge Inference (Batch) Recommended | Model inference on the ml.m5.2xlarge instance type, batch mode | $9.98 |
ml.m5.2xlarge Inference (Real-Time) Recommended | Model inference on the ml.m5.2xlarge instance type, real-time mode | $9.98 |
Dimensions summary
Top-of-mind questions for buyers
Vendor refund policy
No refunds are possible.
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
Amazon SageMaker model
An Amazon SageMaker model package is a pre-trained machine learning model ready to use without additional training. Use the model package to create a model on Amazon SageMaker for real-time inference or batch processing. Amazon SageMaker is a fully managed platform for building, training, and deploying machine learning models at scale.
Version release notes
For complete documentation and sample code see https://github.com/JohnSnowLabs/spark-nlp-workshop/tree/master/products/sagemaker/models/JSL-Medical-DM-Nano
Additional details
Inputs
- Summary
All requests are JSON (application/json) and go to the /invocations endpoint of the container: one request in invoke_endpoint for a real-time endpoint, or one file for each request in a batch transform job. The fields of the body decide what runs.
For complete documentation of usage and sample code go to https://github.com/JohnSnowLabs/spark-nlp-workshop/tree/master/products/sagemaker/models/JSL-Medical-DM-Nano/inputs
- Input MIME type
- application/json
Support
Vendor support
For support inquiries related to Medical DM Small, including questions about deployment, configuration, PHI guards, ensemble endpoints, or troubleshooting, please contact the product team at support@johnsnowlabs.com . https://spark-nlp.slack.com/archives/C06HG18DDDH
We are committed to helping customers resolve issues promptly and ensuring successful adoption of the product in your healthcare environment.
AWS infrastructure support
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.