The California Department of Public Health licenses skilled nursing facilities and investigates complaints involving patient safety violations and regulatory noncompliance, separate from the agency that oversees assisted living communities.