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

6204 name insurance join #6395

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

Conversation

jmbrunskill
Copy link
Contributor

Fixes #6204

πŸ‘©πŸ»β€πŸ’» What does this PR do?

Adds sync for nameInsuranceJoin to open-mSupply

πŸ’Œ Any notes for the reviewer?

πŸ§ͺ Testing

For dev testing, we can do something like this...

  • Create an insuranceProvider in 4d
  • Choose a patient in your database and get their ID
    Run an insert record something like this in the database
    INSERT INTO "main"."name_insurance_join" ("id", "name_link_id", "insurance_provider_id", "policy_number", "policy_type", "discount_percentage", "expiry_date", "is_active") VALUES ('TEST_NAME_INSURANCE_JOIN', 'PATIENT_NAME_ID', 'INSURANCE_PROVIDER_ID', '2312', 'business', 10, '2027-01-01', 'true');
    Then insert the changelog
    INSERT INTO changelog (cursor, table_name, record_id, row_action) VALUES ((SELECT max(cursor)+1 FROM changelog), 'name_insurance_join', 'TEST_NAME_INSURANCE_JOIN' ,'UPSERT')
  • Sync
  • Check the name has the new record assigned
28819

πŸ“ƒ Documentation

  • Part of an epic: documentation will be completed for the feature as a whole
  • No documentation required: no user facing changes or a bug fix which isn't a change in behaviour
  • These areas should be updated or checked:
    1.
    2.

@github-actions github-actions bot added this to the v2.6.0 milestone Feb 3, 2025
@github-actions github-actions bot added Team Piwakawaka James, Carl, John, Zachariah feature: dispensing labels Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: dispensing Team Piwakawaka James, Carl, John, Zachariah
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sync and Translate nameInsuranceJoin table
1 participant