EMA Write PMS API Implementation Guide - Enrichments
1.2.1 - ci-build
EMA Write PMS API Implementation Guide - Enrichments - Local Development build (v1.2.1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: http://ema.europa.eu/fhir/extension/comparator | Version: 1.2.1 | |||
| Draft as of 2026-06-26 | Computable Name: Comparator | |||
The Comparator Extension
Context of Use
This extension may be used on the following element(s)
Element
Usage info
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from Extension
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Extension | The Comparator Extension | |
![]() ![]() |
0..0 | Extension | ||
![]() ![]() |
1..1 | uri | "http://ema.europa.eu/fhir/extension/comparator" | |
![]() ![]() |
0..1 | base64Binary, boolean, canonical(), code, date, dateTime, decimal, id, instant, integer, integer64, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, CodeableReference(), Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, RatioRange, Reference(), SampledData, Signature, Timing, ContactDetail, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Availability, ExtendedContactDetail, Dosage, Meta | Value of extension Slice: Unordered, Open by type:$this | |
![]() ![]() ![]() |
0..1 | Coding | Value of extension Binding: Quantity Operator (required) | |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Extension | The Comparator Extension | |
![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |
![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() |
1..1 | uri | "http://ema.europa.eu/fhir/extension/comparator" | |
![]() ![]() |
0..1 | Value of extension Slice: Unordered, Open by type:$this | ||
![]() ![]() ![]() |
base64Binary | |||
![]() ![]() ![]() |
boolean | |||
![]() ![]() ![]() |
canonical(Any) | |||
![]() ![]() ![]() |
code | |||
![]() ![]() ![]() |
date | |||
![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() |
decimal | |||
![]() ![]() ![]() |
id | |||
![]() ![]() ![]() |
instant | |||
![]() ![]() ![]() |
integer | |||
![]() ![]() ![]() |
integer64 | |||
![]() ![]() ![]() |
markdown | |||
![]() ![]() ![]() |
oid | |||
![]() ![]() ![]() |
positiveInt | |||
![]() ![]() ![]() |
string | |||
![]() ![]() ![]() |
time | |||
![]() ![]() ![]() |
unsignedInt | |||
![]() ![]() ![]() |
uri | |||
![]() ![]() ![]() |
url | |||
![]() ![]() ![]() |
uuid | |||
![]() ![]() ![]() |
Address | |||
![]() ![]() ![]() |
Age | |||
![]() ![]() ![]() |
Annotation | |||
![]() ![]() ![]() |
Attachment | |||
![]() ![]() ![]() |
CodeableConcept | |||
![]() ![]() ![]() |
CodeableReference | |||
![]() ![]() ![]() |
Coding | |||
![]() ![]() ![]() |
ContactPoint | |||
![]() ![]() ![]() |
Count | |||
![]() ![]() ![]() |
Distance | |||
![]() ![]() ![]() |
Duration | |||
![]() ![]() ![]() |
HumanName | |||
![]() ![]() ![]() |
Identifier | |||
![]() ![]() ![]() |
Money | |||
![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() |
Quantity | |||
![]() ![]() ![]() |
Range | |||
![]() ![]() ![]() |
Ratio | |||
![]() ![]() ![]() |
RatioRange | |||
![]() ![]() ![]() |
Reference(Any) | |||
![]() ![]() ![]() |
SampledData | |||
![]() ![]() ![]() |
Signature | |||
![]() ![]() ![]() |
Timing | |||
![]() ![]() ![]() |
ContactDetail | |||
![]() ![]() ![]() |
DataRequirement | |||
![]() ![]() ![]() |
Expression | |||
![]() ![]() ![]() |
ParameterDefinition | |||
![]() ![]() ![]() |
RelatedArtifact | |||
![]() ![]() ![]() |
TriggerDefinition | |||
![]() ![]() ![]() |
UsageContext | |||
![]() ![]() ![]() |
Availability | |||
![]() ![]() ![]() |
ExtendedContactDetail | |||
![]() ![]() ![]() |
Dosage | |||
![]() ![]() ![]() |
Meta | |||
![]() ![]() ![]() |
0..1 | Coding | Value of extension Binding: Quantity Operator (required) | |
Documentation for this format | ||||
This structure is derived from Extension
Summary
Simple Extension with the type base64Binary, boolean, canonical, code, date, dateTime, decimal, id, instant, integer, integer64, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, CodeableReference, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, RatioRange, Reference, SampledData, Signature, Timing, ContactDetail, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Availability, ExtendedContactDetail, Dosage, Meta: The Comparator Extension
Differential View
This structure is derived from Extension
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Extension | The Comparator Extension | |
![]() ![]() |
0..0 | Extension | ||
![]() ![]() |
1..1 | uri | "http://ema.europa.eu/fhir/extension/comparator" | |
![]() ![]() |
0..1 | base64Binary, boolean, canonical(), code, date, dateTime, decimal, id, instant, integer, integer64, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, CodeableReference(), Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, RatioRange, Reference(), SampledData, Signature, Timing, ContactDetail, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Availability, ExtendedContactDetail, Dosage, Meta | Value of extension Slice: Unordered, Open by type:$this | |
![]() ![]() ![]() |
0..1 | Coding | Value of extension Binding: Quantity Operator (required) | |
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Extension | The Comparator Extension | |
![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |
![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() |
1..1 | uri | "http://ema.europa.eu/fhir/extension/comparator" | |
![]() ![]() |
0..1 | Value of extension Slice: Unordered, Open by type:$this | ||
![]() ![]() ![]() |
base64Binary | |||
![]() ![]() ![]() |
boolean | |||
![]() ![]() ![]() |
canonical(Any) | |||
![]() ![]() ![]() |
code | |||
![]() ![]() ![]() |
date | |||
![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() |
decimal | |||
![]() ![]() ![]() |
id | |||
![]() ![]() ![]() |
instant | |||
![]() ![]() ![]() |
integer | |||
![]() ![]() ![]() |
integer64 | |||
![]() ![]() ![]() |
markdown | |||
![]() ![]() ![]() |
oid | |||
![]() ![]() ![]() |
positiveInt | |||
![]() ![]() ![]() |
string | |||
![]() ![]() ![]() |
time | |||
![]() ![]() ![]() |
unsignedInt | |||
![]() ![]() ![]() |
uri | |||
![]() ![]() ![]() |
url | |||
![]() ![]() ![]() |
uuid | |||
![]() ![]() ![]() |
Address | |||
![]() ![]() ![]() |
Age | |||
![]() ![]() ![]() |
Annotation | |||
![]() ![]() ![]() |
Attachment | |||
![]() ![]() ![]() |
CodeableConcept | |||
![]() ![]() ![]() |
CodeableReference | |||
![]() ![]() ![]() |
Coding | |||
![]() ![]() ![]() |
ContactPoint | |||
![]() ![]() ![]() |
Count | |||
![]() ![]() ![]() |
Distance | |||
![]() ![]() ![]() |
Duration | |||
![]() ![]() ![]() |
HumanName | |||
![]() ![]() ![]() |
Identifier | |||
![]() ![]() ![]() |
Money | |||
![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() |
Quantity | |||
![]() ![]() ![]() |
Range | |||
![]() ![]() ![]() |
Ratio | |||
![]() ![]() ![]() |
RatioRange | |||
![]() ![]() ![]() |
Reference(Any) | |||
![]() ![]() ![]() |
SampledData | |||
![]() ![]() ![]() |
Signature | |||
![]() ![]() ![]() |
Timing | |||
![]() ![]() ![]() |
ContactDetail | |||
![]() ![]() ![]() |
DataRequirement | |||
![]() ![]() ![]() |
Expression | |||
![]() ![]() ![]() |
ParameterDefinition | |||
![]() ![]() ![]() |
RelatedArtifact | |||
![]() ![]() ![]() |
TriggerDefinition | |||
![]() ![]() ![]() |
UsageContext | |||
![]() ![]() ![]() |
Availability | |||
![]() ![]() ![]() |
ExtendedContactDetail | |||
![]() ![]() ![]() |
Dosage | |||
![]() ![]() ![]() |
Meta | |||
![]() ![]() ![]() |
0..1 | Coding | Value of extension Binding: Quantity Operator (required) | |
Documentation for this format | ||||
This structure is derived from Extension
Summary
Simple Extension with the type base64Binary, boolean, canonical, code, date, dateTime, decimal, id, instant, integer, integer64, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, CodeableReference, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, RatioRange, Reference, SampledData, Signature, Timing, ContactDetail, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Availability, ExtendedContactDetail, Dosage, Meta: The Comparator Extension
Other representations of profile: CSV, Excel, Schematron
| Path | Status | Usage | ValueSet | Version | Source |
| Extension.value[x]:valueCoding | Base | required | Quantity Operator | 📦1.2.1 | This IG |
| 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()
|