Error guide & FAQ

Plain-language explanations of the messages the FHIR validator produces, grouped by category. The same explanations appear on each issue in your validation results.

Troubleshooting & FAQ

5 entries

Cardinality could not be fully checked Missing or repeated elements
What it means
The validator found matching entries but could not verify the min/max because the slicing rules are not machine-checkable.
Why
This is usually a profile limitation, not your mistake.
How to fix
Review the element manually against the profile page; no change is needed if it matches.

Validator message IDs: Validation_VAL_Profile_NoCheckMax Validation_VAL_Profile_NoCheckMin

Element required by a fixed value is missing Missing or repeated elements
What it means
The profile fixes the element to a specific value, but the element is absent.
Why
The profile requires an exact value so that consumers can identify this kind of data.
How to fix
Add the reported location with the exact value stated in the message.

Validator message IDs: Profile_VAL_MissingElement

Required element is missing Missing or repeated elements
What it means
The profile says the element must appear a minimum number of times, and your resource has fewer (often zero).
Why
NP Core marks this element as mandatory so every receiving system can rely on it being present.
How to fix
Add the element at the reported location. If the message mentions a slice, add an entry that matches that slice (for example an identifier with the right system). Check the profile page for the exact rule.
{ "identifier": [ { "system": "http://example.org/id", "value": "12345" } ] }

Validator message IDs: Validation_VAL_Profile_Minimum Validation_VAL_Profile_Minimum_SLICE Validation_VAL_Profile_Minimum_SLICE_EXT

Too many repetitions of an element Missing or repeated elements
What it means
the element appears more times than the profile allows.
Why
The profile limits how many values the element may have; receivers may reject or ignore extras.
How to fix
Remove the extra entries at the reported location, or merge them. If it is an array, keep only the allowed number.

Validator message IDs: Validation_VAL_Profile_Maximum

Value (or data-absent-reason) required Missing or repeated elements
What it means
The element has no value. FHIR needs either a value or a child extension explaining its absence.
Why
A bare empty element carries no information.
How to fix
Add the value, or add a data-absent-reason extension if the data is unknown.

Validator message IDs: PRIMITIVE_MUSTHAVEVALUE_MESSAGE PRIMITIVE_VALUE_ALTERNATIVES_MESSAGE Type_Specific_Checks_DT_Primitive_ValueExt