# Create facility Creates a new Facility record. A physical location where veterinary services are provided (clinic, hospital, mobile unit). Endpoint: POST /site/{siteId}/ahds/v1/facility Version: 1.0 Security: bearer ## Path parameters: - `siteId` (number, required) Site identifier ## Request fields (application/json): - `facilityId` (string, required) Canonical unique identifier for the facility. Example: "123e4567-e89b-12d3-a456-426614174000" - `name` (string, required) Human-readable name of the facility. - `facilityType` (object) Type of facility (clinic, hospital, mobile, emergency). - `facilityType.code` (string, required) Code value - `facilityType.system` (string, required) Code system URI - `facilityType.display` (string) Human-readable display - `address` (object) Physical address of the facility. - `phone` (string) Primary contact phone number. - `email` (string) Primary contact email. - `isActive` (boolean) Whether the facility is currently operational. - `extensions` (object) Vendor- or practice-specific extensions. ## Response 201 fields (application/json): - `facilityId` (string, required) Canonical unique identifier for the facility. Example: "123e4567-e89b-12d3-a456-426614174000" - `name` (string, required) Human-readable name of the facility. - `facilityType` (object, required) Type of facility (clinic, hospital, mobile, emergency). - `facilityType.code` (string, required) Code value - `facilityType.system` (string, required) Code system URI - `facilityType.display` (string) Human-readable display - `address` (object, required) Physical address of the facility. - `phone` (string, required) Primary contact phone number. - `email` (string, required) Primary contact email. - `isActive` (boolean, required) Whether the facility is currently operational. - `createdAt` (string, required) Timestamp when the facility record was created. Example: "2025-01-01T00:00:00.000Z" - `updatedAt` (string, required) Timestamp when the facility record was last updated. Example: "2025-01-01T00:00:00.000Z" - `extensions` (object, required) Vendor- or practice-specific extensions. ## Response 400 fields ## Response 401 fields ## Response 409 fields