Muhammad Waseem · Jul 26, 2021

Adding HS.FHIRServer.Interop.Service to FoundationProduction


I have created foundation production to use FHIR server. But I am missing HS.FHIRServer.Interop.Service in my production. Is there any way to add this service automatically?



0 100
Discussion (3)1
Log in or sign up to continue

Hi Muhammad,

Not sure exactly what you mean by "add this service automatically", but if you didn't want to manually add to the production, you can use Ens.Director to programmatically add a Business Service to a production.

Hope this helps.

Actually - I pointed you to Ens.Director, but that only lets you dynamically control a production (and temporarily create a business host).

But if you take a look at the OnWizardCompletion method within EnsPortal.Dialog.ProductionAddService, and AddNewItem method of EnsPortal.Dialog.ProductionAddHost I think you'll find a sample of the code that you would need.