Readings - Blood Oxygen

Export Blood Oxygen Readings

Exports blood oxygen readings for a specified patient within a given date range as either an Excel spreadsheet or a CSV file. This endpoint facilitates the retrieval of blood oxygen data by allowing the specification of a patient ID and optional start and end dates to narrow down the readings. If no patient ID is specified, the service may return readings for all patients, contingent on the service's implementation details. The 'excel' parameter controls the output format: if set to true, the data is delivered in Excel format; if false, it is delivered in CSV format. The data is streamed directly to the client and can be consumed in the specified format.

Query parameters

Determines the format of the export: if true, the data is returned in Excel format; otherwise, it is returned as CSV.
The ID of the patient whose blood oxygen readings are to be exported. If not provided, readings for all patients may be exported.
The start date for filtering blood oxygen readings. Only readings after or equal to this date will be included.
The end date for filtering blood oxygen readings. Only readings before this date will be included.


This endpoint returns a file.
1curl -G \
2 -H "Impilo-API-Key: <apiKey>" \
3 -d excel=true \
4 -d patientId=0