PSSDSAPI ;BIR/RTR - Dose Check APIs routine ; Jun 09, 2008@16:00
Source file <PSSDSAPI.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| EXMT(PSSVLIEN) | ;Test if Drug should have Dose Call performed on it
 | 
 
  | 
| SUP(PSSSPLIN) | ;Screen for Drug Interaction and Duplicate Therapy
 | 
 
  | 
| MRT(PSSRS1) | ;Return Standard Medication Route and First DataBank Route
 | 
 
  | 
| MRTX | ;
 | 
|
| UNIT(PSSVUTUN) | ;Find First DataBank Unit, can't do DIC Lookup because of exact match check
 | 
 
  | 
| UNITP | ;
 | 
|
| UNITX | ;
 | 
|
| FRQ(PSSFWSCC,PSSFWFR,PSSFWPK,PSSFWDRL,PSSDRG) | ;Return Daily Frequency for Daily Dose Check
 | 
 
  | 
| FRQZ() | ;
 | 
|
| DAY | ;Day of week schedule
 | 
|
| DAY1 | ;Process schedule for the second piece of DOW@SCHEDULE
 | 
|
| DAYOUT | ;Day of week for Outpatient orders
 | 
|
| DAYOUT1 | ;Cont. DOW for Outpatient orders
 | 
|
| NUMB | ;Frequency passed in as a number
 | 
|
| STN | ;Standard Logic
 | 
|
| STNO | ;Standard Logic part 2, using File 51, For Outpatient Orders only
 | 
|
| DS() | ; Return 1 if Dose Checks are enabled, return 0 if Dose Checks are not enabled, 2.0 message to OR & 2.1 message to IP & OP
 | 
 
  | 
| DS1() | ; called from $$DS to break line length
 | 
|
| DS2() | ; called from $$DS to break line length
 | 
|
| IV(PSSADFOI) | ;Return Additive Frequency default to CPRS, Forum DBIA 5425
 | 
 
  | 
| BSA(PSSBSADF) | ;
 | 
 
  | 
| UNITD(PSSVUTUN) | ;Find First DataBank Unit, can't do DIC Lookup because of exact match check
 | 
 
  | 
| UNITDP | ;
 | 
|
| UNITDX | ;
 | 
|
| DURLS | ;If Duration is less that 24 hours, make Frequency adjustments if applicable
 | 
|
| DLTM(PSSNVTOI) | ;Check if all drugs for a Non-VA Med order are exempt, if so, kill Input exceptions and Quit
 | 
|
| EMSY() | ;Return 1 if there are matched supplies, no active drugs, regardless of Package use
 | 
| FileNo | Call Tags | 
|---|---|
| ^PS(51.2 - [#51.2] | GET1^DIQ | 
| ^PS(52.6 - [#52.6] | GET1^DIQ |