URL:
<https://savannah.gnu.org/bugs/?61923>
Summary: Some qr string problem.
Project: GNU Health
Submitted by: tumashu
Submitted on: Tue 25 Jan 2022 10:58:15 PM UTC
Category: Functionality
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Release: None
Discussion Lock: Any
Module: health_qrcode
_______________________________________________________
Details:
I think we should not hard code "," to Name.
> qr_string = 'ID: ' + patient_id \
> + '\nName: ' + patient_lastname + ',' \
> + self.name.name \
> + '\nPUID: ' + patient_puid \
> + '\nGender: ' + patient_gender \
> + '\nDoB: ' + str(patient_dob) \
> + '\nBlood Type: ' + patient_blood_type \
> + ' ' + patient_rh
By the way, In most case, how to use the qr_string when we get it from a
scanners?
just use it as query string in gnuhealth-client search widget? if so, I think
patient_puid
is enough, and we need not other info.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61923>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/