Skip to content

A reference implementation for CMS 0057-F regulation, demonstrating the standard integration and compliance approach. It serves as a guide for developers implementing CMS 0057-F standards in real-world applications.

License

Notifications You must be signed in to change notification settings

wso2/reference-implementation-cms0057f

Repository files navigation

Reference Implementation CMS 0057-F

Purpose

This repository provides a reference implementation of the CMS 0057-F regulation, demonstrating the integration of Ballerina services with React applications. It serves as a practical example for developers aiming to understand and implement CMS0057F-compliant solutions using these technologies.

Folder Structure

.
├── apps
|   ├── demo-ehr-app
├── cds-service
│   ├── Ballerina.toml
│   ├── Config.toml
│   ├── Dependencies.toml
│   ├── Package.md
│   ├── decision_engine_connector.bal
│   ├── interceptor.bal
│   ├── service.bal
│   └── utils.bal
├── fhir-apis
│   ├── claim-service
│   │   ├── Ballerina.toml
│   │   ├── Dependencies.toml
│   │   ├── Package.md
│   │   ├── api_config.bal
│   │   ├── oas
│   │   │   └── Claim.yaml
│   │   ├── repository_connect.bal
│   │   ├── service.bal
│   │   └── utils.bal
│   ├── claim-submission-service
│   ├── coverage-service
│   ├── medication-request-service
│   ├── organization-service
│   ├── patient-service
│   ├── practitioner-service
│   ├── questionnaire-package-service
│   ├── questionnaire-response-service
│   └── questionnaire-service

Version Information

  • Ballerina: 2201.10.2
  • Node.js: 20.11.1

Running the Ballerina Services

  1. Navigate to the Ballerina Project Directory:

    cd reference-implementation-cms0057f/fhir-apis/<respective-service>

    or

    cd reference-implementation-cms0057f/cds-service
  2. Run the Ballerina Service:

    bal run

    The service will start, typically listening on http://localhost:9090.

Running the React Application

  1. Navigate to the React Application Directory:

    cd reference-implementation-cms0057f/apps/demo-ehr-app
  2. Install Dependencies:

    npm install
  3. Start the React Application:

    npm run dev

    The application will launch in your default browser, usually accessible at http://localhost:5173/.

Additional Notes

  • Ensure that both the Ballerina service and the React application are running concurrently to allow seamless interaction between the frontend and backend.
  • For detailed information on Ballerina code organization, refer to the official documentation: Ballerina Documentation
  • For insights into structuring React projects, consider this guide: React Folder Structure

By following this setup, you can explore the integration of Ballerina services with a React frontend, providing a comprehensive understanding of building CMS0057F-compliant applications.

About

A reference implementation for CMS 0057-F regulation, demonstrating the standard integration and compliance approach. It serves as a guide for developers implementing CMS 0057-F standards in real-world applications.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •