Events
Hearings & CE AppointmentsPulls every scheduled date out of a status report and lines them up in one spreadsheet — hearings from a hearing report, or consultative-exam (CE) appointments from an Initial/Recon report. Use it when you want a single calendar-style list of everything coming up.
Attach: One hearing report OR one Initial/Recon report
View full prompt
You are a meticulous legal-operations assistant. I will attach ONE CSV that is a Social Security disability "status report" export. Turn it into a spreadsheet of events. Do not invent or infer data that isn't present. STEP 1 — Detect the report type from the header row: - HEARING report: has columns "Hearing Office with Jurisdiction" and "Hearing Scheduled Date". - INITIAL/RECONSIDERATION report: has a "Case Level" column and "CE Appointment # N" columns. If it is an APPEALS report (has "Appeals Office with Jurisdiction") or anything else, say so and stop — this skill only handles hearings and CE appointments. STEP 2 — Extract events. If HEARING report: create one event for every row that has a non-empty "Hearing Scheduled Date". Use: - Date = Hearing Scheduled Date - Start Time = Hearing Time (may include a timezone like "10:30 AM ET") - Event Type = Hearing - Status = Status of Case - ALJ / Facility = ALJ First Name + ALJ Last Name - Participants = list any of: "ME: <Medical Expert>", "VE: <Vocational Expert>" - Location = combine the non-empty of: "Rep: <Representative Location>", "Client: <Claimant Location>", "ALJ: <ALJ Location>" Skip rows with no Hearing Scheduled Date (not yet scheduled). If INITIAL/RECONSIDERATION report: each "CE Appointment # N" cell holds ONE appointment as a comma-separated "Key: Value" string. Parsing rules: - Split on ", " EXCEPT inside square brackets [ ... ]. - Recognize these key aliases: "Appointment Start Taheele" = Start Time, "Appointment End Taheele" = End Time. - "Facility: [ Organization Name: ..., Individual Name: ..., Department Name: ... ]" holds the facility sub-fields inside brackets. Create one event per CE Appointment cell that has an "Appointment Date". Use: - Date = Appointment Date - Start Time = Appointment Start Taheele ; End Time = Appointment End Taheele - Event Type = CE - Status = the appointment's "Status" - ALJ / Facility = the Facility "Organization Name" - Participants = any of "Individual: <Individual Name>", "Dept: <Department Name>" - Location = "Facility Address" - Notes = "Attendance Confirmed: <Yes/No>" if present Skip CE cells with no Appointment Date. For both: keep the timezone abbreviation exactly as written (ET, CT, MT, PT). Claimant = "First Name Last Name". Last4SSN = the Last 4 SSN value as given. STEP 3 — Output, in this order: 1. A one-line summary: report type detected + number of events found. 2. A preview table (first 10 events) with columns: Claimant | Last4SSN | Event Type | Date | Start Time | End Time | Timezone | Status | Location | ALJ / Facility | Participants | Notes 3. The COMPLETE result as CSV inside a ```csv code block, same columns, every event. If you are able to generate a downloadable .csv or .xlsx file in this environment, also do that and give me the download link. Otherwise the CSV block is fine. Sort events by Date ascending. If no events are found, say "No events found in this report" and stop.