[Top][All Lists]

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

Re: [Gnumed-devel] Re: trying out the gmDemographics in testarea/test-cl

From: Karsten Hilbert
Subject: Re: [Gnumed-devel] Re: trying out the gmDemographics in testarea/test-client-c
Date: Sun, 9 Nov 2003 02:42:10 +0100
User-agent: Mutt/

> and also have a few manually inserted v_basic_persons with lastnames, 
> firstnames, gender, birthdate, title.
There are a few in server/sql/test-data/ .  The Star Trek crew
has a bit more data such as vaccinations, episodes etc. To be
expanded !

> How do I create new identities using the business layer?
Currently, one would call gmPatient.create_dummy_identity()
which returns a new ID which can then be passed into
gmPatient.gmCurrentPatient() (if you want to immediately
change the currently selected patient) or gmPatient.gmPerson()
(if you want to muck around with that person's record but
leave the currently selected patient alone).

Ian an me were discussing of how to best take this to a higher
level of abstraction for when we will (have to) interface
with, say, LDAP. However, for a stock SQL backend the
described method should work (barring bugs).

GPG key ID E4071346 @
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346

reply via email to

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