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 |  Entry Points |  External References |  Interaction Calls |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All
Print Page as PDF
Routine: BMCRPC1

Package: Referred Care Information System

Routine: BMCRPC1


Information

BMCRPC1 ; IHS/CAS/AU - GUI REFERRED CARE INFO SYSTEM (1/4);

Source Information

Source file <BMCRPC1.m>

Call Graph

Call Graph Total: 4

Package Total Call Graph
VA Fileman 3 LIST^DIC  DT^DILF  ($$GET1,GET1)^DIQ  
Referred Care Information System 1 CRTMSG^BMCRPC4  

Entry Points

Name Comments DBIA/ICR reference
SRIHSFC(RSLT,FCSTRNG) ;; search falicity from Location file for type 'IHS (ANOTHER FACILITY)' refferel
SROTPRV(RSLT,PRVSTRNG) ;; search provider from RCIS SPECIFIC PROVIDER file for type 'OTHER' referrels
SRCHREF(RSLT,PATIENT,REFPRVDR,STRTDATE,ENDDATE,RECNMBR,STATUS) ; search referral w.r.t patient, referring provider and date range
SRRFRDTO(RSLT,SRHSTRNG,REFTYPE) ;; Search Vendor ; Specific Provider ; Clinic Stop ; Location
; search varies on Refferal type
SRVNDR(RSLT,VNRSTRNG) ;; search vendor from VENDOR file for type 'CHS' referrel
GTRFBYID(RSLT,REFIEN) ;; get referral
SRCLNCST(RSLT,CLNSTRNG) ;; search from CLINIC STOP file for IN-HOUSE referrals
GETMEDHX(RSLT,REFIEN,TYPE) ;; Get Medical History or Business Office/CHS notes for a referral
; D GETMEDHX^BMCRPC1(.R,"113251","M") W R
GETREFDT(RSLT) ;; get Reference data for Refferal i-e ICD/CPT Categories
; D GETREFDT^BMCRPC1(.R) ZW R

External References

Name Field # of Occurrence
CRTMSG^BMCRPC4 SRCHREF+32, SRCHREF+33, SRCHREF+35, GTRFBYID+18
LIST^DIC SRCHREF+32, SRCHREF+33, SRCHREF+35, GTRFBYID+16, GETMEDHX+5, GETREFDT+8, GETREFDT+17, GETREFDT+24, SRVNDR+3, SRIHSFC+2
, SROTPRV+2, SRCLNCST+2
DT^DILF SRCHREF+30, SRCHREF+31, SRIHSFC+10
$$GET1^DIQ GTRFBYID+8, GTRFBYID+13, GTRFBYID+14, GETREFDT+13, GETREFDT+14
GET1^DIQ GETMEDHX+13

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: R
  • Line Location: GETMEDHX+1
Routine Call
  • DIC
  • Line Location:
    • SRCHREF+32
    • SRCHREF+33
    • SRCHREF+35
    • GTRFBYID+16
    • GETMEDHX+5
    • GETREFDT+8
    • GETREFDT+17
    • GETREFDT+24
    • SRVNDR+3
    • SRIHSFC+2
    • SROTPRV+2
    • SRCLNCST+2

Used in RPC

