SDES2 GET SPEC NEEDS PREFS (4973)    REMOTE PROCEDURE (8994)

Name Value
NAME SDES2 GET SPEC NEEDS PREFS
TAG GETNEEDSPREFS
ROUTINE SDES2GETSNAPS
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
WORD WRAP ON FALSE
APP PROXY ALLOWED Yes
DESCRIPTION
This RPC will return the special needs and preferences that are 
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 associated with the patient.
    
RETURN PARAMETER DESCRIPTION
{
      ]
    },
    {
      "DateTimeAdded": "2024-03-26T11:06:26-0400",
      "EnteredByIEN": 520881857,
      "EnteredByName": "FISHER,BRADLEY W",
      "Preference": "TUESDAY",
      "Remarks": [
        "2 SECOND REMARK"
      ]
  "SpecialNeedsAndPreferences": [
    },
    {
      "DateTimeAdded": "2024-03-26T11:06:26-0400",
      "EnteredByIEN": 520881857,
      "EnteredByName": "FISHER,BRADLEY W",
      "Preference": "FRIDAY",
      "Remarks": [
        "3 SO MANY REMARKS"
      ]
    }
    {
  ]
}
      "DateTimeAdded": "2024-03-26T11:06:26-0400",
      "EnteredByIEN": 520881857,
      "EnteredByName": "FISHER,BRADLEY W",
      "Preference": "WEDNESDAY",
      "Remarks": [
        "1 HEY LOOK A REMARK"