SDES2 SEARCH CLINIC ATTRIBUTES (4953)    REMOTE PROCEDURE (8994)

Name Value
NAME SDES2 SEARCH CLINIC ATTRIBUTES
TAG SEARCHCLIN
ROUTINE SDES2CLNSEARCH
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
APP PROXY ALLOWED Yes
DESCRIPTION
Given a whole or partial Clinic Name, Station Number (Opt), Date (Opt) 
and Return Active Flag (Opt) return the matching clinics and their key
attributes.
 
The RPC will search both the B x-ref based on the NAME (#.01 ) field and 
then the C x-ref based on the ABBREVIATION (#1) field for matches.
INPUT PARAMETER
  • SDCONTEXT
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   32000
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    This array contains the needed audit information as defined by the 
     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
                                calling application.
     Acheron system.
      
     SDCONTEXT("ACHERON ID") = Up to 40 Character unique ID number.
                               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.
    
  • SDCLINIC
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   32000
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    The SDCLINIC array contains the following array elements:
      Status verification. If not passed in, defaults to DT.
     SDCLINIC("RETURNACTIVE") (Opt) = Boolean to return Active or Inactive 
      clinics.
        1:Returns active and inactive clinics.
        0:Returns only active clinics.
        Defaults to 0 if not passed in.
     
     SDCLINIC("SEARCHSTRING") (Req) = free text string that represents the 
      recall clinic name that will be searched.
     SDCLINIC("STATION") (Opt) = Station Number: If present, the search would 
      be limited to matching clinics at the given institution. If absent, the
      search would take place across all divisions/institutions. Example
      values: 534, 534GB
     SDCLINIC("DATETIME") (Opt) = Date in ISO 8601 format to use for Clinic 
    
RETURN PARAMETER DESCRIPTION
 A listing of matching clinics and their key attributes:
   "CreditStopCodeAMIS": 179,
            "IEN": 520690474,
            "Name": "PICKRON,MYRA SUE",
            "SecID": 
        },
        {
            "IEN": 520881793,
            "Name": "USER,SUPER",
            "SecID": 1013195126
        },
        {
   "CreditStopCodeIEN": 391,
            "IEN": 520881804,
            "Name": "GUNES,OZNUR",
            "SecID": 1056768395
        }
    ],
    "StopCodeAMIS": 323,
    "StopCodeIEN": 296,
    "StopCodeName": "PRIMARY CARE/MEDICINE"
     }
 ]
   "CreditStopCodeName": "RT CLIN VID CARE HOME",
 }
}
   "DefaultProviderIEN": 520849258,
   "DefaultProviderName": "VSETEST,PROVIDERONE",
   "DefaultProviderSecID": 1233213858,
   "NonCountClinic": "NO",
   "OccasionOfServiceClinic": "",
   "PatientFriendlyName": "",
   "PbspID": "XXA 3312342 ID TEST",
  
   "Providers": [
    {
     "ID": 520637558,
     "Name": "SMIDA,REUBEN",
     "SecID": 1023705699
    },
    {
     "ID": 520641089,
     "Name": "ABIDE,JILLIAN R",
     "SecID": ""
{
    },
    {
     "ID": 520680480,
     "Name": "ALVARES,BURTON CLARK",
     "SecID": ""
    }
   ],
   "StopCodeAMIS": 529,
   "StopCodeIEN": 329,
   "StopCodeName": "HCHV/HCMI INDIV",
 "Clinic": [
   "Type": "CLINIC",
   "TypeExtension": "CLINIC"
  }
 ]
}
                    "SecID": 1046169286
                }
            ],
            "StopCodeAMIS": 323,
            "StopCodeIEN": 296,
  {
            "StopCodeName": "PRIMARY CARE/MEDICINE"
            }
        "Abbreviation": "ACUTE",
        "ClinicAppointmentLength": 30,
        "ClinicIEN": 3754,
        "ClinicName": "CHY ACUTE CARE 2",
        "ClinicStatus": "Active",
        "CreditStopCodeAMIS": 179,
        "CreditStopCodeIEN": 391,
        "CreditStopCodeName": "RT CLIN VID CARE HOME",
   "Abbreviation": "TEST1",
        "NonCountClinic": "NO",
        "PatientFriendlyName": "CHY ACUTE CARE CARTER",
        "Providers": [
            {
                "IEN": 520693379,
                "Name": "CINALLI,LORENE R",
                "SecID": 
            },
            {
                "IEN": 520881793,
   "ClinicIEN": 5392,
                "Name": "USER,SUPER",
                "SecID": 1013195126
            },
            {
                "IEN": 520881804,
                "Name": "GUNES,OZNUR",
                "SecID": 1056768395
            },
            {
                "IEN": 520881805,
   "ClinicName": "TEST CLINIC 1",
                "Name": "BUTLER,BRANDON L",
                "SecID": 1046169286
            }
        ],
        "StopCodeAMIS": 323,
        "StopCodeIEN": 296,
        "StopCodeName": "PRIMARY CARE/MEDICINE"
        }
    "Abbreviation": "ACUTE",
    "ClinicAppointmentLength": 30,
   "ClinicStatus": "Active",
    "ClinicIEN": 4118,
    "ClinicName": "CHY ACUTE CARE 3",
    "ClinicStatus": "Active",
    "CreditStopCodeAMIS": 679,
    "CreditStopCodeIEN": 583,
    "CreditStopCodeName": "NC CVT TO HOME PROVID LOC",
    "NonCountClinic": "NO",
    "PatientFriendlyName": "CHY ACUTE CARE BAKER",
    "Providers": [
        {