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 |  ICR |  External References |  Global Variables Directly Accessed |  Naked Globals |  Local Variables  | All
Print Page as PDF
Global: ^SCE

Package: Scheduling

Global: ^SCE


Information

FileMan FileNo FileMan Filename Package
409.68 OUTPATIENT ENCOUNTER Scheduling

Description

Directly Accessed By Routines, Total: 219

Package Total Routines
Scheduling 172 CLINIC STOP CODE    SCCVCDS1    SCCVCST2    SCCVCST3    SCCVCST5    SCCVE    SCCVEAE    SCCVEAE1
SCCVEAE3    SCCVEAP1    SCCVEAP2    SCCVEAP3    SCCVEAP4    SCCVEDI1    SCCVEDI3    SCCVPCE
SCCVPOST    SCCVU    SCDDI1    SCDXFU01    SCDXFU03    SCDXFU04    SCDXFU11    SCDXHLDR
SCDXMSG    SCDXMSG0    SCDXMSG1    SCDXMSG2    SCDXPOV    SCDXSUP    SCDXSUP1    SCDXUTL
SCDXUTL0    SCDXUTL2    SCDXUTL4    SCDXUTL5    SCENI0    SCENIA1    SCENIA2    SCMCTSK1
SCMCTSK9    SCMSVDG1    SCMSVUT0    SCMSVUT1    SCMSVUT2    SCRPI01    SCRPI02    SCRPW1
SCRPW301    SCRPW78    SCRPW81    SCUTIE1    SD132PT    SD53103A    SD53105A    SD53120A
SD53198P    SD5360PT    SD5364PT    SD53747P    SD5384NC    SD5384PT    SD5396PT    SD53P215
SD53P491    SD53P511    SD53P603    SDACSCG    SDACSCGB    SDACSCGP    SDAM ADD EDIT    SDAM1
SDAMA308    SDAMBAE6    SDAMBMR    SDAMEVT    SDAMEVT2    SDAMEVT3    SDAMOC0    SDAMODO2
SDAMOL1    SDAMOS0    SDAMOW1    SDAMQ    SDAMQ4    SDAMQ5    SDAMVSC    SDAMXLG
SDAMXOE    SDAMXOE1    SDAPI    SDAPIAE0    SDAPIAP    SDAPICO    SDASO    SDC
SDCED    SDCED1    SDCLAV0    SDCNP0    SDCO    SDCO ADD EDIT NEW    SDCO CHECK OUT DATE    SDCO0
SDCO1    SDCO2    SDCO20    SDCO21    SDCO22    SDCO3    SDCO4    SDCO5
SDCO6    SDCO7    SDCO9    SDCOAM    SDCODEL    SDCOM    SDCOU    SDCOU1
SDCOU2    SDCWL    SDEC25B    SDEC50    SDECEP    SDECRPT    SDECSTSQ    SDECSTSR
SDECU2    SDES2CANCELAPPT    SDES2GETSTATUS    SDES2SETCHECKOUT    SDES2UNDOCHKOUT    SDES846PENC    SDES846PRE    SDESBLKANDMOVE1
SDESCCAVAIL2    SDESCHECKOUT    SDESUNDOCHECKOUT    SDM0    SDM1A    SDM2    SDMEAN    SDOE
SDOECPT    SDOEDX    SDOEOE    SDOEQ    SDOEUT    SDPCE    SDPHARM1    SDPMUT1
SDPMUT2    SDPPADD1    SDPPDIS2    SDRPA05    SDRPA20    SDSCINS    SDSCLM    SDSCMSR
SDSTAT    ^SCE    SDVSIT0    ^SDD(409.43    SDV53PP    SDVSIT2    SDXA1    SDXACSE
SDXACSE1    TEAM POSITIONS    ^SDD(409.42    ^SDD(409.44    
PCE Patient Care Encounter 15 PXBAPI2    PXBAPI21    PXBAPI22    PXBIBB    PXDELENC    PXDELFIX    PXKMASC    PXQFE
PXQFV    PXQMAIN3    PXQUTL    PXRRMDR    PXRRWLSA    PXUTL1    PXUTLSCC    
Integrated Billing 7 IBCIUT5    IBEMTSCU    IBJDB11    IBJDI11    IBT QUICK REV CODING STAT    ^IBE(399.6    IBTOECT    
Registration 7 DG53372A    DGENPTA    DGFSMOUT    DGMSTR3    VAFHCPV    VAFHLPV1    VAFHUTL    
Accounts Receivable 3 RCDMCR4B    RCDMCR8C    RCXVDC5    
Clinical Information Resource Network 2 RGPRSSN    RGVCCMR2    
DSS Extracts 2 ECXSCX    ECXSCXN    
Mental Health 2 YSBDD1    YSBWHIG2    
Health Summary 1 GMTSDA    
Hospital Based Home Care 1 HBHCCAN    
Kernel 1 ^ORD(101    
National Health Information Network 1 NHINVSIT    
Order Entry Results Reporting 1 ORQRY    
Prosthetics 1 RMPR145P    

Accessed By FileMan Db Calls, Total: 69

Package Total Routines
Scheduling 52 SCCVCST2    SCCVPOST    SCDXSUP    SCDXSUP1    SCMCENCT    SCMCMHE    SCRPW1    SCRPW26
SCRPW81    SD132PT    SD53103A    SD53103B    SD5384PT    SD53P603    SD628PST    SDACSCG
SDACSCGB    SDAM1    SDAMEP1    SDAMEVT3    SDAMVSC    SDAMXLG    SDAMXOE    SDAMXOE1
SDAPIAP    SDCODEL    SDCOM    SDEC25    SDEC25B    SDECDATA    SDES25    SDES2BLDAPPT2
SDES2CANCELAPPT    SDES2GETEXPENTRY    SDES2GETSTATUS    SDES2GETVISIT    SDES2GETXPENTRY2    SDES2SETCHECKOUT    SDES2UNDOCHKOUT    SDES846PENC
SDES846PRE    SDESCANAPPT2    SDESCHECKOUT    SDESCONTACTS    SDESGETPATAPPT    SDESUNDOCHECKOUT    SDOEDX    SDRPA08
SDSCRP1    SDSCSSD    SDVSIT0    SDVSIT2    
Integrated Billing 4 IBECEAMH    IBOHLS1    IBOVOP1    IBTUTL1    
Registration 3 DGFSMOUT    DGPPDRP1    DGPPRP1    
Accounts Receivable 2 RCDMCR5B    RCDMCUT1    
Outpatient Pharmacy 2 PSO160P2    PSOTPINA    
Enterprise Health Management Platform 1 HMPDVSIT    
Mobile Scheduling Applications Suite 1 MBAAMAP1    
National Health Information Network 1 NHINVSIT    
PCE Patient Care Encounter 1 PXDELFIX    
Prosthetics 1 RMPR145P    
Virtual Patient Record 1 VPRDVSIT    

Pointed To By FileMan Files, Total: 13

Package Total FileMan Files
Scheduling 7 OUTPATIENT ENCOUNTER(#409.68)[.06]    TRANSMITTED OUTPATIENT ENCOUNTER(#409.73)[.02]    OUTPATIENT CLASSIFICATION(#409.42)[.02]    OUTPATIENT DIAGNOSIS(#409.43)[.02]    OUTPATIENT PROVIDER(#409.44)[.02]    SDSC SERVICE CONNECTED CHANGES(#409.48)[.01]    SCHEDULING VISITS(#409.5)[#409.51(8)]    
Hospital Based Home Care 2 HBHC VISIT(#632)[31]    HBHC VISIT ERROR(S)(#634.2)[4]    
Integrated Billing 2 BILL/CLAIMS(#399)[#399.0304(20)]    CLAIMS TRACKING(#356)[.04]    
Registration 2 PATIENT(#2)[#2.101(18)#2.98(21)]    ADT/HL7 PIVOT(#391.71)[.05]    

Pointer To FileMan Files, Total: 10

Package Total FileMan Files
Scheduling 5 CLINIC STOP(#40.7)[.03]    HOSPITAL LOCATION(#44)[.04]    OUTPATIENT ENCOUNTER(#409.68)[.06]    APPOINTMENT TYPE(#409.1)[.1]    APPOINTMENT STATUS(#409.63)[.12]    
Registration 3 MEDICAL CENTER DIVISION(#40.8)[.11]    ELIGIBILITY CODE(#8)[.13]    PATIENT(#2)[.02]    
Kernel 1 NEW PERSON(#200)[101103]    
PCE Patient Care Encounter 1 VISIT(#9000010)[.05]    

Fields, Total: 25

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

  • INPUT TRANSFORM:  S %DT="ESTX" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  AUG 28, 2015
  • DESCRIPTION:  
    This field contains the date and time when outpatient encounter occurred.
    UNEDITABLE
  • CROSS-REFERENCE:  409.68^B
    1)= S ^SCE("B",$E(X,1,30),DA)=""
    2)= K ^SCE("B",$E(X,1,30),DA)
  • CROSS-REFERENCE:  409.68^ADFN1^MUMPS
    1)= S:$P(^SCE(DA,0),U,2) ^SCE("ADFN",$P(^SCE(DA,0),U,2),X,DA)=""
    2)= K:$P(^SCE(DA,0),U,2) ^SCE("ADFN",$P(^SCE(DA,0),U,2),X,DA)
    This cross reference is by patient DFN and the outpatient encounter date. The PATIENT(#.02) field also has a companion cross reference to set this compound cross reference.
  • CROSS-REFERENCE:  409.68^ACG1^MUMPS
    1)= N SD0 S SD0=$G(^SCE(DA,0)) IF $P(SD0,U,10)=10 S ^SCE("ACG",+X,DA)=""
    2)= N SD0 S SD0=$G(^SCE(DA,0)) IF $P(SD0,U,10)=10 K ^SCE("ACG",+X,DA)
    Used to quickly find entries that have a 'computer generated' appointment type.
  • CROSS-REFERENCE:  409.68^AG1^MUMPS
    1)= N SDCG S SDCG=$G(^SCE(DA,"CG")) IF +SDCG S ^SCE("AG",+X,DA)=""
    2)= N SDCG S SDCG=$G(^SCE(DA,"CG")) IF +SDCG K ^SCE("AG",+X,DA)
    Used to quickly identify entries 'auto-generated' by other packages.
  • FIELD INDEX:  D (#1362) REGULAR IR LOOKUP & SORTING
    Short Descr: VSE Resource Management Report Index
    Description: This cross reference is only used by the VistA Scheduling GUI Resource Management Reports. The 'D' cross reference is used to collect the total Outpatient Encounters for a Provider over a year time period. The cross
    reference is only set if the following conditions are met: 1. DATE field (#.01) of encounter is less than one year. 2. Encounter has a valid VISIT FILE ENTRY field (#.05) value. 3. Encounter has a V PROVIDER file entry
    associated with the VISIT FILE ENTRY. 4. Encounter does NOT have a PARENT ENCOUNTER field #(.06) value. 5. Encounter has a valid LOCATION field (#.04) value. 6. Encounter LOCATION is NOT a non-count clinic.
    Set Logic: S ^SCE("D",X(1),X(2),DA)=""
    Set Cond: S X=$$SETDXREF^SDCED(DA)
    Kill Logic: K ^SCE("D",X(1),X(2),DA)
    Kill Cond: S X=$$KILDXREF^SDCED(DA)
    Whole Kill: K ^SCE("D")
    X(1): DATE (409.68,.01) (Subscr 1) (forwards)
    X(2): CHECK OUT PROCESS COMPLETION (409.68,.07) (Subscr 2) (forwards)
.02 PATIENT 0;2 POINTER TO PATIENT FILE (#2)
************************REQUIRED FIELD************************
PATIENT(#2)

  • LAST EDITED:  JUL 16, 2014
  • DESCRIPTION:  
    This field contains the patient associated with the encounter.
    UNEDITABLE
  • CROSS-REFERENCE:  409.68^C
    1)= S ^SCE("C",$E(X,1,30),DA)=""
    2)= K ^SCE("C",$E(X,1,30),DA)
  • CROSS-REFERENCE:  409.68^ADFN^MUMPS
    1)= S:$D(^SCE(DA,0)) ^SCE("ADFN",X,+^SCE(DA,0),DA)=""
    2)= K:$D(^SCE(DA,0)) ^SCE("ADFN",X,+^SCE(DA,0),DA)
    This cross reference is by patient DFN and the outpatient encounter date. The DATE(#.01) field also has a companion cross reference to set this compound cross reference.
  • RECORD INDEXES:  ACOD (#426)
.03 CLINIC STOP CODE 0;3 POINTER TO CLINIC STOP FILE (#40.7)
************************REQUIRED FIELD************************
CLINIC STOP(#40.7)

  • LAST EDITED:  JUL 22, 1993
  • DESCRIPTION:  
    This field contains the CLINIC STOP CODE associated with the outpatient encounter.
    UNEDITABLE
.04 LOCATION 0;4 POINTER TO HOSPITAL LOCATION FILE (#44) HOSPITAL LOCATION(#44)

  • LAST EDITED:  JUL 22, 1993
  • DESCRIPTION:  This field contains the location, usually a clinic, where the encounter took place.
    This field is optional.
    UNEDITABLE
.05 VISIT FILE ENTRY 0;5 POINTER TO VISIT FILE (#9000010) VISIT(#9000010)

  • LAST EDITED:  FEB 22, 2010
  • DESCRIPTION:  This field indicates the VISIT file entry associated with this encounter.
    This field is optional and will only be filled in if the site is running the Visit Tracking module.
  • CROSS-REFERENCE:  409.68^AVSIT
    1)= S ^SCE("AVSIT",$E(X,1,30),DA)=""
    2)= K ^SCE("AVSIT",$E(X,1,30),DA)
    This is the standard cross reference set for the Visit Tracking application.
  • CROSS-REFERENCE:  409.68^AVCNT^MUMPS
    1)= N SDX S SDX=X,X="VSIT" X ^%ZOSF("TEST") I $T S X=SDX D ADD^VSIT
    2)= N SDX S SDX=X,X="VSIT" X ^%ZOSF("TEST") I $T S X=SDX D SUB^VSIT
    This cross reference calls Visit Tracking code to increment and decrement the VISIT file's DEPENDENT ENTRY COUNT field.
  • CROSS-REFERENCE:  ^^TRIGGER^409.68^.2
    1)= K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^SCE(D0,0)):^(0),1:"") S X=$P(Y(1),U,20),X=X S DIU=X K Y S X=DIV S X=$$IEN2VID^VSIT(X) X ^DD(409.68,.05,1,3,1.4)
    1.4)= S DIH=$S($D(^SCE(DIV(0),0)):^(0),1:""),DIV=X S $P(^(0),U,20)=DIV,DIH=409.68,DIG=.2 D ^DICR:$O(^DD(DIH,DIG,1,0))>0
    2)= Q
    CREATE VALUE)= S X=$$IEN2VID^VSIT(X)
    DELETE VALUE)= NO EFFECT
    FIELD)= UNIQ
    This trigger is to collect the Unique Visit ID when a Visit IEN is entered.
