fixed null DFN bug in PTST^CCRSYS

This commit is contained in:
george 2008-09-05 19:35:07 +00:00
parent 041a25d326
commit 1a381d4ae6
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ PTST(DFN) ;TEST TO SEE IF PATIENT MERGED OR A TEST PATIENT
; 1 = Merged or Test Patient
; 0 = Non-test Patient
;
I DFN="" Q 0 ; BAD DFN PASSED
I $D(^DPT(DFN,-9)) Q 1 ;This patient has been merged
I $G(^DPT(DFN,0))="" Q 1 ;Missing zeroth node <---add
;