ORDEA ;ISL/TC & JMH & JLC - DEA related items ;07/10/19 09:22
Source file <ORDEA.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| DEATEXT(ORY) | ;returns the mandatory dea text to show when a user checks a controlled substance order to be signed on the signature dialog
 | 
|
| CSVALUE(ORY,ORID) | ;return 1 if the order (ORID) is a controlled substance, 0 for non-controlled substance
 | 
|
| PNDHLD(ORY,ORID) | ;return 1 if the order is pending a HOLD, 0 otherwise
 | 
|
| CSCHECK(ORCSVAL,OROI,ORPSTYPE) | ; return 1 if OI is a controlled substance, 0 for non-controlled substance
 | 
|
| SIGINFO(ORY,ORDFN,ORPROV,OROID) | ;returns the provider/patient info that must be displayed when signing controlled substance orders
 | 
|
| HASHINFO(ORY,ORDFN,ORPROV,OROID) | ;basic data for all orders getting signed
 | 
|
| ORDHINFO(ORY,ORIFN,HASH,OHINFO) | ;
 | 
|
| BUILDFDA(ORIFN,ORDFDA,OROUT,HASH,OHD) | ;
 | 
|
| BUILD(ORIFN) | ;Build ARCHIVE entry for CPRS order number
 | 
|
| SUBSCRIB(ORIFN,RXN) | ;API for Pharmacy to subscribe to an archive entry
 | 
|
| ARCHIVE(ORIFN) | ;retrieve archive for specified order number
 | 
|
| HASHRTN(ORIFN) | ;returns hash of a specified archive entry
 | 
|
| BACKDOOR(ORIFN,ORPROV,ORD) | ;create archive for new backdoor order
 | 
|
| PINLKCHK(ORY) | ;check if the current user has an active PIN lock
 | 
|
| PINLKSET(ORY) | ;set a PIN lock on the current user
 | 
|
| LNKMSG(ORY) | ;message to display after successful PIV link for admin contact person
 | 
|
| PTR(NAME) | ; -- Returns ptr value of prompt in Dialog file
 | 
|
| DUR(DUR) | ;
 | 
|
| CONJ(CNJ) | ;
 | 
|
| AUINTENT(ORY,ORIFN,ORSTATE) | ||
| AUDORDXX(ORIFN) | ;Audit change to unsigned CS ePCS Order
 | 
| RPC Name | Call Tags | 
|---|---|
| ORDEA DEATEXT | DEATEXT | 
| ORDEA SIGINFO | SIGINFO | 
| ORDEA CSVALUE | CSVALUE | 
| ORDEA HASHINFO | HASHINFO | 
| ORDEA ORDHINFO | ORDHINFO | 
| ORDEA PINLKCHK | PINLKCHK | 
| ORDEA PINLKSET | PINLKSET | 
| ORDEA PNDHLD | PNDHLD | 
| ORDEA LNKMSG | LNKMSG | 
| ORDEA AUINTENT | AUINTENT | 
| FileNo | Call Tags | 
|---|---|
| ^OR(100 - [#100] | GET1^DIQ | 
| ^ORPA(101.52 - [#101.52] | FIND1^DIC, GET1^DIQ, GETS^DIQ | 
| ^VA(200 - [#200] | GET1^DIQ | 
| ^DIC(4 - [#4] | GETS^DIQ | 
| ^SC - [#44] | GET1^DIQ |