Functional standard / Definition kinds / Constrains JournalEntry
journal_plugin
The fields a patient logs, and which of them become observations.
Runtime
A recorded entry writes an Observation for each field that has an observation_code, perceived by the patient.
Elements
| Name | Card. | Type | Description |
|---|---|---|---|
| defaults | 0..1 | object | Fields copied onto a new instance. Values given at creation win. |
| approval_required_for | 0..* | code | Extra states that need an Approval to enter. |
| fields | 0..* | JournalField | key, label, field_type, options, observation_code, unit. |
Example
{ "fields": [{ "key": "mood", "label": "Mood", "field_type": "scale", "observation_code": "mood" }] }