PortableEHR.Feed.SDK
1.0.0
dotnet add package PortableEHR.Feed.SDK --version 1.0.0
NuGet\Install-Package PortableEHR.Feed.SDK -Version 1.0.0
<PackageReference Include="PortableEHR.Feed.SDK" Version="1.0.0" />
paket add PortableEHR.Feed.SDK --version 1.0.0
#r "nuget: PortableEHR.Feed.SDK, 1.0.0"
// Install PortableEHR.Feed.SDK as a Cake Addin #addin nuget:?package=PortableEHR.Feed.SDK&version=1.0.0 // Install PortableEHR.Feed.SDK as a Cake Tool #tool nuget:?package=PortableEHR.Feed.SDK&version=1.0.0
Portable EHR .Net Feed SDK
If you want to integrate your project to Portable EHR, then you can use our .Net SDK to jump start the integration. This project provides the model POCOs, request and response objects in a .Net Core flavor. If you use others frameworks in your project, we hope you can use this code as an inspiration.
To see how to use this SDK you can check the demo project Portable EHR .Net Feed Demo.
Integrating with Portable EHR FeedHub
To integrate with Portable EHR FeedHub, your project must:
- Implement the Feed API. FeedHub will consume this API once is correctly configured.
- Consume the FeedHub API.
Installing this NuGet package in your project
<ItemGroup>
...
<PackageReference Include="PortableEHR.Feed.SDK" Version="1.0.0" />
</ItemGroup>
SDK's structure
This SDK is divided in 3 main namespaces: PortableEHRNetSDK.Model, PortableEHRNetSDK.Network and PortableEHRNetSDK.Converter. PortableEHRNetSDK.Model and PortableEHRNetSDK.Network namespaces contain in their root common classes and subnamespaces Client and Server with specifics classes for each API. PortableEHRNetSDK.Converter contains converters that extend from System.Text.Json.JsonConverter to deal with the non trivial serializations and deserializations.
PortableEHRNetSDK.Model
In this namespace you have the model entities
PortableEHRNetSDK.Network
In this namespace you have mostly POCOs, and some where needed:
- PortableEHRNetSDK.Network: Containing common network entities
- PortableEHRNetSDK.Network.Client.Request.[endpoint]: All the entities needed to send the requests your Feed will send to FeedHub
- PortableEHRNetSDK.Network.Client.Response.[endpoint]: All the entities needed to map the FeedHub responses to objects
- PortableEHRNetSDK.Network.Server.Request.[endpoint]: All the entities needed to map the FeedHub requests to objects
- PortableEHRNetSDK.Network.Server.Response.[endpoint]: All the entities needed to send the responses your Feed will send to FeedHub
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net5.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 332 | 8/3/2021 |
Initial release