health-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Health-dev] [bug #61923] Some qr string problem.


From: Feng Shu
Subject: [Health-dev] [bug #61923] Some qr string problem.
Date: Tue, 25 Jan 2022 17:58:16 -0500 (EST)

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]