Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points
Print Page as PDF
Routine: PSSSCHMS

Package: Pharmacy Data Management

Routine: PSSSCHMS


Information

PSSSCHMS ;BIR/MV-Frequency utilities routine ;09/13/10

Source Information

Source file <PSSSCHMS.m>

Entry Points

Name Comments DBIA/ICR reference
OLDSCH(PSSFWSCC) ;Get IEN for .01 of the schedule file from the Old Schedule name
OLD51(PSSFWSCC) ;Get IEN for .01 of the Med Instruction file from the Old Med Instruction name
DCFSCH(PSSIEN,PSSDDIEN,PSSFWDRL) ;Dosing Check Frequency process for 51.1
DCFSCHD(PSSIEN,PSSFWDRL,PSSDCF,PSSFRQF) ;Adjusting the frequency based on the order duration
DCF51(PSSIEN,PSSDDIEN,PSSFWDRL) ;Dosing Check Frequency process for Med Instruction file
MULTSCH(PSSMSCH,PSSFWFR,PSSFWPK,PSSFWDRL) ;Return Frequency for PSSMSCHD with multi schedules
ONETIME(PSSSCHD) ;check for one-time, now, oncall schedules
DOWAT(PSSFWSCC,PSSDDIEN) ;
DOWIEN(PSSSCH,PSSSCH1,PSSSCH2) ;
AT(PSSAT,PSSDIG) ;return admin time(s) in 2 or 4 digits format
SCHAT(PSSIEN,PSSSCH1,PSSSCH2) ;return PSSIEN from 51.1 for DOW
ADDAT(PSSFWSCC) ;concatenate admin times from 51.1 to the schedule name for DOW
CONVSCH(PSSFRQ) ;Convert numeric frequency to a schedule
NOTALLDD(PSSGTOI,PSSIEN) ;When only OI is sent from CPRS, all DDs must be defined in 51.1 in order for the DCF value to be used.
CHKIPDUR() ;Check if CPRR IP has a duration <24hrs
ADMIN(DFN,PSSSCHD) ;Determine if admin times for the ward should be used
DOSECNT(PSSEFD,PSSAT,PSSDUR) ;count # of dose for duration <24h
SCHD ;^PSSDSAPD is too big - move it here.
Info |  Source |  Entry Points