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

AQACQR2.m

Go to the documentation of this file.
AQACQR2 ;IHS/ASU/RPL;QUARTERLY REPORT PRINTOUTS FOR CHS INPATIENT REGISTER-PART 3; [11/07/87 4:59 PM] ; 11/7/89  9:30 AM
 ;;CHS QA/UR Version 2.04;11/7/89
R11 ;
 S DHD="[AQACLINJHDR]"
 S DIC="^AQACHSAD(",FLDS="[AQACLOSINJ]",L=0,BY="'DISCHARGE DATE,'(CODE>799&(CODE<996)),+CONTRACT FACILITY;C1;S,"" "";"" "",@(+ICD-9CM)",FR=AQASD_",,,,",TO=AQAFD_",,,,"
 D PRT^AQACQR
 Q
R12 ;
 S DHD="[AQACLSRGHDR]"
 S DIC="^AQACHSAD(",FLDS="[AQACLOSSRG]",L=0,BY="'DISCHARGE DATE,SERVICE=""SURGERY"",+CONTRACT FACILITY;C1;S,"" "";"" "",@(+ICD-9CM)",FR=AQASD_",,,,",TO=AQAFD_",,,,"
 D PRT^AQACQR
 Q
R13 ;
 S DHD="[AQACLPEDHDR]"
 S DIC="^AQACHSAD(",FLDS="[AQACLOSPED]",L=0,BY="'DISCHARGE DATE,SERVICE=""PEDIATRICS"",+CONTRACT FACILITY;C1;S,"" "";"" "",@(+ICD-9CM)",FR=AQASD_",,,,",TO=AQAFD_",,,,"
 D PRT^AQACQR
 Q
R14 ;
 S DHD="[AQACLPSYHDR]"
 S DIC="^AQACHSAD(",FLDS="[AQACLOSPSY]",L=0,BY="'DISCHARGE DATE,SERVICE=""PSYCHIATRY"",+CONTRACT FACILITY;C1;S,"" "";"" "",@(+ICD-9CM)",FR=AQASD_",,,,",TO=AQAFD_",,,,"
 D PRT^AQACQR
 Q
R15 ;
 S DHD="[AQACINJHDR]"
 S DIC="^AQACHSAD(",FLDS="[AQACINJANALYSIS]",L=0
 S BY="'DISCHARGE DATE,(CODE>799&(CODE<996)),+NAME:SEX;""SEX: "";C1;S2,+AGE RANGE:QA AGE RANGE:RANGE;""AGE RANGE: "";S;C5,DISCHARGE STATUS;""DISCHARGE STATUS: "";S;C10,"" "";"" """,FR=AQASD_",,,,,",TO=AQAFD_",,,,,"
 D PRT^AQACQR
 Q
R16 ;
 S DHD="[AQACMSHDR]"
 S DIC="^AQACHSAD(",FLDS="[AQACMATSTAT]",L=0,BY="'DISCHARGE DATE,(CODE>629&(CODE<677)),+AGE RANGE2:QA AGE RANGE:RANGE;""AGE RANGE: "";S,ICD-9CM,"" "";"" """,FR=AQASD_",,,,",TO=AQAFD_",,,,"
 D PRT^AQACQR
 Q
R17 ;
 S DHD="[AQACNBHDR]"
 S DIC="^AQACHSAD(",FLDS="[AQACNBSTATS]",L=0,BY="'DISCHARGE DATE,SERVICE=""OB"",NBN ICD-9'="""",+CONTRACT FACILITY;C1;S,"" "";"" """,FR=AQASD_",,,,",TO=AQAFD_",,,,"
 D PRT^AQACQR
 Q