Embedded Server

From Hiasobi - FHIR
Revision as of 16:44, 26 February 2018 by Brett Esler (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 Server_Configuration