Analyze patient cohorts

Uses LLM to extract search concepts from natural language and builds patient cohorts with inclusion/exclusion criteria

Body Params
string
required

Natural language text describing the patient cohort criteria

uuid
required

FHIR provider ID - must be a valid UUID from existing FHIR providers. also supports provider by name (e.g. medplum)

Headers
string

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}

string

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.

Responses

400

Invalid request

401

Unauthorized

403

Forbidden - requires develop tier access

500

Server error

Language
Credentials
Bearer
JWT
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json