This article is for web engineers, SEO leads and digital heads at hospital groups: a brand with several branches, many departments and hundreds of doctors. It treats your public presence as a small knowledge graph, a set of entities and relationships that machines can read, and shows how to build one deliberately instead of letting it assemble itself from inconsistent pages.
It extends the general idea of entity consistency into implementation. You will see which identifiers to collect, how to model branches and departments in schema.org, where Wikidata fits and where it does not, and how to audit the result. The content is technical. It assumes you can edit templates and structured data and that a clinical and legal reviewer can approve the public facts. Nothing here guarantees a Knowledge Panel, a Wikipedia article or a place in any AI answer.
Why model it at all
A hospital group presents the same facts in many places: the corporate site, branch pages, doctor pages, Business Profiles, LinkedIn, directories, press articles, accreditation lists and Wikipedia or Wikidata if they exist. When these disagree, a system has to guess which facts apply to which entity. Disagreements are common: a branch named differently on the site and in Maps, a department listed under two parents, a doctor attached to the wrong location.
A knowledge graph approach fixes the facts first. You decide what the entities are, give each a stable identifier and write down the relationships once. Every publishing surface then draws from that record.
Step 1: The entity register
Create a spreadsheet or database table with one row per entity. For a hospital group, the types are:
- the group (the brand and legal entity)
- each hospital or branch
- each department at a branch
- each doctor
- optionally each service or procedure you want to be known for
For each entity, record:
| Field | Notes |
|---|---|
| Internal ID | A stable key you control; never reuse |
| Canonical name | One spelling, plus a list of allowed variants |
| Legal name | Where applicable |
| Canonical URL | The one page that represents this entity |
| Parent | Group for branches, branch for departments |
| Address and coordinates | Branches only |
| Phone and hours | Source of truth owner named |
| External IDs | Business Profile link, LinkedIn URL, Wikidata Q-number if one exists, registration numbers |
| Verified by and date | Who checked the facts and when |
Treat the register as the single source for templates, feeds and profile updates. If it is not in the register, it does not go on a profile.
Step 2: Model it in schema.org
The Hospital type sits under MedicalOrganization, Place and LocalBusiness paths, and supports the properties you need: department, parentOrganization, subOrganization, availableService, medicalSpecialty and identifier. Note that schema.org states parentOrganization supersedes the older branchOf.
A workable pattern:
- On the corporate homepage or about page, publish one
Organizationnode for the group withname,legalName,url,logo,sameAsand asubOrganizationlist pointing to the branch URLs. - On each branch page, publish a
Hospitalnode with a stable@id(a URL with a fragment, such as the branch URL followed by #hospital),parentOrganizationreferencing the group's@id, address, geo coordinates, telephone, opening hours andsameAsfor that branch's own profiles. - On each department page, publish a node for the department with
@id, a link to its branch andmedicalSpecialtywhere it fits. - On each doctor page, publish a
Physiciannode withhospitalAffiliationreferencing the branch@id.
Stable @id values are the point. They let the same entity be referenced from several pages without duplicating or contradicting it.
Google's Organization structured data documentation lists sameAs, legalName, iso6523Code, leiCode, taxID, url and logo among recommended properties and says some are "used behind the scenes to disambiguate your organization from other organizations." No property is required. Use the identifiers that you actually have: a registered legal name and tax ID for the group are normal, while an LEI is rare for hospitals and should not be invented. For markup background see our healthcare schema implementation guide.
The sameAs definition on schema.org is a "URL of a reference Web page that unambiguously indicates the item's identity." Treat that literally. Link the hospital's own LinkedIn page, Business Profile or Wikidata item. Do not link a generic directory category page, a competitor's page or anything that describes a different entity.
Step 3: Where Wikidata fits
Wikidata is a free, structured database. It has its own notability criteria: an item needs a valid sitelink to a Wikimedia project, or must refer to a clearly identifiable entity that can be described using serious, publicly available references, or must fulfil a structural need. A well-documented hospital group can meet the second test, and a branch might, depending on references.
Practical guidance:
- Search first. Many large hospitals already have items. Do not create duplicates.
- Check what exists. Review the labels, descriptions and statements for accuracy.
- Use properties with care. Typical statements for a hospital include
instance of(P31),official website(P856),parent organization(P749) and coordinates, each with a reference. The official website property page advises adding a new preferred statement when a homepage changes and keeping the old one. - Add references. Statements with a reliable reference are more durable than bare claims.
- Respect conflict-of-interest norms. Edits by people connected to the subject should be disclosed and limited to factual, referenced corrections. Do not mass-create items for doctors or departments. Most will not meet notability or structural-need tests, and unreferenced promotional items get deleted.
- Link both ways. If an item exists, add its URL to your organisation
sameAs, and make sure the item lists your official website.
For doctors, similar rules apply. Wikidata has an identifier property for ORCID iD (P496) and one for the Google Knowledge Graph ID (P2671). The latter is described as the identifier used by the Google Knowledge Graph API, starting with "/g/". Their existence is not a reason to create items for individual doctors.




