---
title: "Discover On Care Contexts"
method: POST
path: "/abdm/v1/care-contexts/on-discover"
---

# Discover On Care Contexts

`POST /abdm/v1/care-contexts/on-discover`

This API is used to send unlinked care contexts to abdm.

## Headers

- `X-Pt-Id` string
- `X-Partner-Pt-Id` string
- `X-Hip-Id` string

## Request body

- ModelsDiscoverCareContextHmisConnect
  - `error` ModelsError
    - `code` integer — Error code indicating the type of error
    - `message` string — Detailed error message
  - `patients` ModelsPatient[] — List of patients including reference number, display name, care contexts, and HI type
    - `care_contexts` ModelsCareContext[] — List of care contexts of the patient
      - `display` string — Display name or identifier for the care context
      - `ref_num` string — Unique reference number for the care context
    - `display` string — Display name or identifier for the patient
    - `hi_type` 'OPConsultation' | 'Prescription' | 'DischargeSummary' | 'DiagnosticReport' | 'ImmunizationRecord' | 'HealthDocumentRecord' | 'WellnessRecord' — Type of health information (HI)
    - `ref_num` string — patient reference number.
  - `request_id` string, required — Request ID that is received in the webhook call
  - `txn_id` string, required — transaction id that is received in the webhhok call.

## Response `204`

No Content

## Other responses

- `4XX`
- `5XX`

---

[API](https://skmtc.net/eka/apis/eka-developer-apis.md) · [All operations](https://skmtc.net/eka/apis/eka-developer-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/eka/eka-developer-apis/revisions/9ea23456f722/schema)
