Evidence standard
In care
The installed template is what the day uses. The paper is not opened again.
| Moment | What runs |
|---|---|
| Identify | The cohort rule is evaluated against the patient's facts. |
| Enrol | Membership opens. Entry actions run, from the version enrolled under. |
| Start the programme | Assignment checks the protocol criteria, then creates or proposes each template. A clinical template becomes a proposal. Origin is protocol:<key>. |
| The visit | An encounter of that type opens its note pages and, if named, its journey. Finalizing a page writes an observation for each block that has a code. |
| A score | Finalizing an assessment writes the score as an observation. The client does not send the score. A safety flag raises an urgent task. |
| Between contacts | A routine raises its task when due. A journal entry writes an observation for each coded field, perceived by the patient. |
| A change | A reaction runs when the named record enters the named state. A clinical effect becomes a proposal, origin reaction:<key>. Any other effect is applied and audited. |
| A drug | Activating a regimen records its drugs as medications. |
| Leave | Closing the membership runs the exit actions of the version enrolled under. |
A proposal waits for a clinician. Accepting it writes the record under that clinician's name. An agent may draft and propose. It does not publish a template and it does not accept a proposal.
There is no operation yet to move a patient already in care onto a newer template. Close the membership or the assignment and open another.