post
https://vitalsapi.luscii.com/v1/csvexport/
Generate a CSV export to be received via email
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
The Export API allows you to programmatically queue an export job. By requesting a CSV export you receive a download uri in the response body where eventually the file will be available for download. All CSV report types supported in the Web Application are supported as Export API jobs.
Exports are generated asynchronously. There is no guarantee that on receiving the response the export file is immediately ready for download. Depending on size of the export the generation process can take from a couple of seconds to a couple of minutes.
Accessible by HC_ADMIN and HC_SUPPORTER.
Structure of the export
The downloaded csv file will have the following structure depending on the type of export which was requested.
patients
- Patient_UUID
- First_Name
- Middle_Name
- Last_Name
- Sex
- Patient_Number
- BSN
- Phone
- Date_Of_Birth
- Status
- Group_Name
- Program_Name
- Created_Date
- Activated_Date
- Stopped_Date
- Stopped_Reason
- Grey_Alerts
- Orange_Alerts
- Red_Alerts
- Measurements_Alerts
- Combination_Alerts
- Remark_Alerts
- Overdues_Alerts
- Average_Alerts
- Total_Alerts
measurements
- Patient_UUID
- First_Name
- Middle_Name
- Last_Name
- Patient_Number
- Group
- Program
- Measurement_Date
- Measurement_Name
- Measurement_Value
- Alert_Flag
- Alert_Type
- Alert_Created_Date
- Alert_Processed_Type
- Alert_Processed_Action
- Alert_Processed_At
- Alert_Processed_By_UUID
alerts
- Patient_UUID
- Group
- Program
- Alert_Flag
- Alert_Type
- Measurement_Name
- Alert_Created_Date
- Alert_Processed_Type
- Alert_Processed_Action
- Alert_Processed_At
- Alert_Processed_By_UUID
hcps
- UUID
- First_Name
- Middle_Name
- Last_Name
- User_Name
- Language
- Role
- Status
- Last_Login_At
- Last_Logout_At
- Groups (comma separated list)
- Processed_Alerts (the amount of alerts the HCP has processed)
patientsMutations
- Patient_UUID
- First_Name
- Middle_Name
- Last_Name
- Patient_Number
- Type (Group or Program)
- Mutation_Date
starRatings
- Group
- Date
- Patient_UUID
- Score
- Remarks
422Unprocessable entity, i.e. Validation error
503Service unavailable, e.g. when the functionality is disabled