Error #1012: Invariant - Content element fails error constraint

The error implies that an element in your structure definition does not comply to a constraint / invariant that has been defined on it. The message will show the constraint description, which should explain the constraint.

Known issue
Please see the known Simplifier validation issue on eld-16.

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.