SDES2 EDIT SPEC NEEDS PREFS (4975)    REMOTE PROCEDURE (8994)

Name Value
NAME SDES2 EDIT SPEC NEEDS PREFS
TAG EDITNEEDSPREFS
ROUTINE SDES2EDITSNAPS
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
WORD WRAP ON FALSE
APP PROXY ALLOWED Yes
DESCRIPTION
This RPC allows editing of the special needs and preference associated 
with a patient. 
INPUT PARAMETER
  • SDCONTEXT
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   32000
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    SDCONTEXT("ACHERON AUDIT ID") = Up to 40 Character unique ID number.
                                calling application.
                                Ex: 11d9dcc6-c6a2-4785-8031-8261576fca37
    SDCONTEXT("USER DUZ")   = The DUZ of the user taking action on the
                                calling application. 
    SDCONTEXT("USER SECID") = The SECID of the user taking action in the
                                calling application.
    SDCONTEXT("PATIENT DFN")= The name of the patient taking action on the
                                calling application.
    SDCONTEXT("PATIENT ICN")= The ICN of the patient taking action on the
    
  • NEEDSPREFS
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   32000
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    'This array contains the patient DFN as well as the special needs and 
    NEEDSPREFS("SPECIAL NEEDS AND PREFERENCES","WEDNESDAY","REMARK")="This is 
    the edited remark 33777"
    preferences that are to be edited.
     
     
    NEEDSPREFS("PATIENT DFN")=7242620
    NEEDSPREFS("SPECIAL NEEDS AND PREFERENCES",1)="FRIDAY" ; deleted 
    preference
    NEEDSPREFS("SPECIAL NEEDS AND PREFERENCES","TUESDAY","REMARK")="" ; 
    deleted remark
    
RETURN PARAMETER DESCRIPTION
{""SpecialNeedsAndPreferences"":1}