[O3 Framework](../API.md) / toLocationObject

# Function: toLocationObject()

> **toLocationObject**(`openmrsRestForm`): [`Location`](../interfaces/Location.md)

Defined in: [packages/framework/esm-emr-api/src/location.ts:7](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/location.ts#L7)

## Parameters

### openmrsRestForm

`any`

## Returns

[`Location`](../interfaces/Location.md)
