I think it is HealthProfessional class and Patient class bug, their 
get_rec_name are using party's name instead of rec_name,

for example:





     def get_rec_name(self, name):
        if self.name:
            res = self.name.name
            if self.name.lastname:
                res = self.name.lastname + ', ' + self.name.name
        return res




--
发自我的网易邮箱手机智能版
<br/><br/><br/>


----- Original Message -----
From: tumashu <tuma...@163.com>
To: "health-dev@gnu.org" <health-dev@gnu.org>
Cc: "Luis Falcon" <fal...@gnuhealth.org>
Sent: Thu, 24 Oct 2019 08:49:20 +0800 (CST)
Subject: Re: [Health-dev] Some problem about CJK name style.


I have tested, i think it should happen in _all_ name representations  all form 
and report except "patients form"  do not take the name representation


https://github.com/tumashu/gnuhealth-cn/issues/8




----- Original Message -----

From: "Luis Falcon" <fal...@gnuhealth.org>

To: tumashu <tuma...@163.com>

Cc: health-dev@gnu.org

Sent: Wed, 23 Oct 2019 10:05:43 +0100

Subject: Re: [Health-dev] Some problem about CJK name style.



Dear Tumashu

On Tue, 22 Oct 2019 08:29:11 +0800 (CST)

tumashu  <tuma...@163.com> wrote:



> Hello:

> 

> 

>   I have created a person with CJk style name:  西门吹雪, But when I

> select the person in other place, it show "西门,吹雪", seem to use

> other name style. the screenshot can be found:

> 

> https://github.com/tumashu/gnuhealth-cn/issues/7



Thank you for reporting !



Does this happen in _all_ name representations or just in CJK ? Could

you please tell us which forms / reports do not take the name

representation ?



Also, it would be easier if you can transliterate to Latin alphabet the

names, so it's easier for me to detect it. Sorry, I wish I knew Chinese

!! (I should learn it ! ).



Thank you again 



Best

Luis

Reply via email to