CHART COPY 2 (1005)    OE/RR PRINT FORMATS (100.23)

Name Value
NAME CHART COPY 2
ROWS 5
ORDER TEXT LENGTH 60
FIELDS
  • ORDER DATE
    ROW:   1
    COLUMN:   1
    CAPTION (Optional):   NONE
  • NATURE OF ORDER
    ROW:   2
    COLUMN:   4
    CAPTION (Optional):   NONE
  • ORDER TEXT
    ROW:   1
    COLUMN:   16
    CAPTION (Optional):   NONE
    FORMAT:   60
  • START DATE
    ROW:   3
    COLUMN:   20
    CAPTION (Optional):   Start:
  • REQUESTING PHYSICIAN
    ROW:   3
    COLUMN:   55
    CAPTION (Optional):   Req :
  • STOP DATE
    ROW:   4
    COLUMN:   20
    CAPTION (Optional):   Stop :
  • ELECTRONIC SIGNATURE NAME
    ROW:   4
    COLUMN:   55
    CAPTION (Optional):   NONE
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)=""
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