fn validate_unique_refs<T>( refs: &[T], path: &str, ) -> Result<(), EncounterValidationError>where T: Copy + Eq + Hash + Display,