Migration: migrate letters, fix for view as patient ui