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