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

APSPOST2.m

Go to the documentation of this file.
APSPOST2 ; IHS/DSD/ENM - OUTPATIENT PHARM 6/200 CONV ;  [ 09/03/97   1:30 PM ]
 ;;6.0;IHS PHARMACY MODIFICATIONS;;09/03/97
EP ;EP - Build Provider Class Table
 F APSPZ=1:1 D EP1 Q:APSPZZ="" 
 Q
EP1 ;EP
 S APSPZZ=$P($T(CLASS+APSPZ),";;",2)
 I APSPZZ'="" S APSP(APSPZZ)=""
 Q
ZZE ;GET PROVIDER CLASS DATA
 ;S $P(^PS(59.7,1,9999999),"^",2)=NPV,APSPV=""
 ;S ^TMP("PSOP")=NPV,APSPV=""
 S APSPV=""
 S APSP1=$P($G(^DIC(6,NPV,0)),"^",4)
 I APSP1="" S APSP2="",APSPV="" Q
 S APSP2=$P($G(^DIC(7,APSP1,0)),"^")
 I $D(APSP(APSP2)) S APSPV="1"
 Q
MSG ;EP - SEND E-MSG TO "ADAM ADAM"...Set text lines = APSPM1,APSPM2,APSPM3
 K XMY S XMSUB="OutPatient Pharmacy v6.0 Conversion Update",XMY("ADAM,ADAM")="",XMTEXT="APSPMSG(",%H=$H D YX^%DTC
 S APSPMSG(1,0)=APSPM1,APSPMSG(2,0)=APSPM2,APSPMSG(3,0)=APSPM3_Y_"."
 D ^XMD K APSPMSG
 Q
CLASS ;
 ;;ANESTHESIOLOGIST
 ;;CARDIOLOGIST
 ;;CONTRACT PSHCHIATRIST
 ;;DENTIST
 ;;DERMATOLOGIST
 ;;FAMILY PRACTICE
 ;;INTERNAL MEDICINE
 ;;NEPHROLOGY
 ;;NEUROLOGIST
 ;;NURSE MIDWIFE
 ;;NURSE PRACTITIONER
 ;;OB/GYN
 ;;OB/GYN (CONTRACT)
 ;;OPHTHALMOLOGIST
 ;;OPTOMETRIST
 ;;ORTHOPEDIST
 ;;OSTEOPATH
 ;;OTOLARYNGOLOGIST
 ;;PATHOLOGIST
 ;;PEDIATRIC NURSE PRACT.
 ;;PEDIATRICIAN
 ;;PHARMACY PRACTIONER
 ;;PHYSICIAN
 ;;PHYSICIAN (CONTRACT)
 ;;PHYSICIAN (TRIBAL)
 ;;PHYSICIAN ASSISTANT
 ;;PODIATRIST
 ;;PODIATRIST (CONTRACT)
 ;;PSYCHIATRIST
 ;;RADIOLOGIST
 ;;SURGEON
 ;;UROLOGIST
 Q