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

PSGWI003.m

Go to the documentation of this file.
  1. PSGWI003 ; ; 04-JAN-1994
  1. ;;2.3; Automatic Replenishment/Ward Stock ;;4 JAN 94
  1. Q:'DIFQ(50) F I=1:2 S X=$T(Q+I) Q:X="" S Y=$E($T(Q+I+1),4,999),X=$E(X,4,999) S:$A(Y)=126 I=I+1,Y=$E(Y,2,999)_$E($T(Q+I+1),5,99) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
  1. Q Q
  1. ;;^DD(50,301,3)
  1. ;;=Enter the category that this drug is to be classified as for AMIS statistics in Automatic Replenishment/Ward Stock.
  1. ;;^DD(50,301,20,0)
  1. ;;=^.3LA^1^1
  1. ;;^DD(50,301,20,1,0)
  1. ;;=PSGW
  1. ;;^DD(50,301,21,0)
  1. ;;=^^2^2^2901030^
  1. ;;^DD(50,301,21,1,0)
  1. ;;=This refers to the category that this drug is to be classified as for AMIS
  1. ;;^DD(50,301,21,2,0)
  1. ;;=statistics in Automatic Replenishment/Ward Stock.
  1. ;;^DD(50,301,"DT")
  1. ;;=2881213
  1. ;;^DD(50,302,0)
  1. ;;=AR/WS AMIS CONVERSION NUMBER^NJ4,0^^PSG;3^K:+X'=X!(X>9999)!(X<1)!(X?.E1"."1N.N) X
  1. ;;^DD(50,302,3)
  1. ;;=Enter a whole number between 1 and 9999, 0 Decimal Digits.
  1. ;;^DD(50,302,20,0)
  1. ;;=^.3LA^1^1
  1. ;;^DD(50,302,20,1,0)
  1. ;;=PSGW
  1. ;;^DD(50,302,21,0)
  1. ;;=^^8^8^2910221^^^^
  1. ;;^DD(50,302,21,1,0)
  1. ;;=This number reflects the number of doses/units contained in the dispensed
  1. ;;^DD(50,302,21,2,0)
  1. ;;=drug for Automatic Replenishment/Ward Stock AMIS statistics.
  1. ;;^DD(50,302,21,3,0)
  1. ;;=For example: For a 20cc vial, the quantity dispensed is 1, and
  1. ;;^DD(50,302,21,4,0)
  1. ;;= the conversion number is 20.
  1. ;;^DD(50,302,21,5,0)
  1. ;;= For 5 oz. antacid, the quantity dispensed is 1, and
  1. ;;^DD(50,302,21,6,0)
  1. ;;= the conversion number is 1.
  1. ;;^DD(50,302,21,7,0)
  1. ;;= For a bottle of 100 aspirin, the quantity dispensed is 1,
  1. ;;^DD(50,302,21,8,0)
  1. ;;= and the conversion number is 100.
  1. ;;^DD(50,302,"DT")
  1. ;;=2870501