CARIN Digital Insurance Card
2.0.0 - STU 2.0 United States of America flag

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: Color Palette

Official URL: http://hl7.org/fhir/us/insurance-card/StructureDefinition/C4DIC-ColorPalette-extension Version: 2.0.0
Active as of 2025-10-01 Computable Name: ColorPalette

This extension groups the Foreground, Background and Highlight color extensions into a single extension. 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)

Usage info

Usages:

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.

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension Color Palette
... Slices for extension Content/Rules for all slices
.... extension:C4DIC-ForegroundColor-extension 0..1 CodeableConcept Foreground Color
URL: http://hl7.org/fhir/us/insurance-card/StructureDefinition/C4DIC-ForegroundColor-extension
Binding: C4DIC ISO Color (required)
.... extension:C4DIC-BackgroundColor-extension 0..1 CodeableConcept Background Color
URL: http://hl7.org/fhir/us/insurance-card/StructureDefinition/C4DIC-BackgroundColor-extension
Binding: C4DIC ISO Color (required)
.... extension:C4DIC-HighlightColor-extension 0..1 CodeableConcept Highlight Color
URL: http://hl7.org/fhir/us/insurance-card/StructureDefinition/C4DIC-HighlightColor-extension
Binding: C4DIC ISO Color (required)
... url 1..1 uri "http://hl7.org/fhir/us/insurance-card/StructureDefinition/C4DIC-ColorPalette-extension"
... value[x] 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension Color Palette
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... extension:C4DIC-ForegroundColor-extension 0..1 CodeableConcept Foreground Color
URL: http://hl7.org/fhir/us/insurance-card/StructureDefinition/C4DIC-ForegroundColor-extension
Binding: C4DIC ISO Color (required)
.... extension:C4DIC-BackgroundColor-extension 0..1 CodeableConcept Background Color
URL: http://hl7.org/fhir/us/insurance-card/StructureDefinition/C4DIC-BackgroundColor-extension
Binding: C4DIC ISO Color (required)
.... extension:C4DIC-HighlightColor-extension 0..1 CodeableConcept Highlight Color
URL: http://hl7.org/fhir/us/insurance-card/StructureDefinition/C4DIC-HighlightColor-extension
Binding: C4DIC ISO Color (required)
... url 1..1 uri "http://hl7.org/fhir/us/insurance-card/StructureDefinition/C4DIC-ColorPalette-extension"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: This extension groups the Foreground, Background and Highlight color extensions into a single extension. 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.

    Differential View

    This structure is derived from Extension

    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. Extension 0..* Extension Color Palette
    ... Slices for extension Content/Rules for all slices
    .... extension:C4DIC-ForegroundColor-extension 0..1 CodeableConcept Foreground Color
    URL: http://hl7.org/fhir/us/insurance-card/StructureDefinition/C4DIC-ForegroundColor-extension
    Binding: C4DIC ISO Color (required)
    .... extension:C4DIC-BackgroundColor-extension 0..1 CodeableConcept Background Color
    URL: http://hl7.org/fhir/us/insurance-card/StructureDefinition/C4DIC-BackgroundColor-extension
    Binding: C4DIC ISO Color (required)
    .... extension:C4DIC-HighlightColor-extension 0..1 CodeableConcept Highlight Color
    URL: http://hl7.org/fhir/us/insurance-card/StructureDefinition/C4DIC-HighlightColor-extension
    Binding: C4DIC ISO Color (required)
    ... url 1..1 uri "http://hl7.org/fhir/us/insurance-card/StructureDefinition/C4DIC-ColorPalette-extension"
    ... value[x] 0..0

    doco Documentation for this format

    Snapshot View

    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. Extension 0..* Extension Color Palette
    ... id 0..1 string Unique id for inter-element referencing
    ... Slices for extension 0..* Extension Additional content defined by implementations
    Slice: Unordered, Open by value:url
    .... extension:C4DIC-ForegroundColor-extension 0..1 CodeableConcept Foreground Color
    URL: http://hl7.org/fhir/us/insurance-card/StructureDefinition/C4DIC-ForegroundColor-extension
    Binding: C4DIC ISO Color (required)
    .... extension:C4DIC-BackgroundColor-extension 0..1 CodeableConcept Background Color
    URL: http://hl7.org/fhir/us/insurance-card/StructureDefinition/C4DIC-BackgroundColor-extension
    Binding: C4DIC ISO Color (required)
    .... extension:C4DIC-HighlightColor-extension 0..1 CodeableConcept Highlight Color
    URL: http://hl7.org/fhir/us/insurance-card/StructureDefinition/C4DIC-HighlightColor-extension
    Binding: C4DIC ISO Color (required)
    ... url 1..1 uri "http://hl7.org/fhir/us/insurance-card/StructureDefinition/C4DIC-ColorPalette-extension"

    doco Documentation for this format

    This structure is derived from Extension

    Summary

    Complex Extension: This extension groups the Foreground, Background and Highlight color extensions into a single extension. 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.

       

      Other representations of profile: CSV, Excel, Schematron

      Constraints

      IdGradePath(s)DetailsRequirements
      ele-1error**ALL** elementsAll FHIR elements must have a @value or children
      : hasValue() or (children().count() > id.count())
      ext-1error**ALL** extensionsMust have either extensions or value[x], not both
      : extension.exists() != value.exists()