Implementation Guide
ePA MHD Service
Version 1.1.1 - release

## Extension: Full-Text Search Match Total Hits

Official URL: https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-full-text-search-match-total-hits | Version: 4.2.4-current
Active as of 2026-02-18 | Responsible: IHE IT Infrastructure Technical Committee | Computable Name: FullTextSearchMatchTotalHits

This extension contains the total number of full-text search matches found within a document (e.g. a PDF).

Context of Use

This extension may be used on the following element(s):

- Element ID Bundle.entry.search

Usage info

Usages:

- Use this Extension: EPA Document Search Result Bundle
- Examples for this Extension: Bundle/example-fulltext-search-match

You can also check for usages in the FHIR IG Statistics

### Formal Views of Extension Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

- Text Summary
- Differential Table
- Snapshot Table
- All

This structure is derived from Extension

Summary

Simple Extension with the type integer: This extension contains the total number of full-text search matches found within a document (e.g. a PDF).

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  |  | Extension | Full-Text Search Match Total Hits
extension |  | ..0 |  |
url |  |  |  | "https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-full-text-search-match-total-hits"
value[x] |  | 1.. | integer | Total number of matches found within this document.
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Full-Text Search Match Total Hits
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-full-text-search-match-total-hits"
value[x] |  | 1..1 | integer | Total number of matches found within this document.
Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type integer: This extension contains the total number of full-text search matches found within a document (e.g. a PDF).

Differential View

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  |  | Extension | Full-Text Search Match Total Hits
extension |  | ..0 |  |
url |  |  |  | "https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-full-text-search-match-total-hits"
value[x] |  | 1.. | integer | Total number of matches found within this document.
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Full-Text Search Match Total Hits
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-full-text-search-match-total-hits"
value[x] |  | 1..1 | integer | Total number of matches found within this document.
Documentation for this format

Other representations of profile: CSV, Excel, Schematron

#### Constraints

Id | Grade | Path(s) | Description | Expression
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`