Esempio n. 1
0
def get_doctor_result():
    case_id = request.args.get("caseId")
    qc_id = request.args.get("qcId")
    return api_response(service.get_doctor_result(case_id, qc_id))
Esempio n. 2
0
def delete_test_data():
    return api_response(service.delete_test_data())
Esempio n. 3
0
def remove_cache():
    return api_response(service.remove_cache())
Esempio n. 4
0
def get_emr():
    case_id = request.args.get("caseId")
    hospital = request.args.get("hospital")
    return api_response(service.get_emr(case_id, hospital))
Esempio n. 5
0
def get_qc_result():
    case_id = request.args.get("caseId")
    return api_response(service.get_qc_result(case_id))
Esempio n. 6
0
def list_all_cases():
    hospital = request.args.get("hospital")
    return api_response(service.list_all_cases(hospital))
Esempio n. 7
0
def index():
    return api_response("pong!")
Esempio n. 8
0
def _list_details():
    vid = request.args.get('vid')
    doc = request.args.get('doc')
    return api_response(get_details(vid, doc))
Esempio n. 9
0
def _list_doc():
    vid = request.args.get('vid')
    return api_response(get_doc_list(vid))
Esempio n. 10
0
def _list_vid():
    return api_response(get_vid_list())