- Facility Migrations
- NCA (National Cemetery Administration) Facilities
- VAMC (VA Medical Center) Facilities
- VBA (Veterans Benefits Administraion) Facilities
- Vet Centers
- Status Changes to Lighthouse
Facility migrations occur nightly and the four types of facilities are updated with any data from the Facility API including the creation of new facilities, updating titles, addresses, etc. The facility is connected to the facility API by its unique "Facility Locator API ID" (field_facility_locator_api_id). These migrations do not handle removing or deleting any facilities. A facility that needs to be removed, must be deleted by hand. The nightly migrations are handled as part of our tasks-periodic.yml and are triggered by Jenkins. Revisions for any saves are created and attributed to the user "CMS Migrator"
- NCA (National Cemetery Administration) Facilities - va_node_facility_nca
- VAMC (VA Medical Center) Facilities - va_node_health_care_local_facility
- VBA (Veterans Benefits Administraion) Facilities - va_node_facility_vba
- Vet Centers - va_node_facility_vet_centers
VAMC Statuses are updated by a separate migration (va_node_health_care_local_facility_status) that runs every hour. It grabs multiple CSV sources (one per system) which are scraped from TeamSite and updates the "Operating status" (field_operating_status_facility) and "Operating status - more info" (field_operating_status_more_info)
Whenever any facility has a change of "Operating status" or "Operating status - more info" saved in VACMS (whether by an editor, or migration), a change post is added to the "post API queue" by module:va_gov_post_api. When cron runs, any items in the queue are posted to the Lighthouse API.