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

BKMQSSR2.m

Go to the documentation of this file.
BKMQSSR2 ;PRXM/HC/CLT - STATE SURV. REPORT CONTINUED ; 31 Mar 2005  3:50 PM
 ;;2.1;HIV MANAGEMENT SYSTEM;;Feb 07, 2011
 ;
 ;
EN ;EP - PRIMARY ENTRY POINT
 D HAART,PCP,PREG
 Q
HAART ;GATHER HAART DRUG DATA (using Taxonomy)
 S BKMCKDT=$$FMADD^XLFDT(DT,-183)
 S GLOBAL="BKMHAART(VSTDT,TEST)"
 D NDCTAX^BKMIXX1(DFN,"BKMV EI MED NDCS","",BKMCKDT,GLOBAL)
 D MEDTAX^BKMIXX(DFN,"BKMV EI MEDS","",BKMCKDT,GLOBAL)
 D NDCTAX^BKMIXX1(DFN,"BKMV NNRTI MED NDCS","",BKMCKDT,GLOBAL)
 D MEDTAX^BKMIXX(DFN,"BKMV NNRTI MEDS","",BKMCKDT,GLOBAL)
 D NDCTAX^BKMIXX1(DFN,"BKMV NRTI MED NDCS","",BKMCKDT,GLOBAL)
 D MEDTAX^BKMIXX(DFN,"BKMV NRTI MEDS","",BKMCKDT,GLOBAL)
 D NDCTAX^BKMIXX1(DFN,"BKMV PI MED NDCS","",BKMCKDT,GLOBAL)
 D MEDTAX^BKMIXX(DFN,"BKMV PI MEDS","",BKMCKDT,GLOBAL)
 Q
PCP ;COLLECTION OF PCP DRUG DATA (using Taxonomy)
 S BKMCKDT=$$FMADD^XLFDT(DT,-183)
 S GLOBAL="BKMPCP(VSTDT,TEST)"
 D NDCTAX^BKMIXX1(DFN,"BKMV PCP PROPH MED NDCS","",BKMCKDT,GLOBAL)
 D MEDTAX^BKMIXX(DFN,"BKMV PCP PROPH MEDS","",BKMCKDT,GLOBAL)
 Q
PREG ;PREGNANCY DATA
 Q:BKMVSEX'="F"
 ;This section is still awaiting further specification.
 ;Q:'$D(^AUPNREP(DFN))
 Q