SDES2 GET DEMOGRAPHICS (5030)    REMOTE PROCEDURE (8994)

Name Value
NAME SDES2 GET DEMOGRAPHICS
TAG GETDEMOGRAPHICS
ROUTINE SDES2GETDEMOS
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
WORD WRAP ON FALSE
APP PROXY ALLOWED Yes
DESCRIPTION
This RPC returns all of the valid external values associated with RACE, 
ETHNICITY, RELIGION, and MARITAL STATUS.
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
    
RETURN PARAMETER DESCRIPTION
{
      "DIVORCED",
      "SCIENTOLOGY",
      "SHAMANISM",
      "SHIITE (ISLAM)",
      "SHINTO",
      "SIKISM",
      "SPIRITUALISM",
      "SUNNI (ISLAM)",
      "TAOISM",
      "THERAVADA",
      "UNIVERSAL LIFE CHURCH",
      "MARRIED",
      "VAJRAYANA (TIBETAN)",
      "VEDA",
      "VOODOO",
      "WICCA",
      "YAOHUSHUA",
      "ZOROASTRIANISM",
      "ASKED BUT DECLINED TO ANSWER",
      "AFRICAN AMERICAN EPISCOPAL",
      "BUDDHISM, OTHER",
      "EVANGELICAL",
      "WIDOWED",
      "HOLINESS CHURCHES",
      "CATHOLIC (NON-ROMAN CATHOLIC)",
      "UNITARIAN-UNIVERSALISM"
    ]
  }
}
      "SEPARATED",
      "NEVER MARRIED",
      "UNKNOWN"
    ],
    "Race": [
      "BLACK",
      "AMERICAN INDIAN",
  "Demographics": {
      "CAUCASIAN",
      "MEXICAN AMERICAN",
      "ASIAN",
      "UNKNOWN",
      "HISPANIC,BLACK",
      "AMERICAN INDIAN OR ALASKA NATIVE",
      "BLACK OR AFRICAN AMERICAN",
      "DECLINED TO ANSWER",
      "NATIVE HAWAIIAN OR OTHER PACIFIC ISLANDER",
      "UNKNOWN BY PATIENT",
    "Ethnicity": [
      "WHITE"
    ],
    "Religion": [
      "JUDAISM",
      "EASTERN ORTHODOX",
      "BAPTIST",
      "METHODIST",
      "LUTHERAN",
      "PRESBYTERIAN",
      "UNITED CHURCH OF CHRIST",
      "HISPANIC OR LATINO",
      "EPISCOPALIAN",
      "ADVENTIST",
      "ASSEMBLY OF GOD",
      "BRETHREN",
      "CHRISTIAN SCIENTIST",
      "CHURCH OF CHRIST",
      "CHURCH OF GOD",
      "DISCIPLES OF CHRIST",
      "EVANGELICAL COVENANT",
      "FRIENDS",
      "NOT HISPANIC OR LATINO",
      "JEHOVAH'S WITNESSES",
      "LATTER DAY SAINTS",
      "ISLAM",
      "NAZARENE",
      "OTHER",
      "PENTECOSTAL",
      "PROTESTANT",
      "PROTESTANT, NO DENOMINATION",
      "REFORMED",
      "SALVATION ARMY",
      "DECLINED TO ANSWER",
      "UNITARIAN-UNIVERSALIST",
      "UNKNOWN/NO PREFERENCE",
      "ROMAN CATHOLIC CHURCH",
      "NATIVE AMERICAN",
      "ZEN BUDDHISM",
      "AFRICAN RELIGIONS",
      "AFRO-CARIBBEAN RELIGIONS",
      "AGNOSTICISM",
      "ANGLICAN",
      "ANIMISM",
      "UNKNOWN BY PATIENT"
      "ATHEISM",
      "BABI & BAHA'I FAITHS",
      "BON",
      "CAO DAI",
      "CELTICISM",
      "CHRISTIAN (NON-SPECIFIC)",
      "CONFUCIANISM",
      "CONGREGATIONAL",
      "CYBERCULTURE RELIGIONS",
      "DIVINATION",
    ],
      "FOURTH WAY",
      "FREE DAISM",
      "FULL GOSPEL",
      "GNOSIS",
      "HINDUISM",
      "HUMANISM",
      "INDEPENDENT",
      "JAINISM",
      "MAHAYANA",
      "MEDITATION",
    "MaritalStatus": [
      "MESSIANIC JUDAISM",
      "MITRAISM",
      "NEW AGE",
      "NON-ROMAN CATHOLIC",
      "OCCULT",
      "ORTHODOX",
      "PAGANISM",
      "PROCESS, THE",
      "REFORMED/PRESBYTERIAN",
      "SATANISM",