code: def convert_entry_to_cid(i):
      
  
      xcuoa=''
      xcid=''
  
      if i.get('module_uoa','')!='': cuoa=i['module_uoa']
      else: cuoa='?'
      if i.get('module_uid','')!='': cid=i['module_uid']
      else: cid='?'
  
      cuoa+=':'
      cid+=':'
  
      if i.get('data_uoa','')!='': cuoa+=i['data_uoa']
      else: cuoa+='?'
      if i.get('data_uid','')!='': cid+=i['data_uid']
      else: cid+='?'
  
      if i.get('repo_uoa','')!='': xcuoa=i['repo_uoa']+':'+cuoa
      else: xcuoa='?:'+cuoa
      if i.get('repo_uid','')!='': xcid=i['repo_uid']+':'+cid
      else: xcid='?:'+cid
  
      r={'return':0}
      r['cuoa']=cuoa
      r['cid']=cid
      r['xcuoa']=xcuoa
      r['xcid']=xcid
  
      return r
docs: Input:  {
                 (repo_uoa)   - Repo UOA
                 (repo_uid)   - Repo UID
                 (module_uoa) - Module UOA
                 (module_uid) - Module UID
                 (data_uoa)   - Data UOA
                 (data_uid)   - Data UID
              }
  
      Output: {
                return       - return code =  0
  
                cuoa         - module_uoa:data_uoa           (substituted with ? if can't find)
                cid          - module_uid:data_uid           (substituted with ? if can't find)
                xcuoa        - repo_uoa:module_uoa:data_uoa  (substituted with ? if can't find)
                xcid         - repo_uid:module_uid:data_uid  (substituted with ? if can't find)
              }