code

http://clarifyall.com/docs/rule-compass-system-main.zip

https://github.com/futuretechgenius1/rule-compass-system.git

Regulatory Rules Maintenance

Filters Available:

  • Rule Type
  • MD State
  • Ship to State
  • Zip Code
  • Channel
  • Reg Cat Code
  • Drug Schedule
  • Refill #
  • Quantity
  • Days Supply
  • User Location
  • Dispensing Location
  • Protocol
  • Days Ago
  • Max Days Supply
  • Max Quantity
  • Max Refill
  • Max Days Allowed to Expiry Date

Functionalities:

  1. Filtering Rules:
    • Users can apply multiple filters using dropdown checkboxes.
    • Rules are displayed based on selected filters.
    • Users can choose to Edit or Add new rules under filtered/unfiltered lists.
  2. Read and Write Access:
    • The table initially loads in Read-Only Mode.
    • User groups can be assigned Read or Write Access to modify regulatory rules.
  3. Rule Identifier:
    • Rules need a GUID stored in the ERR database.
    • There’s a question about maintaining Sequence Number from the CDE table for rules loaded from CDE.
  4. Actions Available:
    • Add New Rule Type
    • Edit Existing Rules
    • Extract Data

Frontend (ReactJS)

  • A table to display regulatory rules.
  • A dropdown for filtering options.
  • Buttons for Add, Edit, Extract functionalities.
  • A form to add or edit rules.

Backend (Spring Boot)

  • A REST API to serve JSON data (initially hardcoded).
  • Endpoints for fetching, adding, and updating rules.

JSON File (Sample Data)

  • Store rules data in a file (rules.json).
  • ReactJS will fetch data from this file.