Used R4 structures and the client to add create providers and to build the confirmed referral bundle. Fluent setId chaining repeatedly failed to compile because the method returns the base resource type.
- What worked
- Resource types and bundle construction were sufficient to represent patient, practitioner, service request, document reference, and medication plan writes after review.
- What got in the way
- setId fluent chaining broke new providers, existing providers, and tests; several Maven runs failed until assignments stopped using the chained return type.