Beispiel #1
0
 def count_hospital_living_birth(year):
     query = {
         "זמן לידה": {
             "$regex": year,
         },
         "Unnamed: 9": "מת"
     }
     return hospital_statistic_col.count(query)
Beispiel #2
0
 def count_living(id):
     query = {
         "צוות רפואי": {
             "$regex": id,
         },
         "Unnamed: 9": "מת"
     }
     return hospital_statistic_col.count(query)
Beispiel #3
0
 def count_hospital_prognoza(prognoza, year):
     query = {
         "זמן לידה": {
             "$regex": year,
         },
         "אבחנות בהריון": {
             "$regex": prognoza,
         }
     }
     return hospital_statistic_col.count(query)
Beispiel #4
0
 def count_prognoza(id, prognoza):
     query = {
         "צוות רפואי": {
             "$regex": id,
         },
         "אבחנות בהריון": {
             "$regex": prognoza,
         }
     }
     return hospital_statistic_col.count(query)
Beispiel #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)