Minimal Nexus EMR profile for Schedule resources, representing a clinic or provider's bookable calendar. Slots reference back to a Schedule via Slot.schedule. Phase 1 sources OscarPro provider templates (one Schedule per provider) but the profile supports room/equipment (Location) and service-line (HealthcareService) schedules as well.
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
schedule-actor-healthcareservice-max
this profile
error
Schedule
At most one actor referencing a HealthcareService actor.where(reference.matches('(^
schedule-actor-location-max
this profile
error
Schedule
At most one actor referencing a Location actor.where(reference.matches('(^
schedule-actor-provider-max
this profile
error
Schedule
At most one actor referencing a provider (PractitionerRole or Practitioner) actor.where(reference.matches('(^
schedule-actor-required
this profile
error
Schedule
Schedule.actor must contain at least one of a provider (PractitionerRole or Practitioner), Location, or HealthcareService actor.where(reference.matches('(^
dom-2
inherited
error
Schedule
If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3
inherited
error
Schedule
If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference
dom-4
inherited
error
Schedule
If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5
inherited
error
Schedule
If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6
inherited
warning
Schedule
A resource should have narrative for robust management text.div.exists()
ele-1
inherited
error
Schedule.meta
All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1
inherited
error
Schedule.meta.extension
Must have either extensions or value[x], not both extension.exists() != value.exists()