A method of preparing a biocompatible polymeric coating includes preparing an aqueous polymer solution by contacting and reacting methacrylic acid and at least one methacrylate or phosphorylcholine. The methacrylate or phosphorylcholine may include hydroxyethyl methacrylate, polyethylene glycol monomethacrylate, or methacryloyloxyethyl phosphorylcholine. An aqueous coupling agent solution is prepared and is either applied to the substrate surface or is mixed with the polymer solution to form a coating solution. If the coupling agent solution was first applied to the substrate surface, the polymer solution is then applied to the primed substrate surface. Alternatively if a coating solution was created, the coating solution is applied to the substrate surface. In either event, the polymer solution and coupling agent solution react with the substrate to form the biocompatible polymeric coating on the substrate surface.