The Surgery package has permission to invoke the entry
point DCOR^PSIVACT, which is exported as part of the Inpatient Meds package.
This entry point allows surgery to discontinue all of a specific patient's IV
orders, and is documented in the version 4.0 Inpatient Meds will continue to
support this entry point until agreed. When DCOR^PSIVACT is invoked DFN, must
be set to the IEN for the patient whose orders are to be discontinued.
DCOR^PSIVACT uses the following variables: ON1, PSIVRES, PSIVREA,
PSIVDFN,PSIVON, PSIVLN. These variables are killed upon exit from the utility.
DFN is unchanged. In setting up the call to DCOR^PSIVACT, Surgery sets DFN
and PSIVRES. The other variables mentioned are set within PSIVACT.