> For the complete documentation index, see [llms.txt](https://docs.otherplanet.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.otherplanet.dev/scripts/op-ambulance-job/exports/client-side.md).

# Client Side

Client Side list of exports/events.

{% hint style="warning" %}
Missing an export? Contact us on our Discord Server.
{% endhint %}

***

#### GetMedicalState / IsDowned / IsDead

```lua
local medical = exports['op-ambulancejob']:GetMedicalState()
local downed = exports['op-ambulancejob']:IsDowned()
local dead = exports['op-ambulancejob']:IsDead()
```

***

#### IsOnDuty

```lua
local onDuty = exports['op-ambulancejob']:IsOnDuty()
```

***

#### ExaminePatient

```lua
exports['op-ambulancejob']:ExaminePatient(serverId)
```

***

#### IsTreating

```lua
local busy = exports['op-ambulancejob']:IsTreating()
```

***

#### Item exports (inventory)

Used from inventory item definitions:

```lua
exports['op-ambulancejob']:useBandage()
exports['op-ambulancejob']:useMedkit()
exports['op-ambulancejob']:usePainkillers()
exports['op-ambulancejob']:useEmsGps()
exports['op-ambulancejob']:useEmsStretcher()
exports['op-ambulancejob']:useEmsWheelchair()
exports['op-ambulancejob']:usePlaceable(data, slot)
```
