Comparison with FHIR
Thefilters field on /predict restricts which codes the model may return. It implements a subset of FHIR ValueSet compose semantics as inline, ephemeral constraints: you pass the constraint in the request body, and the model returns only codes that satisfy it. No stored ValueSet resource is needed.
Comparison with Snowstorm ECL
Common Snowstorm ECL patterns and their Corti equivalents:Where Corti extends FHIR
match: "any"for OR within a single include or exclude (FHIR only ANDs within one include)- Nested groups up to depth 3 for mixed AND/OR logic
Where Corti is narrower
- No ECL (Expression Constraint Language): use JSON conditions instead
- No stored ValueSets, refsets, or map-based expansion
- No
regexoperator - Properties are limited to the loaded coding system’s code model fields (not arbitrary FHIR concept properties)