PSOASAP ;BIRM/MFR - American Society for Automation in Pharmacy (ASAP) Field Values ;Jun 04, 2025@11:49:34
Source file <PSOASAP.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| TH01() | ;ASAP Version (3.0, 4.0, 4.1, 4.2, etc.)
 | 
|
| TH02() | ;ASAP 3.0 : Business Partner Implemetation Version (Not Used)
 ; ASAP 4.0+: Transaction Control Number  | 
|
| TH03() | ;ASAP 3.0 : Transaction Control Number
 ; ASAP 4.0+: Transaction Type (Always "01" - Send/Request Transaction)  | 
|
| TH04() | ;ASAP 3.0 : Transaction Type (Not Used)
 ; ASAP 4.0+: Response ID (Not Used)  | 
|
| TH05() | ;ASAP 3.0 : Message Type (Not Used)
 ; ASAP 4.0+: Creation Date (Format: YYYYMMDD)  | 
|
| TH06() | ;ASAP 3.0 : Response ID (Not Used)
 ; ASAP 4.0+: Creation Time. Format: HHMMSS or HHMM  | 
|
| TH07() | ;ASAP 3.0 : Project ID (Not Used)
 ; ASAP 4.0+: File Type. Returns: "T" - Test or "P" - Production  | 
|
| TH08() | ;ASAP 3.0 : Creation Date (Format: YYYYMMDD)
 ; ASAP 4.0 : Composite Element Separator (:) ; ASAP 4.1+: Routing Number (Real-time transactions only)(Not Used)  | 
|
| TH09() | ;ASAP 3.0 : Creation Time. Format: HHMMSS or HHMM
 ; ASAP 4.0+: Segment Terminator Character  | 
|
| TH10() | ;ASAP 3.0 : File Type
 ; ASAP 4.0+: N/A  | 
|
| TH11() | ;ASAP 3.0 : Message (Not Used)
 ; ASAP 4.0+: N/A  | 
|
| TH12() | ;ASAP 3.0 : Composite Element Separator
 ; ASAP 4.0+: N/A  | 
|
| TH13() | ;ASAP 3.0 : Data Segment Terminator Character
 ; ASAP 4.0+: N/A  | 
|
| IS01() | ; Unique Information Source ID
 | 
|
| IS02() | ; Information Source Entity Name
 | 
|
| IS03() | ;ASAP 3.0 : Address Information 1 (Not Used)
 ; ASAP 4.0+: Message (Not Used) ; ZERO RPT 4.0+: Date Range of Report  | 
|
| IS04() | ;ASAP 3.0 : Address Information 2 (Not Used)
 ; ASAP 4.0+: N/A ; ASAP 5.0 : send VistA vendor  | 
|
| IS05() | ;ASAP 3.0 : City Address (Not Used)
 ; ASAP 4.0+: N/A ; ASAP 5.0 : send null  | 
|
| IS06() | ;ASAP 3.0 : State Address (Not Used)
 ; ASAP 4.0+: N/A  | 
|
| IS07() | ;ASAP 3.0 : Zip code Address (Not Used)
 ; ASAP 4.0+: N/A  | 
|
| IS08() | ;ASAP 3.0 : Phone Number (Not Used)
 ; ASAP 4.0+: N/A  | 
|
| IS09() | ;ASAP 3.0 : Contact Name (Not Used)
 ; ASAP 4.0+: N/A  | 
|
| IS10() | ;ASAP 3.0 : Message (Not Used)
 ; ASAP 4.0+: N/A  | 
|
| IS11() | ;ASAP 3.0 : Data Entry Terminal ID (Not Used)
 ; ASAP 4.0+: N/A  | 
|
| IR01() | ; Unique Information Receiver ID
 | 
|
| IR02() | ; Information Receiver Entity Name
 | 
|
| IR03() | ;Address Information 1 (Not Used)
 | 
|
| IR04() | ;Address Information 2 (Not Used)
 | 
|
| IR05() | ;City Address (Not Used)
 | 
|
| IR06() | ;State Address (Not Used)
 | 
|
| IR07() | ;Zip code Address (Not Used)
 | 
|
| IR08() | ;Phone Number (Not Used)
 | 
|
| IR09() | ;Contact Name (Not Used)
 | 
|
| IR10() | ;Message (Not Used)
 | 
