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

ABSPOSFX.m

Go to the documentation of this file.
  1. ABSPOSFX ; IHS/FCS/DRS - Print NCPDP claim ; [ 09/12/2002 10:09 AM ]
  1. ;;1.0;PHARMACY POINT OF SALE;**3**;JUN 21, 2001;Build 27
  1. ;----------------------------------------------------------------------
  1. Q
  1. ALIGN ;EP - from ABSPOSF
  1. N ABSP,NCPDP
  1. S NCPDP(302)="#CARDHOLDER ID#"
  1. S NCPDP(301)="THIS IS THE GROUP ID"
  1. S NCPDP(313)="CARDHOLDER",NCPDP(312)="CHARLIE"
  1. S NCPDP(311)="PATIENT",NCPDP(310)="PAULA"
  1. S NCPDP(308)="0",NCPDP(303)="004"
  1. S NCPDP(304)="19740531",NCPDP(305)=2,NCPDP(306)=4
  1. S NCPDP(201)="PH0123456789"
  1. S ABSP("Site","Name")="COLLEGE PHARMACY"
  1. S ABSP("Site","Addr")="12 NORTH MAIN ST."
  1. S ABSP("Site","City")="BOROUGH OF MANSFIELD"
  1. S ABSP("Site","State")="PA"
  1. S ABSP("Site","Zip")="16933-1234"
  1. S ABSP("Site","Phone")="999 999-9999"
  1. S ABSP("Site","Fax")="999 999-9999"
  1. S ABSP("Site","Tax ID #")="12-3456789"
  1. S NCPDP(315)="SOUTHERN TIOGA INDUSTRIES"
  1. S NCPDP(316)="177 INDUSTRIAL WAY"
  1. S NCPDP(317)="COVINGTON TOWNSHIP"
  1. S NCPDP(318)="PA",NCPDP(319)="16917-0000"
  1. S NCPDP(327)="WORKERS COMP CARRIER CO."
  1. S ABSP("Employer","Phone")="999 999-9999"
  1. N RXN F RXN=1,2 D
  1. . S NCPDP("RX",RXN,434)=20010319
  1. . S NCPDP("RX",RXN,435)="1234567890-ABCDE"
  1. . S NCPDP("RX",RXN,402)=RXN_"654321"
  1. . S NCPDP("RX",RXN,414)=20010_RXN_2_RXN
  1. . S NCPDP("RX",RXN,401)=20010322
  1. . S NCPDP("RX",RXN,403)=RXN-1
  1. . S NCPDP("RX",RXN,442)=$S(RXN=1:100,RXN=2:12345.678)
  1. . S NCPDP("RX",RXN,405)=$S(RXN=1:30,RXN=2:999)
  1. . S NCPDP("RX",RXN,407)="00000-00-0000"
  1. . S NCPDP("RX",RXN,408)="0"
  1. . S NCPDP("RX",RXN,416)="109999999999"
  1. . S NCPDP("RX",RXN,411)="ID0000000"
  1. . S NCPDP("RX",RXN,439)="XX"
  1. . S NCPDP("RX",RXN,440)="YY"
  1. . S NCPDP("RX",RXN,441)="ZZ"
  1. . S NCPDP("RX",RXN,423)="00"
  1. . S NCPDP("RX",RXN,424)="123.45"
  1. . S NCPDP("RX",RXN,443)="20010228"
  1. . S NCPDP("RX",RXN,426)="99999.99"
  1. . S NCPDP("RX",RXN,409)="10409.00"
  1. . S NCPDP("RX",RXN,412)="10412.00"
  1. . S NCPDP("RX",RXN,438)="10438.00"
  1. . S NCPDP("RX",RXN,410)="10410.00"
  1. . S NCPDP("RX",RXN,433)="10433.00"
  1. . S NCPDP("RX",RXN,431)="10431.00"
  1. . S ABSP("RX",RXN,"RX IEN")=+$O(^PSRX(" "),-1)
  1. . S ABSP("RX",RXN,"Drug IEN")=+$O(^PSDRUG(" "),-1)
  1. . S ABSP("RX",RXN,"Prescriber IEN")=+$O(^VA(200,0))
  1. . S ABSP("RX",RXN,"IEN57")=+$O(^ABSPTL(0))
  1. D PRINT^ABSPOSFP
  1. Q