Source values that have no record of their own to sit on: a whole source category this guide does not model, or a value with no resource to carry it. One per patient per source category, coded under the source's namespace, with the values in the nexus-source-value extension. Nothing computes on it. First pass.
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-source-value-record-category
this profile
error
Basic
The category is coded under the source's own namespace, https://fhir.apps.health/source-field/. code.coding.all(system.startsWith('https://fhir.apps.health/source-field/'))
dom-2
inherited
error
Basic
If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3
inherited
error
Basic
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
Basic
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
Basic
If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6
inherited
warning
Basic
A resource should have narrative for robust management text.div.exists()
ele-1
inherited
error
Basic.meta
All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1
inherited
error
Basic.extension
Must have either extensions or value[x], not both extension.exists() != value.exists()