SDES2 CREATE SPEC NEEDS PREFS (4974)    REMOTE PROCEDURE (8994)

Name Value
NAME SDES2 CREATE SPEC NEEDS PREFS
TAG CREATENEEDSPREFS
ROUTINE SDES2CREATESNAPS
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
WORD WRAP ON FALSE
APP PROXY ALLOWED Yes
DESCRIPTION
This RPC will create special needs and preferences for a given 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 special needs and preferences as well as the patient 
    NEEDSPREFS("SPECIAL NEEDS AND PREFERENCES",2,"REMARK")="2 SECOND REMARK"
    NEEDSPREFS("SPECIAL NEEDS AND PREFERENCES",3)="FRIDAY"
    NEEDSPREFS("SPECIAL NEEDS AND PREFERENCES",3,"REMARK")="3 SO MANY 
    REMARKS"
    DFN that they apply to. 
     
    NEEDSPREFS("PATIENT DFN")=7242620
    NEEDSPREFS("SPECIAL NEEDS AND PREFERENCES",1)="WEDNESDAY"
    NEEDSPREFS("SPECIAL NEEDS AND PREFERENCES",1,"REMARK")="1 HEY LOOK A 
    REMARK"
     
    NEEDSPREFS("SPECIAL NEEDS AND PREFERENCES",2)="TUESDAY"
    
RETURN PARAMETER DESCRIPTION
{
            {
                "Name": "FRIDAY"
            },
            {
                "Name": "GENDER SPECIFIC PROVIDER"
            },
            {
                "Name": "HEARING IMPAIRED"
            },
            {
    "SpecialNeedsAndPreferences": [
                "Name": "LANGUAGE PREFERENCE"
            },
            {
                "Name": "FRIDAY"
            },
            {
                "Name": "NEEDS ESCORT"
            },
            {
                "Name": "ON STRETCHER"
        {
            },
            {
                "Name": "SPECIAL MODE OF TRANSPORTATION"
            },
            {
                "Name": "MORNING"
            },
            {
                "Name": "AFTERNOON"
            },
            {
            {
                "Name": "MONDAY"
            },
            {
                "Name": "THURSDAY]"
            }
}
                "Name": "WEDNESDAY"
            },
            {
                "Name": "TUESDAY"
            },