Gnumed.business.gmLOINC

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
format_loinc(loinc) | source code
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_ASPCT SYSTEM`...``
| 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']`

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 R
      ELAT_NMS CLASS SOURCE DT_LAST_CH CHNG_TYPE COMMENTS ANSWERLIST STATUS
      MAP_TO SCOPE NORM_RANGE IPCC_UNITS REFERENCE EXACT_CMP_SY MOLAR_MASS C
      LASSTYPE FORMULA SPECIES EXMPL_ANSWERS ACSSYM BASE_NAME FINAL NAACCR_I
      D CODE_TABLE SETROOT PANELELEMENTS SURVEY_QUEST_TEXT SURVEY_QUEST_SRC
      UNITSREQUIRED SUBMITTED_UNITS RELATEDNAMES2 SHORTNAME ORDER_OBS CDISC_
      COMMON_TESTS HL7_FIELD_SUBFIELD_ID EXTERNAL_COPYRIGHT_NOTICE EXAMPLE_U
      NITS INPC_PERCENTAGE LONG_COMMON_NAME".split()

  ### 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', '50
      384-7', '62238-1', '69405-9', '70969-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', '8351-9']

  ### LOINC_rr_quantity Value:
      ['8478-0', '8448-3', '8449-1', '8456-6', '8457-4', '8458-2', '55284-4'
      , '50403-5', '50402-7', '45372-0']

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