STANDARD DATA DICTIONARY #409.85 -- SDEC APPT REQUEST FILE 3/24/25 PAGE 1 STORED IN ^SDEC(409.85, *** NO DATA STORED YET *** SITE: WWW.BMIRWIN.COM UCI: VISTA,VISTA (VERSION 5.3) DATA NAME GLOBAL DATA ELEMENT TITLE LOCATION TYPE ----------------------------------------------------------------------------------------------------------------------------------- This file contains the SDEC Appt Request entries for the Appointment Scheduling application. Each entry represents a unique appointment request. DD ACCESS: RD ACCESS: WR ACCESS: DEL ACCESS: LAYGO ACCESS: AUDIT ACCESS: POINTED TO BY: APPT REQUEST TYPE field (#.22) of the SDEC APPOINTMENT File (#409.84) PARENT REQUEST field (#43.8) of the SDEC APPT REQUEST File (#409.85) CHILD REQUEST field (#.01) of the MULT APPTS MADE sub-field (#409.852) of the SDEC APPT REQUEST File (#409.85) SDEC REQUEST POINTER field (#2.3) of the SDEC CONTACT File (#409.86) CROSS REFERENCED BY: PATIENT(B), INSTITUTION(C), REQ SPECIFIC CLINIC(SC), REQ SPECIFIC CLINIC(SCC) INDEXED BY: DATE/TIME ENTERED & ORIGINATING USER (AC), DATE ENTERED & ENTERED BY USER (AD), CURRENT STATUS & CREATE DATE (E), CURRENT STATUS & REQ SPECIFIC CLINIC & CREATE DATE (EC), CURRENT STATUS & REQ SPECIFIC CLINIC & CID/PREFERRED DATE OF APPT (ECC), CURRENT STATUS & REQ SERVICE/SPECIALTY & CREATE DATE (ES), CURRENT STATUS & REQ SERVICE/SPECIALTY & CID/PREFERRED DATE OF APPT (ESC), CURRENT STATUS & REQ SERVICE/SPECIALTY & CREATE DATE (ESP), REQ SPECIFIC CLINIC & CREATE DATE (GC), REQ SPECIFIC CLINIC & CID/PREFERRED DATE OF APPT (GCC), REQ SERVICE/SPECIALTY & CREATE DATE (GS), REQ SERVICE/SPECIALTY & CREATE DATE (GSA), REQ SERVICE/SPECIALTY & SERVICE CONNECTED PRIORITY & CREATE DATE (GSB), REQ SERVICE/SPECIALTY & CID/PREFERRED DATE OF APPT (GSC), REQ SERVICE/SPECIALTY & CREATE DATE (GSP), VAOS GUID (GUID), REQUEST TYPE (TYPE) LAST MODIFIED: DEC 15,2024@11:59:31 409.85,.01 PATIENT 0;1 POINTER TO PATIENT FILE (#2) (Required) LAST EDITED: JUN 25, 2015 HELP-PROMPT: Enter the name of the patient for this Appt Request. DESCRIPTION: This is the name of the patient that is to be on the SDEC APPT REQUEST list. TECHNICAL DESCR: The patient selection is from the PATIENT file #2. The SDEC APPT REQUEST is 'this' file #409.85. CROSS-REFERENCE: 409.85^B 1)= S ^SDEC(409.85,"B",$E(X,1,30),DA)="" 2)= K ^SDEC(409.85,"B",$E(X,1,30),DA) 409.85,.02 PATIENT STATUS 0;7 SET (audited) 'N' FOR NEW; 'E' FOR ESTABLISHED; LAST EDITED: NOV 02, 2016 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. AUDIT: YES, ALWAYS 409.85,1 CREATE DATE 0;2 DATE INPUT TRANSFORM: S %DT="EX" D ^%DT S X=Y K:Y<1 X LAST EDITED: AUG 28, 2024 HELP-PROMPT: Enter the date the request was made. DESCRIPTION: This field represents the date that the appointment request was made. RECORD INDEXES: E (#1360), EC (#1415), ES (#1543), ESP (#1545), GC (#1453), GS (#1448), GSA (#1451), GSB (#1452), GSP (#1450) 409.85,2 INSTITUTION 0;3 POINTER TO INSTITUTION FILE (#4) (Required) INPUT TRANSFORM: S DIC("S")="I $P(^(0),U,11)=""N"",$$TF^XUAF4(+Y)" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X LAST EDITED: APR 18, 2015 HELP-PROMPT: Select an Institution DESCRIPTION: This field represents the Institution assigned to identify the specific location. SCREEN: S DIC("S")="I $P(^(0),U,11)=""N"",$$TF^XUAF4(+Y)" EXPLANATION: Only allow a National/Medical Institution. CROSS-REFERENCE: 409.85^C 1)= S ^SDEC(409.85,"C",$E(X,1,30),DA)="" 2)= K ^SDEC(409.85,"C",$E(X,1,30),DA) This xref is used to speed up the lookup of Appointment Requests by INSTITUTION. 409.85,4 REQUEST TYPE 0;5 SET (Required) 'APPT' FOR APPOINTMENT; 'MOBILE' FOR MOBILE; 'W2VA' FOR WELCOME TO VA; 'RTC' FOR RETURN TO CLINIC; 'VETERAN' FOR VETERAN; LAST EDITED: JAN 05, 2023 HELP-PROMPT: Select an appointment request type DESCRIPTION: This field represents the type of appointment request that being requested. FIELD INDEX: TYPE (#853) REGULAR IR LOOKUP & SORTING Short Descr: Cross reference for Request Type. Set Logic: S ^SDEC(409.85,"TYPE",$E(X,1,7),DA)="" Kill Logic: K ^SDEC(409.85,"TYPE",$E(X,1,7),DA) Whole Kill: K ^SDEC(409.85,"TYPE") X(1): REQUEST TYPE (409.85,4) (Subscr 1) (Len 7) (forwards) 409.85,5 VAOS GUID 0;8 FREE TEXT INPUT TRANSFORM: K:$L(X)>32!($L(X)<1) X LAST EDITED: APR 20, 2018 HELP-PROMPT: Answer must be 1-32 characters in length. DESCRIPTION: Stores pointer to Oracle database where VAOS appointment requests are stored. FIELD INDEX: GUID (#1559) REGULAR IR LOOKUP & SORTING Short Descr: Stores pointer to Oracle database where VAOS appointment requests are stored. Description: The GUID is the database pointer in the Oracle database that stores VAOS requests for appointments. It is a 32 character value. This cross-reference is used to link the VAOS request to the Appointment Request stored in VistA so that the VAOS database can be updated with status changes when appointments are made or cancelled using VS GUI. Set Logic: S ^SDEC(409.85,"GUID",$E(X,1,32),DA)="" Kill Logic: K ^SDEC(409.85,"GUID",$E(X,1,32),DA) Whole Kill: K ^SDEC(409.85,"GUID") X(1): VAOS GUID (409.85,5) (Subscr 1) (Len 32) (forwards) 409.85,6 MODALITY SDMOD;1 SET 'FACE2FACE' FOR FACE TO FACE; 'TELEPHONE' FOR TELEPHONE; 'VIDEO' FOR VIDEO; LAST EDITED: JUN 13, 2022 HELP-PROMPT: Enter the type of modality of this appointment request. DESCRIPTION: This field will indicate how the appointment will be conducted. For example, if the patient will be seen in the office face to face with the provider the modality will be "Face to Face". If the appointment is a VVC appointment where the patient and provider will use video then the modality is "Video". If the appointment is a telephone appointment with no video then the modality will be "Telephone". 409.85,8 REQ SPECIFIC CLINIC 0;9 POINTER TO HOSPITAL LOCATION FILE (#44) (Required) (audited) LAST EDITED: AUG 23, 2024 HELP-PROMPT: Select a clinic. DESCRIPTION: This field represents the clinic that this appointment request is for. If the patient has been assigned to the APPT REQUEST list, enter the clinic that the patient is waiting for an appointment. AUDIT: YES, ALWAYS CROSS-REFERENCE: 409.85^SC^MUMPS 1)= I $D(X) S ^SDEC(409.85,"SC",$P(^SC(X,0),U,1),DA)="" 2)= K ^SDEC(409.85,"SC",$P(^SC(X,0),U,1),DA) Sort and Lookup Appointment Request by Clinic name. CROSS-REFERENCE: 409.85^SCC^MUMPS 1)= I $D(X) S ^SDEC(409.85,"SCC",$P(^SDEC(409.85,DA,0),U,1),X,DA)="" 2)= K ^SDEC(409.85,"SCC",$P(^SDEC(409.85,DA,0),U,1),X,DA) Sort/Lookup Appointment Request by Specific Clinic. RECORD INDEXES: EC (#1415), ECC (#1512), GC (#1453), GCC (#1454) 409.85,8.5 REQ SERVICE/SPECIALTY 0;4 POINTER TO CLINIC STOP FILE (#40.7) (audited) INPUT TRANSFORM: S DIC("S")="I ($P(^(0),U,3)="""")!($P($P(^(0),U,3),""."",1)>$P($$NOW^XLFDT,""."",1))" D ^DIC K DIC S DIC=$G(DIE),X=+Y K:Y<0 X LAST EDITED: AUG 23, 2024 HELP-PROMPT: Select a CLINIC STOP. DESCRIPTION: This field represents the CLINIC STOP code (also referred to as SERVICE/SPECIALTY) that is associated with this appointment. SCREEN: S DIC("S")="I ($P(^(0),U,3)="""")!($P($P(^(0),U,3),""."",1)>$P($$NOW^XLFDT,""."",1))" EXPLANATION: Allow only active CLINIC STOP entries. AUDIT: YES, ALWAYS RECORD INDEXES: ES (#1543), ESC (#1544), ESP (#1545), GS (#1448), GSA (#1451), GSB (#1452), GSC (#1449), GSP (#1450) 409.85,8.6 REQ SECONDARY STOP CODE SDREQ;1 POINTER TO CLINIC STOP FILE (#40.7) (audited) INPUT TRANSFORM: S DIC("S")="I ($P(^(0),U,3)="""")!($P($P(^(0),U,3),""."",1)>$P($$NOW^XLFDT,""."",1))" D ^DIC K DIC S DIC=$G(DIE),X=+Y K:Y<0 X LAST EDITED: JUN 06, 2022 HELP-PROMPT: Enter the Secondary Stop Code to indicate service type for this appointment. DESCRIPTION: This field represents the Secondary Stop Code optionally assigned with this appointment to indicate the service type for this appointment request. Appointments request will receive this secondary stop code in addition to the 'normal' stop code if a stop code different from the 'normal' stop code for this appointment request is entered here. SCREEN: S DIC("S")="I ($P(^(0),U,3)="""")!($P($P(^(0),U,3),""."",1)>$P($$NOW^XLFDT,""."",1))" EXPLANATION: Allow only active CLINIC STOP entries. AUDIT: YES, ALWAYS 409.85,8.7 REQ APPOINTMENT TYPE 0;6 POINTER TO APPOINTMENT TYPE FILE (#409.1) (audited) LAST EDITED: NOV 02, 2016 HELP-PROMPT: Select an appointment type. DESCRIPTION: This field represents the appointment type for this request. AUDIT: YES, ALWAYS 409.85,9 ORIGINATING USER 0;10 POINTER TO NEW PERSON FILE (#200) LAST EDITED: APR 18, 2015 HELP-PROMPT: Select a user DESCRIPTION: This is the user that entered this appointment request. RECORD INDEXES: AC (#1361) 409.85,9.5 DATE/TIME ENTERED 3;4 DATE INPUT TRANSFORM: S %DT="ETX" D ^%DT S X=Y K:Y<1 X LAST EDITED: APR 18, 2015 HELP-PROMPT: Enter a date. Time is optional. DESCRIPTION: This is the Date and optional Time that this appointment request entry was entered. RECORD INDEXES: AC (#1361) 409.85,10 PRIORITY 0;11 SET (Required) 'A' FOR ASAP; 'F' FOR FUTURE; LAST EDITED: APR 18, 2015 HELP-PROMPT: Enter A or ASAP to set the priority as 'As Soon As Possible'. Enter F or FUTURE to set the priority as Future. DESCRIPTION: This represents the appointment priority. Future indicates that the patient needs an appointment in the future and a desired date will be entered by the user. ASAP indicates that the patient needs an appointment before the currently next available appointment (as soon as a slot opens). The desired date for ASAP will be set by the system as the current date. 409.85,10.5 ENROLLMENT PRIORITY 0;25 SET '1' FOR GROUP 1; '2' FOR GROUP 2; '3' FOR GROUP 3; '4' FOR GROUP 4; '5' FOR GROUP 5; '6' FOR GROUP 6; '7' FOR GROUP 7; '8' FOR GROUP 8; LAST EDITED: APR 18, 2015 HELP-PROMPT: Select an enrollment priority. DESCRIPTION: The ENROLLMENT PRIORITY field represents the appointment Enrollment Priority. 409.85,11 REQUESTED BY 0;12 SET (Required) (audited) '1' FOR PROVIDER; '2' FOR PATIENT; LAST EDITED: NOV 02, 2016 HELP-PROMPT: Enter 1 or PROVIDER if the requestor was a provider. Enter 2 or PATIENT if the requestor was the patient. DESCRIPTION: This field identifies who requested the appointment - the patient or a provider. AUDIT: YES, ALWAYS 409.85,12 PROVIDER 0;13 POINTER TO NEW PERSON FILE (#200) (audited) LAST EDITED: NOV 02, 2016 HELP-PROMPT: Select the provider that requested the patient's appointment. DESCRIPTION: This field represents the provider that requested the appointment if the appointment was requested by a provider. AUDIT: YES, ALWAYS 409.85,13 SCHEDULED DATE OF APPT 0;23 DATE INPUT TRANSFORM: S %DT="ETX" D ^%DT S X=Y K:Y<1 X LAST EDITED: APR 18, 2015 HELP-PROMPT: Enter the date and optional time of the scheduled appointment for this request. DESCRIPTION: This is the appointment date and optional time scheduled for the patient. This appointment may be used as a reason for closing 'this' appointment request. TECHNICAL DESCR: This is a date/time of the scheduled appointment related to this entry. 409.85,13.1 DATE APPT. MADE SDAPT;1 DATE INPUT TRANSFORM: S %DT="EX" D ^%DT S X=Y K:Y<1 X LAST EDITED: APR 23, 2015 HELP-PROMPT: Enter the date that the appointment was made. DESCRIPTION: This is the date the appointment was created. TECHNICAL DESCR: The Appointment Creation Date. It corresponds to the DATE APPT. MADE field (#20) of the APPOINTMENT multiple (#1900) in the PATIENT file (#2). 409.85,13.2 APPT CLINIC SDAPT;2 POINTER TO HOSPITAL LOCATION FILE (#44) LAST EDITED: APR 18, 2015 HELP-PROMPT: Select the clinic that this appointment is scheduled for. DESCRIPTION: This is the clinic this appointment was created for. TECHNICAL DESCR: Pointer to the HOSPITAL LOCATION file (#44) of the related appointment. 409.85,13.3 APPT INSTITUTION SDAPT;3 POINTER TO INSTITUTION FILE (#4) LAST EDITED: APR 18, 2015 HELP-PROMPT: Select an Institution. DESCRIPTION: This is the institution the clinic appointment belongs to. TECHNICAL DESCR: A pointer from the HOSPITAL LOCATION file of the scheduled appointment to the INSTITUTION file (#4). 409.85,13.4 APPT STOP CODE SDAPT;4 POINTER TO CLINIC STOP FILE (#40.7) LAST EDITED: APR 18, 2015 HELP-PROMPT: Select a CLINIC STOP code. DESCRIPTION: This is the stop code/specialty of a clinic associated with the patient appointment. This may be different that the STOP CODE defined in the REQ SERVICE/SPECIALTY field. TECHNICAL DESCR: This is the primary STOP CODE Number pointer to the CLINIC STOP file (#40.7). 409.85,13.5 APPT CREDIT STOP CODE SDAPT;5 POINTER TO CLINIC STOP FILE (#40.7) LAST EDITED: APR 18, 2015 HELP-PROMPT: Select a CLINIC STOP code. DESCRIPTION: This is the credit stop code optionally assigned to the HOSPITAL LOCATION file associated with the scheduled appointment. TECHNICAL DESCR: This is the secondary (optional) Stop Code Number pointer to the CLINIC STOP file (#40.7). This stop code is assigned to the HOSPITAL LOCATION file associated with the scheduled appointment. 409.85,13.6 APPT STATION NUMBER SDAPT;6 FREE TEXT INPUT TRANSFORM: K:$L(X)>6!($L(X)<3) X LAST EDITED: APR 18, 2015 HELP-PROMPT: Answer must be 3-6 characters in length. DESCRIPTION: This is the 3-digit station number assigned to the facility plus up to 3 optional modifiers. TECHNICAL DESCR: This is the STATION NUMBER field (#99) of the INSTITUTION file (#4) associated with the scheduled appointment. 409.85,13.7 APPT CLERK SDAPT;7 POINTER TO NEW PERSON FILE (#200) LAST EDITED: APR 18, 2015 HELP-PROMPT: Select an Appt Clerk DESCRIPTION: This is the person who assigned the appointment to the REQUEST entry. TECHNICAL DESCR: This is a pointer to the NEW PERSON file and it represents a person who entered the scheduled appointment into the Appointment Request. 409.85,13.8 APPT STATUS SDAPT;8 SET 'R' FOR Scheduled/Kept; 'I' FOR Inpatient; 'NS' FOR No-Show; 'NSR' FOR No_Show, Rescheduled; 'CP' FOR Canceled by Patient; 'CPR' FOR Canceled by Patient, Rescheduled; 'CC' FOR Canceled by Clinic; 'CCR' FOR Canceled by Clinic, Rescheduled; 'NT' FOR No Action Taken; LAST EDITED: APR 18, 2015 HELP-PROMPT: Select an Appt Status DESCRIPTION: This field identifies the status of the appointment that is associated with this appointment request. 409.85,14 SERVICE CONNECTED PERCENTAGE SC;1 NUMBER INPUT TRANSFORM: K:+X'=X!(X>100)!(X<0)!(X?.E1"."1N.N) X LAST EDITED: APR 18, 2015 HELP-PROMPT: Type a number between 0 and 100, 0 decimal digits. DESCRIPTION: The SERVICE CONNECTED PERCENTAGE is used to determine the service connected priority. 409.85,15 SERVICE CONNECTED PRIORITY SC;2 SET '0' FOR NO; '1' FOR YES; LAST EDITED: APR 18, 2015 HELP-PROMPT: Enter 0 or NO if the appointment does not get a Service Connected Priority. Enter 1 or YES if the appointment DOES get a Service Connected Priority. DESCRIPTION: This field represents whether the appointment has a Service Connected Priority. RECORD INDEXES: GSB (#1452) 409.85,19 DATE DISPOSITIONED DIS;1 DATE INPUT TRANSFORM: S %DT="EX" D ^%DT S X=Y K:Y<1 X LAST EDITED: APR 23, 2015 HELP-PROMPT: Enter a date. DESCRIPTION: This represents the date that the patient is dispositioned from the Appointment Request list. 409.85,20 DISPOSITIONED BY DIS;2 POINTER TO NEW PERSON FILE (#200) LAST EDITED: APR 18, 2015 HELP-PROMPT: Select a user/provider DESCRIPTION: This represents the user who dispositioned the patient from the appointment request list. 409.85,21 DISPOSITION DIS;3 POINTER TO SDEC DISPOSITION REASON FILE (#409.853) LAST EDITED: JUL 27, 2021 HELP-PROMPT: Select a disposition. DESCRIPTION: This field represents the reason this patient has been dispositioned from this appointment request. TECHNICAL DESCR: If populated, this field represents the disposition reason associated with this appointment request. 409.85,21.1 DISPOSITION CLOSED BY CLEANUP DIS;4 SET 'Y' FOR YES; 'N' FOR NO; LAST EDITED: DEC 07, 2016 HELP-PROMPT: Enter Yes if Disposition was due to Open Request being Closed with Cleanup Utility. Otherwise enter No. DESCRIPTION: Enter Yes if Disposition is related to Open Request becoming Closed due to the running of Cleanup Utility. Otherwise enter No. 409.85,22 CID/PREFERRED DATE OF APPT 0;16 DATE (Required) INPUT TRANSFORM: S %DT="EX" D ^%DT S X=Y K:Y<1 X LAST EDITED: JUL 08, 2024 HELP-PROMPT: Enter the CID/Preferred Date of this appointment. DESCRIPTION: This CID/PREFERRED DATE OF APPT field represents the date that the patient or provider has requested for the appointment. If the priority is ASAP, this is the date the patient is placed on the REQUEST List (SCHEDULING). If the priority is FUTURE, the user enters the date that the patient/provider is requesting that the appointment is to be scheduled. RECORD INDEXES: ECC (#1512), ESC (#1544), GCC (#1454), GSC (#1449) 409.85,23 CURRENT STATUS 0;17 SET (audited) 'O' FOR OPEN; 'C' FOR CLOSED; LAST EDITED: JUL 08, 2024 HELP-PROMPT: Enter O or OPEN if the APPT Request entry is open. Enter C or CLOSED if the APPT Request entry is closed. DESCRIPTION: This field represents the current status of this appointment request. If the APPT Request entry is dispositioned, the status = CLOSED, otherwise, the APPT Request entry status = OPEN. AUDIT: YES, ALWAYS RECORD INDEXES: E (#1360), EC (#1415), ECC (#1512), ES (#1543), ESC (#1544), ESP (#1545) 409.85,25 COMMENTS 0;18 FREE TEXT (audited) INPUT TRANSFORM: K:$L(X)>80!($L(X)<1) X MAXIMUM LENGTH: 80 LAST EDITED: OCT 07, 2024 HELP-PROMPT: Answer must be 1-80 characters in length. DESCRIPTION: This Free Text field represents information related to the appointment request. example: see progress note date 5/01/02 this would direct the scheduling clerk to a note that may contain lab, xray orders that need to be completed prior to the appointment. TECHNICAL DESCR: This field should only be updated using the VSE GUI or ISS applications, and not directly via FileMan. AUDIT: YES, ALWAYS 409.85,27 COMMENTS AUDIT COMAUD;0 DATE Multiple #409.8527 (Add New Entry without Asking) DESCRIPTION: This multiple will audit the COMMENTS (#25) field by tracking each update including the additional comment entered, the date/time it was entered, and the user who had entered the comment. TECHNICAL DESCR: This sub-file should only be updated indirectly using the VSE GUI or ISS applications, and not directly via FileMan. 409.8527,.01 DATE/TIME COMMENTS ADDED 0;1 DATE INPUT TRANSFORM: S %DT="ET" D ^%DT S X=Y K:Y<1 X LAST EDITED: SEP 30, 2024 HELP-PROMPT: Please enter the date/time the comment was added. DESCRIPTION: The date/time the new comment was added to the COMMENTS (#25) field. CROSS-REFERENCE: 409.8527^B 1)= S ^SDEC(409.85,DA(1),"COMAUD","B",$E(X,1,30),DA)="" 2)= K ^SDEC(409.85,DA(1),"COMAUD","B",$E(X,1,30),DA) 409.8527,1 COMMENTS ADDED BY 0;2 POINTER TO NEW PERSON FILE (#200) LAST EDITED: SEP 25, 2024 HELP-PROMPT: Please enter the user who had entered the new comment. DESCRIPTION: The DUZ of the user who had added the new comment to the COMMENTS (#25) field. 409.8527,2 COMMENTS 0;3 FREE TEXT INPUT TRANSFORM: K:$L(X)>80!($L(X)<3) X MAXIMUM LENGTH: 80 LAST EDITED: SEP 30, 2024 HELP-PROMPT: Answer must be 3-80 characters in length. DESCRIPTION: The new comment being added to the COMMENTS (#25) field. 409.85,41 MULTIPLE APPOINTMENT RTC 3;1 SET '0' FOR NO; '1' FOR YES; LAST EDITED: APR 18, 2015 HELP-PROMPT: Select 1 or YES if multiple appointments are needed. Select 0 or NO if multiple appointments are not needed. DESCRIPTION: This field represents that Multiple Appointments need to be made. If set to NO (0 zero), Multiple Appointment (Return to Clinic) are not scheduled. If set to YES (1), Multiple Appointment (Return to Clinic) could be scheduled. 409.85,42 MULT APPT RTC INTERVAL 3;2 NUMBER INPUT TRANSFORM: K:+X'=X!(X>365)!(X<0)!(X?.E1"."1N.N) X LAST EDITED: APR 18, 2015 HELP-PROMPT: Type a number between 0 and 365, 0 decimal digits. DESCRIPTION: The MULT APPT RTC INTERVAL represents the number of Days between appointments. 409.85,43 MULT APPT NUMBER 3;3 NUMBER INPUT TRANSFORM: K:+X'=X!(X>100)!(X<0)!(X?.E1"."1N.N) X LAST EDITED: APR 18, 2015 HELP-PROMPT: Type a number between 0 and 100, 0 decimal digits. DESCRIPTION: This field represents the number of appointments that may be needed. 409.85,43.1 MULT CHILD SEQUENCE NUMBER 3;6 NUMBER INPUT TRANSFORM: K:+X'=X!(X>100)!(X<1)!(X?.E1"."1N.N) X LAST EDITED: JUN 14, 2022 HELP-PROMPT: Type a number between 1 and 100, 0 decimal digits. DESCRIPTION: This is the sequence number of the MRTC appointment request. 409.85,43.3 MULT APPTS MADE 2;0 POINTER Multiple #409.852 DESCRIPTION: These are the MRTC Appointments that have been made for this appointment request. TECHNICAL DESCR: These appointments are pointers to the SDEC APPOINTMENT file 409.84. 409.852,.01 CHILD REQUEST 0;1 POINTER TO SDEC APPT REQUEST FILE (#409.85) (Multiply asked) LAST EDITED: JAN 05, 2016 HELP-PROMPT: Select an appointment request. DESCRIPTION: This field represents a 'Child' appointment request. TECHNICAL DESCR: Pointer to the SDEC APPT REQUEST file 409.85. CROSS-REFERENCE: 409.852^B 1)= S ^SDEC(409.85,DA(1),2,"B",$E(X,1,30),DA)="" 2)= K ^SDEC(409.85,DA(1),2,"B",$E(X,1,30),DA) 409.852,.02 MULT APPTS MADE 0;2 POINTER TO SDEC APPOINTMENT FILE (#409.84) LAST EDITED: JAN 05, 2016 HELP-PROMPT: Select an appointment DESCRIPTION: This field represents one of the Multiple Appointments that have been made based on this appointment request. TECHNICAL DESCR: Pointer to SDEC APPOINTMENT file 409.84. 409.85,43.5 MRTC CALC PREF DATES 5;0 DATE Multiple #409.851 DESCRIPTION: This multiple field holds the dates that are requested for multiple appointments. 409.851,.01 MRTC CALC PREF DATES 0;1 DATE (Multiply asked) INPUT TRANSFORM: S %DT="EX" D ^%DT S X=Y K:Y<1 X LAST EDITED: APR 18, 2015 HELP-PROMPT: Enter a date DESCRIPTION: This field represents one of the dates requested for one of the multiple appointments. CROSS-REFERENCE: 409.851^B 1)= S ^SDEC(409.85,DA(1),5,"B",$E(X,1,30),DA)="" 2)= K ^SDEC(409.85,DA(1),5,"B",$E(X,1,30),DA) 409.85,43.8 PARENT REQUEST 3;5 POINTER TO SDEC APPT REQUEST FILE (#409.85) LAST EDITED: JAN 05, 2016 HELP-PROMPT: Select an appointment request DESCRIPTION: This field represents the parent appointment request. 409.85,44 PATIENT CONTACT 4;0 DATE Multiple #409.8544 DESCRIPTION: This multiple records the patient contact events. 409.8544,.01 DATE ENTERED 0;1 DATE INPUT TRANSFORM: S %DT="ETX" D ^%DT S X=Y K:Y<1 X LAST EDITED: APR 22, 2015 HELP-PROMPT: Enter the date and optional time that this patient was contacted. DESCRIPTION: This DATE ENTERED field represents the Date that an attempt was made to contact the patient regarding 'this' appointment REQUEST. The time can also be optionally entered. CROSS-REFERENCE: 409.8544^B 1)= S ^SDEC(409.85,DA(1),4,"B",$E(X,1,30),DA)="" 2)= K ^SDEC(409.85,DA(1),4,"B",$E(X,1,30),DA) RECORD INDEXES: AD (#1365) (WHOLE FILE #409.85) 409.8544,2 ENTERED BY USER 0;2 POINTER TO NEW PERSON FILE (#200) LAST EDITED: APR 18, 2015 HELP-PROMPT: Select a user/provider DESCRIPTION: This ENTERED BY USER field represents the user/provider that made an attempt to contact the patient regarding this appointment request. RECORD INDEXES: AD (#1365) (WHOLE FILE #409.85) 409.8544,3 ACTION 0;3 SET 'C' FOR CALLED; 'M' FOR MESSAGE LEFT; 'L' FOR LETTER; LAST EDITED: APR 18, 2015 HELP-PROMPT: Select an action. DESCRIPTION: The ACTION field represents the attempt that was made to contact the patient regarding 'this' appointment. C = Called M = Message Left L = Letter 409.8544,4 PATIENT PHONE 0;4 FREE TEXT INPUT TRANSFORM: K:$L(X)>20!($L(X)<4) X LAST EDITED: APR 18, 2015 HELP-PROMPT: Answer must be 4-20 characters in length. DESCRIPTION: This is the phone number used to contact the patient. 409.85,45 VS AUDIT 6;0 DATE Multiple #409.8545 (Add New Entry without Asking) DESCRIPTION: This multiple is like an audit trail for specific fields and is used by VistA Scheduling GUI. 409.8545,.01 DATE EDITED 0;1 DATE (Multiply asked) INPUT TRANSFORM: S %DT="ETXR" D ^%DT S X=Y K:Y<1 X LAST EDITED: DEC 01, 2015 HELP-PROMPT: Enter a date and time DESCRIPTION: This is the Date/Time in which the edits represented by this entry were made. CROSS-REFERENCE: 409.8545^B 1)= S ^SDEC(409.85,DA(1),6,"B",$E(X,1,30),DA)="" 2)= K ^SDEC(409.85,DA(1),6,"B",$E(X,1,30),DA) 409.8545,1 EDITED BY 0;2 POINTER TO NEW PERSON FILE (#200) LAST EDITED: DEC 01, 2015 HELP-PROMPT: Enter a user DESCRIPTION: This is the user that edited the current VS AUDIT entry. 409.8545,2 REQ SPECIFIC CLINIC 0;3 POINTER TO HOSPITAL LOCATION FILE (#44) LAST EDITED: DEC 01, 2015 HELP-PROMPT: Select a clinic DESCRIPTION: This field represents the clinic that this appointment request is for. 409.8545,3 REQ SERVICE/SPECIALTY 0;4 POINTER TO CLINIC STOP FILE (#40.7) LAST EDITED: DEC 01, 2015 HELP-PROMPT: Select a CLINIC STOP DESCRIPTION: This field represents the CLINIC STOP code (also referred to as SERVICE/SPECIALTY) that is associated with this appointment request. 409.85,46 ORDER ID 7;1 NUMBER INPUT TRANSFORM: K:+X'=X!(X>99999999999)!(X<1)!(X?.E1"."1N.N) X LAST EDITED: JUN 19, 2017 HELP-PROMPT: Type a number between 1 and 99999999999, 0 decimal digits. DESCRIPTION: This field is the HL7 Message ID used for Return to Clinic orders. TECHNICAL DESCR: Message ID number from the ORDER (#100) file. 409.85,47 TIME SENSITIVE 7;2 SET '0' FOR NO; '1' FOR YES; LAST EDITED: NOV 07, 2017 HELP-PROMPT: Select 'YES' or 'NO' DESCRIPTION: Used to indicate time sensitive Return to Clinic order. TECHNICAL DESCR: Set of codes '0' for 'NO' and '1' for 'YES'. 409.85,48 PREREQUISITE 8;0 Multiple #409.8548 LAST EDITED: NOV 07, 2017 DESCRIPTION: A list of all prerequisites associated with this Return to Clinic order. TECHNICAL DESCR: Free text field 1 to 80 characters. 409.8548,.01 PREREQUISITE 0;1 FREE TEXT (Multiply asked) INPUT TRANSFORM: K:$L(X)>80!($L(X)<1) X MAXIMUM LENGTH: 80 LAST EDITED: NOV 07, 2017 HELP-PROMPT: Answer must be 1-80 characters in length. DESCRIPTION: Any appointment prerequisite associated with this Return to Clinic order. TECHNICAL DESCR: Free text field 1 to 80 characters. CROSS-REFERENCE: 409.8548^B 1)= S ^SDEC(409.85,DA(1),8,"B",$E(X,1,30),DA)="" 2)= K ^SDEC(409.85,DA(1),8,"B",$E(X,1,30),DA) 409.85,49 PID CHANGE ALLOWED 0;14 SET (BOOLEAN Data Type) LAST EDITED: JAN 21, 2022 HELP-PROMPT: Enter 1 to indicate the PID can be changed, enter 0 to indicate the PID cannot be changed. DESCRIPTION: This field will determine if a particular appointment request is authorized to have the PID changed. 409.85,50 PID HISTORY 10;0 DATE Multiple #409.854 (Add New Entry without Asking) DESCRIPTION: This Subfile contains the complete history of all PIDs that have been associated with a particular appointment. 409.854,.01 DATE/TIME PID ENTERED 0;1 DATE INPUT TRANSFORM: S %DT="EST" D ^%DT S X=Y K:Y<1 X LAST EDITED: JAN 17, 2022 HELP-PROMPT: Enter the date/time that the PID was entered. DESCRIPTION: This is the date/time that the PID was entered. CROSS-REFERENCE: 409.854^B 1)= S ^SDEC(409.85,DA(1),10,"B",$E(X,1,30),DA)="" 2)= K ^SDEC(409.85,DA(1),10,"B",$E(X,1,30),DA) 409.854,1 PID 0;2 DATE INPUT TRANSFORM: S %DT="E" D ^%DT S X=Y K:Y<1 X LAST EDITED: JAN 21, 2022 HELP-PROMPT: Enter the PID. DESCRIPTION: This field contains the new PID that is being added to the PID history. 409.854,2 ENTERED BY 0;3 FREE TEXT INPUT TRANSFORM: K:$L(X)>60!($L(X)<1) X MAXIMUM LENGTH: 60 LAST EDITED: JAN 21, 2022 HELP-PROMPT: Enter the user who updated the PID. Answer must be 1 to 60 characters in length. DESCRIPTION: This field contains the name of the user who updated the PID associated with the appointment request. 409.85,51 DUPLICATE REASON 51;1 FREE TEXT INPUT TRANSFORM: K:$L(X)>80!($L(X)<3) X MAXIMUM LENGTH: 80 LAST EDITED: SEP 24, 2024 HELP-PROMPT: Enter the duplication reason. Answer must be 3-80 characters in length. DESCRIPTION: This is the reason for the creation of a duplicate appointment request. 409.85,60 PATIENT COMMENTS PATCOM;0 WORD-PROCESSING #409.855 (IGNORE "|") LAST EDITED: APR 21, 2022 DESCRIPTION: Patient-entered comments in which a veteran cancels/edits an appointment request using VAOS or another application to add notes. LAST EDITED: APR 22, 2022 HELP-PROMPT: Enter the patient comments related to the appt request DESCRIPTION: Patient-entered comments 409.85,100 EAS TRACKING NUMBER 9;1 FREE TEXT (audited) INPUT TRANSFORM: K:$L(X)>40!($L(X)<1) X MAXIMUM LENGTH: 40 LAST EDITED: DEC 23, 2021 HELP-PROMPT: Answer must be 1-40 characters in length. DESCRIPTION: The EAS tracking number originates from the Enterprise Appointment Scheduling system. This number allows actions performed by a proxy user to be traceable back to the end user. AUDIT: YES, ALWAYS FILES POINTED TO FIELDS APPOINTMENT TYPE (#409.1) REQ APPOINTMENT TYPE (#8.7) CLINIC STOP (#40.7) REQ SERVICE/SPECIALTY (#8.5) REQ SECONDARY STOP CODE (#8.6) APPT STOP CODE (#13.4) APPT CREDIT STOP CODE (#13.5) VS AUDIT:REQ SERVICE/SPECIALTY (#3) HOSPITAL LOCATION (#44) REQ SPECIFIC CLINIC (#8) APPT CLINIC (#13.2) VS AUDIT:REQ SPECIFIC CLINIC (#2) INSTITUTION (#4) INSTITUTION (#2) APPT INSTITUTION (#13.3) NEW PERSON (#200) ORIGINATING USER (#9) PROVIDER (#12) APPT CLERK (#13.7) DISPOSITIONED BY (#20) COMMENTS AUDIT:COMMENTS ADDED BY (#1) PATIENT CONTACT:ENTERED BY USER (#2) VS AUDIT:EDITED BY (#1) PATIENT (#2) PATIENT (#.01) SDEC APPOINTMENT (#409.84) MULT APPTS MADE:MULT APPTS MADE (#.02) SDEC APPT REQUEST (#409.85) PARENT REQUEST (#43.8) MULT APPTS MADE:CHILD REQUEST (#.01) SDEC DISPOSITION REASON (#409.853) DISPOSITION (#21) File #409.85 Record Indexes: AC (#1361) RECORD REGULAR IR SORTING ONLY Short Descr: Index by CREATE DATE and ORIGINATING USER Description: This cross reference is used to sort by CREATE DATE and ORIGINATING USER. Set Logic: S ^SDEC(409.85,"AC",X(1),X(2),DA)="" Kill Logic: K ^SDEC(409.85,"AC",X(1),X(2),DA) Whole Kill: K ^SDEC(409.85,"AC") X(1): DATE/TIME ENTERED (409.85,9.5) (Subscr 1) (forwards) X(2): ORIGINATING USER (409.85,9) (Subscr 2) (forwards) E (#1360) RECORD REGULAR IR SORTING ONLY Short Descr: Index by CURRENT STATUS and CREATE DATE Description: This cross reference is used to sort by CURRENT STATUS and CREATE DATE. Set Logic: S ^SDEC(409.85,"E",X(1),X(2),DA)="" Kill Logic: K ^SDEC(409.85,"E",X(1),X(2),DA) Whole Kill: K ^SDEC(409.85,"E") X(1): CURRENT STATUS (409.85,23) (Subscr 1) (forwards) X(2): CREATE DATE (409.85,1) (Subscr 2) (forwards) EC (#1415) RECORD REGULAR IR LOOKUP & SORTING Short Descr: Index by CURRENT STATUS, CLINIC, and CREATE DATE Description: This cross reference is used to sort by CURRENT STATUS (#23), REQ SPECIFIC CLINIC (#8), and CREATE DATE (#1). Set Logic: S ^SDEC(409.85,"EC",X(1),X(2),X(3),DA)="" Kill Logic: K ^SDEC(409.85,"EC",X(1),X(2),X(3),DA) Whole Kill: K ^SDEC(409.85,"EC") X(1): CURRENT STATUS (409.85,23) (Subscr 1) (forwards) X(2): REQ SPECIFIC CLINIC (409.85,8) (Subscr 2) (forwards) X(3): CREATE DATE (409.85,1) (Subscr 3) (forwards) ECC (#1512) RECORD REGULAR IR LOOKUP & SORTING Short Descr: Index by CURRENT STATUS, REQ SPECIFIC CLINIC, and CID/PREFERRED DATE OF APPT Description: This cross reference is used to sort by CURRENT STATUS (#23), REQ SPECIFIC CLINIC (#8), and CID/PREFERRED DATE OF APPT (#22). Set Logic: S ^SDEC(409.85,"ECC",X(1),X(2),X(3),DA)="" Kill Logic: K ^SDEC(409.85,"ECC",X(1),X(2),X(3),DA) Whole Kill: K ^SDEC(409.85,"ECC") X(1): CURRENT STATUS (409.85,23) (Subscr 1) (forwards) X(2): REQ SPECIFIC CLINIC (409.85,8) (Subscr 2) (forwards) X(3): CID/PREFERRED DATE OF APPT (409.85,22) (Subscr 3) (forwards) ES (#1543) RECORD REGULAR IR LOOKUP & SORTING Short Descr: Index by CURRENT STATUS, REQ SERVICE/SPECIALTY, and CREATE DATE Description: This index is used to sort Appointment Requests by CURRENT STATUS (#23), REQ SERVICE/SPECIALTY (#8.5), and CREATE DATE (#1). Set Logic: S ^SDEC(409.85,"ES",X(1),X(2),X(3),DA)="" Kill Logic: K ^SDEC(409.85,"ES",X(1),X(2),X(3),DA) Whole Kill: K ^SDEC(409.85,"ES") X(1): CURRENT STATUS (409.85,23) (Subscr 1) (forwards) X(2): REQ SERVICE/SPECIALTY (409.85,8.5) (Subscr 2) (forwards) X(3): CREATE DATE (409.85,1) (Subscr 3) (forwards) ESC (#1544) RECORD REGULAR IR LOOKUP & SORTING Short Descr: Index by CURRENT STATUS, SERVICE, and CID/PREFERRED DATE Description: This index is used to sort Appointment Requests by CURRENT STATUS (#23), REQ SERVICE/SPECIALTY (#8.5) and CID/PREFERRED DATE OF APPT (#22). Set Logic: S ^SDEC(409.85,"ESC",X(1),X(2),X(3),DA)="" Kill Logic: K ^SDEC(409.85,"ESC",X(1),X(2),X(3),DA) Whole Kill: K ^SDEC(409.85,"ESC") X(1): CURRENT STATUS (409.85,23) (Subscr 1) (forwards) X(2): REQ SERVICE/SPECIALTY (409.85,8.5) (Subscr 2) (forwards) X(3): CID/PREFERRED DATE OF APPT (409.85,22) (Subscr 3) (forwards) ESP (#1545) RECORD REGULAR IR LOOKUP & SORTING Short Descr: CURRENT STATUS, REQ SERVICE/SPECIALTY, ENROLLMENT PRIORITY and CREATE DATE Description: This index is used to sort Appointment Requests by CURRENT STATUS (#23), REQ SERVICE/SPECIALTY (#8.5), ENROLLMENT PRIORITY (calculated) and CREATE DATE (#1). The Patient's ENROLLMENT PRIORITY comes from the PATIENT ENROLLMENT file (#27.11). The CURRENT ENROLLMENT field (#27.01) of the PATIENT file (#2) contains the pointer into the PATIENT ENROLLMENT file. Set Logic: S ^SDEC(409.85,"ESP",X(1),X(2),X(3),X(4),DA)="" Kill Logic: K ^SDEC(409.85,"ESP",X(1),X(2),X(3),X(4),DA) Whole Kill: K ^SDEC(409.85,"ESP") X(1): CURRENT STATUS (409.85,23) (Subscr 1) (forwards) X(2): REQ SERVICE/SPECIALTY (409.85,8.5) (Subscr 2) (forwards) X(3): Computed Code: N DFN,PCE S DFN=$P($G(^SDEC(409.85,DA,0)),U,1),PCE=$P($G(^DPT(+DFN,"ENR")),U,1),X=+$P($G(^DGEN(2 7.11,+PCE,0)),U,7) (Subscr 3) (forwards) X(4): CREATE DATE (409.85,1) (Subscr 4) (forwards) GC (#1453) RECORD REGULAR IR LOOKUP & SORTING Short Descr: Sort by CLINIC and ORIGINATING DATE Description: This xref is used to sort Appointment Request entries by the REQ SPECIFIC CLINIC field (#8) and the CREATE DATE field (#1). Set Logic: S ^SDEC(409.85,"GC",X(1),X(2),DA)="" Kill Logic: K ^SDEC(409.85,"GC",X(1),X(2),DA) Whole Kill: K ^SDEC(409.85,"GC") X(1): REQ SPECIFIC CLINIC (409.85,8) (Subscr 1) (forwards) X(2): CREATE DATE (409.85,1) (Subscr 2) (forwards) GCC (#1454) RECORD REGULAR IR LOOKUP & SORTING Short Descr: Sort by REQ SPECIFIC CLINIC and CID/PREFERRED DATE Description: This xref is used to sort Appointment Request entries by the REQ SPECIFIC CLINIC field (#8) and the CID PREFERRED DATE OF APPT field (#22). Set Logic: S ^SDEC(409.85,"GCC",X(1),X(2),DA)="" Kill Logic: K ^SDEC(409.85,"GCC",X(1),X(2),DA) Whole Kill: K ^SDEC(409.85,"GCC") X(1): REQ SPECIFIC CLINIC (409.85,8) (Subscr 1) (forwards) X(2): CID/PREFERRED DATE OF APPT (409.85,22) (Subscr 2) (forwards) GS (#1448) RECORD REGULAR IR LOOKUP & SORTING Short Descr: Sort by REQ SERVICE/SPECIALTY and ORIGINATING DATE Description: This xref is used to sort Appointment Request entries by the REQ SERVICE/SPECIALTY field (#8.5) and the CREATE DATE field (#1). Set Logic: S ^SDEC(409.85,"GS",X(1),X(2),DA)="" Kill Logic: K ^SDEC(409.85,"GS",X(1),X(2),DA) Whole Kill: K ^SDEC(409.85,"GS") X(1): REQ SERVICE/SPECIALTY (409.85,8.5) (Subscr 1) (forwards) X(2): CREATE DATE (409.85,1) (Subscr 2) (forwards) GSA (#1451) RECORD REGULAR IR LOOKUP & SORTING Short Descr: Sort by REQ SERVICE/SPECIALTY, SVC CONNECTED, and CREATE DATE Description: This xref is used to sort Appointment Request entries by the REQ SERVICE/SPECIALTY field (#8.5), SERVICE CONNECTED, and the CREATE DATE field (#1). SERVICE CONNECTED is the SERVICE CONNECTED? field (#.301) in the PATIENT file (#2). Set Logic: S ^SDEC(409.85,"GSA",X(1),X(2),X(3),DA)="" Kill Logic: K ^SDEC(409.85,"GSA",X(1),X(2),X(3),DA) Whole Kill: K ^SDEC(409.85,"GSA") X(1): REQ SERVICE/SPECIALTY (409.85,8.5) (Subscr 1) (forwards) X(2): Computed Code: N DFN S DFN=$P($G(^SDEC(409.85,DA,0)),U,1) S X=$P($G(^DPT(+DFN,.3)),U,1) S:X="" X=0 (Subscr 2) (forwards) X(3): CREATE DATE (409.85,1) (Subscr 3) (forwards) GSB (#1452) RECORD REGULAR IR LOOKUP & SORTING Short Descr: Sort by REQ SERVICE/SPECIALTY, SVC CONNECTED PRIORITY, and CREATE DATE Description: This xref is used to sort Appointment Request entries by the REQ SERVICE/SPECIALTY field (#8.5), SERVICE CONNECTED PRIORITY field (#15), and the CREATE DATE field (#1). Set Logic: S ^SDEC(409.85,"GSB",X(1),X(2),X(3),DA)="" Kill Logic: K ^SDEC(409.85,"GSB",X(1),X(2),X(3),DA) Whole Kill: K ^SDEC(409.85,"GSB") X(1): REQ SERVICE/SPECIALTY (409.85,8.5) (Subscr 1) (forwards) X(2): SERVICE CONNECTED PRIORITY (409.85,15) (Subscr 2) (forwards) X(3): CREATE DATE (409.85,1) (Subscr 3) (forwards) GSC (#1449) RECORD REGULAR IR LOOKUP & SORTING Short Descr: Sort by REQ SERVICE/SPECIALTY ID and CID/PREFERRED DATE OF APPT Description: This xref is used to sort Appointment Request entries by the REQ SERVICE/SPECIALTY field (#8.5) and the CID/PREFERRED DATE OF APPT field (#22). Set Logic: S ^SDEC(409.85,"GSC",X(1),X(2),DA)="" Kill Logic: K ^SDEC(409.85,"GSC",X(1),X(2),DA) Whole Kill: K ^SDEC(409.85,"GSC") X(1): REQ SERVICE/SPECIALTY (409.85,8.5) (Subscr 1) (forwards) X(2): CID/PREFERRED DATE OF APPT (409.85,22) (Subscr 2) (forwards) GSP (#1450) RECORD REGULAR IR LOOKUP & SORTING Short Descr: Sort by REQ SERVICE/SPECIALTY, ENROLLMENT PRIORITY, and CREATE DATE Description: This xref is used to sort Appointment Request entries by the REQ SERVICE/SPECIALTY field (#8.5), Patient's ENROLLMENT PRIORITY, and the CREATE DATE field (#1). The Patient's ENROLLMENT PRIORITY comes from the ENROLLMENT PRIORITY field (#.07) of the PATIENT ENROLLMENT file (#27.11). The CURRENT ENROLLMENT field (#27.01) of the PATIENT file (#2) contains the pointer into the PATIENT ENROLLMENT FILE. Set Logic: S ^SDEC(409.85,"GSP",X(1),X(2),X(3),DA)="" Kill Logic: K ^SDEC(409.85,"GSP",X(1),X(2),X(3),DA) Whole Kill: K ^SDEC(409.85,"GSP") X(1): REQ SERVICE/SPECIALTY (409.85,8.5) (Subscr 1) (forwards) X(2): Computed Code: N DFN,PCE S DFN=$P($G(^SDEC(409.85,DA,0)),U,1),PCE=$P($G(^DPT(+DFN,"ENR")),U,1),X=+$P($G(^DGEN(2 7.11,+PCE,0)),U,7) (Subscr 2) (forwards) X(3): CREATE DATE (409.85,1) (Subscr 3) (forwards) Subfile #409.8544 Record Indexes: AD (#1365) RECORD REGULAR IR SORTING ONLY WHOLE FILE (#409.85) Short Descr: Sort by DATE ENTERED and ENTERED BY USER of PATIENT CONTACTS Description: This cross reference sorts the whole SDEC APPT REQUEST file by the DATE ENTERED and ENTERED BY USER of the PATIENT CONTACTS multiple field #44. Set Logic: S ^SDEC(409.85,"AD",X(1),X(2),DA(1),DA)="" Kill Logic: K ^SDEC(409.85,"AD",X(1),X(2),DA(1),DA) Whole Kill: K ^SDEC(409.85,"AD") X(1): DATE ENTERED (409.8544,.01) (Subscr 1) (forwards) X(2): ENTERED BY USER (409.8544,2) (Subscr 2) (forwards) INPUT TEMPLATE(S): PRINT TEMPLATE(S): SORT TEMPLATE(S): FORM(S)/BLOCK(S):