Ignore:
Timestamp:
Dec 4, 2009, 8:26:01 PM (14 years ago)
Author:
George Lilly
Message:

WorldVistAEHR overlayed on FOIAVistA

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  
    11ALPBINP ;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
    43 ;This routine will intercept the HL7 message that it sent from Pharmacy
    54 ;to CPRS to update order information. The message is then parsed and
     
    4645 D EN^PSJBCBU(ALPDFN,ALPORD,.ALPB)
    4746SEED ;Entry point for ^ALPBIND
    48  N VAIN
    4947 D INIT
    5048 S SUB=0 F  S SUB=$O(ALPB(SUB)) Q:'SUB  D
     
    6765 ;Get the Division that the patient is associated with
    6866 D PDIV
    69  I ALPDIV="DOM",+$$GET^XPAR("PKG.BAR CODE MED ADMIN","PSB BKUP DOM FILTER",1,"Q")>0 Q "0^^Screen of DOMICILIARY"
     67 I ALPDIV="DOM" Q "0^^Screen of DOMICILIARY"
    7068 I '$D(HLL("LINKS")) Q "0^HL7^Missing HLL Links Array Division # "_ALPDIV
    7169 ;SET NEW PV1
     
    144142 S ALPDIV=$$DIV^ALPBUTL1(ALPDFN,ALPBMDT)
    145143 ;Screen Dom
    146  I ALPDIV="DOM",+$$GET^XPAR("PKG.BAR CODE MED ADMIN","PSB BKUP DOM FILTER",1,"Q")>0 Q
     144 Q:ALPDIV="DOM"
    147145 ;Now do I send the Message or not Based of Division
    148146 I $D(ALPHLL("LINKS")) M HLL("LINKS")=ALPHLL("LINKS")
     
    161159 ;Get the Division that the patient is associated with
    162160 D PDIV
    163  I ALPDIV="DOM",+$$GET^XPAR("PKG.BAR CODE MED ADMIN","PSB BKUP DOM FILTER",1,"Q")>0 Q "0^^Screen of DOMICILIARY"
     161 I ALPDIV="DOM" Q "0^^Screen of DOMICILIARY"
    164162 I '$D(HLL("LINKS")) Q "0^"_ALPML_"^Missing HLL Links Array Med-Log"
    165163 S ALPST=$P($G(^PSB(53.79,ALPML,0)),U,9)
     
    202200 ;Get the Division that the patient is associated with
    203201 D PDIV
    204  I ALPDIV="DOM",+$$GET^XPAR("PKG.BAR CODE MED ADMIN","PSB BKUP DOM FILTER",1,"Q")>0 Q "0^^Screen of DOMICILIARY"
     202 I ALPDIV="DOM" Q "0^^Screen of DOMICILIARY"
    205203 I '$D(HLL("LINKS")) Q "0^"_ALPDFN_"^Missing HLL Links Array Pat-Move"
    206204 S HLA("HLS",1)=$$EN^VAFHLPID(ALPDFN,"2,7,8,19")
Note: See TracChangeset for help on using the changeset viewer.