Parityhealth-plan operations benchmark
Code sets and claim edits · COD-001 · core

Type 2 diabetes, uncomplicated

Authored for Parity against public code sets (ICD-10-CM, HCPCS Level II, CMS place of service, FDA NDC). The most-billed endocrine code in a commercial book.

Field mean
100.0
across 28 models
Models scoring 100
28
of 28
Models scoring 0
0
of 28

What the model was given

Item context, placed in the system position after the shared preamble
No reference material is supplied for this item. Answer from what you know.
Prompt
Assign the single ICD-10-CM code for: "Type 2 diabetes mellitus, no documented complications, managed on metformin."
Required key: "code".
Gold answer and grader
json{
  "kind": "fields",
  "fields": {
    "code": "E11.9"
  }
}

Every model's answer

Sorted by score. Open a row for the response and, where the vendor exposes it, the reasoning behind it.

100Claude Fable 5.1 · Anthropic10.9s · 18 out | 2.9s · 18 out | 3.7s · 18 out
Attempt 1
json{"code": "E11.9"}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 2
json{"code": "E11.9"}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 3
json{"code": "E11.9"}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
100Gemini 3.7 Flash · Google2.7s · 264 out | 2.6s · 208 out | 3.2s · 185 out
Attempt 1
Reasoning · 244 tokens
**Determining Code**

I've identified the primary code for type 2 diabetes mellitus without documented complications as E11.9. My focus is now on ensuring this accurately reflects all specified management details.

json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 2
Reasoning · 188 tokens
**Coding Diabetes Mellitus**

I'm currently focused on accurately assigning the ICD-10-CM code for type 2 diabetes mellitus, specifically when it's managed with metformin and has no documented complications. My investigation has led me to E11.9 as the primary code, representing "Type 2 diabetes mellitus without complications."

json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 3
Reasoning · 165 tokens
**Finding Code Details**

I've identified E11.9 as the base code for Type 2 diabetes mellitus without documented complications. My focus is now on accurately incorporating the detail regarding management with metformin, as this might necessitate a specific subcategory or a Z-code for long-term drug use.

json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
100GPT-5.5 · OpenAI2.9s · 95 out | 3.1s · 123 out | 2.3s · 53 out
Attempt 1
Reasoning · 77 tokens
**Determining ICD-10 code**

I need to provide a single ICD-10-CM code for Type 2 diabetes without complications, which is E11.9. Considering that the user is managed on metformin without any complications, E11.9 should be the correct choice. The mention of long-term use and Z79.84 for the oral hypoglycemic simply outlines the treatment but isn't the single required code for the condition. So, I'll stick with E11.9 for clarity.
json{"code":"E11.9"}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 2
Reasoning · 105 tokens
**Providing ICD-10 Code**

