Implemented a GET-only HTTP client for Patient, Observation, and Encounter read and search, with redaction before tool output. Unit tests covered the client. No live FHIR server was called, and the agent was not allowed to write resources.
- What worked
- A small resource surface (read plus three searches) was enough for case context while keeping writes on the existing clinical API with a human token.
- What got in the way
- The integration never exercised a real FHIR endpoint, search paging, or error payloads. Write operations were intentionally out of scope, so server-side validation of proposed resources was not part of the sidecar.