---
title: "adverse_reaction_monitoring"
description: "Information about the outcome of monitoring for adverse reactions, during or after the administration of a substance."
---

Information about the outcome of monitoring for adverse reactions, during or after the administration of a substance.

**Purpose.** To record information about the outcome of monitoring for adverse reactions, during or after the administration of a substance.

## Source

| Model | Leg | Role |
|---|---|---|
| `openEHR-EHR-OBSERVATION.adverse_reaction_monitoring.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. | — |
| `purpose`<br />`purpose_code`<br />`purpose_system`<br />`purpose_valueset_id` | coded text<br />`text`, `text`, `text`, `text` | yes | Purpose | `/data[at0001]/events[at0002]/data[at0003]/items[at0013]` |
| `substance`<br />`substance_code`<br />`substance_system`<br />`substance_valueset_id` | coded text<br />`text`, `text`, `text`, `text` | yes | Substance | `/data[at0001]/events[at0002]/data[at0003]/items[at0004]` |
| `reaction`<br />`reaction_code`<br />`reaction_system`<br />`reaction_valueset_id` | coded text<br />`text`, `text`, `text`, `text` | yes | Reaction? | `/data[at0001]/events[at0002]/data[at0003]/items[at0005]` |
| `reaction_event` | `uuid` | yes | Reaction event | `/data[at0001]/events[at0002]/data[at0003]/items[at0016]` |
| `comment` | `text` | yes | Comment | `/data[at0001]/events[at0002]/data[at0003]/items[at0008]` |
| `mitigation_factor` | `text` | yes | Mitigation factor | `/data[at0001]/events[at0002]/state[at0012]/items[at0011]` |
| `method`<br />`method_code`<br />`method_system`<br />`method_valueset_id` | coded text<br />`text`, `text`, `text`, `text` | yes | Method | `/protocol[at0009]/items[at0017]` |

## Constraints

```sql
check ((purpose_code is null and purpose_system is null and purpose_valueset_id is null) or (purpose is not null and purpose_code is not null and purpose_system is not null and purpose_valueset_id is not null))
check ((substance_code is null and substance_system is null and substance_valueset_id is null) or (substance is not null and substance_code is not null and substance_system is not null and substance_valueset_id is not null))
check ((reaction_code is null and reaction_system is null and reaction_valueset_id is null) or (reaction is not null and reaction_code is not null and reaction_system is not null and reaction_valueset_id is not null))
check ((method_code is null and method_system is null and method_valueset_id is null) or (method is not null and method_code is not null and method_system is not null and method_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 |
| `purpose_valueset_id, purpose_code, purpose_system, purpose` | [`valueset_code`](/docs/tables/valueset_code) | restrict |
| `substance_valueset_id, substance_code, substance_system, substance` | [`valueset_code`](/docs/tables/valueset_code) | restrict |
| `reaction_valueset_id, reaction_code, reaction_system, reaction` | [`valueset_code`](/docs/tables/valueset_code) | restrict |
| `method_valueset_id, method_code, method_system, method` | [`valueset_code`](/docs/tables/valueset_code) | restrict |
| `reaction_event` | [`adverse_reaction_event`](/docs/tables/adverse_reaction_event) | no action |

## Referenced by

- [`adverse_reaction_monitoring_substance_details`](/docs/tables/adverse_reaction_monitoring_substance_details) via `adverse_reaction_monitoring_id`

## Indexes

- `adverse_reaction_monitoring_form_id_idx` on `form_id`
- `adverse_reaction_monitoring_reaction_event_idx` on `reaction_event`

## Child tables

1 table hang off `adverse_reaction_monitoring`, one row per repetition.

### `adverse_reaction_monitoring_substance_details`

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

| Column | Type | Null | Description | Source |
|---|---|---|---|---|
| `id` | `uuid primary key` | no | Primary key. | — |
| `adverse_reaction_monitoring_id` | `uuid` → [`adverse_reaction_monitoring`](/docs/tables/adverse_reaction_monitoring) | no | — | — |
| `position` | `integer` | no | Order of this row within its parent, from zero. | — |
| `medication_detail_id` | `uuid` | no | Substance details | `/data[at0001]/events[at0002]/data[at0003]/items[at0014]` |

#### Unique

- `adverse_reaction_monitoring_id, position`
- `adverse_reaction_monitoring_id, medication_detail_id`

#### References

| Columns | Target | On delete |
|---|---|---|
| `adverse_reaction_monitoring_id` | [`adverse_reaction_monitoring`](/docs/tables/adverse_reaction_monitoring) | cascade |
| `medication_detail_id` | [`medication_detail`](/docs/tables/medication_detail) | no action |

#### Indexes

- `adverse_reaction_monitoring_substance_details_medication_9a3b3f` on `medication_detail_id`

## Value sets

| Value set | Codes |
|---|---|
| `org.openehr::openEHR-EHR-OBSERVATION.adverse_reaction_monitoring.v1/reaction` | 3 |

