Check in ANALYZE for merged patients

This commit is contained in:
george 2008-09-05 17:30:17 +00:00
parent 4c3fba6fcd
commit 0d92886464
1 changed files with 5 additions and 2 deletions

View File

@ -82,8 +82,11 @@ ANALYZE(BEGDFN,DFNCNT) ; RIM COHERANCE ANALYSIS ROUTINE
. D CPUSH(.CATNAME,RIMBASE,"RIMTBL",RIMDFN,RATTR) ; ADD TO CATEGORY
. W "CATEGORY NAME: ",CATNAME,!
. ;
. S RIMDFN=$O(^DPT(RIMDFN)) ; NEXT PATIENT
S @RIMBASE@("RESUME")=RIMDFN ; WHERE WE ARE LEAVING OFF THIS RUN
. F S RIMDFN=$O(^DPT(RIMDFN)) Q:'$$PTST^CCRSYS(RIMDFN) ; NEXT PATIENT
. ; PTST TESTS TO SEE IF PATIENT WAS MERGED
. ; IF CCRTEST=0, PTST WILL CHECK TO SEE IF THIS IS A TEST PATIENT
. ; AND WE SKIP IT
. S @RIMBASE@("RESUME")=RIMDFN ; WHERE WE ARE LEAVING OFF THIS RUN
; D PARY^GPLXPATH(@RIMBASE@("ATTRTBL"))
Q
;