Welcome
Claros Health provides a powerful and flexible way for healthcare technology companies to integrate quality reporting capabilities into their existing systems. Built on Django, this API enables seamless integration of our quality reporting features into your technology stack, allowing you to:- Automate quality measure reporting and data collection
- Streamline the submission of quality metrics to regulatory bodies
- Integrate quality reporting workflows into your existing applications
- Generate comprehensive patient reports and conduct detailed audits
- Access real-time quality performance data
- Maintain compliance with healthcare quality reporting requirements
Authentication
All API endpoints require authentication using an API key. You can manage your API keys through the dashboard, where you can create new keys, revoke existing ones, and monitor their usage.Base URL
The API is served fromhttps://backend.claros.health. All endpoints are relative to this base URL.
Available Endpoints
The Quality Reporting System provides the following endpoints:Patients
GET /patients: Retrieve all patients associated with the authenticated userGET /patients/{patient_id}: Get detailed information about a specific patientPOST /patients/{patient_id}/pdf: Upload a patient’s PDF document for processing
Numerical Variables
GET /variables: Retrieve all numerical variablesPOST /variables: Create a new numerical variablePUT /variables/{variable_id}: Update an existing numerical variablePUT /patients/{patient_id}/variables/{variable_id}: Update a patient’s variable valuePOST /patients/{patient_id}/variables/{variable_id}/scrape: Extract variable value from patient documents
Date Variables
GET /date-variables: Retrieve all date variablesPOST /date-variables: Create a new date variablePUT /date-variables/{variable_id}: Update an existing date variablePUT /patients/{patient_id}/date-variables/{variable_id}: Update a patient’s date variable valuePOST /patients/{patient_id}/date-variables/{variable_id}/scrape: Extract date value from patient documents
Metrics
GET /metrics: Retrieve all available metricsPOST /metrics: Create a new metricPUT /metrics/{metric_id}: Update an existing metricGET /metrics/{metric_id}: Get detailed information about a specific metric
Reports
GET /cms-reports: Retrieve CMS reporting data and analytics
Response Format
All responses are returned in JSON format. Date values are returned in ISO format.Common Response Codes
200 OK: Request successful401 Unauthorized: Authentication required403 Forbidden: User not authorized to access the resource404 Not Found: Resource not found405 Method Not Allowed: Invalid HTTP method500 Internal Server Error: Server error
Data Types
The API uses the following data types:integer: Whole numbersstring: Text valuesboolean: True/false valuesarray: Lists of valuesobject: Key-value pairsnull: Empty or undefined values