[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-bugs] Re: [Gnumed-devel] Getting closer... but still need so
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-bugs] Re: [Gnumed-devel] Getting closer... but still need some help |
Date: |
Fri, 19 Nov 2010 21:41:51 +0100 |
> Back onto gnumed-devel from gnumed-bugs and the question of slave-mode
> being passive, ... what I am further realizing is that my billing software
> will, on user demand, do both of:
>
> write a patient in CA-MSVA format
> chain to a Windows .bat file
That's great.
> So can the .bat file call a passive slave script in a way to trigger
> GNUmed to call the "Person > Load external" command,
Sure. The .bat file can effect a waiting, passive slave to do that.
It employs the XML-RPC API for that as exemplified in gm_ctl_client.py.
> following which
>
> 1) if
>
> GNUmed > Preferences > User interface > Person > Immediate source
> activation
>
> gets set to default "Yes" (0)
"0" means "No" because in Otaku speak 0 is False.
> except that the bootstrap sets it to 1 so maybe should be fixed
The *bootstrap* certainly doesn't set it to anything. It doesn't
set it at all. It will carry it over from previous databases, however,
upon *upgrading*.
What's setting the default is the GNUmed client python code when it first
reads that option and doesn't find it. And then it defaults to 0.
> 2) provided
>
> only one single loadable patient resides in the available external
> file(s)
>
> then GNUmed slave, by calling the "Person > Load external" command, would
>
> a) (on debugging the duplicate-patient problem)
>
> if only one name / dob match exists, move the slave to the existing
> patient
>
> b) if no name match, create and auto-navigate to the patient
>
> c) if multiple name match, present a list to the user
Yep, that's entirely the intended workflow barring bugs.
I do know that it worked at some point - I've personally see it happen
with xDT format sources.
> So if we
>
> - debug the duplicates
> - set default above to 0 (I can to it manually on my own install)
> - identify what the slave script, upon being called, must itself contain
> in order to call the slave instance's
> "Person > Load external" command
> - identify how .bat can call the slave script
>
> Then we will have a working use case of
>
> CA billing software drives GNUmed in an effective slave mode
That's an excellent, well-defined definition of a use case.
I'm sure we can effect that for 0.9.
Karsten
--
GMX DSL Doppel-Flat ab 19,99 €/mtl.! Jetzt auch mit
gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl