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

Implement Operation Patient $purge #1298

Open
alexanderkiel opened this issue Nov 23, 2023 · 0 comments
Open

Implement Operation Patient $purge #1298

alexanderkiel opened this issue Nov 23, 2023 · 0 comments

Comments

@alexanderkiel
Copy link
Member

alexanderkiel commented Nov 23, 2023

  • we like to purge all resources in the compartment of a particular Patient
    • however the Patient compartment contains some references like Group.member that should not mean to delete the Group
    • so for now we will only use patient and subject references because those resources linked by both should be purgeable without problem
  • we need a new transaction operator called purge with the same parameters like delete which are type and id
    • add specs in blaze.db.spec
  • we need also a new transaction command called purge without if-match (optimistic locking) bot otherwise identical to delete
    • add specs in blaze.db.tx-log.spec
  • inside transaction handling done in blaze.db.node.tx-indexer/index-tx we will expand the purge command into individual delete and delete-history commands

This issue is part of the Epic: #399

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant