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

Support for Minimum Inhibitory Concentration (MIC) method #28

Merged
merged 12 commits into from
Sep 29, 2023

Conversation

xispa
Copy link
Member

@xispa xispa commented Sep 27, 2023

Description of the issue/feature this PR addresses

This Pull Request adds support for the Minimum Inhibitory Concentration (MIC) method.

An additional field for method selection has been added in AST Panel content type, allowing the user to choose amongst Diffusion Disk and MIC methods. When the former is selected, the options that are specific for diffusion disk are displayed: disk content (potency) and zone diameter (DIZ). Likewise, when MIC method is selected, only the option MIC value is displayed.

Two additional columns "S<=", "R>" for MIC-specific testing have been added in Panels Breakpoint as well, following the same layout as EUCAST (see https://www.eucast.org/fileadmin/src/media/PDFs/EUCAST_files/Breakpoint_tables/v_13.0_Breakpoint_Tables.pdf):

Captura de 2023-09-29 10-58-28

Current behavior before PR

Only Diffusion disk method is supported

Desired behavior after PR is merged

Both diffusion disk and MIC methods are supported

AST Panel edit view with Diffusion disk method selected:

Captura de 2023-09-27 16-12-04

AST Panel edit view with MIC method selected:

Captura de 2023-09-27 16-11-53

Sensitivity results entry for a panel with MIC method enabled:

Captura de 2023-09-27 16-15-28

New service senaite_ast_mic for MIC value introduction:

Captura de 2023-09-27 16-26-42

Breakpoints table edit view, with MIC breakpoints:

Captura de 2023-09-29 12-11-53

--
I confirm I have tested this PR thoroughly and coded it according to PEP8
and Plone's Python styleguide standards.

@xispa xispa marked this pull request as draft September 27, 2023 14:28
@xispa xispa requested a review from ramonski September 29, 2023 10:20
@xispa xispa added the enhancement New feature or request label Sep 29, 2023
@xispa xispa marked this pull request as ready for review September 29, 2023 10:52
@ramonski ramonski merged commit d3a3f3d into master Sep 29, 2023
2 checks passed
@ramonski ramonski deleted the mic-support branch September 29, 2023 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

2 participants