clinik.fhir
The FHIR escape hatch lets you send raw FHIR R4 requests when the simplified SDK methods don’t cover your use case.request
Do not include
/v1/ in the path — the SDK prepends it automatically.
Tenant isolation is enforced on all passthrough requests.Examples
When to Use
- Custom FHIR search parameters not exposed in the simplified SDK
- FHIR operations (
$everything,$validate, etc.) - Resource types not yet simplified by ClinikAPI
- Complex FHIR queries with chained parameters
Important Notes
- Returns raw FHIR R4 resources, not the simplified format
- Tenant tag injection and filtering is still enforced
- Rate limits and authentication work the same as simplified endpoints