---
title: "Extract Patient Demographic/Registration Data"
canonical: "https://wiki.patientsknowbest.com/space/api/4716757038/Extract%20Patient%20Demographic%2FRegistration%20Data"
format: markdown
---
Using the HL7 A19 QRY message you can retrieve a list of patients who have medical records in PKB and who are associated with your Organisation or Team.  Depending on how you choose to use the query you can extract a specified set of demographic details and/or their PKB registration status.

> Macro (pagetree)