FHIR DrillDocs

Profiles & validation

Profiles, extensions and IGs

How base FHIR is narrowed and extended for a country or use case, and how to read an implementation guide.

Base FHIR is deliberately loose: nearly every element is optional, and codes are often only suggested. Profiles tighten it for a particular purpose.

The building blocks#

StructureDefinition
The machine-readable definition of a resource, a profile or an extension. A profile is a StructureDefinition that constrains a base resource.
Profile
Rules on top of a base resource, for example: identifier is required, gender must be present, birthDate must be a full date. AU Core Patient is a profile.
Extension
An extra element the base spec doesn't have. Each extension has a URL that identifies its StructureDefinition, for example http://hl7.org.au/fhir/StructureDefinition/indigenous-status.
Slicing
Splitting a repeating element into named parts with their own rules. An example is Patient.identifier sliced into ihi, medicare and dva, each with its own system and format.
Must Support
A flag meaning that systems claiming conformance must be able to handle this element. Each IG defines exactly what "handle" means, so read its conformance page.
ValueSet binding
Which codes an element may use, and how strictly: required (only these), extensible (these if one fits), preferred or example.
Implementation Guide (IG)
A published package of profiles, extensions, value sets, examples and narrative, for example hl7.fhir.au.core. Packages are versioned and downloaded from packages.fhir.org.

The Australian stack#

Package What it is
AU Base (hl7.fhir.au.base) Australian building blocks: identifiers (IHI, Medicare, DVA, HPI-I, HPI-O), address, Indigenous status, AU value sets. Defines things and requires very little
AU Core (hl7.fhir.au.core) The minimum conformance requirements for Australian systems, built on AU Base. This is the one connectathons test against
AU eRequesting Pathology and imaging ordering, built on AU Core
AU Patient Summary The Australian version of the International Patient Summary

How to read a profile page#

Start with the "Key Elements" or "Differential" tab#

It shows only what this profile changes compared with its parent. The "Snapshot" tab shows everything.

Read the flags column#

S means Must Support. ?! means a modifier element: it can change the meaning of the whole resource, so you must not ignore it. Σ means a summary element. A cardinality such as 1..* means "required, and can repeat".

Check the bindings#

Click through to each ValueSet and note its strength. A required binding is a hard error when you break it. An extensible binding usually gives a warning.

Read the constraints#

Invariants such as au-core-pat-01 are FHIRPath rules. The validator checks them and reports them by key.

Look at the examples#

Every good IG ships examples. Validate them yourself to check that your tooling agrees with the IG.

FHIR Drill lab docs · synthetic data only · built 2026-11-26