|
| PHA01() | ; National Provider Identifier (NPI)
 | 
|
| PHA02() | ;NCPDP/NABP Provider ID
 | 
|
| PHA03() | ;Pharmacy DEA Number
 | 
|
| PHA04() | ;Pharmacy Name
 | 
|
| PHA05() | ;Pharmacy Address Information - Line 1
 | 
|
| PHA06() | ; Pharmacy Address Information - Line 2 (Not Used)
 | 
|
| PHA07() | ;Pharmacy City Address
 | 
|
| PHA08() | ;Pharmacy State Address
 | 
|
| PHA09() | ;Pharmacy ZIP Code
 | 
|
| PHA10() | ;Phone Number
 | 
|
| PHA11() | ;Pharmacy Contact name (Not Used)
 | 
|
| PHA12() | ;Pharmacy Chain Site ID (Not Used)
 | 
|
| PHA13() | ;Message (Not Used)
 | 
|
| PAT01() | ;  ASAP 3.0 : Not Used
 ; ASAP 4.0+: ID Qualifier of Patient Identifier (Always "US" - United States)  | 
|
| PAT02() | ;ID Qualifier (Always "07" - Social Security Number)
 | 
|
| PAT03() | ;ASAP 3.0 : Unique System ID - Patient (Not Used)
 ; ASAP 4.0+: ID of Patient (SSN)  | 
|
| PAT04() | ;ASAP 3.0 : SSN
 ; ASAP 4.0+: ID Qualifier of Additional Patient Identifier (Not Used)  | 
|
| PAT05() | ;Additional Patient ID Qualifier (Not Used)
 | 
|
| PAT06() | ;Additional ID (Not Used)
 | 
|
| PAT07() | ;Patient Last Name
 | 
|
| PAT08() | ;Patient First Name
 | 
|
| PAT09() | ;Patient Middle Name or Initial
 | 
|
| PAT10() | ;Name Prefix
 | 
|
| PAT11() | ;Name Suffix
 | 
|
| PAT12() | ;Patient Address Information - Line 1
 | 
|
| PAT13() | ;Patient Address Information - Line 2
 | 
|
| PAT14() | ;Patient City Address
 | 
|
| PAT15() | ;Patient State Address
 | 
|
| PAT16() | ;Patient ZIP Code
 | 
|
| PAT17() | ;Patient Phone Number
 | 
|
| PAT18() | ;ASAP 3.0 : Email Address (Not Used)
 ; ASAP 4.0+: Patient DOB  | 
|
| PAT19() | ;ASAP 3.0 : Patient DOB
 ; ASAP 4.0+: Patient Gender Code  | 
|
| PAT20() | ;ASAP 3.0 : Patient Gender Code
 ; ASAP 4.0+: Species Code (Always return "01" for 'Human')  | 
|
| PAT21() | ;Patient Location Code (Always return "10" for 'Outpatient')
 | 
|
| PAT22() | ;ASAP 3.0 : Primary Prescription Coverage Type (Not Used)
 ; ASAP 4.0+:Country of Non-U.S. Resident  | 
|
| PAT23() | ;ASAP 3.0: Secondary Prescription Coverage Type (Not Used)
 | 
|
| RX01() | ;Reporting Status ("01" - Add / "02" - Change / "03" - Delete)
 | 
|
| RX02() | ;Program Participation Status (Not Used)
 | 
|
| RX03() | ;Prescription Number
 | 
|
| RX04() | ;Unique System ID() - RPh (Not Used)
 | 
|
| RX05() | ;Unique System ID() - Patient (Not Used)
 | 
|
| RX06() | ;Unique System ID()  - Prescriber (Not Used)
 | 
|
| RX07() | ;Unique System ID()  - Drug (Not Used)
 | 
|
| RX08() | ;Date Rx Written (Format: YYYYMMDD)
 | 
|
| RX09() | ;RX Start Date (Not Used)
 | 
|
| RX10() | ;RX End Date (Not Used)
 | 
|
| RX11() | ;Diagnosis Code Qualifier
 | 
|
| RX12() | ;Diagnosis Code
 | 
|
| RX13() | ;Product ID Qualifier (Always return "01" for 'NDC')
 | 
|
| RX14() | ;Product ID (NDC - National Drug Code)
 | 
|
| RX15() | ;Product Description (Not Used)
 | 