I need to create a JSON code block for ICD-10 Type 2 diabetes mellitus without complications, specifically managed on metformin. The appropriate single ICD-10-CM code for this diagnosis seems to be E11.9, which indicates Type 2 diabetes without complications. There's also Z79.84 for long-term use of oral hypoglycemic drugs, but since the user asked for a single code, I'll stick with E11.9. It's important to keep it concise!
json{"code":"E11.9"}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 3
json{"code":"E11.9"}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
100GPT-5.6 Sol · OpenAI1.7s · 16 out | 1.8s · 16 out | 1.0s · 16 out
Attempt 1
json{"code":"E11.9"}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 2
json{"code":"E11.9"}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 3
json{"code":"E11.9"}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
100Grok 4.6 · xAI8.5s · 417 out | 4.6s · 241 out | 4.6s · 240 out
Attempt 1
Reasoning · 403 tokens
The task is: Assign the single ICD-10-CM code for: "Type 2 diabetes mellitus, no documented complications, managed on metformin."
{
  "code": "E11.
json{"code": "E11.9"}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 2
Reasoning · 227 tokens
The task is: Assign the single ICD-10-CM code for: "Type 2 diabetes mellitus, no documented complications, managed on metformin."
json{"code": "E11.9"}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 3
Reasoning · 226 tokens
The task is: Assign the single ICD-10-CM code for: "Type 2 diabetes mellitus, no documented complications, managed on metformin."
json{"code": "E11.9"}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
100Grok 4.5 · xAI2.8s · 150 out | 2.4s · 138 out | 2.9s · 171 out
Attempt 1
Reasoning · 136 tokens
The problem asks: Assign the single ICD-10-CM code for: "Type 2 diabetes mellitus, no documented complications, managed on metformin."
json{"code": "E11.9"}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 2
Reasoning · 124 tokens
The problem asks for the single ICD-10-CM code for: "Type 2 diabetes mellitus, no documented complications, managed on metformin."
json{"code": "E11.9"}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 3
Reasoning · 157 tokens
The task is: Assign the single ICD-10-CM code for: "Type 2 diabetes mellitus, no documented complications, managed on metformin."
json{"code":"E11.9"}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
100Gemini 3.1 Pro · Google4.4s · 196 out | 5.5s · 285 out | 5.8s · 251 out
Attempt 1
Reasoning · 176 tokens
**My Thought Process in Determining the ICD-10-CM Code**

My primary directive here is to identify the *single* ICD-10-CM code for "Type 2 diabetes mellitus, no documented complications, managed on metformin." I understand the user is an expert, so I'll be thorough in my internal reasoning.

First, I isolate the core diagnostic statement: "Type 2 diabetes mellitus, no documented complications." My internal knowledge base immediately points to **E11.9** as the code for Type 2 diabetes mellitus *without complications*. This is the most direct and appropriate code for the condition itself, stripped of its management details for the moment.

Now, I consider the additional information: "managed on metformin." I know that the *use* of a specific medication like metformin can be further detailed with an ICD-10-CM code. The relevant code for long-term oral hypoglycemic drug use is **Z79.84**.

However, the prompt specifically requests "the *single* ICD-10-CM code for: 'Type 2 diabetes mellitus, no documented complications'". The emphasis on "single" is crucial. While Z79.84 is a valid code to represent the medication management, it doesn't describe the *disease* itself. E11.9, on the other hand, directly addresses the core diagnosis of Type 2 diabetes mellitus without documented complications.

Therefore, to fulfill the requirement of a *single* code that best represents the described condition, E11.9 is the definitive choice. I perform a final verification within my system to confirm that E11.9 indeed translates to "Type 2 diabetes mellitus without complications."

The required output format specifies a "key" of "code" and a "code value." My determination is that the appropriate "code" is **E11.9**.

json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 2
Reasoning · 265 tokens
**My Thought Process for Assigning the ICD-10-CM Code**

Okay, the core of this task is to pinpoint a *single* ICD-10-CM code that encapsulates "Type 2 diabetes mellitus, no documented complications, managed on metformin." My immediate instinct is to break down the components of the diagnosis.

First, I identify "Type 2 diabetes mellitus." I know this falls under the E11 category in ICD-10-CM. Then, the phrase "no documented complications" is crucial. This points me directly to the .9 subcategory, which specifically signifies "without complications." Therefore, E11.9 seems like the most fitting code for the primary condition: Type 2 diabetes mellitus without complications.

Now, I consider the detail about "managed on metformin." My expertise tells me that medication management, like the long-term use of oral hypoglycemic drugs, is often captured by Z codes. Specifically, Z79.84 ("Long term (current) use of oral hypoglycemic drugs") would be the appropriate code for the metformin management.

However, the prompt explicitly asks for a *single* ICD-10-CM code for the *entire description*. This phrasing strongly suggests the primary diagnosis code for the condition itself, rather than supplementary codes for management. I'm questioning whether there's a combination code that inherently includes the metformin management within a single diabetes code. After reviewing the structure of E11 codes, I confirm that E11.9 is indeed the code for Type 2 diabetes mellitus without complications, and there isn't a single code that combines this with the specific medication regimen. The request for "the single ICD-10-CM code for..." reinforces that I should be looking for the most representative code for the *disease state* as described, without complications.

So, to reiterate my validation:
*   E11 is the overarching category for Type 2 diabetes mellitus.
*   E11.9 is the specific code for Type 2 diabetes mellitus *without complications*.

Given the constraint of a single code, and that the primary diagnosis is Type 2 diabetes mellitus without complications, E11.9 is the only code that accurately reflects the core condition as requested. The metformin management, while important clinical information, would typically be captured by a secondary code if the goal were to be more granular with all aspects of the encounter, but here the focus is solely on the single code for the condition.

Therefore, my conclusion is that E11.9 is the correct and only single ICD-10-CM code that fulfills the prompt's requirements.

**Code:** E11.9

json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 3
Reasoning · 231 tokens
**My Thought Process for Assigning the ICD-10-CM Code**

The user has presented me with a specific clinical scenario: "Type 2 diabetes mellitus, no documented complications, managed on metformin." My primary objective is to identify the single, most appropriate ICD-10-CM code that encapsulates this description.

My initial recall and knowledge base immediately points to the core diagnosis of Type 2 diabetes mellitus without complications. I know that this is typically coded as **E11.9**. This code specifically addresses "Type 2 diabetes mellitus without complications."

However, the inclusion of "managed on metformin" triggers a secondary consideration. My expertise tells me that long-term medication use, particularly oral hypoglycemic agents like metformin, can be captured by a *separate* ICD-10-CM code, specifically **Z79.84** (Long term (current) use of oral hypoglycemic drugs).

This creates a slight ambiguity in the user's request. They've asked for "the single ICD-10-CM code." This phrasing could be interpreted in two ways:
1.  The single code that represents the *primary condition* described.
2.  The single code that, when considered in isolation, best represents the *entire clinical picture* as much as possible, acknowledging that in a real-world coding scenario, multiple codes might be used.

Given that E11.9 directly and accurately reflects "Type 2 diabetes mellitus, no documented complications," and the prompt emphasizes "the single ICD-10-CM code," my inclination is to prioritize the code for the underlying disease process itself. While Z79.84 is relevant for capturing the management aspect, it's an *additional* code, not a replacement for the primary diagnosis code. If I were to provide only Z79.84, it wouldn't capture the fact that it's *Type 2 diabetes mellitus*.

Therefore, after careful consideration and weighing the prompt's emphasis on a *single* code, I've concluded that **E11.9** is the most appropriate answer. It directly addresses the core diagnosis of Type 2 diabetes mellitus without any documented complications, which is the foundational element of the description. The management detail, while clinically important, is best represented by an additional code in a multi-code scenario, but the prompt specifically asked for *one* code.

json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
100Claude Opus 5 · Anthropic1.7s · 75 out | 1.7s · 69 out | 2.0s · 82 out
Attempt 1
json{"code": "E11.9"}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 2
json{ "code": "E11.9" }
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 3
json{"code": "E11.9"}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
100Gemini 3 Flash · Google9.5s · 1,140 out | 11.5s · 1,182 out | 11.0s · 937 out
Attempt 1
Reasoning · 1,120 tokens
**My Thought Process for Assigning an ICD-10-CM Code**

Alright, the task here is quite clear: I need to assign a *single* ICD-10-CM code for the diagnosis "Type 2 diabetes mellitus, no documented complications, managed on metformin." I also need to ensure my output is a JSON code block with the key "code."

First, I'll break down the diagnosis itself.
*   "Type 2 diabetes mellitus": This immediately brings me to the E11 category in ICD-10-CM. That's the foundational part of the code.
*   "No documented complications": This is a critical qualifier. I need to find the specific subcategory within E11 that reflects the absence of complications. Scanning the E11 codes, I see E11.9, which is explicitly "Type 2 diabetes mellitus without complications." This seems like a perfect fit for this part of the diagnosis.
*   "Managed on metformin": Now, this is where I need to be careful. Metformin is an oral hypoglycemic drug. The ICD-10-CM guidelines are very specific about coding drug use. For long-term use of insulin, we'd use Z79.4. For long-term use of oral hypoglycemic drugs, like metformin, we'd use Z79.84.

The prompt, however, specifically requests a *single* ICD-10-CM code. This is the key constraint that guides my final decision. Typically, when a single code is requested for a primary diagnosis like diabetes, it refers to the code that represents the condition itself, not necessarily all associated statuses or treatments.

While Z79.84 is relevant for the metformin use, it's a *secondary* code used to indicate the management status. If the prompt had asked for *all relevant* codes, I would absolutely include both E11.9 and Z79.84. But since it's a strict "single code" requirement, I must prioritize the code that most accurately describes the *diagnosis* as presented.

The diagnosis is "Type 2 diabetes mellitus, no documented complications." E11.9 directly and comprehensively captures this. The fact that the patient is managed on metformin doesn't alter the fundamental diagnosis of Type 2 diabetes without complications. ICD-10-CM doesn't have a combination code that includes both Type 2 diabetes without complications *and* the specific medication used.

Therefore, in this scenario, where a single code is demanded for the diagnosis, E11.9 is the most appropriate and direct representation of the medical condition. I've double-checked the guidelines, and the phrasing "no documented complications" directly aligns with the description for E11.9. The management detail is a secondary status that, under the constraint of a single code, takes a backseat to the primary diagnosis code.

So, my conclusion is that E11.9 is the correct single code to assign. I will then format this into the requested JSON structure.

```json
{
  "code": "E11.9"
}
```

json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 2
Reasoning · 1,162 tokens
**My Thought Process for Coding Type 2 Diabetes Mellitus on Metformin**

Alright, let's break down this coding request. The user needs the ICD-10-CM code for "Type 2 diabetes mellitus, no documented complications, managed on metformin." My job here is to pinpoint the most accurate and singular code for this specific clinical scenario.

First, I'll dissect the components of the description:
*   **The primary condition:** Type 2 diabetes mellitus. This immediately points me towards the E11 category in ICD-10-CM, which is specifically for Type 2 diabetes mellitus.
*   **Complications:** "No documented complications." This is crucial. It means I shouldn't be looking for codes within E11 that specify hyperglycemia, nephropathy, neuropathy, etc. I need a code that signifies the absence of these specified complications.
*   **Management/Treatment:** "Managed on metformin." Metformin is a well-known oral antidiabetic medication. This information is important for understanding the patient's overall management, and in ICD-10-CM, drug therapy often has associated Z codes.

Now, I'll start mapping these to the ICD-10-CM structure:

1.  **Type 2 diabetes mellitus:** This is the foundation, so I'll start with E11.-.
2.  **No documented complications:** Looking within the E11 block, I'll scan for the most appropriate subcategory. E11.9 is explicitly defined as "Type 2 diabetes mellitus without complications." This perfectly matches the description.

So, my primary diagnosis code appears to be E11.9.

Now, I need to consider the "managed on metformin" part. My knowledge of ICD-10-CM guidelines tells me that long-term drug therapy often requires additional Z codes. Specifically, the use of oral hypoglycemic drugs is coded with Z79.84 ("Long-term (current) use of oral hypoglycemic drugs").

However, the prompt has a very specific instruction: "Assign the **single** ICD-10-CM code for..." This "single" requirement is the key constraint.

In many coding scenarios, especially in certification-style questions or when asked for *the* code for a condition, the expectation is to provide the primary diagnosis code that encapsulates the disease itself, unless there's a specific combination code that includes the treatment detail.

I've reviewed the ICD-10-CM structure, and there isn't a specific code under E11 that *includes* the fact that the patient is managed on metformin. Metformin itself is not a complication of diabetes, nor is it part of the definition of E11.9. While Z79.84 *is* relevant to the patient's management, it's a secondary code that describes the *status* of the patient's treatment, not the primary disease diagnosis itself.

The prompt is asking for the code *for* the condition described, and E11.9 directly and accurately represents "Type 2 diabetes mellitus without complications." If the prompt had asked for *all applicable codes* or *coding the encounter*, I would absolutely include Z79.84. But given the "single code" constraint, E11.9 is the most appropriate answer that reflects the core disease entity as described. The mention of metformin, while clinically relevant and typically coded with a Z code, doesn't change the primary diagnosis code for the diabetes itself when only one code is permitted.

Therefore, based on the explicit wording of the prompt requiring a *single* code and focusing on the primary disease diagnosis, my conclusion is E11.9.

```json
{
  "code": "E11.9"
}
```

json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 3
Reasoning · 917 tokens
**My Thought Process on ICD-10-CM Coding for Type 2 Diabetes Mellitus**

My task here is to determine the single, most appropriate ICD-10-CM code for a specific clinical scenario: Type 2 diabetes mellitus with no documented complications, managed on metformin. I need to approach this as if I were thinking through the coding process myself, considering all the relevant guidelines and nuances.

First, I identify the core condition: "Type 2 diabetes mellitus." My immediate instinct is to search the ICD-10-CM index or tabular list for this diagnosis. I know I need to look for diabetes, then specify the type as "type 2," and then account for the "no documented complications" aspect. This leads me to the E11 category.

I then consider the "no documented complications" part. For Type 2 diabetes mellitus (E11), the default or base code when no specific complications are documented is E11.9, which is explicitly defined as "Type 2 diabetes mellitus without complications." This seems like a strong contender for my answer.

However, the prompt also specifies that the patient is "managed on metformin." This is a crucial piece of information. I recognize metformin as an oral hypoglycemic agent. In ICD-10-CM, there's a specific Z code for long-term use of oral hypoglycemic drugs: Z79.84. This code is used to indicate that the patient is currently taking these medications.

Now comes the critical decision point, as the prompt explicitly asks for "the *single* ICD-10-CM code." This means I cannot simply assign both E11.9 and Z79.84. I need to decide which one takes precedence or is the most accurate representation of the primary diagnosis requested.

I recall the ICD-10-CM Official Guidelines for Coding and Reporting. Specifically, Section I.C.4.a.3 discusses the coding of diabetes mellitus and its treatment. It states that if a patient is treated with oral hypoglycemic drugs, code Z79.84 should be assigned. However, this guideline typically applies when *additional* coding is permissible or expected. When the request is for *the single* code for the *diagnosis* presented, the primary diagnostic code usually takes priority.

My reasoning here is that E11.9 describes the *condition* itself – Type 2 diabetes mellitus without complications. Z79.84 describes a *status* or *treatment* related to the condition. When asked for a single code that encompasses the diagnosis, the code for the diagnosis itself (E11.9) is generally the most direct and appropriate answer. The mention of metformin, while clinically significant, doesn't alter the fundamental diagnosis of Type 2 diabetes mellitus without complications; it merely details the management strategy.

I also consider if there's a combination code that includes both Type 2 DM and use of metformin. My search and knowledge of the E11 category confirm that there isn't a specific combination code for Type 2 DM *with* oral hypoglycemic use within the E11 block itself.

Therefore, in the context of needing a *single* code for the described diagnosis, and given that E11.9 accurately represents "Type 2 diabetes mellitus without complications," I conclude that E11.9 is the correct and most encompassing code for the diagnosis presented. The Z code would be a secondary code to provide additional detail about the patient's management if multiple codes were permitted. Since only one code is requested, the primary diagnostic code is my choice.

To solidify this, I mentally (or actually, if I had the tool) check the ICD-10-CM index. Searching for "Diabetes, diabetic" leads to "type 2" and then to "without complication," all pointing to E11.9.

In summary, my thought process leads me to conclude that E11.9 is the single, correct ICD-10-CM code because it directly addresses the diagnosed condition and the absence of complications, which is the primary request. The management with metformin, while important clinically, is best represented by a secondary code (Z79.84) if multiple codes were allowed, but for a single code representing the diagnosis, E11.9 is definitive.

json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
100Kimi K3 · Moonshot10.0s · 156 out | 9.8s · 129 out | 7.5s · 143 out
Attempt 1
Reasoning · 137 tokens
The task: assign single ICD-10-CM code for "Type 2 diabetes mellitus, no documented complications, managed on metformin."

Type 2 diabetes mellitus without complications: E11.9 (Type 2 diabetes mellitus without complications). Metformin management doesn't add a code — long-term drug therapy Z79.84 (long term use of oral hypoglycemic drugs) exists, but the task asks for the single ICD-10-CM code for the diabetes itself. The answer: E11.9.

Note: Z79.84 could be a secondary code, but the item asks for single code. E11.9.
{"code": "E11.9"}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 2
Reasoning · 0 tokens
The task asks for the single ICD-10-CM code for "Type 2 diabetes mellitus, no documented complications, managed on metformin."

The standard code is E11.9 (Type 2 diabetes mellitus without complications). Metformin use doesn't change the code — Z79.84 (long term use of oral hypoglycemic drugs) could be an additional code, but the task asks for the single code. So E11.9.

Format: JSON with "code" key.
json{"code": "E11.9"}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 3
Reasoning · 115 tokens
The task asks for the single ICD-10-CM code for "Type 2 diabetes mellitus, no documented complications, managed on metformin."

Type 2 diabetes mellitus without complications is E11.9 (Type 2 diabetes mellitus without complications). Metformin management doesn't change the code — there's a Z79.84 for long-term use of oral hypoglycemic drugs, but the question asks for the single code for the diabetes itself. The answer is E11.9.

Format: exactly one fenced JSON code block with key "code".
json{"code": "E11.9"}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
100Gemini 2.5 Pro · Google14.8s · 1,262 out | 13.2s · 1,131 out | 17.0s · 1,410 out
Attempt 1
Reasoning · 1,242 tokens
Okay, I've analyzed your request carefully. You've presented a diagnostic statement: "Type 2 diabetes mellitus, no documented complications, managed on metformin," and you want me to provide the *single* ICD-10-CM code that best represents this, formatted as a JSON object with a "code" key.

My thought process went like this:

First, I dissected the diagnostic statement.
*   The core condition is clearly "Type 2 diabetes mellitus." This immediately directs me to the E11 category in ICD-10-CM.
*   Crucially, you specified "no documented complications." This is the key differentiator for selecting the correct sub-code within E11.
*   You also mentioned it's "managed on metformin." This is important clinical context, indicating long-term medication use.

Next, I navigated the ICD-10-CM structure mentally (or if I were unsure, I'd be referencing the actual codebook).
*   I know diabetes mellitus falls under Chapter 4 (Endocrine, Nutritional and Metabolic Diseases).
*   Within that, E08-E13 covers diabetes mellitus.
*   Since it's "Type 2 diabetes mellitus," the specific category is E11.

Now, for the crucial part: selecting the sub-code for complications.
*   I looked at the available options under E11: E11.0 through E11.6 cover various specific complications (hyperosmolarity, ketoacidosis, kidney, ophthalmic, neurological, circulatory, other specified).
*   E11.8 represents "unspecified complications."
*   E11.9 represents "without complications."
*   Given your statement "no documented complications," E11.9 is the only logical choice for the *diabetes itself*.

Finally, I addressed the "managed on metformin" aspect.
*   I know that the *management* of a condition, particularly long-term medication use, is often coded separately using Z codes in ICD-10-CM. Specifically, long-term use of oral hypoglycemic drugs is Z79.84.
*   However, your request explicitly asks for a *single* ICD-10-CM code *for the diagnosis*. While Z79.84 would be used in conjunction with E11.9 in a complete coding scenario, it is not part of the *diagnosis code* for the diabetes itself.
*   Therefore, adhering strictly to the "single code for the diagnosis" instruction, the most accurate code for the *type of diabetes and its complication status* is E11.9. The metformin use is descriptive of management, not the diagnosis of the disease's status.

So, my conclusion is that the single code representing "Type 2 diabetes mellitus, no documented complications" is E11.9.

Here is the JSON output as requested:
```json
{
  "code": "E11.9"
}
```
json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 2
Reasoning · 1,111 tokens
Okay, I've thoroughly reviewed your request to identify a *single* ICD-10-CM code for "Type 2 diabetes mellitus, no documented complications, managed on metformin." My thought process for arriving at the answer was as follows:

First, I deconstructed the provided diagnosis into its core components. I noted "Type 2 diabetes mellitus" as the primary condition. Crucially, I saw "no documented complications." This immediately tells me I need to look for a code that doesn't specify any particular long-term sequelae like neuropathy, nephropathy, or retinopathy. Lastly, I noted "managed on metformin," which indicates ongoing treatment with a specific oral hypoglycemic agent.

Next, I accessed my knowledge base regarding ICD-10-CM coding for diabetes. I know that Type 2 diabetes mellitus codes reside within Chapter 4 (Endocrine, Nutritional and Metabolic Diseases) and begin with the "E11" prefix. I also recalled that the fourth character in the E11 series is used to denote specific complications. For instance, E11.2x would be for kidney complications, E11.3x for ophthalmic, and so on. Therefore, the absence of complications would point me towards the general "uncomplicated" code.

My internal search quickly brought me to E11.9, which is precisely defined as "Type 2 diabetes mellitus without complications." This code perfectly captures the first two critical elements of the diagnosis.

Now, I had to address the "managed on metformin" aspect. ICD-10-CM has specific guidelines for coding long-term drug therapy. The Official Guidelines for Coding and Reporting clearly state that for the long-term (current) use of medications, a separate Z code should be used in addition to the primary diagnosis code. Specifically, Z79.84 is designated for "Long-term (current) use of oral hypoglycemic drugs," and metformin falls squarely into this category.

However, your explicit instruction was to provide a *single* ICD-10-CM code. This constraint is the most critical factor in my final decision. While the standard practice would be to use *two* codes (E11.9 for the diabetes and Z79.84 for the metformin use), the requirement for a singular code necessitates a choice.

I re-examined the structure of the E11 category and the coding guidelines. The Z codes are intended to provide *additional* information about the patient's status and treatment, but they are not part of the core diagnosis code itself. The primary diagnosis, in this case, is the *state* of the diabetes. The medication is an adjunct treatment modality.

Therefore, given the absolute constraint of a single code, the most accurate and comprehensive code to represent the *disease itself* as described is E11.9. The information about metformin, while important clinically and typically coded with a Z code, cannot be integrated into a single code that also defines the type of diabetes and its lack of complications. The instruction to use only one code forces me to prioritize the core diagnosis of the disease.

In summary, I determined that E11.9 is the single most appropriate code because it represents "Type 2 diabetes mellitus without complications." The instruction to provide only one code means I cannot include the Z code for the long-term medication use.

```json
{"code": "E11.9"}
```
json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 3
Reasoning · 1,390 tokens
Okay, I'm going to walk through how I'd arrive at the ICD-10-CM code for "Type 2 diabetes mellitus, no documented complications, managed on metformin," given the constraint of providing only *one* code.

First, I need to dissect the diagnosis provided. I see three key pieces of information:
1.  **The core disease:** "Type 2 diabetes mellitus."
2.  **The presence (or absence) of complications:** "no documented complications." This is a critical branching point in ICD-10-CM for diabetes.
3.  **The management strategy:** "managed on metformin." This tells me about the patient's treatment.

My immediate thought process goes to the ICD-10-CM structure. I know that diabetes mellitus falls under Chapter 4, specifically in the E08-E13 range. Type 2 diabetes is housed within category E11.

Now, I need to drill down within E11. The structure of E11 codes is largely dictated by the presence and type of complications. I'm looking for the subcategory that explicitly states "without complications." Based on my knowledge of the ICD-10-CM tabular list, E11.9 is designated for "Type 2 diabetes mellitus without complications." This directly addresses the first two parts of the diagnosis.

The third piece of information, "managed on metformin," presents a bit of a nuance. ICD-10-CM *does* have specific codes to indicate long-term drug use, such as Z79.84 for "Long term (current) use of oral hypoglycemic drugs." However, the user's request is very specific: a *single* ICD-10-CM code.

This constraint is key. There isn't a single code in the ICD-10-CM system that encapsulates "Type 2 diabetes without complications *and* on metformin." The disease itself is coded by its type and its complications. The management is generally considered a separate, though related, piece of information, typically captured with a Z code.

Therefore, when forced to choose only one code to represent the *primary diagnosis* as described, I must prioritize the condition itself and its lack of complications. The "managed on metformin" aspect, while clinically significant, is not part of the direct ICD-10-CM code for the diagnosis of diabetes mellitus. It would be coded separately if multiple codes were allowed.

So, to summarize my internal deliberation:
*   I identified "Type 2 diabetes mellitus" pointing me to E11.
*   I recognized "no documented complications" as a definitive indicator for the ".9" subcategory.
*   This led me to E11.9.
*   I considered the "managed on metformin" detail but concluded that, given the "single code" restriction, it cannot be incorporated into the primary diagnosis code itself. The most accurate single code for the *diagnosis* as presented is E11.9.

Hence, the code I will select is E11.9.

```json
{"code": "E11.9"}
```
json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
100GLM-5.2 · Z.ai2.9s · 272 out | 5.5s · 329 out | 2.7s · 245 out
Attempt 1
Reasoning · 254 tokens
The user wants the ICD-10-CM code for "Type 2 diabetes mellitus, no documented complications, managed on metformin."

1.  **Analyze the clinical statement**: Type 2 diabetes mellitus, without complications. The mention of metformin indicates management but does not change the complication status code in ICD-10-CM for diabetes without complications (unless it's a specific encounter for management, but the standard coding for the condition itself is just the base code). "No documented complications" confirms it's the uncomplicated code.
2.  **Identify the ICD-10-CM code**:
    *   Type 2 diabetes mellitus without complications falls under category E11.
    *   The specific code is E11.9 (Type 2 diabetes mellitus without complications).
3.  **Format the output**: The user requests a single JSON block with the key "code".
    *   Code: "E11.9"
    *   Note: The rules mention I10 has no decimal, E11.9 does. So the decimal is required.
4.  **Final JSON**:
    ```json
    {
      "code": "E11.9"
    }
    ```
json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 2
Reasoning · 312 tokens
The user is asking for the single ICD-10-CM code for "Type 2 diabetes mellitus, no documented complications, managed on metformin."

Key facts:
- Type 2 diabetes mellitus without complications
- No documented complications (so not a complication-specific code like E11.22, E11.25, etc.)
- "Managed on metformin" - this is treatment information, not a complication. ICD-10-CM codes do not have specific codes for medication management of diabetes in the E11 series. There are Z-codes for long-term drug use (Z79.4 for long-term use of insulin, Z79.84 for long-term use of oral antidiabetic drugs, Z79.85 for long-term use of injectable antidiabetic drugs), but the question asks for the SINGLE code for the diabetes itself.

Wait, the question says "the single ICD-10-CM code for" this condition. It's asking for the diabetes code, not the medication code. The mention of metformin is just clinical context indicating it's being treated, but the code for Type 2 diabetes without complications is E11.9.

E11.9 is "Type 2 diabetes mellitus without complications"

The "managed on metformin" part doesn't change the diabetes code. It might warrant an additional Z79.84 code in a complete encounter, but the question asks for the SINGLE code for the diabetes mellitus.

So the answer should be E11.9.
json{ "code": "E11.9" }
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 3
Reasoning · 227 tokens
The user wants the ICD-10-CM code for "Type 2 diabetes mellitus, no documented complications, managed on metformin."

The key detail is "no documented complications". In ICD-10-CM, diabetes mellitus codes depend heavily on whether there are complications.

Type 2 diabetes mellitus without complications is coded to E11.9.

The phrase "managed on metformin" indicates medication use but does not specify a complication. It might suggest drug use but doesn't change the code based on the clinical classification. Metformin is a common treatment for Type 2 DM, and it doesn't affect the ICD-10-CM coding for the diabetes itself when there are no complications.

So the answer should be E11.9.

Let me double check the code: E11.9 is "Type 2 diabetes mellitus without complications". Yes.

The task asks for a single ICD-10-CM code. Required key is "code".

I need to output exactly one fenced JSON block.

```json
{
  "code": "E11.9"
}
```
json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
100Claude Opus 4.8 · Anthropic1.3s · 19 out | 1.1s · 19 out | 1.0s · 18 out
Attempt 1
json{ "code": "E11.9" }
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 2
json{ "code": "E11.9" }
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 3
json{"code": "E11.9"}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
100Claude Sonnet 5 · Anthropic1.6s · 19 out | 1.6s · 19 out | 1.0s · 19 out
Attempt 1
json{ "code": "E11.9" }
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 2
json{ "code": "E11.9" }
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 3
json{ "code": "E11.9" }
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
100Claude Sonnet 4.6 · Anthropic1.2s · 17 out | 2.6s · 17 out | 1.3s · 17 out
Attempt 1
json{"code": "E11.9"}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 2
json{"code": "E11.9"}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 3
json{"code": "E11.9"}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
100Qwen3.7 Max · Alibaba5.8s · 289 out | 5.4s · 395 out | 5.6s · 392 out
Attempt 1
Reasoning · 266 tokens
The user wants a single ICD-10-CM code for "Type 2 diabetes mellitus, no documented complications, managed on metformin."
Type 2 diabetes mellitus without complications is coded as E11.9.
Wait, let's verify ICD-10-CM codes for Type 2 diabetes.
E11 - Type 2 diabetes mellitus
E11.9 - Type 2 diabetes mellitus without complications.
Is there a code for "managed on metformin" or "insulin use"? Z79.84 is for oral hypoglycemic drugs, but the prompt asks for "the single ICD-10-CM code". E11.9 is the primary diagnosis code.
Let's double check E11.9.
E11.9: Type 2 diabetes mellitus without complications.
The prompt asks for "the single ICD-10-CM code".
I will output E11.9.
Wait, could it be E11.9? Yes.
Let's review the format: "E11.9".
No other codes are requested.
Required key: "code".
Value: "E11.9"
json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 2
Reasoning · 372 tokens
The user wants the single ICD-10-CM code for "Type 2 diabetes mellitus, no documented complications, managed on metformin."
The condition is Type 2 diabetes mellitus without complications.
In ICD-10-CM, Type 2 diabetes mellitus without complications is coded as E11.9 (Type 2 diabetes mellitus without complications).
Wait, "managed on metformin" implies they are taking an oral hypoglycemic agent.
Does ICD-10-CM have a code for Type 2 diabetes without complications but on oral hypoglycemic drugs?
Actually, the Z codes (Z79.84 for oral hypoglycemic drugs) are secondary codes. The prompt asks for the *single* ICD-10-CM code for the diagnosis.
The diagnosis is Type 2 diabetes mellitus without complications.
Code: E11.9.
Let's double check.
E11.9: Type 2 diabetes mellitus without complications.
Is there an E11.8 or something? No, E11.9 is without complications.
Wait, Z79.84 is "Long term (current) use of oral hypoglycemic drugs". But the prompt asks for "the single ICD-10-CM code for: 'Type 2 diabetes mellitus, no documented complications, managed on metformin.'"
Usually, the primary diagnosis code is E11.9.
Let me provide E11.9.

Wait, is there any other code?
Type 2 diabetes mellitus without complications: E11.9.
I will output E11.9.
End of thought.
json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 3
Reasoning · 369 tokens
The user wants the ICD-10-CM code for "Type 2 diabetes mellitus, no documented complications, managed on metformin."
Type 2 diabetes mellitus without complications is E11.9.
Wait, let's verify.
E11 - Type 2 diabetes mellitus
E11.9 - Type 2 diabetes mellitus without complications.
Metformin management doesn't change the code, just indicates it's treated, but the code for the condition itself is E11.9. Long term use of insulin is Z79.4, but metformin is oral, Z79.84 is for oral hypoglycemic drugs. However, the prompt asks for "the single ICD-10-CM code for: 'Type 2 diabetes mellitus, no documented complications, managed on metformin.'" Usually, the primary diagnosis code is E11.9.
Let's double check if there's any other code. E11.9 is "Type 2 diabetes mellitus without complications".
Is there an ICD-10-CM code for Type 2 diabetes mellitus without complications? Yes, E11.9.
I will output E11.9.
Wait, does it want Z79.84 as well? "Assign the single ICD-10-CM code". So E11.9 is the most appropriate single code for the diagnosis.
Let's confirm E11.9.
E11.9 Type 2 diabetes mellitus without complications.
Yes.
Format:
```json
{
  "code": "E11.9"
}
```
No other text.
Done.
json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
100GLM-5.3 · Z.ai1.6s · 223 out | 1.4s · 199 out | 1.4s · 215 out
Attempt 1
Reasoning · 199 tokens
The task asks for the ICD-10-CM code for "Type 2 diabetes mellitus, no documented complications, managed on metformin."

In ICD-10-CM, Type 2 diabetes mellicus without complications is E11.9. The fact that it's managed on metformin doesn't change the code — ICD-10-CM does not code medication management for diabetes in the E11 category (there's Z79.84 for long-term use of oral hypoglycemic drugs, but that's a secondary code, and the task asks for a single code).

The prompt says "no reference material is supplied for this item. Answer from what you know." So I should use my knowledge of ICD-10-CM: E11.9 — Type 2 diabetes mellitus without complications.

Code reporting rules: ICD-10-CM uses a decimal point. E11.9 has a decimal.

The required key is "code". Answer: "E11.9".
json{"code": "E11.9"}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 2
Reasoning · 171 tokens
The task: assign the single ICD-10-CM code for "Type 2 diabetes melligos, no documented complications, managed on metformin."

ICD-10-CM: E11.9 — Type 2 diabetes mellitus without complications. The fact that it's managed on metformin (medication) does not change the code; insulin use would require additional code Z79.4 (long-term use of insulin), and oral hypoglycemic drugs historically had Z79.84 (long-term use of oral hypoglycemic drugs). But the task says "single ICD-10-CM code" — so we pick E11.9. Metformin use doesn't require an additional code per the instruction "single code" — the required key is "code" only.

E11.9 has a decimal point. Report as "E11.9".
json{"code": "E11.9"}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 3
Reasoning · 198 tokens
The task: Assign the single ICD-10-CM code for "Type 2 diabetes mellitus, no documented complications, managed on metformin."

ICD-10-CM: Type 2 diabetes mellitus without complications is E11.9. The fact that it's managed on metformin (oral hypoglycemic) — in ICD-10-CM, there's a code Z79.84 for long-term (current) use of oral hypoglycemic drugs, but that's an additional code, not the diabetes code itself. The question asks for the "single ICD-10-CM code" for the diabetes. The diabetes code is E11.9 — Type 2 diabetes mellitus without complications.

E11.9 includes decimal point. Report exactly as written in code set: E11.9.

The instruction mentions I10 has no decimal; E11.9 does. So answer "E11.9".
json{ "code": "E11.9" }
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
100Qwen3.8 Max · Alibaba3.1s · 106 out | 4.6s · 158 out | 3.7s · 132 out
Attempt 1
Reasoning · 83 tokens
We need answer user's request. Need produce final JSON only. Need assign single ICD-10-CM code for Type 2 diabetes mellitus, no documented complications, managed on metformin. ICD-10-CM code E11.9 Type 2 diabetes mellitus without complications. Medication doesn't change. Required key code. Output fenced JSON only. Ensure no extra.
json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 2
Reasoning · 135 tokens
We need answer user's request. Need produce final JSON only. Task: Assign single ICD-10-CM code for "Type 2 diabetes mellitus, no documented complications, managed on metformin." Required key "code". No reference material. Need know ICD-10-CM code: Type 2 diabetes mellitus without complications is E11.9. Managed on metformin does not change code; long-term drug use maybe Z79.84? But asks single ICD-10-CM code for diagnosis. E11.9. Include decimal. Output JSON exactly one fenced block. Ensure no extra.
json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 3
Reasoning · 109 tokens
We need answer user's request. Need produce final JSON only. Task: Assign single ICD-10-CM code for "Type 2 diabetes mellitus, no documented complications, managed on metformin." Required key "code". Need answer from knowledge, no reference. ICD-10-CM for type 2 diabetes mellitus without complications is E11.9. Metformin management doesn't change code; maybe long term use insulin? no. Code E11.9. Ensure JSON fenced only.
json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
100GPT-5.6 Terra · OpenAI0.8s · 16 out | 1.2s · 16 out | 0.7s · 16 out
Attempt 1
json{"code":"E11.9"}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 2
json{"code":"E11.9"}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 3
json{"code":"E11.9"}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
100GLM-5.3 Flash · Z.ai3.7s · 156 out | 7.0s · 231 out | 4.2s · 134 out
Attempt 1
Reasoning · 141 tokens
The task: Assign the single ICD-10-CM code for "Type 2 diabetes mellitus, no documented complications, managed on metformin."

ICD-10-CM for Type 2 diabetes mellitus without complications: E11.9 (Type 2 diabetes mellitus without complications). The code set uses a decimal: E11.9. Report exactly with decimal point.

Medication (metformin) does not change the code — E11.9 is correct; there's no separate code for oral hypoglycemic management unless long-term insulin use (Z79.4), which isn't applicable here.

Answer: {"code": "E11.9"}
json{"code": "E11.9"}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 2
Reasoning · 213 tokens
The task asks for the single ICD-10-CM code for "Type 2 diabetes mellitus, no documented complications, managed on metformin."

ICD-10-CM for Type 2 diabetes mellitus without complications: E11.9 — "Type 2 diabetes mellitus without complications."

The management on metformin doesn't change the code (in ICD-10-CM, there's no code distinction for oral hypoglycemic management; the long-term drug use codes like Z79.84 exist for insulin, and Z79.899 for other long-term drug use, but the question asks for a single code and no complications).

Format: E11.9 with decimal point, as the code set uses one. The instructions say "Report codes exactly as they are written in the code set, including the decimal point where the code set uses one. ... E11.9 does." So the answer is "E11.9".

Output contract: exactly one fenced JSON code block with the key "code".
json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 3
Reasoning · 116 tokens
The task asks for the single ICD-10-CM code for "Type 2 diabetes mellitus, no documented complications, managed on metformin."

The correct code is E11.9 — Type 2 diabetes mellitus without complications. The management on metformin does not change the code (medication management is not coded separately for diabetes; code by type and complications).

The code set uses a decimal: E11.9. Report with the decimal point as written in the code set.

Output contract: exactly one fenced JSON code block with key "code".
json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
100Hunyuan 4 · Tencent389.8s · 8,448 out | 147.2s · 8,797 out | 84.3s · 4,764 out
Attempt 1
Reasoning · 8,430 tokens
We need answer with exactly one fenced JSON code block, nothing else. Need assign single ICD-10-CM code for "Type 2 diabetes mellitus, no documented complications, managed on metformin." Need key code. No reference material supplied, answer from what we know. Need determine correct ICD-10-CM code.

Let's parse. Type 2 diabetes mellitus, no documented complications, managed on metformin. ICD-10-CM diabetes codes: E11 series Type 2 diabetes mellitus. No complications => E11.9? Actually E11.9 is Type 2 diabetes mellitus without complications. Wait ICD-10-CM E11 categories: E11.9 Type 2 diabetes mellitus without complications. E11.8 is Type 2 diabetes mellitus with unspecified complications? Let's recall.

ICD-10-CM code set for diabetes mellitus (E08-E13). E11 Type 2 diabetes mellitus. Structure:
E11.9 Type 2 diabetes mellitus without complications.
E11.8 Type 2 diabetes mellitus with unspecified complications (includes: Type 2 diabetes mellitus with complications NOS, Type 2 diabetes mellitus without complications? Wait let's recall).

Actually ICD-10-CM tabular:
E11 Type 2 diabetes mellitus
Includes: diabetes (mellitus) due to insulin secretory defect, diabetes (mellitus) type 2, insulin resistant diabetes (mellitus), non-insulin-dependent diabetes (mellitus), etc.
Use additional code to identify control using insulin, oral hypoglycemic drugs, or injectable non-insulin (Z79.4, Z79.84, Z79.85?) Wait there are codes for long-term (current) use of insulin Z79.4, oral hypoglycemic drugs Z79.84, injectable non-insulin antidiabetic drugs Z79.85? Let's see.

But the item asks: Assign the single ICD-10-CM code for: "Type 2 diabetes mellitus, no documented complications, managed on metformin." Required key "code". Single ICD-10-CM code. It says "single ICD-10-CM code". If managed on metformin, metformin is an oral hypoglycemic drug. In ICD-10-CM, there is also a code for Long term (current) use of oral hypoglycemic drugs: Z79.84. However, the task asks "single ICD-10-CM code". The phrase "managed on metformin" might indicate that the diabetes is controlled by oral hypoglycemic drug, but is there a specific combination code? There isn't a combination code for type 2 diabetes with oral hypoglycemic use. The coding guidelines for diabetes: If the patient is treated with insulin or oral hypoglycemic drugs, code also Z79.4 or Z79.84 for long-term drug therapy. But the question says assign the single ICD-10-CM code for the diagnosis description: "Type 2 diabetes mellitus, no documented complications, managed on metformin." Does "managed on metformin" affect the diabetes code? Let's examine.

ICD-10-CM Official Guidelines for Coding and Reporting FY 2024:
Diabetes mellitus: The diabetes mellitus codes are combination codes that include the type of diabetes mellitus, the body system affected, and the complications affecting that body system. The age of the patient is not the only criteria for coding. If the documentation states that the patient has diabetes mellitus with complications, and the type is not documented, the default is type 2. For type 2 diabetes, if the patient uses insulin, assign Z79.4. For patients who use oral hypoglycemic drugs, assign Z79.84. However, the use of insulin or oral hypoglycemic drugs does not affect the selection of the diabetes code. The diabetes code is selected based on the type and complications. The Z79 code is an additional code.

Actually there is a note at E11: Use additional code to identify control using:
insulin (Z79.4)
oral hypoglycemic drugs (Z79.84)
injectable non-insulin antidiabetic drugs (Z79.85)
Then there is note: If the patient is treated with both oral hypoglycemic drugs and insulin, both codes should be assigned. Code also, if applicable, any associated complication/ manifestation. But the diabetes code itself doesn't change to reflect metformin management.

The description says "Type 2 diabetes mellitus, no documented complications, managed on metformin." The single ICD-10-CM code requested likely is E11.9. But wait, is there a code E11.9 or E11.9 with a 7th character? No, diabetes codes E11.- are not 7th character? Let's recall. E11 is Type 2 diabetes mellitus. The codes have 4th characters: .0-.9, and 5th? Let's list:
E11.0 Type 2 diabetes mellitus with hyperosmolarity
E11.1 Type 2 diabetes mellitus with ketoacidosis
E11.2 Type 2 diabetes mellitus with kidney complications (E11.21-E11.22? Actually E11.2 is with kidney complications, with subcategories: E11.21 Type 2 diabetes mellitus with diabetic nephropathy; E11.22 Type 2 diabetes mellitus with diabetic chronic kidney disease; E11.29 Type 2 diabetes mellitus with other diabetic kidney complication)
E11.3 Type 2 diabetes mellitus with ophthalmic complications
E11.4 Type 2 diabetes mellitus with neurological complications
E11.5 Type 2 diabetes mellitus with circulatory complications
E11.6 Type 2 diabetes mellitus with other specified complications
E11.7 Type 2 diabetes mellitus with multiple complications? Wait maybe E11.7 is with multiple complications? Let's check. Actually E11.7 Type 2 diabetes mellitus with multiple complications? Category: E11.7 Type 2 diabetes mellitus with multiple complications. Then E11.8 with unspecified complications, E11.9 without complications. Let me verify.

ICD-10-CM: E11.8 Type 2 diabetes mellitus with unspecified complications. Includes: Type 2 diabetes mellitus with complications NOS, Type 2 diabetes mellitus with no complications? No, that is E11.9. Let's recall exact wording:
E11.9 Type 2 diabetes mellitus without complications. There is a note: Type 2 diabetes mellitus NOS, Type 2 diabetes mellitus without complications, Type 2 diabetes mellitus not stated as uncontrolled? Wait, "without complications" vs "not stated as uncontrolled"? Let's check.

Actually there is also code E11.9: Type 2 diabetes mellitus without complications. There is includes note: Type 2 diabetes mellitus NOS; Type 2 diabetes mellitus without complications; Type 2 diabetes mellitus not stated as uncontrolled. Wait, does "not stated as uncontrolled" fall under without complications? Let's recall: In ICD-10-CM, for diabetes, if the documentation does not indicate whether the diabetes is controlled or uncontrolled, the default is controlled? Let's check guidelines.

Diabetes and "with poor control": There are codes for diabetes with hyperglycemia, with hypoglycemia, with poor control? Actually ICD-10-CM has combination codes for diabetes with complications. For diabetes without complications, there is a fifth character? Let's think. There are codes for "diabetes mellitus due to underlying condition with hyperglycemia" etc. For E11, there are subcategories:
E11.0 with hyperosmolarity
E11.1 with ketoacidosis
E11.2 with kidney complications
E11.3 with ophthalmic complications
E11.4 with neurological complications
E11.5 with circulatory complications
E11.6 with other specified complications
E11.7 with multiple complications? Actually maybe E11.7 is "Type 2 diabetes mellitus with multiple complications". Then E11.8 "Type 2 diabetes mellitus with unspecified complications". E11.9 "Type 2 diabetes mellitus without complications".

But there is also 5th character for "with hypoglycemia" etc? Let's think. There are codes for diabetes with hypoglycemia: e.g., E11.641 Type 2 diabetes mellitus with hypoglycemia with coma? Wait, no. Let's recall the expansion of E11:
E11.0 Type 2 diabetes mellitus with hyperosmolarity
E11.1 Type 2 diabetes mellitus with ketoacidosis
E11.2 Type 2 diabetes mellitus with kidney complications
E11.3 Type 2 diabetes mellitus with ophthalmic complications
E11.4 Type 2 diabetes mellitus with neurological complications
E11.5 Type 2 diabetes mellitus with circulatory complications
E11.6 Type 2 diabetes mellitus with other specified complications
E11.7 Type 2 diabetes mellitus with multiple complications? Wait, check. In ICD-10-CM, E11.7 is "Type 2 diabetes mellitus with multiple complications". Then E11.8 "Type 2 diabetes mellitus with unspecified complications". Then E11.9 "Type 2 diabetes mellitus without complications". Under each with complications, there might be 5th or 6th characters for specific manifestations.

But the phrase "no documented complications" maps to E11.9. The metformin management is captured by an additional code Z79.84 (Long term (current) use of oral hypoglycemic drugs). However, the task says "Assign the single ICD-10-CM code for: 'Type 2 diabetes mellitus, no documented complications, managed on metformin.'" Required key: "code". It says single ICD-10-CM code. It does NOT say assign all codes or additional codes. It wants one code. Does "managed on metformin" mean the patient is on an oral hypoglycemic drug, and there is a specific code for Type 2 diabetes mellitus managed on metformin? No, not a single combination code. The single diagnosis code is E11.9. If we wanted to code the long-term drug therapy, it would be Z79.84, but the question asks for the single ICD-10-CM code for the given diagnosis statement. The statement includes "managed on metformin". In ICD-10-CM, there is a specific code for "Long term (current) use of metformin"? No, metformin is an oral hypoglycemic drug, coded as Z79.84 for long-term use of oral hypoglycemic drugs. But Z79.84 is not "Type 2 diabetes mellitus". The description provided is a diagnostic statement: "Type 2 diabetes mellitus, no documented complications, managed on metformin." The first part is the disease: Type 2 diabetes mellitus, no documented complications -> E11.9. The last part "managed on metformin" is a treatment detail, which in coding would require an additional code Z79.84 if the encounter is for the diabetes or if it's a reason for long-term drug therapy? Actually guidelines: If the patient is receiving long-term drug therapy (e.g., oral hypoglycemic drugs), assign a code from Z79.- if the drug is documented as being used long term. Metformin for diabetes is long-term. But the question specifically asks to assign the single ICD-10-CM code. Maybe they want "E11.9". Let's check if the use of metformin changes diabetes code to "E11.9" only or maybe there is a code E11.9 with a 5th character for "with oral hypoglycemic drug"? No.

Wait, there is an ICD-10-CM code for diabetes mellitus due to drug or chemical? No, that's E09. Type 2 diabetes mellitus is not due to metformin. Metformin is treatment, not cause.

Could there be a code "E11.9" plus note that additional code Z79.84 is needed? But only one key "code" required. The task family says: "Each item asks for one or more specific values. The required keys are named in the item itself." Here required key is "code". It says "Assign the single ICD-10-CM code". So output JSON: {"code":"E11.9"} maybe.

Let's verify format: Report codes exactly as they are written in the code set, including decimal point where used. I10 has no decimal. E11.9 does. So "E11.9". No 7th character. Boolean etc not relevant. Need reply with exactly one fenced JSON code block and nothing else. So:

```json
{
  "code": "E11.9"
}
```

But let's thoroughly ensure no trick. The phrase "no documented complications" - in ICD-10-CM, if the diagnosis is stated as "Type 2 diabetes mellitus without complications", code E11.9. If "no documented complications", is that "without complications"? Yes. If the provider documents "no complications", that is the same as without complications? There is a convention: Code to the highest level of certainty. If type 2 diabetes is documented and complications are not documented, code E11.9, Type 2 diabetes mellitus without complications. The guidelines say: If the documentation does not indicate the type of diabetes but does indicate a complication, default to type 2. Conversely, if type 2 is documented, and no complication, code E11.9.

Wait, there is a nuance: "Type 2 diabetes mellitus, no documented complications" -> The provider says "no documented complications". Does that mean "without complications" or "not stated as uncontrolled"? Actually there is a code E11.9 for "Type 2 diabetes mellitus without complications". There is also a note under E11.9: "Type 2 diabetes mellitus NOS; Type 2 diabetes mellitus without complications". There is no separate code for "no documented complications". It's the same.

What about "managed on metformin"? There's an instructional note under E11: "Use additional code to identify control using: insulin (Z79.4), oral hypoglycemic drugs (Z79.84), injectable non-insulin antidiabetic drugs (Z79.85)". For type 2 diabetes managed on metformin, the control is using an oral hypoglycemic drug. The "single ICD-10-CM code" for the condition might still be E11.9. The metformin management itself is coded with Z79.84. But the task didn't ask for additional code. It asked to assign the single ICD-10-CM code for the quoted diagnosis. The quoted diagnosis is a diagnostic statement that includes treatment. In ICD-10-CM, when a diagnostic statement includes both the condition and the drug used to manage it, the condition is coded, and the long-term drug therapy is coded separately. Since they ask for a single code, and the primary diagnosis is Type 2 diabetes mellitus without complications, it's E11.9.

But let's examine alternative: Could the answer be "Z79.84"? The question: "Assign the single ICD-10-CM code for: 'Type 2 diabetes mellitus, no documented complications, managed on metformin.'" If they wanted the code for "managed on metformin", that phrase alone would be long-term (current) use of oral hypoglycemic drugs, Z79.84. But the quoted text leads with "Type 2 diabetes mellitus, no documented complications, managed on metformin." The main subject is Type 2 diabetes mellitus. The code that represents this entire statement? There's no single combination code that includes metformin. There is a code E11.9 for the diabetes. The metformin part is captured by Z79.84. But since they ask for "the single ICD-10-CM code" (singular), maybe they expect E11.9, because it's the code for the diagnosis of Type 2 diabetes mellitus without complications. The metformin is an additional code, but if forced to pick one code that best represents the diagnostic statement, it's the diabetes code. If they wanted Z79.84, they would have said "long-term use of metformin" or "managed on metformin" alone. But the statement includes the disease. Usually in coding, if a patient has Type 2 diabetes managed with metformin, you assign E11.9 and Z79.84. But they ask for single code. Let's read the task family description: "Each item asks for one or more specific values. The required keys are named in the item itself." The item says "Assign the single ICD-10-CM code for: ..." Required key: "code". It doesn't say additional codes. So they want one value for key "code". If the correct complete coding requires two codes, the "single ICD-10-CM code" for the primary diagnosis is E11.9. The metformin is a separate code but not requested. Also the family says: "Never invent a code. If you cannot identify the correct value, return the string 'UNKNOWN' for that key." So if we think the answer is E11.9, we output that.

Let's double-check the exact ICD-10-CM code for Type 2 diabetes mellitus without complications. In ICD-10-CM 2024, the code is E11.9. Is there any 2025 update? The harness is synthetic but based on real code set knowledge unless reference supplied. No reference supplied. The current ICD-10-CM (effective Oct 1, 2023 through present?) has E11.9. Wait, in ICD-10-CM, there was a revision: For diabetes, as of FY 2024, new codes created for diabetes with diabetic chronic kidney disease etc. But E11.9 remains Type 2 diabetes mellitus without complications. Let's verify: E11.9 is "Type 2 diabetes mellitus without complications". Yes.

Check if there's a 5th character required? For E11.9, the code is E11.9 (4 characters after decimal? Actually it's E11.9: E11 = category, .9 = 4th character. Wait, ICD-10-CM format: Letter, two digits, decimal point, then up to 4 characters. E11.9 has decimal point and one character after: E11.9. That's 4 characters total? Let's count: E (1), 11 (2-3), decimal, 9 (4th character). It is a valid code. No 7th character. Some diabetes codes require 7th character for certain complications (e.g., E11.9? No). Actually E11.9 does not require a 7th character. The 7th character is used in categories like E11.1? Wait, no. Let's recall: Some diabetes codes have a 5th or 6th character to specify manifestation, and 7th character for "with coma", "without coma" for hypoglycemia? For example, E11.641 Type 2 diabetes mellitus with hypoglycemia with coma. Let's parse: E11.64 = Type 2 diabetes mellitus with hypoglycemia; then 1 = with coma? Actually E11.641: E11.64 is Type 2 diabetes mellitus with hypoglycemia; 7th character? Let's see: The code structure: E11.641: E11 = Type 2; .64 = with hypoglycemia; 1 = with coma? Wait 1 is a 7th character? Let's count: E11.641: characters: E,1,1,.,6,4,1. That's E11 . 6 4 1. After decimal, characters: 6 (4th), 4 (5th), 1 (6th? Actually let's count: Category E11. The decimal point then up to 4 characters: 6 (4th character), 4 (5th character), 1 (6th character), maybe 7th? Wait ICD-10-CM codes can have up to 7 characters total including the letter and numbers. The format is: 3 characters before decimal (letter + 2 digits). After decimal up to 4 characters. So max length is 7 alphanumeric characters plus decimal: e.g., E11.649 is E (1) 1 (2) 1 (3) . (dot) 6 (4) 4 (5) 9 (6) -> total 6 characters? Actually 3 before + 3 after = 6? Wait, letter counts as first character, then two digits = 3 characters. Then decimal, then up to 4 characters. So maximum length is 7 characters (including letter) plus decimal? Let's count E11.649: E (1), 1 (2), 1 (3), decimal, 6 (4th character after decimal; overall 5th alphanumeric?), 4 (5th after decimal; overall 6th), 9 (6th after decimal; overall 7th?). Wait, total characters excluding decimal: E 1 1 6 4 9 = 6 characters? No, E11.649 has 6 characters? Let's write: E 1 1 . 6 4 9. That's 6 alphanumeric characters? Actually E,1,1,6,4,9 = 6 characters. But ICD-10-CM codes can be up to 7 characters? Let's recall: They are 3-7 characters. The first character is alpha, characters 2 and 3 are numeric, characters 4-7 are alpha/numeric. So E11.649: character 1 = E, 2=1, 3=1, 4=6, 5=4, 6=9. That's 6 characters total. Wait that's only 6? Let's check a known 7-character code: S72.001A: S (1), 7 (2), 2 (3), . (dot), 0 (4), 0 (5), 1 (6), A (7). That's 7 alphanumeric characters. Yes, E11.649 is 6 characters? Actually E11.649: E(1) 1(2) 1(3) . 6(4) 4(5) 9(6). It's 6 characters after removing decimal? Wait character 4 is 6, character 5 is 4, character 6 is 9. That's positions 4,5,6. So total length = 6? But maximum is 7, so position 7 could be an extension. For example, S72.001A has positions: S(1) 7(2) 2(3) 0(4) 0(5) 1(6) A(7). Yes, fracture codes have 7th character. So E11.649 is 6 characters? Let's count: E 1 1 . 6 4 9. Alphanumeric characters: E,1,1,6,4,9 = 6. So it is a 6-character code? But all ICD-10-CM codes are 3 to 7 characters. Yes, 6 is allowed. E11.9 is 4 characters? E,1,1,9 = 4 characters? Wait E11.9: E(1) 1(2) 1(3) . 9(4). So 4 characters. Yes.

Anyway E11.9 is correct.

But let's examine "managed on metformin" carefully. Is there a possibility of coding "E11.9" and "Z79.84" but the single code requested is "Z79.84" because the "single ICD-10-CM code" for "managed on metformin" as a reason for encounter (long-term drug therapy)? The phrase: "Type 2 diabetes mellitus, no documented complications, managed on metformin." If a coder is asked to assign an ICD-10-CM code for this diagnostic statement, they would first code the diabetes: E11.9. Then, because the patient is managed on metformin, they would add Z79.84. The instruction says "Assign the single ICD-10-CM code". That means they only want one code, so they must be asking for the code that represents the main condition, not the additional Z code. But could they be asking 
json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 2
Reasoning · 8,779 tokens
We need answer with JSON code block only. Need assign single ICD-10-CM code for "Type 2 diabetes mellitus, no documented complications, managed on metformin."
We need know ICD-10-CM code. Let's think. Type 2 diabetes mellitus without complications. Category E11.9? Actually E11.9 is Type 2 diabetes mellitus without complications. Code set: E11.9 has decimal. In ICD-10-CM, E11.9 is Type 2 diabetes mellitus without complications. Is there a need for additional code for long-term (current) use of metformin? The task asks "Assign the single ICD-10-CM code for: 'Type 2 diabetes mellitus, no documented complications, managed on metformin.'" It says single code. For diabetes, if managed on insulin or oral hypoglycemic drugs, coding guidelines? Let's recall ICD-10-CM guidelines. For diabetes mellitus, code also any associated complications, and if the patient uses insulin, oral hypoglycemic drugs, etc. There are codes for "Type 2 diabetes mellitus with ..." But E11.9 is Type 2 diabetes mellitus without complications. However, there is a code Z79.84 Long-term (current) use of oral hypoglycemic drugs, or Z79.4 Long-term (current) use of insulin? Wait, metformin is an oral hypoglycemic drug (biguanide). In ICD-10-CM, Z79.84 is Long-term (current) use of oral hypoglycemic drugs. Z79.4 is Long-term (current) use of insulin. For diabetes managed on metformin, some might also assign Z79.84 for long-term drug therapy. But the prompt asks "Assign the single ICD-10-CM code for: 'Type 2 diabetes mellitus, no documented complications, managed on metformin.'" It says "single ICD-10-CM code" and Required key: "code". They want just one code. Which one is the single code? Need parse the instruction: "Assign the single ICD-10-CM code for: ..." That suggests there is one code that captures this. Is it E11.9? Or maybe E11.9 plus Z79.84? But they ask single. However, the phrase "Type 2 diabetes mellitus, no documented complications" maps directly to E11.9. "managed on metformin" might be captured in ICD-10-CM by a combination? Let's review ICD-10-CM diabetes code structure.

In ICD-10-CM, diabetes mellitus codes are combination codes that include the type, the body system affected (complication), and sometimes other manifestations. For type 2, category E11:
- E11.0 Type 2 diabetes mellitus with hyperosmolarity
- E11.1 Type 2 diabetes mellitus with ketoacidosis
- E11.2 Type 2 diabetes mellitus with kidney complications? Wait E11.2 is with diabetic nephropathy? Let's list:
E11.2 Type 2 diabetes mellitus with kidney complications? Actually E11.2 is Type 2 diabetes mellitus with diabetic nephropathy? Let's recall:
E11.2 Type 2 diabetes mellitus with kidney complications: E11.21 with diabetic nephropathy; E11.22 with diabetic chronic kidney disease; E11.29 with other kidney complication.
E11.3 Type 2 diabetes mellitus with ophthalmic complications
E11.4 Type 2 diabetes mellitus with neurological complications
E11.5 Type 2 diabetes mellitus with circulatory complications
E11.6 Type 2 diabetes mellitus with other specified complications
E11.7 Type 2 diabetes mellitus with multiple complications
E11.8 Type 2 diabetes mellitus with unspecified complications
E11.9 Type 2 diabetes mellitus without complications.

Specifically, E11.9 is "Type 2 diabetes mellitus without complications". It is a valid code. It does not include long-term drug use. The "managed on metformin" might require additional code Z79.84 (long term current use of oral hypoglycemic drugs) if the provider documents the patient is on metformin. In ICD-10-CM Official Guidelines for Coding and Reporting, there is a guideline: "Patients with diabetes mellitus who are treated with insulin or oral hypoglycemic drugs may require additional code(s) to identify the long-term use of these medications, if the patient is receiving long-term drug therapy." Actually Section I.C.4.a.2? Let's recall: Diabetes mellitus and the use of insulin and oral hypoglycemic drugs: "If the documentation in a medical record does not indicate the type of diabetes but does indicate that the patient uses insulin, code E11.9? No, type 2 vs type 1?" Wait. Let's recall the guideline: For patients with diabetes mellitus who are receiving insulin or oral hypoglycemic drugs, an additional code from category Z79 should be assigned to identify the long-term (current) use of these medications. Actually, there is a coding guideline: "Long-term use of insulin or oral hypoglycemic drugs: Code Z79.4, Long-term (current) use of insulin, or Z79.84, Long-term (current) use of oral hypoglycemic drugs, should be assigned if the patient is receiving long-term drug therapy." But is it required? Let's check. The ICD-10-CM guideline (FY 2024) I.C.4.a.3? Hmm.

But the question asks: "Assign the single ICD-10-CM code for: 'Type 2 diabetes mellitus, no documented complications, managed on metformin.'" They explicitly say "single ICD-10-CM code". So they do not want a combination or multiple codes. They want the one code that represents this diagnosis statement. The diagnosis statement includes Type 2 diabetes mellitus, no documented complications = E11.9. Managed on metformin is a treatment. In a diagnostic coding context, the code for Type 2 diabetes mellitus without complications is E11.9. But what about "managed on metformin"? Is there an ICD-10-CM code that includes "Type 2 diabetes mellitus, no documented complications, managed on metformin" exactly? No, ICD-10-CM does not have codes that specify oral medication management as part of the diabetes code; the drug use is captured with Z79.84. However, the instruction says "single ICD-10-CM code". If they wanted both, they'd ask for codes or an array. They ask for "code". So likely answer is E11.9. Wait, but check the phrasing: "Type 2 diabetes mellitus, no documented complications, managed on metformin." This is a typical test question for ICD-10-CM: what is the code? Let's search memory: There is a code E11.9. But is metformin management reflected by a different code? Actually, there is a specific code for "Type 2 diabetes mellitus with oral hypoglycemic drug use"? No. Let's think about ICD-10-CM categories for diabetes. There are codes like E11.9, but also perhaps there are codes under E13? No, E13 is other specified diabetes mellitus. Type 2 is E11.

But hold on: In ICD-10-CM, there are codes for "Type 2 diabetes mellitus with hypoglycemia" etc. But metformin is an oral hypoglycemic, not insulin. If a patient has type 2 diabetes mellitus and is managed with metformin, the correct code assignment per coding guidelines is E11.9 and Z79.84. If the question demands a single code, maybe they want E11.9 because that's the diagnosis code, and Z79.84 is a status code, not a diagnosis? But both are ICD-10-CM codes. The prompt says "single ICD-10-CM code". It does not say "diagnosis code" or "first-listed". It says assign the single ICD-10-CM code for the statement. Let's read carefully: "Assign the single ICD-10-CM code for: "Type 2 diabetes mellitus, no documented complications, managed on metformin." Required key: "code"." The statement includes both the disease and its management. If we can only assign one code, which one captures the whole statement? There isn't a single code that includes both. The disease part is E11.9. The management part is Z79.84. Since they ask for single, maybe they expect E11.9? Or maybe they expect Z79.84? No, the main condition is diabetes; the management is secondary. The single code for the condition "Type 2 diabetes mellitus, no documented complications" is E11.9. The "managed on metformin" is additional information that would be captured with a separate Z code. But they said "single ICD-10-CM code" perhaps to avoid asking for the Z code? They might be testing if you know that despite the metformin, the diabetes code is still E11.9, and that metformin (oral hypoglycemic) is captured by Z79.84, but since they ask for a single code, you cannot provide both, so you provide the diabetes code? Wait, but they explicitly included "managed on metformin" in the statement. If the answer is E11.9, the phrase "managed on metformin" is essentially irrelevant to the code assignment if you only assign one code? That seems odd. Unless there is a code that means "Type 2 diabetes mellitus without complications, on oral hypoglycemic"? Let's verify.

Look at ICD-10-CM code E11.9: "Type 2 diabetes mellitus without complications". There is no mention of drug. There is also Z79.84 "Long term (current) use of oral hypoglycemic drugs". There is also maybe code E11.9 with a 7th character? No, E11.9 has no 7th character. It's just E11.9.

Could there be a code from chapter 4 endocrine, nutritional and metabolic diseases: E11.9 is correct. But what about "Type 2 diabetes mellitus, no documented complications, managed on metformin." In ICD-10-CM, there is a code E11.9 plus Z79.84, but if only one code is allowed, guidelines say "code first" something? For encounter for diabetes on medication? If the encounter is for diabetes management, the diabetes code is the primary diagnosis; the long-term drug therapy code is reported as an additional diagnosis. If you must choose a single code, the primary is E11.9. But the instruction says "Assign the single ICD-10-CM code for: [entire phrase]." Is the entire phrase a diagnosis? The diagnosis is "Type 2 diabetes mellitus, no documented complications, managed on metformin." When a physician documents "Type 2 diabetes mellitus, no documented complications, managed on metformin", the diagnostic statement includes the disease and a treatment detail. In ICD-10-CM, the disease is classified to E11.9. The fact that the patient is managed on metformin (an oral hypoglycemic) is captured by Z79.84, but that is a separate code. Since they ask for a single code, maybe the expected answer is E11.9? Let's consider typical AAPC or AHIMA exam questions. They ask: "Type 2 diabetes mellitus, no documented complications, managed on metformin. Assign the correct ICD-10-CM code(s):" If multiple, answer: E11.9, Z79.84. If they ask for single code? Maybe they want "E11.9" because it's the only code for the diabetes, and Z79.84 is not a diabetes code; but the question says "single ICD-10-CM code" not "single diagnosis code". The required key is "code". Could the answer be "E11.9"? The prompt says "Report codes exactly as they are written in the code set, including the decimal point where the code set uses one. I10 has no decimal. E11.9 does." This is a strong hint! They mention "E11.9 does" have a decimal point. They explicitly say: "I10 has no decimal. E11.9 does." That example is from the ground rules? Wait, the ground rules: "Report codes exactly as they are written in the code set, including the decimal point where the code set uses one. I10 has no decimal. E11.9 does." This is in the initial system prompt under GROUND RULES? Let's check: In the user prompt, under "Rules that apply to every item in this family:" it says: "Report codes exactly as they are written in the code set, including the decimal point where the code set uses one. I10 has no decimal. E11.9 does. Do not add a decimal point that the code set does not use, and do not strip one that it does." This is a generic instruction for all items in the family. The mention of E11.9 is an example to illustrate decimal point usage. It might be a red herring or maybe a hint? Wait, the system prompt from the harness includes examples: "I10 has no decimal. E11.9 does." But this current task is about Type 2 diabetes mellitus. They gave example "E11.9 does" as a code with a decimal point. That could be a coincidence or a nudge that the answer is E11.9? Actually, the example says E11.9 does have a decimal point. This is just illustrating that some codes have decimals. It does not imply the answer is E11.9, but it's interesting they used E11.9 as the example. But it's in the rules section, not specific to this task. They might have chosen E11.9 because it's a known code with a decimal, not because it's the answer. However, the fact that they say "E11.9 does" might be to remind us to include the decimal point if we choose E11.9.

Let's examine the exact phrasing: "Assign the single ICD-10-CM code for: "Type 2 diabetes mellitus, no documented complications, managed on metformin." Required key: "code"." The statement "Type 2 diabetes mellitus, no documented complications" is exactly the index entry for E11.9. In the ICD-10-CM Alphabetic Index, under Diabetes, type 2, without complications -> E11.9. The Tabular List: E11.9 Type 2 diabetes mellitus without complications. The "managed on metformin" is not part of the diabetes code. To fully code the management, assign Z79.84. But the question asks for the single ICD-10-CM code for the entire phrase. If we can only assign one, the main term is "Diabetes, type 2, without complications". The metformin management would be an additional code, but since the question says single, maybe they want us to assign only E11.9 and ignore Z79.84, or maybe they want us to say the single code that captures the diabetes is E11.9. But if they wanted both, they would ask for a list of codes. The required key is "code", singular, a string. So it's one code.

Is there any possibility the answer is Z79.84? No, because the diagnosis is diabetes; Z79.84 is long-term drug therapy. The primary condition is Type 2 diabetes mellitus. Also, Z79.84 is an ICD-10-CM code but it does not describe diabetes. The statement is asking for the code for the clinical statement. In ICD-10-CM, when a patient has a disease and is on long-term medication, you assign both the disease code and the Z79 code. But if forced to assign a single code for this documentation, the code that represents the diagnosis is E11.9. Wait, maybe there is a code E11.9 with a 7th character? No, E11.9 has no 7th character extension. Let's verify: Category E11 codes: E11.9 is a valid code, not requiring 7th character. It's just E11.9. There's no placeholder. The 7th characters are for categories like E11.0? No, injuries have 7th characters. Diabetes codes in ICD-10-CM do not use 7th characters except maybe for some with "with" complications? Actually, E11.9 is complete as is.

Let's recall: In ICD-10-CM, "Type 2 diabetes mellitus without complications" is E11.9. There is also "Type 2 diabetes mellitus with unspecified complications" E11.8? Wait: E11.8 is Type 2 diabetes mellitus with unspecified complications. E11.9 is without complications. The statement says "no documented complications" meaning without complications, so E11.9, not E11.8. E11.8 has decimal? E11.8 is a code with one decimal place? Actually E11.8 is valid? Let's check: In ICD-10-CM, E11.8 is "Type 2 diabetes mellitus with unspecified complications". Yes. E11.9 is without complications. So "no documented complications" = without complications = E11.9.

Now, what about "managed on metformin"? Metformin is an oral hypoglycemic. Long-term (current) use of oral hypoglycemic drugs is Z79.84. But again, single code requested. The instructions say "Never invent a code. If you cannot identify the correct value, return the string "UNKNOWN" for that key." We can identify E11.9. We won't return UNKNOWN. We must output JSON: {"code":"E11.9"}? Wait, the code should be reported as a string? The required key "code". In JSON, we output a string. The rules: "Report codes exactly as they are written in the code set, including the decimal point...". So code is a string, e.g., "E11.9". It says integers are JSON numbers with no quotes. But codes are strings, so quoted. The example for keys: They ask for "code". So value should be "E11.9". Need ensure no extra text.

But let's double-check if there is any nuance: Could the code be E11.9 and we need to include a seventh character? No. Could the code be E11.9 with a decimal after E11? Yes, E11.9. That matches the example: "E11.9 does." So we output "E11.9".

Wait, is there a code for "Type 2 diabetes mellitus without complications, managed on metformin" maybe E11.9 plus Z79.84, but if only one code is allowed, maybe the correct single code is actually Z79.84 if the encounter is solely for the long-term drug therapy? But the statement is a diagnosis, not an encounter reason. The phrase starts with "Type 2 diabetes mellitus..." The subject is diabetes. So E11.9 is the principal diagnosis.

However, let's consider the coding guideline about "with" vs "without" complications and medication. There is a note in ICD-10-CM: "Type 2 diabetes mellitus with oral hypoglycemic drug use"? No. Actually, there is a classification: if a patient with diabetes develops complications, you use a combination code if the complication is linked. If the patient is on insulin or oral hypoglycemic drugs, you assign an additional code Z79.4 or Z79.84. But note: the use of oral hypoglycemic drugs is not a complication. The diabetes code itself does not change based on treatment. So "managed on metformin" does not change the diabetes code from E11.9. It just adds a Z code. Since the question asks for a single code, they might be testing whether you incorrectly try to find a diabetes code that includes metformin (which doesn't exist) or whether you know it's still E11.9 and would report Z79.84 as an additional code, but since they asked for one, you give E11.9. But wait, if they wanted to test the Z code, they would ask for "codes" (plural) or ask for "additional code". The task says: "Assign the single ICD-10-CM code for: 'Type 2 diabetes mellitus, no documented complications, managed on metformin.'" The inclusion of "managed on metformin" might be a distractor to see if you erroneously pick Z79.84 as the only code? Or erroneously think there is a code like E11.9 plus something? Actually, if a coder is assigning codes for this, they would assign E11.9 and Z79.84. If the question asks for the single ICD-10-CM code for the diabetes, it's E11.9. If they ask for the single code for the entire statement, maybe they expect E11.9 because the management is not a diagnosis but a status, and the only diagnosis code is E11.9. But they said "ICD-10-CM code", Z79.84 is also an ICD-10-CM code. So if the entire statement is coded, you need two ICD-10-CM codes. But they demand one. This is contradictory unless the expected answer is to recognize that a single code cannot capture both, and maybe the task expects "UNKNOWN"? No, they say if you cannot identify the correct value, return UNKNOWN. But we can identify the correct value for the diagnosis. The instruction says "Never invent a code." We are not inventing. We know E11.9 is a code.

Let's read the harness description: "Each item asks for one or more specific values. The required keys are named in the item itself." This item asks for "code". It says "Assign the single ICD-10-CM code for: ..." That means the item is requesting one code, the code that should be assigned for that description. In coding exams, when a diagnostic statement includes a disease and a medication, and they ask for "the ICD-10-CM code" (singular), often they want the code for the disease, and if there's an additional code for the drug, they would ask for "codes". But here they explicitly say "single ICD-10-CM code". Maybe they want us to output the code that represents the diabetes, E11.9, and they are ignoring the Z code because they said single. The metformin part may be there to test whether you know that drug management does not change the E11.9 code and is captured separately, but since they ask for one code, you just report E11.9? Or is the test: the correct single code that covers both disease and long-term drug use is actually Z79.84? No, Z79.84 does not cover the diabetes. If you only assign Z79.84, you're missing the diabetes. If you only assign E11.9, you're missing the long-term metformin use. The documentation says "managed on metformin". In ICD-10-CM, is the use of metformin considered part of the diabetes code? Let's verify the official coding guidelines again.
json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 3
Reasoning · 4,746 tokens
We need answer JSON with key "code". Task: Assign single ICD-10-CM code for: "Type 2 diabetes mellitus, no documented complications, managed on metformin." Need use ICD-10-CM code. No reference supplied, answer from knowledge. Must report code exactly as in code set. Need determine correct ICD-10-CM code. Type 2 diabetes mellitus without complications is E11.9. In ICD-10-CM, E11.9 is "Type 2 diabetes mellitus without complications". There's no separate code for "managed on metformin" affecting code? Actually ICD-10-CM has codes for diabetes due to drugs? No, type 2 diabetes mellitus, no documented complications, managed on metformin: The code is E11.9, and also long-term (current) use of metformin? In ICD-10-CM, there is Z79.84 "Long term (current) use of oral hypoglycemic drugs" or Z79.4? Wait, let's recall. ICD-10-CM: Z79.4 is "Long term (current) use of insulin". Z79.84 is "Long term (current) use of oral hypoglycemic drugs". Metformin is an oral hypoglycemic drug (biguanide). So if the documentation says managed on metformin, should we assign E11.9 plus Z79.84? The task asks: "Assign the single ICD-10-CM code for: 'Type 2 diabetes mellitus, no documented complications, managed on metformin.' Required key: 'code'." It says single ICD-10-CM code. Wait, they say single code, but managed on metformin might need additional code Z79.84? However the prompt asks single code. Let's examine. It says "Assign the single ICD-10-CM code for: ..." Required key: "code". So they want one code string. But there is a nuance: For diabetes, ICD-10-CM guidelines say if the patient is treated with oral hypoglycemic drugs, assign the appropriate diabetes code (E11.9) and also a code from Z79.84 for long-term use of oral hypoglycemic drugs. But if asked for single code for the diabetes, it's E11.9. But the phrase includes "managed on metformin," maybe they expect E11.9 only? Let's read carefully.

Task family: CODE SETS AND CLAIM EDITS. Each item asks for one or more specific values. Required keys named. Rules: "Report codes exactly as they are written in the code set, including the decimal point where the code set uses one. I10 has no decimal. E11.9 does. Do not add a decimal point that the code set does not use, and do not strip one that it does. Where a code carries a seventh character, include it. Booleans are JSON true/false. Integers... Where an item supplies reference material, that material is authoritative... Never invent a code. If you cannot identify correct value, return "UNKNOWN"."

No reference material supplied. Answer from what you know.

Item: "Type 2 diabetes mellitus, no documented complications, managed on metformin." Required key: "code". It says Assign the single ICD-10-CM code. So maybe they want code for the diagnosis. The term is Type 2 diabetes mellitus, no documented complications = E11.9. Managed on metformin is a treatment detail, not a complication, and the code for the diabetes itself is E11.9. But what about Z79.84? That is a separate code, not the single code for the statement. The statement is a diagnostic statement: "Type 2 diabetes mellitus, no documented complications, managed on metformin." If you were coding the encounter, you could code E11.9 and Z79.84. But the task says "single ICD-10-CM code for: [the phrase]". We need assign the single ICD-10-CM code. Let's consider examples. In ICD-10-CM, there is a combination? There's no combination code for type 2 diabetes on metformin. There is E11.9 (Type 2 diabetes mellitus without complications). There is also E11.9 with a 7th character? No, diabetes codes do not have 7th characters (except maybe for some? Actually ICD-10-CM diabetes mellitus codes are not 7th character required; they are 3-6 characters. E11.9 is valid. Is there an expanded code E11.9 with a 5th character? No. Let's verify: ICD-10-CM Tabular: E11 Type 2 diabetes mellitus. Includes: diabetes (mellitus) due to insulin secretory defect; diabetes (mellitus) type 2; insulin resistant diabetes (mellitus). Code first / use additional code etc. E11.9 Type 2 diabetes mellitus without complications. E11.10? Wait, check: E11.9? Actually ICD-10-CM: E11.9 is Type 2 diabetes mellitus without complications. There is no E11.0? Let's recall detailed: E10 Type 1; E11 Type 2. Categories: E11.0: Type 2 diabetes mellitus with hyperosmolarity. E11.1: with ketoacidosis. E11.2: with kidney complications. E11.3: with ophthalmic complications. E11.4: with neurological complications. E11.5: with circulatory complications. E11.6: with other specified complications. E11.7: with multiple complications. E11.8: with unspecified complications. E11.9: without complications. Yes. So E11.9.

But wait, what about "managed on metformin"? In ICD-10-CM, there is a note: "Use additional code to identify any long-term (current) drug therapy, such as Z79.4 Long term (current) use of insulin, or Z79.84 Long term (current) use of oral hypoglycemic drugs." The guidelines say: "If the patient is treated with both oral hypoglycemic drugs and insulin, both codes should be assigned." But for diabetes, you assign the appropriate E code and then Z79.4 or Z79.84 as additional. However the request is singular: "Assign the single ICD-10-CM code for: ..." If they wanted the additional code, they'd ask for multiple? It says "single ICD-10-CM code" and required key "code" (a single string). So we must output only one code. Which one? The prompt: "Type 2 diabetes mellitus, no documented complications, managed on metformin." If we parse the entire phrase, the condition is Type 2 DM without complications. The management is metformin. If they ask for the code for the diabetes, E11.9. If they ask for the code that captures metformin management, that would be Z79.84, but that alone doesn't capture type 2 diabetes. The instruction says "Assign the single ICD-10-CM code for: [condition statement]". Usually in coding, "Type 2 diabetes mellitus, no documented complications" = E11.9. The phrase "managed on metformin" may trigger an additional code but the primary diagnosis code is still E11.9. Since they ask for single code, maybe they want E11.9 because it's the code for the diagnosis described. The mention of metformin might be a distractor to see if you incorrectly assign Z79.84 alone or a complication code? Let's think of other possibilities.

Could there be a code for "Type 2 diabetes mellitus, no documented complications, managed on metformin" as a single combination in ICD-10-CM? No, ICD-10-CM doesn't have drug-specific diabetes codes. There is "type 2 diabetes mellitus without complications" E11.9. There is no "with drug" code. There is also Z79.84 for long-term use of oral hypoglycemic drugs, but that's not diabetes; it's a factor influencing health status. If they ask for a single ICD-10-CM code for the statement, the statement as a whole includes both the disease and its management. There's no single code that includes both. The task says "Assign the single ICD-10-CM code". If no single code exists, should we return "UNKNOWN"? Wait, rule: "Never invent a code. If you cannot identify the correct value, return the string "UNKNOWN" for that key. "UNKNOWN" scores as incorrect, but it is scored separately from a fabricated code, and the two are reported apart." But do we cannot identify a single correct code? Let's examine. Is the entity asking for "the single ICD-10-CM code" implying that there is one? They might be testing assignment of the correct diagnosis code and ignoring the medication? Or they expect "E11.9" because that's the code for type 2 diabetes without complications, and the metformin part doesn't change the code (but in real coding you'd also add Z79.84). But the phrase says "single ICD-10-CM code for: 'Type 2 diabetes mellitus, no documented complications, managed on metformin.'" Could the correct answer be E11.9 because it's the code for the diabetes, and metformin is captured by an additional code not requested? Or maybe the answer is Z79.84? No, Z79.84 is long-term (current) use of oral hypoglycemic drugs. But the statement is primarily "Type 2 diabetes mellitus, no documented complications". The codable condition is Type 2 DM without complications. The fact that it's managed on metformin is a treatment, not a complication. The instruction says "no documented complications" means E11.9 (without complications). If the patient were managed on insulin, you'd still use E11.9 plus Z79.4. The "managed on metformin" is an additional code. But the request says "single ICD-10-CM code". In many test questions, they ask "Assign the ICD-10-CM code(s) for the following diagnostic statement." If they say single code, maybe they want the primary diagnosis, E11.9. Let's search memory: In ICD-10-CM coding exercises, "Type 2 diabetes mellitus, no documented complications, managed on metformin" — answer: E11.9, Z79.84. But if only one code allowed? Wait, the statement: "Type 2 diabetes mellitus, no documented complications, managed on metformin." If coding this, you would assign: E11.9 (Type 2 diabetes mellitus without complications) and Z79.84 (Long term (current) use of oral hypoglycemic drugs). However, the prompt explicitly says "Assign the single ICD-10-CM code". It does not say "codes" or "and any additional codes". It says "the single ICD-10-CM code". That may be because they only want one key "code", not a list. Perhaps they ignore the Z79.84 because it's not a "code for" the diagnosis? Let's read the exact wording: "Assign the single ICD-10-CM code for: "Type 2 diabetes mellitus, no documented complications, managed on metformin." Required key: "code"." It says "the single ICD-10-CM code for: [description]". In standard coding, the "code for" the diagnosis is E11.9. The metformin management is not a diagnosis; it's a reason for long-term drug therapy, coded with Z79.84. If they wanted the additional code, they would ask for "codes". Since they ask for "the single... code for" the named condition, which is Type 2 DM without complications, it is E11.9.

But wait, there is an ICD-10-CM guideline: "Patients with diabetes mellitus who are treated with oral hypoglycemic drugs are assigned the appropriate diabetes code (E08-E13) and code Z79.84, Long term (current) use of oral hypoglycemic drugs." It doesn't say to use a different diabetes code based on metformin. So E11.9 is correct.

Let's check if they might want E11.9 with a 7th character? No, diabetes codes do not have 7th characters. The instruction mentions "Where a code carries a seventh character, include it." That's a general rule, not necessarily applicable. E11.9 has no seventh character. Must we include decimal? Yes, E11.9 has a decimal point between E11 and 9? Actually ICD-10-CM format is letter, two digits, decimal, then one or more digits: E11.9. The code set uses a decimal point after three characters: E11.9. The example in instructions: "I10 has no decimal. E11.9 does." Wait, I10 is Essential (primary) hypertension, which is written I10 (no decimal). E11.9 does have a decimal. So code is "E11.9". Need output JSON:

{
  "code": "E11.9"
}

But let's make sure about "managed on metformin". Could there be an instruction that since no reference material is supplied, answer from what you know. They say "single ICD-10-CM code". If we think no single code captures both, should we return UNKNOWN? Let's examine the scoring: If the gold answer is E11.9, returning UNKNOWN would be wrong. If the gold answer is E11.9 and we return Z79.84, that's wrong. If gold answer is Z79.84? No, that would not capture type 2 diabetes. If gold answer is UNKNOWN because no single code exists? Wait, the item says "Assign the single ICD-10-CM code for: ..." It presupposes there is a single code. The task family is "CODE SETS AND CLAIM EDITS". Maybe they want the code that would be used on a claim for this condition. In claim coding, you can have multiple diagnosis codes, but if they ask for "the single ICD-10-CM code", maybe they mean "what is the appropriate ICD-10-CM code (out of the possible codes) for this condition" and the answer is E11.9. The medication part is extraneous but does not change the diabetes code. The metformin part might require Z79.84 only if you are coding the long-term drug therapy, but that is a separate code, not a "code for type 2 diabetes mellitus". The phrase includes it, but the primary condition is still E11.9.

Let's recall the exact ICD-10-CM code Z79.84: "Long term (current) use of oral hypoglycemic drugs". Metformin is an oral hypoglycemic (biguanide). Actually, is metformin considered an "oral hypoglycemic drug"? Yes. Z79.84 includes oral antidiabetic drugs. Also there is Z79.85? Wait, check: In ICD-10-CM, Z79.84 is "Long term (current) use of oral hypoglycemic drugs". There is also Z79.4 for insulin. For non-insulin injectable? Not relevant. So additional code would be Z79.84. But the request is singular. The required key is "code", not "codes". If they wanted both, they'd require "codes" as a list. They didn't. So output a single string.

Wait, maybe they want "E11.9" exactly, with uppercase E? Yes. ICD-10-CM codes are alphanumeric with uppercase letters. The code is "E11.9". Not "e11.9". Use exactly as written in code set: E11.9.

Let's double-check that there isn't a more specific code like E11.9? Actually, check 2024 ICD-10-CM: E11.9 is Type 2 diabetes mellitus without complications. There's no E11.9 with a 5th character? No, Category E11 is Type 2 diabetes mellitus. Subcategories: E11.0, E11.1, E11.2, E11.3, E11.4, E11.5, E11.6, E11.7, E11.8, E11.9. The "without complications" is E11.9. It has no 5th digit. The decimal is after E11: E11.9. Wait, format: Chapter 4: Endocrine, nutritional and metabolic diseases (E00-E89). Diabetes mellitus codes: E08-E13. The codes are like E11.9: E11 is category, then decimal, then 9. Yes, that's a 4-character code? Actually E11.9 has 4 characters before decimal? Let's count: E is letter, 1,1 are digits -> E11, then decimal, then 9. So it's "E11.9". Some write it as E11.9, yes.

But wait, there is also E11.9? Actually, for Type 2 diabetes mellitus without complications, the code is E11.9. Is there a fifth character required for "without complications"? No, it's just E11.9. Good.

Now, let's consider whether the correct answer could be "E11.9, Z79.84" but since required key is "code" (single string), maybe they want "E11.9" only. The instructions say "If a task asks for a list, emit a JSON array even when it has one element or none." Here it does not ask for a list; it asks for key "code". So a string is fine. If they wanted multiple codes, they'd ask for "codes" and an array. They didn't. So I will answer "E11.9".

But let's reflect on "managed on metformin" and the possibility of code E11.9 plus Z79.84. The instruction: "Assign the single ICD-10-CM code for: 'Type 2 diabetes mellitus, no documented complications, managed on metformin.'" If a coding test asks for "the single ICD-10-CM code", they might mean from the provided description, choose the one best code that describes the diagnosis. The drug is not a complication. The phrase "no documented complications" points directly to E11.9 (without complications). If the patient were managed on insulin, it would still be E11.9 (plus Z79.4). So the drug does not change E11.9. Therefore the single ICD-10-CM code for the diagnosis is E11.9.

Let's verify if there is an instructional note under E11.9: "Use additional code to identify any long-term (current) drug therapy (Z79.4, Z79.84)." Yes, there is an "Use additional code" note at the E11 category or subcategory? Actually, at E11: "Use additional code to identify any long-term (current) insulin or oral hypoglycemic drug use (Z79.4, Z79.84)." Or at E11.9? Either way, the additional code is not the code for the diabetes. The request for "single ... code for: [statement]" likely means the principal diagnosis code.

Thus final JSON:

```json
{
  "code": "E11.9"
}
```

Need to output exactly one fenced JSON code block and nothing else. No preamble. So:

```json
{
  "code": "E11.9"
}
```

Wait, should I include a comma? No.

Double-check formatting: Money not involved. Dates not. Booleans not.

Let's ensure no trailing text. Just the fenced block.

One more thought: Could the code be "E11.9" or "E11.9"? The instruction: "E11.9 does [have a decimal]." So output "E11.9". Good.

What about "single ICD-10-CM code" maybe they expect "E11.9" but because metformin is an oral hypoglycemic, if you had to assign a single code that captures the fact that the diabetes is controlled by metformin? There's no such code, so returning UNKNOWN? Let's think about the UNKNOWN rule: "Never invent a code. If you cannot identify the correct value, return the string "UNKNOWN" for that key. "UNKNOWN" scores as incorrect, but it is scored separately from a fabricated code, and the two are reported apart." If the task asks for a single code and there are actually two codes required to fully capture the statement, can we identify a single correct code? The primary condition code is E11.9, which is correct for Type 2 diabetes mellitus without complications. The statement as a whole includes managed on metformin, but the instruction says "for: 'Type 2 diabetes mellitus, no documented complications, managed on metformin.'" It's a diagnostic statement. In ICD-10-CM, the diagnostic statement "Type 2 diabetes mellitus, no documented complications" is E11.9. The "managed on metformin" is not a diagnosis. If they ask to assign the single ICD-10-CM code for the statement, a coder would assign E11.9 and Z79.84. But since they demand a single code, they must be asking for the diagnosis code, not the additional Z code. If they wanted Z79.84, the statement would be "Long term (current) use of metformin" or "Patient is on metformin for diabetes". But they didn't. So E11.9 is safe.

Let's also recall if there is a code for "Type 2 diabetes mellitus without complications" perhaps E11.9 is not the exact term? Let's check ICD-10-CM index: Diabetes, diabetic (mellitus) (sugar) type 2 - E11.9. Without complication - E11.9. Yes.

Wait, in ICD-10-CM, E11.9 is "Type 2 diabetes mellitus without complications". Yes. Good.

Now produce final.
json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
100Qwen3.8 Flash · Alibaba9.1s · 95 out | 1.9s · 109 out | 7.5s · 148 out
Attempt 1
Reasoning · 72 tokens
We need answer JSON only. Need assign single ICD-10-CM code: Type 2 diabetes mellitus, no documented complications, managed on metformin. Likely E11.9 Type 2 diabetes mellitus without complications. Need output {"code":"E11.9"}. Ensure decimal as code set. Final fenced JSON.
json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 2
Reasoning · 86 tokens
We need answer JSON with code. Need assign single ICD-10-CM code: Type 2 diabetes mellitus, no documented complications, managed on metformin. No reference supplied, answer from what I know. ICD-10-CM: E11.9 Type 2 diabetes mellitus without complications. Need output exactly one fenced JSON code block no extra. Ensure keys only code. final.
json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 3
Reasoning · 125 tokens
We need answer user's request: Assign single ICD-10-CM code for "Type 2 diabetes mellitus, no documented complications, managed on metformin." Required key code. Need output one fenced JSON only. Need think carefully. ICD-10-CM for type 2 diabetes mellitus without complications is E11.9. Managed on metformin doesn't add complication. No documented complications. E11.9 exactly as code set uses decimal. Need final JSON: {"code":"E11.9"} in fenced code block. Ensure no extra keys. Final.
json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
100Kimi K2.6 · Moonshot1.4s · 172 out | 4.4s · 286 out | 15.2s · 622 out
Attempt 1
Reasoning · 158 tokens
 We need to assign a single ICD-10-CM code for "Type 2 diabetes mellitus, no documented complications, managed on metformin."
Required key: "code".

No reference material supplied. Must answer from knowledge. 

ICD-10-CM code for Type 2 diabetes mellitus without complications is E11.9. The phrase "no documented complications" points to E11.9. The management on metformin doesn't change the code; there is no code for "on metformin" specifically in ICD-10-CM without complications. The correct code is E11.9.

Need to output exactly one fenced JSON code block and nothing else.

```json
{
  "code": "E11.9"
}
``` 
json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 2
Reasoning · 269 tokens
The user wants me to assign a single ICD-10-CM code for the diagnosis: "Type 2 diabetes mellitus, no documented complications, managed on metformin."

Required key: "code"

I need to provide a JSON block with exactly that key.

ICD-10-CM code for Type 2 diabetes mellitus without complications is E11.9. The description is "Type 2 diabetes mellitus without complications." The fact that it is managed on metformin does not change the ICD-10-CM code; there is no code that captures the medication in the diagnosis code itself. The key is "no documented complications."

So the code should be E11.9.

I need to ensure I follow the output contract: exactly one fenced JSON code block, no preamble, no commentary.

```json
{
  "code": "E11.9"
}
```

I should double-check: E11.9 is correct for Type 2 diabetes mellitus without complications. Yes. The decimal point is used. No seventh character. Code sets uses decimal.

The prompt says "Report codes exactly as they are written in the code set, including the decimal point where the code set uses one. E11.9 does." So E11.9 is correct.

The JSON should have only the required key.
json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 3
Reasoning · 604 tokens
The user wants a single ICD-10-CM code for "Type 2 diabetes mellitus, no documented complications, managed on metformin."

Key facts:
- Type 2 diabetes mellitus
- No documented complications
- Managed on metformin (this is medication, but ICD-10-CM coding for diabetes often uses specific complication codes if documented. However, the provider documentation here says "no documented complications.")

The standard ICD-10-CM code for Type 2 diabetes mellitus without complications is E11.9.

Let me verify: 
- E11.9 is "Type 2 diabetes mellitus without complications"
- The management on metformin does not change the code to a complication code since the prompt explicitly states "no documented complications." Metformin is just the medication used to manage it.

The code set uses a decimal point. So it should be E11.9.

Required key: "code"

I need to output exactly one fenced JSON code block:

```json
{
  "code": "E11.9"
}
```

No reference material was supplied, so I answer from what I know. Never invent a code. E11.9 is the correct code.

Check formatting rules:
- Report codes exactly as written, including decimal point. E11.9 has a decimal.
- Booleans are true/false. Not applicable.
- Required key is "code". Include it. Don't add others.

Final check: Is there any other code that could be more specific? "Managed on metformin" - there is no ICD-10-CM code for "diabetes on metformin." Z79.84 is the long-term use code for oral hypoglycemics, but the prompt asks for "the single ICD-10-CM code" and describes the condition. The condition is Type 2 diabetes mellitus without complications. If they wanted the medication status, they might ask for a Z-code, but the entity to be coded is the diagnosis/condition described. Usually, the primary code for the diagnosis is E11.9. The instruction "Assign the single ICD-10-CM code for" the quoted text points to E11.9.

Wait, is it possible they want a code from category E11? Yes. E11.9 is the only one that fits without complications.

Could the management on metformin imply "controlled"? No, "controlled" is not coded differently in ICD-10-CM unless specified as "stable" or something, but that still maps to without complications generally.

What about "long-term (current) use of oral hypoglycemic drugs" Z79.84? That is a status code, not the code for the disease itself. The prompt says "Assign the single ICD-10-CM code for: 'Type 2 diabetes mellitus...'" So the subject is the diabetes mellitus.

Thus, E11.9.

One fenced JSON block only.
json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
100DeepSeek V4 Pro · DeepSeek3.5s · 161 out | 2.6s · 129 out | 4.0s · 220 out
Attempt 1
Reasoning · 142 tokens
We are asked to assign a single ICD-10-CM code for "Type 2 diabetes mellitus, no documented complications, managed on metformin." 

From ICD-10-CM guidelines: Type 2 diabetes mellitus without complications is coded as E11.9. However, the phrase "managed on metformin" implies the patient is on medication for diabetes, but the code for diabetes itself does not change based on medication unless there is insulin use (Z79.4 for insulin). For non-insulin medications like metformin, no additional code is required. So the appropriate code is E11.9.

Thus, output:

```json
{
  "code": "E11.9"
}
```
json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 2
Reasoning · 111 tokens
We are asked to assign a single ICD-10-CM code for "Type 2 diabetes mellitus, no documented complications, managed on metformin." In ICD-10-CM, the code for type 2 diabetes mellitus without complications is E11.9. The fact that it's managed on metformin doesn't change the diagnosis code; it's still diabetes without complications. So the code is E11.9. Note: ICD-10-CM codes use a period after the third character, so it should be "E11.9".
json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 3
Reasoning · 204 tokens
We are asked to assign a single ICD-10-CM code for "Type 2 diabetes mellitus, no documented complications, managed on metformin." We need to recall the ICD-10-CM code for type 2 diabetes without complications. The code for type 2 diabetes mellitus without complications is E11.9. However, note that there is also E11.8 for "Type 2 diabetes mellitus with unspecified complications" and E11.65 for "Type 2 diabetes mellitus with hyperglycemia" etc. Since it says "no documented complications," the appropriate code is E11.9. Also, "managed on metformin" indicates the patient is on medication but that does not change the diabetes code to "with insulin" or something else; metformin is an oral agent, so code remains E11.9. The instruction says "Assign the single ICD-10-CM code" so we return that. The required key is "code", so we output a JSON object with that key.
json{"code": "E11.9"}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
100GPT-5.6 Luna · OpenAI0.8s · 16 out | 1.1s · 35 out | 0.8s · 35 out
Attempt 1
json{"code":"E11.9"}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 2
json{"code":"E11.9"}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 3
json{"code":"E11.9"}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
100DeepSeek V4 Flash · DeepSeek1.2s · 87 out | 7.7s · 162 out | 8.3s · 158 out
Attempt 1
Reasoning · 71 tokens
We need answer ICD-10-CM code for Type 2 diabetes mellitus, no documented complications, managed on metformin. Single code. Likely E11.9 Type 2 diabetes mellitus without complications. Need exactly code string E11.9. Ensure no decimal? Code set uses E11.9 with decimal. Yes. Output JSON with key code.
json{"code":"E11.9"}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 2
Reasoning · 144 tokens
We need to assign ICD-10-CM code for Type 2 diabetes mellitus without complications. The standard code is E11.9 (Type 2 diabetes mellitus without complications). The mention of metformin is just treatment, not a complication. So code is E11.9. Ensure no decimal? ICD-10 codes have decimal after 3 characters, but in coding they often omit. The instruction says report exactly as written, including decimal? Typically E11.9 has decimal as E11.9. But "including the decimal point where the code set uses one" - ICD-10-CM codes are typically written with a decimal, e.g., E11.9. So we'll include that.
json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 3
Reasoning · 140 tokens
We need to assign ICD-10-CM code for type 2 diabetes mellitus without complications, managed on metformin. The code is E11.9 (Type 2 diabetes mellitus without complications). The medication metformin does not change the code; it's just treatment. So answer: E11.9. Ensure no decimal? ICD-10-CM codes are alphanumeric with decimal after third character, but in billing it's often without decimal? The instruction says "Report codes exactly as they are written in the code set, including the decimal point where the code set uses one. I10 has no decimal. E11.9 does." So include decimal: E11.9.
json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
100Claude Haiku 4.5 · Anthropic12.9s · 594 out | 6.5s · 497 out | 15.0s · 836 out
Attempt 1
Reasoning · 570 tokens
The user is asking me to assign a single ICD-10-CM code for "Type 2 diabetes mellitus, no documented complications, managed on metformin."

Let me think through the ICD-10-CM hierarchy for Type 2 diabetes mellitus:

Type 2 diabetes mellitus codes start with E11.

The structure of E11 codes includes:
- E11.0 - with hyperosmolarity
- E11.1 - with ketoacidosis
- E11.2 - with hypoglycemia
- E11.3 - with ophthalmic complications
- E11.4 - with neurological complications
- E11.5 - with circulatory complications
- E11.6 - with other specified complications
- E11.7 - with multiple complications
- E11.8 - with unspecified complications
- E11.9 - without complications

Since the prompt states "no documented complications," the appropriate code would be E11.9 (Type 2 diabetes mellitus without complications).

The fact that it's "managed on metformin" is a treatment detail but not something that changes the diagnostic code. The medication management doesn't alter the ICD-10-CM coding; that's more for documentation purposes and potentially for procedures/medications captured elsewhere.

So the answer should be E11.9 (note that E11 codes do have a decimal point per ICD-10-CM standard).

Let me verify: ICD-10-CM codes for diabetes typically use the format of the category code followed by a decimal and a 5th character (and sometimes additional characters). E11.9 is the correct format for Type 2 diabetes without complications.

Actually, I need to be careful here. Let me reconsider the ICD-10-CM structure for E11:

E11 - Type 2 diabetes mellitus

The fifth character typically indicates complications:
- E11.9 = without complications

This is a three-character main code (E11) with a decimal point and additional characters. 

E11.9 fits this case well since there's no complication documented—metformin therapy doesn't change the code itself, just confirms management approach. This gives me confidence E11.9 is the final answer.

json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 2
Reasoning · 472 tokens
The task is asking for the ICD-10-CM code for "Type 2 diabetes mellitus, no documented complications, managed on metformin."

Let me think through the ICD-10-CM coding for Type 2 diabetes:

Type 2 diabetes mellitus codes in ICD-10-CM start with E11.

The structure is:
- E11: Type 2 diabetes mellitus
  - The fifth character (after the decimal) indicates complications
  - E11.9 typically means "with unspecified complications" or "without complications"

Since the description says "no documented complications," I need the code that indicates diabetes without complications.

In ICD-10-CM for Type 2 diabetes:
- E11.9 = Type 2 diabetes mellitus without complications

The fact that the patient is managed on metformin is noted, but this doesn't change the diagnosis code itself. The diabetes code reflects the disease state and any complications, not the medication used for management.

The most appropriate code would be E11.9 (Type 2 diabetes mellitus without complications).

Let me verify this is correct:
- E11 = Type 2 diabetes mellitus
- The 5th character breakdown:
  - E11.0 = with hyperosmolarity
  - E11.1 = with ketoacidosis
  - E11.2 = with hypoglycemia
  - E11.3 = with ophthalmic complications
  - E11.4 = with neurological complications
  - E11.5 = with circulatory complications
  - E11.6 = with other specified complications
  - E11.8 = with other specified complications (diabetes control)
  - E11.9 = without complications

Since there are no documented complications, E11.9 is the correct code.

The instruction says "Report codes exactly as they are written in the code set, including the decimal point where the code set uses one." E11.9 includes a decimal point, so I should report it as E11.9.
json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 3
Reasoning · 812 tokens
The user is asking for the ICD-10-CM code for "Type 2 diabetes mellitus, no documented complications, managed on metformin."

Let me think through the ICD-10-CM coding for this:

Type 2 diabetes mellitus in ICD-10-CM starts with E11.

The structure for diabetes codes in ICD-10-CM is:
- E10 = Type 1 diabetes mellitus
- E11 = Type 2 diabetes mellitus
- E13 = Other specified diabetes mellitus
- E14 = Unspecified diabetes mellitus

For E11 (Type 2 diabetes), the codes are organized by complications:

E11.0 - with hyperosmolarity
E11.1 - with ketoacidosis
E11.2 - with hypoglycemia
E11.3 - with ophthalmic complications
E11.4 - with neurological complications
E11.5 - with circulatory complications
E11.6 - with other specified complications
E11.7 - with multiple complications
E11.8 - with unspecified complications
E11.9 - without complications

Since the case states "no documented complications," the appropriate code would be E11.9.

However, let me verify this is correct:
- Type 2 diabetes = E11
- No documented complications = .9

The full code would be E11.9

The instruction says "managed on metformin" - but metformin is a medication and would not be part of the diagnosis code itself. The ICD-10-CM code describes the condition, not the treatment. Medications are typically noted separately or in the EHR but not coded within the diagnosis code itself.

So the answer should be: E11.9

This is a seventh character required code family. Let me double-check: E11.9 - this should be the complete code. In ICD-10-CM, diabetes codes do have a structure, but E11.9 is the correct code for Type 2 diabetes without complications.
This confirms the fifth character pattern I outlined - E11.9 sits as the final category for "without complications," and no seventh character extension applies here since that requirement is specific to certain other code families (like injuries or fractures), not diabetes codes. E11.9 stands as the complete, valid code.

json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
100DeepSeek V3.2 · DeepSeek0.9s · 17 out | 1.7s · 17 out | 1.5s · 17 out
Attempt 1
json{
    "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 2
json{
  "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}
Attempt 3
json{
    "code": "E11.9"
}
Grader detail
json{
  "fields": [
    {
      "field": "code",
      "want": "E11.9",
      "got": "E11.9",
      "ok": true,
      "present": true
    }
  ],
  "fabricated": false,
  "abstained": false
}