Package Gnumed :: Package business :: Module gmMedication :: Class cFreeDiamsInterface
[frames] | no frames]

Class cFreeDiamsInterface

source code

              object --+    
                       |    
cDrugDataSourceInterface --+
                           |
                          cFreeDiamsInterface

Instance Methods
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
get_data_source_version(self) source code
 
create_data_source_entry(self) source code
 
switch_to_frontend(self, blocking=False)
http://ericmaeker.fr/FreeMedForms/di-manual/en/html/ligne_commandes.html
source code
 
select_drugs(self) source code
 
import_drugs(self)
FreeDiams ONLY use CIS.
source code
 
check_drug_interactions(self, drug_ids_list=None, substances=None) source code
 
show_info_on_drug(self, drug=None) source code
 
import_fd2gm_file(self) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables
  version = u'FreeDiams v0.4.2 interface'
  default_encoding = 'utf8'
  default_dob_format = '%Y/%m/%d'
  map_gender2mf = {'f': u'F', 'h': u'H', 'm': u'M', 'tf': u'H', ...
Properties

Inherited from object: __class__

Method Details

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

get_data_source_version(self)

source code 
Overrides: cDrugDataSourceInterface.get_data_source_version

create_data_source_entry(self)

source code 
Overrides: cDrugDataSourceInterface.create_data_source_entry

switch_to_frontend(self, blocking=False)

source code 

http://ericmaeker.fr/FreeMedForms/di-manual/en/html/ligne_commandes.html

Overrides: cDrugDataSourceInterface.switch_to_frontend

select_drugs(self)

source code 
Overrides: cDrugDataSourceInterface.select_drugs

import_drugs(self)

source code 

FreeDiams ONLY use CIS.

CIS stands for Unique Speciality Identifier (eg bisoprolol 5 mg, gel). CIS is AFSSAPS specific, but pharmacist can retreive drug name with the CIS. AFSSAPS is the French FDA.

CIP stands for Unique Presentation Identifier (eg 30 pills plaq) CIP if you want to specify the packaging of the drug (30 pills thermoformed tablet...) -- actually not really usefull for french doctors.

Overrides: cDrugDataSourceInterface.import_drugs

check_drug_interactions(self, drug_ids_list=None, substances=None)

source code 
Overrides: cDrugDataSourceInterface.check_drug_interactions

show_info_on_drug(self, drug=None)

source code 
Overrides: cDrugDataSourceInterface.show_info_on_drug

Class Variable Details

map_gender2mf

Value:
{'f': u'F', 'h': u'H', 'm': u'M', 'tf': u'H', 'tm': u'H'}