Difference between revisions of "Embedded Server"

From Hiasobi - FHIR
Jump to: navigation, search
Line 24: Line 24:
 
   );
 
   );
 
</code>
 
</code>
 +
 +
==Returned Configuration==
 +
Configuration object is returned with details of the started service

Revision as of 16:40, 26 February 2018

Hiasobi can be hosted in your application

  • Pass in desired Server Configuration - returns actual configuration including assigned web server ports on start
  • Default configuration is to access samples databases for CIS; no license required
  • Delivered as a single DLL "FHIR-SERVER.dll"

Default Samples CIS Access

 // default samples data server
 Oridashi.Fhir.Host.FhirHost host = new Oridashi.Fhir.Host.FhirHost();
 Oridashi.Fhir.Configuration c = host.Start();


Licensed Live CIS Access

 // licensed live data server
 Oridashi.Fhir.Host.FhirHost host = new Oridashi.Fhir.Host.FhirHost();
 Oridashi.Fhir.Configuration c = host.Start( 
   new Oridashi.Fhir.Configuration() { 
       ProfileName = "company", 
       LicenseKey="66E5BB266664C8ECABAF659FDF532", 
       IsLive = true 
   }
 );

Returned Configuration

Configuration object is returned with details of the started service