[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FreeDIAMS 0.4x API (was Re: [Gnumed-devel] FreeDIAMS 0.3 API)
From: |
Jim Busser |
Subject: |
Re: FreeDIAMS 0.4x API (was Re: [Gnumed-devel] FreeDIAMS 0.3 API) |
Date: |
Sun, 11 Jul 2010 08:31:22 -0700 |
On 2010-07-11, at 12:52 AM, Eric Maeker wrote:
> Nop. If you read carrefully you have to specify the *FreeDiams unique
> identifier* of the database (which is inform in the INFORMATIONS table
> of the db) not the filename.
What's wrong with the text file "kirk.xml" called by the following shell
command (console output appended)
/Applications/FreeDiams.app/Contents/MacOs/FreeDiams
--exhange-in="/Users/djb/Documents/Computing/GNUmed/FreeDiams/kirk.xml"
--exchange="exchange.exc"
here's the contents of the text file kirk.xml... it is Unicode (UTF-8, no BOM)
with Unix Line Feeds:
<FreeDiams_In version="0.4.0">
<ConfigFile value=""/>
<OutFile value="~/exchange_kirk.txt" format="xml html html_xml"/>
<DrugsDatabase uid="CA_HCDPD"/>
<EMR name="GNUmed" uid="sessionUID_001"/>
<Patient>
<Identity name="Kirk" surname="James" uid="EMR Patient's UID"
dob="1931/03/21" gender="M"/>
<Creatinine value="12" unit="mg/l or mmol/l"/>
<Weight value="70" unit="kg" />
<Height value="170" unit="cm"/>
<InnAllergies value="inn1;inn2;inn3"/>
<ATCAllergies value="J01CE02;ATC2;ATC3"/>
<DrugsUidAllergies value="0;0;0"/>
<ICD10 value="J11.0;A22;Z23"/>
</Patient>
<Ui editmode="prescriber" blockPatientDatas="0"/>
</FreeDiams_In>
-- Jim
*************************************
MacBook:FreeDiams djb$ sh ./kirk2fd.sh
"Main" "Command line : /Applications/FreeDiams.app/Contents/MacOs/FreeDiams
--exhange-in=/Users/djb/Documents/Computing/GNUmed/FreeDiams/kirk.xml
--exchange=exchange.exc"
"Main" "looking for plugins in path :
/Applications/FreeDiams.app/Contents/plugins"
"Database" "Available drivers : "
"Main" "Running release version"
"Settings" "Trying ini file /Users/djb/.FreeDiams/config.ini"
"Settings" "Using ini file /Users/djb/.FreeDiams/config.ini"
"ThemePrivate" "Setting theme path to :
/Applications/FreeDiams.app/Contents/Resources"
"Core" "Starting application at Sun Jul 11 08:24:06 2010"
"Core" "Using library : /Applications/FreeDiams.app/Contents/plugins"
"Core" "Using library : /Applications/FreeDiams.app/Contents/plugins/qt"
"Core" "Core intialization finished..."
creating ListViewPlugin
creating TextEditorPlugin
creating PrinterPlugin
creating TemplatesPlugin
creating FREEDIAMS::DrugsBasePlugin
creating FREEDIAMS::DrugsPlugin
creating FREEDIAMS::MainWinPlugin
creating SaveRestorePlugin
CorePlugin::initialize
ListViewPlugin::initialize
TextEditorPlugin::initialize
PrinterPlugin::initialize
TemplatesPlugin::initialize
"Database" "Trying to connect database templates.db with SQLite driver"
"Database" "INFO : database templates connection = 1"
"Database" "INFO : database templates installed. Path :
/Users/djb/.FreeDiams/databases/templates"
DrugsBasePlugin::initialize
"DrugsBase" "Searching databases into dir
/Applications/FreeDiams.app/Contents/Resources/databases/drugs"
"Database" "Trying to connect database drugs-ca.db with SQLite driver"
"Database" "INFO : database drugs connection = 1"
"Database" "INFO : database drugs installed. Path :
/Applications/FreeDiams.app/Contents/Resources/databases/drugs"
"DrugsBase" "Drugs database informations correctly read drugs"
"Database" "Trying to connect database iam.db with SQLite driver"
"Database" "INFO : database iam connection = 1"
"Database" "INFO : database iam installed. Path :
/Applications/FreeDiams.app/Contents/Resources/databases/drugs"
retrieveLinkTable "CA_HCDPD"
not FR return
"Database" "Trying to connect database dosages.db with SQLite driver"
"Database" "INFO : database dosages connection = 1"
"Database" "INFO : database dosages installed. Path :
/Users/djb/.FreeDiams/databases/drugs"
DrugsPlugin::initialize
MainWinPlugin::initialize
"addOverrideAction: action already registered for context when registering ''"
"addOverrideAction: action already registered for context when registering ''"
"addOverrideAction: action already registered for context when registering ''"
"addOverrideAction: action already registered for context when registering ''"
SaveRestorePlugin::initialize
SaveRestorePlugin::extensionsInitialized
MainWinPlugin::extensionsInitialized
"DrugsActionHandler" "Instance created"
"addOverrideAction: action already registered for context when registering ''"
"addOverrideAction: action already registered for context when registering ''"
"addOverrideAction: action already registered for context when registering ''"
"addOverrideAction: action already registered for context when registering ''"
"addOverrideAction: action already registered for context when registering ''"
"addOverrideAction: action already registered for context when registering ''"
"DrugsWidgetManager" "Instance created"
"InteractionsManager1" "Instance created"
"DrugsModel_1" "Instance created"
"Utils" "File /Applications/FreeDiams.app/Contents/MacOs/exchange.exc loaded"
"MainWindow" "Unable to read exchange file"
"MainWindow" "Checking for updates..."
"UpdateChecker" "Checking for updates from
http://www.ericmaeker.fr/FreeMedForms/update-di.txt"
"UpdateChecker" "getFile"
*** addMenu(): Unknown group: "grEdit.Templates"
"TemplatesModel" "Getting Templates Categories"
"TemplatesModel" "Getting Templates"
DrugsPlugin::extensionsInitialized
DrugsBasePlugin::extensionsInitialized
TemplatesPlugin::extensionsInitialized
PrinterPlugin::extensionsInitialized
TextEditorPlugin::extensionsInitialized
ListViewPlugin::extensionsInitialized
CorePlugin::extensionsInitialized
"UpdateChecker" "Version up to date"
- Re: [Gnumed-devel] Status of to-be client 0.8x, (continued)
- Re: [Gnumed-devel] Status of to-be client 0.8x, Karsten Hilbert, 2010/07/08
- Re: [Gnumed-devel] Status of to-be client 0.8x, Jim Busser, 2010/07/08
- Re: [Gnumed-devel] Status of to-be client 0.8x, Karsten Hilbert, 2010/07/09
- [Gnumed-devel] FreeDIAMS 0.3 API, Karsten Hilbert, 2010/07/09
- Re: [Gnumed-devel] FreeDIAMS 0.3 API, Jim Busser, 2010/07/09
- Re: [Gnumed-devel] FreeDIAMS 0.3 API, Eric MAEKER, 2010/07/10
- Message not available
- FreeDIAMS 0.4x API (was Re: [Gnumed-devel] FreeDIAMS 0.3 API), Jim Busser, 2010/07/10
- Re: FreeDIAMS 0.4x API (was Re: [Gnumed-devel] FreeDIAMS 0.3 API), Karsten Hilbert, 2010/07/11
- Message not available
- Message not available
- Re: FreeDIAMS 0.4x API (was Re: [Gnumed-devel] FreeDIAMS 0.3 API), Jim Busser, 2010/07/11
- Message not available
- Message not available
- Re: FreeDIAMS 0.4x API (was Re: [Gnumed-devel] FreeDIAMS 0.3 API), Eric Maeker, 2010/07/11
- Re: FreeDIAMS 0.4x API (was Re: [Gnumed-devel] FreeDIAMS 0.3 API),
Jim Busser <=