Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Interaction Calls
Print Page as PDF
Routine: SDSCCHK

Package: Scheduling

Routine: SDSCCHK


Information

SDSCCHK ;ALB/JAM/RBS - Check Encounters for Inclusion in ASCD ; 4/30/07 4:46pm

Source Information

Source file <SDSCCHK.m>

Entry Points

Name Comments DBIA/ICR reference
EN ; Entry point
PRT ; Print results
BEG ; Begin report
EXIT ;
FND ; Find errors with encounters
HDR ; Header
; Do not ask 'RETURN' before first page on CRT.
STORE ; Store the encounter for later use.
STORED ; Store the diagnosis encounter for detail
NBFP() ; Is first-party non-billable based on either clinic, stop code, or patient?
NBTP() ; Is third-party non-billable based on either clinic, stop code, or patient?

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"REQUEST QUEUED"
  • Line Location: EN+20
Function Call: WRITE
  • Prompt: !,$J(^TMP("SDSCCHK",$J,"TOTAL",SDTXT),8),?10,SDTXT
  • Line Location: BEG+9
Function Call: WRITE
  • Prompt: !
  • Line Location: BEG+13
Function Call: WRITE
  • Prompt: "-"
  • Line Location: BEG+13
Function Call: WRITE
  • Prompt: !,$J(TOTAL,8),?10,"TOTAL Encounters"
  • Line Location: BEG+14
Function Call: WRITE
  • Prompt: !!,"* Third Party=TP; Means Test=MT",!
  • Line Location: BEG+15
Function Call: WRITE
  • Prompt: !,$P(SDDATA,U,1),?12,$P(SDDATA,U,2),?24,$E($P(SDDATA,U,3),1,19),?44,$E($P(SDDATA,U,4),1,16)
  • Line Location: BEG+21
Function Call: WRITE
  • Prompt: ?62,$E($P(^TMP("SDSCCHK",$J,"DX",SDTXT),U,5),1,18),!,?10,$P($P(^TMP("SDSCCHK",$J,"DX",SDTXT),U,6),"(",1)
  • Line Location: BEG+22
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: HDR+4
Function Call: WRITE
  • Prompt: SDHDR,?67,"PAGE: ",P
  • Line Location: HDR+9
Function Call: WRITE
  • Prompt: !,?5,"For Encounters Dated ",$$FMTE^XLFDT(SDSCTDT,2)," THRU ",$$FMTE^XLFDT(SDEDT,2)
  • Line Location: HDR+10
Function Call: WRITE
  • Prompt: !,?2,"# Enc",?10,"Reason"
  • Line Location: HDR+11
Function Call: WRITE
  • Prompt: !!,"Note: The Detail report will ONLY list additional encounter information ",!," for the Diagnosis code related Reasons.",!
  • Line Location: HDR+13
Function Call: WRITE
  • Prompt: !,"Enc #",?12,"Visit #",?24,"Clinic",?42,"Encounter Date/Time",?62,"Patient Name",!,?10,"Reason"
  • Line Location: HDR+14
Function Call: WRITE
  • Prompt: !
  • Line Location: HDR+15
Function Call: WRITE
  • Prompt: "-"
  • Line Location: HDR+15
Info |  Source |  Entry Points |  Interaction Calls