Question
Muhammad Waseem · Jul 26, 2021

Adding HS.FHIRServer.Interop.Service to FoundationProduction

Hi, 

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?

 

Thanks 

00
1 0 3 67
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.