HMP SUBSCRIPTION STATUS

TITLEVALUE
NAMEHMP SUBSCRIPTION STATUS
DESCRIPTIONThis RPC checks the subscription status for a single patient and returns.
the result as a JSON containing code and text values.
TAGSUBSTA
ROUTINEHMPTOOLS
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERARGS
DESCRIPTIONThe input array should contain:
'localId' = Patient identifier (Patient IEN)
'server' = Server name (e.g. hmp-development-sever)
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTIONText formatted as JSON including 'code' and 'text'

0 = 'Subscription not found'
1 = 'Subscription received - staging not started'
2 = 'Subscription received - staging in progress'
3 = 'Subscription received - staging in progress - paused by throttle for XXX seconds'
4 = 'Subscription complete - staged data not completely sent'
5 = 'Subscription complete - staged data already sent'

90 = 'Error: server not specified'
91 = 'Error: server '_HMPFRSP_" not found"
92 = 'Error: patient ien not specified'
93 = 'Error: patient ien not present on this system'
AVAILABILITYSUBSCRIPTION
INACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION1
SUPPRESS RDV USER SETUP
APP PROXY ALLOWEDYes