fix Lipidmap service and add pattern constances