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)^^
|