bon voila un bout de code:
Je commence par la fonction javascript :
1 2 3 4 5 6 7
| function XY()
{
URL= "mimage/add_medicalimage?scene_name="+$('scene_name_new').value + "&organ_list=" + organs + "&pathology_list=" + pathologys + "&patient_id=" + $('identifier_new').value+"&source_name="+ $('source_name_new').value + "&device_id=" + $('name_device').value + "¶mes=" + parameters_device_name + "&val_parames=" + parameters_device_val + "&institution_id=" + $('institution_name').value + "&contact_id=" + $('contact_name').value + "&project_id=" + $('project_name').value;
xhr.open("GET",URL,true);
xhr.send(null);
} |
et la fonction python:
def add_Medicalimage(scene_name,organ_list,pathology_list,patient_id,source_name,device_id,parames,val_parames,institution_id,contact_id,project_id):
Partager