> For the complete documentation index, see [llms.txt](https://docs.mindee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mindee.com/v1/docti/use-cases-docti/medicare-health-insurance-card.md).

# Medicare Health Insurance Card

This section describes how to build your custom OCR API to extract data from the Medicare Health Insurance card using docTI. A Medicare Health Insurance card is your proof of Medicare medical insurance.

## Prerequisites

You’ll need at least one Health insurance card image or pdf to test your model once created.

## Define Your Medical Health Insurance Card Use Case

Using the [Medical Health Insurance Card](https://files.readme.io/e32d3b2-image-54.png) below, we’re going to define the fields we want to extract from it.

<figure><img src="/files/ZT57FNKXgbnJ77H1as67" alt=""><figcaption></figcaption></figure>

* **Card Owner**: The full name card owner
* **ID Number**: The unique identifier claim number
* **Sex**: Gender of the card owner
* **Hospital Effective Date**: Start date of the hospital coverage
* **Medical Effective Date**: Start date of the medical coverage

That’s it for this example. Feel free to add any other relevant data that fits your requirement.

## Deploy your API

Once you have defined the list of fields you want to extract from your Medicare Health Insurance card , head over to the platform and follow these steps:

1. Log into your [Mindee account](https://platform.mindee.com/login). You'll land on the My APIs page.
2. Click the docTI tab.
3. Click the **Create a new API** button.

<figure><img src="/files/0T634mkTqIoy8sQNMxuB" alt=""><figcaption></figcaption></figure>

On the\*\* Set up your API\*\* section, fill in the required information. Give the API a name, a description (optional), and a cover image(optional) and click on **Next**.

<figure><img src="/files/IipIVSCcmsSxrNodNIfP" alt=""><figcaption></figcaption></figure>

## Define Your Model

Click on the different fields to add them to your list

Using the interface, you can manually add each field for the data you are extracting.

<figure><img src="/files/mgOXLc76BZWhCnXx2zha" alt=""><figcaption></figcaption></figure>

Once you’re done setting up your data model, click the **Create API** button at the bottom of the screen.

You are now ready to test your API on the live interface.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.mindee.com/v1/docti/use-cases-docti/medicare-health-insurance-card.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
