CARIN Digital Insurance Card
2.0.0 - STU 2.0

CARIN Digital Insurance Card, published by HL7 International / Payer/Provider Information Exchange Work Group. 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-digital-insurance-card/ and changes regularly. See the Directory of published versions

## Extension: Foreground Color

Official URL: http://hl7.org/fhir/us/insurance-card/StructureDefinition/C4DIC-ForegroundColor-extension | Version: 2.0.0
Standards status: Trial-use | Maturity Level: 2 | Computable Name: ForegroundColor

This extension enables an insurance company to provide a foreground color to be used by consuming applications when they render the information found on an insurance card for the insurance plan member. When rendering foreground and background colors, the implementer should not use the same foreground and background colors and instead should algorithmically determine a high color contrast.

Context of Use

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

- Element ID Coverage.extension

Usage info

Usages:

- Use this Extension: Color Palette
- Examples for this Extension: Coverage/Example-Coverage-FSH and Coverage/Example-Coverage1

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 CodeableConcept: This extension enables an insurance company to provide a foreground color to be used by consuming applications when they render the information found on an insurance card for the insurance plan member. When rendering foreground and background colors, the implementer should not use the same foreground and background colors and instead should algorithmically determine a high color contrast.

Maturity: 2

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Foreground Color
extension |  | 0..0 |  | Extension
url |  | 1..1 | uri | "http://hl7.org/fhir/us/insurance-card/StructureDefinition/C4DIC-ForegroundColor-extension"
value[x] |  | 1..1 | CodeableConcept | Value of extension Binding: C4DIC ISO Color (required)
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Foreground Color
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/insurance-card/StructureDefinition/C4DIC-ForegroundColor-extension"
value[x] |  | 1..1 | CodeableConcept | Value of extension Binding: C4DIC ISO Color (required)
Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type CodeableConcept: This extension enables an insurance company to provide a foreground color to be used by consuming applications when they render the information found on an insurance card for the insurance plan member. When rendering foreground and background colors, the implementer should not use the same foreground and background colors and instead should algorithmically determine a high color contrast.

Maturity: 2

Differential View

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Foreground Color
extension |  | 0..0 |  | Extension
url |  | 1..1 | uri | "http://hl7.org/fhir/us/insurance-card/StructureDefinition/C4DIC-ForegroundColor-extension"
value[x] |  | 1..1 | CodeableConcept | Value of extension Binding: C4DIC ISO Color (required)
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Foreground Color
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/insurance-card/StructureDefinition/C4DIC-ForegroundColor-extension"
value[x] |  | 1..1 | CodeableConcept | Value of extension Binding: C4DIC ISO Color (required)
Documentation for this format

Other representations of profile: CSV, Excel, Schematron

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Extension.value[x] | Base | required | C4DIC ISO Color | 📦2.0.0 | This IG

#### 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()`