Exports blood glucose readings for a specified patient within a given date range as either an Excel spreadsheet or a CSV file. This endpoint allows clients to specify a patient ID, and optional start and end dates to filter the readings by date. If no patient ID is provided, readings for all patients may be exported depending on the implementation. The ‘excel’ parameter determines the format of the export: if true, the data is returned in Excel format; otherwise, it is returned as CSV. The response is directly streamed to the client as either ‘application/vnd.openxmlformats-officedocument.spreadsheetml.sheet’ for Excel or ‘text/csv’ for CSV format.
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 glucose readings are to be exported. If not provided, readings for all patients may be exported.
The start date for filtering blood glucose readings. Only readings after or equal to this date will be included.
The end date for filtering blood glucose readings. Only readings before this date will be included.