Changeset 636 for FOIAVistA/tag/r/BAR_CODE_MED_ADMIN-ALPB-PSB/ALPBINP.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/ALPBINP.m
r628 r636 1 1 ALPBINP ;OIFO-DALLAS/SED/KC/MW BCMA - BCBU INPT TO HL7 ;5/2/2002 2 ;;3.0;BAR CODE MED ADMIN;**8,37**;May 2007;Build 10 3 ;;Per VHA Directive 2004-038, this routine should not be modified. 2 ;;3.0;BAR CODE MED ADMIN;**8**;Mar 2004 4 3 ;This routine will intercept the HL7 message that it sent from Pharmacy 5 4 ;to CPRS to update order information. The message is then parsed and … … 46 45 D EN^PSJBCBU(ALPDFN,ALPORD,.ALPB) 47 46 SEED ;Entry point for ^ALPBIND 48 N VAIN49 47 D INIT 50 48 S SUB=0 F S SUB=$O(ALPB(SUB)) Q:'SUB D … … 67 65 ;Get the Division that the patient is associated with 68 66 D PDIV 69 I ALPDIV="DOM" ,+$$GET^XPAR("PKG.BAR CODE MED ADMIN","PSB BKUP DOM FILTER",1,"Q")>0Q "0^^Screen of DOMICILIARY"67 I ALPDIV="DOM" Q "0^^Screen of DOMICILIARY" 70 68 I '$D(HLL("LINKS")) Q "0^HL7^Missing HLL Links Array Division # "_ALPDIV 71 69 ;SET NEW PV1 … … 144 142 S ALPDIV=$$DIV^ALPBUTL1(ALPDFN,ALPBMDT) 145 143 ;Screen Dom 146 I ALPDIV="DOM",+$$GET^XPAR("PKG.BAR CODE MED ADMIN","PSB BKUP DOM FILTER",1,"Q")>0 Q144 Q:ALPDIV="DOM" 147 145 ;Now do I send the Message or not Based of Division 148 146 I $D(ALPHLL("LINKS")) M HLL("LINKS")=ALPHLL("LINKS") … … 161 159 ;Get the Division that the patient is associated with 162 160 D PDIV 163 I ALPDIV="DOM" ,+$$GET^XPAR("PKG.BAR CODE MED ADMIN","PSB BKUP DOM FILTER",1,"Q")>0Q "0^^Screen of DOMICILIARY"161 I ALPDIV="DOM" Q "0^^Screen of DOMICILIARY" 164 162 I '$D(HLL("LINKS")) Q "0^"_ALPML_"^Missing HLL Links Array Med-Log" 165 163 S ALPST=$P($G(^PSB(53.79,ALPML,0)),U,9) … … 202 200 ;Get the Division that the patient is associated with 203 201 D PDIV 204 I ALPDIV="DOM" ,+$$GET^XPAR("PKG.BAR CODE MED ADMIN","PSB BKUP DOM FILTER",1,"Q")>0Q "0^^Screen of DOMICILIARY"202 I ALPDIV="DOM" Q "0^^Screen of DOMICILIARY" 205 203 I '$D(HLL("LINKS")) Q "0^"_ALPDFN_"^Missing HLL Links Array Pat-Move" 206 204 S HLA("HLS",1)=$$EN^VAFHLPID(ALPDFN,"2,7,8,19")
Note:
See TracChangeset
for help on using the changeset viewer.