PSO COPAY LOG

TITLEVALUE
NAMEPSO COPAY LOG
DESCRIPTIONReturn values from Copay Transaction log in PRESCRIPTION (#52) file.

Possible Return Values:

RESULTS(0) = -n^Error message

RESULTS(0) = 0^No Data

RESULTS(1) = Array of return values in JSON format:

copayActivityLog #52.0107, .01
reason #52.0107, 1
initiatorofCopayActivity #52.0107, 2
rxReference #52.0107, 3
comment #52.0107, 4
TAGCOPAY
ROUTINEPSOVCC1
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERPSOIEN
DESCRIPTIONExternal Prescription number of a PRESCRIPTION (#52) file entry.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH30

RETURN VALUE TYPESINGLE VALUE
RETURN PARAMETER DESCRIPTIONThis RPC allows retrieval of the Copay Log for a specific prescription

Each transaction will have the following fields:
Possible Return Values:

0^No data - there are no COPAY entries for this prescription

-1^ Prescription Number is Required

-2^ Prescription Number is not recognized

1^Array of return values in JSON format:

copayActivityLog
reason
initiatorofCopayActivity
rxReference
comment
AVAILABILITYAGREEMENT
INACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWEDYes