Skip to content

FH01 — Unknown FHIR element

Group: Selector (schema-driven) · Severity: error · Needs: lint --package

A column / forEach / where selector navigates to a property that does not exist on the resource (or on the complex type reached so far), checked against the FHIR package’s StructureDefinition. The message includes a did-you-mean suggestion when a close match exists.

This triggers FH01 — Patient has no gendr:

{
"resource": "Patient",
"select": [{ "column": [{ "name": "g", "path": "gendr" }] }]
}
error [FH01] (g): unknown FHIR element `gendr` — did you mean `gender`?

Use the correct element name (gender). Nested navigation is checked too, so name.familly is flagged with a suggestion of family.

This rule only runs with --package; drop the package to skip schema-driven selector checks, or correct the path. See Linting.