- DG53455P ;BIR/SAB routine to update the kill logic for the APSOD xref ON date of death field ;05/29/2002
- ;;5.3;Registration;**455**;AUG 1993
- I $O(^DD(2,.351,1,52,0)) D
- .S ^DD(2,.351,1,52,2)="I $$VERSION^XPDUTL(""PSO"")>6 D APSOD^PSOAUTOC(DA)"
- .S ^DD(2,.351,1,52,"%D",4,0)="Kill logic updated with DG*5.3*455. Mail message sent to pharmacy when date"
- .S ^DD(2,.351,1,52,"%D",5,0)="of death is deleted to holders of PSORPH key."
- .S ^DD(2,.351,1,52,"DT")=DT,FLDLST("2,.351")=""
- .D DIEZ^DIKCUTL3(2,.FLDLST),TRIG^DICR(2,.351) K FLDLST
- --- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HDG53455P 546 printed Apr 23, 2025@18:51:32 Page 2
- DG53455P ;BIR/SAB routine to update the kill logic for the APSOD xref ON date of death field ;05/29/2002
- +1 ;;5.3;Registration;**455**;AUG 1993
- +2 IF $ORDER(^DD(2,.351,1,52,0))
- Begin DoDot:1
- +3 SET ^DD(2,.351,1,52,2)="I $$VERSION^XPDUTL(""PSO"")>6 D APSOD^PSOAUTOC(DA)"
- +4 SET ^DD(2,.351,1,52,"%D",4,0)="Kill logic updated with DG*5.3*455. Mail message sent to pharmacy when date"
- +5 SET ^DD(2,.351,1,52,"%D",5,0)="of death is deleted to holders of PSORPH key."
- +6 SET ^DD(2,.351,1,52,"DT")=DT
- SET FLDLST("2,.351")=""
- +7 DO DIEZ^DIKCUTL3(2,.FLDLST)
- DO TRIG^DICR(2,.351)
- KILL FLDLST
- End DoDot:1