Overview
Inspections are the core workflow of the PDF Form Parser system. Each inspection links a property, a form template, and a technician to create a complete inspection record with automatic form generation.Create a New Inspection
Navigate to New Inspection
You can create inspections from multiple places:
- Click Inspections > New Inspection in the main navigation
- From a property detail page, click New Inspection
- From the calendar view, click on a date
Select Customer and Property
Choose the customer from the dropdown, then select the specific property to be inspected.
When you select a customer, the property dropdown will automatically populate with that customer’s properties (see
inspections_controller.rb:289-296).Choose System and Interval
Select:
- System Category: The type of fire safety system (Sprinkler, Standpipe, Fire Alarm, etc.)
- Interval Category: The inspection frequency (Monthly, Quarterly, Annual, etc.)
Set Inspection Details
- Date: When the inspection is scheduled or was performed
- Technician: Assign the inspection to a technician
- Job Number: Optional job reference number
- Notes: Any special instructions or context
Create Inspection
Click Create Inspection. The system will:
- Create the inspection record
- Automatically generate the main form fill based on the template
- Create additional forms (Deficiencies, Additional Risers, Corrected Deficiencies)
- Auto-populate header information from property and customer data
Header auto-fill happens via
HeaderAutoFillerService (see inspections_controller.rb:152).Understanding Inspection Status
Each inspection has a status that tracks its lifecycle:| Status | Description | Actions Available |
|---|---|---|
| Pending | Inspection scheduled but not started | Edit, Start, Delete |
| In Progress | Inspection is being performed | Continue filling form, Complete |
| Completed | Inspection finished, PDF generated | View report, Send email, Re-open |
| Canceled | Inspection was canceled | View only, Delete |
Update Inspection Status
To change an inspection’s status:- Go to the inspection detail page
- Click the status badge or Update Status button
- Select the new status
When an inspection is marked as “Completed”, the system automatically triggers deficiency transfer to the property record (see
inspection.rb:17 and inspections_controller.rb:181).View Inspection Details
The inspection detail page (inspections_controller.rb:33-48) shows:
- Property Information: Customer name, property address, contact details
- Inspection Metadata: Date, technician, system/interval categories
- Form Status: Main form and additional forms with completion indicators
- Statistics: Pass/Fail/N/A counts from the main form (see
form_fill.rb:726-750) - Actions: Fill forms, generate PDF, send report, update status
Working with Multiple Forms
Each inspection includes several forms:Main Inspection Form
The primary form based on your selected system and interval template. This is where you record inspection findings.Additional Risers Form
For documenting extra risers or systems beyond the main inspection scope (seeinspections_controller.rb:123-135).
Deficiencies Form
Automatically compiled from “Fail” items in the main form (seeinspections_controller.rb:109-121).
Corrected Deficiencies Form
Used during follow-up inspections to verify corrections have been made (seeinspections_controller.rb:137-149).
Filter and Search Inspections
On the main inspections list (inspections_controller.rb:12-31), you can filter by:
- Status: Pending, In Progress, Completed, Canceled
- Customer: Show inspections for a specific customer
- Date Range: Find inspections within a time period
Calendar View
The calendar view provides a visual overview of scheduled inspections.Navigate to Calendar
Click Inspections > Calendar in the main menu (see
inspections_controller.rb:199-248).View Daily Inspections
Click on any day to see inspections scheduled for that date. Each inspection shows:
- Customer and property name
- Assigned technician
- Status indicator
The calendar includes technician statistics showing inspection counts per technician for the month (see
inspections_controller.rb:216-219).Property Inspection History
View all inspections for a specific property:Edit or Delete Inspections
Edit an Inspection
- Open the inspection detail page
- Click Edit Inspection
- Update the fields as needed
- Click Update Inspection
Delete an Inspection
- Open the inspection detail page
- Click Delete Inspection
- Confirm the deletion
Dashboard Overview
The inspections dashboard (inspections_controller.rb:250-266) provides:
- Total Inspections: All-time count
- Pending Inspections: Awaiting completion
- Completed Inspections: Finished this month
- Upcoming Inspections: Next 7 days
- Recent Activity: Last 10 created inspections
Best Practices
Next Steps
After creating an inspection:- Fill out inspection forms with photos and data
- Mark the inspection as complete
- Generate the final report and send to the customer