A FHIR Profile is a formal declaration that adapts a general-purpose Resource for a specific use case by tightening cardinalities, restricting terminology bindings, and applying invariants. While the base Patient resource defines a generic structure, a profile like US Core Patient mandates exactly which elements must be supported and which specific ValueSets are required for coded elements like race and ethnicity, ensuring semantic interoperability across disparate systems.
Glossary
FHIR Profile

What is a FHIR Profile?
A FHIR Profile is a constrained and extended subset of a base FHIR resource tailored to meet the specific data requirements of a particular country, domain, or implementation guide.
Profiles are the primary mechanism for achieving computable conformance in FHIR. They are authored using tools like FHIR Shorthand (FSH) or the StructureDefinition resource and are published within a FHIR Implementation Guide. A FHIR Validator then uses these profiles to check resource instances, verifying that a MedicationRequest not only parses correctly but also adheres to the exact constraints defined by a national regulatory body or a specific clinical workflow.
Core Characteristics of a FHIR Profile
A FHIR profile is not a new resource, but a tailored version of an existing one. It applies a set of constraints and extensions to a base FHIR resource to meet the precise data requirements of a specific country, domain, or implementation guide, ensuring semantic and structural interoperability.
Structural Constraints
Profiles impose cardinality constraints on elements, making optional fields mandatory or prohibiting them entirely. This ensures that a receiving system can reliably depend on the presence of critical data.
- Cardinality Changes: A
0..1element can be constrained to1..1(required) or0..0(forbidden). - Type Refinement: A generic
Referencecan be constrained to a specific resource type, e.g.,Reference(Patient | Group). - Slicing: Discriminates a repeating element into distinct sub-elements based on a discriminator like a profile or value, enabling structured lists.
Terminology Binding
Profiles define the exact set of codes allowed for a coded element by binding it to a ValueSet. The binding strength dictates the level of enforcement.
- Required: Only codes from the specified ValueSet are valid.
- Extensible: Codes from the ValueSet are preferred, but others are allowed if no suitable code exists.
- Example: A profile for a blood pressure observation would bind the
codeelement to a LOINC ValueSet containing85354-9.
Extensions
Extensions are the formal mechanism for adding custom data elements not part of the base FHIR specification. A profile declares which extensions are used and where they appear.
- Modifier Extensions: Extensions that fundamentally change the meaning of an element and must be understood by the receiver.
- Standard vs. Custom: Profiles should use standard extensions from a registry when possible, only defining custom ones for truly novel concepts.
- Example: A profile might add a
birth-sexextension to the Patient resource to capture sex assigned at birth, distinct from administrative gender.
Invariants
Invariants are formal rules expressed in FHIRPath that enforce co-constraints and complex logical conditions beyond simple cardinality or type rules. They are critical for data quality.
- Co-constraints: Rules like 'if element A is present, then element B must also be present.'
- Severity Levels: Invariants can be defined as
error(must be fixed) orwarning(should be reviewed). - Example: An invariant on a MedicationRequest profile might assert that the
dosageInstruction.doseAndRate.doseQuantitymust have a unit from the UCUM system.
Must Support Flag
The Must Support flag is a boolean marker on an element that signals a system's obligation. It does not mean the element is required in every instance, but that a system must be capable of processing and persisting it.
- Sender Obligation: If the data exists, the sender must include it.
- Receiver Obligation: The receiver must store and not ignore the element.
- Implementation Guide Context: The precise meaning of Must Support is defined by the governing Implementation Guide, not the base specification.
Profile Hierarchy and Derivation
Profiles can be derived from other profiles, creating a layered architecture of constraints. This allows for a national base profile to be further constrained by a regional or institutional profile.
- Base Definition: Every profile declares its parent, which can be a base resource or another profile.
- Inheritance: A derived profile inherits all constraints from its parent and can only make rules stricter, never looser.
- Example: The US Core Patient profile derives from the base Patient resource, and a specific payer's Patient profile can derive from US Core Patient to add further payer-specific identifiers.
Frequently Asked Questions
Clear, technical answers to the most common questions about the structure, purpose, and governance of FHIR profiles in healthcare interoperability.
A FHIR Profile is a formal, machine-processable declaration that constrains and extends a base FHIR Resource to meet the specific data requirements of a particular country, domain, or implementation guide. The base FHIR specification is intentionally designed to be generic and universal, leaving most elements optional to support 80% of global use cases. A profile resolves this ambiguity by marking optional elements as mandatory, removing irrelevant elements, restricting value sets, and adding custom extensions. For example, the US Core Patient Profile requires the identifier and name elements, mandates a specific race and ethnicity extension, and binds the gender element to a constrained value set, ensuring every system in the US exchanges patient demographics in a predictable, computable way.
Prominent Examples of FHIR Profiles
A FHIR Profile is a constrained and extended subset of a base FHIR resource tailored to meet the specific data requirements of a particular country, domain, or implementation guide. The following examples illustrate how profiling standardizes data for specific clinical and administrative use cases.
FHIR Profile vs. Related Concepts
Distinguishing FHIR Profiles from other specification artifacts used to tailor base resources for specific implementation contexts.
| Feature | FHIR Profile | FHIR Extension | FHIR Implementation Guide |
|---|---|---|---|
Primary Purpose | Constrains cardinality, terminology, and structure of a base resource for a specific use case | Adds a custom data element not present in the base resource definition | Packages a coherent set of Profiles, Extensions, and rules to solve a complete interoperability problem |
Modifies Base Resource Definition | |||
Defines New Data Elements | |||
Specifies Terminology Bindings | |||
Can Exist Independently | |||
Published as a Package | |||
Example Artifact | US Core Patient Profile | US Core Birth Sex Extension | US Core Implementation Guide |
Authoring Language Support | FHIR Shorthand (FSH), StructureDefinition JSON/XML | FHIR Shorthand (FSH), StructureDefinition JSON/XML | FHIR Shorthand (FSH), ImplementationGuide JSON/XML |
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
A FHIR Profile does not exist in isolation. It relies on a constellation of related specifications and mechanisms to define constraints, validate conformance, and guide implementation. Explore the core concepts that interact directly with profiles.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us