Skip to content

Referral Profile

Canonical../StructureDefinition/nexus-core-referral
Statusdraft · 1.26.0
BaseServiceRequest (constraint)
SourceFSH · JSON

Defines the Nexus EMR FHIR profile for referrals: a request that another clinician or service accept the patient, for consultation, second opinion, or ongoing management. Aligned to the pan-Canadian CA-eReC / Ontario eReferral contract, which is the shape Nexus already exchanges with Ocean. Distinct from NexusEmrCoreServiceRequest, which governs laboratory, imaging and procedure ORDERS and fixes intent to order.

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-note-extension-not-where-native this profile error ServiceRequest The resource-note extension is not used on a resource that has a native note element -- that element is the home
extension('../StructureDefinition/nexus-emr-resource-note').empty()
referral-category-coded this profile warning ServiceRequest At least one category SHOULD carry a SNOMED CT coding identifying the receiving service or specialty (recommended, not enforced: a destination with no usable code carries text instead)
category.coding.where(system = 'http://snomed.info/sct').exists()
referral-code-has-text this profile error ServiceRequest When code is present it SHALL carry text, so the requested service stays legible when no coded value is recognised
code.exists() implies code.text.exists()
dom-2 inherited error ServiceRequest If the resource is contained in another resource, it SHALL NOT contain nested Resources
contained.contained.empty()
dom-3 inherited error ServiceRequest 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 ServiceRequest 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 ServiceRequest If a resource is contained in another resource, it SHALL NOT have a security label
contained.meta.security.empty()
dom-6 inherited warning ServiceRequest A resource should have narrative for robust management
text.div.exists()
ele-1 inherited error ServiceRequest.meta All FHIR elements must have a @value or children
hasValue() or (children().count() > id.count())
ext-1 inherited error ServiceRequest.meta.extension Must have either extensions or value[x], not both
extension.exists() != value.exists()
prr-1 inherited error ServiceRequest orderDetail SHALL only be present if code is present
orderDetail.empty() or code.exists()