Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/tubeNumber_13symbols' into tubeN…
Browse files Browse the repository at this point in the history
…umber_13symbols
  • Loading branch information
urchinpro committed Sep 15, 2023
2 parents aad4e10 + b39354f commit 5a21df2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
1 change: 1 addition & 0 deletions api/directions/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ def resend_results(request):
direction.post_confirmation()
return status_response(True)


@login_required()
def need_order_redirection(request):
request_data = json.loads(request.body)
Expand Down
9 changes: 3 additions & 6 deletions ftp_orders/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,7 @@ def pull_result(self, file: str):
is_confirm = False

obxes = hl7_result.ORU_R01_RESPONSE.ORU_R01_ORDER_OBSERVATION.ORU_R01_OBSERVATION
fractions = {"fsli": "", "title_fraction": "", "value": "", "refs": "", "units": "", "jpeg": "", "html": "", "doc_confirm": "", "date_confirm": "",
"note_data": ""}
fractions = {"fsli": "", "title_fraction": "", "value": "", "refs": "", "units": "", "jpeg": "", "html": "", "doc_confirm": "", "date_confirm": "", "note_data": ""}
result = []
for obx in obxes:
tmp_fractions = fractions.copy()
Expand Down Expand Up @@ -420,13 +419,11 @@ def pull_result(self, file: str):
ref_m=ref_str,
).save()
else:
iss.lab_comment = "",
iss.time_confirmation = None,
iss.lab_comment = ("",)
iss.time_confirmation = (None,)
iss.time_save = current_time()
iss.doc_confirmation_string = ""
iss.save()


def push_order(self, direction: Napravleniya):
hl7 = core.Message("ORM_O01", validation_level=VALIDATION_LEVEL.QUIET)

Expand Down

0 comments on commit 5a21df2

Please sign in to comment.