Skip to content
  • There are no suggestions because the search field is empty.

How to Link a Client's GP from a Medical Form

In this article, we will show you how to set up medical form questions that link the client's GP practice, so the practice a client gives on a form appears on their client card without being typed in again.

NOTE: This builds on linked fields. If you haven't used them before, read How to Use Linked Fields in Medical Forms first. You need access to Setup to edit forms.

Step 1: Open the Form in Setup

Go to Setup → Forms. Open the form you want to edit, or click Create Form to start a new one, then open the Components tab.

Step 2: Add the GP Questions

Drag a Short answer or Long answer component onto the form for each GP detail you want to collect, and type the question, for example Name of your GP practice.

Ask for at least the practice name. Without it the form can't link a GP. Adding the postcode as well helps Pabau pick the right practice when two practices share a name.

Step 3: Link Each Question to a GP Practice Field

  1. Click the component to open Component Settings, then click Show advanced settings.
  2. Under Linked field, click Select Field and type GP practice.
  3. Choose the matching field from the GP practice group: GP practice name, GP practice address, GP practice town/city, GP practice postcode, GP practice phone or GP practice email.
  4. Click Save component.
Linked field dropdown filtered to the GP practice group

The GP practice group in the Linked field list

IMPORTANT: Pick from the GP practice group, not from Custom Fields. If your clinic has custom fields with names like GP Name or GP Surgery, they appear in the same list, but an answer linked to a custom field is only saved to that field and does not link a GP.

Only Short answer and Long answer questions can link to a GP practice field. On a choice question the GP fields are greyed out with Only short and long answers can link to a GP practice field. A short answer set to the Email input type can only link to GP practice email, and one set to Phone only to GP practice phone.

Each linked question shows its link on the form canvas. When you're done, click Create Form (or save your changes) to publish the form.

Form builder with two questions linked to GP practice name and GP practice postcode

Two questions linked to the GP practice name and postcode

Step 4: Complete the Form

The GP is linked when the form is completed, either by staff on the client card or by the client in the client portal. Saving the form as a draft does not link anything.

If the client already has a GP practice on their card, the GP questions open pre-filled with that practice, so the client or your team only needs to change them if the GP has changed.

A treatment note with the GP practice name and postcode questions

Completing the form on the client card

Step 5: Check the GP on the Client Card

Open the client card and click Relationships. The practice appears under GP.

Client card Relationships tab showing the linked GP practice

The GP practice linked from the form, under Relationships

Where this comes from: Pabau looks for the practice in your clinic's GP directory, matching on the same practice name (and the same postcode when both have one). If it finds one, it links that practice. If not, it adds a new practice to your directory using the form's answers, then links it. You can see every practice in Setup → Directories → GPs.

What Happens to a GP the Client Already Has?

  • No GP on the card: the practice is linked.
  • The same practice is already linked: nothing changes.
  • One other GP practice is linked: it is replaced by the new practice. The old link is removed from the card, but the old practice stays in your directory.
  • Two or more GP practices are linked: the new practice is added alongside them, because Pabau can't tell which one is the client's current GP. Remove the old one from Relationships if needed.

NOTE: A form never edits a practice that is already in your directory, because other clients may be linked to it. If its details are out of date, update them in Setup → Directories → GPs. Re-saving an older completed form without changing its GP answers also leaves the client's current GP as it is.

What Is Not Included?

  • Public capture forms, where there is no client card yet, don't link a GP.
  • The form links the GP practice. To record the names of individual doctors at the practice, use Add GPs on the practice in Relationships.

What's Next?


Was this guide helpful? Let us know by voting below - your feedback helps us write clearer articles.

For more guides, browse the related articles below or use the search bar at the top of the page. You can also watch our video learning series, the Pabau Academy, or visit the Support page for additional help.