# Referral Gateway

Enables healthcare service provider to check referral requirements by sending member identification (plus confirming demographics) , service category/ department and performing facility , Based on the provided information referral gateway will return if primary care referral is needed.

## get referral requirements.

<mark style="color:blue;">`GET`</mark> `https://api-dev.sehhati.ae/v1/referral`

check referral requirements

#### Request Body

| Name                                          | Type   | Description                                                                                                                                                                                                                                                                                                                     |
| --------------------------------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| nationalId<mark style="color:red;">\*</mark>  | string | The national ID of patient                                                                                                                                                                                                                                                                                                      |
| gender<mark style="color:red;">\*</mark>      | string | The gender of the patient **M**: male, **F**: female, **U**: unknown                                                                                                                                                                                                                                                            |
| DoB<mark style="color:red;">\*</mark>         | string | The date of birth of patient in the format of dd/mm/yyyy                                                                                                                                                                                                                                                                        |
| serviceType<mark style="color:red;">\*</mark> | string | <p>Patient's desired medical service type for community care</p><p><em>Available values</em> : Audiology, Cardiology, Dermatology, Gastroenterology, Gynecology, MentalHealthCare, Nutrition, Ophthalmology, Optometry, Orthopedics, Podiatry, PrimaryCare, Urology, WomensHealth</p><p><em>Example</em> : Gastroenterology</p> |

{% tabs %}
{% tab title="200 executed successfully" %}

```json
{
    "name":"Ahmad Ali",
    "referralRequired":"yes"
    "timestamp":"2022-11-15T13:17:58.250Z"
}
```

{% endtab %}

{% tab title="401 Permission denied" %}
please check provided api key
{% endtab %}
{% endtabs %}
