Changeset 636 for FOIAVistA/tag/r/BAR_CODE_MED_ADMIN-ALPB-PSB/PSBRPC2.m
- Timestamp:
- Dec 4, 2009, 8:26:01 PM (14 years ago)
- Location:
- FOIAVistA/tag/r
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
FOIAVistA/tag/r/BAR_CODE_MED_ADMIN-ALPB-PSB/PSBRPC2.m
r628 r636 1 PSBRPC2 ;BIRMINGHAM/EFC-BCMA RPC BROKER CALLS ; Mar 20042 ;;3.0;BAR CODE MED ADMIN;**6,3,16,32 **;Mar 2004;Build 321 PSBRPC2 ;BIRMINGHAM/EFC-BCMA RPC BROKER CALLS ;7:42 PM 30 Jan 2008 2 ;;3.0;BAR CODE MED ADMIN;**6,3,16,32,WVEHR1**;WorldVistA 30-Jan-08 3 3 ;Per VHA Directive 2004-038 (or future revisions regarding same), this routine should not be modified. 4 ; 5 ;Modified from FOIA VISTA, 6 ;Copyright 2008 WorldVistA. Licensed under the terms of the GNU 7 ;General Public License See attached copy of the License. 8 ; 9 ;This program is free software; you can redistribute it and/or modify 10 ;it under the terms of the GNU General Public License as published by 11 ;the Free Software Foundation; either version 2 of the License, or 12 ;(at your option) any later version. 13 ; 14 ;This program is distributed in the hope that it will be useful, 15 ;but WITHOUT ANY WARRANTY; without even the implied warranty of 16 ;MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 ;GNU General Public License for more details. 18 ; 19 ;You should have received a copy of the GNU General Public License along 20 ;with this program; if not, write to the Free Software Foundation, Inc., 21 ;51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 4 22 ; 5 23 ; Reference/IA … … 54 72 Q 55 73 ; 56 BAGDTL(RESULTS,PSBUID,PSBORD) 74 BAGDTL(RESULTS,PSBUID,PSBORD) ; bag detail 57 75 I $G(DFN)="" S DFN=+PSBUID 58 76 S (PSBIEN,X)="" F S X=$O(^PSB(53.79,"AUID",DFN,X)) Q:X="" S:$D(^PSB(53.79,"AUID",DFN,X,PSBUID)) PSBIEN=$O(^PSB(53.79,"AUID",DFN,X,PSBUID,"")) Q:PSBIEN]"" … … 85 103 INITIAL(PSBDUZ) ; 86 104 Q $$GET1^DIQ(200,PSBDUZ,"INITIAL") 87 SCANMED(RESULTS,PSBDIEN,PSBTAB) 105 SCANMED(RESULTS,PSBDIEN,PSBTAB) ; Lookup Medication 88 106 ; 89 107 ; RPC: PSB SCANMED
Note:
See TracChangeset
for help on using the changeset viewer.