
    ariD                         d dl Z d dlZej                            dd          Z eed          5 Z e j        e          Zddd           n# 1 swxY w Y   d ed         D             Z	d Z
dS )	    Nstaticzsymptoms_v3.yamlzutf-8)encodingc                      i | ]}|d          |S )key ).0fs     /var/www/sze-llm.hu/grouping.py
<dictcomp>r   	   s    666QQuXq666    fieldsc                     t                      }| D ]K}t                              |          }|s|                    d          }||                    |           Lt	          |          S )z7
    Return unique group_ids for selected symptoms
    group_id)set	FIELD_MAPgetaddsorted)selected_keys	group_idsr   fieldgids        r
   group_ids_from_keysr      so    
 I  c"" 	ii
##?MM#)r   )yamlospathjoin	YAML_PATHopenr	   	safe_load	YAML_DATAr   r   r   r   r
   <module>r"      s     				GLL#566		T)g&&& "!q!!I" " " " " " " " " " " " " " " 76)H"5666	    s   AAA