Appearance
Endpoint: /Patient/GetDemographics
This endpoint will allow a GEHRIMED Patient ID to be provided, returning the basic demographic data for a patient with that GEHRIMED Patient ID.
Request : JSON
{
"PatientID": 159987
}Response : JSON
{
"Metadata": {
"ApiSender": "GEHRIMED",
"ApiConsumer": "client_id",
"MessageDateTime": "2018-09-12T16:44:25.850Z"
},
"Data": {
"PatientID": 154791,
"FirstName": "JAMMY",
"LastName": "FRYER",
"Gender": "M",
"DateOfBirth": "1945-10-24",
"Race": {
"Race": [
{
"RaceName": "White",
"HL7RaceCode": "2106-3",
"HierarchicalCode": "R5"
},
{
"RaceName": "Unknown",
"HL7RaceCode": "U"
}
]
},
"Ethnicity": {
"Ethnicity": [
{
"EthnicityName": "Castillian (Hispanic or Latino)",
"HL7Code": "H",
"UniqueIdentifier": "2140-2",
"HierarchicalCode": "E1.01.003"
},
{
"EthnicityName": "Asturian (Hispanic or Latino)",
"HL7Code": "H",
"UniqueIdentifier": "2139-4",
"HierarchicalCode": "E1.01.002"
}
]
},
"Language": {
"LanguageName": "English",
"Code_639_1": "en",
"Code_639_2": "eng"
},
"SmokingStatus": {
"SmokingStatusDescription": "Current every day smoker",
"SmokingStatusSNOMEDCode": "449868002"
}
}
}