Curated Value Set Profile¶
| Canonical | ../StructureDefinition/nexus-valueset |
|---|---|
| Status | draft · 1.26.0 |
| Base | ValueSet (constraint) |
| Source | FSH · JSON |
A curated pick-list as this estate stores one: the coded options a clinician chooses from in the chart, held per tenant and fetched by the application at the point of use.
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 |
|---|---|---|---|---|
dom-2 |
inherited | error | ValueSet |
If the resource is contained in another resource, it SHALL NOT contain nested Resourcescontained.contained.empty() |
dom-3 |
inherited | error | ValueSet |
If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resourcecontained.where((('#'+id in (%resource.descendants().reference |
dom-4 |
inherited | error | ValueSet |
If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdatedcontained.meta.versionId.empty() and contained.meta.lastUpdated.empty() |
dom-5 |
inherited | error | ValueSet |
If a resource is contained in another resource, it SHALL NOT have a security labelcontained.meta.security.empty() |
dom-6 |
inherited | warning | ValueSet |
A resource should have narrative for robust managementtext. |
ele-1 |
inherited | error | ValueSet.meta |
All FHIR elements must have a @value or childrenhasValue() or (children().count() > id.count()) |
ext-1 |
inherited | error | ValueSet.extension |
Must have either extensions or value[x], not bothextension.exists() != value.exists() |
vsd-0 |
inherited | warning | ValueSet |
Name should be usable as an identifier for the module by machine processing applications such as code generationname.matches('A-Z{0,254}') |
vsd-1 |
inherited | error | ValueSet.compose.include |
A value set include/exclude SHALL have a value set or a systemvalueSet.exists() or system.exists() |
vsd-10 |
inherited | error | ValueSet.expansion.contains |
Must have a system if a code is presentcode.empty() or system.exists() |
vsd-2 |
inherited | error | ValueSet.compose.include |
A value set with concepts or filters SHALL include a system(concept.exists() or filter.exists()) implies system.exists() |
vsd-3 |
inherited | error | ValueSet.compose.include |
Cannot have both concept and filterconcept.empty() or filter.empty() |
vsd-6 |
inherited | error | ValueSet.expansion.contains |
SHALL have a code or a displaycode.exists() or display.exists() |
vsd-9 |
inherited | error | ValueSet.expansion.contains |
Must have a code if not abstractcode.exists() or abstract = true |