Apply a clinical rule to health records
Compile a free-text clinical rule into criteria, evaluate it against each inline health record, and attach a recommendation grounded in the knowledge base, with citations, to every matching health record. Synchronous (non-streamed).
Authorizations
Locus API key — paste the raw lsk_… value (no 'Bearer ' prefix).
Body
Free-text clinical rule / 'équation type' to apply to each health record.
1"patient sous anticoagulant oral direct ET fonction rénale (DFG) non contrôlée depuis plus de 6 mois"
Patient health records to scan (inline). Bounded per request.
1Optional allow-list of source ids for the recommendation step. Omit (the default) to draw on all sources.
[]Response
Successful Response
Echo of the submitted rule.
The rule, compiled into evaluable criteria.
One finding per health record, in input order.
Run metadata: records_scanned, matched_count, processing_ms.