SDES2 SEARCH CLINIC ATTRIBUTES

TITLEVALUE
NAMESDES2 SEARCH CLINIC ATTRIBUTES
DESCRIPTIONGiven 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.

Can only be invoked by Acheron
TAGSEARCHCLIN
ROUTINESDES2CLNSEARCH
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERSDCONTEXT
DESCRIPTIONThis array contains the needed audit information as defined by the
Acheron system.

SDCONTEXT("ACHERON AUDIT 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.
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.
PARAMETER TYPELIST
REQUIREDYES
MAXIMUM DATA LENGTH32000

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERSDCLINIC
DESCRIPTIONThe SDCLINIC array contains the following array elements:

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
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.
PARAMETER TYPELIST
REQUIREDYES
MAXIMUM DATA LENGTH32000

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTION A listing of matching clinics and their key attributes:

{
"Clinic": [
{
"Abbreviation": "TEST1",
"ClinicIEN": 5392,
"ClinicName": "TEST CLINIC 1",
"ClinicStatus": "Active",
"CreditStopCodeAMIS": 179,
"CreditStopCodeIEN": 391,
"CreditStopCodeName": "RT CLIN VID CARE HOME",
"DefaultProviderActive": 1,
"DefaultProviderIEN": 520849258,
"DefaultProviderName": "VSETEST,PROVIDERONE",
"DefaultProviderSecID": 1233213858,
"DefaultProviderTitle": "PHYSICIAN",
"NonCountClinic": "NO",
"OccasionOfServiceClinic": "",
"PatientFriendlyName": "",
"ProhibitedClinic": 1,
"PbspID": "XXA 3312342 ID TEST",
"Providers": [
{
"Active": 1,
"ID": 520637558,
"Name": "SMIDA,REUBEN",
"SecID": 1023705699
"Title": "OI&T STAFF"
},
{
"Active": 0,
"ID": 520641089,
"Name": "ABIDE,JILLIAN R",
"SecID": ""
"Title": "OI&T STAFF"
},
{
"Active": 1,
"ID": 520680480,
"Name": "ALVARES,BURTON CLARK",
"SecID": ""
"Title": "OI&T STAFF"
}
],
"StopCodeAMIS": 529,
"StopCodeIEN": 329,
"StopCodeName": "HCHV/HCMI INDIV",
"Subspecialty": [
{
"ID": 1,
"Name": "SUBSPECIALTY TEST 1",
"Tier": "SECONDARY",
"Parent": ""
},
{
"ID": 2,
"Name": "SUBSPECIALTY TEST 2",
"Tier": "TERTIARY",
"Parent": 1
}
],
"Type": "CLINIC",
"TypeExtension": "CLINIC"
}
]
}
{
"IEN": 520881793,
"Name": "USER,SUPER",
"SecID": 1013195126
},
{
"IEN": 520881804,
"Name": "GUNES,OZNUR",
"SecID": 1056768395
},
{
"IEN": 520881805,
"Name": "BUTLER,BRANDON L",
"SecID": 1046169286
}
],
"StopCodeAMIS": 323,
"StopCodeIEN": 296,
"StopCodeName": "PRIMARY CARE/MEDICINE"
}
"Abbreviation": "ACUTE",
"ClinicAppointmentLength": 30,
"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": [
{
"IEN": 520690474,
"Name": "PICKRON,MYRA SUE",
"SecID":
},
{
"IEN": 520881793,
"Name": "USER,SUPER",
"SecID": 1013195126
},
{
"IEN": 520881804,
"Name": "GUNES,OZNUR",
"SecID": 1056768395
}
],
"StopCodeAMIS": 323,
"StopCodeIEN": 296,
"StopCodeName": "PRIMARY CARE/MEDICINE"
}
]
}
}
AVAILABILITYRESTRICTED
INACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWEDYes