VIABMS1 ;AAC/JMC - VIA BMS RPCs ;04/15/2016
Source file <VIABMS1.m>
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 |
---|---|---|
VistA Integration Adapter | 2 | VIABMS VIABMS2 |
Name | Comments | DBIA/ICR reference |
---|---|---|
TRTSPTY | ; Returns a list of facility treating specialty from the FACILITY TREATING SPECIALTY file #45.7;ICR-1359
|
|
PIENS | ; multiple IENs; parse IENS
|
|
MASTYP | ; Returns a list of MAS movement transaction type from the MAS MOVEMENT TRANSACTION TYPE file #405.3;ICR-433
|
|
MEDCTR | ; Returns a list of Medical Center division from the MEDICAL CENTER DIVISION file #40.8;ICR-2438
|
|
ORDITM | ; Returns a list of orderable items from the ORDERABLE ITEMS file #101.43;ICR-2843
|
|
ORDSTA | ; Returns a list of Medical Center division from the ORDER STATUS file #100.01;ICR-2638
|
|
BEDSWCH | ; Returns a list of bed switch from the PATIENT MOVEMENT file #405;ICR-1865
|
|
GPATMVT | ; Returns a patient movement records from the PATIENT MOVEMENT file #405;ICR-1865
|
|
GPATMVT2 | ;
|
|
LPATMVT | ; Returns a list of patient movement records from the PATIENT MOVEMENT file #405;ICR-1865
|
|
MVTR(VIAIEN) | ;
|
|
APATMVT | ; Returns patient movement record by admission IEN from the PATIENT MOVEMENT file #405;ICR-1865
|
|
SCHADM | ; Returns a list of scheduled admissions from the SCHEDULED ADMISSION file #41.1;ICR-6611
|
|
RMBED | ; Returns a list of room/beds from the ROOM-BED file #405.4;ICR-1380
|
|
CLNAPPT | ; Returns a list of clinic appointments from the HOSPITAL LOCATION sub-file #44.001;ICR-#4433
|
|
CLAPX |
Name | Field # of Occurrence |
---|---|
GETS^DIQ | MVTR+4 |
$$SDAPI^SDAMA301 | CLNAPPT+17 |
$$GMVTR^VIABMS | GPATMVT+17, GPATMVT+20 |
ERR^VIABMS | BEDSWCH+6, BEDSWCH+23, GPATMVT+12, LPATMVT+10, APATMVT+9, SCHADM+15, CLNAPPT+9, CLNAPPT+21 |
GDIQ^VIABMS | BEDSWCH+14, BEDSWCH+28 |
LDIC^VIABMS | TRTSPTY+8, MASTYP+6, MEDCTR+8, ORDITM+6, ORDSTA+8, GPATMVT2+4, SCHADM+18, RMBED+11 |
PATCHK^VIABMS | GPATMVT+13, LPATMVT+12, SCHADM+11 |
SET^VIABMS | APATMVT+28, APATMVT+29, APATMVT+31, APATMVT+33 |
$$WALK^VIABMS2 | LPATMVT+21 |
FileNo | Call Tags |
---|---|
^DGPM - [#405] | GETS^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DGPM - [#405] | APATMVT+22 |
^DGPM("ADFN" | GPATMVT+15 |
^DGPM("CA" | APATMVT+20 |
^TMP($J | LPATMVT+13, APATMVT+10, CLNAPPT+20, CLNAPPT+21, CLNAPPT+22, CLNAPPT+23, CLNAPPT+25, CLNAPPT+26, CLAPX! |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
CLNIEN | CLNAPPT+8~, CLNAPPT+12*, CLNAPPT+15, CLNAPPT+22*, CLNAPPT+23, CLNAPPT+25, CLNAPPT+26, CLNAPPT+29*, CLNAPPT+30*, CLNAPPT+31 , CLNAPPT+33, CLNAPPT+34, CLNAPPT+35 |
CNT | PIENS+1~, PIENS+5*, PIENS+8*, BEDSWCH+8*, BEDSWCH+17*, APATMVT+8~, APATMVT+12~, APATMVT+17*, APATMVT+20, APATMVT+23* , APATMVT+25, APATMVT+27, CLNAPPT+8~, CLNAPPT+13*, CLNAPPT+30, CLNAPPT+33*, CLNAPPT+35, CLNAPPT+39*, CLNAPPT+42* |
DONE | APATMVT+12~, APATMVT+13* |
DT | CLNAPPT+11 |
END | LPATMVT+11~, LPATMVT+20*, LPATMVT+21, APATMVT+8~, APATMVT+12~ |
FIRST | APATMVT+8~, APATMVT+12~, APATMVT+13*, APATMVT+19 |
FL | CLNAPPT+8~, CLNAPPT+13*, CLNAPPT+33*, CLNAPPT+36 |
FLD | MVTR+1~ |
FLDS | MVTR+1~, MVTR+3*, MVTR+4, MVTR+6 |
I | PIENS+1~, PIENS+6*, BEDSWCH+5~, BEDSWCH+11*, BEDSWCH+22~, BEDSWCH+27*, GPATMVT+9~, LPATMVT+11~, LPATMVT+31*, LPATMVT+32* , MVTR+1~, MVTR+6*, APATMVT+8~, APATMVT+12~, CLNAPPT+8~, CLNAPPT+34*, CLNAPPT+35*, CLNAPPT+39*, CLNAPPT+40*, CLNAPPT+41 , CLNAPPT+42 |
IEN | PIENS+1~, PIENS+6*, PIENS+7* |
IEN( | PIENS+6*, PIENS+7 |
IENS | MVTR+1~, MVTR+2*, MVTR+4, MVTR+6 |
J | APATMVT+8~, APATMVT+12~, APATMVT+18, APATMVT+19*, APATMVT+20*, APATMVT+21, APATMVT+22, APATMVT+25, CLNAPPT+8~ |
K | APATMVT+12~, APATMVT+32*, APATMVT+33* |
LASTJ | APATMVT+12~, APATMVT+13*, APATMVT+18*, APATMVT+21*, APATMVT+29 |
MORE | CLNAPPT+8~, CLNAPPT+13*, CLNAPPT+33*, CLNAPPT+39 |
MORED | LPATMVT+11~, LPATMVT+22*, LPATMVT+23, LPATMVT+24, LPATMVT+25, LPATMVT+26, LPATMVT+27 |
MOUT | MVTR+1~ |
N | BEDSWCH+5~, BEDSWCH+22~, BEDSWCH+30*, APATMVT+6~, APATMVT+7* |
OFFSET | LPATMVT+11~, LPATMVT+27*, LPATMVT+30*, LPATMVT+32 |
OUT | MVTR+1~ |
OUT(405 | MVTR+6 |
RES | LPATMVT+11~, LPATMVT+21*, LPATMVT+22, LPATMVT+25 |
RESULT | PIENS+2, PIENS+3, PIENS+4!, BEDSWCH+13!, BEDSWCH+18!, BEDSWCH+19*, BEDSWCH+29!, BEDSWCH+31!, BEDSWCH+32*, GPATMVT+13 , LPATMVT+12, APATMVT+35*, SCHADM+11, CLNAPPT+37, CLNAPPT+38! |
RESULT( | PIENS+8*, BEDSWCH+30, GPATMVT+17*, LPATMVT+26*, LPATMVT+32*, CLNAPPT+33*, CLNAPPT+35*, CLNAPPT+42* |
RESULT(1 | PIENS+5*, BEDSWCH+15, GPATMVT+16*, GPATMVT+19*, LPATMVT+24*, LPATMVT+29*, CLNAPPT+13*, CLNAPPT+39* |
RESULT(2 | BEDSWCH+16, GPATMVT+20*, LPATMVT+25*, CLNAPPT+39* |
RESULT(3 | BEDSWCH+16, CLNAPPT+39* |
START | LPATMVT+11~, LPATMVT+19*, LPATMVT+21 |
STARTI | LPATMVT+11~, LPATMVT+16*, LPATMVT+18*, LPATMVT+21, APATMVT+8~, APATMVT+12~, APATMVT+15* |
STARTJ | LPATMVT+11~, LPATMVT+16*, LPATMVT+18*, LPATMVT+21, APATMVT+8~, APATMVT+12~, APATMVT+15*, APATMVT+19 |
TARRAY | CLNAPPT+8~, CLNAPPT+37* |
TARRAY( | CLNAPPT+40, CLNAPPT+41, CLNAPPT+42 |
TRESULT | PIENS+1~, PIENS+3*, BEDSWCH+5~, BEDSWCH+19, BEDSWCH+22~, BEDSWCH+29*, BEDSWCH+32 |
TRESULT( | PIENS+7, PIENS+8, BEDSWCH+17*, BEDSWCH+30* |
TRESULT("" | BEDSWCH+30 |
TRESULT(1 | BEDSWCH+8* |
TVIAIENS | TRTSPTY+5~, TRTSPTY+7*, TRTSPTY+9, MEDCTR+5~, MEDCTR+7*, MEDCTR+9, ORDSTA+5~, ORDSTA+7*, ORDSTA+9, RMBED+7~ , RMBED+9*, RMBED+12 |
U | PIENS+7, BEDSWCH+16, LPATMVT+22, LPATMVT+25, MVTR+6, APATMVT+22 |
VAL | BEDSWCH+5~, BEDSWCH+16*, BEDSWCH+17, MVTR+1~, MVTR+5*, MVTR+6*, MVTR+7 |
VIACNT | GPATMVT+9~, GPATMVT+16*, GPATMVT+17*, CLNAPPT+8~, CLNAPPT+17*, CLNAPPT+18 |
VIADATA | LPATMVT+11~, LPATMVT+13*, LPATMVT+14, LPATMVT+32, LPATMVT+33, APATMVT+8~, APATMVT+10*, APATMVT+11, APATMVT+25, APATMVT+33 , APATMVT+34 |
VIADFN | CLNAPPT+8~, CLNAPPT+23*, CLNAPPT+25, CLNAPPT+26, CLNAPPT+34*, CLNAPPT+35 |
VIADT | CLNAPPT+8~, CLNAPPT+24*, CLNAPPT+25*, CLNAPPT+26, CLNAPPT+32*, CLNAPPT+33*, CLNAPPT+34, CLNAPPT+35 |
>> VIAEDT | LPATMVT+10, LPATMVT+20, SCHADM+15, CLNAPPT+11*, CLNAPPT+14 |
VIAER | BEDSWCH+6*, BEDSWCH+23*, GPATMVT+12*, LPATMVT+10*, APATMVT+9*, SCHADM+9~, SCHADM+15*, CLNAPPT+9*, CLNAPPT+21* |
VIAERN | CLNAPPT+19~, CLNAPPT+20*, CLNAPPT+21 |
VIAFIELDS | TRTSPTY+5~, TRTSPTY+6*, MASTYP+4~, MASTYP+5*, MEDCTR+5~, MEDCTR+6*, ORDITM+4~, ORDITM+5*, ORDSTA+5~, ORDSTA+6* , BEDSWCH+5~, BEDSWCH+7*, BEDSWCH+22~, BEDSWCH+24*, GPATMVT+9~, GPATMVT+11*, GPATMVT2+1*, SCHADM+9~, SCHADM+10*, RMBED+7~ , RMBED+8* |
VIAFILE | TRTSPTY+5~, TRTSPTY+6*, MASTYP+4~, MASTYP+5*, MEDCTR+5~, MEDCTR+6*, ORDITM+4~, ORDITM+5*, ORDSTA+5~, ORDSTA+6* , BEDSWCH+5~, BEDSWCH+7*, BEDSWCH+22~, BEDSWCH+24*, GPATMVT+9~, GPATMVT+11*, SCHADM+9~, SCHADM+10*, RMBED+7~, RMBED+8* |
VIAFLAGS | TRTSPTY+5~, TRTSPTY+6*, MASTYP+4~, MASTYP+5*, MEDCTR+5~, MEDCTR+6*, ORDITM+4~, ORDITM+5*, ORDSTA+5~, ORDSTA+6* , BEDSWCH+5~, BEDSWCH+7*, BEDSWCH+22~, BEDSWCH+24*, GPATMVT+9~, GPATMVT2+1*, SCHADM+9~, SCHADM+10*, RMBED+7~, RMBED+8* |
>> VIAFROM | LPATMVT+17, LPATMVT+18, APATMVT+15, CLNAPPT+29, CLNAPPT+31*, CLNAPPT+32 |
>> VIAID | RMBED+10* |
VIAIEN | BEDSWCH+5~, BEDSWCH+11*, BEDSWCH+12, BEDSWCH+22~, BEDSWCH+27*, BEDSWCH+28, MVTR~, MVTR+2, MVTR+5 |
>> VIAIENS | TRTSPTY+7*, TRTSPTY+9*, PIENS+6, MEDCTR+7*, MEDCTR+9*, ORDSTA+7*, ORDSTA+9*, BEDSWCH+6, BEDSWCH+10, BEDSWCH+12* , BEDSWCH+23, BEDSWCH+26, BEDSWCH+28*, GPATMVT+10*, GPATMVT+12, GPATMVT+14, GPATMVT+15*, GPATMVT+17, GPATMVT+18, GPATMVT+20 , RMBED+9*, RMBED+12*, CLNAPPT+9, CLNAPPT+12 |
>> VIAMAX | TRTSPTY+7*, MEDCTR+7*, ORDSTA+7*, LPATMVT+21, APATMVT+20, APATMVT+27, RMBED+9*, CLNAPPT+30, CLNAPPT+33 |
>> VIAMDT | GPATMVT+12, GPATMVT+14, GPATMVT+15 |
>> VIAMTYP | GPATMVT+12 |
>> VIAPIEN | GPATMVT+12, GPATMVT+13, GPATMVT+14, GPATMVT+15, LPATMVT+9*, LPATMVT+10, LPATMVT+12, APATMVT+9, APATMVT+20, APATMVT+22 , APATMVT+29, SCHADM+11, SCHADM+12 |
VIAPPT | CLNAPPT+8~, CLNAPPT+26*, CLNAPPT+28 |
VIARRAY | CLNAPPT+8~, CLNAPPT+17 |
VIARRAY("FLDS" | CLNAPPT+16* |
VIARRAY(1 | CLNAPPT+14* |
VIARRAY(2 | CLNAPPT+15* |
VIARRY | CLNAPPT+8~ |
VIARY | CLNAPPT+8~ |
VIARY( | CLNAPPT+28*, CLNAPPT+30, CLNAPPT+33, CLNAPPT+34, CLNAPPT+35 |
VIASCRN | GPATMVT+9~, GPATMVT2+3*, SCHADM+9~, SCHADM+12*, SCHADM+17* |
>> VIASDT | LPATMVT+10, LPATMVT+19, SCHADM+15, SCHADM+17, CLNAPPT+14 |
VIATIEN | BEDSWCH+5~, BEDSWCH+10*, BEDSWCH+11, BEDSWCH+22~, BEDSWCH+26*, BEDSWCH+27 |
VIAXREF | ORDITM+4~, ORDITM+5* |
X | PIENS+1~, PIENS+7*, PIENS+8, BEDSWCH+5~, BEDSWCH+22~, BEDSWCH+30* |
Y | APATMVT+6~, APATMVT+35, CLNAPPT+8~ |