# Check FHIR store health

Canonical page: https://docs.ovok.com/api/healthcheck/check-fhir-store-health

`GET /healthcheck/fhir`

Checks whether the backend can reach the FHIR store and returns the FHIR store's own health report. Its old paths, `GET /healthcheck/fhir-store` and `GET /healthcheck/medplum`, answer `301` with `Location: /healthcheck/fhir`.

**Auth:** none. The route needs no bearer token.

## Behaviour

- Calls the FHIR store's `healthcheck` endpoint and returns `ok`, `version`, `platform`, `runtime`, `postgres` and `redis` from its answer.
- When the call fails, the route still answers `200`, with `ok`, `postgres` and `redis` set to `false` and `version`, `platform` and `runtime` set to empty strings.
- Unlike `GET /healthcheck`, this probe has no time limit of its own.

## Example

```bash
curl -X GET 'https://api.sandbox.ovok.com/healthcheck/fhir'
```
