Retrieve the US Core 7.0.0 Patient profile StructureDefinition to enumerate all must-support paths
For each incoming Patient resource, check that every flagged element is either present or has a documented reason for absence via a data-absent-reason extension
Reject resources that omit must-support elements without justification with an OperationOutcome listing each violation
Persist conformance results alongside the resource for downstream audit
Expose a validation endpoint that returns the OperationOutcome to the sending system
Known gotchas
Must-support does not mean required; a receiver must be able to process the element when present, but a sender may omit it if the data is unknown — conflating the two causes unnecessary rejections
US Core 7.0.0 tightened some cardinalities relative to earlier versions; do not apply 6.x rules to 7.0.0 profiles
The data-absent-reason extension must use codes from the prescribed ValueSet; using free-text or custom codes breaks conformance
Give your agent this knowledge — and 200+ more routes
One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp