SDES PATIENT SEARCH

TITLEVALUE
NAMESDES PATIENT SEARCH
DESCRIPTIONThis RPC will return patients and their associated data based on search
criteria passed in by the user (PARTIAL NAME, DOB, SSN, FIRST INITIAL OF
LAST NAME+LAST4 OF SSN).

Can only be invoked by Acheron
TAGSEARCH
ROUTINESDESPATSEARCH
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERSEARCHSTRING
DESCRIPTIONThis is a free text input parameter that holds the search criteria
entered by the user.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH32000

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERNUMOFRECORDS
DESCRIPTIONThis is the number of records the user is requesting be passed back. This
number has an upper limit of 50. If it is not passed in, it will default
to a value of 10.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH32000

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTION{
"Patient": [
{
"DFN": "38281",
"DateOfBirth": "1947-11-15",
"DateOfDeath": "2023-02-23",
"DemographicsNeedUpdate": "1",
"DemographicsUpdated": "2018-01-18",
"Eligibility": [
{
"PrimaryEligibilityCode": "SERVICE CONNECTED 50% to
100%",
"PrimaryEligibilityCodeType": "VETERAN"
},
{
"SecondaryEligibilityCode": "ALLIED VETERAN",
"SecondaryEligibilityCodeType": "NON-VETERAN"
},
{
"SecondaryEligibilityCode": "HUMANITARIAN EMERGENCY",
"SecondaryEligibilityCodeType": "NON-VETERAN"
},
{
"SecondaryEligibilityCode": "COLLATERAL OF VET.",
"SecondaryEligibilityCodeType": "NON-VETERAN"
},
{
"SecondaryEligibilityCode": "TRICARE",
"SecondaryEligibilityCodeType": "NON-VETERAN"
}
],
"Flag": [
{
"AssignedDate": "2016-11-07T11":53:37-0500,
"Category": "I (NATIONAL)",
"FlagName": "HIGH RISK FOR SUICIDE",
"Narrative": [This is a test account. The actual
record tex
t was removed Feb 14, 2018.]
"OriginatingSiteID": "442",
"OriginatingSiteName": "CHEYENNE VA MEDICAL",
"OwnerSiteID": "442",
"OwnerSiteName": "CHEYENNE VA MEDICAL",
"ReviewDate": "2018-04-25",
"Type": "CLINICAL"
}
],
"FugitiveFelon": "",
"Gender": "FEMALE",
"GenderIdentity": "Does not wish to disclose",
"ICNNumber": "1002001927V385494",
"MentalHealthProvider": "VSETEST,PROVIDERONE",
"Name": "CHAPPLE,M",
,MORGAN J
"PatientType": "NSC VETERAN",
"PreferredName": "BATMAN",
"PrimaryCarePractitioner": "MCGAW,ELLIOTT D",
"SensitivePatientRestrictedRecord": "1",
"SensitiveRecordMessage": [
{
"Text": "***WARNING***"
},
{
"Text": "***RESTRICTED RECORD***"
}
],
"ServiceConnected": "YES (50%)",
"ServiceConnectedCondition": [
{
"Condition": "STUBBED HIS TOE"
},
{
"Condition": "TRIPPED ON LAUNDRY"
},
{
"Condition": "CUT HIMSELF SHAVING"
},
{
"Condition": "HIT FUNNYBONE"
},
{
"Condition": "ATE TOO MUCH MEXICAN FOOD"
}
],
"Ward": "C MEDICINE"
}
"DFN": "38281",
"DateOfBirth": "1947-11-15",
"DateOfDeath": "2023-02-23",
"DemographicsNeedUpdate": "1",
"DemographicsUpdated": "2018-01-18",
"Eligibility": [
{
"PrimaryEligibilityCode": "SERVICE CONNECTED 50% to 100%",
"PrimaryEligibilityCodeType": "VETERAN"
},
{
"SecondaryEligibilityCode": "ALLIED VETERAN",
"SecondaryEligibilityCodeType": "NON-VETERAN"
},
{
"SecondaryEligibilityCode": "HUMANITARIAN EMERGENCY",
"SecondaryEligibilityCodeType": "NON-VETERAN"
},
{
"SecondaryEligibilityCode": "COLLATERAL OF VET.",
"SecondaryEligibilityCodeType": "NON-VETERAN"
},
{
"SecondaryEligibilityCode": "TRICARE",
"SecondaryEligibilityCodeType": "NON-VETERAN"
}
],
"Flag": [
{
"AssignedDate": "2016-11-07T11":53:37-0500,
"Category": "I (NATIONAL)",
"FlagName": "HIGH RISK FOR SUICIDE",
"Narrative": [This is a test account. The actual record
text wa
s removed Feb 14, 2018.]
"OriginatingSiteID": "442",
"OriginatingSiteName": "CHEYENNE VA MEDICAL",
"OwnerSiteID": "442",
"OwnerSiteName": "CHEYENNE VA MEDICAL",
"ReviewDate": "2018-04-25",
"Type": "CLINICAL"
}
],
"FugitiveFelon": "",
"Gender": "FEMALE",
"GenderIdentity": "Does not wish to disclose",
"ICNNumber": "1002001927V385494",
"Last4SSN": "",
"MentalHealthProvider": "VSETEST,PROVIDERONE",
"Name": "CHAPPLE,M",
,MORGAN J
"PatientType": "NSC VETERAN",
"PreferredName": "BATMAN",
"PrimaryCarePractitioner": "MCGAW,ELLIOTT D",
"RatedDisabilities": [
{
"CurrentEffectiveDate": "",
"DisabilityPercent": "",
"ExtremityAffected": "",
"OriginalEffectiveDate": "",
"RatedDisability": "",
"ServiceConnected": ""
}
],
"SensitivePatientRestrictedRecord": "1",
"SensitiveRecordMessage": [
{
"Text": "***WARNING***"
},
{
"Text": "***RESTRICTED RECORD***"
}
],
"ServiceConnected": "YES (50%)",
"ServiceConnectedCondition": [
{
"Condition": "STUBBED HIS TOE"
},
{
"Condition": "TRIPPED ON LAUNDRY"
},
{
"Condition": "CUT HIMSELF SHAVING"
},
{
"Condition": "HIT FUNNYBONE"
},
{
"Condition": "ATE TOO MUCH MEXICAN FOOD"
}
],
"Ward": "C MEDICINE"
}
]
}
AVAILABILITYRESTRICTED
INACTIVEACTIVE
CLIENT MANAGER
WORD WRAP ONFALSE
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWEDYes