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 |  Pointed To By FileMan Files |  Pointer To FileMan Files |  Fields |  Found Entries |  External References |  Global Variables Directly Accessed |  Local Variables |  All
Print Page as PDF
Global: ^SDEC(409.84

Package: Scheduling

Global: ^SDEC(409.84


Information

FileMan FileNo FileMan Filename Package
409.84 SDEC APPOINTMENT Scheduling

Description

Directly Accessed By Routines, Total: 35

Package Total Routines
Scheduling 35 SDAUT2    SDEC02    SDEC03    SDEC05    SDEC07    SDEC07A    SDEC08    SDEC16
SDEC25    SDEC25B    SDEC26    SDEC27    SDEC29    SDEC31    SDEC33    SDEC34
SDEC40    SDEC47    SDEC50    SDEC54A    SDEC55    SDEC55A    SDEC658    SDEC665
SDEC671    SDECAPP    SDECAR    SDECAR2    SDECCLN    ^SDEC(409.84    SDECDEV    SDECINI2
SDECU    SDECUTL    SDECWL    

Accessed By FileMan Db Calls, Total: 22

Package Total Routines
Scheduling 22 SDEC02    SDEC07    SDEC08    SDEC25    SDEC25B    SDEC26    SDEC27    SDEC29
SDEC31    SDEC54A    SDEC55A    SDEC658    SDEC665    SDEC671    SDECAPP    SDECAR
SDECAR2    SDECCLN    SDECI2    SDECU    SDECUTL    SDECWL    

Pointed To By FileMan Files, Total: 1

Package Total FileMan Files
Scheduling 1 SDEC APPT REQUEST(#409.85)[#409.852(.02)]    

Pointer To FileMan Files, Total: 11

Package Total FileMan Files
Scheduling 7 RECALL REMINDERS(#403.5)[.22]    APPOINTMENT TYPE(#409.1)[.06]    CANCELLATION REASONS(#409.2)[.122]    APPOINTMENT STATUS(#409.63)[.19]    SDEC RESOURCE(#409.831)[.07]    SDEC APPT REQUEST(#409.85)[.22]    SD WAIT LIST(#409.3)[.22]    
PCE Patient Care Encounter 2 PATIENT/IHS(#9000001)[.05]    V PROVIDER(#9000010.06)[.15]    
Consult Request Tracking 1 REQUEST/CONSULTATION(#123)[.22]    
Kernel 1 NEW PERSON(#200)[.08.102.121.16]    

Fields, Total: 28

Field # Name Loc Type Details
.01 STARTTIME 0;1 DATE
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  S %DT="ETXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  OCT 21, 2014
  • HELP-PROMPT:  Enter a date and time
  • DESCRIPTION:  
    Date and Time this appointment is scheduled to start.
  • CROSS-REFERENCE:  409.84^B
    1)= S ^SDEC(409.84,"B",$E(X,1,30),DA)=""
    2)= K ^SDEC(409.84,"B",$E(X,1,30),DA)
.02 ENDTIME 0;2 DATE
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  S %DT="ETXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  OCT 21, 2014
  • HELP-PROMPT:  Enter a date and time
  • DESCRIPTION:  
    The date and time that this appointment ended.
.03 CHECKIN 0;3 DATE

  • INPUT TRANSFORM:  S %DT="ETR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  NOV 03, 2014
  • HELP-PROMPT:  Enter a date and time
  • DESCRIPTION:  
    Date and Time of the Check-In for this appointment.
.04 CHECK IN TIME ENTERED 0;4 DATE

  • INPUT TRANSFORM:  S %DT="ETR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  NOV 03, 2014
  • HELP-PROMPT:  Enter a date and time
  • DESCRIPTION:  
    Date/Time the Check-In was entered.
.05 PATIENT 0;5 POINTER TO PATIENT/IHS FILE (#9000001) PATIENT/IHS(#9000001)

  • LAST EDITED:  AUG 12, 2014
  • HELP-PROMPT:  Select a patient
  • DESCRIPTION:  
    This is the patient that this appointment is scheduled for.
  • CROSS-REFERENCE:  409.84^CPAT
    1)= S ^SDEC(409.84,"CPAT",$E(X,1,30),DA)=""
    2)= K ^SDEC(409.84,"CPAT",$E(X,1,30),DA)
    This xref is used to look up appointments by Patient.
.06 APPOINTMENT TYPE 0;6 POINTER TO APPOINTMENT TYPE FILE (#409.1) APPOINTMENT TYPE(#409.1)

  • LAST EDITED:  MAY 22, 2015
  • HELP-PROMPT:  Select an appointment type.
  • DESCRIPTION:  
    This field represents the Appointment Type.
  • TECHNICAL DESCR:  
    This field is a pointer to the APPOINTMENT TYPE file 409.1.
.07 RESOURCE 0;7 POINTER TO SDEC RESOURCE FILE (#409.831) SDEC RESOURCE(#409.831)

  • LAST EDITED:  AUG 12, 2014
  • HELP-PROMPT:  Select a resource
  • DESCRIPTION:  
    This field represents the resource that is scheduled for this appointment.
  • CROSS-REFERENCE:  409.84^ARSRC^MUMPS
    1)= D XR2S^SDEC03(DA)
    2)= D XR2K^SDEC03(DA)
    This index is used to find all appointments for a given resource during a given time period.
.08 DATA ENTRY CLERK 0;8 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  AUG 12, 2014
  • HELP-PROMPT:  Select the clerk who entered this appointment.
  • DESCRIPTION:  
    Field contains the ien of the clerk who made the appointment.
.09 DATE APPT MADE 0;9 DATE

  • INPUT TRANSFORM:  S %DT="EX" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  JAN 26, 2016
  • HELP-PROMPT:  Enter a date
  • DESCRIPTION:  
    Field contains the date the appointment was made.
  • CROSS-REFERENCE:  409.84^AC
    1)= S ^SDEC(409.84,"AC",$E(X,1,30),DA)=""
    2)= K ^SDEC(409.84,"AC",$E(X,1,30),DA)
    This cross-reference is used to sort SDEC APPOINTMENT entries by the DATE APPOINTMENT MADE field.
.1 NOSHOW 0;10 SET
  • '1' FOR YES;
  • '0' FOR NO;

  • LAST EDITED:  AUG 12, 2014
  • HELP-PROMPT:  Enter 1 or YES if this appointment was a No-Show. Enter 0 or NO if this appointment was not a No-Show.
  • DESCRIPTION:  
    Yes/No field indicating this appointment was a No-Show.
.101 NOSHOW DATETIME 0;23 DATE

  • INPUT TRANSFORM:  S %DT="ETXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  OCT 21, 2014
  • HELP-PROMPT:  Enter a date and time
  • DESCRIPTION:  
    This is the Date/Time that the No-Show was entered.
.102 NOSHOW BY USER 0;24 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  OCT 15, 2014
  • HELP-PROMPT:  Select the user that entered the No-Show
  • DESCRIPTION:  
    This is the User that entered the No-Show.
.11 REBOOK DATETIME 0;11 DATE

  • INPUT TRANSFORM:  S %DT="ETXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  OCT 21, 2014
  • HELP-PROMPT:  Enter a date and time
  • DESCRIPTION:  
    This the date and time that the rebooking was entered.
.12 CANCEL DATETIME 0;12 DATE

  • INPUT TRANSFORM:  S %DT="ETXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  MAR 07, 2016
  • HELP-PROMPT:  Enter cancellation date and time
  • DESCRIPTION:  
    The date/time the cancellation was entered.
  • CROSS-REFERENCE:  409.84^AD
    1)= S ^SDEC(409.84,"AD",$E(X,1,30),DA)=""
    2)= K ^SDEC(409.84,"AD",$E(X,1,30),DA)
    This cross-reference is used to sort SDEC APPOINTMENT entries by the CANCEL DATETIME field.
.121 CANCELLED BY USER 0;21 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  OCT 14, 2014
  • HELP-PROMPT:  Select the user who entered this cancellation.
  • DESCRIPTION:  
    This is the user that entered the cancellation.
.122 CANCELLATION REASON 0;22 POINTER TO CANCELLATION REASONS FILE (#409.2) CANCELLATION REASONS(#409.2)

  • LAST EDITED:  OCT 14, 2014
  • HELP-PROMPT:  Select a cancellation reason
  • DESCRIPTION:  
    Reason for Cancellation that was selected from the CANCELLATION REASON file 409.2.
.13 WALKIN 0;13 SET
  • 'y' FOR YES;
  • 'n' FOR NO;

  • LAST EDITED:  AUG 12, 2014
  • HELP-PROMPT:  Enter y or YES if this is a walk-in appointment. Enter n or NO if this is not a walk-in appointment.
  • DESCRIPTION:  
    Yes/No field to indicate that this appointment was a Walk-in or adhoc appointment.
.14 CHECKOUT 0;14 DATE

  • INPUT TRANSFORM:  S %DT="ETXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  OCT 21, 2014
  • HELP-PROMPT:  Enter checkout date and time
  • DESCRIPTION:  
    CHECKOUT DATE/TIME FOR APPOINTMENT.
.15 V PROVIDER IEN 0;15 POINTER TO V PROVIDER FILE (#9000010.06) V PROVIDER(#9000010.06)

  • LAST EDITED:  AUG 12, 2014
  • HELP-PROMPT:  Select provider
  • DESCRIPTION:  
    V PROVIDER IEN is the pointer to the V PROVIDER file for the patient.
.16 PROVIDER 0;16 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  AUG 12, 2014
  • HELP-PROMPT:  Select a provider
  • DESCRIPTION:  
    The primary provider for this appointment.
.17 STATUS 0;17 SET
  • 'N' FOR NO-SHOW;
  • 'C' FOR CANCELLED BY CLINIC;
  • 'NA' FOR NO-SHOW & AUTO RE-BOOK;
  • 'CA' FOR CANCELLED BY CLINIC & AUTO RE-BOOK;
  • 'I' FOR INPATIENT APPOINTMENT;
  • 'PC' FOR CANCELLED BY PATIENT;
  • 'PCA' FOR CANCELLED BY PATIENT & AUTO-REBOOK;
  • 'NT' FOR NO ACTION TAKEN;

  • LAST EDITED:  JUN 18, 2015
  • HELP-PROMPT:  Select an appointment status
  • DESCRIPTION:  
    Populated by SDEC CANCEL APPOINTMENT in the event there is an 'undo' of a Cancelled Appointment.
.18 LENGTH OF APPT 0;18 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>120)!(X<5)!(X?.E1"."1N.N) X
  • LAST EDITED:  AUG 12, 2014
  • HELP-PROMPT:  Type a number between 5 and 120, 0 decimal digits.
  • DESCRIPTION:  
    This represents the length of this appointment in minutes. This is populated when an appointment is cancelled and is used in the event that the appointment is re-instated.
.19 PREV APPT STATUS 0;19 POINTER TO APPOINTMENT STATUS FILE (#409.63) APPOINTMENT STATUS(#409.63)

  • LAST EDITED:  AUG 12, 2014
  • HELP-PROMPT:  Select an appointment status
  • DESCRIPTION:  
    Pointer to APPOINTMENT STATUS file; used to restore status in visit encounter in the event that a user re-instates the appointment after a 'cancel' has been processed.
.2 DESIRED DATE OF APPOINTMENT 0;20 DATE

  • INPUT TRANSFORM:  S %DT="EX" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  OCT 22, 2014
  • HELP-PROMPT:  Enter the desired date for this appointment.
  • DESCRIPTION:  
    This is the appointment date that is needed/desired.
.21 EXTERNAL ID 0;25 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>50!($L(X)<1) X
  • LAST EDITED:  OCT 16, 2014
  • HELP-PROMPT:  Answer must be 1-50 characters in length.
  • DESCRIPTION:  
    This is used to hold an external identifier.
  • CROSS-REFERENCE:  409.84^AEX
    1)= S ^SDEC(409.84,"AEX",$E(X,1,30),DA)=""
    2)= K ^SDEC(409.84,"AEX",$E(X,1,30),DA)
    Used to lookup the SDEC APPOINTMENT ien using the external ID.
.22 APPT REQUEST TYPE 2;1 VARIABLE POINTER SD WAIT LIST(#409.3)  REQUEST/CONSULTATION(#123)  RECALL REMINDERS(#403.5)  SDEC APPT REQUEST(#409.85)  

  • OUTPUT TRANSFORM:  S Y=$S($P(Y,";",2)="SDWL(409.3,":"EWL",$P(Y,";",2)="GMR(123,":"CONSULT",$P(Y,";",2)="SD(403.5,":"RECALL",$P(Y,";",2)="SDEC(409.85,":"APPT",1:"")
  • LAST EDITED:  SEP 10, 2015
  • HELP-PROMPT:  Select from SD WAIT LIST, REQUEST/CONSULTATION, SDEC APPT REQUEST, or RECALL REMINDERS.
  • DESCRIPTION:  
    This Variable Pointer field holds a pointer to either the SD WAIT LIST file, REQUEST/CONSULTATION file, SDEC APPT REQUEST, or RECALL REMINDERS file.
.23 PATIENT STATUS 2;2 SET
  • 'N' FOR NEW;
  • 'E' FOR ESTABLISHED;

  • LAST EDITED:  JUN 09, 2015
  • HELP-PROMPT:  Enter N or NEW if the patient is a new patient. Enter E or ESTABLISHED if this patient has been seen in the past 24 months.
  • DESCRIPTION:  
    This field represents the status of the patient in regards to being a 'NEW' or 'ESTABLISHED' patient.  An ESTABLISHED patient has been seen within the past 24 months.
1 NOTE 1;0 WORD-PROCESSING #409.841

  • DESCRIPTION:  
    This holds the text regarding the reason for the appointment.

External References

Name Field # of Occurrence
^%DT .01+1, .02+1, .03+1, .04+1, .09+1, .101+1, .11+1, .12+1, .14+1, .2+1
XR2K^SDEC03 .07(XREF 1K)
XR2S^SDEC03 .07(XREF 1S)

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^SDEC(409.84 - [#409.84] .01(XREF 1S), .01(XREF 1K), .05(XREF 1S), .05(XREF 1K), .09(XREF 1S), .09(XREF 1K), .12(XREF 1S), .12(XREF 1K), .21(XREF 1S), .21(XREF 1K)

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> %DT .01+1*, .02+1*, .03+1*, .04+1*, .09+1*, .101+1*, .11+1*, .12+1*, .14+1*, .2+1*
>> DA .01(XREF 1S), .01(XREF 1K), .05(XREF 1S), .05(XREF 1K), .07(XREF 1S), .07(XREF 1K), .09(XREF 1S), .09(XREF 1K), .12(XREF 1S), .12(XREF 1K)
.21(XREF 1S), .21(XREF 1K)
X .01+1*!, .01(XREF 1S), .01(XREF 1K), .02+1*!, .03+1*!, .04+1*!, .05(XREF 1S), .05(XREF 1K), .09+1*!, .09(XREF 1S)
.09(XREF 1K), .101+1*!, .11+1*!, .12+1*!, .12(XREF 1S), .12(XREF 1K), .14+1*!, .18+1!, .2+1*!, .21+1!
.21(XREF 1S), .21(XREF 1K)
>> Y .01+1, .02+1, .03+1, .04+1, .09+1, .101+1, .11+1, .12+1, .14+1, .2+1
, .22OT+1*
>> Y(0 .22OT+1*
Info |  Desc |  Directly Accessed By Routines |  Accessed By FileMan Db Calls |  Pointed To By FileMan Files |  Pointer To FileMan Files |  Fields |  Found Entries |  External References |  Global Variables Directly Accessed |  Local Variables |  All