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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All
Print Page as PDF
Routine: BSTSMSR

Package: IHS Standard Terminology

Routine: BSTSMSR


Information

BSTSMSR ;GDIT/HS/BEE-Standard Terminology API Program - Return Measurements ; 5 Nov 2012 9:53 AM

Source Information

Source file <BSTSMSR.m>

Call Graph

Call Graph Total: 5

Package Total Call Graph
IHS VA Utilities 1 ENP^XBDIQ1  
Kernel 1 $$FMTE^XLFDT  
Registration 1 INP^VADPT  
Taxonomy 1 $$ICD^ATXCHK  
VA Fileman 1 $$GET1^DIQ  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
IHS Standard Terminology 1 BSTSMAP1  

Entry Points

Name Comments DBIA/ICR reference
ILSTDATE(DATE1,DATE2,YES) ;EP -- returns event date or visit date;PATCH 1002 fixed typo
LSTMEAS(DFN,BSTSMSR) ; -- returns most current measurement (internal values)
ILSTMEAS(DFN,TIUMSR,VAIN) ; -- returns most current measurement (internal values)
QUAL(MEAS) ; Get qualifiers for a measurement
LASTMSR(DFN,BSTSMSR,BSTSCAP,BSTSDAT) ;EP; -- returns last measurement for patient
; BSTSMSR=measurement name
; BSTSCAP=1 if caption with measurement name is to be returned
; BSTSDAT=1 return date measurement taken
PREG(DFN,VIEN,VMIEN) ;Determine if BMI is for pregnant patient
LSTDATE(DATE1,DATE2,YES) ;EP -- returns event date or visit date;PATCH 1002 fixed typo

External References

