ORWDPS33 CLZDS (4757)    REMOTE PROCEDURE (8994)

Name Value
NAME ORWDPS33 CLZDS
TAG CLZDS
ROUTINE ORWDPS33
RETURN VALUE TYPE SINGLE VALUE
DESCRIPTION
This RPC will validate the days supply for a Clozapine patient when 
Patient eligibility for this medication will only allow a Days Supply of 7
with 0 refills
  
For a BI-WEEKLY dispense frequency:
Patient eligibility for this medication will only allow a Days Supply of 
14 days with 0 refills, or 7 days with up to 1 refill
  
For a MONTHLY dispense frequency:
Patient eligibility for this medication will only allow a Days Supply of 
28 days with 0 refills, 14 days with up to 1 refill, or 7 days with up to 
accepting the order in CPRS.
3 refills
It will return a 1 if the days supply passed is 7, 14 or 28 depending on
patient's dispense frequency in the CLOZAPINE PATIENT LIST file (#603.01).
  
For any other days supply, it'll return a zero with one of the following 
messages:
  
For a WEEKLY dispense frequency:
INPUT PARAMETER
  • PATIENT IEN
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
  • DRUG IEN
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
  • DAYS SUPPLY
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   3
  • ORDERABLE ITEM IEN
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   4