|
| RX16() | ;DAW Code (Not Used)
 | 
|
| RX17() | ;Quantity Dispensed
 | 
|
| RX18() | ;Days Supply
 | 
|
| RX19() | ;Basis of Days Supply Determination (Not Used)
 | 
|
| RX20() | ;Refills Authorized
 | 
|
| RX21() | ;Refills Authorized Through Date (Not Used)
 | 
|
| RX22() | ;DEA Schedule (Not Used)
 | 
|
| RX23() | ;Unit Dose Indicator (Not Used)
 | 
|
| RX24() | ;Compound Indicator (Not Used)
 | 
|
| RX25() | ;Origin Code (Not Used)
 | 
|
| RX26() | ;Brand Versus Generic Indicator (Not Used)
 | 
|
| RX27() | ;Original Fill Date (Not Used)
 | 
|
| RX28() | ;AlternateRX Identifier (Not Used)
 | 
|
| RX29() | ;Previous RX Number (Not Used)
 | 
|
| DSP01() | ;ASAP 3.0 : Reporting Status ("01" - Add / "02" - Change / "03" - Delete)
 ; ASAP 4.0 : Reporting Status ("" - New / "01" - Revise / "02" - Void) ; ASAP 4.1+: Reporting Status ("00" - New / "01" - Revise / "02" - Void)  | 
|
| DSP02() | ;ASAP 3.0 : Program Participation Status (Not Used)
 ; ASAP 4.0+: Prescription Number (Not Used by ASAP 3.0)  | 
|
| DSP03() | ;ASAP 3.0 : Prescription Number
 ; ASAP 4.0+: Date Rx Written (Format: YYYYMMDD)  | 
|
| DSP04() | ;ASAP 3.0 : Refill Number
 ; ASAP 4.0+: Refills Authorized  | 
|
| DSP05() | ;ASAP 3.0 : Unique System ID - RPh (Not Used)
 ; ASAP 4.0+: Date Filled (Release Date) (Format: YYYYMMDD)  | 
|
| DSP06() | ;ASAP 3.0 : ;Unique System ID - Patient (Not Used)
 ; ASAP 4.0+: Refill Number (Partials are always "0")  | 
|
| DSP07() | ;ASAP 3.0 : ;Unique System ID - Prescriber (Not Used)
 ; ASAP 4.0+: Product ID Qualifier (Always return "01" for 'NDC')  | 
|
| DSP08() | ;Product ID (NDC - National Drug Code) (ASAP 3.0: Not Used)
 | 
|
| DSP09() | ;ASAP 3.0: Date Filled
 ; ASAP 4.0+: Quantity Dispensed  | 
|
| DSP10() | ;Days Supply
 | 
|
| DSP11() | ;ASAP 3.0 : Product ID Qualifier (01:NDC)
 ; ASAP 4.0+: Drug Dosage Units Code  | 
|
| DSP12() | ;ASAP 3.0: Product ID (NDC)
 ; ASAP 4.0+: Transmission Form of Rx Origin Code (Nature of Order)  | 
|
| DSP13() | ;ASAP 3.0 : Product Description (Not Used)
 ; ASAP 4.0+: Partial Fill Indicator  | 
|
| DSP14() | ;ASAP 3.0 : Quantity Dispensed
 ; ASAP 4.0+: Pharmacist National Provider Identifier (NPI)  | 
|
| DSP15() | ;ASAP 3.0 : Days Supply
 ; ASAP 4.0+: Pharmacist State License Number (Not Used)  | 
|
| DSP16() | ;ASAP 3.0 : Basis of Days Supply Determiniation (Always "3" for 'As directed by doctor')
 ; ASAP 4.0+: Classification Code for Payment Type (Always return "05" for 'Military Installations and VA')  | 
|
| DSP17() | ;ASAP 3.0 : Refills Remaining (Not Used)
 ; ASAP 4.0 : N/A (up to DSP16 only) ; ASAP 4.1+: Date Sold  | 
|
| DSP18() | ;ASAP 3.0: Refills Authorized Through Date (Not Used)
 ; ASAP 4.1: RxNorm Code (Not Used) ; ASAP 4.2: RxNorm Product Qualifier (Not Used)  | 
|
| DSP19() | ;ASAP 3.0: Previous Fill Date (Not Used)
 ; ASAP 4.1: Electronic Prescription Reference Number (Not Used) ; ASAP 4.2: RxNorm Code (Not Used)  | 
