[**European Parliament MCP Server API v1.3.9**](../../../../README.md)

***

[European Parliament MCP Server API](../../../../modules.md) / [clients/ep/jsonLdHelpers](../README.md) / mapDocumentStatus

# Function: mapDocumentStatus()

> **mapDocumentStatus**(`rawStatus`): [`DocumentStatus`](../../../../types/ep/document/type-aliases/DocumentStatus.md)

Defined in: [clients/ep/jsonLdHelpers.ts:233](https://github.com/Hack23/European-Parliament-MCP-Server/blob/main/src/clients/ep/jsonLdHelpers.ts#L233)

Maps a raw status string to a valid DocumentStatus.

## Parameters

### rawStatus

`string`

Raw status string from EP API

## Returns

[`DocumentStatus`](../../../../types/ep/document/type-aliases/DocumentStatus.md)

Valid DocumentStatus
