Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: SROTIUD

SROTIUD.m

Go to the documentation of this file.
  1. SROTIUD ;BIR/SJA - SURGERY E-SIG UTILITY ; [ 12/19/03 09:27 AM ]
  1. ;;3.0; Surgery ;**100**;24 Jun 93
  1. ;
  1. OS(SRTN) ; Delete the TIU OPERATIVE SUMMARY pointer and call TIU to re-establish a new stub entry.
  1. ; SRTN - case number in file 130
  1. ;
  1. N ZTDESC,ZTRTN,ZTIO,ZTDTH,ZTSAVE,ZTSK
  1. I $P($G(^SRF(SRTN,"NON")),"^")="Y" Q
  1. S ZTDESC="Surgery Operation Report Stub",ZTRTN="OR^SROTIUD",ZTIO="",ZTDTH=$H,ZTSAVE("SRTN")="" D ^%ZTLOAD
  1. Q
  1. OR K DR S DA=SRTN,DR="1000///@",DIE=130 D ^DIE K DR
  1. D OR^SROESX
  1. Q
  1. NON(SRTN) ; Delete the TIU PROCEDURE REPORT (NON-OR) pointer and call TIU to re-establish a new stub entry.
  1. ; SRTN - case number in file 130
  1. ;
  1. N ZTDESC,ZTRTN,ZTIO,ZTDTH,ZTSAVE,ZTSK
  1. I '$P($G(^SRF(SRTN,"NON")),"^",5)!'$P($G(^SRF(SRTN,"TIU")),"^",5) Q
  1. S ZTDESC="Surgery Non-OR Procedure Report Stub",ZTRTN="NOR^SROTIUD",ZTIO="",ZTDTH=$H,ZTSAVE("SRTN")="" D ^%ZTLOAD
  1. Q
  1. NOR K DR S DA=SRTN,DR="1002///@",DIE=130 D ^DIE K DR
  1. D PR^SROESXP
  1. Q
  1. ANES(SRTN) ; Delete the TIU ANESTHESIA REPORT pointer and call TIU to re-establish a new stub entry.
  1. ; SRTN - case number in file 130
  1. ;
  1. N ZTDESC,ZTRTN,ZTIO,ZTDTH,ZTSAVE,ZTSK
  1. I '$P($G(^SRF(SRTN,"TIU")),"^",4) Q
  1. S ZTDESC="Surgery Anesthesia Report Stub",ZTRTN="ANS^SROTIUD",ZTIO="",ZTDTH=$H,ZTSAVE("SRTN")="" D ^%ZTLOAD
  1. Q
  1. ANS K DR S DA=SRTN,DR="1003///@",DIE=130 D ^DIE K DR
  1. D AR^SROESXA
  1. Q
  1. NURS(SRTN) ; Delete the TIU NURSE INTRAOP REPORT pointer and call TIU to re-establisha new stub entry.
  1. ; SRTN - case number in file 130
  1. N ZTDESC,ZTRTN,ZTIO,ZTDTH,ZTSAVE,ZTSK
  1. I '$P($G(^SRF(SRTN,"TIU")),"^",2) Q
  1. S ZTDESC="Surgery Nurse Interaop Report",ZTRTN="NUR^SROTIUD",ZTIO="",ZTDTH=$H,ZTSAVE("SRTN")="" D ^%ZTLOAD
  1. Q
  1. NUR K DR S DA=SRTN,DR="1001///@",DIE=130 D ^DIE K DR
  1. D NR^SROESX
  1. Q