Clinical NER (problem, test, treatment)

huggingface
Text & Chat

Token-classification model that tags the three core i2b2 clinical entity types in patient notes: problem, test and treatment. Given a sentence from a discharge summary or progress note it marks which spans are medical problems, which are diagnostic tests and which are treatments or medications.

Try Clinical NER (problem, test, treatment) now
Send a single prompt and stream a response inline. Hit Cmd+Enter to submit.
Sign in to try this model with €5 free credits.
Sign in
Press Cmd+Enter to send
Response appears here.
TL;DR·Last updated June 24, 2026

Clinical NER (problem, test, treatment) is text & chat AI model from huggingface, priced at €0.000 per 1M input tokens with a unknown context window.

About this model

This BERT token classifier from Sam Rawal labels clinical concepts into the i2b2 2010 scheme of problem, test and treatment. Problems cover diagnoses and symptoms, tests cover labs and imaging, and treatments cover procedures and medications. It is a compact, widely-referenced baseline for structuring electronic health record text into these three categories before downstream coding or summarization.
Try Clinical NER (problem, test, treatment)

0.7

Sign in to generate — 50 free credits on sign-up

Pricing

Price per Generation
Per generation€1.00

API Integration

Use our OpenAI-compatible API to integrate Clinical NER (problem, test, treatment) into your application.

Install
npm install railwail
JavaScript / TypeScript
import railwail from "railwail";

const rw = railwail("YOUR_API_KEY");

// Simple — just pass a string
const reply = await rw.run("clinical-ner-problem-test-treatment", "Hello! What can you do?");
console.log(reply);

// With message history
const reply2 = await rw.run("clinical-ner-problem-test-treatment", [
  { role: "system", content: "You are a helpful assistant." },
  { role: "user", content: "Explain quantum computing simply." },
]);
console.log(reply2);

// Full response with usage info
const res = await rw.chat("clinical-ner-problem-test-treatment", [
  { role: "user", content: "Hello!" },
], { temperature: 0.7, max_tokens: 500 });
console.log(res.choices[0].message.content);
console.log(res.usage);
Specifications
Price
€1.00
Developer
huggingface
Category
Text & Chat
Supported Formats
text
Tags
medical
research
nlp
huggingface
ner
token-classification
clinical
i2b2
ehr

Frequently asked questions

Start using Clinical NER (problem, test, treatment) today

Get started with free credits. No credit card required. Access Clinical NER (problem, test, treatment) and 100+ other models through a single API.