If either the medical assistance recipient or the department of health and human resources brings an action or claim against a third person, the recipient, his attorney or such department shall, within thirty days of filing the action, give to the other written notice of the action or claim by certified mail. This notice shall contain the name of the third person and the court in which the action is brought. If the department of health and human resources institutes said action, the notice shall advise the recipient of their right to bring such action in their own name, in which they may include as a part of their claim the sums claimed by such department. Proof of such notice shall be filed in said action subject to the notice and intent procedure as outlined in section eleven of this article. If an action or claim is brought by either the recipient or the department of health and human resources, the other may, at any time before trial, become a party to the action, or shall consolidate his action or claim with the other if brought independently: Provided, That this consolidation or entry as a party does not delay the proceedings.