SDES2 CREATE LAST SELECTED PAT (4971)    REMOTE PROCEDURE (8994)

Name Value
NAME SDES2 CREATE LAST SELECTED PAT
TAG STORE
ROUTINE SDES2STOREPAT
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
VERSION 1
APP PROXY ALLOWED Yes
DESCRIPTION
This RPC will store the patient in ^DISV against the user. This will 
allow the last selected patient by the user to be accessed at a later 
time.
INPUT PARAMETER
  • SDCONTEXT
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   32000
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    SDCONTEXT("ACHERON AUDIT ID")
    SDCONTEXT("PATIENT ICN")
        - The ICN of the target patient from the calling application.
        - Up to 40 Character unique ID number. 
        - Ex: 11d9dcc6-c6a2-4785-8031-8261576fca37
    SDCONTEXT("USER DUZ")
        - The DUZ of the user taking action in the calling application.
    SDCONTEXT("USER SECID")
        - The SECID of the user taking action in the calling application.
    SDCONTEXT("PATIENT DFN")
        - The DFN/IEN of the target patient from the calling application.
    
  • SDPARAM
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   32000
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    SDPARAM("DFN")= Patient (File #2) DFN associated with the patient
                    to be stored for later recall. (required)
    
RETURN PARAMETER DESCRIPTION
Returns 1 if successful.
  
  {
         "PatientRecordCreated": [1]
  }