Package Gnumed :: Package business :: Module gmLOINC
[frames] | no frames]

Module gmLOINC

source code

LOINC handling code.

http://loinc.org

license: GPL v2 or later


Author: K.Hilbert <Karsten.Hilbert@gmx.net>

Classes
  cLOINCMatchProvider
Functions
 
loinc2data(loinc) source code
 
loinc2term(loinc=None) source code
 
split_LOINCDBTXT(input_fname=None, data_fname=None, license_fname=None) source code
 
map_field_names(data_fname='loinc_data.csv') source code
 
get_version(license_fname='loinc_license.txt') source code
 
loinc_import(data_fname=None, license_fname=None, version=None, conn=None, lang='en_EN') source code
Variables
  origin_url = 'http://loinc.org'
  file_encoding = 'latin1'
  license_delimiter = 'Clip Here for Data'
  version_tag = 'LOINC(R) Database Version'
  name_long = 'LOINC\xc2\xae (Logical Observation Identifiers Na...
  name_short = 'LOINC'
  loinc_fields = ['LOINC_NUM', 'COMPONENT', 'PROPERTY', 'TIME_AS...
  LOINC_creatinine_quantity = ['2160-0', '14682-9', '40264-4', '...
  LOINC_gfr_quantity = ['33914-3', '45066-8', '48642-3', '48643-...
  LOINC_height = ['3137-7', '3138-5', '8301-4', '8302-2', '8305-...
  LOINC_weight = ['18833-4', '29463-7', '3141-9', '3142-7', '833...
  LOINC_rr_quantity = ['8478-0', '8448-3', '8449-1', '8456-6', '...
  LOINC_heart_rate_quantity = ['8867-4', '67129-7', '40443-4', '...
  LOINC_inr_quantity = ['34714-6', '46418-0', '6301-6', '38875-1']
  __package__ = 'Gnumed.business'

Imports: sys, io, logging, csv, regex, gmPG2, gmTools, gmMatchProvider


Variables Details

name_long

Value:
'LOINC\xc2\xae (Logical Observation Identifiers Names and Codes)'

loinc_fields

Value:
['LOINC_NUM',
 'COMPONENT',
 'PROPERTY',
 'TIME_ASPCT',
 'SYSTEM',
 'SCALE_TYP',
 'METHOD_TYP',
 'RELAT_NMS',
...

LOINC_creatinine_quantity

Value:
['2160-0', '14682-9', '40264-4', '40248-7']

LOINC_gfr_quantity

Value:
['33914-3',
 '45066-8',
 '48642-3',
 '48643-1',
 '50044-7',
 '50210-4',
 '50384-7',
 '62238-1',
...

LOINC_height

Value:
['3137-7',
 '3138-5',
 '8301-4',
 '8302-2',
 '8305-5',
 '8306-3',
 '8307-1',
 '8308-9']

LOINC_weight

Value:
['18833-4',
 '29463-7',
 '3141-9',
 '3142-7',
 '8335-2',
 '8339-4',
 '8344-4',
 '8346-9',
...

LOINC_rr_quantity

Value:
['8478-0',
 '8448-3',
 '8449-1',
 '8456-6',
 '8457-4',
 '8458-2',
 '55284-4',
 '50403-5',
...

LOINC_heart_rate_quantity

Value:
['8867-4', '67129-7', '40443-4', '69000-8', '69001-6', '68999-2']