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

ABSPOSQD.m

Go to the documentation of this file.
ABSPOSQD ; IHS/FCS/DRS - POS background Part 1 ; 
 ;;1.0;PHARMACY POINT OF SALE;;JUN 21, 2001
 Q
 ;
SETVCN ;EP - from ABSPOSQD ; APCDVCN = lookup / assign VCN
 N ASSIGNED ; was it assigned here?
 S APCDVCN=$P($G(^AUPNVSIT(ABSBVISI,"VCN")),U)
 I APCDVCN="" D
 . N DA,REC,PATPOINT,LOCPOINT,SERVCAT,HRN,VCNT,VRN,CNT,J
 . S DA=ABSBVISI D ^ABSBVCN
 . S APCDVCN=$P($G(^AUPNVSIT(ABSBVISI,"VCN")),U)
 . S ASSIGNED=1
 E  S ASSIGNED=0
 S X="VISIT - " S:ASSIGNED X=X_"Assigned "
 S X=X_"VCN "_APCDVCN_" (`"_ABSBVISI_")"
 D LOG^ABSPOSL(X)
 Q