
Sample Projects
The source code for our sample projects is available on this public git repository: https://dev.azure.com/ccmmedtech/_git/PccApiSamples
Our clients have had success generating API Clients using the OpenAPITools, but you can download the API definition from this portal for use in Swagger, NSwag, or others as well. While Cosan generally uses OpenAPITools generator for .net core c# and typescript, it supports numerous language outputs to get you started quickly.
An example usage of OpenAPITool CLI tool to generate a .NET Core client can be found at https://dev.azure.com/ccmmedtech/_git/PccApiSamples?path=%2FPccApiOpenApiClient and the generated client itself can be reviewed in https://dev.azure.com/ccmmedtech/_git/PccApiSamples?path=%2FPccApi.FullClient.netcore
Other samples:
CcmTimeAccumulation - https://dev.azure.com/ccmmedtech/_git/PccApiSamples?path=%2FCcmTimeAccumulation
This sample uses the openapitool generated client to connect to our API and export a practice billing report to a CSV file. It also downloads patient careplan PDFs for the month being reported.