Beispiel #1
0
def medical_journal_user(request):


    args = {}
    args.update(list_glycemia_top(request))
    args.update(list_colesterol_top(request))
    args.update(list_blood_pressure_top(request))
    args.update(list_weight_top(request))
    args.update(list_size_top(request))
    args.update(list_emotional_states_top(request))
    args.update(list_hemoglobin_top(request))
    args.update(list_generalsymptoms_top(request))
    args.update(list_glycemicsymptoms_top(request))
    args.update(list_gyneco_top(request))
    args.update(csrf(request))

    return render_to_response('medical_journal.html', args, context_instance=RequestContext(request))
Beispiel #2
0
def medical_journal_user(request):

    args = {}
    args.update(list_glycemia_top(request))
    args.update(list_colesterol_top(request))
    args.update(list_blood_pressure_top(request))
    args.update(list_weight_top(request))
    args.update(list_size_top(request))
    args.update(list_emotional_states_top(request))
    args.update(list_hemoglobin_top(request))
    args.update(list_generalsymptoms_top(request))
    args.update(list_glycemicsymptoms_top(request))
    args.update(list_gyneco_top(request))
    args.update(csrf(request))

    return render_to_response('medical_journal.html',
                              args,
                              context_instance=RequestContext(request))
Beispiel #3
0
def profile_medical_journal(request, **kwargs):

    id_user = kwargs['pk']
    names = User.objects.filter(id=id_user)

    args = {}
    args.update(list_glycemia_top(request, **kwargs))
    args.update(list_colesterol_top(request, **kwargs))
    args.update(list_blood_pressure_top(request, **kwargs))
    args.update(list_weight_top(request, **kwargs))
    args.update(list_size_top(request, **kwargs))
    args.update(list_emotional_states_top(request, **kwargs))
    args.update(list_hemoglobin_top(request, **kwargs))
    args.update(list_generalsymptoms_top(request, **kwargs))
    args.update(list_glycemicsymptoms_top(request, **kwargs))
    args['names'] = names

    return render_to_response('patient_profile_medical_journal.html', args, context_instance=RequestContext(request))
Beispiel #4
0
def profile_medical_journal(request, **kwargs):

    id_user = kwargs['pk']
    names = User.objects.filter(id=id_user)

    args = {}
    args.update(list_glycemia_top(request, **kwargs))
    args.update(list_colesterol_top(request, **kwargs))
    args.update(list_blood_pressure_top(request, **kwargs))
    args.update(list_weight_top(request, **kwargs))
    args.update(list_size_top(request, **kwargs))
    args.update(list_emotional_states_top(request, **kwargs))
    args.update(list_hemoglobin_top(request, **kwargs))
    args.update(list_generalsymptoms_top(request, **kwargs))
    args.update(list_glycemicsymptoms_top(request, **kwargs))
    args['names'] = names

    return render_to_response('patient_profile_medical_journal.html',
                              args,
                              context_instance=RequestContext(request))