HMPDLRA ;SLC/MKB,ASMR/RRB,BL - Laboratory extract by accession;Aug 29, 2016 20:06:27
Source file <HMPDLRA.m>
Package | Total | Call Graph |
---|---|---|
Enterprise Health Management Platform | 4 | ($$ESC,$$FAC,$$STRING,$$VUID)^HMPD ($$TEXT,EN1,XML)^HMPDTIU LOGDPT^HMPLOG ($$LABTSTNM,$$LRDFN)^HMPXGLAB |
Lab Service | 3 | RR^LR7OR1 EN^LR7OSAP4 EN^LR7OSUM |
VA FileMan | 2 | FIND^DIC ($$GET1,GETS)^DIQ |
Kernel | 1 | ($$NS,$$STA)^XUAF4 |
PCE Patient Care Encounter | 1 | $$GETENC^PXAPI |
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Package | Total | Caller Graph |
---|---|---|
Enterprise Health Management Platform | 3 | HMPDJ06 HMPDJ08A HMPDTIU |
Name | Comments | DBIA/ICR reference |
---|---|---|
EN(DFN,BEG,END,MAX,ID) | ; -- find patient's lab results
|
|
CH() | ; -- return a Chemistry result as:
; id^test^result^interpretation^units^low^high^localName^loinc^vuid^order ; Expects ^TMP("LRRR",$J,DFN,"CH",HMPIDT,HMPN),LRDFN |
|
MI() | ; -- return a Microbiology result as:
; id^test^result^interpretation^units ; Expects ^TMP("LRRR",$J,DFN,"MI",HMPIDT,HMPN) |
|
AP(LAB) | ; -- return a Pathology result in LAB("attribute")=value
|
|
ORDER(LABORD,TEST) | ; -- return #100 order^name for Lab order# & Test
|
|
NAME(X) | ; -- Return name of subscript X
|
|
AREA(ACCNUM) | ; -- Return name of accession area
|
|
RPTS(DFN,BEG,END,MAX) | ; -- find patient's lab reports
|
|
RPT1(DFN,ID,RPT) | ; -- return report as a TIU document
|
|
TEXT(DFN,SUB,IDT,LRDFN) | ; -- Get report text, return temp array name
|
|
XML(LAB) | ; -- Return result as XML in @HMP@(#)
|
|
LOOP() | ; -- build sub-items string from NAMES and X
|
|
ADD(X) | ; -- Add a line @HMP@(n)=X
|
Name | Field # of Occurrence |
---|---|
FIND^DIC | AREA+3 |
$$GET1^DIQ | CH+9, AP+12, AP+13, RPT1+22, RPT1+26 |
GETS^DIQ | EN+22 |
$$ESC^HMPD | XML+13, XML+17, XML+18, LOOP+2 |
$$FAC^HMPD | EN+27, AP+8, RPT1+16 |
$$STRING^HMPD | EN+35 |
$$VUID^HMPD | CH+10 |
$$TEXT^HMPDTIU | AP+15 |
EN1^HMPDTIU | RPTS+13 |
XML^HMPDTIU | RPTS+10, RPTS+13 |
LOGDPT^HMPLOG | EN+2, RPT1+1 |
$$LABTSTNM^HMPXGLAB | CH+5 |
$$LRDFN^HMPXGLAB | EN+4, RPTS+4, RPT1+5 |
RR^LR7OR1 | EN+12, RPTS+5 |
EN^LR7OSAP4 | TEXT+10 |
EN^LR7OSUM | TEXT+12 |
$$GETENC^PXAPI | RPT1+19 |
$$NS^XUAF4 | EN+26 |
$$STA^XUAF4 | EN+26 |
FileNo | Call Tags |
---|---|
^VA(200 - [#200] | GET1^DIQ |
^LAB(61 - [#61] | GETS^DIQ |
^LRO(68 - [#68] | FIND^DIC |
^TIU(8925 - [#8925] | GET1^DIQ |
^LAB(95.3 - [#95.3] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^LR - [#63] | EN+19, CH+4, AP+2, AP+6, AP+9, RPTS+8, RPT1+6 |
^LRO(69 - [#69] | ORDER+3, ORDER+4 |
^SC("B" | RPT1+15 |
^TMP("HMPTEXT" | EN+15!, EN+37!, RPTS+14!, RPT1+4!, TEXT+13 |
^TMP("LRC" | TEXT+2!, TEXT+10, TEXT+15, TEXT+16! |
^TMP("LRH" | TEXT+2!, TEXT+14, TEXT+16! |
^TMP("LRRR" | EN+5!, EN+13, EN+14, EN+31, EN+35, EN+37!, CH+4, MI+4, RPTS+5!, RPTS+6 , RPTS+7, RPTS+14! |
^TMP("LRT" | TEXT+2!, TEXT+16! |
Name | Line Occurrences |
---|---|
$$AREA | EN+25 |
$$CH | EN+32 |
$$LOOP | XML+9, XML+21 |
$$MI | EN+32 |
$$NAME | AP+17, RPT1+8, TEXT+3 |
$$ORDER | CH+11 |
$$TEXT | EN+30, AP+18, RPT1+27 |
ADD | XML+2, XML+3, XML+5, XML+10, XML+11, XML+12, XML+13, XML+14, XML+15, XML+21 , XML+22 |
AP | EN+16 |
RPT1 | RPTS+10 |
XML | EN+16, EN+36 |
Name | Field # of Occurrence |
---|---|
^( | EN+14, AP+6, ORDER+4, RPTS+7, TEXT+15 |
^("N" | EN+35 |
^(0 | ORDER+4 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ACCNUM | AREA~, AREA+2 |
ATT | XML+1~, XML+3*, XML+4, XML+5, XML+6, XML+7, XML+8, XML+9, XML+10, XML+14 , XML+15, XML+16, XML+17, XML+18, XML+21 |
BEG | EN~, EN+3*, EN+10*, EN+12, RPTS~, RPTS+3*, RPTS+5 |
CDT | RPT1+18~*, RPT1+19 |
CMMT | EN+15!, EN+35*, CH+3~ |
D | ORDER+1~, ORDER+2*, ORDER+3, ORDER+4 |
DA | RPTS+1~, RPTS+12*, RPTS+13 |
DATE | TEXT+1~, TEXT+3*, TEXT+12 |
DFN | EN~, EN+2*, EN+4, EN+5, EN+12, EN+13, EN+14, EN+30, EN+31, EN+35 , EN+37, CH+4, MI+4, AP+18, RPTS~, RPTS+2*, RPTS+4, RPTS+5, RPTS+6, RPTS+7 , RPTS+10, RPTS+14, RPT1~, RPT1+1*, RPT1+5, RPT1+19, RPT1+27, TEXT~, TEXT+12 |
END | EN~, EN+3*, EN+10*, EN+12, RPTS~, RPTS+3*, RPTS+5 |
>> FILTER("loinc" | RPT1+14 |
>> FILTER("type" | EN+4 |
>> HMP | ADD+2 |
HMPA | AREA+1~ |
HMPA("DILIST" | AREA+4 |
>> HMPI | ADD+1*, ADD+2 |
HMPIDT | EN+1~, EN+9*, EN+10, EN+14*, EN+17, EN+18, EN+19, EN+29, EN+30, EN+31 , EN+35, CH+4, CH+6, MI+4, MI+5, AP+2, AP+3, AP+4, AP+6, AP+9 , AP+17, AP+18, ORDER+2, RPTS+1~, RPTS+7*, RPTS+8, RPTS+9 |
HMPITM | EN+1~, EN+15!, EN+16, EN+36, RPTS+1~, RPTS+9!, RPTS+10, RPTS+12!, RPTS+13 |
HMPITM("collected" | EN+18* |
HMPITM("comment" | EN+35* |
HMPITM("document" | EN+29*, EN+30* |
HMPITM("facility" | EN+26*, EN+27* |
HMPITM("groupName" | EN+25* |
HMPITM("id" | EN+17* |
HMPITM("labOrderID" | EN+34* |
HMPITM("name" | EN+25* |
HMPITM("resulted" | EN+20* |
HMPITM("sample" | EN+24* |
HMPITM("specimen" | EN+23* |
HMPITM("status" | EN+18* |
HMPITM("type" | EN+17* |
HMPITM("value" | EN+33* |
HMPN | EN+1~, EN+31*, EN+33, CH+4, CH+6, MI+4, MI+5, RPTS+1~, RPTS+11*, RPTS+12 |
HMPS | TEXT+1~, TEXT+12 |
HMPS( | TEXT+3* |
HMPSUB | EN+1~, EN+4*, EN+9*, EN+12, EN+13*, EN+14, EN+16, EN+17, EN+19, EN+28 , EN+29, EN+30, EN+31, EN+32, EN+35, AP+2, AP+3, AP+6, AP+9, AP+17 , AP+18, RPTS+1~, RPTS+6*, RPTS+7, RPTS+8, RPTS+9 |
>> HMPTEXT | EN+30, AP+15, AP+18, RPT1+27 |
HMPTIU | RPTS+1~, RPTS+8*, RPTS+10, RPTS+11, RPTS+12 |
>> HMPTOTL | XML+2* |
HMPXID | RPTS+1~, RPTS+9*, RPTS+10 |
HMPY | EN+21~, AP+11~, TEXT+1~, TEXT+12 |
HMPY(61 | EN+23, EN+24 |
I | AP+1~, AP+6*, AP+10*, AP+14, AP+15, TEXT+1~, TEXT+14*, TEXT+15*, XML+1~, XML+7* , XML+8, XML+10 |
ID | EN~, EN+8, EN+9, RPT1~, RPT1+1*, RPT1+2, RPT1+5, RPT1+7 |
IDT | RPT1+3~, RPT1+5*, RPT1+6, RPT1+7, RPT1+18, RPT1+27, TEXT~, TEXT+3, TEXT+10, TEXT+13 |
IENS | EN+21~*, EN+22, EN+23, EN+24 |
J | XML+1~, XML+13* |
LAB | AP~, XML~ |
LAB( | XML+3, XML+4, XML+7, XML+8, XML+10, XML+16 |
LAB("collected" | AP+4* |
LAB("document" | AP+14*, AP+15*, AP+16, AP+17*, AP+18* |
LAB("facility" | AP+8* |
LAB("groupName" | AP+5* |
LAB("id" | AP+3* |
LAB("resulted" | AP+5* |
LAB("specimen" | AP+7* |
LAB("status" | AP+4* |
LAB("type" | AP+3* |
LABORD | ORDER~, ORDER+3 |
LOC | RPT1+3~, RPT1+15*, RPT1+16, RPT1+17, RPT1+19 |
LOINC | CH+3~, CH+9*, CH+10 |
LR0 | EN+1~, EN+19*, EN+20, EN+25, EN+26, AP+1~, AP+2*, AP+5, RPT1+3~, RPT1+6* , RPT1+15, RPT1+21, RPT1+23 |
LRDFN | EN+1~, EN+4*, EN+19, CH+4, AP+2, AP+6, AP+9, RPTS+1~, RPTS+4*, RPTS+8 , RPT1+3~, RPT1+5*, RPT1+6, TEXT~, TEXT+10 |
LT | AP+11~, AP+12*, AP+14 |
MAX | EN~, EN+3*, EN+12, RPTS~, RPTS+3*, RPTS+5 |
NAME | TEXT+1~, TEXT+3*, TEXT+14 |
NAMES | XML+1~, XML+6*, XML+20*, LOOP+2 |
NODE | CH+3~, CH+4*, CH+9, AP+1~, AP+9*, AP+10 |
NT | AP+11~, AP+13*, AP+14 |
ORD | EN+1~, EN+15!, EN+34, CH+11*, MI+6* |
P | LOOP+1~, LOOP+2* |
RPT | RPT1~, RPT1+4! |
RPT("clinician" | RPT1+22*, RPT1+26* |
RPT("content" | RPT1+27* |
RPT("documentClass" | RPT1+9* |
RPT("encounter" | RPT1+20* |
RPT("facility" | RPT1+16* |
RPT("id" | RPT1+7* |
RPT("localTitle" | RPT1+8* |
RPT("loinc" | RPT1+14* |
RPT("nationalTitle" | RPT1+10* |
RPT("nationalTitleSubject" | RPT1+11* |
RPT("nationalTitleType" | RPT1+12* |
RPT("referenceDateTime" | RPT1+7* |
RPT("status" | RPT1+13* |
RPT("type" | RPT1+13* |
S | ORDER+1~, ORDER+3*, ORDER+4 |
STR | LOOP+1~*, LOOP+2*, LOOP+3 |
SUB | RPT1+3~, RPT1+5*, RPT1+6, RPT1+8, RPT1+15, RPT1+21, RPT1+23, RPT1+27, TEXT~, TEXT+3 , TEXT+8*, TEXT+10, TEXT+13 |
T | ORDER+1~, ORDER+4* |
TAG | LOOP+1~, LOOP+2* |
TEST | ORDER~, ORDER+4 |
U | EN+20, EN+23, EN+25, EN+26, CH+6, CH+7, CH+8, CH+9, CH+10, CH+11 , MI+5, MI+6, AP+5, AP+6, AP+7, AP+10, AP+14, ORDER+4, RPTS+12, RPT1+14 , RPT1+15, RPT1+21, RPT1+22, RPT1+23, RPT1+24, RPT1+26, LOOP+2 |
X | EN+1~, EN+20*, EN+21, EN+25*, EN+26*, EN+27, EN+32*, EN+33, CH+3~, CH+5* , CH+6, CH+7*, CH+9*, CH+11*, AP+1~, AP+6*, AP+7, AP+10*, AP+12, AP+13 , AP+14, AP+15, NAME~, NAME+1, NAME+2, NAME+3, NAME+4, NAME+5, NAME+6, NAME+7 , AREA+1~, AREA+2*, AREA+3, RPT1+3~, RPT1+15*, RPT1+19*, RPT1+20, RPT1+21*, RPT1+22, RPT1+23* , RPT1+24, RPT1+26, TEXT+1~, TEXT+15*, XML+1~, XML+8*, XML+10*, XML+13, XML+16*, XML+17 , XML+18, XML+19, LOOP+2, ADD~, ADD+2 |
X0 | CH+3~, CH+4*, CH+5, CH+6, CH+7, CH+8, CH+11, MI+3~, MI+4*, MI+5 , MI+6 |
Y | CH+3~, CH+6*, CH+7*, CH+8*, CH+10*, CH+11*, CH+12, MI+3~, MI+4*, MI+5* , MI+7, ORDER+1~, ORDER+2*, ORDER+3, ORDER+4*, ORDER+6, AREA+1~, AREA+2*, AREA+4*, AREA+5 , RPT1+24~*, RPT1+26, TEXT+1~, TEXT+13*, TEXT+15, TEXT+17, XML+1~, XML+3, XML+4*, XML+9* , XML+10*, XML+11*, XML+12*, XML+13*, XML+16*, XML+17*, XML+18*, XML+19*, XML+21* |