add medical card functionality.