Error #1028: Invalid - Content incorrect occurrence
Instance count for [element] is [x], which is not within the specified cardinality of [y..z]
Each element in a FHIR resource has a minimum and maximum cardinality, either specified in the base specification or constrained by a custom profile.
In this error message, y represents the minimum and z the maximum cardinality for 'element', and x indicates the number of times 'element' occurs in the resource instance.
When x < y, the resource instance does not have enough 'element' fields.
When x > z, the resource instance has too many 'element' fields.
Check the path listed under the error to see where the cardinality error occurs, or click on the XML tab to find the squiggly lines underlining the element.
Note that if you have 0 'element' fields for mandatory items, the parent will be underlined, which could be the top level resource.
More information can be found in the code for the FHIR .NET API.
Or reach out to our support desk via the Feedback button on top of the page.