Added medical card template, updated medical card saving and retrieving.