1. Pharmacy Industry Product
Transfer Transaction
X12 - 867
Author: Dallas Richardson
Contact: EDI_Trainer@yahoo.com
Copyright Remora Bay Co., all rights reserved.
Author: Dallas Richardson, EDI and Supply Chain Pharmacy PM/BA Page 1
2. Overview
The purpose of this document is to provide a basis and companion guide for producing
pharmaceutical product sales or transfers in an electronic protocol, using the ANSII X12 867 EDI
transaction, which has several versions and a set of applied syntax and business rules as well as
qualifiers and code sets. Additionally, the pharmaceutical industry has also been mandated by the
US government to comply to the Drug Quality and Security Act of 2013, Signed Nov. 27, 2013,
including title II, called the DSCSA (Drug Supply Chain Security Act). In addition to the mandate for
serializing drug products, certain EDI transactions are instrumental in accomplishing this task,
specifically, the 856 Advance Shipping Notice / Manifest and the 867 Product Transfer and Sales
Report Transaction, which is to be covered in this document.
Transaction Example
To advance the topic, an 867 transaction has been included below, along with a
corresponding User GUI Screen. More information is available than is displayed here; however, a
companion-guide-level explanation is to follow. The displays herein are screen prints from the
Remora Bay Co’s 856/867 pharmacy tool set, which was made to facilitate the DQSA / DSCSA
mandates, testing, production or support efforts.
(Screen copyright by Remora Bay Co., from the Remora Bay Co. 856 / 867 Pharmacy Supply Chain Tool)
Author: Dallas Richardson, EDI and Supply Chain Pharmacy PM/BA Page 2
3. Segment and Element Definitions
The following section has been created as a companion guide to facilitate the testing, support
and production of the 867 Product Transfer transactions. Questions and consulting services may
be secured from the Texas EDI Corporation or by contacting EDI_Trainer@Yahoo.com or
Info@RemoraBay.com
The “# ???” numbers, listed in the table below, are ID references to the X12 element ID’s,
which may be looked-up with any ANSII X12 EDI guide. Red-highlighted codes may indicate
preferred or best practices recommendations.
Transaction: 867
Segment
Element
ID #
Code Sets
Element
Position
Notes
BRP = Beginning Segment for Product Transfer and Sale Report
BPR*(#353)*(ID #)*(Date)*(Report Type Code #755)~
Example: BPR*47*20001*20150214*01~
353: 01 = Cancellation
02 = Add
03 = Delete
04 = Change
13 = Request
22 = Information Copy
47 = Transfer
00 = Original
CO = Corrected
BPR-01
755: 01 = Product Transfer
02 = Resale
B3 = Physician order
BC = Bill of lading
PR = Purchase report
PF = Product specification
PG = Packaging Specification
SM = Shipping Manifest
SN = Shipping Notice
XP = Photographs
BPR-04
CUR = Currency
CUR*(#98)*(#100)~
Example: CUR*SE*USD~
98: SE = Selling Party
R6 = Requester
41 = Submitter
40 = Receiver
CUR-01
100: USD = US Dollars CUR-02
Author: Dallas Richardson, EDI and Supply Chain Pharmacy PM/BA Page 3
4. DTM = Date / Time Reference
DTM*(#374)*(#373)*(337)~
Example: DTM*193*20150214~
374: 003 = Invoice
006 = Sold
193 = Period start
194 = Period end
321 = Purchased
323 = Replaced
324 = Returned
373 = Order start
374 = Order end
382 = Changed
468 = Prescription fill
469 = Provider signature
472 = Service
514 = Transferred
585 = Report
771 = Status
816 = Trade date
881 = Request
925 = Processing
AAH = Event
337: HHMM or HHMMSS
N1 = Name
N1*(#98)*(Name)~
Example: N1*TT*ABC PHARMACY~
98: DS = Distributer
TT = Transfer to
SE = Selling party
M9 = Manufacturing
MF = Manufacturer of goods
QC = Patient
QH = Physician
S4 = Skilled Nursing Facility (SNF)
PTD = Product Transfer and Resale Detail
PTD*(#521)*2*3*(#128)*(#127)~
Example: PTD*IB***TF*ABC-123~
521: BV = Physical delivery
CO = Replacement due to complaint
CS = Contract sale
DS = Drop ship sale
OF = Offshore movement / sale
ON = Onshore movement / sale
IB = Inter branch
IA = Inventory Adjustment
SA = Stocking adjustment
Author: Dallas Richardson, EDI and Supply Chain Pharmacy PM/BA Page 4
5. TD = Transfer for disposal
128: TB = Trucker’s bill of lading
SW = Seller’s sale number
TG = TCN: Transaction control number
DO = Delivery Order Number
DR = Dock Receipt Number
BT = Batch number
BM = Bill of lading number
TF = Transfer number
TJ = Federal TIN
MAN = Marks and Number
MAN*(#88)*(#87)*(#87)*(#88)*(#87)*(#87)~
Example: MAN*UC*1234567703~
88: W = Pallat number
CA = Shipper-assigned case number
MC = Master carton number
SM = Shipper assigned
UC = UPC Shipping Container Code/SCC
SII = Sales Item Information
SII*(#235)*(#234)*(#380)~
Example: SII*PO*PONUM-042043~
235: HC = HCPCS code
HI = HIBC:Health Care Industry Bar Code
PG = Packaging specification number
PN = Company part number
PO = Purchase Order number
TH = Transfer case serial number
234: (Product ID)
380: (Quantity)
LIN = Item Identification
LIN*(Assigned ID #)*(Prod ID Qual. # 235)*(ID # 234) *(Prod ID Qual. # 235)*(ID # 234)*…10 more~
Example: LIN*0001*ND*4227050587*LT*2200877~
235: VC = Vendor’s (Seller’s) catalog #
UA = Universal product number
VO = Vendor’s order number
SW = Stock number
LT = Lot number
MN = Model number
ND = NDC / National Drug Code
OT = Internal number
PO4 = Physical Details
PO4*(Pack #356)*(Size #357)*(Unit of Measure #355)*(Packaging code #103)*(Weight
Qual#187)*(Gross weight #384)~
Example: PO4*100*12*DZ*PKCD-0034~
356: Number of inner containers
357: Size of supplier units in pack
Author: Dallas Richardson, EDI and Supply Chain Pharmacy PM/BA Page 5
6. 355: Unit of Measure
FO = Fluid ounce
FP = Pounds per square foot
DZ = Dozen
GS = Gross
UN = Unit
MI = Metric
GA = Gallon
DR = Drum
DB = Dry pounds
CF = Cubic feet
CI = Cubic inches
BO = Bottle
UIT = Unit Detail
UIT*(Composite C001)*(Unit Price # 212)*(Base unit price code #639)~
Example: UIT*EA*5*PE~
639: PE = Price per each
AMT = Amount
AMT*(#522)*(Amount)~
Example: AMT*1*625.96~
522: 1 = Line item total
FE = Fee
GW = Total charge
GX = Total credit
GY = Total debt
FN = Fine
SD = Sales charge
CTT = Transaction Totals
CTT*(Number of line items#354)*(Hash total # 347)*(Weight # 81)*(Unit of measure #355)*(Vol.#183)
Example: CTT*1~
354: Number of line items
347: Hashing routine
Author: Dallas Richardson, EDI and Supply Chain Pharmacy PM/BA Page 6
7. Pharmaceutical Supply Chain Product Flow
(Example of product flow with 856 ASN and 867 Product Transfer Transactions)
The following flow chart displays the function processes for pharmaceutical product
transfers. An 856 Advance Shipping Notice or Shipping Manifest as well as an 867
Product Transfer Report may be sent between any two trading partners; typically,
these two transactions come from the supply chain source, which is the
pharmaceutical manufacturer or the wholesale distributer. Ultimately, these
transactions are used to move products to the specified pharmacy trading partner,
where they can be distributed to the patient. The DSCSA mandates are moving the
pharmacy industry to a process involving serialized pharmacy products, where each
product has its own pedigree and, therefore, can be tracked from
source/manufacturer to the end pharmacy.
Author: Dallas Richardson, EDI and Supply Chain Pharmacy PM/BA Page 7