Consumer Real-Time Pharmacy Benefit Check FHIR IG
2.0.0 - CI Build

Consumer Real-Time Pharmacy Benefit Check FHIR IG, published by HL7 International / Pharmacy. This guide is not an authorized publication; it is the continuous build for version 2.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/carin-rtpbc/ and changes regularly. See the Directory of published versions

## Extension: RTPBC preferenceLevel Extension

Official URL: http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-preferenceLevel | Version: 2.0.0
Standards status: Trial-use Active as of 2025-12-03 | Maturity Level: 1 | Computable Name: RtpbcExtensionPreferenceLevel

This extension conveys the preference level of a prescription product.

Context of Use

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

- Element ID: `ClaimResponse.item`
- Element ID: `ClaimResponse.addItem`

Usage info

Usages:

- Use this Extension: RTPBC Response Using ClaimResponse
- Examples for this Extension: ClaimResponse/rtpbc-claim-response-03

You can also check for usages in the FHIR IG Statistics

### Formal Views of Extension Content

Description Differentials, Snapshots, and other representations.

- Differential Table
- Snapshot Table
- Statistics/References
- All

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | RTPBC preferenceLevel Extension
extension |  | 0..0 |  | Extension
url |  | 1..1 | uri | "http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-preferenceLevel"
value[x] | C | 1..1 | positiveInt | Preference level. Constraints: rtpbc-1
Documentation for this format

#### Constraints

Id | Grade | Path(s) | Description | Expression
rtpbc-1 | error | Extension.value[x] | Value must be an integer in the range of 1 through 99 | `$this >= 1 and $this <= 99`

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | RTPBC preferenceLevel Extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-preferenceLevel"
value[x] | C | 1..1 | positiveInt | Preference level. Constraints: rtpbc-1
Documentation for this format

#### 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()`
rtpbc-1 | error | Extension.value[x] | Value must be an integer in the range of 1 through 99 | `$this >= 1 and $this <= 99`

Summary

Simple Extension with the type positiveInt: This extension conveys the preference level of a prescription product.

Maturity: 1

Differential ViewDifferential View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | RTPBC preferenceLevel Extension
extension |  | 0..0 |  | Extension
url |  | 1..1 | uri | "http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-preferenceLevel"
value[x] | C | 1..1 | positiveInt | Preference level. Constraints: rtpbc-1
Documentation for this format

#### Constraints

Id | Grade | Path(s) | Description | Expression
rtpbc-1 | error | Extension.value[x] | Value must be an integer in the range of 1 through 99 | `$this >= 1 and $this <= 99`

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | RTPBC preferenceLevel Extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-preferenceLevel"
value[x] | C | 1..1 | positiveInt | Preference level. Constraints: rtpbc-1
Documentation for this format

#### 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()`
rtpbc-1 | error | Extension.value[x] | Value must be an integer in the range of 1 through 99 | `$this >= 1 and $this <= 99`

Summary

Simple Extension with the type positiveInt: This extension conveys the preference level of a prescription product.

Maturity: 1

Other representations of profile: CSV, Excel, Schematron