---
title: "Demographics"
canonical: "https://wiki.patientsknowbest.com/space/api/4714823834/Demographics"
format: markdown
---
> Macro (toc)

# ADT^A28

[ADT^A28](https://pkbdev.atlassian.net/wiki/spaces/api/pages/3365078168/ADT+A28?atlOrigin=eyJpIjoiMGRmYmI2ZWM1ODJjNDMyYWFlYjcyNDlkMmM4NzZlNTAiLCJwIjoiYyJ9) message should ideally be used to send the demographics for a new patient and thereby create a record in PKB for them, and the [ADT^A31](https://pkbdev.atlassian.net/wiki/spaces/api/pages/3365078195/ADT+A31?atlOrigin=eyJpIjoiYzEwNjM5YTQwZGEyNGNiMTlhNDA4YTcxYzE5ZTY2N2UiLCJwIjoiYyJ9) message for updating the demographics of an existing patient.  However, use of either message will be processed by PKB in the same manner so it’s not essential you are able to differentiate as described.

These messages will need to consist of the [MSH](https://pkbdev.atlassian.net/wiki/spaces/api/pages/3365012972/MSH?atlOrigin=eyJpIjoiYjcyNTJhOWFhNDI1NDgxYzg5YzEyMWEwZGZkZjVhZWIiLCJwIjoiYyJ9) and [PID](https://pkbdev.atlassian.net/wiki/spaces/api/pages/3364849216/PID?atlOrigin=eyJpIjoiZWFhOTcxNzUzZjcxNGQ2ODgzZjkxZTQ3YzBlNmZiN2UiLCJwIjoiYyJ9) segments, adhering to the scope requirements.

NOTE: The A28 and A31 HL7 messages do support other feed capabilities such as:

- [Adding / Updating Medications](https://pkbdev.atlassian.net/wiki/spaces/api/pages/4716363812/Medications?atlOrigin=eyJpIjoiYzk2ZGM3OTY0MDZkNGY3OTg1M2Q5NmRlMDY1Zjg5Y2YiLCJwIjoiYyJ9)
- [Adding / Updating Allergies](https://pkbdev.atlassian.net/wiki/spaces/api/pages/4716494866/Allergies?atlOrigin=eyJpIjoiNGVmYWE5MWZjM2VhNDNiZmIxNWEyMTU2Njg2OTdhMmYiLCJwIjoiYyJ9)
- [Adding / Updating Diagnosis](https://pkbdev.atlassian.net/wiki/spaces/api/pages/4716855297/Diagnosis?atlOrigin=eyJpIjoiNDZmODBjOGNjNDRkNGNiMWFiOWY2NGIyMjhmNzhmNDgiLCJwIjoiYyJ9)
- [Adding  / Removing patients from a PKB Team](https://pkbdev.atlassian.net/wiki/spaces/api/pages/3364849143/Adding+Patients+to+and+Removing+from+teams?atlOrigin=eyJpIjoiNGQyNjY0MDJiMDcwNDk2Yzg2M2U1NzdhNjRjNTM3MmIiLCJwIjoiYyJ9)

# Section Content

> Macro (children)

> 📝 It is acceptable to send demographics, allergy, medication and diagnosis data within the same HL7 message for a patient