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

ORCSLT.m

Go to the documentation of this file.
ORCSLT ;ABV/MKN - IF ADMIN OR DS CONSULT SERVICE, AUTO-SIGN;05/23/2018 10:00 AM
 ;;3.0;ORDER ENTRY/RESULTS REPORTING;**490**;July 18, 2018;Build 21
 ;Per VA Directive 6402, this routine should not be modified.
 ;
CHKAUTO ;
 N DA,DIE,DR,ORDITM,ORDNA,ORDO,ORDS
 Q:'$D(^XUSEC("OR ADMIN RBP TO CC",DUZ))
 S ORDITM=$G(ORDIALOG(4,1)) Q:'ORDITM
 S ORDNA=$$GET1^DIQ(101.43,ORDITM_",",.01,"E")
 Q:'(ORDNA["COMMUNITY CARE"&(ORDNA["-ADMIN"!(ORDNA["-DS")))
 D VALID^ORWDXA(.ORDO,ORIFN,"OC",DUZ) ;Signature on chart
 S ORDS(1)=ORIFN_";1^1^1^E"
 K ORDO D SEND^ORWDX(.ORDO,ORVP,ORNP,ORL," ",.ORDS)
 S DA(1)=ORIFN,DA=1,DIE="^OR(100,"_ORIFN_",8,"
 S DR="4///1;1///ADMINISTRATIVELY RELEASED BY POLICY;7///@;80///Y"
 D ^DIE
 Q
 ;