I just realized that for the latest version of IRIS for Health 2023.3 the method InstallFoundation from HS.HC.Util.Installer has just disappear. I checked the official documentation (here) but I can't find any reference to it like in previous versions (here).
Is there anyway to create it by code?
Product version: IRIS 2023.3
Check ##class(HS.Util.Installer.Foundation).Install()
See also this post https://community.intersystems.com/node/548491 by @Guillaume Rongier
Also you can just do (in IRIS for Health):
And you'll have it setup in "FHIRSERVER" namespace with fhir server R4 at /fhir/r4