|
| DSP20() | ;ASAP 3.0: Previous Fill Quantity Dispensed (Not Used)
 ; ASAP 4.2: Electronic Prescription Reference Number (Not Used)  | 
|
| DSP21() | ;ASAP 3.0: Level of Service Code (Not Used)
 ; ASAP 4.2: Electronic Prescription Order Number (Not Used)  | 
|
| DSP22() | ;ASAP 3.0: Brand or Generic Indicator (Not Used)
 ; ASAP 4.2+: Quantity Prescribed - assign the value from DSP09 Quantity ; Dispensed when the end-user activates DSP22 from Not Used ; to Required or Optional (on a custom, unlocked ASAP version)  | 
|
| DSP23() | ;ASAP 3.0: Patient Advisory Leaflet (Not Used)
 ; ASAP 4.2a+: Rx Sig (added in 4.2a)  | 
|
| DSP24() | ;ASAP 3.0: Warning/Auxiliary Labels (Not Used)
 | 
|
| DSP25() | ;ASAP 3.0: Warning/Auxiliary Labels (Not Used)
 | 
|
| PRE01() | ;ASAP 3.0 : Not Used
 ; ASAP 4.0+: Prescriber National Provider Identifier (NPI)  | 
|
| PRE02() | ; Prescriber DEA Number
 | 
|
| PRE03() | ;ASAP 3.0 : Prescriber NPI
 ; ASAP 4.0+: Prescriber DEA Number Suffix  | 
|
| PRE04() | ;ASAP 3.0 : Prescriber DEA Number
 ; ASAP 4.0+: Prescriber State License Number (Not Used)  | 
|
| PRE05() | ;ASAP 3.0 : Prescriber DEA Number Suffix
 ; ASAP 4.0+: Prescriber Last Name  | 
|
| PRE06() | ;ASAP 3.0 : Prescriber State Lince Number (Not Used)
 ; ASAP 4.0+: Prescriber First Name  | 
|
| PRE07() | ;ASAP 3.0 : Prescriber Alternate ID (Not Used)
 ; ASAP 4.0+: Prescriber Middle Name  | 
|
| PRE08() | ;ASAP 3.0 : Prescriber's Last Name
 ; ASAP 4.0 & 4.1: N/A (Up to PRE07 only) ; ASAP 4.2: Prescriber's Phone Number  | 
|
| PRE09() | ;ASAP 3.0: Prescriber' First Name
 | 
|
| PRE10() | ;ASAP 3.0: Prescriber' Middle Name
 ; ASAP 4.2B+ : Jurisdiction or State Issuing Prescriber License Number  | 
|
| CDI01() | ;Compound Drug Ingredient Sequence Number (Not Used)
 | 
|
| CDI02() | ;Product ID Qualifier (Not Used)
 | 
|
| CDI03() | ;Product ID (Not Used)
 | 
|
| CDI04() | ;Component Ingredient Product Description (Not Used)
 | 
|
| CDI05() | ;Component Ingredient Quantity (Not Used)
 | 
|
| CDI06() | ;ASAP 3.0: Component Ingredient Cost (Not Used)
 | 
|
| CDI07() | ;ASAP 3.0: Component Ingredient Basis of Cost Determination (Not Used)
 | 
|
| CDI08() | ;ASAP 3.0: Compound Drug Dosage Units Code (Not Used)
 | 
|
| CSR01() | ;State Issuing Rx Serial Number (Not Used)
 | 
|
| CSR02() | ;State Issued Rx Serial Number (Not Used)
 | 
|
| CSR03() | ;ID Qualifier (Not Used)
 | 
|
| CSR04() | ;ID of Person Picking Up Rx (Not Used)
 | 
|
| CSR05() | ;Relationship of Person Picking Up Rx (Not Used)
 | 
|
| CSR06() | ;Last Name of Person Picking Up Rx (Not Used)
 | 
|
| CSR07() | ;First Name of Person Picking Up Rx (Not Used)
 | 
|
| AIR01() | ;State Issuing Rx Serial Number (Not Used)
 | 
|
| AIR02() | ;State Issued Rx Serial Number (Not Used)
 | 
|
| AIR03() | ;Issuing Jurisdiction (Not Used)
 | 
