- 29 Dec 2023
- 1 Minute to read
- Print
- DarkLight
- PDF
Implementation
- Updated on 29 Dec 2023
- 1 Minute to read
- Print
- DarkLight
- PDF
Storing of the C4H authentication credential (Username and Password) can be as simple or as complex as you prefer.
An example of a simple implementation can be compiling the DLL with the credentials hard coded inside in the following manner:
FIGURE 6 Store the C4H Authentication Credential
Steps to implement above example:
- Open Visual Studio.
- Create a new C# Class Library project.
FIGURE 7 Create a New C# Class Library Project
- Name the project and set the location.
- Right-click on References and select Add Reference.
- Navigate to copy of Plexis.ClaimEditingSoftware and select.
FIGURE 8 Select Plexis.ClaimEditingSoftware
FIGURE 9 Select Add > Class
FIGURE 10 Select Add > Class
- Provide a name for the class.
FIGURE 11 Provide a Name
- In the newly created class (see Figure 7 for reference).
- Provide using statements for the following assemblies:
- System.Net
- System.Security
- Plexis.ClaimEditingSoftware
- Implement ICesCredential
- Add “: ICesCredential” to the public class declaration
- public class CesCredential : ICesCredential
- Ensure the class has a public access modifier.
- public class CesCredential : ICesCredential
- Right-click on ICesCredential and select “Implement Interface”
- This creates the function stub for implementation.
- You may follow the example in Figure 7 to create implementation.
- Add “: ICesCredential” to the public class declaration
- Right-click project and select Build.
- The compiled DLL for the project will be available in the Project Bin folder.
- This is the assembly that needs to be referenced in the Castle ExternalCredential component Type. The name of the class that implements ICesCredential is also referenced in the Component Type.
- type="{Implementation}, {Assembly}"
(End of Quantum Choice Technical Guide for External System Integration Configuration for Context4 Healthcare Integration Module)
PLEXIS Company Confidential – Do Not Copy or Transmit
This document is the confidential property of PLEXIS Healthcare Systems, Inc. (“PLEXIS”) and should not be copied or transmitted without the written consent of an officer at PLEXIS. Only individuals who have signed a “Confidential Non-Disclosure Agreement” with PLEXIS should be allowed access to this document.