Analyze patient cohorts
/tools/cohortUses LLM to extract search concepts from natural language and builds patient cohorts with inclusion/exclusion criteria
Header parameters
Optional header for on-behalf-of authentication. Used when making requests on behalf of another user or entity. Must be in the format: Patient/{uuid} or Practitioner/{uuid}
Optional header for FHIR provider authentication. Contains credentials in the format {fhir_provider_id}:{oauth2_token}. Multiple FHIR provider integrations can be provided as comma-separated values.
Successfully analyzed cohort and retrieved patient list
Response fields
Whether the cohort analysis was successful
Status message with details about the analysis
Array of patient IDs that match the cohort criteria
Total number of patients in the cohort
Individual search concepts that were identified and executed
The FHIR resource type identified for this concept
FHIR search parameters for this concept
Description of what this search represents
Whether this is an exclusion criteria