Maryland Criminal Procedure Section 11-606
§ 11-606.
  (a)   The court may order that restitution be paid to:
    (1)   the victim;
    (2)   the Department of Health and Mental Hygiene, the Criminal Injuries Compensation Board, or any other governmental unit; or
    (3)   a third-party payor, including:
      (i)   an insurer; or
      (ii)   any other person that has, under Part I of this subtitle:
        1.   compensated the victim for a property or pecuniary loss; or
        2.   paid an expense on behalf of a victim.
  (b)   (1)   Payment of restitution to the victim has priority over:
      (i)   payment of restitution to the Department of Health and Mental Hygiene or other governmental unit;
      (ii)   payments owed to the State for reimbursement of payments made on behalf of a child; and
      (iii)   subject to paragraph (2) of this subsection, payment of restitution to a third-party payor.
    (2)   If the victim has been fully compensated for the victim's loss by a third-party payor, the court may issue a judgment of restitution that directs the restitution obligor to pay restitution to the third-party payor.