Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: BEHOVM2

Package: IHS Electronic Health Record

Routine: BEHOVM2


Information

BEHOVM2 ;IHS/MSC/MGH - Triage: Vital Measurements ;23-Sep-2014 15:22;DU

Source Information

Source file <BEHOVM2.m>

Call Graph

Call Graph Total: 11

Package Total Call Graph
IHS Electronic Health Record 4 VFEVT^BEHOENPC  ($$CONVERT,$$DEFUNIT,$$UNITS,$$VCTL,$$VTYPE,BLDXRF,CALLBCK,GETMSR,PCTILE)^BEHOVM  QUAL^BEHOVM2  EIE^BEHOVM5  
Kernel 2 ($$FMADD,$$FMDIFF)^XLFDT  $$TRIM^XLFSTR  
VA Fileman 2 UPDATE^DIE  $$GET1^DIQ  
GUI Objects 1 ($$PTAGE,$$UPDATE)^BGOUTL  
General Medical Record - Vitals 1 CALBMI^GMRVBMI  
Toolkit 1 $$GET^XPAR  

Caller Graph

Caller Graph Total: 6

Package Total Caller Graph
IHS Electronic Health Record 5 BEHOENPC  BEHOVM  BEHOVM2  BEHOVM4  BEHOVM5  
Patient Care Component 1 APCDBMI  

Entry Points

Name Comments DBIA/ICR reference
QUAL(RESULT,IEN,QUALS) ;EP Store the vitals qualifiers
FNDHT(IDT) ;Find closest height before weight
GETCATP(RESULTS,VIEN) ;EP Given a vital sign and an IEN, return the categories for this VM and the default
BMIPCT(BMI,DFN,DATE) ;
DD
TMPGBL(X) ;EP
GMRBMI(PCTILE) ;Get BMI for sites using GMRV vitals
PO2(RESULT,IEN,QUALS) ;Store data for O2 Saturation
PCTILE(DATA,VCTL,DFN,START,END,METRIC) ;EP Moved from BEHOVM
EIE(RESULT,BEHDATA,TYPE) ; EP Store entered in error data
QRYBMI(PCTILE) ;Moved from BEHOVM for space
VUNITS(RET,VIT) ;EP
GETCATS(RESULTS,VIT,LONG) ;EP Given a vital sign, return the categories for this VM and the default
VMSR()

External References

Name Field # of Occurrence
VFEVT^BEHOENPC EIE+16
$$CONVERT^BEHOVM PCTILE+17
$$DEFUNIT^BEHOVM PCTILE+4
$$UNITS^BEHOVM VUNITS+6
$$VCTL^BEHOVM BMIPCT+2
$$VTYPE^BEHOVM QRYBMI+2
BLDXRF^BEHOVM QRYBMI+4
CALLBCK^BEHOVM QRYBMI+20, GMRBMI+21
GETMSR^BEHOVM QRYBMI+8, FNDHT+22
PCTILE^BEHOVM BMIPCT+2
QUAL^BEHOVM2 PO2+5
EIE^BEHOVM5 EIE+20, EIE+21
$$PTAGE^BGOUTL FNDHT+8
$$UPDATE^BGOUTL PO2+14
UPDATE^DIE QUAL+22, EIE+14
$$GET1^DIQ EIE+19, EIE+20, EIE+21
CALBMI^GMRVBMI GMRBMI+13
$$FMADD^XLFDT PCTILE+11
$$FMDIFF^XLFDT FNDHT+17, FNDHT+19, DD, PCTILE+5, PCTILE+6
$$TRIM^XLFSTR GMRBMI+10
$$GET^XPAR VMSR

Used in RPC

