# SlimResource

Canonical page: https://docs.ovok.com/java-sdk/reference/slim-resource

```java
public final class SlimResource
```

Groups the Slim care-home routes (`/v1/slim`) by resource. Get it from [`Ovok.slim()`](/java-sdk/reference/ovok#slim).

## Methods [#methods]

### patients [#patients]

```java
public PatientsResource patients()
```

Returns the Slim patient routes.

**Returns:** the patients resource

### devices [#devices]

```java
public DevicesResource devices()
```

Returns the Slim device routes.

**Returns:** the devices resource

### notifications [#notifications]

```java
public NotificationsResource notifications()
```

Returns the Slim notification routes.

**Returns:** the notifications resource

### thresholds [#thresholds]

```java
public ThresholdsResource thresholds()
```

Returns the Slim threshold routes.

**Returns:** the thresholds resource

### trends [#trends]

```java
public TrendsResource trends()
```

Returns the Slim trend routes.

**Returns:** the trends resource

### sleep [#sleep]

```java
public SleepResource sleep()
```

Returns the Slim sleep routes.

**Returns:** the sleep resource

### locations [#locations]

```java
public LocationsResource locations()
```

Returns the Slim location routes.

**Returns:** the locations resource

### zones [#zones]

```java
public ZonesResource zones()
```

Returns the Slim zone routes.

**Returns:** the zones resource

### exports [#exports]

```java
public ExportsResource exports()
```

Returns the Slim export routes.

**Returns:** the exports resource

### changeHistory [#changehistory]

```java
public ChangeHistoryResource changeHistory()
```

Returns the Slim change-history routes.

**Returns:** the change-history resource

### projects [#projects]

```java
public SlimProjectsResource projects()
```

Returns the Slim project routes.

**Returns:** the projects resource

### policies [#policies]

```java
public PoliciesResource policies()
```

Returns the Slim access-policy routes.

**Returns:** the policies resource

### organizations [#organizations]

```java
public OrganizationsResource organizations()
```

Returns the Slim organization routes.

**Returns:** the organizations resource

### practitioners [#practitioners]

```java
public PractitionersResource practitioners()
```

Returns the Slim practitioner routes.

**Returns:** the practitioners resource

### users [#users]

```java
public UsersResource users()
```

Returns the Slim user routes.

**Returns:** the users resource

### health [#health]

```java
public JsonNode health() throws IOException, InterruptedException
```

Checks that the Slim API is up (`GET /v1/slim/health`).

**Returns:** the health status

**Throws:**

- `IOException`: if the request cannot be sent or the response cannot be read
- `InterruptedException`: if the thread is interrupted while waiting for the response

```java
public JsonNode health(RequestOptions options) throws IOException, InterruptedException
```

Checks that the Slim API is up (`GET /v1/slim/health`).

**Parameters:**

- `options`: per-request options, such as the timeout

**Returns:** the health status

**Throws:**

- `IOException`: if the request cannot be sent or the response cannot be read
- `InterruptedException`: if the thread is interrupted while waiting for the response
