Exemplo n.º 1
0
def load_examinations_index(params, auth_token):
    if settings.LOCAL:
        return ExaminationMocks.get_successful_case_index_response()
    else:
        return MedexRequest.get(auth_token, '%s/examinations' % settings.API_URL, params)
Exemplo n.º 2
0
def void_case(auth_token, examination_id):
    if settings.LOCAL:
        return ExaminationMocks.get_successful_case_index_response()
    else:
        return MedexRequest.get(auth_token, '%s/examinations/%s/case_settings' % (settings.API_URL, examination_id))