Difference between revisions of "Embedded Server"
From Hiasobi - FHIR
Brett Esler (Talk | contribs) (Created page with "Hiasobi can be hosted in your application * Restriction: x86 only; restriction due to available database drivers for installed clinical systems * Example instantiation: Def...") |
Brett Esler (Talk | contribs) |
||
| Line 5: | Line 5: | ||
* Example instantiation: | * Example instantiation: | ||
| − | Default Samples CIS Access | + | ==Default Samples CIS Access== |
<code> | <code> | ||
// default samples data server | // default samples data server | ||
| Line 13: | Line 13: | ||
| − | Licensed Live CIS Access | + | ==Licensed Live CIS Access== |
<code> | <code> | ||
// licensed live data server | // licensed live data server | ||
Oridashi.Fhir.Host.FhirHost host = new Oridashi.Fhir.Host.FhirHost(); | Oridashi.Fhir.Host.FhirHost host = new Oridashi.Fhir.Host.FhirHost(); | ||
Oridashi.Fhir.Configuration c = host.Start( | Oridashi.Fhir.Configuration c = host.Start( | ||
| − | new Oridashi.Fhir.Configuration() { ProfileName = "company", LicenseKey="66E5AC276664C8ECABAF659FDF532", IsLive = true } | + | new Oridashi.Fhir.Configuration() { |
| − | + | ProfileName = "company", | |
| + | LicenseKey="66E5AC276664C8ECABAF659FDF532", | ||
| + | IsLive = true } | ||
); | ); | ||
</code> | </code> | ||
Revision as of 13:49, 21 February 2014
Hiasobi can be hosted in your application
- Restriction: x86 only; restriction due to available database drivers for installed clinical systems
- Example instantiation:
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="66E5AC276664C8ECABAF659FDF532",
IsLive = true }
);