---
title: "management_screening"
description: "Series of questions and associated answers used to screen for clinical management including, but not limited to treatments, therapies and hospitalisation."
---

Series of questions and associated answers used to screen for clinical management including, but not limited to treatments, therapies and hospitalisation.

**Purpose.** To create a framework for recording answers to pre-defined screening questions about the broad range of clinical management that has been carried out in the past, with the exception of medications or surgical/operative procedures.

## Source

| Model | Leg | Role |
|---|---|---|
| `openEHR-EHR-OBSERVATION.management_screening.v2` | openEHR | defines this table |

## Columns

| Column | Type | Null | Description | Source |
|---|---|---|---|---|
| `id` | `uuid primary key` | no | Primary key. | — |
| `form_id` | `uuid` → [`form`](/docs/tables/form) | no | The form this entry was recorded on. | — |
| `form_block_id` | `uuid` | yes | The block within the form, when the entry is bound to one. | — |
| `screening_purpose`<br />`screening_purpose_code`<br />`screening_purpose_system`<br />`screening_purpose_valueset_id` | coded text<br />`text`, `text`, `text`, `text` | yes | Screening purpose | `/data[at0001]/events[at0002]/data[at0003]/items[at0034]` |
| `any_management` | `boolean` | yes | Any management? | `/data[at0001]/events[at0002]/data[at0003]/items[at0039]` |
| `description` | `text` | yes | Description | `/data[at0001]/events[at0002]/data[at0003]/items[at0044]` |

## Constraints

```sql
check ((screening_purpose_code is null and screening_purpose_system is null and screening_purpose_valueset_id is null) or (screening_purpose is not null and screening_purpose_code is not null and screening_purpose_system is not null and screening_purpose_valueset_id is not null))
```

## Unique

- `form_block_id`

## References

| Columns | Target | On delete |
|---|---|---|
| `form_id` | [`form`](/docs/tables/form) | cascade |
| `form_id, form_block_id` | [`form_block`](/docs/tables/form_block) | cascade |
| `screening_purpose_valueset_id, screening_purpose_code, screening_purpose_system, screening_purpose` | [`valueset_code`](/docs/tables/valueset_code) | restrict |

## Referenced by

- [`management_screening_management_activity`](/docs/tables/management_screening_management_activity) via `management_screening_id`

## Indexes

- `management_screening_form_id_idx` on `form_id`

## Child tables

2 tables hang off `management_screening`, one row per repetition.

### `management_screening_management_activity`

Child table — one row per repetition, deleted with its parent.

| Column | Type | Null | Description | Source |
|---|---|---|---|---|
| `id` | `uuid primary key` | no | Primary key. | — |
| `management_screening_id` | `uuid` → [`management_screening`](/docs/tables/management_screening) | no | — | — |
| `position` | `integer` | no | Order of this row within its parent, from zero. | — |
| `management_name`<br />`management_name_code`<br />`management_name_system`<br />`management_name_valueset_id` | coded text<br />`text`, `text`, `text`, `text` | yes | Management name | `/data[at0001]/events[at0002]/data[at0003]/items[at0022]/items[at0004]` |
| `specific_management` | `boolean` | yes | Specific management? | `/data[at0001]/events[at0002]/data[at0003]/items[at0022]/items[at0005]` |
| `timing` | `timestamptz` | yes | Timing | `/data[at0001]/events[at0002]/data[at0003]/items[at0022]/items[at0037]` |
| `comment` | `text` | yes | Comment | `/data[at0001]/events[at0002]/data[at0003]/items[at0022]/items[at0035]` |

#### Constraints

```sql
check ((management_name_code is null and management_name_system is null and management_name_valueset_id is null) or (management_name is not null and management_name_code is not null and management_name_system is not null and management_name_valueset_id is not null))
```

#### Unique

- `management_screening_id, position`

#### References

| Columns | Target | On delete |
|---|---|---|
| `management_screening_id` | [`management_screening`](/docs/tables/management_screening) | cascade |
| `management_name_valueset_id, management_name_code, management_name_system, management_name` | [`valueset_code`](/docs/tables/valueset_code) | restrict |

### Referenced by

- [`management_screening_management_activity_additional_details`](/docs/tables/management_screening_management_activity_additional_details) via `management_screening_management_activity_id`

### `management_screening_management_activity_additional_details`

Child table — one row per repetition, deleted with its parent.

| Column | Type | Null | Description | Source |
|---|---|---|---|---|
| `id` | `uuid primary key` | no | Primary key. | — |
| `management_screening_management_activity_id` | `uuid` → [`management_screening_management_activity`](/docs/tables/management_screening_management_activity) | no | — | — |
| `position` | `integer` | no | Order of this row within its parent, from zero. | — |
| `organization_id` | `uuid` | no | Additional details | `/data[at0001]/events[at0002]/data[at0003]/items[at0022]/items[at0036]` |

#### Unique

- `management_screening_management_activity_id, position`
- `management_screening_management_activity_id, organization_id`

#### References

| Columns | Target | On delete |
|---|---|---|
| `management_screening_management_activity_id` | [`management_screening_management_activity`](/docs/tables/management_screening_management_activity) | cascade |
| `organization_id` | [`organization`](/docs/tables/organization) | no action |

#### Indexes

- `management_screening_management_activity_additional_deta_f286b6` on `organization_id`

