notebook
This commit is contained in:
@@ -37,3 +37,15 @@ print(mysql_registrovani)
|
|||||||
print("Toto jsou pacienti registrovaní v medicus ale nejsou registrovaní na webu")
|
print("Toto jsou pacienti registrovaní v medicus ale nejsou registrovaní na webu")
|
||||||
print(len([x for x in medicus_registrovani if x not in mysql_registrovani]))
|
print(len([x for x in medicus_registrovani if x not in mysql_registrovani]))
|
||||||
|
|
||||||
|
mysql_pojisteni=[]
|
||||||
|
sql="""SELECT rc FROM `vzp_stav_pojisteni` where stav=1"""
|
||||||
|
sqlcur.execute(sql)
|
||||||
|
for row in sqlcur.fetchall():
|
||||||
|
mysql_pojisteni.append(row[0])
|
||||||
|
# print(mysql_pojisteni)
|
||||||
|
|
||||||
|
# #Kdo je registrovany v Medicus, ale neni pojisteny (zemrel a tak)?
|
||||||
|
# print("Toto jsou pacienti registrovaní v medicus ale nejsou pojisteni na webu")
|
||||||
|
# print(len([x for x in medicus_registrovani if x not in mysql_pojisteni]))
|
||||||
|
# mysql_set = set(mysql_pojisteni)
|
||||||
|
# print(*[x for x in medicus_registrovani if x not in mysql_set], sep="\n")
|
||||||
Reference in New Issue
Block a user