SDES2 GET PATIENT REGISTRATION (5023)    REMOTE PROCEDURE (8994)

Name Value
NAME SDES2 GET PATIENT REGISTRATION
TAG GETPATINFO
ROUTINE SDES2GETREGS
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
APP PROXY ALLOWED Yes
DESCRIPTION
Given a Patient IEN (DFN) returns patient registration information in 
JSON format.
INPUT PARAMETER
  • SDCONTEXT
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   32000
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    SDCONTEXT("ACHERON AUDIT ID")
     SDCONTEXT("PATIENT ICN")
      - The ICN of the target patient from the calling application.
      - Up to 40 Character unique ID number. 
      - Ex: 11d9dcc6-c6a2-4785-8031-8261576fca37
     SDCONTEXT("USER DUZ")
      - The DUZ of the user taking action in the calling application.
     SDCONTEXT("USER SECID")
      - The SECID of the user taking action in the calling application.
     SDCONTEXT("PATIENT DFN")
      - The DFN/IEN of the target patient from the calling application.
    
  • SDINPUT
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   32000
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    SDINPUT("PATIENT IEN")=Patient DFN from the PATIENT file (#2)
    
RETURN PARAMETER DESCRIPTION
{
            {
            "Relationship": ""
        },
        "Security": 0,
        "ServiceConnected": "YES",
        "ServiceConnectedPercentage": 10,
        "Sex": "M",
        "SimilarPatients": "|",
        "SocialSecurityNumber": 1234,
        "TemporaryAddress": {
            "Address1": "",
                "PrimaryEligibilityCode": "SC LESS THAN 50%",
            "Address2": "",
            "Address3": "",
            "City": "",
            "Country": "",
            "CountryName": "",
            "County": "",
            "State": "",
            "Zip": "",
            "Zip4": ""
        },
                "PrimaryEligibilityCodeType": "VETERAN"
        "TemporaryAddressEnd": "",
        "TemporaryAddressStart": "",
        "TemporaryPhone": "",
        "TimeStamp": "",
        "VeteranCatastrophicallyDisabled": "",
        "Ward": ""
    }
}
            }
        ],
        "Email": "",
        "EmergencyContact": {
            "Address": {
                "City": "",
                "State": "",
    "Patient": {
                "Street": "",
                "Street2": "",
                "Street3": "",
                "Zip": "",
                "Zip4": ""
            },
            "Name": "ENAME,ENAME",
            "Phone": "",
            "Relationship": "",
            "WorkPhone": ""
        "AddressIndicator": "",
        },
        "EnrollmentSubgroup": "",
        "Ethnicity": {
            "IEN": "",
            "Name": ""
        },
        "FugitiveFlag": "",
        "GAFRequired": "New GAF Required",
        "HealthRecordNumber": "000971234",
        "HomePhone": "",
        "Category8GFlag": 0,
        "ICN": "4420062408V906408",
        "LocalFlag": "",
        "MailingAddress": {
            "City": "AURORA",
            "Country": 1,
            "CountryName": "USA",
            "County": "ARAPAHOE",
            "State": "COLORADO",
            "Street1": "12198 E VASSAR DR",
            "Street2": "",
        "Cell": "",
            "Street3": "",
            "Zip": 80014,
            "Zip4": 80014
        },
        "Marital": "SEPARATED",
        "MentalHealthProvider": "",
        "Name": "VSERRM,TESTONE",
        "NationalFlag": "",
        "OfficePhone": "",
        "PrimaryCareProvider": "",
        "DataFileNumber": 7242575,
        "PrimaryNextOfKin": {
            "Address": {
                "Address": "",
                "City": "",
                "State": "",
                "Street3": "",
                "Zip": "",
                "Zip4": "",
                "street2": ""
            },
        "DateOfBirth": "1945-01-01",
            "Name": "",
            "Phone": "",
            "Relationship": ""
        },
        "PriorityGroup": "",
        "Race": {
            "IEN": "",
            "Name": ""
        },
        "Religion": "UNKNOWN/NO PREFERENCE",
        "DateOfDeath": "",
        "ResidentialAddress": {
            "Address1": "",
            "Address2": "",
            "Address3": "",
            "City": "",
            "State": "",
            "Zip4": ""
        },
        "SecondaryNextOfKin": {
            "Address": {
        "Eligibility": [
                "City": "",
                "State": "",
                "Street": "",
                "Street2": "",
                "Street3": "",
                "Zip": "",
                "Zip4": ""
            },
            "Name": "",
            "Phone": "",