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

Would be nice to be able to delete simulator log messages individually #543

Open
stl-steve-moore opened this issue Jan 29, 2022 · 3 comments
Labels

Comments

@stl-steve-moore
Copy link
Collaborator

This is a "Nice to Have". When going through transaction logs, I sometimes want to delete individual records that I no longer need. I would be happy to click on a record and then click on a delete button. Bonus points for being able to select 5 records with check boxes and then delete with one click. If you went to that effort, you could also support download of those 5 records.

Specific use case is for the Document Source metadata tests that we are extending. A customer is going to submit 5 transactions to a simulator for evaluation. Of those 5, only 1 is correct. I want to delete the 4 incorrect ones and keep the good one.

Another wrinkle to consider is an Archive or Hide button that does not delete the record but moves it to a place where it is not shown to the user.

As I said, Nice to Have but not required. I know new development is going to the FHIR tools.

Screen Shot 2022-01-29 at 8 19 40 AM
.

@skbhaskarla skbhaskarla added this to the v7.8.0 milestone Jan 31, 2022
@skbhaskarla
Copy link
Collaborator

It seems like the delete transaction feature should be only available to user-created test sessions or the admin user. This way, users with their private test session Id will have control over their own transactions but not the "default" or "cat" test sessions.

@skbhaskarla
Copy link
Collaborator

There are couple of approaches to deleting a simulator transaction log:

  1. Deleting a simulator log message could involve removing the document metadata entries from the internal simulator registry index. In this case, future stored query or retrieve requests should not be expected to include any of the deleted metadata. This may be tricky with related metadata associations.

  2. Deleting a transaction could mean only to remove the unwanted clutter in the transaction list box but not remove metadata from the simulator indexes.

On a related topic, does archiving simulator log messages mean the metadata is kept intact in the simulator but move Message items from the "Messages" list box to a new "Archived Messages" list box?

@skbhaskarla
Copy link
Collaborator

I am removing this issue from Milestone 7.8.0 because there is insufficient information to complete this task.

@skbhaskarla skbhaskarla removed this from the v7.8.0 milestone Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants