diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..b58b603 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,5 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..105ce2d --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..a980e4a --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..173e673 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/pftr_processor.iml b/.idea/pftr_processor.iml new file mode 100644 index 0000000..09f664d --- /dev/null +++ b/.idea/pftr_processor.iml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/pyLspTools.xml b/.idea/pyLspTools.xml new file mode 100644 index 0000000..c24f67c --- /dev/null +++ b/.idea/pyLspTools.xml @@ -0,0 +1,29 @@ + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..8306744 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/app.py b/app.py index 35833e2..3273cf9 100644 --- a/app.py +++ b/app.py @@ -198,6 +198,8 @@ def process_pft_pdf(input_stream: BinaryIO) -> BinaryIO: check_boxes |= {"results_asthma_cb": "/Yes", "refer_pulmo": "/Yes"} case "emphysema": check_boxes |= {"results_emphysema": "/Yes", "refer_pulmo": "/Yes"} + case _: + check_boxes |= {"refer_pulmo": "/Yes"} form_data = patient_data | check_boxes