Example #1
0
def create_and_load_from(filepath):
    if not os.path.isfile(filepath):
        print "Can't load LOINC, the file does not exist at %s" % filepath
        return
    
    codingsystem = create_codingsystem('loinc', 'LOINC')
    load(open(filepath, "r"), codingsystem)
Example #2
0
def create_and_load_from(filepath):
    if not os.path.isfile(filepath):
        print "Can't load LOINC, the file does not exist at %s" % filepath
        return

    codingsystem = create_codingsystem('loinc', 'LOINC')
    load(open(filepath, "r"), codingsystem)
Example #3
0
def create_and_load_from(filepath):
    if not os.path.isfile(filepath):
        print "Can't load HL7 v3.0 Vaccines, the file does not exist at %s" % filepath
        return
    
    codingsystem = create_codingsystem('hl7-v3-vaccines', 'HL7 v3.0 Vaccines')
    load(open(filepath, "r"), codingsystem)
Example #4
0
def create_and_load_from(filepath):
    if not os.path.isfile(filepath):
        print "Can't load SNOMED, the file does not exist at %s" % filepath
        return
    
    codingsystem = create_codingsystem('procedures', 'SNOMED concept codes with UMLS')
    load(open(filepath, "r"), codingsystem)
Example #5
0
def create_and_load_from(filepath):
    if not os.path.isfile(filepath):
        print "Can't load SNOMED, the file does not exist at %s" % filepath
        return

    codingsystem = create_codingsystem("snomed", "SNOMED concept codes with UMLS")
    load(open(filepath, "r"), codingsystem)
Example #6
0
def create_and_load_from(filepath):
    if not os.path.isfile(filepath):
        print "Can't load RxTerms, the file does not exist at %s" % filepath
        return
    
    codingsystem = create_codingsystem('rxterms', 'RxTerms',
                                       key_field_name_1 = 'brand_name',
                                       key_field_name_2 = 'rxn_dose_form',
                                       key_field_name_3 = 'strength')
    load(open(filepath, "r"), codingsystem)
Example #7
0
def create_and_load_from(filepath):
    if not os.path.isfile(filepath):
        print "Can't load RxTerms, the file does not exist at %s" % filepath
        return

    codingsystem = create_codingsystem('allergies',
                                       'allergies',
                                       key_field_name_1='brand_name',
                                       key_field_name_2='rxn_dose_form',
                                       key_field_name_3='strength')
    load(open(filepath, "r"), codingsystem)
Example #8
0
def create_and_load_from(filepath):
    codingsystem = create_codingsystem('loinc', 'LOINC')
    load(open(filepath, "r"), codingsystem)
Example #9
0
def create_and_load_from(filepath):        
    codingsystem = create_codingsystem('hl7-v3-vaccines', 'HL7 v3.0 Vaccines')
    load(open(filepath, "r"), codingsystem)
Example #10
0
def create_and_load_from(filepath):        
    codingsystem = create_codingsystem('loinc', 'LOINC')
    load(open(filepath, "r"), codingsystem)
Example #11
0
def create_and_load_from(filepath):
    codingsystem = create_codingsystem('snomed',
                                       'SNOMED concept codes with UMLS')
    load(open(filepath, "r"), codingsystem)
Example #12
0
def create_and_load_from(filepath):        
    codingsystem = create_codingsystem('snomed', 'SNOMED concept codes with UMLS')
    load(open(filepath, "r"), codingsystem)
Example #13
0
def create_and_load_from(filepath):        
    codingsystem = create_codingsystem('rxterms', 'RxTerms',
                                       key_field_name_1 = 'brand_name',
                                       key_field_name_2 = 'rxn_dose_form',
                                       key_field_name_3 = 'strength')
    load(open(filepath, "r"), codingsystem)