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

CH-EMED-EPR: HtmlNarrativeGenerator add check to include or not a statement on the PDF #91

Open
dvribeira opened this issue Nov 15, 2023 · 2 comments
Assignees

Comments

@dvribeira
Copy link
Collaborator

With the possibility of requesting PMLC documents with non-active treatments, the generator might receive a list of medication statements for active and non-active treatments. The generator should ignore non-active medication statements.

@qligier
Copy link
Member

qligier commented Nov 16, 2023

Wouldn't it be weird to allow requesting non-active treatments for a PDF, but omit them in the actual document? I would either refuse that particular request in the PMP, or include them in the PDF.

@dvribeira
Copy link
Collaborator Author

dvribeira commented Nov 16, 2023

It is indeed an open question. The only use case we have at the moment is the need to retrieve a structured consolidated view of all the treatments to fulfill the functional requirements of the Portail Patient and this use case does not rely on the PDF. For this reason we thought it would be enough (at least for now) to keep the PDF as what it is, the card of active treatments, whether the bundle includes entries for non active treatments or not.

Since indeed the PDF is sent as the original representation of the document, one could argue that it should include all the treatments in the bundle. In this case, the alternative would be to add another table to the PDF for non-active treatments.

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

2 participants