Appointments Scraping
Workflow Step 1Consults appointments in DaySmart by date range and saves them in the flat table APPOINTMENTS.
Access scraping, normalization, and review processes from one place. The workflow below shows the recommended operational sequence.
Follow this order when performing a complete ScheduleApp refresh. Some processes can run independently, but this sequence keeps dependencies clear and gives direct DaySmart information priority over reconstructed historical data.
Processes responsible for importing flat data from DaySmart into ScheduleApp_Plain.
Consults appointments in DaySmart by date range and saves them in the flat table APPOINTMENTS.
Reads the customer_id from local appointments and queries DaySmart for only the missing customers.
Queries active Staff records in DaySmart and stores them as flat event data in ScheduleApp_Plain.EVENTS.
Reconstructs missing inactive events from historical APPOINTMENTS using employee and staff information already saved locally.
Processes responsible for converting flat information into normalized structures of ScheduleApp.
Builds the interface between flat EVENTS and Stroke OPPORTUNITIES, keeps a readable event name, preserves malformed candidates for review, and stores only validated Opportunity relationships.
Normalizes flat customers into the PATIENTS table, merging possible duplicates by first name, middle name, last name, and phone number.
Normalizes flat APPOINTMENTS, resolves internal PatientId and validated OpportunityId, converts DaySmart date/time values, and synchronizes the final appointments.
Queries to review executions, results, times and metrics of scraping or normalization.
Consult the records saved in SCRAPING_REPORTS to review scraping executions.
Consult records saved in NORMALIZATION_REPORTS to review normalization executions and synchronization results.