Overview
Medical DM Small: Structured Clinical Decision Model with PHI Guards and Ensemble Endpoints
Medical DM Small is a decision model purpose-built for structured clinical and administrative decisions. Instead of generating free text, it answers specific typed questions about clinical documents - returning answers with calibrated probabilities in a single pass.
How It Works
You send a clinical document along with a set of typed questions - a choice among options, a yes/no question, or a graded score - and the model returns a structured answer with a probability for each question. Documents up to 16K tokens are supported, and the model requires approximately 16 GB of GPU memory, running on a single 24 GB GPU.
Nine Clinical Task Areas
- Cancer registry abstraction - Structured extraction for tumor registries
- Coding and prior authorization - Support for clinical coding and auth workflows
- Cohort identification - Patient population matching and selection
- Adverse drug events - Detection and classification of drug-related events
- General clinical decisions - Broad clinical decision support
- Oncology record review - Structured oncology document analysis
- Quality measure review - Clinical quality metric assessment
- Clinical note review - Structured analysis of clinical documentation
- Clinical trial eligibility - Patient-trial matching decisions
PHI Guard Model (Included)
This listing also includes the PHI Guard model, a lightweight CPU-based model that checks whether a de-identified note still leaks protected health information, whether a raw note contains PHI, how much it exposes, and whether a leak is harmful. Ensemble endpoints that combine PHI Guard with Medical DM Small are also included, routing each document to one of three categories: leak, review, or clean.
Running both models together catches more leaks per false alarm than either model alone.
Benchmarking Results
Decision Model Performance (average of accuracy and macro precision, recall, and F1):
- Overall average across nine task areas: 0.917
- Cancer registry abstraction: 0.885 | Coding and prior authorization: 0.930
- Cohort identification: 0.958 | Adverse drug events: 0.914
- General clinical decisions: 0.963 | Oncology record review: 0.818
- Quality measure review: 0.902 | Clinical note review: 0.955
- Clinical trial eligibility: 0.931
PHI Leak Detection Performance:
- PHI Guard PR-AUC: 0.986 on main test set, 0.986 on held-out note styles, 0.955 on long notes
- Ensemble leak PR-AUC: 0.867 vs. 0.845 (PHI Guard alone) and 0.848 (decision model alone), mean over seven test sets
- Ensemble on main test set: PR-AUC 0.993
- Ensemble "both agree" rule: false flags on clean notes drop from 91 to 19, achieving 0.82 precision and 0.87 recall (mean over sets)
- Harmful-leak detection: precision at 99% recall improves from 0.549 (PHI Guard alone) to 0.631 (ensemble)
Who Should Use This Product
Medical DM Small is designed for healthcare organizations, clinical data science teams, and health IT departments that need machine learning-assisted decision support with PHI-aware safeguards.
Important Notices
Prospective buyers should verify that the model's clinical scope, performance characteristics, and compliance posture align with their specific use case before purchasing. All benchmark results reported above are based on internal evaluations. To discuss your use case, request a demo, or explore a guided evaluation, please reach out through the contact options available on this listing.
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.917 average score. Processes documents of up to 16K tokens on a single 24 GB GPU (about 16 GB of GPU memory required). Includes the CPU-based PHI Guard and ensemble endpoints that route each document to leak, review or clean, with fewer false alarms than either model alone.
Details
Features and programs
Financing for AWS Marketplace purchases
Pricing
Free trial
Dimension | Description | Cost/host/hour |
|---|---|---|
ml.g5.2xlarge Inference (Batch) Recommended | Model inference on the ml.g5.2xlarge instance type, batch mode | $19.96 |
ml.g5.2xlarge Inference (Real-Time) Recommended | Model inference on the ml.g5.2xlarge instance type, real-time mode | $19.96 |
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-Small
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 input , go to https://github.com/JohnSnowLabs/spark-nlp-workshop/blob/master/products/sagemaker/models/JSL-Medical-DM-Small/inputs/README.md
- 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.