|
| AIR04() | ;ID Qualifier of Person Dropping Off or Picking Up Rx (Not Used)
 | 
|
| AIR05() | ;ID of Person Dropping Off or Picking Up Rx (Not Used)
 | 
|
| AIR06() | ;Relationship of Person Dropping Off or Picking Up Rx (Not Used)
 | 
|
| AIR07() | ;Last Name of Person Dropping Off or Picking Up Rx (Not Used)
 | 
|
| AIR08() | ;First Name of Person Dropping Off or Picking Up Rx (Not Used)
 | 
|
| AIR09() | ;Last Name or Initials of Pharmacist (Not Used)
 | 
|
| AIR10() | ;First Name of Pharmacist (Not Used)
 | 
|
| AIR11() | ;ASAP 4.2: Dropping Off/Picking Up Identifier Qualifier
 | 
|
| AIR12() | ;(Not Used)
 | 
|
| AIR13() | ; (Not Used)
 | 
|
| AIR14() | ; (Not Used)
 | 
|
| AIR15() | ;(Not Used)
 | 
|
| AIR16() | ; (Not Used)
 | 
|
| AIR17() | ; (Not Used)
 | 
|
| AIR18() | ; (Not Used)
 | 
|
| AIR19() | ; (Not Used)
 | 
|
| AIR20() | ;(Not Used)
 | 
|
| AIR21() | ;(Not Used)
 | 
|
| AIR22() | ; (Not Used)
 | 
|
| AIR23() | ; (Not Used)
 | 
|
| AIR24() | ;(Not Used)
 | 
|
| AIR25() | ; (Not Used)
 | 
|
| AIR26() | ;(Not Used)
 | 
|
| AIR27() | ; (Not Used)
 | 
|
| AIR28() | ;(Not Used)
 | 
|
| AIR29() | ;(Not Used)
 | 
|
| AIR30() | ; (Not Used)
 | 
|
| AIR31() | ; (Not Used)
 | 
|
| AIR32() | ; (Not Used)
 | 
|
| RPH01() | ;Reporting Status (Not Used)
 | 
|
| RPH02() | ;Unique System ID (Not Used)
 | 
|
| RPH03() | ;National Provider Identification (NPI)
 | 
|
| RPH04() | ;Pharmacist State License Number (Not Used)
 | 
|
| RPH05() | ;Pharmacist Alternate ID (Not Used)
 | 
|
| RPH06() | ;Pharmacist Last Name
 | 
|
| RPH07() | ;Pharmacist First Name
 | 
|
| RPH08() | ;Pharmacist Middle Name
 | 
|
| RPH09() | ;Name Prefix (Not Used)
 | 
|
| RPH10() | ;Name Suffix (Not Used)
 | 
|
| RPH11() | ;Pharmacist Title (Not Used)
 | 
|
| PLN01() | ;Reporting Status (Not Used)
 | 
|
| PLN02() | ;Plan Coverage Status to Patient (Not Used)
 | 
|
| PLN03() | ;Unique System ID - Plan (Not Used)
 | 
|
| PLN04() | ;Classification Code for Plan Type (Not Used)
 | 
|
| PLN05() | ;Plan Name (Not Used)
 | 
|
| PLN06() | ;Processor BIN (Not Used)
 | 
|
| PLN07() | ;Processor Control Number (Not Used)
 | 
|
| PLN08() | ;Plan ID (Not Used)
 | 
|
| PLN09() | ;Group Number (Not Used)
 | 
|
| PLN10() | ;Cardholder ID (Not Used)
 | 
|
| PLN11() | ;Person Code (Not Used)
 | 
|
| PLN12() | ;Relationship Code (Not Used)
 | 
|
| TP01() | ;Detail Segment Count
 | 
|
| TT01() | ;Transaction Control Number
 ; ASAP 3.0 : Same as TH03 ; ASAP 4.0+: Same as TH02  | 
|
| TT02() | ;Segment Count
 | 
| FileNo | Call Tags | 
|---|---|
| ^DIC(4 - [#4] | GET1^DIQ | 
| ^DIC(5 - [#5] | GET1^DIQ | 
| ^PSRX - [#52] | GET1^DIQ | 
| ^PS(58.42 - [#58.42] | GET1^DIQ | 
| ^PS(59 - [#59] | GET1^DIQ |