.06 PARENT ENCOUNTER 0;6 POINTER TO OUTPATIENT ENCOUNTER FILE (#409.68) OUTPATIENT ENCOUNTER(#409.68)

  • LAST EDITED:  JUL 22, 1993
  • DESCRIPTION:  This field associates the current encounter with a parent encounter. For example, if there are add/edit stop codes associated with an appointment, then all the add/edit encounter entries will have this parent field filled
    in with the appointment encounter.
    This relationship allows the check out software to use the check out information of the appointment for the add/edits, as well.
    UNEDITABLE
  • CROSS-REFERENCE:  409.68^APAR
    1)= S ^SCE("APAR",$E(X,1,30),DA)=""
    2)= K ^SCE("APAR",$E(X,1,30),DA)
    Cross reference to be used to find outpatient encounters that are associated with other encounters.
  • CROSS-REFERENCE:  ^^TRIGGER^409.68^.07
    1)= K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^SCE(D0,0)):^(0),1:"") S X=$P(Y(1),U,7),X=X S DIU=X K Y S X=DIV S X=$P($G(^SCE(+X,0)),U,7) X ^DD(409.68,.06,1,2,1.4)
    1.4)= S DIH=$S($D(^SCE(DIV(0),0)):^(0),1:""),DIV=X S $P(^(0),U,7)=DIV,DIH=409.68,DIG=.07 D ^DICR
    2)= K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^SCE(D0,0)):^(0),1:"") S X=$P(Y(1),U,7),X=X S DIU=X K Y S X="" S DIH=$S($D(^SCE(DIV(0),0)):^(0),1:""),DIV=X S $P(^(0),U,7)=DIV,DIH=409.68,DIG=.07 D ^DICR
    CREATE VALUE)= S X=$P($G(^SCE(+X,0)),U,7)
    DELETE VALUE)= @
    FIELD)= CHECK OUT PROCESS COMPLETION
    Update children's completion date/time with parent's.
