FirelyTeam / firely-net-sdk

The official Firely .NET SDK for HL7 FHIR
Other
829 stars 345 forks source link

Hl7.Fhir.WebApi Question #541

Closed BruceHunter closed 6 years ago

BruceHunter commented 6 years ago

What is the purpose of Hl7.Fhir.WebApi?

I'm only guessing, but this is to be used like a "Host" layer and inject a service layer that ties to our specific data back-end? (I'm thinking IdentityServer/IdentityManager as an example.)

The goal is to stand up .Net FHIR service tied to to a specific back-end structure.

Any help would be greatly helpful.

brianpos commented 6 years ago

Yes, that is what that layer is intended for. There is also an equivalent for.net core too.

mthakershi commented 6 years ago

Hello, when you say "equivalent for .net", is there a separate FHIR server project that is implemented on .NET core? I am running into issues while using the WebApi project to run it as a FHIR server. Is there a .net core alternative that is more mainstream or stable? Thanks again.

brianpos commented 6 years ago

Sorry, looks like the netcore version was only in my fork.

https://github.com/brianpos/fhir-net-api/tree/feature/netcore-webapi-stu3/src/Hl7.Fhir.NetCoreApi

And the project that shows the usage is here: https://github.com/brianpos/fhir-net-api/tree/feature/netcore-webapi-stu3/src/Hl7.DemoFileSystemFhirServer The key parts being DirectoryResourceService and DirectorySystemService