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

APSPOST7.m

Go to the documentation of this file.
APSPOST7 ; IHS/DSD/ENM - OUTPATIENT CONV DIC(51 - PS(51 ;  [ 09/08/97  2:05 PM ]
 ;;6.0;IHS PHARMACY MODIFICATIONS;;09/03/97
EP ;
 ;W !,"I am now moving ^DIC(51) (MEDICATION INSTRUCTION) to ^PS(51)..." ;IHS/DSD/ENM 01/08/97
 I $P($G(^PS(59.7,1,9999999)),"^",3)]"" Q  ;IHS/DSD/ENM 03/19/97
 S ^DIC(51,0,"GL")="^PS(51,",%X="^DIC(51,",%Y="^PS(51," D %XY^%RCR
 K ^PS(51,"%"),^PS(51,"%D"),^PS(51,0,"DD"),^PS(51,0,"DEL"),^PS(51,0,"GL"),^PS(51,0,"LAYGO"),^PS(51,0,"WR") ;IHS/DSD/ENM 09/08/97
ENM ;NEXT LINE WILL REINDEX THE 'A' XREF
 S DIK="^PS(51,",DIK(1)=".01" D ENALL^DIK K DIK ;IHS/DSD/ENM 03/19/97
 ;S DIK="^PS(51," D IXALL^DIK ;IHS/DSD/ENM 03/19/97 REINDEX ALL XREF'S
 D NOW^%DTC S $P(^PS(59.7,1,9999999),"^",3)=%,$P(^PS(59.7,1,9999999),"^",4)=$P($G(^PS(51,0)),"^",3) ;IHS/DSD/ENM 03/19/97 ADD ENTRY TO PHARMACY SYSTEM FILE
 Q
NDC ;NEXT LINE WILL REINDEX THE 'ZNDC' XREF ON THE 'NDC' FLD 31 IN F50
 S DIK="^PSDRUG(",DIK(1)="31^ZNDC" D ENALL^DIK K DIK ;IHS/DSD/ENM 04/02/97
 Q