Import an OHDSI Circe cohort expression as a recipe population
Source:R/recipe.R
recipe_import_circe.RdReverse of recipe_export_circe: parses an OHDSI Circe
cohort-expression JSON (as produced by ATLAS or by
recipe_export_circe) into an omop_population, reconstructing the
supported constructs (explicit entry event, inclusion-rule occurrence /
presence criteria, demographics, observation windows, OR groups). Unsupported
semantics are rejected rather than warned about and dropped. See
recipe_export_circe for the full supported-constructs list.
Examples
if (FALSE) { # \dontrun{
pop <- recipe_import_circe("cohort_from_atlas.json")
recipe <- omop_recipe(populations = pop,
outputs = omop_output(population_id = pop$id))
} # }