Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Desc |  Directly Accessed By Routines |  Accessed By FileMan Db Calls |  Pointer To FileMan Files |  Fields |  External References |  Global Variables Directly Accessed |  Naked Globals |  Local Variables |  All
Print Page as PDF
Global: ^SDV

Package: Scheduling

Global: ^SDV


Information

FileMan FileNo FileMan Filename Package
409.5 SCHEDULING VISITS Scheduling

Description

Directly Accessed By Routines, Total: 43

Package Total Routines
Scheduling 24 ^SDV    CLINIC STOP CODE    SCCVCST2    SCCVEAE    SCCVEAE1    SCCVEAE3    SCCVEAP2    SCCVEAP4
SCCVPCE    SCCVPOST    SCCVU    SD132PT    SDACS0    SDACS1    SDAMBAE2    SDAMBAE3
SDAMBAE4    SDOECPT    SDXA    SDXA1    SDXA2    SDXACSE    SDXACSE1    SDXACSE2
Integrated Billing 10 IBAMTEDU    IBCCPT    IBCONS2    IBCOPV    IBECEAU    IBOBCC    IBOCNC1    IBOEMP1
IBOVOP1    IBTOBI4    
Registration 3 DGVPTIB2    DGVPTIB5    DGYPSDE2    
Automated Information Collection System 2 IBDFOSG4    IBDFRPC3    
Local Area Programs 1 AZAXDPM2    
PCE Patient Care Encounter 1 PXQUTL    

Accessed By FileMan Db Calls, Total: 7

Package Total Routines
Scheduling 7 SDACS1    SDXA    SDXA1    SDXA2    SDXACSE    SDXACSE1    SDXACSE2    

Pointer To FileMan Files, Total: 9

Package Total FileMan Files
Scheduling 4 CLINIC STOP(#40.7)[#409.51(.01)]    HOSPITAL LOCATION(#44)[#409.51(3)]    OUTPATIENT ENCOUNTER(#409.68)[#409.51(8)]    APPOINTMENT TYPE(#409.1)[#409.51(5)]    
Registration 3 MEDICAL CENTER DIVISION(#40.8)[3]    ELIGIBILITY CODE(#8)[#409.51(4)]    VA PATIENT(#2)[2]    
CPT Files 1 CPT(#81)[#409.51(21)#409.51(22)#409.51(23)#409.51(24)#409.51(25)]    
Kernel 1 NEW PERSON(#200)[#409.51(2)]    

Fields, Total: 7

Field # Name Loc Type Details
.01 DATE/TIME 0;1 DATE

  • INPUT TRANSFORM:  S %DT="EXT" D ^%DT S X=Y K:Y<1 X S DINUM=X
  • LAST EDITED:  MAY 24, 1988
  • HELP-PROMPT:  Enter the date of the patient's outpatient visit
  • DESCRIPTION:  
    The data/time a veteran was scheduled for an outpatient visit.
  • NOTES:  XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
  • CROSS-REFERENCE:  409.5^B
    1)= S ^SDV("B",$E(X,1,30),DA)=""
    2)= K ^SDV("B",$E(X,1,30),DA)
  • CROSS-REFERENCE:  409.5^ASDPSD1^MUMPS
    1)= Q
    2)= S SDX=$S($D(^SDV(DA,0)):$P(^(0),"^",3),1:"") K:'SDX SDX I $D(SDX) K ^DPT("ASDPSD","C"," "_SDX," ",DA,$P(^SDV(DA,0),"^",2)),SDX
2 PATIENT 0;2 POINTER TO VA PATIENT FILE (#2)
************************REQUIRED FIELD************************
VA PATIENT(#2)

  • LAST EDITED:  MAY 24, 1988
  • DESCRIPTION:  
    The name of the patient who had a scheduled outpatient visit which is a pointer to File 2, Patient File
    UNEDITABLE
  • CROSS-REFERENCE:  409.5^C
    1)= S ^SDV("C",$E(X,1,30),DA)=""
    2)= K ^SDV("C",$E(X,1,30),DA)
  • CROSS-REFERENCE:  409.5^ADT^MUMPS
    1)= S ^SDV("ADT",X,$P(DA,"."))=DA
    2)= K ^SDV("ADT",X,$P(DA,"."))
