Generate Health Care GridCode, Store and Update Database