Objective

Medical students in China must pass the Chinese National Medical Licensing Examination. Health law is a small part of it, roughly 3 to 5% of the score, but it covers a wide range of topics, from hospital rules to drug regulation. Large language models (LLMs, AI systems that read and write text) are already being tested on medical exams, and some have reached about 90% on the United States and Chinese versions. Earlier work found that an older model, ChatGPT-3.5, scored below 50% on health law.

Health law differs from country to country and changes often, so a model trained mostly on English text might get the exact rules of another country wrong. No earlier study had looked at how current models handle health law questions on the Chinese exam.

This study aimed to compare two reasoning models, DeepSeek-R1 (made by a Chinese company) and ChatGPT-o1 (made by OpenAI), on health law questions from this exam. The authors wanted to learn whether these tools could be useful in medical education in non-English-speaking settings, and whether language and cultural context affect accuracy.

Methods

This was a computational comparison, not a study with people. The researchers tested two AI models on exam questions and checked the answers against the official key.

The questions

The team randomly picked 400 past health law questions from an official exam guidebook bought from an online bookstore. All were single-choice questions with five options (A to E), in the exam's original Chinese wording. The paper sorted them into legal topics, such as the legal framework for health professionals (72 questions) and for medical institutions (60 questions).

How the models were tested

  • Questions were sent on July 19, 2025 through each company's programming interface (API), one at a time, with no memory of earlier questions.
  • The ChatGPT-o1 version was the o1-2024-12-17 snapshot, and the DeepSeek version was DeepSeek-R1-0528.
  • Settings were fixed for both models (temperature 0.0, top-p 0.95, max tokens 512) so results could be repeated.
  • Each question came with a short English instruction asking the model to act as an experienced practitioner, pick the best answer without explanation, and say "I do not know" instead of guessing.

Analysis

Model answers were compared with the official answers. The authors used McNemar's test, a standard test for comparing two methods on the same questions, and counted a result as meaningful when p was below 0.05. For topics with fewer than 20 questions, the paper says statistical testing was not applicable because of the small numbers. The authors say ethics approval was not needed because no human subjects were involved.

Key Findings

DeepSeek-R1 scored higher overall and in several individual legal topics, though the two models performed alike in some areas. The results describe performance on one set of exam questions.

Overall accuracy

  • DeepSeek-R1 answered 374 of 400 questions correctly (93.5%).
  • ChatGPT-o1 answered 318 of 400 correctly (79.5%) and got 82 wrong (20.5%).
  • The gap was statistically meaningful (p < 0.001).
  • Among ChatGPT-o1's wrong answers, it gave more than one option in 2 cases and said "I do not know" once. DeepSeek-R1 always picked a single option and never said "I do not know".

Topics with a clear gap

  • Legal framework for medical institutions (60 questions): 95.0% vs 83.3% (p = 0.039).
  • Prevention and treatment of infectious disease (56 questions): 98.2% vs 87.5% (p = 0.031).
  • Medical malpractice liability (53 questions): 92.4% vs 77.3% (p = 0.021).
  • Pharmaceutical regulation (46 questions): 93.4% vs 63.0% (p < 0.001), the largest gap.

Topics with no clear gap

  • Legal framework for health professionals (72 questions): 93.0% vs 84.7% (p = 0.146).
  • Blood donation (43 questions): 90.6% vs 76.7% (p = 0.146).
  • Maternal and child health (26 questions): 84.6% vs 73.0% (p = 0.250).

In these topics DeepSeek-R1 still scored higher, but the difference was not statistically meaningful.

Small topics

Some topics had fewer than 20 questions, so no test was run. DeepSeek-R1 scored 100% on public health emergencies (14 questions) and on occupational disease control (8 questions). ChatGPT-o1 scored lower in several of these small topics.

Topic sizes

The largest topic was the legal framework for health professionals (72 questions, 18.0%), followed by medical institutions (60 questions, 15.0%) and infectious disease (56 questions, 14.0%).

Examples of errors

For a question about how long emergency prescriptions must be kept, ChatGPT-o1 answered 2 years, which matches United States federal law, while DeepSeek-R1 answered 1 year, which matches the Chinese rule. For a question on the bacterial resistance rate that calls for caution, ChatGPT-o1 answered 20% and DeepSeek-R1 answered 40%, the figure in the Chinese rule. The authors say ChatGPT-o1 sometimes chose answers that matched United States or European rules instead.

Implications

The authors conclude that DeepSeek-R1 looks promising as a low-cost, accessible tool to support medical education in Chinese-speaking settings, and that language and cultural context in training data matter for specialized exams. They note that health law depends on exact local rules, so a model trained with more local material may recall them better.

Medical educators and students

The authors suggest that AI tools could help students practice exam-style questions. They also warn that models can mix up the rules of different countries, which matters for anyone studying law that varies by place.

Developers and researchers

The authors recommend fine-tuning (extra training on local material) and retrieval-augmented generation (letting a model look up current laws before answering) so answers follow up-to-date regulations. They argue the lookup approach is likely more important in practice because laws change often.

Our reading (not the authors' recommendation):

  • A student or teacher using any AI tool for law questions should check answers against the official, current text, since one of the models gave a rule from another country.
  • A score of 93.5% on multiple-choice questions does not mean the tool can give reliable legal advice, so it should be treated as study support only.
  • Teachers could use wrong AI answers as a classroom exercise in checking sources.
  • Schools choosing a tool for another country's exam may want to test it on that country's own questions first.

Limitations

The authors list four limits. First, only multiple-choice questions were used, which may not reflect how models handle open-ended or real-world legal problems. Second, only the final answer was scored, not the quality of the reasoning or explanation, even though both are reasoning models. Third, health laws differ across countries and change often, so a model may become out of date without added methods such as fine-tuning or lookup. Fourth, the English instruction was used with Chinese questions, and prompts in the same language might change the results.

The paper does not mention, but each question was asked once with fixed settings, so we do not know how stable the answers would be across repeated runs or other settings. The paper does not mention, but the questions came from a commercial guidebook, and the paper does not say whether the models had seen them during training. The paper does not mention, but the comparison covers two specific model versions on one day, so newer versions could behave differently. The paper does not mention, but the explanation that DeepSeek-R1 had more exposure to Chinese legal material is the authors' reasoning, since the study did not test why the gap occurred. Also, some small-topic percentages in the paper do not exactly match the counts shown, so those figures should be read loosely.

Future Directions

The authors say future studies should go beyond multiple-choice exams. The questions they raise are:

  • How do the models perform on open-ended and case-based legal questions?
  • How good are the explanations and reasoning behind the answers, not just the final choice?
  • Do fine-tuning and retrieval-augmented generation raise accuracy and keep answers current as laws change?
  • Do the same patterns appear for other kinds of exam content, such as ethics or clinical questions?
  • Does prompting in Chinese, rather than English, change results, especially for models tuned for Chinese?

The study also leaves open whether the same pattern would appear for other countries' exams and for other AI models. It does not test whether students who practice with these tools actually learn the law better, which would need a study with students.

The bottom line: On 400 health law questions from the Chinese medical licensing exam, DeepSeek-R1 answered 93.5% correctly and ChatGPT-o1 answered 79.5% correctly, with the biggest gap in pharmaceutical regulation. The evidence is limited to multiple-choice recall on two model versions, with only final answers scored. It suggests that local training data can matter for local rules, but anyone using an AI tool for legal study should check answers against current official sources, since a high score on exam questions does not guarantee that answers are correct or up to date in practice.