Exemple #1
0
 def count_hospital_living_birth(year):
     query = {
         "זמן לידה": {
             "$regex": year,
         },
         "Unnamed: 9": "מת"
     }
     return hospital_statistic_col.count(query)
Exemple #2
0
 def count_living(id):
     query = {
         "צוות רפואי": {
             "$regex": id,
         },
         "Unnamed: 9": "מת"
     }
     return hospital_statistic_col.count(query)
Exemple #3
0
 def count_hospital_prognoza(prognoza, year):
     query = {
         "זמן לידה": {
             "$regex": year,
         },
         "אבחנות בהריון": {
             "$regex": prognoza,
         }
     }
     return hospital_statistic_col.count(query)
Exemple #4
0
 def count_prognoza(id, prognoza):
     query = {
         "צוות רפואי": {
             "$regex": id,
         },
         "אבחנות בהריון": {
             "$regex": prognoza,
         }
     }
     return hospital_statistic_col.count(query)
Exemple #5
0
 def count_hospital_prognoza_first_birth(prognoza, year, number_of_birth):
     query = {
         "זמן לידה": {
             "$regex": year,
         },
         "אבחנות בהריון": {
             "$regex": prognoza,
         },
         "מס' לידה": number_of_birth
     }
     return hospital_statistic_col.count(query)