Truncate UUID max 12
This commit is contained in:
5
main.py
5
main.py
@@ -3,6 +3,7 @@ import json
|
|||||||
import os
|
import os
|
||||||
import logging
|
import logging
|
||||||
import shutil
|
import shutil
|
||||||
|
import textwrap
|
||||||
import time
|
import time
|
||||||
import uuid
|
import uuid
|
||||||
import tkinter
|
import tkinter
|
||||||
@@ -17,7 +18,7 @@ from threading import *
|
|||||||
|
|
||||||
from class_invoices import *
|
from class_invoices import *
|
||||||
|
|
||||||
VERSION = "202200506-1229"
|
VERSION = "202200506-1834"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -565,7 +566,7 @@ class ClercAttrib2Biz():
|
|||||||
|
|
||||||
|
|
||||||
if data.Patient['insurance_policy_number'] == None:
|
if data.Patient['insurance_policy_number'] == None:
|
||||||
data.Patient['insurance_policy_number'] = uuid.uuid4()
|
data.Patient['insurance_policy_number'] = f"{uuid.uuid4()}"[:12]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user