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 |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: SCMCCV6

Package: Scheduling

Routine: SCMCCV6


Information

SCMCCV6 ;BP/CMF - PCMM HL7 Baseline Xmit to AAC ; March 26, 2000

Source Information

Source file <SCMCCV6.m>

Entry Points

Name Comments DBIA/ICR reference
EN(SCTST,SCDFN) ;
; entry point for option 'SCMC PCMM BASELINE SEEDING'
; this option should not be on any users menu
; this option should be queued to run once
; it should not be run more than once without consulting NVS
BASELINE(SCP177,SCP212,SCPDFN,SCPTST) ;
; input
; SCP177 = Patch 177 date (required)
; SCP212 = Patch 212 date (optional, default = today)
; SCPDFN = Patient ien (optional, default = 0)
; SCPTST = 1 := test [default = 0]
;
; output
; 1 = success
; 0 = failure
CHECK() ;
; Description: Determine whether or not the Baseline has run.
EVENT(SC177,SC212,SCDFN,SCTST) ;
; Description: Create an Event in file (#404.48)
MSG(SC1,SC2,SCTST) ;
RESTART(SCTST) ; alb/rpm
; This undocumented entry point allows a user to clear the Baseline
; date stored in file #404.44 field #17. Then the last patient IEN
; that was processed from the last run is retrieved from ^XTMP("SCMCCV6"
; and decremented to seed the restart point. If ^XTMP does not exist
; the IEN is set to 0.

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"This is not an interactive entry point."
  • Line Location: SCMCCV6+13
Function Call: WRITE
  • Prompt: !,"This routine should only be executed by IRM staff"
  • Line Location: SCMCCV6+14
Function Call: WRITE
  • Prompt: !," -- ONCE --"
  • Line Location: SCMCCV6+15
Function Call: WRITE
  • Prompt: !,"using Taskman to Queue option 'PCMM BASELINE SEEDING'"
  • Line Location: SCMCCV6+16
Function Call: WRITE
  • Prompt: !,"to run during a non-busy period."
  • Line Location: SCMCCV6+17

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DPT - [#2] GET1^DIQ
^SCTM(404.44 - [#404.44] GET1^DIQ
^SCTM(404.57 - [#404.57] GET1^DIQ
Info |  Source |  Entry Points |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call