.07 CHECK OUT PROCESS COMPLETION 0;7 DATE

  • INPUT TRANSFORM:  S %DT="ETXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  AUG 28, 2015
  • DESCRIPTION:  
    This field indicates the check out process has been successfully completed for this outpatient encounter.
  • TECHNICAL DESCR:  
  • NOTES:  TRIGGERED by the PARENT ENCOUNTER field of the OUTPATIENT ENCOUNTER File
  • CROSS-REFERENCE:  409.68^ANT^MUMPS
    1)= D OE^SDM1A(DA,"SET")
    2)= D OE^SDM1A(DA,"KILL")
    This MUMPS cross reference updates the appointment status field in the patient file.
  • CROSS-REFERENCE:  ^^TRIGGER^409.68^.12
    1)= K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^SCE(D0,0)):^(0),1:"") S X=$P(Y(1),U,12),X=X S DIU=X K Y X ^DD(409.68,.07,1,2,1.1) X ^DD(409.68,.07,1,2,1.4)
    1.1)= S X=DIV N Y S Y=^SCE(DA,0) S X=$$STATUS^SDVSIT0(+$P(Y,U,2),+Y,+$P(Y,U,4),+$P(Y,U,8),"SET")
    1.4)= S DIH=$S($D(^SCE(DIV(0),0)):^(0),1:""),DIV=X S $P(^(0),U,12)=DIV,DIH=409.68,DIG=.12 D ^DICR:$N(^DD(DIH,DIG,1,0))>0
    2)= K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^SCE(D0,0)):^(0),1:"") S X=$P(Y(1),U,12),X=X S DIU=X K Y X ^DD(409.68,.07,1,2,2.1) X ^DD(409.68,.07,1,2,2.4)
    2.1)= S X=DIV N Y S Y=^SCE(DA,0) S X=$$STATUS^SDVSIT0(+$P(Y,U,2),+Y,+$P(Y,U,4),+$P(Y,U,8),"KILL")
    2.4)= S DIH=$S($D(^SCE(DIV(0),0)):^(0),1:""),DIV=X S $P(^(0),U,12)=DIV,DIH=409.68,DIG=.12 D ^DICR:$N(^DD(DIH,DIG,1,0))>0
    CREATE VALUE)= N Y S Y=^SCE(DA,0) S X=$$STATUS^SDVSIT0(+$P(Y,U,2),+Y,+$P(Y,U,4),+$P(Y,U,8),"SET")
    DELETE VALUE)= N Y S Y=^SCE(DA,0) S X=$$STATUS^SDVSIT0(+$P(Y,U,2),+Y,+$P(Y,U,4),+$P(Y,U,8),"KILL")
    FIELD)= STATUS
    This trigger updates the STATUS(#.12) field.
    If the patient was an inpatient at the time of the encounter then the status will always be 'INPATIENT' regardless if the encounter was checked out or not.
    Also, if the encounter was an appointment and the clinic is a non-count clinic then the status will always be 'NON-COUNT' regardless if the encounter was checked out or not.
  • CROSS-REFERENCE:  409.68^ACHILD^MUMPS
    1)= D SET^SDCOU(DA,X)
    2)= D KILL^SDCOU(DA,X)
    This cross reference updates the 'CHECK OUT PROCESS COMPLETION field of the 'children' entries.
  • FIELD INDEX:  D (#1362) REGULAR IR LOOKUP & SORTING
    Short Descr: VSE Resource Management Report Index
    Description: This cross reference is only used by the VistA Scheduling GUI Resource Management Reports. The 'D' cross reference is used to collect the total Outpatient Encounters for a Provider over a year time period. The cross
    reference is only set if the following conditions are met: 1. DATE field (#.01) of encounter is less than one year. 2. Encounter has a valid VISIT FILE ENTRY field (#.05) value. 3. Encounter has a V PROVIDER file entry
    associated with the VISIT FILE ENTRY. 4. Encounter does NOT have a PARENT ENCOUNTER field #(.06) value. 5. Encounter has a valid LOCATION field (#.04) value. 6. Encounter LOCATION is NOT a non-count clinic.
    Set Logic: S ^SCE("D",X(1),X(2),DA)=""
    Set Cond: S X=$$SETDXREF^SDCED(DA)
    Kill Logic: K ^SCE("D",X(1),X(2),DA)
    Kill Cond: S X=$$KILDXREF^SDCED(DA)
    Whole Kill: K ^SCE("D")
    X(1): DATE (409.68,.01) (Subscr 1) (forwards)
    X(2): CHECK OUT PROCESS COMPLETION (409.68,.07) (Subscr 2) (forwards)
  • RECORD INDEXES:  ACOD (#426)
.08 ORIGINATING PROCESS TYPE 0;8 SET
************************REQUIRED FIELD************************
  • '1' FOR APPOINTMENT;
  • '2' FOR STOP CODE ADDITION;
  • '3' FOR DISPOSITION;
  • '4' FOR CREDIT STOP CODE;

  • LAST EDITED:  MAY 04, 2017
  • DESCRIPTION:  This field indicates the type of process that created this encounter. The types are the following:
    1 - appointment
    2 - add/edit stop code
    3 - disposition
    UNEDITABLE
.09 EXTENDED REFERENCE 0;9 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>60!($L(X)<1) X
  • LAST EDITED:  JUN 30, 2016
  • HELP-PROMPT:  Answer must be 1-60 characters in length.
  • DESCRIPTION:  This field indicates the internal multiple entry of the originating process that created the encounter.
    The reference mapping is the following:
    Originating Process Global Reference
    ------------------- ----------------
    1 - appointments ^SC(,"S",,1,)
    Note: If this field is equal to 999999, it means that the
    appointment encounter was created by the ACRP Database
    Conversion functionality in patch SD*5.3*211. The 999999
    indicates that the above ^SC node did not exist at the
    time of the conversion. The node did not exist because it
    had been purged. The conversion set and then killed the
    pseudo 999999 node in order to create the encounter.
    As a result, the 999999 also means that the ELIGIBILITY
    OF ENCOUNTER (#.13) for the encounter was the patient's
    primary eligibility at the time of the conversion, since
    no history exists.
    2 - add/edits Always null ; not applicable
    3 - dispositions ^DPT(,"DIS",)
    UNEDITABLE
.1 APPOINTMENT TYPE 0;10 POINTER TO APPOINTMENT TYPE FILE (#409.1)
************************REQUIRED FIELD************************
APPOINTMENT TYPE(#409.1)

  • LAST EDITED:  JUN 30, 2016
  • DESCRIPTION:  
    This field contains the appointment type associated with the outpatient encounter.
  • NOTES:  TRIGGERED by the APPOINTMENT TYPE field of the APPOINTMENT sub-field of the PATIENT File
    TRIGGERED by the APPOINTMENT TYPE field of the CLINIC STOP CODE sub-field of the SCHEDULING VISITS File
  • CROSS-REFERENCE:  409.68^ACG^MUMPS
    1)= N SD0 S SD0=$G(^SCE(DA,0)) IF +SD0,X=10 S ^SCE("ACG",+SD0,DA)=""
    2)= N SD0 S SD0=$G(^SCE(DA,0)) IF +SD0,X=10 K ^SCE("ACG",+SD0,DA)
    Used to quickly find entries that have a 'computer generated' appointment type.
.11 MEDICAL CENTER DIVISION 0;11 POINTER TO MEDICAL CENTER DIVISION FILE (#40.8)
************************REQUIRED FIELD************************
MEDICAL CENTER DIVISION(#40.8)

  • LAST EDITED:  JUL 22, 1993
  • DESCRIPTION:  
    This field indicates the medical center division where the encounter took place.
    UNEDITABLE
.12 STATUS 0;12 POINTER TO APPOINTMENT STATUS FILE (#409.63) APPOINTMENT STATUS(#409.63)

  • LAST EDITED:  APR 06, 1993
  • DESCRIPTION:  This field indicates the status of the encounter. Currently, the only possible statuses are the following:
    CHECKED OUT
    PENDING ACTION
    INPATIENT APPOINTMENT
    NON-COUNT
    Future, no-showed and cancelled appointments are not included in this file at the present time.
  • NOTES:  TRIGGERED by the CHECK OUT PROCESS COMPLETION field of the OUTPATIENT ENCOUNTER File
.13 ELIGIBILITY OF ENCOUNTER 0;13 POINTER TO ELIGIBILITY CODE FILE (#8)
************************REQUIRED FIELD************************
ELIGIBILITY CODE(#8)

  • LAST EDITED:  JUL 22, 1993
  • DESCRIPTION:  
    This field contains the eligibility associated with the encounter.
    UNEDITABLE
  • NOTES:  TRIGGERED by the REGISTRATION ELIGIBILITY CODE field of the DISPOSITION LOG-IN DATE/TIME sub-field of the PATIENT File
    TRIGGERED by the ELIGIBILITY FOR VISIT field of the CLINIC STOP CODE sub-field of the SCHEDULING VISITS File
.2 UNIQUE VISIT NUMBER 0;20 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>12!($L(X)<1) X
  • LAST EDITED:  MAY 03, 1996
  • HELP-PROMPT:  Answer must be 1-12 characters in length.
  • DESCRIPTION:  This is the unique visit ID created by PCE. It is stored for every encounter. This number will be obtained from a supported call provided by PCE.
  • NOTES:  TRIGGERED by the VISIT FILE ENTRY field of the OUTPATIENT ENCOUNTER File
101 EDITED LAST BY USER;1 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  AUG 27, 1997
  • DESCRIPTION:  
    This field records the user who last edited the entry.
  • TECHNICAL DESCR:  
    This field is automatically entered by the software and requires n user input.
102 DATE/TIME LAST EDITED USER;2 DATE

  • INPUT TRANSFORM:  S %DT="ETX" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  AUG 27, 1997
  • DESCRIPTION:  
    This field contains the date/time that the entry was last edited.
  • TECHNICAL DESCR:  
    This field is automatically entered by the software and requires n user input.
103 CREATED BY USER;3 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  AUG 27, 1997
  • DESCRIPTION:  
    This field records the user who created the entry.
  • TECHNICAL DESCR:  
    This field is automatically set as part of the SD ENCOUNTER ENTRY input template. This template is executed whenever a new entry is created.
104 DATE/TIME CREATED USER;4 DATE

  • INPUT TRANSFORM:  S %DT="ETX" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  AUG 27, 1997
  • DESCRIPTION:  
    This field contains the date/time that the entry was made.
  • TECHNICAL DESCR:  This field is automatically set as part of the SD ENCOUNTER ENTRY input template. This template is executed whenever a new entry is created.
201 COMPUTER GENERATED? CG;1 SET
  • '0' FOR NO;
  • '1' FOR YES;

  • LAST EDITED:  JUN 30, 2016
  • DESCRIPTION:  This field is used for data validation. It helps determine which entries
    were automatically generated by outside packages. This field should not be
    edited.
  • TECHNICAL DESCR:  
    This field is updated via PCE event driver.
    UNEDITABLE
  • CROSS-REFERENCE:  409.68^AG^MUMPS
    1)= N SD0 S SD0=$G(^SCE(DA,0)) IF +SD0,X S ^SCE("AG",+SD0,DA)=""
    2)= N SD0 S SD0=$G(^SCE(DA,0)) IF +SD0,X K ^SCE("AG",+SD0,DA)
    Used to quickly identify entries 'auto-generated' by other packages.
202 UNRESOLVED APPT TYPE REASON CG;2 SET
  • '1' FOR DUAL ELIGIBILITY;
  • '2' FOR POSSIBLE COMP & PEN;

  • LAST EDITED:  AUG 26, 1997
  • DESCRIPTION:  If visit has an appointment type of computer generated, the
    UNRESOLVED APPT TYPE REASON field will also be stuffed with the best
    possible reason why an appropriate appointment type could not be
    determined.
    Currently, if a patient has a comp and pen exam within the last
    three days of the visit date which is computer generated the
    unresolved reason will be POSSIBLE COMP & PEN.
    If a patient has a dual eligibility and one of those eligibilities
    is Sharing Agreement, Employee, or Collateral, the unresolved reason
    will be DUAL ELIGIBILITY.
    If there is a scenario where both apply, the default is POSSIBLE COMP & PEN.
  • TECHNICAL DESCR:  
    This field is updated via PCE event driver functionality.
901 CREATED BY CONVERSION CNV;1 SET
  • '0' FOR NO;
  • '1' FOR YES;

  • LAST EDITED:  FEB 01, 1996
  • DESCRIPTION:  
    This field is set to 'Yes' if the encounter is created by the ACRP Database Conversion patch (SD*5.3*211).
902 ORIGINAL CREATE DT FROM 'SDV' CNV;2 DATE

  • INPUT TRANSFORM:  S %DT="EX" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  JAN 05, 1998
  • DESCRIPTION:  If this encounter was created by the ACRP Database Conversion patch (SD*5.3*211) from an entry in the SCHEDULING VISITS (#409.5) file then this field contains the date that the original entry in the SCHEDULING VISITS file
    was created.
903 NON-HISTORICAL STOP CODE USED CNV;3 SET
  • '0' FOR NO;
  • '1' FOR YES;

  • LAST EDITED:  FEB 17, 1998
  • DESCRIPTION:  This field is set to "YES" if this encounter was created by ACRP Database Conversion patch (SD*5.3*211) and the stop code associated with the encounter was obtained from the HOSPITAL LOCATION (#44) file entry for the
    clinic at the time of the conversion.
    In other words, there was no mechanism available to absolutely determine the historical value of either a clinic stop code or a credit stop code for a clinic at the time the encounter actually occurred.
904 CONVERSION COMPLETED CNV;4 SET
  • '0' FOR NO;
  • '1' FOR YES;

  • LAST EDITED:  APR 06, 1998
  • HELP-PROMPT:  Respond yes or no
  • DESCRIPTION:  
    This field indicates whether or not the conversion process has been completed for this encounter.
905 DATE OF LAST CONVERSION CNV;5 DATE

  • INPUT TRANSFORM:  S %DT="ETXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  APR 06, 1998
  • HELP-PROMPT:  ENTER THE DATE THIS ENCOUNTER WAS LAST CONVERTED
  • DESCRIPTION:  
    This is the date that the conversion process was last completed for this encounter.

ICR, Total: 1

ICR LINK Subscribing Package(s) Fields Referenced Description
ICR #3570
  • Integrated Billing
  • EDITED LAST BY (101).
    Access: Direct Global Read & w/Fileman

    DATE/TIME LAST EDITED (102).
    Access: Direct Global Read & w/Fileman

    External References

    Name Field # of Occurrence
    ^%DT .01+1, .07+1, 102+1, 104+1, 902+1, 905+1
    ^DICR .05(XREF 3n1.4), .06(XREF 2n1.4), .06(XREF 2K), .07(XREF 2n1.4), .07(XREF 2n2.4)
    Y^DIQ ID.02+1, ID.03+1, ID.04+1
    $$KILDXREF^SDCED IXDKCC+1
    $$SETDXREF^SDCED IXDSCC+1
    KILL^SDCOU .07(XREF 3K)
    SET^SDCOU .07(XREF 3S)
    OE^SDM1A .07(XREF 1S), .07(XREF 1K)
    $$STATUS^SDVSIT0 .07(XREF 2n1.1), .07(XREF 2n2.1)
    $$IEN2VID^VSIT .05(XREF 3S)
    ADD^VSIT .05(XREF 2S)
    SUB^VSIT .05(XREF 2K)

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^%ZOSF("TEST" .05(XREF 2S), .05(XREF 2K)
    ^DD( .05(XREF 3n1.4), .07(XREF 2n1.4), .07(XREF 2n2.4)
    ^DD(2 ID.02+1
    ^DD(40.7 ID.03+1
    ^DD(409.68 .05(XREF 3S), .06(XREF 2S), .07(XREF 2S), .07(XREF 2K)
    ^DD(44 ID.04+1
    ^DIC(40.7 - [#40.7] ID.03+1
    ^DPT - [#2] ID.02+1
    ^SC - [#44] ID.04+1
    ^SCE - [#409.68] .01(XREF 2S), .01(XREF 2K), .01(XREF 3S), .01(XREF 3K), .01(XREF 4S), .01(XREF 4K), .02(XREF 2S), .02(XREF 2K), .05(XREF 3S), .05(XREF 3n1.4)
    .06(XREF 2S), .06(XREF 2n1.4), .06(XREF 2K), .07(XREF 2S), .07(XREF 2n1.1), .07(XREF 2n1.4), .07(XREF 2K), .07(XREF 2n2.1), .07(XREF 2n2.4), .1(XREF 1S)
    .1(XREF 1K), 201(XREF 1S), 201(XREF 1K)
    ^SCE("ACG" .01(XREF 3S), .01(XREF 3K), .1(XREF 1S), .1(XREF 1K)
    ^SCE("ACOD" IXACODSL+1*, IXACODKL+1!, IXACODKEIC+1!
    ^SCE("ADFN" .01(XREF 2S), .01(XREF 2K), .02(XREF 2S), .02(XREF 2K)
    ^SCE("AG" .01(XREF 4S), .01(XREF 4K), 201(XREF 1S), 201(XREF 1K)
    ^SCE("APAR" .06(XREF 1S), .06(XREF 1K)
    ^SCE("AVSIT" .05(XREF 1S), .05(XREF 1K)
    ^SCE("B" .01(XREF 1S), .01(XREF 1K)
    ^SCE("C" .02(XREF 1S), .02(XREF 1K)
    ^SCE("D" IXDSL+1*, IXDKL+1!, IXDKEIC+1!

    Naked Globals

    Name Field # of Occurrence
    ^(0 ID.02+1, ID.03+1, ID.04+1, .05(XREF 3S), .05(XREF 3n1.4), .06(XREF 2S), .06(XREF 2n1.4), .06(XREF 2K), .07(XREF 2S), .07(XREF 2n1.4)
    .07(XREF 2K), .07(XREF 2n2.4)

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    >> %DT .01+1*, .07+1*, 102+1*, 104+1*, 902+1*, 905+1*
    %I ID.02+1*!, ID.03+1*!, ID.04+1*!
    >> C ID.02+1*, ID.03+1*, ID.04+1*
    >> D0 .05(XREF 3S), .06(XREF 2S), .06(XREF 2K), .07(XREF 2S), .07(XREF 2K)
    >> DA IXACODSL+1, IXACODKL+1, IXDSL+1, IXDSCC+1, IXDKL+1, IXDKCC+1, .01(XREF 1S), .01(XREF 1K), .01(XREF 2S), .01(XREF 2K)
    .01(XREF 3S), .01(XREF 3K), .01(XREF 4S), .01(XREF 4K), .02(XREF 1S), .02(XREF 1K), .02(XREF 2S), .02(XREF 2K), .05(XREF 1S), .05(XREF 1K)
    .05(XREF 3S), .06(XREF 1S), .06(XREF 1K), .06(XREF 2S), .06(XREF 2K), .07(XREF 1S), .07(XREF 1K), .07(XREF 2S), .07(XREF 2n1.1), .07(XREF 2K)
    .07(XREF 2n2.1), .07(XREF 3S), .07(XREF 3K), .1(XREF 1S), .1(XREF 1K), 201(XREF 1S), 201(XREF 1K)
    >> DIC ID.02+1, ID.03+1, ID.04+1
    >> DIG .05(XREF 3n1.4), .06(XREF 2n1.4), .06(XREF 2K), .07(XREF 2n1.4), .07(XREF 2n2.4)
    >> DIH .05(XREF 3n1.4), .06(XREF 2n1.4), .06(XREF 2K), .07(XREF 2n1.4), .07(XREF 2n2.4)
    >> DIU .05(XREF 3S), .06(XREF 2S), .06(XREF 2K), .07(XREF 2S), .07(XREF 2K)
    DIV .05(XREF 3S), .05(XREF 3n1.4), .06(XREF 2S), .06(XREF 2n1.4), .06(XREF 2K), .07(XREF 2S), .07(XREF 2n1.1), .07(XREF 2n1.4), .07(XREF 2K), .07(XREF 2n2.1)
    .07(XREF 2n2.4)
    DIV(0 .05(XREF 3S), .05(XREF 3n1.4), .06(XREF 2S), .06(XREF 2n1.4), .06(XREF 2K), .07(XREF 2S), .07(XREF 2n1.4), .07(XREF 2K), .07(XREF 2n2.4)
    SD0 .01(XREF 3S), .01(XREF 3K), .1(XREF 1S), .1(XREF 1K), 201(XREF 1S), 201(XREF 1K)
    SDCG .01(XREF 4S), .01(XREF 4K)
    SDX .05(XREF 2S), .05(XREF 2K)
    U ID.02+1, ID.03+1, ID.04+1, .01(XREF 2S), .01(XREF 2K), .01(XREF 3S), .01(XREF 3K), .05(XREF 3S), .05(XREF 3n1.4), .06(XREF 2S)
    .06(XREF 2n1.4), .06(XREF 2K), .07(XREF 2S), .07(XREF 2n1.1), .07(XREF 2n1.4), .07(XREF 2K), .07(XREF 2n2.1), .07(XREF 2n2.4)
    X IXDSCC+1*, IXDKCC+1*, .01+1*!, .01(XREF 1S), .01(XREF 1K), .01(XREF 2S), .01(XREF 2K), .01(XREF 3S), .01(XREF 3K), .01(XREF 4S)
    .01(XREF 4K), .02(XREF 1S), .02(XREF 1K), .02(XREF 2S), .02(XREF 2K), .05(XREF 1S), .05(XREF 1K), .05(XREF 2S), .05(XREF 2K), .05(XREF 3S)
    .05(XREF 3n1.4), .06(XREF 1S), .06(XREF 1K), .06(XREF 2S), .06(XREF 2n1.4), .06(XREF 2K), .07+1*!, .07(XREF 2S), .07(XREF 2n1.1), .07(XREF 2n1.4)
    .07(XREF 2K), .07(XREF 2n2.1), .07(XREF 2n2.4), .07(XREF 3S), .07(XREF 3K), .09+1!, .1(XREF 1S), .1(XREF 1K), .2+1!, 102+1*!
    , 104+1*!, 201(XREF 1S), 201(XREF 1K), 902+1*!, 905+1*!
    X(1 IXACODSL+1, IXACODKL+1, IXDSL+1, IXDKL+1
    X(2 IXACODSL+1, IXACODKL+1, IXDSL+1, IXDKL+1
    Y ID.02+1*, ID.03+1*, ID.04+1*, .01+1, .05(XREF 3S), .06(XREF 2S), .06(XREF 2K), .07+1, .07(XREF 2S), .07(XREF 2n1.1)
    .07(XREF 2K), .07(XREF 2n2.1), 102+1, 104+1, 902+1, 905+1
    Y(1 .05(XREF 3S), .06(XREF 2S), .06(XREF 2K), .07(XREF 2S), .07(XREF 2K)
    Info |  Desc |  Directly Accessed By Routines |  Accessed By FileMan Db Calls |  Pointed To By FileMan Files |  Pointer To FileMan Files |  Fields |  ICR |  External References |  Global Variables Directly Accessed |  Naked Globals |  Local Variables  | All