×
PatientRaces GET
GET /patientraces?PatNum={PatNum}. PatNum is required. Returns an array of race/ethnicity records. Public Health must be enabled. Per OpenDental API PatientRaces. See also PatientRace Database Schema.
Example Response:
[
{
"PatientRaceNum": 16,
"PatNum": 73,
"CdcrecCode": "2066-9",
"descripition": "ZAIREAN",
"isEthnicity": "false",
"heirarchicalCode": "R3.03.006"
},
{
"PatientRaceNum": 17,
"PatNum": 73,
"CdcrecCode": "2120-4",
"descripition": "EGYPTIAN",
"isEthnicity": "false",
"heirarchicalCode": "R5.02.002"
},
{
"PatientRaceNum": 18,
"PatNum": 73,
"CdcrecCode": "2186-5",
"descripition": "NOT HISPANIC OR LATINO",
"isEthnicity": "true",
"heirarchicalCode": "E2"
}
]
All response fields (with descriptions):
- PatientRaceNum — Primary key of the patientrace table.
- PatNum — The PatNum of the patient.
- CdcrecCode — CDC Race and Ethnicity unique identifier code.
- descripition — Race or Ethnicity description corresponding to the CdcrecCode (API field name as documented).
- isEthnicity — True for ethnicity, False for race information.
- heirarchicalCode — Alphanumeric code that the CDC uses to organize CdcrecCodes (API field name as documented).