rcm written