# ovok_sdk.resources.measurement_context

Canonical page: https://docs.ovok.com/python-sdk/reference/resources/measurement_context

What a person noted about a reading: body site, position, feeling and note.

## with_measurement_context() [#with_measurement_context]

```python
with_measurement_context(observation: Resource, context: Resource) -> Resource
```

Return the Observation with the context's fields added.

**Parameters**

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `observation` | `Resource` |  | The reading's main Observation. |
| `context` | `Resource` |  | Optional `body_site` (CodeableConcept), `body_position` (`sitting`, `standing` or `lying`), `feeling` (`great`, `good`, `okay`, `bad` or `awful`) and `note`. camelCase keys are accepted too. |

**Returns**

- `Resource`: A new Observation; a field the context leaves out stays as it was.

**Raises**

- `OvokValidationError`: The position or feeling is not one of the listed values.

## read_measurement_context() [#read_measurement_context]

```python
read_measurement_context(observation: Resource) -> Resource
```

Return the context saved on a reading's main Observation.

**Parameters**

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `observation` | `Resource` |  | The Observation. |

**Returns**

- `Resource`: The `body_site`, `body_position`, `feeling` and `note` it carries; missing ones
- `Resource`: are left out.
