# Get a medical concept

Operation ID: `graph.getMedicalConcept`

Get one medical concept by id, plus its immediate relationships. concept_id is '{VOCAB}:{code}' (e.g. 'SNOMED:195967001'); legacy SNOMED nodes may still resolve by sctid alone.

## Public method

`getMedicalConcept`

Signature: `graph.getMedicalConcept(conceptId)`

Return type: `Promise<MedicalConceptDetailsResponse>`

## Authentication

Classification: **AUTHENTICATED**

Schemes: `bearerAuth`

## Prerequisites

None documented.

## HTTP

`GET /medical-concepts/{concept_id}`

## Path parameters

| Name | Type | Required | Format | Allowed values | Default | Nullable | Description |
|---|---|---:|---|---|---|---:|---|
| `concept_id` | `string` | Yes |  |  |  | No |  |

## Query parameters

None.

## Body parameters

None.

Request model: None.

## Request example

None declared in canonical OpenAPI.

## Success responses

| Status | Shape | Content type | Description |
|---|---|---|---|
| `200` | [`GetMedicalConceptResponse`](../models/GetMedicalConceptResponse.md) | application/json | Successful Response |

## Success response examples

### 200

```json
null
```

## Common errors

| Status | Shape | Content type | Description |
|---|---|---|---|
| `401` | [`graph.ErrorResponse`](../models/graph.ErrorResponse.md) | application/json | Authorization required — missing or invalid Bearer JWT |
| `404` | [`graph.ErrorResponse`](../models/graph.ErrorResponse.md) | application/json | No record exists for the supplied id |
| `500` | [`graph.ErrorResponse`](../models/graph.ErrorResponse.md) | application/json | Internal server error |

## Error examples

### 401 — Missing or invalid access token

```json
{
  "error": "Authorization required"
}
```

### 404 — No record matches the supplied id

```json
{
  "error": "Not found"
}
```

### 500 — Unexpected service failure (sanitized example)

```json
{
  "error": "Internal server error"
}
```

## NodeJS / TypeScript implementation

```ts
import { HCSDK } from "@healthcloudai/hc-sdk";
```

```ts
const conceptId = "<CONCEPT_ID>";

const result = await graph.getMedicalConcept(conceptId);
```

## cURL

```bash
curl -X GET \
  -H 'Authorization: Bearer <ACCESS_TOKEN>' \
  'https://dev-api-graph.health.cloud/medical-concepts/%3CCONCEPT_ID%3E'
```

## Notes

None.

## Prepared Test Console scenario

No canonical scenario is currently associated.

## Real response

No approved real integration response is currently published. Unapproved candidates are never rendered as examples.
