---
title: "Check 30-day prescription overlap (sync translating proxy)"
method: POST
path: "/api/v1/drugs/restriction/overlap-check"
tags: ["Open API", "Restriksi Obat"]
---

# Check 30-day prescription overlap (sync translating proxy)

`POST /api/v1/drugs/restriction/overlap-check`

## Request

- Base URL: `https://developer.claimmind.life` (the document declares no server; this is the origin it was published from)
- URL: `https://developer.claimmind.life/api/v1/drugs/restriction/overlap-check`
- Auth: none declared. Required headers: `X-API-Key`

Synchronous advice endpoint: the client supplies today's prescription session plus the patient's recent history; the validator flags collisions inside the window. Brochure vocabulary in/out, machine vocabulary downstream. Stateless.

## Headers

- `X-API-Key` string, required

## Request body

- OverlapCheckRequest: POST /drugs/restriction/overlap-check -- brochure vocabulary. The client supplies the patient's history; nothing is fetched server-side.
  - `overlap_window_days` integer, nullable
  - `current_prescriptions` OverlapSession, required: A prescription session (current or historical), brochure vocabulary.
    - `date` string, required: Session date (YYYY-MM-DD)
    - `clinic` string, nullable
    - `doctor` string, nullable
    - `doctor_specialty` string, nullable: Forwarded downstream; doctor itself is redacted to a title-only placeholder
    - `prescriptions` OverlapPrescriptionItem[]
      - `external_item_id` string, required: Client's HIS item identifier
      - `item_name` string, required: Drug name as-is from HIS
      - `qty` integer, required: Quantity prescribed
      - `formulation` string, nullable: Dosage form (e.g. TBL, CAP)
      - `apol_id` string, nullable
      - `signa` string, nullable
      - `notes` string, nullable: Brochure-only; not sent downstream
  - `historical_prescriptions` OverlapSession[]
    - `date` string, required: Session date (YYYY-MM-DD)
    - `clinic` string, nullable
    - `doctor` string, nullable
    - `doctor_specialty` string, nullable: Forwarded downstream; doctor itself is redacted to a title-only placeholder
    - `prescriptions` OverlapPrescriptionItem[]
      - `external_item_id` string, required: Client's HIS item identifier
      - `item_name` string, required: Drug name as-is from HIS
      - `qty` integer, required: Quantity prescribed
      - `formulation` string, nullable: Dosage form (e.g. TBL, CAP)
      - `apol_id` string, nullable
      - `signa` string, nullable
      - `notes` string, nullable: Brochure-only; not sent downstream

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/claimmind/apis/claimmind-open-api-service.md) - [All operations](https://skmtc.dev/claimmind/apis/claimmind-open-api-service/llms.txt) - [OpenAPI document](https://skmtc.dev/claimmind/apis/claimmind-open-api-service/revisions/ee8bfbeadb8a?raw)
