LRLOG ;SLC/STAFF - Edit Log ;10/15/03 09:08
Source file <LRLOG.m>
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
|
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
>> | 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~ |