COMPILED CODE |
W ?0,"",$$DATE^ORU($G(ORPODT),"")
K X,ORPODT,OROOT,ORPNAT,ORPSTRT,ORPRPHY,ORPSTOP,ORPES
W ?15,"",$$TMPWRAP^ORU($G(OROOT),"60")
W !?3,"",$G(ORPNAT)
W !?19,"Start: ",$$DATE^ORU($G(ORPSTRT),"")
W ?54,"Req : ",$$NAME^ORU($G(ORPRPHY),"")
W !?19,"Stop : ",$$DATE^ORU($G(ORPSTOP),"")
W ?54,"",$G(ORPES)
W !
|
SILENT CODE |
S:'$D(@ORHOOT@(GCNT,0)) @ORHOOT@(GCNT,0)=""
I $D(@ORHOOT@(GCNT,0)),$D(X) S @ORHOOT@(GCNT,0)=@ORHOOT@(GCNT,0)_X
D LN^ORU4
S:'$D(@ORHOOT@(GCNT,0)) @ORHOOT@(GCNT,0)=""
S X=$$S^ORU4(19,.CCNT,"Start: "_$$DATE^ORU4($G(ORPSTRT),"",.ORHOOT,19,.GCNT,.CCNT),.CCNT)
I $D(@ORHOOT@(GCNT,0)),$D(X) S @ORHOOT@(GCNT,0)=@ORHOOT@(GCNT,0)_X
S:'$D(@ORHOOT@(GCNT,0)) @ORHOOT@(GCNT,0)=""
S X=$$S^ORU4(54,.CCNT,"Req : "_$$NAME^ORU4($G(ORPRPHY),"",.ORHOOT,54,.GCNT,.CCNT),.CCNT)
I $D(@ORHOOT@(GCNT,0)),$D(X) S @ORHOOT@(GCNT,0)=@ORHOOT@(GCNT,0)_X
D LN^ORU4
S:'$D(@ORHOOT@(GCNT,0)) @ORHOOT@(GCNT,0)=""
S X=$$S^ORU4(0,.CCNT,""_$$DATE^ORU4($G(ORPODT),"",.ORHOOT,0,.GCNT,.CCNT),.CCNT)
S X=$$S^ORU4(19,.CCNT,"Stop : "_$$DATE^ORU4($G(ORPSTOP),"",.ORHOOT,19,.GCNT,.CCNT),.CCNT)
I $D(@ORHOOT@(GCNT,0)),$D(X) S @ORHOOT@(GCNT,0)=@ORHOOT@(GCNT,0)_X
S:'$D(@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