Convert a Capr cohort to JSON
toCohortJson(object, ..., includeConceptSets = NULL)A Capr cohort.
Arguments passed on to jsonlite::toJSON (e.g. pretty = TRUE).
Optional list of ConceptSet objects to include
in the JSON even if not referenced in the cohort (e.g. for round-trip equivalence).
A JSON character string for the cohort.