HMP SUBSCRIPTION STATUS (3678)    REMOTE PROCEDURE (8994)

Name Value
NAME HMP SUBSCRIPTION STATUS
TAG SUBSTA
ROUTINE HMPTOOLS
RETURN VALUE TYPE ARRAY
AVAILABILITY SUBSCRIPTION
WORD WRAP ON TRUE
VERSION 1
APP PROXY ALLOWED Yes
DESCRIPTION
This RPC checks the subscription status for a single patient and returns.
the result as a JSON containing code and text values.
INPUT PARAMETER
  • ARGS
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    The input array should contain:
       'localId' = Patient identifier (Patient IEN)
       'server' = Server name (e.g. hmp-development-sever)
    
RETURN PARAMETER DESCRIPTION
Text formatted as JSON including 'code' and 'text'
    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'
 
    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'