Print Page as PDF
DBIA4687 ICR (4687)

DBIA4687    ICR (4687)

Name Value
NUMBER 4687
IA # 4687
DATE CREATED 2005/06/22
CUSTODIAL PACKAGE OUTPATIENT PHARMACY
USAGE Controlled Subscription
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE PSOMHV1
NAME DBIA4687
GENERAL DESCRIPTION
This agreement provides the calling program, details of
all (active, verified, on hold, suspended, discontinued, pending and expired),
prescriptions within a given date for a patient.

It provides complete details of Rx(s) in a sorted order in a TMP global
depending on the entry point being called EN, EN2 or EN3.

The EN call sorts data by the Rx Status (TR) and the dispensed drug (TD).
The EN2 call returns data for a specified Rx or list of Rxs sorted by the
Rx Status (TR) and the dispensed drug (TD).
The EN3 call sorts data by the Rx Status (TR) and the Rx IEN# (TD).

Please see at the component level for more details.

For all Rx except PENDING orders, the following details are included in
the TMP global:

^TMP("PSO",$J,TR,TD,0)=DISPENSED DRUG^^RX EXPIRATION DATE^REFILLS
REMAINING^ISSUE DATE^RX STATUS^DAYS SUPPLY^QUANTITY^^^PLACER ORDER #^LAST
FILLED DATE^^

^TMP("PSO",$J,TR,TD,"RXN",0)=EXTERNAL Rx NUMBER^LAST RELEASE
DATE^ORIGINAL FILL ROUTING (W or M)^Remarks^FINISHED BY^ORIGINAL FILL
DATE^ORIGINAL RELEASE DATE^^RX IEN#
^TMP("PSO",$J,TR,TD,"DIV",0)=DIVISION^OP DIVISION DETAILS
^TMP("PSO",$J,TR,TD,"P",0)=PROVIDER IEN^PROVIDER NAME
^TMP("PSO",$J,TR,TD,"REF",0)=# of refill dispensed
^TMP("PSO",$J,TR,TD,"REF",REF IEN#,0)=REFILL DATE^DAYS
SUPPLY^QUANTITY^RELEASED DATE^ROUTING (M/W)^REMARKS
^TMP("PSO",$J,TR,TD,"PAR",0)=# of partials dispensed
^TMP("PSO",$J,TR,TD,"PAR",PAR IEN#,0)=PARTIAL DATE^DAYS
SUPPLY^QUANTITY^RELEASED DATE^ROUTING (M/W)^REMARKS
^TMP("PSO",$J,TR,TD,"MDR",0)=# of MEDICATION ROUTES
^TMP("PSO",$J,TR,TD,"MDR",D1,0)=MEDICATION ROUTES ABBR.
^TMP("PSO",$J,TR,TD,"SCH",0)=# of schedule entries
^TMP("PSO",$J,TR,TD,"SCH",D1,0)=SCHEDULES
^TMP("PSO",$J,TR,TD,"SIG",0)=# of Sig entries
^TMP("PSO",$J,TR,TD,"SIG",D1,0)=SIG
^TMP("PSO",$J,TR,TD,"PC",0)=# of provider comment entries
^TMP("PSO",$J,TR,TD,"PC",D1,0)=PROVIDER COMMENTS
^TMP("PSO",$J,TR,TD,"DD",0)=1
^TMP("PSO",$J,TR,TD,"DD",1,0)=DISPENSED DRUG IEN#^^

For Pending orders, the data is sorted by the DISPENSED DRUG (name)/PHARMACY
ORDERABLE ITEM (name) (TD) and returns the following:

^TMP("PSO",$J,"PND",TD,0)=DISPENSED DRUG (if entered in CPRS)/NAME of
the PHARMACY ORDERABLE ITEM concatenated with the NAME OF THE DOSAGE
FORM^^MEDICATION ROUTE ABBR.^^# OF REFILLS^EFFECTIVE DATE^ORDER TYPE
(PENDING/ONHOLD)^^QUANTITY^^PLACER NUMBER


^TMP("PSO",$J,"PND",TD,"SCH",0)= # of SCHEDULE
^TMP("PSO",$J,"PND",TD,"SCH",D1,0)=SCHEDULE
^TMP("PSO",$J,"PND",TD,"SIG",0)= # of SIG
^TMP("PSO",$J,"PND",TD,"SIG",D1,0)=SIG
^TMP("PSO",$J,"PND",TD,"SIO",0)= # of Lines
^TMP("PSO",$J,"PND",TD,"SIO",D1,0)=PROVIDER COMMENTS (packed to 80
characaters)
^TMP("PSO",$J,"PND",TD,"DD",0)   = 1
^TMP("PSO",$J,"PND",TD,"DD",1,0)=DISPENSED DRUG IEN# (if entered in
CPRS)^^
STATUS Active
KEYWORDS
  • MHV
  • INTERNET
  • PRESCRIPTION
ID PSOMHV1
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
EN(DFN,BDT,EDT)
This entry point returns prescription information of
the most recent occurrence of drug(s) that was dispensed for a given date
range in a TMP global. The data is sorted by the Rx Status (TR) and the
dispensed drug (TD).
VARIABLES TYPE VARIABLES DESCRIPTION
DFN Input
Patient IEN Number (Required).
BDT Input
This is the start date to search (default is DT-120,
prescriptions expired in the last 120 days).
EDT Input
This is the end date (default is null, prescriptions
expiring in the future).
TMP('PSO',$J Output
Global location of returned list of Rxs. Please see
the IA description section for the TMP global layout.
EN2(DFN,RXLIST)
This entry point returns prescription information for
a given Rx/list of Rxs.
VARIABLES TYPE VARIABLES DESCRIPTION
DFN Input
Patient IEN Number (Required).
RXLIST Input
List of prescription IEN's delimited with "^".
TMP('PSO',$J Output
Global location of returned list of Rx(s). Please see
the IA description section for the TMP global layout.
EN3(DFN,BDT,EDT)
This entry point returns every prescription
information (Rx history) that was dispensed for a given date range in a TMP
global. The data is sorted by the Rx Status (TR) and the Rx IEN# (TD).
VARIABLES TYPE VARIABLES DESCRIPTION
DFN Input
Patient IEN Number (Required).
BDT Input
This is the start date to search (default is DT-120,
prescriptions expired in the last 120 days).
EDT Input
This is the end date (default is null, prescriptions
expiring in the future).
TMP('PSO',$J Output
Global location of returned list of Rxs. Please see
the IA description section for the TMP global layout.
SUBSCRIBING PACKAGE MYHEALTHEVET