PSS50P4 API – DRUG ELECTROLYTES file (#50.4) Component: ALL Returns all fields in the DRUG ELECTROLYTES file (#50.4) in the array defined by the calling application.
Status: Inactive
ALL^PSS50P4(PSSIEN,PSSFT,LIST)
Input:
PSSIEN
PSSFT
LIST
Where:
PSSIEN = the IEN of entry in DRUG ELECTROLYTES file (#50.4) [optional]
PSSFT = NAME field (#.01) of the DRUG ELECTROLYTES file (#50.4) (a value of "??" may be used) [optional]
LIST = defined by the calling application [required]
Output:
^TMP($J,LIST,0) = Total entries returned or -1^NO DATA FOUND
^TMP($J,LIST,PSSIEN,.01) = NAME (50.4,.01)
^TMP($J,LIST,PSSIEN,1) = CONCENTRATION UNITS (50.4,1)^External format for the set of codes
^TMP($J,LIST,"B",NAME,PSSIEN) =""
PSS50P66 API – DOSAGE FORM file (#50.606) Component: ADD The first API, ALL^PSS50P66, does a look-up from the DOSAGE FORM file (#50.606). The second API, ADD^PSS50P66, will add the MEDICATION ROUTES FOR DOSAGE FORM sub-field (#.01) of the MED ROUTE FOR DOSAGE FORM multiple from the DOSAGE FORM file (#50.606).
Status: Inactive
S X=$$ADD^PSS50P66(PSSIEN,PSSMR)
Input:
PSSIEN
PSSMR
Where:
PSSIEN = IEN of entry in DOSAGE FORM file (#50.606) [required]
PSSMR = IEN of entry in the MEDICATION ROUTE file (#51.2) (it is to be added to the MEDICATION ROUTE FOR DOSAGE FORM multiple (#50.6061) if is not a duplicate) [required]
Output:
$$ADD
Where $$ADD:
1 (zero) = entry was added
0 (one) = entry was not added
Component: ALL Returns most of the fields from the DOSAGE FORM file (#50.606) in the array defined by the calling application.
Status: Inactive
ALL^PSS50P66(PSSIEN,PSSFT,PSSFL,LIST)
Input:
PSSIEN
PSSFT
PSSFL
LIST
Where:
PSSIEN = IEN of entry in DOSAGE FORM file (#50.606) [optional]
PSSFT = NAME field (#.01) of the DOSAGE FORM file (#50.606)
(a value of "??" may be used) [optional]
PSSFL = Inactive date. A null value will return all entries. Entry of a FileMan format date (ex: 3030917) will return active entries after this date. [optional]
LIST = defined by the calling application [required]
Output:
^TMP($J,LIST,0) = Total entries returned or -1^NO DATA FOUND
^TMP($J,LIST,PSSIEN,.01) = NAME (50.606,.01)
^TMP($J,LIST,PSSIEN,3) = VERB (50.606,3)
^TMP($J,LIST,PSSIEN,5) = PREPOSITION (50.606,5)
^TMP($J,LIST,PSSIEN,7) = INACTIVATION DATE (50.606,7)^External format (ex: SEP 12,1999)
^TMP($J,LIST,PSSIEN,"MRDSFRM",0) = Total entries returned for this sub-file or -1^NO DATA FOUND
^TMP($J,LIST,PSSIEN,"MRDSFRM",PSS(1),.01) = MED ROUTE FOR DOSAGE FORM (50.6061,.01)^NAME (51.2,.01)
^TMP($J,LIST,PSSIEN,"NOUN",0) = Total entries returned for this sub-file or -1^NO DATA FOUND
^TMP($J,LIST,PSSIEN,"NOUN",PSS(1),.01) = NOUN (50.6066,.01)
^TMP($J,LIST,"B",NAME,PSSIEN) =""
Where:
PSS(1) is the IEN of the multiple it referenced
PSS50P7 API – PHARMACY ORDERABLE ITEM file (#50.7) Component: DRGIEN Returns the IEN(s) of the DRUG file (#50) in the array defined by the calling application when passing in the IEN of the PHARMACY ORDERABLE ITEM file (#50.7). The “A50” cross-reference in format of ^PS(50.7,“A50”,IEN(50.7),IEN(50)) will be used.
Status: Active
DRGIEN^PSS50P7(PSSIEN,PSSFL,LIST)
Input:
PSSIEN
PSSFL
LIST
Where:
PSSIEN = IEN of entry in PHARMACY ORDERABLE ITEM file (#50.7) [required]
PSSFL = Inactive date: A null value will return all entries (entry of a FileMan format date (ex: 3030917) will return active entries after this date) [optional]
LIST = defined by the calling application [required]
Output:
^TMP($J,LIST,0) = Total entries returned or -1^NO DATA FOUND
^TMP($J,LIST,PSS50) =""
Where:
PSS50 is the IEN of the DRUG file (#50)
Component: IEN Returns the IEN(s) of the PHARMACY ORDERABLE ITEM file (#50.7) in the array defined by the calling application when passing in the NAME field (#.01) of the PHARMACY ORDERABLE ITEM file (#50.7). The “B” cross-reference in the format of ^PS(50.7,“B”,NAME(50.7,.01),IEN(50.7)) will be used.
Status: Inactive
IEN^PSS50P7(PSSFT,PSSFL,LIST)
Input:
PSSFT
PSSFL
LIST
Where:
PSSFT = NAME field (#.01) in the PHARMACY ORDERABLE ITEM file (#50.7) (a value of "??" may be used) [required]
PSSFL = Inactive date: A null value will return all entries (entry of a FileMan format date (ex: 3030917) will return active entries after this date) [optional]
LIST = defined by the calling application [required]
Output:
^TMP($J,LIST,0) = Total entries returned or -1^NO DATA FOUND
^TMP($J,LIST,PSSIEN) = NAME (50.7,.01)
^TMP($J,LIST,PSSIEN,.02) = DOSAGE FORM (50.7,.02)^NAME (50.606,.01)
^TMP($J,LIST,"B",NAME,PSSIEN) =""
Where:
PSSIEN is IEN of entry in the PHARMACY ORDERABLE ITEM file (#50.7)
Component: INSTR Returns the PATIENT INSTRUCTIONS field (#7) and OTHER LANGUAGE INSTRUCTIONS field (#7.1) of the PHARMACY ORDERABLE ITEM file (#50.7) in the array defined by the calling application.
Status: Inactive
INSTR^PSS50P7(PSSIEN,PSSFT,PSSFL,LIST)
Input:
PSSIEN
PSSFT
PSSFL
LIST
Where:
PSSIEN = IEN of entry in PHARMACY ORDERABLE ITEM file (#50.7) [optional]
PSSFT = NAME field (#.01) in PHARMACY ORDERABLE ITEM file (#50.7) (a value of "??" may be used) [optional]
PSSFL = Inactive date: A null value will return all entries (entry of a FileMan format date (ex: 3030917) will return active entries after this date) [optional]
LIST = defined by the calling application [required]
Output:
^TMP($J,LIST,0) = Total entries returned or -1^NO DATA FOUND
^TMP($J,LIST,PSSIEN,.01) = NAME (50.7,.01)
^TMP($J,LIST,PSSIEN,.02) = DOSAGE FORM (50.7,.02)^NAME (50.606,.01)
^TMP($J,LIST,PSSIEN,7) = PATIENT INSTRUCTIONS (50.7,7)
^TMP($J,LIST,PSSIEN,7.1) = OTHER LANGUAGE INSTRUCTIONS (50.7,7.1)
^TMP($J,LIST,"B",NAME,PSSIEN) =""
Component: LOOKUP Returns the NAME field (#.01) of the PHARMACY ORDERABLE ITEM file (#50.7) along with the NAME field (#.01) of the DOSAGE FORM file (#50.606). Screening for the active entries from the DRUG file (#50) for specified usage will be applied before including the data in the return array. The ACTIVE DATE field (#.04) of the PHARMACY ORDERABLE ITEM file (#50.7) should be included in the screening.
Status: Inactive
LOOKUP^PSS50P7(PSSFT,PSSD,PSSS,LIST)
Input:
PSSFT
PSSD
PSSS
LIST
Where:
PSSFT = NAME field (#.01) of PHARMACY ORDERABLE ITEM file (#50.7) (a value of "??" may be used) [required]
PSSD = Index being traversed [optional]
PSSS = Screening information as defined in DIC("S") [optional]
LIST = defined by the calling application [required]
Output:
^TMP($J,LIST,0) = Total entries returned or -1^NO DATA FOUND
^TMP($J,LIST,PSSIEN,.01) = NAME (50.7,.01)
^TMP($J,LIST,PSSIEN,.02) = DOSAGE FORM (50.7,.02)^NAME (50.606,.01)
^TMP($J,LIST,PSSIEN,.04) = INACTIVE DATE (50.7,.04)^External format (ex: SEP 12,1999)
^TMP($J,LIST,PSSDX,NAME,PSSIEN) =""
Where:
PSSIEN is the IEN of the PHARMACY ORDERABLE ITEM file (#50.7)
PSSDX is value passed in the PSSD (if multiple values are passed in, "B" will be used)
Component: NAME Returns the NAME field (#.01) of the PHARMACY ORDERABLE ITEM file (#50.7).
Status: Inactive
S X=$$NAME^PSS50P7(PSSIEN)
Input:
PSSIEN
Where:
IEN = entry in PHARMACY ORDERABLE ITEM file (#50.7) [required]
Output:
$$NAME
Where:
$$NAME = NAME field (#.01) of the PHARMACY ORDERABLE ITEM file (#50.7)
Component: SYNONYM Returns the SYNONYM sub-field (#.01) of the SYNONYM multiple of the PHARMACY ORDERABLE ITEM file (#50.7) in the array defined by the calling application.
Status: Inactive
SYNONYM^PSS50P7(PSSIEN,PSSFT,PSSFL,LIST)
Input:
PSSIEN
PSSFT
PSSFL
LIST
Where:
PSSIEN = IEN of entry in the PHARMACY ORDERABLE ITEM file (#50.7) [optional]
PSSFT = NAME field in the PHARMACY ORDERABLE ITEM file (#50.7) (a value of "??" may be used) [optional]
PSSFL = Inactive date: A null value will return all entries (entry of a FileMan format date (ex: 3030917) will return active entries after this date) [optional]
LIST = defined by the calling application [required]
Output:
^TMP($J,LIST,0) = Total entries returned or -1^NO DATA FOUND
^TMP($J,LIST,PSSIEN,.01) = NAME (50.7,.01)
^TMP($J,LIST,PSSIEN,.02) = DOSAGE FORM (50.7,.02)^NAME (50.606,.01)
^TMP($J,LIST,PSSIEN,"SYN",0) = Total entries returned for this sub-file or -1^NO DATA FOUND
^TMP($J,LIST,PSSIEN,"SYN",PSS(1),.01) = SYNONYM (50.72,.01)
^TMP($J,LIST,"B",NAME,PSSIEN) =""
Where:
PSS(1) is the IEN of entry the SYNONYM multiple
Component: ZERO Returns the zero node of the PHARMACY ORDERABLE ITEM file (#50.7) in the array defined by the calling application. A check for the existence of the zero node will be performed.
Status: Active
ZERO^PSS50P7(PSSIEN,PSSFT,PSSFL,LIST)
Input:
PSSIEN
PSSFT
PSSFL
LIST
Where:
PSSIEN = IEN of entry in the PHARMACY ORDERABLE ITEM file (#50.7) [optional]
PSSFT = NAME field (#.01) of the PHARMACY ORDERABLE ITEM file (#50.7) (a value of "??" may be used) [optional]
PSSFL = Inactive date: A null value will return all entries (entry of a FileMan format date (ex: 3030917) will return active entries after this date) [optional]
LIST = defined by the calling application [required]
Output:
^TMP($J,LIST,0) = Total entries returned or -1^NO DATA FOUND
^TMP($J,LIST,PSSIEN,.01) = NAME (50.7,.01)
^TMP($J,LIST,PSSIEN,.02) = DOSAGE FORM(50.7,.02)^NAME (50.606,.01)
^TMP($J,LIST,PSSIEN,.03) = IV FLAG (50.7,.03)^External format for the set of codes (ex: 1 if flagged for IV)
^TMP($J,LIST,PSSIEN,.04) = INACTIVE DATE (50.7,.04)^External format (ex: SEP 12,1999)
^TMP($J,LIST,PSSIEN,.05) = DAY (nD) or DOSE (nL) LIMIT (50.7,.05)
^TMP($J,LIST,PSSIEN,.06) = MED ROUTE (50.7,.06)^NAME (51.2,.01)
^TMP($J,LIST,PSSIEN,.07) = SCHEDULE TYPE (50.7,.07)^External format for the set of codes
^TMP($J,LIST,PSSIEN,.08) = SCHEDULE (50.7,.08)
^TMP($J,LIST,PSSIEN,.09) = SUPPLY (50.7,.09)^External format for the set of codes
^TMP($J,LIST,PSSIEN,5) = FORMULARY STATUS (50.7,5)^External format for the set of codes
^TMP($J,LIST,PSSIEN,8) = NON-VA MED (50.7,8)^External format for the set of codes (ex: 1 flagged the med as Non-VA)
^TMP($J,LIST,"B",NAME,PSSIEN) =""
Share with your friends: |