RPC Name Call Tags
BEHOVM2 GETCATS GETCATS
BEHOVM2 EIE EIE
BEHOVM2 QUAL QUAL
BEHOVM2 VUNITS VUNITS
BEHOVM2 GETCATP GETCATP

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^AUPNVMSR - [#9000010.01] GET1^DIQ
^AUTTMSR - [#9999999.07] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUPNVMSR - [#9000010.01] QUAL+7, EIE+8, GETCATP+7, GETCATP+8, GETCATP+9
^AUPNVSMR( QUAL+15
^AUTTMSR("B" GETCATS+10
^BEHOVM(90460.01 - [#90460.01] GETCATS+7, GETCATS+9, VUNITS+4, PCTILE+8
^DPT - [#2] FNDHT+9, PCTILE+2
^GMR(120.5 - [#120.5] QUAL+8, QUAL+14, EIE+9, GMRBMI+3, GMRBMI+5, GMRBMI+6, GMRBMI+9, GETCATP+11, GETCATP+12, GETCATP+13
^GMRD(120.51 - [#120.51] GETCATS+11
^GMRD(120.52 - [#120.52] QUAL+12, QUAL+17, GETCATS+14, GETCATS+16, GETCATS+18, GETCATS+22, GETCATS+23, GETCATP+15, GETCATP+17, GETCATP+19
^GMRD(120.53 - [#120.53] GETCATS+15, GETCATS+26, GETCATP+16
^TMP("BEHOVM" QRYBMI+7, QRYBMI+21, QRYBMI+22!, FNDHT+2, FNDHT+11, FNDHT+21
^TMP("BEHV" TMPGBL+1!

Label References

Name Line Occurrences
$$BMIPCT QRYBMI+16, GMRBMI+16
$$FNDHT QRYBMI+12
$$TMPGBL GETCATS+2, GETCATP+2
$$VMSR QUAL+3, EIE+5, GETCATS+5, GETCATP+4
GMRBMI QRYBMI+3

Naked Globals

Name Field # of Occurrence
^( PCTILE+8
^($J TMPGBL+1
^(0 GMRBMI+6

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ABB GETCATS+1~, GETCATS+9*, GETCATS+10, GETCATS+11, GETCATP+1~
AGE PCTILE+1~, PCTILE+9*, PCTILE+10, PCTILE+11
APCHMDT FNDHT+1~, FNDHT+17*, FNDHT+20
BEHCAT GETCATS+1~, GETCATS+14*, GETCATS+15, GETCATS+16, GETCATS+18, GETCATS+22*, GETCATS+23, GETCATS+26, GETCATP+1~, GETCATP+15*
, GETCATP+16, GETCATP+17, GETCATP+19
BEHCNT QUAL+2~, QUAL+4*, QUAL+18*
BEHDATA EIE~, EIE+8, EIE+9, EIE+10, EIE+12, EIE+13, EIE+16, EIE+19, EIE+20, EIE+21
BEHERR QUAL+2~, QUAL+20!, QUAL+23, EIE+4~, EIE+17
BEHFDA QUAL+2~, QUAL+20!, EIE+4~
BEHFDA( QUAL+21*, EIE+11*, EIE+12*, EIE+13*
BEHIEN EIE+4~
BEHIEN(1 EIE+15
BEHIENS EIE+4~, EIE+10*, EIE+11, EIE+12, EIE+13
BEHOKAY QUAL+2~, QUAL+20!
BEHOKAY(1 QUAL+24
BEHQUAL QUAL+2~, QUAL+11*, QUAL+12*, QUAL+14, QUAL+15, QUAL+17, QUAL+21, GETCATS+1~, GETCATS+16*, GETCATS+23*
, GETCATS+24*, GETCATS+26, GETCATP+1~, GETCATP+17*
BEHVIEN QUAL+2~
BMI QRYBMI+1~, QRYBMI+15*, QRYBMI+16*, QRYBMI+17, QRYBMI+18, BMIPCT~, DD+4, DD+5, DD+6, GMRBMI+1~
, GMRBMI+15*, GMRBMI+16*, GMRBMI+17*, GMRBMI+18, GMRBMI+19
C PCTILE+1~, PCTILE+7*, PCTILE+17*
CHK EIE+19*, EIE+20, EIE+21, GETCATP+1~, GETCATP+19*, GETCATP+20, GETCATP+21
CNT GETCATS+1~, GETCATS+4*, GETCATS+15*, GETCATS+17*, GETCATS+18, GETCATP+1~, GETCATP+3*, GETCATP+16*, GETCATP+18*, GETCATP+20
, GETCATP+21
D PCTILE+1~, PCTILE+11*, PCTILE+17
DAT BMIPCT+1~, BMIPCT+5*, DD, DD+1, DD+3*, DD+4, DD+5, DD+6
DATA PCTILE~, PCTILE+17
DATE QRYBMI+8, QRYBMI+11, QRYBMI+16, QRYBMI+19*, BMIPCT~, BMIPCT+2, DD, GMRBMI+10*, GMRBMI+11, GMRBMI+12
, GMRBMI+16, GMRBMI+20*
DATE(0 GMRBMI+12*
DFN QRYBMI+16, FNDHT+8, FNDHT+9, BMIPCT~, BMIPCT+2, GMRBMI+3, GMRBMI+5, GMRBMI+7, GMRBMI+16, PCTILE~
, PCTILE+2
DIF BMIPCT+1~, BMIPCT+3*, DD+1*, DD+2
DIF(0 DD+1*, DD+3
DOB FNDHT+1~, FNDHT+9*, FNDHT+17, PCTILE+1~, PCTILE+2*, PCTILE+3, PCTILE+5, PCTILE+6, PCTILE+11
END PCTILE~, PCTILE+6*, PCTILE+10
>> ENTERBY QRYBMI+8
F2NUM QUAL+2~, QUAL+6*, QUAL+21, EIE+4~, EIE+7*, EIE+13
FDA PO2+1~, PO2+12*, PO2+13, PO2+14
FDA( PO2+12
FNUM QUAL+2~, QUAL+5*, PO2+1~, PO2+11*, PO2+12, EIE+4~, EIE+6*, EIE+11, EIE+12, EIE+16
, GETCATS+6*
FNUM2 GETCATP+1~
GBMI GMRBMI+1~, GMRBMI+13, GMRBMI+14, GMRBMI+15
GBMI(1 GMRBMI+11*
GBMI(2 GMRBMI+10*
I PO2+1~, PO2+7*, PO2+8, PCTILE+1~, PCTILE+7*, PCTILE+8*
ID GETCATS+1~, GETCATS+7*, GETCATS+8, GETCATS+9, GETCATP+1~, PCTILE+1~, PCTILE+13*, PCTILE+17
ID1 FNDHT+6~, FNDHT+11*, FNDHT+12, FNDHT+13, FNDHT+14
ID2 FNDHT+6~, FNDHT+11*, FNDHT+14*, FNDHT+15, FNDHT+16, FNDHT+18, FNDHT+20*, FNDHT+21
IDT QRYBMI+5, QRYBMI+7, QRYBMI+12, QRYBMI+21*, FNDHT~, FNDHT+2, FNDHT+7, FNDHT+11, FNDHT+13, FNDHT+18
, GMRBMI+2*, GMRBMI+3*, GMRBMI+5
IDT2 FNDHT+1~, FNDHT+7*, FNDHT+8
IEN QUAL~, QUAL+7, QUAL+8, QUAL+14, QUAL+15, QUAL+21, PO2~, PO2+5, PO2+12, GETCATS+10*
, GETCATS+11*, GETCATS+14, GETCATS+16, GETCATS+18, GETCATS+22, GETCATS+23, GETCATP+7*, GETCATP+11*, GETCATP+15, GETCATP+17
, GETCATP+19
L PCTILE+1~, PCTILE+11*, PCTILE+15
>> LOC QRYBMI+8, GMRBMI+10*
LONG GETCATS~, GETCATS+3*, GETCATS+13
LP BMIPCT+1~, BMIPCT+4*, BMIPCT+5
M PCTILE+1~, PCTILE+11*, PCTILE+15, PCTILE+16
METRIC PCTILE~, PCTILE+2*, PCTILE+4*, PCTILE+17
O2 PO2+1~, PO2+6*, PO2+9*, PO2+13
P PCTILE+1~, PCTILE+12*, PCTILE+13, PCTILE+14
PCT BMIPCT+1~
PCT( BMIPCT+4, BMIPCT+5
PCTILE QRYBMI~, QRYBMI+2*, QRYBMI+3, QRYBMI+16, GMRBMI~, GMRBMI+16
QUAL PO2+1~, PO2+5
QUAL( PO2+4*
QUALIEN GETCATP+1~
QUALIEN( GETCATP+9*, GETCATP+13*, GETCATP+21
>> QUALIF QRYBMI+10*, QRYBMI+14*
QUALIFY GMRBMI+1~, GMRBMI+2*
QUALNAME QUAL+2~, QUAL+9*, QUAL+11, QUAL+12, PO2+1~, PO2+3*, PO2+4
QUALS QUAL~, PO2~, PO2+3, PO2+8, GETCATP+8*, GETCATP+9, GETCATP+12*, GETCATP+13
QUALS( QUAL+9
>> RCNT QRYBMI+5, QRYBMI+7, QRYBMI+18*, GMRBMI+3, GMRBMI+5, GMRBMI+19*
RESULT QUAL~, QUAL+7*, QUAL+8*, QUAL+9, QUAL+12*, QUAL+14*, QUAL+15*, QUAL+17*, QUAL+23*, QUAL+24*
, PO2~, PO2+1~, PO2+5, PO2+14*, EIE~, EIE+8*, EIE+9*, EIE+15*, EIE+17*, FNDHT+1~
, FNDHT+22, FNDHT+23
RESULT( QRYBMI+18*, GMRBMI+19*
RESULTS GETCATS~, GETCATS+2*, GETCATS+8, GETCATS+9, GETCATS+10, GETCATS+11, GETCATS+15, GETCATS+18, GETCATS+25, GETCATS+26
, GETCATP~, GETCATP+2*, GETCATP+16, GETCATP+20, GETCATP+21
RET VUNITS~, VUNITS+2*, VUNITS+6*, VUNITS+7
>> RMAX QRYBMI+5, QRYBMI+7, GMRBMI+3, GMRBMI+5
RSHT QRYBMI+1~, QRYBMI+12*, QRYBMI+13, QRYBMI+15*
RSWT QRYBMI+1~, QRYBMI+8, QRYBMI+15*
S PCTILE+1~, PCTILE+11*, PCTILE+15, PCTILE+16
SEX FNDHT+1~, FNDHT+9*, PCTILE+1~, PCTILE+2*, PCTILE+3, PCTILE+10
START GMRBMI+2, PCTILE~, PCTILE+5*, PCTILE+10
SX FNDHT+1~, FNDHT+9*
TAGE FNDHT+1~, FNDHT+8*, FNDHT+20
TYPE EIE~, EIE+4~
U GETCATS+9, GETCATS+15, GETCATS+18, GETCATS+26, FNDHT+9, BMIPCT+5, GMRBMI+6, GMRBMI+7, GMRBMI+8, GMRBMI+10
, GETCATP+7, GETCATP+9, GETCATP+11, GETCATP+13, GETCATP+16, GETCATP+20, GETCATP+21, PCTILE+2, PCTILE+13, PCTILE+14
, PCTILE+17
V PCTILE+1~, PCTILE+15*, PCTILE+16*, PCTILE+17
VAL PO2+1~, PO2+2*, PO2+8*, PO2+9, PO2+10, BMIPCT+1~
VAL( BMIPCT+5*, DD+4, DD+5, DD+6
VCTL VUNITS+3~, VUNITS+4*, VUNITS+5, PCTILE~, PCTILE+4, PCTILE+8
VIEN QRYBMI+6*, QRYBMI+7*, QRYBMI+8, FNDHT+1~, FNDHT+2*, FNDHT+3, FNDHT+21*, FNDHT+22, GMRBMI+4*, GMRBMI+5*
, GMRBMI+6, GMRBMI+9, GETCATP~, GETCATP+7, GETCATP+8, GETCATP+9, GETCATP+11, GETCATP+12, GETCATP+13
VIT GETCATS~, GETCATS+7, VUNITS~, VUNITS+1, VUNITS+4, VUNITS+5
VMSR QUAL+2~, QUAL+3*, QUAL+5, QUAL+6, QUAL+7, QUAL+8, QUAL+14, QUAL+15, EIE+4~, EIE+5*
, EIE+6, EIE+7, EIE+8, EIE+9, GETCATS+1~, GETCATS+5*, GETCATS+6, GETCATS+10, GETCATS+11, QRYBMI+3
, GETCATP+1~, GETCATP+4*, GETCATP+6, GETCATP+10
>> VSIT GMRBMI+9
VTHT QRYBMI+1~, QRYBMI+2*, QRYBMI+4, FNDHT+2, FNDHT+11, FNDHT+21
VTWT QRYBMI+1~, QRYBMI+2*, QRYBMI+4, QRYBMI+7, QRYBMI+21, GMRBMI+2
>> VTYP GMRBMI+2*, GMRBMI+3, GMRBMI+5, GMRBMI+8
>> VUNT QRYBMI+18, VUNITS+6, GMRBMI+19
WTDT QRYBMI+1~, QRYBMI+11*, QRYBMI+19, GMRBMI+12*, GMRBMI+20
X GETCATS+16*, GETCATS+18, GETCATS+23*, GETCATS+24, FNDHT+1~, FNDHT+19*, FNDHT+20, TMPGBL~, TMPGBL+1, GMRBMI+6*
, GMRBMI+7, GMRBMI+8, GMRBMI+10, GETCATP+17*, GETCATP+19, GETCATP+20, GETCATP+21, PCTILE+1~, PCTILE+2*, PCTILE+8*
, PCTILE+9, PCTILE+10, PCTILE+11
X1 FNDHT+1~, FNDHT+13*, FNDHT+14, FNDHT+16*, FNDHT+17, FNDHT+18*, FNDHT+19, BMIPCT+1~, BMIPCT+5*, DD*
, DD+1, DD+5*, DD+6
X2 FNDHT+1~, FNDHT+13*, FNDHT+14, FNDHT+18*, FNDHT+19, BMIPCT+1~, DD+5*, DD+6
>> XREF GMRBMI+2*, GMRBMI+3, GMRBMI+5
Y GETCATS+1~, GETCATS+25*, GETCATS+26, GETCATP+1~
Z PCTILE+1~, PCTILE+14*, PCTILE+15, PCTILE+16
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All