---
title: "travel_screening"
description: "Series of questions and associated answers used to screen for movement to or from one or more geographic locations outside of the individual’s usual place of residence."
---
Series of questions and associated answers used to screen for movement to or from one or more geographic locations outside of the individual’s usual place of residence.
**Purpose.** To create a framework for recording answers to pre-defined screening questions about movement to or from one or more geographic locations outside of the individual’s usual place ofresidence.
## Source
| Model | Leg | Role |
|---|---|---|
| `openEHR-EHR-OBSERVATION.travel_screening.v1` | 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. | — |
| `any_travel` | `boolean` | yes | Any travel? | `/data[at0022]/events[at0023]/data[at0001]/items[at0027]` |
| `screening_purpose`
`screening_purpose_code`
`screening_purpose_system`
`screening_purpose_valueset_id` | coded text
`text`, `text`, `text`, `text` | yes | Screening purpose | `/data[at0022]/events[at0023]/data[at0001]/items[at0040]` |
| `description` | `text` | yes | Description | `/data[at0022]/events[at0023]/data[at0001]/items[at0043]` |
## 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
- [`travel_screening_specific_travel`](/docs/tables/travel_screening_specific_travel) via `travel_screening_id`
## Indexes
- `travel_screening_form_id_idx` on `form_id`
## Child tables
1 table hang off `travel_screening`, one row per repetition.
### `travel_screening_specific_travel`
Child table — one row per repetition, deleted with its parent.
| Column | Type | Null | Description | Source |
|---|---|---|---|---|
| `id` | `uuid primary key` | no | Primary key. | — |
| `travel_screening_id` | `uuid` → [`travel_screening`](/docs/tables/travel_screening) | no | — | — |
| `position` | `integer` | no | Order of this row within its parent, from zero. | — |
| `travel_activity`
`travel_activity_code`
`travel_activity_system`
`travel_activity_valueset_id` | coded text
`text`, `text`, `text`, `text` | yes | Travel activity | `/data[at0022]/events[at0023]/data[at0001]/items[at0026]/items[at0021]` |
| `occurred` | `boolean` | yes | Occurred? | `/data[at0022]/events[at0023]/data[at0001]/items[at0026]/items[at0024]` |
| `timing` | `timestamptz` | yes | Timing | `/data[at0022]/events[at0023]/data[at0001]/items[at0026]/items[at0003]` |
| `comment` | `text` | yes | Comment | `/data[at0022]/events[at0023]/data[at0001]/items[at0026]/items[at0025]` |
#### Constraints
```sql
check ((travel_activity_code is null and travel_activity_system is null and travel_activity_valueset_id is null) or (travel_activity is not null and travel_activity_code is not null and travel_activity_system is not null and travel_activity_valueset_id is not null))
```
#### Unique
- `travel_screening_id, position`
#### References
| Columns | Target | On delete |
|---|---|---|
| `travel_screening_id` | [`travel_screening`](/docs/tables/travel_screening) | cascade |
| `travel_activity_valueset_id, travel_activity_code, travel_activity_system, travel_activity` | [`valueset_code`](/docs/tables/valueset_code) | restrict |
## Value sets
| Value set | Codes |
|---|---|
| `org.openehr::openEHR-EHR-OBSERVATION.travel_screening.v1/travel_activity` | 2 |