SDK for client-side integration with interoperability services.
$ dotnet add package Optikode.Interoperability.Common.DtoOptikode.Interoperability.Common.Dto
The Optikode.Interoperability.Common.Dto package provides the shared data contracts, request/response models, and interfaces used by the interoperability SDK and other services.
It ensures consistency across client and server implementations by defining standardized contracts that are reusable across different systems.
Installation
Install via NuGet: dotnet add package Optikode.Interoperability.Common.Dto
Dependencies
This package has no external dependencies other than the .NET runtime. It is often used together with:
Optikode.Interoperability.Engine.Sdk The SDK layer that consumes these DTOs and provides integration logic.
Package Structure
Interfaces Standard interfaces that define interoperability contracts.
Request Models Objects that represent inputs for SDK/service calls (e.g., GetMedicationSearchRequest).
Response Models Objects that represent outputs from SDK/service calls (e.g., GetMedicationSearchResponse).
Shared DTOs Common data transfer objects used across multiple services and clients.
When to Use Use Optikode.Interoperability.Common.Dto when:
You need consistent request/response models across services.
You are consuming Optikode.Interoperability.Engine.Sdk (this package is a required dependency).
You want to avoid duplicating contracts between different microservices or clients.