Pharmacy Re-Engineering (pre) Application Program Interface (api) Manual


PSS51P15 API – ADMINISTRATION SHIFT file (#51.15)



Download 1.47 Mb.
Page18/22
Date31.07.2017
Size1.47 Mb.
#24953
1   ...   14   15   16   17   18   19   20   21   22

PSS51P15 API – ADMINISTRATION SHIFT file (#51.15)

Component: ACP

Returns the IEN(s) and NAME field (#.01) of the ADMINISTRATION SHIFT file (#51.15) in the array defined by the calling application when passed in the PACKAGE field (#4) and the ABBREVIATION field (#1) of the ADMINISTRATION SHIFT file (#51.15). The “ACP” cross-reference in format of ^PS(51.15,“ACP”_PACKAGE(4),ABBREVIATION(1),IEN(51.15)) will be used.


Status: Inactive

ACP^PSS51P15(PSSPK,PSSABBR,LIST)

Input:

PSSPK


PSSABBR

LIST


Where:

PSSPK = PACKAGE field (#4) of the ADMINISTRATION SHIFT file (#51.15) [required]

PSSABBR = ABBREVIATION field (#1) of the ADMINISTRATION SHIFT file (#51.15) [required]

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 (51.15,.01)

^TMP($J,LIST,PSSIEN,1) = ABBREVIATION (51.15,1)

^TMP($J,LIST,PSSIEN,4) = PACKAGE (51.15,4)

^TMP($J,LIST,"ACP",PACKAGE,NAME,PSSIEN) =""

Where:

PSSIEN is IEN of entry in the ADMINISTRATION SHIFT file (#51.15)



Component: ALL

Returns all fields in the ADMINISTRATION SHIFT file (#51.15) in the array defined by the calling application.


Status: Inactive

ALL^PSS51P15(PSSIEN,PSSFT,LIST)

Input:

PSSIEN


PSSFT

LIST


Where:

PSSIEN = IEN of entry in ADMINISTRATION SHIFT file (#51.15) [optional]

PSSFT = NAME field (#.01) of the ADMINISTRATION SHIFT file (#51.15) (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 (51.15,.01)

^TMP($J,LIST,PSSIEN,1) = ABBREVIATION (51.15,1)

^TMP($J,LIST,PSSIEN,2) = STANDARD START/STOP TIMES (51.15,2)

^TMP($J,LIST,PSSIEN,4) = PACKAGE (51.15,4)

^TMP($J,LIST,PSSIEN,"HOSP",0) = Total entries returned for this sub-file or -1^NO DATA FOUND

^TMP($J,LIST,PSSIEN,"HOSP",PSS(1),.01) = HOSPITAL LOCATION (51.153,.01)^NAME (44,.01)

^TMP($J,LIST,PSSIEN,"HOSP",PSS(1),1) = START/STOP TIMES (51.153,1)

^TMP($J,LIST,"B",NAME,PSSIEN) =""



PSS51P2 API – MEDICATION ROUTES file (#51.2)

Component: ALL


Returns all fields in the MEDICATION ROUTES file (#51.2) in the array defined by the calling application. The “IV” Cross Reference will only be set for entries that have the IV FLAG field (#6) of the MEDICATION ROUTES file (#51.2) set to Yes.

Status: Active

ALL^PSS51P2(PSSIEN,PSSFT,PSSFL,PSSPK,LIST)

Input:

PSSIEN


PSSFT

PSSFL


PSSPK

LIST


Where:

PSSIEN = IEN of entry in MEDICATION ROUTES file (#51.2) [optional]

PSSFT = NAME field (#.01) of the MEDICATION ROUTES file (#51.2) (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]

PSSPK = PACKAGE USE field (#3) of the MEDICATION ROUTES file (#51.2) [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 (51.2,.01)

^TMP($J,LIST,PSSIEN,1) = ABBREVIATION (51.2,1)

^TMP($J,LIST,PSSIEN,3) = PACKAGE USE (51.2,3)^External format for the set of codes

^TMP($J,LIST,PSSIEN,4) = OUTPATIENT EXPANSION (51.2,4)

^TMP($J,LIST,PSSIEN,4.1) = OTHER LANGUAGE EXPANSION (51.2,4.1)

^TMP($J,LIST,PSSIEN,5) = INACTIVATION DATE (51.2,5)^External format (ex: SEP 12,1999)

^TMP($J,LIST,PSSIEN,6) = IV FLAG (51.2,6)^External format for the set of codes (ex: YES if flagged for IV)

^TMP($J,LIST,PSSIEN,7) = PROMPT FOR INJ. SITE IN BCMA (51.2,8) ^ External format for the set of codes (ex: YES if BCMA should prompt for Injection Site)

^TMP($J,LIST,PSSIEN,8) = DSPLY ON IVP/IVPB TAB IN BCMA? (51.2,9) ^ External format for the set of codes (ex: YES if BCMA should display this order on the IVP/IVPB tab)

^TMP($J,LIST,"B",NAME,PSSIEN) =""

^TMP($J,LIST,”IV”,NAME,PSSIEN) =""


Component: IEN

Returns the IEN(s) of the MEDICATION ROUTES file (#51.2) when passed the ABBREVIATION field (#1) of the MEDICATION ROUTES file (#51.2) in the array defined by the calling application. The “C” cross-reference in format of ^PS(51.2,“C”,ABBREVIATION(52.1,1),IEN(51.2)) will be used.


Status: Inactive

IEN^PSS51P2(PSSABBR,LIST)

Input:

PSSABBR


LIST

Where:


PSSABBR = ABBREVIATION field (#1) of the MEDICATION ROUTES file (#51.2) [required]

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 (51.2,.01)

^TMP($J,LIST,PSSIEN,1) = ABBREVIATION (51.2,1)

^TMP($J,LIST,PSSIEN,5) = INACTIVATION DATE (51.2,5)^External format (ex: SEP 12,1999)

^TMP($J,LIST,"B",NAME,PSSIEN) =""

Where:

PSSIEN is IEN of entry in the MEDICATION ROUTES file (#51.2)



Component: NAME

Returns the IEN of the MEDICATION ROUTES file (#51.2) in the array defined by the calling application. The “B” cross-reference in format of ^PS(51.2,“B”, NAME(52.1,.01), IEN(51.2)) will be used.


Status: Inactive

NAME^PSS51P2(PSSFT,PSSPK,LIST)

Input:

PSSFT


PSSPK

LIST
Where:

PSSFT = NAME field (#.01) of MEDICATION ROUTES file (#51.2) (a value of "??" may be used) [required]

PSSPK = PACKAGE USE field (#3) of the MEDICATION ROUTES file (#51.2) (if passed in, only entries containing this value will be returned; otherwise, all entries will be returned) [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 (51.2,.01)

^TMP($J,LIST,PSSIEN,1) = ABBREVIATION (51.2,1)

^TMP($J,LIST,PSSIEN,5) = INACTIVATION DATE (51.2,5)^External format (ex: SEP 12,1999)

^TMP($J,LIST,"B",NAME,PSSIEN) =""

Where:


PSSIEN is IEN of entry in the MEDICATION ROUTES file (#51.2)



Download 1.47 Mb.

Share with your friends:
1   ...   14   15   16   17   18   19   20   21   22




The database is protected by copyright ©ininet.org 2024
send message

    Main page