RPC Name Call Tags
BMC SEARCH REFERRAL SRCHREF
BMC GET REFERENCE DATA GETREFDT
BMC SEARCH REFERRED TO SRRFRDTO
BMC GET REFERRAL GTRFBYID

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DIC(40.7 - [#40.7] LIST^DIC
^BMCREF - [#90001] GET1^DIQ,  LIST^DIC
^BMCCOM - [#90001.03] GET1^DIQ,  LIST^DIC
^BMCTDXC - [#90001.51] GET1^DIQ,  LIST^DIC
^BMCTSVC - [#90001.52] LIST^DIC
^BMCLPRV - [#90001.53] LIST^DIC
^BMCPRP - [#90001.58] LIST^DIC
^AUTTLOC - [#9999999.06] LIST^DIC
^AUTTVNDR - [#9999999.11] LIST^DIC

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^BMCREF - [#90001] GTRFBYID+9, GTRFBYID+17
^DD(90001 GETREFDT+31
^TMP($J SRCHREF+21!, GTRFBYID+12!, GTRFBYID+33*, GTRFBYID+37*, GTRFBYID+38*, GTRFBYID+42*, GTRFBYID+43*, GTRFBYID+47*, GTRFBYID+51*, GTRFBYID+52*
, GTRFBYID+55*, GTRFBYID+56*, GTRFBYID+58, GETREFDT+2!, GETREFDT+4*, GETREFDT+5*, GETREFDT+6*, GETREFDT+7*, GETREFDT+15*, GETREFDT+22*
, GETREFDT+29*, GETREFDT+36*, GETREFDT+38, SRRFRDTO+2!, SRVNDR+17*, SRVNDR+19, SRIHSFC+11*, SRIHSFC+13, SROTPRV+7*, SROTPRV+9
, SRCLNCST+8*, SRCLNCST+10

Label References

Name Line Occurrences
$$GETMEDHX GTRFBYID+31, GTRFBYID+36, GTRFBYID+41, GTRFBYID+45, GTRFBYID+50, GTRFBYID+54
SRCLNCST SRRFRDTO+7
SRIHSFC SRRFRDTO+5
SROTPRV SRRFRDTO+6
SRVNDR SRRFRDTO+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
AREA SRIHSFC+1~, SRIHSFC+7*, SRIHSFC+11
CLNIEN SRCLNCST+1~, SRCLNCST+5*, SRCLNCST+8
CLNSTRNG SRCLNCST~, SRCLNCST+2
CMDATE GETMEDHX+2~, GETMEDHX+3*, GETMEDHX+10*, GETMEDHX+18
CMNTS GETMEDHX+2~, GETMEDHX+3*, GETMEDHX+16*, GETMEDHX+18, GETMEDHX+19*
CMNTSB GTRFBYID+5~, GTRFBYID+45*, GTRFBYID+46*, GTRFBYID+47, GTRFBYID+49, GTRFBYID+53
CMNTSBB GTRFBYID+5~, GTRFBYID+50*, GTRFBYID+51, GTRFBYID+52, GTRFBYID+54*, GTRFBYID+55, GTRFBYID+56
CMNTSX GTRFBYID+5~, GTRFBYID+31*, GTRFBYID+32*, GTRFBYID+33, GTRFBYID+35, GTRFBYID+40, GETMEDHX+2~, GETMEDHX+3*, GETMEDHX+18*, GETMEDHX+20
CMNTSXX GTRFBYID+5~, GTRFBYID+36*, GTRFBYID+37, GTRFBYID+38, GTRFBYID+41*, GTRFBYID+42, GTRFBYID+43
CODE SRIHSFC+1~, SRIHSFC+9*, SRIHSFC+11, SRCLNCST+1~, SRCLNCST+7*, SRCLNCST+8
CPTCAT GETREFDT+3~, GETREFDT+21*, GETREFDT+22
CPTIEN GETREFDT+3~, GETREFDT+20*, GETREFDT+22
DT SRVNDR+2, SRVNDR+8, SRIHSFC+10
EINSFX SRVNDR+1~, SRVNDR+14*, SRVNDR+17
ENDDATE SRCHREF~, SRCHREF+31, SRCHREF+35
ERR SRCHREF+14~, GETMEDHX+2~, GETMEDHX+3*
FACIEN SRIHSFC+1~, SRIHSFC+5*, SRIHSFC+11
FCSTRNG SRIHSFC~, SRIHSFC+2
FIELDS GTRFBYID+5~, GTRFBYID+15*, GTRFBYID+16
I GETREFDT+3~, GETREFDT+32*, GETREFDT+37*
ICDACTDT GETREFDT+3~, GETREFDT+13*, GETREFDT+15
ICDCAT GETREFDT+3~, GETREFDT+12*, GETREFDT+15
ICDIEN GETREFDT+3~, GETREFDT+11*, GETREFDT+13, GETREFDT+14, GETREFDT+15
ICDINADT GETREFDT+3~, GETREFDT+14*, GETREFDT+15
IDT SRVNDR+7~, SRVNDR+8*
INACTDT SRIHSFC+1~, SRIHSFC+10*
INACTIVE SRIHSFC+1~, SRIHSFC+10*, SRIHSFC+11
IND GETMEDHX+2~, GETMEDHX+3*, GETMEDHX+14*, GETMEDHX+15, GETMEDHX+16, GETMEDHX+17*
INDEX GETMEDHX+2~, GETMEDHX+3*, GETMEDHX+7*, GETMEDHX+8, GETMEDHX+9, GETMEDHX+10, GETMEDHX+11, GETMEDHX+19*, GETREFDT+9*, GETREFDT+10
, GETREFDT+11, GETREFDT+12, GETREFDT+16*, GETREFDT+18*, GETREFDT+19, GETREFDT+20, GETREFDT+21, GETREFDT+23*, GETREFDT+25*, GETREFDT+26
, GETREFDT+27, GETREFDT+28, GETREFDT+30*, SRVNDR+1~, SRVNDR+4*, SRVNDR+5, SRVNDR+8, SRVNDR+10, SRVNDR+11, SRVNDR+12
, SRVNDR+13, SRVNDR+14, SRVNDR+15, SRVNDR+16, SRVNDR+17, SRVNDR+18*, SRIHSFC+1~, SRIHSFC+3*, SRIHSFC+4, SRIHSFC+5
, SRIHSFC+6, SRIHSFC+7, SRIHSFC+8, SRIHSFC+9, SRIHSFC+10, SRIHSFC+11, SRIHSFC+12*, SROTPRV+1~, SROTPRV+3*, SROTPRV+4
, SROTPRV+5, SROTPRV+6, SROTPRV+7, SROTPRV+8*, SRCLNCST+1~, SRCLNCST+3*, SRCLNCST+4, SRCLNCST+5, SRCLNCST+6, SRCLNCST+7
, SRCLNCST+8, SRCLNCST+9*
MAILTO SRVNDR+1~, SRVNDR+15*, SRVNDR+17
NAME SRIHSFC+1~, SRIHSFC+6*, SRIHSFC+11, SROTPRV+1~, SROTPRV+6*, SROTPRV+7, SRCLNCST+1~, SRCLNCST+6*, SRCLNCST+8
OUT SRCHREF+14~, GETMEDHX+2~, GETREFDT+3~, SRVNDR+1~, SRIHSFC+1~, SROTPRV+1~, SRCLNCST+1~
OUT("DILIST" GETMEDHX+7, GETMEDHX+9, GETMEDHX+10, GETMEDHX+11, GETMEDHX+19, GETREFDT+9, GETREFDT+11, GETREFDT+12, GETREFDT+16, SRVNDR+4
, SRVNDR+8, SRVNDR+10, SRVNDR+11, SRVNDR+12, SRVNDR+13, SRVNDR+14, SRVNDR+15, SRVNDR+16, SRVNDR+18, SRIHSFC+3
, SRIHSFC+5, SRIHSFC+6, SRIHSFC+7, SRIHSFC+8, SRIHSFC+9, SRIHSFC+10, SRIHSFC+12, SROTPRV+3, SROTPRV+5, SROTPRV+6
, SROTPRV+8, SRCLNCST+3, SRCLNCST+5, SRCLNCST+6, SRCLNCST+7, SRCLNCST+9
OUT1 GETREFDT+3~
OUT1("DILIST" GETREFDT+18, GETREFDT+20, GETREFDT+21, GETREFDT+23
OUT2 GETREFDT+3~
OUT2("DILIST" GETREFDT+25, GETREFDT+27, GETREFDT+28, GETREFDT+30
OUT3 GETREFDT+3~, GETREFDT+31*, GETREFDT+32, GETREFDT+37
PATIENT SRCHREF~, SRCHREF+23, SRCHREF+32
PIECE GETREFDT+3~, GETREFDT+32*, GETREFDT+33, GETREFDT+34, GETREFDT+35, GETREFDT+37*
PRIMREF GTRFBYID+5~, GTRFBYID+14*, GTRFBYID+30, GTRFBYID+31, GTRFBYID+44, GTRFBYID+45
PRPIEN GETREFDT+3~, GETREFDT+27*, GETREFDT+29
PRPTXT GETREFDT+3~, GETREFDT+28*, GETREFDT+29
PRVIEN SROTPRV+1~, SROTPRV+5*, SROTPRV+7
PRVSTRNG SROTPRV~, SROTPRV+2
RECNMBR SRCHREF~, SRCHREF+22*, SRCHREF+32, SRCHREF+33, SRCHREF+35
REFIEN GTRFBYID~, GTRFBYID+6, GTRFBYID+7, GTRFBYID+8, GTRFBYID+9, GTRFBYID+11, GTRFBYID+13, GTRFBYID+14, GTRFBYID+17, GTRFBYID+36
, GTRFBYID+41, GTRFBYID+50, GTRFBYID+54, GETMEDHX~, GETMEDHX+4, GETMEDHX+5
REFNUM GTRFBYID+5~, GTRFBYID+13*, GTRFBYID+16
REFPRVDR SRCHREF~, SRCHREF+24, SRCHREF+33
REFTYPE SRRFRDTO~, SRRFRDTO+3, SRRFRDTO+4, SRRFRDTO+5, SRRFRDTO+6, SRRFRDTO+7
REMITTO SRVNDR+1~, SRVNDR+16*, SRVNDR+17
REVIEWER GETMEDHX+2~, GETMEDHX+3*, GETMEDHX+11*, GETMEDHX+18
RFCMTIEN GETMEDHX+2~, GETMEDHX+3*, GETMEDHX+9*, GETMEDHX+13, GETMEDHX+18
RSCODE GETREFDT+3~, GETREFDT+34*, GETREFDT+36
RSDESC GETREFDT+3~, GETREFDT+35*, GETREFDT+36
RSLT SRCHREF~, SRCHREF+32, SRCHREF+33, SRCHREF+35, SRCHREF+36, GTRFBYID~, GTRFBYID+8*, GTRFBYID+10*, GTRFBYID+18, GTRFBYID+58*
, GTRFBYID+59, GETMEDHX~, GETMEDHX+20*, GETMEDHX+21, GETREFDT~, GETREFDT+38*, GETREFDT+39, SRRFRDTO~, SRRFRDTO+3*, SRRFRDTO+4
, SRRFRDTO+5, SRRFRDTO+6, SRRFRDTO+7, SRVNDR~, SRVNDR+19*, SRVNDR+20, SRIHSFC~, SRIHSFC+13*, SRIHSFC+14, SROTPRV~
, SROTPRV+9*, SROTPRV+10, SRCLNCST~, SRCLNCST+10*, SRCLNCST+11
SCR SRCHREF+14~, SRCHREF+15*, SRCHREF+23*, SRCHREF+24*, SRCHREF+27*, SRCHREF+29*, SRCHREF+30*, SRCHREF+31*, SRCHREF+32, SRCHREF+33
, SRCHREF+35, GTRFBYID+5~, GTRFBYID+11*, GTRFBYID+16, GETMEDHX+2~, GETMEDHX+4*, GETMEDHX+5, SRVNDR+1~, SRVNDR+2*, SRVNDR+3
SRHSTRNG SRRFRDTO~, SRRFRDTO+3, SRRFRDTO+4, SRRFRDTO+5, SRRFRDTO+6, SRRFRDTO+7
STATUS SRCHREF~, SRCHREF+16, SRCHREF+17*, SRCHREF+18*, SRCHREF+19*, SRCHREF+20*, SRCHREF+25, SRCHREF+26, SRCHREF+27, SRCHREF+28
STRTDATE SRCHREF~, SRCHREF+30, SRCHREF+34
SVCUNIT SRIHSFC+1~, SRIHSFC+8*, SRIHSFC+11
TYPE GETMEDHX~, GETMEDHX+3, GETMEDHX+4, GETMEDHX+18
VNDRDUN SRVNDR+1~, SRVNDR+12*, SRVNDR+17
VNDREIN SRVNDR+1~, SRVNDR+13*, SRVNDR+17
VNDRIEN SRVNDR+1~, SRVNDR+10*, SRVNDR+17
VNDRNM SRVNDR+1~, SRVNDR+11*, SRVNDR+17
VNRSTRNG SRVNDR~, SRVNDR+3
WP GETMEDHX+12!~
WP( GETMEDHX+14, GETMEDHX+16, GETMEDHX+17
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All