3 DIVISION 0;3 POINTER TO MEDICAL CENTER DIVISION FILE (#40.8) MEDICAL CENTER DIVISION(#40.8)

  • LAST EDITED:  NOV 18, 1998
  • HELP-PROMPT:  Enter division where visit took place.
  • DESCRIPTION:  
    The division a veteran was seen at for a scheduled visit in an outpatient clinic.  For example, Albany VA Medical Center is considered a division.
  • CROSS-REFERENCE:  409.5^ASDPSD^MUMPS
    1)= Q
    2)= Q
    This cross reference use to call SDACS but is no longer needed since the release of patch SD*5.3*132. Cross referece is kept for historial purposes but both the 'Set' and 'Kill' logic are now just QUIT commands.
    The following are the former 'Set' and 'Kill' logic:
    Set: S SDX=DA,DA(1)=$P(^SDV(DA,0),"^",2),DIV=X D EN1^SDACS K SDX,DA(1),DIV Kill: S DA(1)=$P(^SDV(DA,0),"^",2),DIV=X,SDX=DA D EN1K^SDACS K DA(1),SDX,DIV
10 CLINIC STOP CODE CS;0 POINTER Multiple #409.51 409.51

  • DESCRIPTION:  Clinic stop code is one of many codes assigned to specialties of care by VA Central Office for nationwide use. For example, the stop code number 102 is 'admissions/screening' which can be associated with any clinic in
    which the veteran will be screened for treatment and possibly admitted.
200 # OF AMBULATORY PROCEDURES COMPUTED

  • MUMPS CODE:  D COUNT^SDAMBAE4
  • ALGORITHM:  D COUNT^SDAMBAE4
  • LAST EDITED:  SEP 04, 1989
  • DESCRIPTION:  
    This computed field returns the total number of ambulatory procedures performed on the patient for the visit date.
203 PROCEDURE REIMBURSEMENT COMPUTED

  • MUMPS CODE:  D TOTAL^SDAMBAE4
  • ALGORITHM:  D TOTAL^SDAMBAE4
  • DESCRIPTION:  
    This computed fields returns the total RAM reimbursement for all the procedures performed on the patient for the visit date.
206 TOTAL LOCAL COST COMPUTED

  • MUMPS CODE:  D LOCAL^SDAMBAE4
  • ALGORITHM:  D LOCAL^SDAMBAE4
  • DESCRIPTION:  This computed field returns the total local cost for all the ambulatory procedures performed on the patient for the visit date.
    The 'LOCAL COST' in the AMBULATORY PROCEDURE TIME SENSITIVE DATA file is used if entered for the appropriate entry. Otherwise, the appropriate RAM reimbursement amount, effective on the visit date, is used.
    In other words, if no local costs are entered for any of the procedures performed, then the value returned will be equal to the value returned for the PROCEDURE REIMBURSEMENT field.

External References

Name Field # of Occurrence
^%DT .01+1
Y^DIQ ID2+1
COUNT^SDAMBAE4 200+1
LOCAL^SDAMBAE4 206+1
TOTAL^SDAMBAE4 203+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD(2 ID2+1
^DPT - [#2] ID2+1
^DPT("ASDPSD" .01(XREF 2K)
^SDV - [#409.5] .01(XREF 2K)
^SDV("ADT" 2(XREF 2S), 2(XREF 2K)
^SDV("B" .01(XREF 1S), .01(XREF 1K)
^SDV("C" 2(XREF 1S), 2(XREF 1K)

Naked Globals

Name Field # of Occurrence
^(0 ID2+1, .01(XREF 2K)

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> %DT .01+1*
%I ID2+1*!
>> C ID2+1*
>> DA .01(XREF 1S), .01(XREF 1K), .01(XREF 2K), 2(XREF 1S), 2(XREF 1K), 2(XREF 2S), 2(XREF 2K)
>> DIC ID2+1
>> DINUM .01+1*
SDX .01(XREF 2K)
U ID2+1
X .01+1*!, .01(XREF 1S), .01(XREF 1K), 2(XREF 1S), 2(XREF 1K), 2(XREF 2S), 2(XREF 2K)
>> Y ID2+1*, .01+1
Info |  Desc |  Directly Accessed By Routines |  Accessed By FileMan Db Calls |  Pointer To FileMan Files |  Fields |  External References |  Global Variables Directly Accessed |  Naked Globals |  Local Variables |  All