From e430117d404a307a8be596e950a020dc3c463dd2 Mon Sep 17 00:00:00 2001 From: Ambulance Clerc Date: Wed, 1 Mar 2023 18:56:40 +0100 Subject: [PATCH] =?UTF-8?q?Changement=20de=20la=20longueur=20de=20l'HUID?= =?UTF-8?q?=20de=2015=20=C3=A0=2010=20en=20raison=20de=20bug=20Winbiz?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dl_version | 2 +- main.py | 4 ++-- version.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dl_version b/dl_version index 8384664..01cc6b8 100644 --- a/dl_version +++ b/dl_version @@ -1 +1 @@ -20230124-1611 \ No newline at end of file +20230301-1856 \ No newline at end of file diff --git a/main.py b/main.py index 1ef4da9..8df7302 100644 --- a/main.py +++ b/main.py @@ -841,8 +841,8 @@ class ClercAttrib2Biz(): self.logger.warning(f"Complément 22 patient: facture N°: {data.data['id']} / {data.Patient['fip_number']}") - if data.Patient['insurance_policy_number'] == None: - data.Patient['insurance_policy_number'] = f"{uuid.uuid4()}"[:15] + if data.Patient['insurance_policy_number'] == None:#Génération d'un code UUID pour remplacer le numéro AVS pour les patients étranger ou AVS inconu + data.Patient['insurance_policy_number'] = f"{uuid.uuid4()}"[:10] diff --git a/version.py b/version.py index b5bf805..e1fa51e 100644 --- a/version.py +++ b/version.py @@ -1 +1 @@ -VERSION = "20230124-1611" \ No newline at end of file +VERSION = "20230301-1856" \ No newline at end of file