File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -70,25 +70,24 @@ def build_query_response(query):
7070 if find_keyword_in_query (query , DOC_KEYWORDS ):
7171 search_terms = find_keyword_in_query (query , DOC_KEYWORDS )
7272 query = query [:search_terms .start ()] + query [search_terms .end ():]
73+ print query
7374 doctors = get_doctors_from_cloudsearch (query )
7475 msg = construct_docs_response (doctors [:SMS_RESULT_COUNT ])
75- print msg
7676 return [msg ]
7777 # Looking for Nurses keywords
7878 elif find_keyword_in_query (query , NO_KEYWORDS ):
7979 search_terms = find_keyword_in_query (query , NO_KEYWORDS )
8080 query = query [:search_terms .start ()] + query [search_terms .end ():]
8181 nurses = get_nurses_from_nc_registry (query )
8282 msg = construct_nurse_response (nurses [:SMS_RESULT_COUNT ])
83- print msg
8483 return [msg ]
8584 # Looking for clinical officers Keywords
8685 elif find_keyword_in_query (query , CO_KEYWORDS ):
8786 search_terms = find_keyword_in_query (query , CO_KEYWORDS )
8887 query = query [:search_terms .start ()] + query [search_terms .end ():]
88+ print query
8989 clinical_officers = get_clinical_officers_from_cloudsearch (query )
9090 msg = construct_co_response (clinical_officers [:SMS_RESULT_COUNT ])
91- print msg
9291 return [msg ]
9392 # Looking for nhif hospitals
9493 elif find_keyword_in_query (query , NHIF_KEYWORDS ):
You can’t perform that action at this time.
0 commit comments