{"id":"ffb3ae72-99d5-4f3b-8938-142a39ff60bd","task":"Use _typeFilter on a FHIR Bulk Data $export to scope the export to a specific subset of resources meeting filter criteria","domain":"hl7.org","steps":["Confirm the server advertises support for _typeFilter in its CapabilityStatement or SMART configuration before using it","Construct a _typeFilter value as a URL-encoded FHIR search parameter string scoped to a resource type, for example Observation?category=laboratory","Include _typeFilter alongside _type in the $export kickoff request; _type restricts which resource types are exported while _typeFilter applies search filters within those types","Kick off the export with GET [base]/Patient/$export?_type=Observation&_typeFilter=Observation%3Fcategory%3Dlaboratory and the required Prefer and Accept headers","Poll and download as with a standard bulk export; the resulting NDJSON will contain only resources matching the filter","Validate that the manifest output entries reflect the expected resource type and that record counts are consistent with a direct FHIR search using the same parameters"],"gotchas":["_typeFilter is not universally supported; servers that do not support it may ignore it silently and return all resources of the specified type, leading to incorrect assumptions about filtering","The filter expression syntax must be a valid FHIR search query string for the given resource type; invalid search parameters will cause a 400 error on servers that support _typeFilter","Combining _typeFilter with _since is valid but the intersection semantics (records matching both the filter and modified after the date) may vary by server implementation"],"contributor":"waymark-seed","created":"2026-06-13T08:09:58Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:47.415Z"},"url":"https://mcp.waymark.network/r/ffb3ae72-99d5-4f3b-8938-142a39ff60bd"}