This commit is contained in:
@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "HospitalAssistantBackend"
|
||||
version = "1.5.2"
|
||||
version = "1.5.3"
|
||||
description = "Backend for Hospital Assistant"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.13,<3.14"
|
||||
|
||||
@ -117,7 +117,9 @@ async def get_vaccs_report_download(
|
||||
raise e.BadRequestException
|
||||
|
||||
filename = f'vaccs_report_{resultId or user.vita_id}.doc'
|
||||
xml_model = s.ClinicalDocument.from_xml(file.content.encode('utf-8'))
|
||||
xml_data = base64.b64decode(file.content)
|
||||
xml_data = xml_data.strip()
|
||||
xml_model = s.ClinicalDocument.from_xml(xml_data)
|
||||
inner_base64 = xml_model.component.non_xml_body.text.content.strip()
|
||||
|
||||
temp_link_token = token_urlsafe(32)
|
||||
|
||||
Reference in New Issue
Block a user