Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Added validation for max dosage and corresponding test cases #2383 #2531

Open
wants to merge 24 commits into
base: develop
Choose a base branch
from

Commits on Oct 12, 2024

  1. feat: Add validation for max dosage and corresponding test cases

    - Added validation to ensure max dosage is greater than or equal to base dosage in PrescriptionSerializer.
    - Added test cases to validate the new dosage constraints.
    - Updated test_prescriptions_api.py to include tests for valid, equal, and invalid dosage scenarios.
    
    Resolves issue with incorrect dosage validation.
    himanshu-sharmav committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    38ae0c9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ed1e461 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c4138c1 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2024

  1. Configuration menu
    Copy the full SHA
    57999f2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    59c9439 View commit details
    Browse the repository at this point in the history
  3. Update Pipfile

    himanshu-sharmav authored Oct 13, 2024
    Configuration menu
    Copy the full SHA
    b7010df View commit details
    Browse the repository at this point in the history
  4. Update admin.py

    himanshu-sharmav authored Oct 13, 2024
    Configuration menu
    Copy the full SHA
    2bdff7f View commit details
    Browse the repository at this point in the history
  5. Update admin.py

    himanshu-sharmav authored Oct 13, 2024
    Configuration menu
    Copy the full SHA
    d87342b View commit details
    Browse the repository at this point in the history
  6. Update admin.py

    himanshu-sharmav authored Oct 13, 2024
    Configuration menu
    Copy the full SHA
    cab7c8c View commit details
    Browse the repository at this point in the history
  7. Update admin.py

    himanshu-sharmav authored Oct 13, 2024
    Configuration menu
    Copy the full SHA
    8537afa View commit details
    Browse the repository at this point in the history
  8. Update admin.py

    himanshu-sharmav authored Oct 13, 2024
    Configuration menu
    Copy the full SHA
    4210e98 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    55d23bf View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2024

  1. Configuration menu
    Copy the full SHA
    fdf75a0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    639aab7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2f4769f View commit details
    Browse the repository at this point in the history
  4. indentation change

    himanshu-sharmav committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    6291b72 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0ae7922 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2024

  1. Configuration menu
    Copy the full SHA
    fa839cc View commit details
    Browse the repository at this point in the history
  2. Update care/facility/api/serializers/prescription.py

    Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
    himanshu-sharmav and coderabbitai[bot] authored Nov 6, 2024
    Configuration menu
    Copy the full SHA
    25cf4b4 View commit details
    Browse the repository at this point in the history
  3. pre-commit changes

    himanshu-sharmav committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    b5f08ed View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9a452a1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8cea1fb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a090f44 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2024

  1. changes for pr test

    himanshu-sharmav committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    6cba5a5 View commit details
    Browse the repository at this point in the history