health
[Top][All Lists]
Advanced

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

Re: [Health] Should PUID be a compulsory field when creating new patient


From: Cédric Krier
Subject: Re: [Health] Should PUID be a compulsory field when creating new patients?
Date: Sat, 27 Sep 2014 09:32:01 +0200
User-agent: Mutt/1.5.22 (2013-10-16)

On 27 Sep 01:02, Luis Falcon wrote:
> Hi Ronald / Bounmy !
> 
> On Mon, 22 Sep 2014 09:57:06 +0700
> Bounmy Sihaphom <address@hidden> wrote:
> 
> > Ronald!
> > How I can make generate automatically, by the way is it PUID  is the
> > same as SSN (When creating ne party)? If I want PUID in the format
> > of : YYY-xxx-xxx-XXX , where YYY is Fixed string like CM2 and
> > XXX-XXX-XXX, is a sequential number from 000-000-001 to 999-999-999.
> @Bounmy. In your scenario, the best way is to use a tryton sequence,
> followed by fixed prefix and a sequential number .
> Check the lab or the service sequences as examples.

And probably the need to extend ir.sequence to apply the specific
formatting.

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: address@hidden
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Attachment: pgpNA4demJbLi.pgp
Description: PGP signature


reply via email to

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