The cvgateway
program needs information about CareVue
LabEvent
s, in order to bring observation results into the right
unit needed for carevue and to adjust the format and precision of the
measurement value. The LabEventInfo
table has the following
attributes:
loinc_num
labEventClass
LabEventClass
property
property
of the LabEventClass
, usually
`value1'
msmt
MsmtClass
unit
constUnit
constValue
minVal
lowAlert
lowNormal
highNormal
highAlert
maxVal
increment
precision
increment
.
This database exists in two forms: the tabular (`source code') form is
used by humans to edit the table, while the compiled, hashed form is
used for fast access by the cvgateway
program. The tabular form
simply specifies one tuple (row) per line and separates the columns by
colons (`:'). Commentary lines are allowed to start with a number
sign
(`#')
as the first character of the line. An empty numeric
field is treated as zero and an empty string field is treated as NULL.
The checking of boundaries is turned off by setting the boundary equal
to the high boundary (preferably both to zero).
cvgateway
The cvgateway
program has some special interpretations to the
entries of the LabEventInfo
database. Since the laboratory result
are currently received only from the ABL,(3) and since our CareVue
configuration distinguishes between venous and artherial ABL results in
order to perform calculations with the two. Some measurements, like
hemoglobin, had to be doubled in the LOINC code to provide for the
additional knowledge about the exact specimen source. On the other hand,
the LOINC specimen source code lacks exact differentiation of venous
blood between peripheral venous, central venous and mixed
venous.
There is an implied entry in the LabEventInfo database defining the
`BGATYPA' and `BGATYPV' parameter. The values that are
currently transmitted to CareVue for these "observations" are from and
ad-hoc code table, that does neither respect any standard, nor is it
good for international use (german abbreviated word `unbek.' for
"unknown"). However, this is an ad-hoc solution that was quickly
programmed and can be changed in the cvgateway
sourcecode(4).
soapbox This shows the enormous interoperability problems evolving when coding systems are not complete. Every work around this problem is essentially a hack, the interim solution can be to facilitate coding systems mapping (which is not trivial) but this will never be a final solution. A successful EDI standard must provide a consistent and complete set of coding systems for use among all implementation in order to grant interoperability. end soapbox
If the property
value is set to `*BGATEMP*' the
cvgateway
will look up the observation identifiers
`BGATEMPA' or `BGATEMPV' depending on the specimen source
being arterial or venous respectively. The freedom to define additional
`LOINC+' codes is stressed too much if we defined artherial and
venous temperatures.
Some example lines for this database are:
# Admit weight, height and BSA # "3138-5":"":"":"H":"cm":"":0:0.5:0:0:0:0:300.0:1.0:1 "3142-7":"":"":"W":"kg":"":0:0.20:0:0:0:0:250.00:1.0:2 "3140-1":"":"":"S":"m2":"":0:0.5:0:0:0:0:300.0:0.01:2 # # type of blood specimen # "BGATYPA":"Ursprung_art__CFG":"value1":"UrsprArtBGAMsmt":::::::::::: "BGATYPV":"Ursprung_venĪ_CFG":"value1":"UrsprungVBGACode":::::::::::: # # temperature (map 9984-6/"BODY TEMPERATURE" to BGATEMPA or BGATEMPV) # "9984-6":"":"*BGATEMP*":"cel":"":::::::::::: "BGATEMPA":"a__BGA_Temp_CFG":"value1":"cel":""::25:0:0:0:0:45:0.1:1 "BGATEMPV":"v__BGA_Temp_CFG":"value1":"cel":""::25:0:0:0:0:45:0.1:1 # # PO2 # "2703-7":"PaO2_CFG":"value1":"O2Msmt":"kPal":"":0:0:0:0:0:0:40:0.1:1 "2704-5":"PaO2_CFG":"value1":"O2Msmt":"kPal":"":0:0:0:0:0:0:40:0.1:1 "2705-2":"PVO2_CFG":"value1":"O2Msmt":"kPal":"":0:2:0:0:0:0:40:0.01:2 # # Hb. HbO2. HbCO. metHb # "9948-1":"t_Hb_CFG":"value1":"t_HbMsmt":"g/dl":"kg/mol":16.113439:0:0:0:0:0:30:0.1:1 "9947-3":"t_Hb_CFG":"value1":"t_HbMsmt":"g/dl":"kg/mol":16.113439:0:0:0:0:0:30:0.1:1 "2714-4":"art__HBO2_CFG":"value1":"ArtHBO2Msmt":"%":"":0:-20:0:0:0:0:100:0.1:1 "2715-1":"art__HBO2_CFG":"value1":"ArtHBO2Msmt":"%":"":0:-20:0:0:0:0:100:0.1:1 # # K+, Na+, Ca++, Cl-, Glucose # "6298-4":"Kalium_i_S__m_CFG":"value1":"KMsmt":"mmol/l":"g/mol":39.0983:0:0:0:0:0:8:0.1:1 "2947-0":"Natrium_i_S___CFG":"value1":"NaMsmt":"mmol/l":"g/mol":22.9898:0:0:0:0:0:500:1:0 "1994-3":"Calcium_i_S___CFG":"value1":"CaMsmt":"mmol/l":"g/mol":40.078:0.5:0:0:0:0:25:0.1:1 "2069-3":"Chlorid_i_S___CFG":"value1":"ClMsmt":"mmol/l":"g/mol":35.4527:1:0:0:0:0:150:0.1:1 "2339-0":"Glukose_i_S___CFG":"value1":"GlcMsmt":"mmol/l":"g/mol":180.16:0:0:0:0:0:100:0.1:1
odbm(3), gdbm(3), section Managing the Results Mapping.