The unit of the labroatroy measurement from the data
9
LAB_ABNORMALITY
Abnormality of the lab measurement
Describes whether the test is result is normal or abnormal i.e. too high or low low based on the laboratories reference values. This is not a quality control variable but to state it simply and inaccurately denotes whether the patient is healthy or not. See AR/LABRA - Poikkeustilanneviestit for the abbreviations meanings.
The column contains a lot of missingness.
10
MEASUREMENT_STATUS
The measurement status
The final data contains only C - corrected results or F - final result
The reference values for the measurement in text form
This can be used to define the lab abnormality with better coverage using regex expressions (-to be implemented for the whole data).
Some of them are direct mapping , while others LAB_ID,LAB_ID_SOURCE are generated via the mapping in the description, meaning the mapping is as follows:
In the config file we specify which columns to include, how to rename them and what the output names should be.
Some of them are simple one to one mapping, while others need to be manipulated and possible combined (e.g. lab IDs).
As per README my current understanding of what the output should be formatted like is as follows:
FINREGISTRYID
LAB_DATE_TIME
LAB_SERVICE_PROVIDER
LAB_ID
LAB_ID_SOURCE
LAB_ABBREVIATION
LAB_VALUE
LAB_UNIT
LAB_ABNORMALITY
MEASUREMENT_STATUS
C
- corrected results orF
- final resultREFERENCE_VALUE_TEXT
Some of them are direct mapping , while others
LAB_ID,LAB_ID_SOURCE
are generated via the mapping in the description, meaning the mapping is as follows:Also,
hetu_root
is needed as input as it allows us to filter out some values (!=1.2.246.21
) as it means that they are manually assigned hetusOpen question: what other columns would be of interest? Assuming our data matches exactly Kira's in FinnRegistry, the format should be:
laboratoriotutkimusoid
- Laboratory test OIDasiakirjaoid
- Document OIDmerkintaoid
- Note OIDentryoid
- Entry OIDpotilashenkilotunnus
- Finregistry IDpalvelutapahtumatunnus
- Service event IDtutkimuksennaytelaatu
- Measurementtutkimuksentekotapa
- Test methodpotilassyntymaaika_pvm
- Patient birth datepotilas_sukupuoli
- Patient sexlabooratoriotutkimusoid
- Laboratory test OIDtutkimusaika
- Test timealkuperainenasiakirjaoid
- Original document OIDasiakirjaversio
- Document versionrekisterinpitaja_organisaatio_h
- Registry controller organisation IDrekisterinpitaja_h
- Registry organisation IDasiakirjavalistilapk
- Document statusmarittelykokoelmaoid
- Collection OIDtietojarjestelanimi
- Data system nametietojarjestelavalmistaja
- Data system manufacturertietojarjestelaversio
- Data system versionasiajirjaluontiaika
- Document creation timepal_alkuperainenasiakirjaoid
- Original document OIDpal_asiakirjaversio
- Document versionpal_ariakirjaoid
- Document OIDpal_asiakirjaversio
- Document versionrekisterinpitaja_organisaatio
- Registry controller organisation IDrekisterinpitaja
- Registry organisation IDpalveluntuottaja_organisaatio
- Service provider organisation IDpalveluisanta_organisaatio
- Service host organisation IDhetu_root
- Finregistry ID rootpaikallinentutkimusnimike
- Local test namepaikallinentutkimusnimikeid
- Local test name IDtutkimuskoodistonjarjestelmaid
- Test code system IDtutkimuksenvastauksentila
- Test result statustutkimustulosarvo
- Test result valuetutkimustulosyksikkö
- Test result unittuloksenpoikkeavuus
- Test result abnormalitytuloksenvalmistumisaika
- Test result timeviitearvoryhma
- Reference value groupviitevalialkuarvo
- Reference value lower limitviitevalialkuarvoyksikko
- Reference value lower limit unitviitevaliloppuarvo
- Reference value upper limitviitevaliloppuarvoyksikko
- Reference value upper limit unitviitearvoteksti
- Reference value texterikoisalalyhenne
- Speciality abbreviation