Name Field # of Occurrence
$$ICD^ATXCHK PREG+15
$$GET1^DIQ LSTDATE+5, ILSTDATE+5, PREG+4, PREG+5, PREG+9, PREG+13
INP^VADPT LASTMSR+7
ENP^XBDIQ1 LSTMEAS+9, ILSTMEAS+13
$$FMTE^XLFDT LSTDATE+3, LSTDATE+6, ILSTDATE+3

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DPT - [#2] GET1^DIQ
^AUPNVSIT - [#9000010] GET1^DIQ
^AUPNVMSR - [#9000010.01] GET1^DIQ
^AUPNVPOV - [#9000010.07] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ATXAX("B" PREG+11
^AUPNVMSR - [#9000010.01] QUAL+3, QUAL+5, QUAL+6, QUAL+11
^AUPNVMSR("AA" LSTMEAS+6, LSTMEAS+8
^AUPNVMSR("AE" ILSTMEAS+10, ILSTMEAS+12
^AUPNVPOV("AD" PREG+12
^AUTTMSR - [#9999999.07] QUAL+4
^AUTTMSR("B" LSTMEAS+2, ILSTMEAS+3
^GMRD(120.52 - [#120.52] QUAL+7

Label References

Name Line Occurrences
$$ILSTMEAS LASTMSR+8
$$LSTDATE LASTMSR+22, LASTMSR+23
$$LSTMEAS LASTMSR+9
$$PREG LASTMSR+20
$$QUAL LSTMEAS+14, ILSTMEAS+16

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ARR LSTMEAS+1~, LSTMEAS+17, ILSTMEAS+2~, ILSTMEAS+21
ARR( LSTMEAS+15*, LSTMEAS+18, ILSTMEAS+19*, ILSTMEAS+22
ARR("" LSTMEAS+18, ILSTMEAS+22
BSTSCAP LASTMSR~, LASTMSR+10
BSTSDAT LASTMSR~, LASTMSR+22, LASTMSR+23
BSTSMSR LASTMSR~, LASTMSR+8, LASTMSR+9, LASTMSR+10, LASTMSR+14, LASTMSR+15, LASTMSR+16, LASTMSR+17, LSTMEAS~, LSTMEAS+2
CODE PREG+1~, PREG+13*, PREG+14, PREG+15
DATE LSTMEAS+1~, LSTMEAS+13*, LSTMEAS+15, LSTMEAS+18*, ILSTMEAS+2~, ILSTMEAS+18*, ILSTMEAS+19, ILSTMEAS+22*
DATE1 LSTDATE~, LSTDATE+4, LSTDATE+5, ILSTDATE~, ILSTDATE+4, ILSTDATE+5
DATE2 LSTDATE~, LSTDATE+3, ILSTDATE~, ILSTDATE+3
DFN LASTMSR~, LASTMSR+8, LASTMSR+9, LASTMSR+20, LSTMEAS~, LSTMEAS+6, LSTMEAS+8, ILSTMEAS~, ILSTMEAS+10, ILSTMEAS+12
, PREG~, PREG+4, PREG+5
DOB PREG+1~
IEN LSTMEAS+1~, LSTMEAS+7*, LSTMEAS+8*, LSTMEAS+9, LSTMEAS+14, LSTMEAS+15, LSTMEAS+18*, ILSTMEAS+2~, ILSTMEAS+11*, ILSTMEAS+12*
, ILSTMEAS+13, ILSTMEAS+16, ILSTMEAS+19, ILSTMEAS+22*
ISINP ILSTMEAS+2~
LINE LASTMSR+4~, LASTMSR+8*, LASTMSR+9*, LASTMSR+13, LASTMSR+14*, LASTMSR+15*, LASTMSR+16*, LASTMSR+18, LASTMSR+19, LASTMSR+21*
, LASTMSR+22, LASTMSR+23, LSTMEAS+1~, LSTMEAS+5*, LSTMEAS+6, LSTMEAS+12*, LSTMEAS+15, LSTMEAS+18*, LSTMEAS+19, ILSTMEAS+2~
, ILSTMEAS+17*, ILSTMEAS+19, ILSTMEAS+21*, ILSTMEAS+22*, ILSTMEAS+24
MEAS QUAL~, QUAL+3, QUAL+5, QUAL+6, QUAL+11
MSR LSTMEAS+1~, LSTMEAS+2*, LSTMEAS+6, LSTMEAS+8, ILSTMEAS+2~, ILSTMEAS+3*, ILSTMEAS+10, ILSTMEAS+12
O2 QUAL+1~, QUAL+2*, QUAL+11*, QUAL+12
POV PREG+1~, PREG+12*, PREG+13
QUALIF LSTMEAS+1~, LSTMEAS+14*, LSTMEAS+15, ILSTMEAS+2~, ILSTMEAS+16*, ILSTMEAS+17, QUAL+1~, QUAL+2*, QUAL+8*, QUAL+9*
, QUAL+12*, QUAL+13
QUALN QUAL+1~, QUAL+6*, QUAL+7*, QUAL+8, QUAL+9
QUALS QUAL+1~, QUAL+5*, QUAL+6
RET LASTMSR+12~, LASTMSR+22*, LASTMSR+23*, LASTMSR+24, PREG+1~, PREG+2*, PREG+4, PREG+6, PREG+10, PREG+12
, PREG+15*, PREG+16
STOP LSTMEAS+1~, ILSTMEAS+2~, ILSTMEAS+7*, ILSTMEAS+8, ILSTMEAS+10
TAGE PREG+1~, PREG+5*, PREG+6
TAX PREG+1~, PREG+11*, PREG+15
TIU LSTMEAS+1~, LSTMEAS+9!, ILSTMEAS+2~, ILSTMEAS+13!
TIU( LSTMEAS+12, ILSTMEAS+17
TIU(1201 LSTMEAS+12, LSTMEAS+13, ILSTMEAS+17, ILSTMEAS+18
TIU(2 LSTMEAS+11, ILSTMEAS+15
TIUMSR ILSTMEAS~, ILSTMEAS+3
TNAME QUAL+1~, QUAL+4*, QUAL+10
TYPE QUAL+1~, QUAL+3*, QUAL+4
U LASTMSR+13, LASTMSR+14, LASTMSR+15, LASTMSR+16, LASTMSR+18, LASTMSR+19, LASTMSR+21, LASTMSR+22, LASTMSR+23, LSTMEAS+12
, LSTMEAS+15, ILSTMEAS+7, ILSTMEAS+17, QUAL+3, QUAL+4, QUAL+6, QUAL+7, QUAL+11
VAIN LASTMSR+4~, LASTMSR+8, ILSTMEAS~, ILSTMEAS+23!
VAIN(1 LASTMSR+8, LASTMSR+9, ILSTMEAS+6
VAIN(7 ILSTMEAS+7
VDT LSTMEAS+1~, LSTMEAS+4*, LSTMEAS+6*, LSTMEAS+8, LSTMEAS+13, ILSTMEAS+2~, ILSTMEAS+9*, ILSTMEAS+10*, ILSTMEAS+12, ILSTMEAS+18
VIEN PREG~, PREG+3*, PREG+8, PREG+9*, PREG+10, PREG+12
VMIEN LASTMSR+12~, LASTMSR+18*, LASTMSR+20, PREG~, PREG+3*, PREG+9
X LASTMSR+4~, LASTMSR+10*, LASTMSR+13, LASTMSR+22, LASTMSR+23, LSTMEAS+1~, ILSTMEAS+2~
X1 PREG+1~
Y LASTMSR+12~, LASTMSR+14*, LASTMSR+15*, LASTMSR+16*, LASTMSR+19*, LASTMSR+20*, LASTMSR+21, LSTMEAS+1~, LSTDATE+5~*, LSTDATE+6
YES LSTDATE~, LSTDATE+1, ILSTDATE~, ILSTDATE+1
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All