Firely .NET SDK validator

Fatal #5003: Exception - Processing catastrophic failure

Internal logic failure

This error indicates a catastrophic issue, which prevented the validator from processing the resource. The following messages can occur with this error:

Cannot walk into unknown StructureDefinition with canonical [canonical] at [element]

The validation engine was unable to enter into a structure definition linked to from the one you were evaluating.

Type checking the data

Since type [type] is not a primitive, it cannot have a value

Each element in a FHIR resource must have content that conforms to the type for that element. Only primitive types can directly have a value; other – complex – types can only have sub element(s), like this:

    <name>
        <family value="Chalmers"/>
    </name>

  "name": [{
      "family": "Chalmers",
  }]

Encountered unknown element [element] at location [path] while parsing

This error indicates that you have introduced an element that is not defined for the location it is used. This can be a non-existing element, or an element that is in the wrong place in the resource structure.
For example, the Patient resource type does not define an element called birthPlace, so this data would result in this error message:

<Patient>
    <birthPlace value="Amsterdam"/>
</Patient>

{
    "resourceType": "Patient",
    "birthPlace": "Amsterdam"
}

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.