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

BHLIN001.m

Go to the documentation of this file.
  1. BHLIN001 ; ; 7-JUL-1997
  1. ;;1.0;IHS SUPPORT FOR HL7 INTERFACES;;JUL 7, 1997
  1. 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. ;;^UTILITY(U,$J,"BUL",94,0)
  1. ;;=BHLBPS RX-PCC LINK DATA ERROR^Rx => PCC DATA ERROR
  1. ;;^UTILITY(U,$J,"BUL",94,1,0)
  1. ;;=^^31^31^2961002^^^
  1. ;;^UTILITY(U,$J,"BUL",94,1,1,0)
  1. ;;=
  1. ;;^UTILITY(U,$J,"BUL",94,1,2,0)
  1. ;;=This is a message to inform you that a data error was detected while
  1. ;;^UTILITY(U,$J,"BUL",94,1,3,0)
  1. ;;=processing an HL7 message from the COTS Pharmacy system. Depending on
  1. ;;^UTILITY(U,$J,"BUL",94,1,4,0)
  1. ;;=the type of error that was detected, inaccurate data may have been entered
  1. ;;^UTILITY(U,$J,"BUL",94,1,5,0)
  1. ;;=into the PCC database, and it may be necessary to correct one or more
  1. ;;^UTILITY(U,$J,"BUL",94,1,6,0)
  1. ;;=items in the PCC database. After noting the errors listed below, refer
  1. ;;^UTILITY(U,$J,"BUL",94,1,7,0)
  1. ;;=to the IHS HL7 technical manual for information on how to correct each
  1. ;;^UTILITY(U,$J,"BUL",94,1,8,0)
  1. ;;=error.
  1. ;;^UTILITY(U,$J,"BUL",94,1,9,0)
  1. ;;=
  1. ;;^UTILITY(U,$J,"BUL",94,1,10,0)
  1. ;;=
  1. ;;^UTILITY(U,$J,"BUL",94,1,11,0)
  1. ;;=DATA RECEIVED:
  1. ;;^UTILITY(U,$J,"BUL",94,1,12,0)
  1. ;;=
  1. ;;^UTILITY(U,$J,"BUL",94,1,13,0)
  1. ;;= PCC patient name: |1|
  1. ;;^UTILITY(U,$J,"BUL",94,1,14,0)
  1. ;;= Pharmacy patient name: |2|
  1. ;;^UTILITY(U,$J,"BUL",94,1,15,0)
  1. ;;= Patient's chart number: |3|
  1. ;;^UTILITY(U,$J,"BUL",94,1,16,0)
  1. ;;= Drug name: |4|
  1. ;;^UTILITY(U,$J,"BUL",94,1,17,0)
  1. ;;= Drug dispense date: |5|
  1. ;;^UTILITY(U,$J,"BUL",94,1,18,0)
  1. ;;= Ordering provider: |6|
  1. ;;^UTILITY(U,$J,"BUL",94,1,19,0)
  1. ;;= PCC provider name: |7|
  1. ;;^UTILITY(U,$J,"BUL",94,1,20,0)
  1. ;;=
  1. ;;^UTILITY(U,$J,"BUL",94,1,21,0)
  1. ;;=
  1. ;;^UTILITY(U,$J,"BUL",94,1,22,0)
  1. ;;=ERRORS DETECTED:
  1. ;;^UTILITY(U,$J,"BUL",94,1,23,0)
  1. ;;=
  1. ;;^UTILITY(U,$J,"BUL",94,1,24,0)
  1. ;;= |8|
  1. ;;^UTILITY(U,$J,"BUL",94,1,25,0)
  1. ;;= |9|
  1. ;;^UTILITY(U,$J,"BUL",94,1,26,0)
  1. ;;= |10|
  1. ;;^UTILITY(U,$J,"BUL",94,1,27,0)
  1. ;;= |11|
  1. ;;^UTILITY(U,$J,"BUL",94,1,28,0)
  1. ;;= |12|
  1. ;;^UTILITY(U,$J,"BUL",94,1,29,0)
  1. ;;=
  1. ;;^UTILITY(U,$J,"BUL",94,1,30,0)
  1. ;;=For detailed information on how to correct these errors, see the IHS HL7
  1. ;;^UTILITY(U,$J,"BUL",94,1,31,0)
  1. ;;=technical manual.
  1. ;;^UTILITY(U,$J,"BUL",94,3,0)
  1. ;;=^^2^2^2961002^^^^
  1. ;;^UTILITY(U,$J,"BUL",94,3,1,0)
  1. ;;=This bulletin is sent when a rx is passed from the COTS Pharmacy
  1. ;;^UTILITY(U,$J,"BUL",94,3,2,0)
  1. ;;=system and a data error or mismatch is detected.
  1. ;;^UTILITY(U,$J,"BUL",94,4,0)
  1. ;;=^3.64A^1^1
  1. ;;^UTILITY(U,$J,"BUL",94,4,1,0)
  1. ;;=1
  1. ;;^UTILITY(U,$J,"BUL",95,0)
  1. ;;=BHLBPS RX-PCC MESSAGE ERROR^Rx => PCC MESSAGE ERROR
  1. ;;^UTILITY(U,$J,"BUL",95,1,0)
  1. ;;=^^10^10^2961003^
  1. ;;^UTILITY(U,$J,"BUL",95,1,1,0)
  1. ;;=This is a message to inform you that a message from the COTS pharmacy
  1. ;;^UTILITY(U,$J,"BUL",95,1,2,0)
  1. ;;=system could not be processed due to an error condition. The specific
  1. ;;^UTILITY(U,$J,"BUL",95,1,3,0)
  1. ;;=error is listed below. The pharmacy message was rejected and the COTS
  1. ;;^UTILITY(U,$J,"BUL",95,1,4,0)
  1. ;;=pharmacy system was notified of the error via an HL7 Application Error
  1. ;;^UTILITY(U,$J,"BUL",95,1,5,0)
  1. ;;=message. After noting the error listed below, please refer to the
  1. ;;^UTILITY(U,$J,"BUL",95,1,6,0)
  1. ;;=IHS HL7 technical manual for information on how to resolve the error.
  1. ;;^UTILITY(U,$J,"BUL",95,1,7,0)
  1. ;;=
  1. ;;^UTILITY(U,$J,"BUL",95,1,8,0)
  1. ;;=Error Message: |1|
  1. ;;^UTILITY(U,$J,"BUL",95,1,9,0)
  1. ;;=Error Data: |2|
  1. ;;^UTILITY(U,$J,"BUL",95,1,10,0)
  1. ;;=Message IEN: |3|
  1. ;;^UTILITY(U,$J,"BUL",95,3,0)
  1. ;;=^^3^3^2961003^^^^
  1. ;;^UTILITY(U,$J,"BUL",95,3,1,0)
  1. ;;=This bulletin is sent when a message from the COTS pharmacy system
  1. ;;^UTILITY(U,$J,"BUL",95,3,2,0)
  1. ;;=is rejected for processing by the BHLBPS pharmacy application due to
  1. ;;^UTILITY(U,$J,"BUL",95,3,3,0)
  1. ;;=an error condition.
  1. ;;^UTILITY(U,$J,"PKG",237,0)
  1. ;;=IHS SUPPORT FOR HL7 INTERFACES^BHL^This package is utilized for the electronic exchange of data
  1. ;;^UTILITY(U,$J,"PKG",237,22,0)
  1. ;;=^9.49I^1^1
  1. ;;^UTILITY(U,$J,"PKG",237,22,1,0)
  1. ;;=1.0^2970707
  1. ;;^UTILITY(U,$J,"PKG",237,22,"B","1.0",1)
  1. ;;=