Clinical Intelligence StandardsVersion 0.2

Functional standard / Definition kinds / Constrains CohortMembership

cohort

Who belongs in a program, which protocols are offered, and what happens on entry and exit.

Runtime

The rule is evaluated against patient facts. A match proposes membership unless someone enrolls manually with a reason. Entry and exit effects follow the tiered rule.

Elements

NameCard.TypeDescription
defaults0..1objectFields copied onto a new instance. Values given at creation win.
approval_required_for0..*codeExtra states that need an Approval to enter.
rule0..1expressionSandboxed expression over patient facts: age, gender, country, is_guardian, cond_<code>, state_<state>, obs_<code>.
manual_only1..1booleanWhen true, the rule does not auto-propose.
protocols0..*codeProtocol keys offered to members.
entry_actions0..*EffectRun when membership becomes active.
exit_actions0..*EffectRun when membership closes, from the version the patient enrolled under.

Example

{ "rule": "cond_htn or obs_bp_systolic >= 140", "manual_only": false, "protocols": ["proto_htn"] }