Skip to content

Schedule Template Colour Extension

Canonicalhttps://fhir.apps.health/StructureDefinition/nexus-schedule-template-colour
Statusdraft · 1.33.0
BaseExtension (constraint)
ContextValueSet.compose.include.concept (element), ValueSet.expansion.contains (element)
SourceFSH · JSON

The colour a schedule template's span is drawn in on the schedule, as a #RRGGBB hex string.

Invariants

Every rule in force on a conforming instance. This profile rows are stated here; inherited rows come from the base resource and are listed so that a constraint named on an element is findable. Invariant keys elsewhere on this page link into this table.

Key Source Severity On Rule
nexus-schedule-template-colour-hex this profile error Extension The colour is a #RRGGBB hex string, the one form a booking surface draws without interpreting it.
value.ofType(string).matches('^#[0-9A-Fa-f]{6}$')
ele-1 inherited error Extension All FHIR elements must have a @value or children
hasValue() or (children().count() > id.count())
ext-1 inherited error Extension Must have either extensions or value[x], not both
extension.exists() != value.exists()