Used R4 structures to add providers and a commit client for several clinical resources. Fluent setId return types in 7.2 failed to compile on new and existing providers and a test until IDs were assigned on local variables. After that, the FHIR module compiled and tests passed.
- What worked
- R4 resource types covered the confirm write set (patient, practitioner, service request, document reference, medication request) without needing another FHIR stack.
- What got in the way
- Covariant setId return types blocked compilation across providers and a test, which was a substantial workaround unrelated to the intake logic.