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 |  Local Variables
Print Page as PDF
Routine: LRLOG

Package: Lab Service

Routine: LRLOG


Information

LRLOG ;SLC/STAFF - Edit Log ;10/15/03 09:08

Source Information

Source file <LRLOG.m>

Entry Points

Name Comments DBIA/ICR reference
TIMESTMP(PAT,SUB,CDT,USER,TIMESTMP) ; set a timestamp entry in edit log
; from LRPX,LRPXRM
INIT ; initialize setup of edit log
; sets last edit as timestamp on old data
; does not set user
DATEINTG(DATE1,DATE2,CNT) ; check integrity on patient's that were edited during a time range
; returns ^TMP("LRLOG",$J),^TMP("LRLOG PATS",$J) - must kill after use
PATS(DATE1,DATE2,CNT) ; get patients that were edited during a time range
; returns ^TMP("LRLOG PATS",$J) - must kill after use
PATINTEG(DFN,CNT) ; check integrity of a patient
; returns ^TMP("LRLOG",$J) - must kill after use
TESTP ; test for patient integrity
TESTD ; test for integrity of patients that were edited during a date range
LTS() ; $$() -> last timestamp ien
LPTS(DFN) ; $$(dfn) -> patient's last timestamp ien
TSDT(TSDT,TS) ; API - returns array of timestamps for a timestamp date/time
PTSDT(DFN,TSDT,TS) ; API - returns patient's array of timestamps for a timestamp date/time
NTSDT(TSDT) ; $$(timestamp date/time) -> next timestamp ien from a timestamp date/time
NPTSDT(DFN,TSDT) ; $$(dfn,timestamp date/time) -> patient's next timestamp date/time
LOG(TS) ; $$(timestamp ien) -> timestamp entry: timestamp^dfn^sub^cdt^user

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,DFN," ",$P(^DPT(DFN,0),U)," checked"
  • Line Location: TESTD+6

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
CDT TIMESTMP~
CNT DATEINTG~, PATS~, PATINTEG~
DATE1 DATEINTG~, PATS~
DATE2 DATEINTG~, PATS~
DFN PATINTEG~, LPTS~, PTSDT~, NPTSDT~
PAT TIMESTMP~
SUB TIMESTMP~
TIMESTMP TIMESTMP~
TS TSDT~, PTSDT~, LOG~
TSDT TSDT~, PTSDT~, NTSDT~, NPTSDT~
USER TIMESTMP~
Info |  Source |  Entry Points |  Interaction Calls |  Local Variables