NHINVLR ;SLC/MKB -- Laboratory extract
Source file <NHINVLR.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
EN(DFN,BEG,END,MAX,ID) | ; -- find patient's lab results
|
|
CH(LAB) | ; -- return a Chemistry result in LAB("attribute")=value
; Expects ^TMP("LRRR",$J,DFN,"CH",NHIDT,NHI),LRDFN |
|
ORDER(LABORD,TEST) | ; -- return #100 order for Lab order# & Test
|
|
MI(LAB) | ; -- return a Microbiology result in LAB("attribute")=value
; Expects ^TMP("LRRR",$J,DFN,"MI",NHIDT,NHI),LRDFN |
|
AP(LAB) | ; -- return a Pathology result in LAB("attribute")=value
|
|
TYPE(X) | ; -- Return name of lab section
|
|
XML(LAB) | ; -- Return result as XML in @NHIN@(#)
|
|
ADD(X) | ; -- Add a line @NHIN@(n)=X
|
FileNo | Call Tags |
---|---|
60.01 | GET1^DIQ |
^LAB(61 - [#61] | GET1^DIQ, GETS^DIQ |
^LRO(68 - [#68] | FIND^DIC |
^LAB(95.3 - [#95.3] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DPT - [#2] | EN+4 |
^LAB(60 - [#60] | CH+8 |
^LR - [#63] | CH+5, MI+6 |
^LRO(69 - [#69] | ORDER+2, ORDER+3, ORDER+4 |
^TMP("LRRR" | EN+4!, EN+13!, EN+16, EN+17, EN+18, EN+21!, CH+7, CH+30, MI+3, MI+19 |
Name | Line Occurrences |
---|---|
$$ORDER | CH+26 |
@( | EN+12, EN+20 |
ADD | XML+2, XML+3, XML+10, XML+11 |
XML | EN+12, EN+20 |
Name | Field # of Occurrence |
---|---|
^( | CH+5, ORDER+4 |
^("N" | CH+30, MI+19 |
^(0 | ORDER+4 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ATT | XML+1~, XML+3*, XML+4, XML+5, XML+6, XML+8 |
BEG | EN~, EN+3*, EN+8*, EN+10, EN+15 |
CDT | CH+2~, CH+4*, MI+2~, MI+5* |
CMMT | CH+2~, CH+30*, MI+2~, MI+19* |
D | ORDER+1~, ORDER+2*, ORDER+3, ORDER+4 |
DFN | EN~, EN+2*, EN+4, EN+10, EN+13, EN+15, EN+16, EN+17, EN+18, EN+21 , CH+7, CH+30, MI+3, MI+19 |
END | EN~, EN+3*, EN+8*, EN+10, EN+15 |
ID | EN~, EN+7, EN+8, EN+9, MI+2~ |
IENS | CH+17~*, CH+18, CH+19, MI+12~*, MI+13, MI+14 |
LAB | CH~, CH+2!, MI~, MI+2!, AP~, AP+1!, XML~ |
LAB( | XML+3, XML+4 |
LAB("collected" | CH+4*, MI+5* |
LAB("comment" | CH+30*, MI+19* |
LAB("facility" | CH+28*, CH+29*, MI+17*, MI+18* |
LAB("groupName" | CH+14* |
LAB("high" | CH+12* |
LAB("id" | CH+3*, MI+4* |
LAB("interpretation" | CH+11*, MI+9* |
LAB("labOrderID" | CH+25* |
LAB("localName" | CH+13*, MI+10* |
LAB("loinc" | CH+23* |
LAB("low" | CH+12* |
LAB("orderID" | CH+26* |
LAB("result" | CH+9*, MI+7* |
LAB("resulted" | CH+6*, MI+6* |
LAB("sample" | CH+20*, MI+15* |
LAB("specimen" | CH+19*, MI+14* |
LAB("status" | CH+6*, MI+4* |
LAB("test" | CH+8*, CH+13, MI+10* |
LAB("type" | CH+3*, MI+5* |
LAB("units" | CH+10*, MI+8* |
LAB("vuid" | CH+24* |
LABORD | ORDER~, ORDER+2, ORDER+3 |
LOINC | CH+2~, CH+15*, CH+22*, CH+23 |
LR0 | CH+2~, CH+5*, CH+6, CH+27, MI+2~, MI+6*, MI+16 |
LRDFN | EN+1~, EN+4*, CH+5, MI+6 |
LRI | CH+2~, CH+5*, CH+15 |
MAX | EN~, EN+3*, EN+15 |
NAMES | XML+1~, XML+8*, XML+9 |
NHI | EN+1~, EN+7, EN+9*, EN+18*, CH+3, CH+5, CH+7, MI+3, MI+4 |
NHIDT | EN+1~, EN+8*, EN+17*, EN+18, CH+3, CH+4, CH+5, CH+7, CH+30, MI+3 , MI+4, MI+5, MI+6, MI+19 |
>> NHIN | ADD+2 |
>> NHINI | ADD+1*, ADD+2 |
>> NHINTOTL | XML+2* |
NHITM | EN+1~, EN+12, EN+19!, EN+20 |
NHIY | TYPE+1~ |
NHIY("DILIST" | TYPE+3 |
NHSUB | EN+1~, EN+4*, EN+8*, EN+10, EN+11, EN+15, EN+16*, EN+17, EN+18, EN+19 |
NHY | CH+17~, MI+12~ |
NHY(61 | CH+19, MI+14 |
ORD | CH+2~, CH+25*, CH+26 |
P | XML+1~, XML+9* |
S | ORDER+1~, ORDER+3*, ORDER+4 |
SUB | EN+1~, EN+11*, EN+12, EN+19*, EN+20 |
T | ORDER+1~, ORDER+4* |
TAG | XML+1~, XML+9* |
TEST | ORDER~, ORDER+4 |
U | CH+6, CH+8, CH+9, CH+10, CH+11, CH+12, CH+13, CH+14, CH+15, CH+16 , CH+19, CH+25, CH+27, CH+28, ORDER+4, MI+3, MI+6, MI+7, MI+8, MI+9 , MI+10, MI+11, MI+14, MI+16, MI+17, TYPE+3, XML+9 |
VUID | CH+17~*, CH+23*, CH+24 |
X | CH+2~, CH+12*, CH+15*, CH+16*, CH+17, CH+20, CH+22, CH+26*, CH+27*, CH+28 , CH+29, MI+2~, MI+11*, MI+12, MI+15, MI+16*, MI+17, MI+18, TYPE~, TYPE+1 , TYPE+2, XML+1~, XML+4*, XML+5, XML+6, XML+7, XML+9, ADD~, ADD+2 |
X0 | CH+2~, CH+7*, CH+8, CH+9, CH+10, CH+11, CH+12, CH+13, CH+14, CH+16 , CH+22, CH+25, CH+26, MI+2~, MI+3*, MI+7, MI+8, MI+9, MI+10, MI+11 |
Y | ORDER+1~*, ORDER+4*, ORDER+5, TYPE+1~*, TYPE+3*, TYPE+4, XML+1~, XML+3, XML+4*, XML+5* , XML+6*, XML+7*, XML+8*, XML+9*, XML+10* |