Documentation Index
Fetch the complete documentation index at: https://docs.fhiron.cl/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
Headers
| Header | Requerido | Descripción |
|---|---|---|
Content-Type | sí | application/json |
X-API-Key | sí | API key del tenant. Disponible en fhiron.cl/dashboard/settings. |
Request body
Cualquier recurso FHIR R4 válido como JSON. Bridge detecta elresourceType y busca el perfil CL Core correspondiente automáticamente.
Ejemplo — Patient
Response
issue[] viene vacío y el HTTP status es 200.
Códigos HTTP
| Código | Significado |
|---|---|
200 | Validación ejecutada. Revisar issue[] para los problemas encontrados. |
400 | JSON inválido o falta resourceType. |
401 | X-API-Key ausente, inválida o revocada. |
429 | Cuota mensual del plan agotada. Ver headers X-RateLimit-*. |
5xx | Error de gateway o validador. Reintentar con backoff exponencial. |
Rate limits
Cada plan tiene una cuota mensual de validaciones. Los headers de respuesta incluyen:X-RateLimit-Limit— cuota total del mes.X-RateLimit-Remaining— validaciones restantes.X-RateLimit-Reset— timestamp Unix del próximo reseteo.
fhiron_fhir_lint_local, fhiron_fhir_lint_run, fhiron_fhir_apply_quickfix, fhiron_get_example, fhiron_search_terminology, fhiron_explain_code) no consumen cuota: se ejecutan localmente en el connector.
Idempotencia
POST /api/validate es idempotente. El mismo body produce el mismo output. No hay efectos colaterales: el recurso no se persiste (ver Stateless Gateway).