Skip to main content
If you already know FHIR ValueSets or Snowstorm ECL, the tables below map the concepts you are familiar with to Corti’s filter model. For the full filter documentation, see Code filtering.

Comparison with FHIR

The filters 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 regex operator
  • Properties are limited to the loaded coding system’s code model fields (not arbitrary FHIR concept properties)

Using Corti and Snowstorm together

Corti predicts codes from unstructured clinical text (which Snowstorm cannot do), and Snowstorm can validate or expand those codes as a post-step. A typical pipeline runs Corti first, then Snowstorm to validate the predictions against a full terminology server.