The health secretary wrote to resident doctors before they begin a five-day strike at 07:00 BST on Friday.