From ce80650bb7cdca3093ebb349642ff56eda96486e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jordi=20Puiggen=C3=A9?= Date: Wed, 10 Jan 2024 21:29:35 +0100 Subject: [PATCH 1/2] Release 1.4.0 (240110) --- README.rst | 2 +- docs/changelog.rst | 2 +- setup.py | 2 +- src/senaite/__init__.py | 2 +- src/senaite/patient/__init__.py | 2 +- src/senaite/patient/adapters/__init__.py | 2 +- src/senaite/patient/adapters/guards.py | 2 +- src/senaite/patient/adapters/impress.py | 18 ++ src/senaite/patient/adapters/listing.py | 2 +- .../patient/adapters/widgetvisibility.py | 2 +- src/senaite/patient/api.py | 2 +- src/senaite/patient/browser/__init__.py | 2 +- .../patient/browser/client/__init__.py | 19 ++ .../patient/browser/client/patients.py | 18 ++ src/senaite/patient/browser/controlpanel.py | 2 +- .../patient/browser/patient/__init__.py | 18 ++ src/senaite/patient/browser/patient/add2.py | 18 ++ .../patient/browser/patient/samples.py | 18 ++ src/senaite/patient/browser/patient/views.py | 18 ++ src/senaite/patient/browser/patientfolder.py | 2 +- src/senaite/patient/browser/theme/__init__.py | 2 +- src/senaite/patient/browser/theme/icons.py | 2 +- .../patient/browser/viewlets/__init__.py | 2 +- .../patient/browser/widgets/__init__.py | 18 ++ src/senaite/patient/browser/widgets/agedob.py | 18 ++ .../patient/browser/widgets/fullname.py | 18 ++ .../browser/widgets/temporaryidentifier.py | 18 ++ src/senaite/patient/catalog/__init__.py | 2 +- .../patient/catalog/indexer/__init__.py | 2 +- .../patient/catalog/indexer/patient.py | 2 +- src/senaite/patient/catalog/indexer/sample.py | 2 +- .../patient/catalog/patient_catalog.py | 2 +- src/senaite/patient/config.py | 2 +- src/senaite/patient/content/__init__.py | 2 +- .../patient/content/analysisrequest.py | 2 +- src/senaite/patient/content/fields.py | 2 +- src/senaite/patient/content/patient.py | 2 +- src/senaite/patient/content/patientfolder.py | 2 +- src/senaite/patient/content/schema.py | 18 ++ src/senaite/patient/i18n.py | 2 +- src/senaite/patient/interfaces.py | 2 +- .../locales/cs/LC_MESSAGES/senaite.patient.po | 130 ++++++------- .../locales/de/LC_MESSAGES/senaite.patient.po | 110 +++++------ .../locales/en/LC_MESSAGES/senaite.patient.po | 110 +++++------ .../locales/es/LC_MESSAGES/senaite.patient.po | 182 +++++++++--------- .../patient/locales/senaite.patient.pot | 110 +++++------ .../locales/zh/LC_MESSAGES/senaite.patient.po | 110 +++++------ .../zh_CN/LC_MESSAGES/senaite.patient.po | 110 +++++------ .../zh_TW/LC_MESSAGES/senaite.patient.po | 110 +++++------ src/senaite/patient/monkeys/__init__.py | 2 +- .../patient/monkeys/content/__init__.py | 2 +- .../monkeys/content/analysisrequest.py | 2 +- src/senaite/patient/permissions.py | 2 +- src/senaite/patient/setuphandlers.py | 2 +- src/senaite/patient/subscribers/__init__.py | 2 +- .../patient/subscribers/analysisrequest.py | 2 +- .../patient/subscribers/controlpanel.py | 18 ++ src/senaite/patient/subscribers/upgrade.py | 2 +- src/senaite/patient/tests/__init__.py | 2 +- src/senaite/patient/tests/base.py | 2 +- .../patient/tests/test_textual_doctests.py | 2 +- src/senaite/patient/upgrade/__init__.py | 2 +- src/senaite/patient/upgrade/v01_00_000.py | 2 +- src/senaite/patient/upgrade/v01_01_000.py | 2 +- src/senaite/patient/upgrade/v01_02_000.py | 2 +- src/senaite/patient/upgrade/v01_03_000.py | 2 +- src/senaite/patient/upgrade/v01_04_000.py | 2 +- src/senaite/patient/validators.py | 2 +- src/senaite/patient/vocabularies.py | 2 +- 69 files changed, 769 insertions(+), 534 deletions(-) diff --git a/README.rst b/README.rst index 029d0b62..270be9c5 100644 --- a/README.rst +++ b/README.rst @@ -12,7 +12,7 @@ NOTE: This Add-on requires `senaite.lims >= 2.2.0` License ------- -**SENAITE.PATIENT** Copyright (C) 2020-2022 RIDING BYTES & NARALABS +**SENAITE.PATIENT** Copyright (C) 2020-2024 RIDING BYTES & NARALABS This program is free software; you can redistribute it and/or modify it under the terms of the `GNU General Public License version 2`_ as published diff --git a/docs/changelog.rst b/docs/changelog.rst index c386469d..a3cad14f 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -2,7 +2,7 @@ Changelog ========= -1.4.0 (unreleased) +1.4.0 (2023-01-10) ------------------ - #101 Fix sex and gender are not translated properly in patients listing diff --git a/setup.py b/setup.py index 8351184c..a476204e 100644 --- a/setup.py +++ b/setup.py @@ -36,7 +36,7 @@ include_package_data=True, zip_safe=False, install_requires=[ - "senaite.lims>=2.3.0", + "senaite.lims>=2.5.0", ], extras_require={ "test": [ diff --git a/src/senaite/__init__.py b/src/senaite/__init__.py index e425e2c9..a9656d07 100644 --- a/src/senaite/__init__.py +++ b/src/senaite/__init__.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. try: diff --git a/src/senaite/patient/__init__.py b/src/senaite/patient/__init__.py index bc2aa5f4..eb6f7d62 100644 --- a/src/senaite/patient/__init__.py +++ b/src/senaite/patient/__init__.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. import logging diff --git a/src/senaite/patient/adapters/__init__.py b/src/senaite/patient/adapters/__init__.py index 8dd5d135..fd1825ef 100644 --- a/src/senaite/patient/adapters/__init__.py +++ b/src/senaite/patient/adapters/__init__.py @@ -15,5 +15,5 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. diff --git a/src/senaite/patient/adapters/guards.py b/src/senaite/patient/adapters/guards.py index 70ca3643..f753362d 100644 --- a/src/senaite/patient/adapters/guards.py +++ b/src/senaite/patient/adapters/guards.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. from bika.lims import api diff --git a/src/senaite/patient/adapters/impress.py b/src/senaite/patient/adapters/impress.py index 9d691cfd..f1d6ae90 100644 --- a/src/senaite/patient/adapters/impress.py +++ b/src/senaite/patient/adapters/impress.py @@ -1,4 +1,22 @@ # -*- coding: utf-8 -*- +# +# This file is part of SENAITE.PATIENT. +# +# SENAITE.PATIENT is free software: you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the Free +# Software Foundation, version 2. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 51 +# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Copyright 2020-2024 by it's authors. +# Some rights reserved, see README and LICENSE. from bika.lims.interfaces import IAnalysisRequest from senaite.impress.interfaces import IGroupKeyProvider diff --git a/src/senaite/patient/adapters/listing.py b/src/senaite/patient/adapters/listing.py index fc2282be..c2990c7f 100644 --- a/src/senaite/patient/adapters/listing.py +++ b/src/senaite/patient/adapters/listing.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. from bika.lims import api diff --git a/src/senaite/patient/adapters/widgetvisibility.py b/src/senaite/patient/adapters/widgetvisibility.py index e761c56f..9af1853e 100644 --- a/src/senaite/patient/adapters/widgetvisibility.py +++ b/src/senaite/patient/adapters/widgetvisibility.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. from bika.lims.adapters.widgetvisibility import SenaiteATWidgetVisibility diff --git a/src/senaite/patient/api.py b/src/senaite/patient/api.py index 32e26f7e..df77a0f1 100644 --- a/src/senaite/patient/api.py +++ b/src/senaite/patient/api.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. import re diff --git a/src/senaite/patient/browser/__init__.py b/src/senaite/patient/browser/__init__.py index 8dd5d135..fd1825ef 100644 --- a/src/senaite/patient/browser/__init__.py +++ b/src/senaite/patient/browser/__init__.py @@ -15,5 +15,5 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. diff --git a/src/senaite/patient/browser/client/__init__.py b/src/senaite/patient/browser/client/__init__.py index e69de29b..fd1825ef 100644 --- a/src/senaite/patient/browser/client/__init__.py +++ b/src/senaite/patient/browser/client/__init__.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- +# +# This file is part of SENAITE.PATIENT. +# +# SENAITE.PATIENT is free software: you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the Free +# Software Foundation, version 2. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 51 +# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Copyright 2020-2024 by it's authors. +# Some rights reserved, see README and LICENSE. diff --git a/src/senaite/patient/browser/client/patients.py b/src/senaite/patient/browser/client/patients.py index 7bef8b6c..1345e828 100644 --- a/src/senaite/patient/browser/client/patients.py +++ b/src/senaite/patient/browser/client/patients.py @@ -1,4 +1,22 @@ # -*- coding: utf-8 -*- +# +# This file is part of SENAITE.PATIENT. +# +# SENAITE.PATIENT is free software: you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the Free +# Software Foundation, version 2. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 51 +# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Copyright 2020-2024 by it's authors. +# Some rights reserved, see README and LICENSE. from senaite.patient.browser.patientfolder import PatientFolderView from senaite.patient.api import is_patient_allowed_in_client diff --git a/src/senaite/patient/browser/controlpanel.py b/src/senaite/patient/browser/controlpanel.py index 3d28a249..4e4a333c 100644 --- a/src/senaite/patient/browser/controlpanel.py +++ b/src/senaite/patient/browser/controlpanel.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. import re diff --git a/src/senaite/patient/browser/patient/__init__.py b/src/senaite/patient/browser/patient/__init__.py index 40a96afc..fd1825ef 100644 --- a/src/senaite/patient/browser/patient/__init__.py +++ b/src/senaite/patient/browser/patient/__init__.py @@ -1 +1,19 @@ # -*- coding: utf-8 -*- +# +# This file is part of SENAITE.PATIENT. +# +# SENAITE.PATIENT is free software: you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the Free +# Software Foundation, version 2. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 51 +# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Copyright 2020-2024 by it's authors. +# Some rights reserved, see README and LICENSE. diff --git a/src/senaite/patient/browser/patient/add2.py b/src/senaite/patient/browser/patient/add2.py index b9049463..532cf687 100644 --- a/src/senaite/patient/browser/patient/add2.py +++ b/src/senaite/patient/browser/patient/add2.py @@ -1,4 +1,22 @@ # -*- coding: utf-8 -*- +# +# This file is part of SENAITE.PATIENT. +# +# SENAITE.PATIENT is free software: you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the Free +# Software Foundation, version 2. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 51 +# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Copyright 2020-2024 by it's authors. +# Some rights reserved, see README and LICENSE. from bika.lims import api from senaite.patient.api import get_patient_name_entry_mode diff --git a/src/senaite/patient/browser/patient/samples.py b/src/senaite/patient/browser/patient/samples.py index a4a68c45..74522bcf 100644 --- a/src/senaite/patient/browser/patient/samples.py +++ b/src/senaite/patient/browser/patient/samples.py @@ -1,4 +1,22 @@ # -*- coding: utf-8 -*- +# +# This file is part of SENAITE.PATIENT. +# +# SENAITE.PATIENT is free software: you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the Free +# Software Foundation, version 2. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 51 +# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Copyright 2020-2024 by it's authors. +# Some rights reserved, see README and LICENSE. from bika.lims import api from senaite.core.browser.samples.view import SamplesView as BaseView diff --git a/src/senaite/patient/browser/patient/views.py b/src/senaite/patient/browser/patient/views.py index 6dd3bc43..e8f59fc2 100644 --- a/src/senaite/patient/browser/patient/views.py +++ b/src/senaite/patient/browser/patient/views.py @@ -1,4 +1,22 @@ # -*- coding: utf-8 -*- +# +# This file is part of SENAITE.PATIENT. +# +# SENAITE.PATIENT is free software: you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the Free +# Software Foundation, version 2. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 51 +# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Copyright 2020-2024 by it's authors. +# Some rights reserved, see README and LICENSE. import copy diff --git a/src/senaite/patient/browser/patientfolder.py b/src/senaite/patient/browser/patientfolder.py index 85d71f68..31876587 100644 --- a/src/senaite/patient/browser/patientfolder.py +++ b/src/senaite/patient/browser/patientfolder.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. import collections diff --git a/src/senaite/patient/browser/theme/__init__.py b/src/senaite/patient/browser/theme/__init__.py index 8dd5d135..fd1825ef 100644 --- a/src/senaite/patient/browser/theme/__init__.py +++ b/src/senaite/patient/browser/theme/__init__.py @@ -15,5 +15,5 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. diff --git a/src/senaite/patient/browser/theme/icons.py b/src/senaite/patient/browser/theme/icons.py index cd9eb762..42400c8f 100644 --- a/src/senaite/patient/browser/theme/icons.py +++ b/src/senaite/patient/browser/theme/icons.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. import os diff --git a/src/senaite/patient/browser/viewlets/__init__.py b/src/senaite/patient/browser/viewlets/__init__.py index 264a05fd..518d4fd4 100644 --- a/src/senaite/patient/browser/viewlets/__init__.py +++ b/src/senaite/patient/browser/viewlets/__init__.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. from plone.app.layout.viewlets import ViewletBase diff --git a/src/senaite/patient/browser/widgets/__init__.py b/src/senaite/patient/browser/widgets/__init__.py index 9d6bceab..486050ab 100644 --- a/src/senaite/patient/browser/widgets/__init__.py +++ b/src/senaite/patient/browser/widgets/__init__.py @@ -1,4 +1,22 @@ # -*- coding: utf-8 -*- +# +# This file is part of SENAITE.PATIENT. +# +# SENAITE.PATIENT is free software: you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the Free +# Software Foundation, version 2. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 51 +# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Copyright 2020-2024 by it's authors. +# Some rights reserved, see README and LICENSE. from .agedob import AgeDoBWidget # noqa F401 from .fullname import FullnameWidget # noqa F401 diff --git a/src/senaite/patient/browser/widgets/agedob.py b/src/senaite/patient/browser/widgets/agedob.py index 6b5a4f17..8a4269b0 100644 --- a/src/senaite/patient/browser/widgets/agedob.py +++ b/src/senaite/patient/browser/widgets/agedob.py @@ -1,4 +1,22 @@ # -*- coding: utf-8 -*- +# +# This file is part of SENAITE.PATIENT. +# +# SENAITE.PATIENT is free software: you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the Free +# Software Foundation, version 2. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 51 +# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Copyright 2020-2024 by it's authors. +# Some rights reserved, see README and LICENSE. from AccessControl import ClassSecurityInfo from senaite.core.api import dtime diff --git a/src/senaite/patient/browser/widgets/fullname.py b/src/senaite/patient/browser/widgets/fullname.py index dbd23ed5..9e311f66 100644 --- a/src/senaite/patient/browser/widgets/fullname.py +++ b/src/senaite/patient/browser/widgets/fullname.py @@ -1,4 +1,22 @@ # -*- coding: utf-8 -*- +# +# This file is part of SENAITE.PATIENT. +# +# SENAITE.PATIENT is free software: you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the Free +# Software Foundation, version 2. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 51 +# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Copyright 2020-2024 by it's authors. +# Some rights reserved, see README and LICENSE. import six diff --git a/src/senaite/patient/browser/widgets/temporaryidentifier.py b/src/senaite/patient/browser/widgets/temporaryidentifier.py index 04fa228c..29b28feb 100644 --- a/src/senaite/patient/browser/widgets/temporaryidentifier.py +++ b/src/senaite/patient/browser/widgets/temporaryidentifier.py @@ -1,4 +1,22 @@ # -*- coding: utf-8 -*- +# +# This file is part of SENAITE.PATIENT. +# +# SENAITE.PATIENT is free software: you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the Free +# Software Foundation, version 2. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 51 +# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Copyright 2020-2024 by it's authors. +# Some rights reserved, see README and LICENSE. from AccessControl import ClassSecurityInfo from bika.lims import api diff --git a/src/senaite/patient/catalog/__init__.py b/src/senaite/patient/catalog/__init__.py index b45fd4ea..5ad12c6f 100644 --- a/src/senaite/patient/catalog/__init__.py +++ b/src/senaite/patient/catalog/__init__.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. from senaite.patient.catalog.patient_catalog import CATALOG_ID as PATIENT_CATALOG # noqa diff --git a/src/senaite/patient/catalog/indexer/__init__.py b/src/senaite/patient/catalog/indexer/__init__.py index 737dd4a1..fd1825ef 100644 --- a/src/senaite/patient/catalog/indexer/__init__.py +++ b/src/senaite/patient/catalog/indexer/__init__.py @@ -15,5 +15,5 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2023 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. diff --git a/src/senaite/patient/catalog/indexer/patient.py b/src/senaite/patient/catalog/indexer/patient.py index 70fd88e4..f08f13e7 100644 --- a/src/senaite/patient/catalog/indexer/patient.py +++ b/src/senaite/patient/catalog/indexer/patient.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2023 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. from plone.indexer import indexer diff --git a/src/senaite/patient/catalog/indexer/sample.py b/src/senaite/patient/catalog/indexer/sample.py index ee88f83d..88379593 100644 --- a/src/senaite/patient/catalog/indexer/sample.py +++ b/src/senaite/patient/catalog/indexer/sample.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2023 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. from bika.lims.interfaces import IAnalysisRequest diff --git a/src/senaite/patient/catalog/patient_catalog.py b/src/senaite/patient/catalog/patient_catalog.py index 81a4c977..48d1bc70 100644 --- a/src/senaite/patient/catalog/patient_catalog.py +++ b/src/senaite/patient/catalog/patient_catalog.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. from App.class_init import InitializeClass diff --git a/src/senaite/patient/config.py b/src/senaite/patient/config.py index 60e3e1cc..4081a1df 100644 --- a/src/senaite/patient/config.py +++ b/src/senaite/patient/config.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. from zope.i18nmessageid import MessageFactory diff --git a/src/senaite/patient/content/__init__.py b/src/senaite/patient/content/__init__.py index 1cff7d7c..0cc7a00a 100644 --- a/src/senaite/patient/content/__init__.py +++ b/src/senaite/patient/content/__init__.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. from archetypes.schemaextender.field import ExtensionField diff --git a/src/senaite/patient/content/analysisrequest.py b/src/senaite/patient/content/analysisrequest.py index 991c2bd3..d1221322 100644 --- a/src/senaite/patient/content/analysisrequest.py +++ b/src/senaite/patient/content/analysisrequest.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. from archetypes.schemaextender.interfaces import IBrowserLayerAwareExtender diff --git a/src/senaite/patient/content/fields.py b/src/senaite/patient/content/fields.py index f8e23bcc..57e9c6d7 100644 --- a/src/senaite/patient/content/fields.py +++ b/src/senaite/patient/content/fields.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. import six diff --git a/src/senaite/patient/content/patient.py b/src/senaite/patient/content/patient.py index e39e7a48..5e1fa40a 100644 --- a/src/senaite/patient/content/patient.py +++ b/src/senaite/patient/content/patient.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. from string import Template diff --git a/src/senaite/patient/content/patientfolder.py b/src/senaite/patient/content/patientfolder.py index f7c51183..c37ba9d2 100644 --- a/src/senaite/patient/content/patientfolder.py +++ b/src/senaite/patient/content/patientfolder.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. from bika.lims.interfaces import IDoNotSupportSnapshots diff --git a/src/senaite/patient/content/schema.py b/src/senaite/patient/content/schema.py index 7825daad..7d21149b 100644 --- a/src/senaite/patient/content/schema.py +++ b/src/senaite/patient/content/schema.py @@ -1,4 +1,22 @@ # -*- coding: utf-8 -*- +# +# This file is part of SENAITE.PATIENT. +# +# SENAITE.PATIENT is free software: you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the Free +# Software Foundation, version 2. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 51 +# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Copyright 2020-2024 by it's authors. +# Some rights reserved, see README and LICENSE. from plone.autoform import directives from senaite.core.schema import PhoneField diff --git a/src/senaite/patient/i18n.py b/src/senaite/patient/i18n.py index e02e1013..c8c23590 100644 --- a/src/senaite/patient/i18n.py +++ b/src/senaite/patient/i18n.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. from bika.lims import api diff --git a/src/senaite/patient/interfaces.py b/src/senaite/patient/interfaces.py index 6193b84a..c1d29b19 100644 --- a/src/senaite/patient/interfaces.py +++ b/src/senaite/patient/interfaces.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. from senaite.core.interfaces import ISenaiteCatalogObject diff --git a/src/senaite/patient/locales/cs/LC_MESSAGES/senaite.patient.po b/src/senaite/patient/locales/cs/LC_MESSAGES/senaite.patient.po index 0840d304..ae71b7fa 100644 --- a/src/senaite/patient/locales/cs/LC_MESSAGES/senaite.patient.po +++ b/src/senaite/patient/locales/cs/LC_MESSAGES/senaite.patient.po @@ -1,13 +1,13 @@ # # Translators: -# Jiří Podhorecký, 2023 +# Jiří Podhorecký, 2024 # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2023-12-03 18:40+0000\n" +"POT-Creation-Date: 2024-01-10 20:25+0000\n" "PO-Revision-Date: 2022-10-03 11:08+0000\n" -"Last-Translator: Jiří Podhorecký, 2023\n" +"Last-Translator: Jiří Podhorecký, 2024\n" "Language-Team: Czech (https://app.transifex.com/senaite/teams/130029/cs/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -37,11 +37,11 @@ msgstr "Aktivní" msgid "Add" msgstr "Přidat" -#: senaite/patient/content/patient.py:134 +#: senaite/patient/content/patient.py:135 msgid "Add the patient email as CC recipient to new samples" msgstr "Přidání e-mailu pacienta jako příjemce CC k novým vzorkům" -#: senaite/patient/content/patient.py:288 +#: senaite/patient/content/patient.py:289 msgid "Address" msgstr "Adresa" @@ -109,7 +109,7 @@ msgstr "Dnů" msgid "Deactivate" msgstr "Deaktivovat" -#: senaite/patient/content/patient.py:119 +#: senaite/patient/content/patient.py:120 msgid "Define one or more identifers for this patient" msgstr "Definujte jeden nebo více identifikátorů pro tohoto pacienta." @@ -129,7 +129,7 @@ msgstr "E-mail" msgid "Email Report" msgstr "" -#: senaite/patient/content/patient.py:376 +#: senaite/patient/content/patient.py:377 msgid "Email address %s is invalid" msgstr "E-mailová adresa %s je neplatná" @@ -255,7 +255,7 @@ msgstr "Měsíce" #: senaite/patient/config.py:67 msgid "National ID" -msgstr "" +msgstr "číslo občanského průkazu" #: senaite/patient/browser/patientfolder.py:187 msgid "No" @@ -263,7 +263,7 @@ msgstr "Ne" #: senaite/patient/config.py:66 msgid "Passport ID" -msgstr "" +msgstr "číslo cestovního pasu" #: senaite/patient/adapters/listing.py:54 #: senaite/patient/profiles/default/types/Patient.xml @@ -274,17 +274,17 @@ msgstr "Pacient" msgid "Patient ID" msgstr "Pacient ID" -#: senaite/patient/content/patient.py:118 +#: senaite/patient/content/patient.py:119 msgid "Patient Identifiers" -msgstr "" +msgstr "Identifikátory pacienta" #: senaite/patient/adapters/listing.py:131 msgid "Patient MRN of sample is not equal to %s" msgstr "Pacientův MRN vzorku se nerovná %s" -#: senaite/patient/content/patient.py:109 +#: senaite/patient/content/patient.py:110 msgid "Patient Medical Record Number" -msgstr "" +msgstr "Číslo lékařského záznamu pacienta" #: senaite/patient/browser/controlpanel.py:494 #: senaite/patient/profiles/default/controlpanel.xml @@ -292,35 +292,35 @@ msgstr "" msgid "Patient Settings" msgstr "Nastavení pacienta" -#: senaite/patient/content/patient.py:302 +#: senaite/patient/content/patient.py:303 msgid "Patient birthdate" msgstr "Datum narození pacienta" -#: senaite/patient/content/patient.py:363 +#: senaite/patient/content/patient.py:364 msgid "Patient email is invalid" msgstr "Pacientův e-mail je neplatný." -#: senaite/patient/content/patient.py:142 +#: senaite/patient/content/patient.py:143 msgid "Patient firstname" msgstr "Křestní jméno pacienta" #: senaite/patient/adapters/listing.py:137 msgid "Patient fullname of sample is not equal to %s" -msgstr "" +msgstr "Celé jméno pacienta vzorku se neshoduje s %s" -#: senaite/patient/content/patient.py:168 +#: senaite/patient/content/patient.py:169 msgid "Patient gender identity" msgstr "Pohlaví pacienta" -#: senaite/patient/content/patient.py:154 +#: senaite/patient/content/patient.py:155 msgid "Patient lastname" msgstr "Příjmení pacienta" -#: senaite/patient/content/patient.py:176 +#: senaite/patient/content/patient.py:177 msgid "Patient legally defined marital status" msgstr "Právně definovaný manželský stav pacienta" -#: senaite/patient/content/patient.py:148 +#: senaite/patient/content/patient.py:149 msgid "Patient middlename" msgstr "Druhé jméno pacienta" @@ -332,7 +332,7 @@ msgstr "Jméno pacienta" msgid "Patient name entry mode" msgstr "Způsob zadávání jména pacienta" -#: senaite/patient/content/patient.py:160 +#: senaite/patient/content/patient.py:161 msgid "Patient sex at birth" msgstr "Pohlaví pacienta při narození" @@ -348,7 +348,7 @@ msgstr "Pacienti" msgid "Place of residence" msgstr "Místo bydliště" -#: senaite/patient/content/patient.py:354 +#: senaite/patient/content/patient.py:355 msgid "Please set a valid email address first" msgstr "Prosím, nejprve zadejte platnou e-mailovou adresu." @@ -375,7 +375,7 @@ msgstr "Pohlaví při narození" #: senaite/patient/browser/controlpanel.py:370 msgid "Share patient on sample creation" -msgstr "" +msgstr "Sdílet pacienta při vytváření vzorku" #: senaite/patient/browser/controlpanel.py:188 msgid "Sharing" @@ -391,7 +391,7 @@ msgstr "Dočasné MRN" #: senaite/patient/browser/viewlets/templates/temporary_mrn_viewlet.pt:13 msgid "The Medical Record Number (MRN) assigned to this sample is temporary" -msgstr "" +msgstr "Číslo zdravotnického záznamu (MRN), které bylo přiřazeno k tomuto vzorku, je dočasné." #: senaite/patient/browser/controlpanel.py:69 msgid "The key will be stored in the database and must be unique" @@ -419,7 +419,7 @@ msgstr "Hodnota" #: senaite/patient/config.py:69 msgid "Voter ID" -msgstr "" +msgstr "Občanský průkaz" #: senaite/patient/browser/controlpanel.py:229 msgid "When selected, an alert icon is displayed in samples listing for samples that have a Patient assigned with a temporary Medical Record Number (MRN)." @@ -467,64 +467,64 @@ msgid "description_controlpanel_patient_races" msgstr "" #. Default: "Additional email addresses for this patient" -#: senaite/patient/content/patient.py:242 +#: senaite/patient/content/patient.py:243 msgid "description_patient_additional_emails" msgstr "" #. Default: "Email address" -#: senaite/patient/content/schema.py:60 +#: senaite/patient/content/schema.py:78 msgid "description_patient_additional_emails_email" msgstr "" #. Default: "Private, Work, Other etc." -#: senaite/patient/content/schema.py:48 +#: senaite/patient/content/schema.py:66 msgid "description_patient_additional_emails_name" msgstr "" #. Default: "Additional phone numbers for this patient" -#: senaite/patient/content/patient.py:275 +#: senaite/patient/content/patient.py:276 msgid "description_patient_additional_phone_numbers" msgstr "" #. Default: "Private, Work, Other etc." -#: senaite/patient/content/schema.py:75 +#: senaite/patient/content/schema.py:93 msgid "description_patient_additional_phone_numbers_name" msgstr "" #. Default: "Phone Number" -#: senaite/patient/content/schema.py:88 +#: senaite/patient/content/schema.py:106 msgid "description_patient_additional_phone_numbers_phone" msgstr "" #. have more than one" #. Default: "General ethnicity category reported by the patient - subject may have more than one" -#: senaite/patient/content/patient.py:207 +#: senaite/patient/content/patient.py:208 msgid "description_patient_ethnicities" msgstr "" #. Default: "The type of identifier that holds the ID" -#: senaite/patient/content/schema.py:19 +#: senaite/patient/content/schema.py:37 msgid "description_patient_identifiers_key" msgstr "" #. Default: "The identification number of the selected identifier" -#: senaite/patient/content/schema.py:32 +#: senaite/patient/content/schema.py:50 msgid "description_patient_identifiers_value" msgstr "" #. Default: "Primary email address for this patient" -#: senaite/patient/content/patient.py:226 +#: senaite/patient/content/patient.py:227 msgid "description_patient_primary_email" msgstr "" #. Default: "Primary phone number for this patient" -#: senaite/patient/content/patient.py:260 +#: senaite/patient/content/patient.py:261 msgid "description_patient_primary_phone" msgstr "" #. more than one" #. Default: "General race category reported by the patient - subject may have more than one" -#: senaite/patient/content/patient.py:189 +#: senaite/patient/content/patient.py:190 msgid "description_patient_races" msgstr "" @@ -569,12 +569,12 @@ msgid "gender_woman" msgstr "" #. Default: "Patient Medical Record Number is required" -#: senaite/patient/content/patient.py:322 +#: senaite/patient/content/patient.py:323 msgid "invalid_patient_mrn_is_required" msgstr "" #. Default: "Patient Medical Record Number must be unique" -#: senaite/patient/content/patient.py:331 +#: senaite/patient/content/patient.py:332 msgid "invalid_patient_mrn_must_be_unique" msgstr "" @@ -619,122 +619,122 @@ msgid "label_middlename" msgstr "" #. Default: "Additional Email Addresses" -#: senaite/patient/content/patient.py:239 +#: senaite/patient/content/patient.py:240 msgid "label_patient_additional_emails" msgstr "" #. Default: "Email" -#: senaite/patient/content/schema.py:56 +#: senaite/patient/content/schema.py:74 msgid "label_patient_additional_emails_email" msgstr "" #. Default: "Name" -#: senaite/patient/content/schema.py:44 +#: senaite/patient/content/schema.py:62 msgid "label_patient_additional_emails_name" msgstr "" #. Default: "Additional Phone Numbers" -#: senaite/patient/content/patient.py:273 +#: senaite/patient/content/patient.py:274 msgid "label_patient_additional_phone_numbers" msgstr "" #. Default: "Name" -#: senaite/patient/content/schema.py:71 +#: senaite/patient/content/schema.py:89 msgid "label_patient_additional_phone_numbers_name" msgstr "" #. Default: "Phone" -#: senaite/patient/content/schema.py:84 +#: senaite/patient/content/schema.py:102 msgid "label_patient_additional_phone_numbers_phone" msgstr "" #. Default: "Birthdate" -#: senaite/patient/content/patient.py:301 +#: senaite/patient/content/patient.py:302 msgid "label_patient_birthdate" msgstr "" #. Default: "Email results report" -#: senaite/patient/content/patient.py:131 +#: senaite/patient/content/patient.py:132 msgid "label_patient_email_report" msgstr "" #. Default: "Ethnicities" -#: senaite/patient/content/patient.py:206 +#: senaite/patient/content/patient.py:207 msgid "label_patient_ethnicities" msgstr "" #. Default: "Ethnicity" -#: senaite/patient/content/schema.py:113 +#: senaite/patient/content/schema.py:131 msgid "label_patient_ethnicity" msgstr "" #. Default: "Firstname" -#: senaite/patient/content/patient.py:141 +#: senaite/patient/content/patient.py:142 msgid "label_patient_firstname" msgstr "" #. Default: "Gender Identity" -#: senaite/patient/content/patient.py:167 +#: senaite/patient/content/patient.py:168 msgid "label_patient_gender" msgstr "" #. Default: "Type" -#: senaite/patient/content/schema.py:15 +#: senaite/patient/content/schema.py:33 msgid "label_patient_identifiers_key" msgstr "" #. Default: "ID" -#: senaite/patient/content/schema.py:28 +#: senaite/patient/content/schema.py:46 msgid "label_patient_identifiers_value" msgstr "" #. Default: "Lastname" -#: senaite/patient/content/patient.py:153 +#: senaite/patient/content/patient.py:154 msgid "label_patient_lastname" msgstr "" #. Default: "Marital Status" -#: senaite/patient/content/patient.py:175 +#: senaite/patient/content/patient.py:176 msgid "label_patient_marital_status" msgstr "" #. Default: "Middlename" -#: senaite/patient/content/patient.py:147 +#: senaite/patient/content/patient.py:148 msgid "label_patient_middlename" msgstr "" #. Default: "Medical Record #" -#: senaite/patient/content/patient.py:108 +#: senaite/patient/content/patient.py:109 msgid "label_patient_mrn" msgstr "" #. Default: "Primary Phone Number" -#: senaite/patient/content/patient.py:257 +#: senaite/patient/content/patient.py:258 msgid "label_patient_primary_phone" msgstr "" #. Default: "Race" -#: senaite/patient/content/schema.py:100 +#: senaite/patient/content/schema.py:118 msgid "label_patient_race" msgstr "" #. Default: "Races" -#: senaite/patient/content/patient.py:188 +#: senaite/patient/content/patient.py:189 msgid "label_patient_races" msgstr "" #. Default: "Sex" -#: senaite/patient/content/patient.py:159 +#: senaite/patient/content/patient.py:160 msgid "label_patient_sex" msgstr "" #. Default: "Primary Email Address" -#: senaite/patient/content/patient.py:222 +#: senaite/patient/content/patient.py:223 msgid "label_primary_patient_email" msgstr "" #. Default: "Personal" -#: senaite/patient/browser/patient/views.py:33 +#: senaite/patient/browser/patient/views.py:51 msgid "label_schema_personal" msgstr "" @@ -858,6 +858,6 @@ msgid "sex_not_specified" msgstr "" #. Default: "Samples of ${patient_fullname}" -#: senaite/patient/browser/patient/samples.py:18 +#: senaite/patient/browser/patient/samples.py:36 msgid "title_patient_samples_listing" msgstr "" diff --git a/src/senaite/patient/locales/de/LC_MESSAGES/senaite.patient.po b/src/senaite/patient/locales/de/LC_MESSAGES/senaite.patient.po index cb60f525..d4b9b8c2 100644 --- a/src/senaite/patient/locales/de/LC_MESSAGES/senaite.patient.po +++ b/src/senaite/patient/locales/de/LC_MESSAGES/senaite.patient.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2023-12-03 18:40+0000\n" +"POT-Creation-Date: 2024-01-10 20:25+0000\n" "PO-Revision-Date: 2022-10-03 11:08+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: German (https://app.transifex.com/senaite/teams/130029/de/)\n" @@ -34,11 +34,11 @@ msgstr "" msgid "Add" msgstr "" -#: senaite/patient/content/patient.py:134 +#: senaite/patient/content/patient.py:135 msgid "Add the patient email as CC recipient to new samples" msgstr "" -#: senaite/patient/content/patient.py:288 +#: senaite/patient/content/patient.py:289 msgid "Address" msgstr "" @@ -106,7 +106,7 @@ msgstr "" msgid "Deactivate" msgstr "" -#: senaite/patient/content/patient.py:119 +#: senaite/patient/content/patient.py:120 msgid "Define one or more identifers for this patient" msgstr "" @@ -126,7 +126,7 @@ msgstr "" msgid "Email Report" msgstr "" -#: senaite/patient/content/patient.py:376 +#: senaite/patient/content/patient.py:377 msgid "Email address %s is invalid" msgstr "" @@ -271,7 +271,7 @@ msgstr "" msgid "Patient ID" msgstr "" -#: senaite/patient/content/patient.py:118 +#: senaite/patient/content/patient.py:119 msgid "Patient Identifiers" msgstr "" @@ -279,7 +279,7 @@ msgstr "" msgid "Patient MRN of sample is not equal to %s" msgstr "" -#: senaite/patient/content/patient.py:109 +#: senaite/patient/content/patient.py:110 msgid "Patient Medical Record Number" msgstr "" @@ -289,15 +289,15 @@ msgstr "" msgid "Patient Settings" msgstr "" -#: senaite/patient/content/patient.py:302 +#: senaite/patient/content/patient.py:303 msgid "Patient birthdate" msgstr "" -#: senaite/patient/content/patient.py:363 +#: senaite/patient/content/patient.py:364 msgid "Patient email is invalid" msgstr "" -#: senaite/patient/content/patient.py:142 +#: senaite/patient/content/patient.py:143 msgid "Patient firstname" msgstr "" @@ -305,19 +305,19 @@ msgstr "" msgid "Patient fullname of sample is not equal to %s" msgstr "" -#: senaite/patient/content/patient.py:168 +#: senaite/patient/content/patient.py:169 msgid "Patient gender identity" msgstr "" -#: senaite/patient/content/patient.py:154 +#: senaite/patient/content/patient.py:155 msgid "Patient lastname" msgstr "" -#: senaite/patient/content/patient.py:176 +#: senaite/patient/content/patient.py:177 msgid "Patient legally defined marital status" msgstr "" -#: senaite/patient/content/patient.py:148 +#: senaite/patient/content/patient.py:149 msgid "Patient middlename" msgstr "" @@ -329,7 +329,7 @@ msgstr "" msgid "Patient name entry mode" msgstr "" -#: senaite/patient/content/patient.py:160 +#: senaite/patient/content/patient.py:161 msgid "Patient sex at birth" msgstr "" @@ -345,7 +345,7 @@ msgstr "" msgid "Place of residence" msgstr "" -#: senaite/patient/content/patient.py:354 +#: senaite/patient/content/patient.py:355 msgid "Please set a valid email address first" msgstr "" @@ -464,64 +464,64 @@ msgid "description_controlpanel_patient_races" msgstr "" #. Default: "Additional email addresses for this patient" -#: senaite/patient/content/patient.py:242 +#: senaite/patient/content/patient.py:243 msgid "description_patient_additional_emails" msgstr "" #. Default: "Email address" -#: senaite/patient/content/schema.py:60 +#: senaite/patient/content/schema.py:78 msgid "description_patient_additional_emails_email" msgstr "" #. Default: "Private, Work, Other etc." -#: senaite/patient/content/schema.py:48 +#: senaite/patient/content/schema.py:66 msgid "description_patient_additional_emails_name" msgstr "" #. Default: "Additional phone numbers for this patient" -#: senaite/patient/content/patient.py:275 +#: senaite/patient/content/patient.py:276 msgid "description_patient_additional_phone_numbers" msgstr "" #. Default: "Private, Work, Other etc." -#: senaite/patient/content/schema.py:75 +#: senaite/patient/content/schema.py:93 msgid "description_patient_additional_phone_numbers_name" msgstr "" #. Default: "Phone Number" -#: senaite/patient/content/schema.py:88 +#: senaite/patient/content/schema.py:106 msgid "description_patient_additional_phone_numbers_phone" msgstr "" #. have more than one" #. Default: "General ethnicity category reported by the patient - subject may have more than one" -#: senaite/patient/content/patient.py:207 +#: senaite/patient/content/patient.py:208 msgid "description_patient_ethnicities" msgstr "" #. Default: "The type of identifier that holds the ID" -#: senaite/patient/content/schema.py:19 +#: senaite/patient/content/schema.py:37 msgid "description_patient_identifiers_key" msgstr "" #. Default: "The identification number of the selected identifier" -#: senaite/patient/content/schema.py:32 +#: senaite/patient/content/schema.py:50 msgid "description_patient_identifiers_value" msgstr "" #. Default: "Primary email address for this patient" -#: senaite/patient/content/patient.py:226 +#: senaite/patient/content/patient.py:227 msgid "description_patient_primary_email" msgstr "" #. Default: "Primary phone number for this patient" -#: senaite/patient/content/patient.py:260 +#: senaite/patient/content/patient.py:261 msgid "description_patient_primary_phone" msgstr "" #. more than one" #. Default: "General race category reported by the patient - subject may have more than one" -#: senaite/patient/content/patient.py:189 +#: senaite/patient/content/patient.py:190 msgid "description_patient_races" msgstr "" @@ -566,12 +566,12 @@ msgid "gender_woman" msgstr "" #. Default: "Patient Medical Record Number is required" -#: senaite/patient/content/patient.py:322 +#: senaite/patient/content/patient.py:323 msgid "invalid_patient_mrn_is_required" msgstr "" #. Default: "Patient Medical Record Number must be unique" -#: senaite/patient/content/patient.py:331 +#: senaite/patient/content/patient.py:332 msgid "invalid_patient_mrn_must_be_unique" msgstr "" @@ -616,122 +616,122 @@ msgid "label_middlename" msgstr "" #. Default: "Additional Email Addresses" -#: senaite/patient/content/patient.py:239 +#: senaite/patient/content/patient.py:240 msgid "label_patient_additional_emails" msgstr "" #. Default: "Email" -#: senaite/patient/content/schema.py:56 +#: senaite/patient/content/schema.py:74 msgid "label_patient_additional_emails_email" msgstr "" #. Default: "Name" -#: senaite/patient/content/schema.py:44 +#: senaite/patient/content/schema.py:62 msgid "label_patient_additional_emails_name" msgstr "" #. Default: "Additional Phone Numbers" -#: senaite/patient/content/patient.py:273 +#: senaite/patient/content/patient.py:274 msgid "label_patient_additional_phone_numbers" msgstr "" #. Default: "Name" -#: senaite/patient/content/schema.py:71 +#: senaite/patient/content/schema.py:89 msgid "label_patient_additional_phone_numbers_name" msgstr "" #. Default: "Phone" -#: senaite/patient/content/schema.py:84 +#: senaite/patient/content/schema.py:102 msgid "label_patient_additional_phone_numbers_phone" msgstr "" #. Default: "Birthdate" -#: senaite/patient/content/patient.py:301 +#: senaite/patient/content/patient.py:302 msgid "label_patient_birthdate" msgstr "" #. Default: "Email results report" -#: senaite/patient/content/patient.py:131 +#: senaite/patient/content/patient.py:132 msgid "label_patient_email_report" msgstr "" #. Default: "Ethnicities" -#: senaite/patient/content/patient.py:206 +#: senaite/patient/content/patient.py:207 msgid "label_patient_ethnicities" msgstr "" #. Default: "Ethnicity" -#: senaite/patient/content/schema.py:113 +#: senaite/patient/content/schema.py:131 msgid "label_patient_ethnicity" msgstr "" #. Default: "Firstname" -#: senaite/patient/content/patient.py:141 +#: senaite/patient/content/patient.py:142 msgid "label_patient_firstname" msgstr "" #. Default: "Gender Identity" -#: senaite/patient/content/patient.py:167 +#: senaite/patient/content/patient.py:168 msgid "label_patient_gender" msgstr "" #. Default: "Type" -#: senaite/patient/content/schema.py:15 +#: senaite/patient/content/schema.py:33 msgid "label_patient_identifiers_key" msgstr "" #. Default: "ID" -#: senaite/patient/content/schema.py:28 +#: senaite/patient/content/schema.py:46 msgid "label_patient_identifiers_value" msgstr "" #. Default: "Lastname" -#: senaite/patient/content/patient.py:153 +#: senaite/patient/content/patient.py:154 msgid "label_patient_lastname" msgstr "" #. Default: "Marital Status" -#: senaite/patient/content/patient.py:175 +#: senaite/patient/content/patient.py:176 msgid "label_patient_marital_status" msgstr "" #. Default: "Middlename" -#: senaite/patient/content/patient.py:147 +#: senaite/patient/content/patient.py:148 msgid "label_patient_middlename" msgstr "" #. Default: "Medical Record #" -#: senaite/patient/content/patient.py:108 +#: senaite/patient/content/patient.py:109 msgid "label_patient_mrn" msgstr "" #. Default: "Primary Phone Number" -#: senaite/patient/content/patient.py:257 +#: senaite/patient/content/patient.py:258 msgid "label_patient_primary_phone" msgstr "" #. Default: "Race" -#: senaite/patient/content/schema.py:100 +#: senaite/patient/content/schema.py:118 msgid "label_patient_race" msgstr "" #. Default: "Races" -#: senaite/patient/content/patient.py:188 +#: senaite/patient/content/patient.py:189 msgid "label_patient_races" msgstr "" #. Default: "Sex" -#: senaite/patient/content/patient.py:159 +#: senaite/patient/content/patient.py:160 msgid "label_patient_sex" msgstr "" #. Default: "Primary Email Address" -#: senaite/patient/content/patient.py:222 +#: senaite/patient/content/patient.py:223 msgid "label_primary_patient_email" msgstr "" #. Default: "Personal" -#: senaite/patient/browser/patient/views.py:33 +#: senaite/patient/browser/patient/views.py:51 msgid "label_schema_personal" msgstr "" @@ -855,6 +855,6 @@ msgid "sex_not_specified" msgstr "" #. Default: "Samples of ${patient_fullname}" -#: senaite/patient/browser/patient/samples.py:18 +#: senaite/patient/browser/patient/samples.py:36 msgid "title_patient_samples_listing" msgstr "" diff --git a/src/senaite/patient/locales/en/LC_MESSAGES/senaite.patient.po b/src/senaite/patient/locales/en/LC_MESSAGES/senaite.patient.po index 94c92f79..3e0617d0 100644 --- a/src/senaite/patient/locales/en/LC_MESSAGES/senaite.patient.po +++ b/src/senaite/patient/locales/en/LC_MESSAGES/senaite.patient.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2023-12-03 18:40+0000\n" +"POT-Creation-Date: 2024-01-10 20:25+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -32,11 +32,11 @@ msgstr "" msgid "Add" msgstr "" -#: senaite/patient/content/patient.py:134 +#: senaite/patient/content/patient.py:135 msgid "Add the patient email as CC recipient to new samples" msgstr "" -#: senaite/patient/content/patient.py:288 +#: senaite/patient/content/patient.py:289 msgid "Address" msgstr "" @@ -104,7 +104,7 @@ msgstr "" msgid "Deactivate" msgstr "" -#: senaite/patient/content/patient.py:119 +#: senaite/patient/content/patient.py:120 msgid "Define one or more identifers for this patient" msgstr "" @@ -124,7 +124,7 @@ msgstr "" msgid "Email Report" msgstr "" -#: senaite/patient/content/patient.py:376 +#: senaite/patient/content/patient.py:377 msgid "Email address %s is invalid" msgstr "" @@ -269,7 +269,7 @@ msgstr "" msgid "Patient ID" msgstr "" -#: senaite/patient/content/patient.py:118 +#: senaite/patient/content/patient.py:119 msgid "Patient Identifiers" msgstr "" @@ -277,7 +277,7 @@ msgstr "" msgid "Patient MRN of sample is not equal to %s" msgstr "" -#: senaite/patient/content/patient.py:109 +#: senaite/patient/content/patient.py:110 msgid "Patient Medical Record Number" msgstr "" @@ -287,15 +287,15 @@ msgstr "" msgid "Patient Settings" msgstr "" -#: senaite/patient/content/patient.py:302 +#: senaite/patient/content/patient.py:303 msgid "Patient birthdate" msgstr "" -#: senaite/patient/content/patient.py:363 +#: senaite/patient/content/patient.py:364 msgid "Patient email is invalid" msgstr "" -#: senaite/patient/content/patient.py:142 +#: senaite/patient/content/patient.py:143 msgid "Patient firstname" msgstr "" @@ -303,19 +303,19 @@ msgstr "" msgid "Patient fullname of sample is not equal to %s" msgstr "" -#: senaite/patient/content/patient.py:168 +#: senaite/patient/content/patient.py:169 msgid "Patient gender identity" msgstr "" -#: senaite/patient/content/patient.py:154 +#: senaite/patient/content/patient.py:155 msgid "Patient lastname" msgstr "" -#: senaite/patient/content/patient.py:176 +#: senaite/patient/content/patient.py:177 msgid "Patient legally defined marital status" msgstr "" -#: senaite/patient/content/patient.py:148 +#: senaite/patient/content/patient.py:149 msgid "Patient middlename" msgstr "" @@ -327,7 +327,7 @@ msgstr "" msgid "Patient name entry mode" msgstr "" -#: senaite/patient/content/patient.py:160 +#: senaite/patient/content/patient.py:161 msgid "Patient sex at birth" msgstr "" @@ -343,7 +343,7 @@ msgstr "" msgid "Place of residence" msgstr "" -#: senaite/patient/content/patient.py:354 +#: senaite/patient/content/patient.py:355 msgid "Please set a valid email address first" msgstr "" @@ -458,62 +458,62 @@ msgid "description_controlpanel_patient_races" msgstr "" #. Default: "Additional email addresses for this patient" -#: senaite/patient/content/patient.py:242 +#: senaite/patient/content/patient.py:243 msgid "description_patient_additional_emails" msgstr "" #. Default: "Email address" -#: senaite/patient/content/schema.py:60 +#: senaite/patient/content/schema.py:78 msgid "description_patient_additional_emails_email" msgstr "" #. Default: "Private, Work, Other etc." -#: senaite/patient/content/schema.py:48 +#: senaite/patient/content/schema.py:66 msgid "description_patient_additional_emails_name" msgstr "" #. Default: "Additional phone numbers for this patient" -#: senaite/patient/content/patient.py:275 +#: senaite/patient/content/patient.py:276 msgid "description_patient_additional_phone_numbers" msgstr "" #. Default: "Private, Work, Other etc." -#: senaite/patient/content/schema.py:75 +#: senaite/patient/content/schema.py:93 msgid "description_patient_additional_phone_numbers_name" msgstr "" #. Default: "Phone Number" -#: senaite/patient/content/schema.py:88 +#: senaite/patient/content/schema.py:106 msgid "description_patient_additional_phone_numbers_phone" msgstr "" #. Default: "General ethnicity category reported by the patient - subject may have more than one" -#: senaite/patient/content/patient.py:207 +#: senaite/patient/content/patient.py:208 msgid "description_patient_ethnicities" msgstr "" #. Default: "The type of identifier that holds the ID" -#: senaite/patient/content/schema.py:19 +#: senaite/patient/content/schema.py:37 msgid "description_patient_identifiers_key" msgstr "" #. Default: "The identification number of the selected identifier" -#: senaite/patient/content/schema.py:32 +#: senaite/patient/content/schema.py:50 msgid "description_patient_identifiers_value" msgstr "" #. Default: "Primary email address for this patient" -#: senaite/patient/content/patient.py:226 +#: senaite/patient/content/patient.py:227 msgid "description_patient_primary_email" msgstr "" #. Default: "Primary phone number for this patient" -#: senaite/patient/content/patient.py:260 +#: senaite/patient/content/patient.py:261 msgid "description_patient_primary_phone" msgstr "" #. Default: "General race category reported by the patient - subject may have more than one" -#: senaite/patient/content/patient.py:189 +#: senaite/patient/content/patient.py:190 msgid "description_patient_races" msgstr "" @@ -558,12 +558,12 @@ msgid "gender_woman" msgstr "" #. Default: "Patient Medical Record Number is required" -#: senaite/patient/content/patient.py:322 +#: senaite/patient/content/patient.py:323 msgid "invalid_patient_mrn_is_required" msgstr "" #. Default: "Patient Medical Record Number must be unique" -#: senaite/patient/content/patient.py:331 +#: senaite/patient/content/patient.py:332 msgid "invalid_patient_mrn_must_be_unique" msgstr "" @@ -608,122 +608,122 @@ msgid "label_middlename" msgstr "" #. Default: "Additional Email Addresses" -#: senaite/patient/content/patient.py:239 +#: senaite/patient/content/patient.py:240 msgid "label_patient_additional_emails" msgstr "" #. Default: "Email" -#: senaite/patient/content/schema.py:56 +#: senaite/patient/content/schema.py:74 msgid "label_patient_additional_emails_email" msgstr "" #. Default: "Name" -#: senaite/patient/content/schema.py:44 +#: senaite/patient/content/schema.py:62 msgid "label_patient_additional_emails_name" msgstr "" #. Default: "Additional Phone Numbers" -#: senaite/patient/content/patient.py:273 +#: senaite/patient/content/patient.py:274 msgid "label_patient_additional_phone_numbers" msgstr "" #. Default: "Name" -#: senaite/patient/content/schema.py:71 +#: senaite/patient/content/schema.py:89 msgid "label_patient_additional_phone_numbers_name" msgstr "" #. Default: "Phone" -#: senaite/patient/content/schema.py:84 +#: senaite/patient/content/schema.py:102 msgid "label_patient_additional_phone_numbers_phone" msgstr "" #. Default: "Birthdate" -#: senaite/patient/content/patient.py:301 +#: senaite/patient/content/patient.py:302 msgid "label_patient_birthdate" msgstr "" #. Default: "Email results report" -#: senaite/patient/content/patient.py:131 +#: senaite/patient/content/patient.py:132 msgid "label_patient_email_report" msgstr "" #. Default: "Ethnicities" -#: senaite/patient/content/patient.py:206 +#: senaite/patient/content/patient.py:207 msgid "label_patient_ethnicities" msgstr "" #. Default: "Ethnicity" -#: senaite/patient/content/schema.py:113 +#: senaite/patient/content/schema.py:131 msgid "label_patient_ethnicity" msgstr "" #. Default: "Firstname" -#: senaite/patient/content/patient.py:141 +#: senaite/patient/content/patient.py:142 msgid "label_patient_firstname" msgstr "" #. Default: "Gender Identity" -#: senaite/patient/content/patient.py:167 +#: senaite/patient/content/patient.py:168 msgid "label_patient_gender" msgstr "" #. Default: "Type" -#: senaite/patient/content/schema.py:15 +#: senaite/patient/content/schema.py:33 msgid "label_patient_identifiers_key" msgstr "" #. Default: "ID" -#: senaite/patient/content/schema.py:28 +#: senaite/patient/content/schema.py:46 msgid "label_patient_identifiers_value" msgstr "" #. Default: "Lastname" -#: senaite/patient/content/patient.py:153 +#: senaite/patient/content/patient.py:154 msgid "label_patient_lastname" msgstr "" #. Default: "Marital Status" -#: senaite/patient/content/patient.py:175 +#: senaite/patient/content/patient.py:176 msgid "label_patient_marital_status" msgstr "" #. Default: "Middlename" -#: senaite/patient/content/patient.py:147 +#: senaite/patient/content/patient.py:148 msgid "label_patient_middlename" msgstr "" #. Default: "Medical Record #" -#: senaite/patient/content/patient.py:108 +#: senaite/patient/content/patient.py:109 msgid "label_patient_mrn" msgstr "" #. Default: "Primary Phone Number" -#: senaite/patient/content/patient.py:257 +#: senaite/patient/content/patient.py:258 msgid "label_patient_primary_phone" msgstr "" #. Default: "Race" -#: senaite/patient/content/schema.py:100 +#: senaite/patient/content/schema.py:118 msgid "label_patient_race" msgstr "" #. Default: "Races" -#: senaite/patient/content/patient.py:188 +#: senaite/patient/content/patient.py:189 msgid "label_patient_races" msgstr "" #. Default: "Sex" -#: senaite/patient/content/patient.py:159 +#: senaite/patient/content/patient.py:160 msgid "label_patient_sex" msgstr "" #. Default: "Primary Email Address" -#: senaite/patient/content/patient.py:222 +#: senaite/patient/content/patient.py:223 msgid "label_primary_patient_email" msgstr "" #. Default: "Personal" -#: senaite/patient/browser/patient/views.py:33 +#: senaite/patient/browser/patient/views.py:51 msgid "label_schema_personal" msgstr "" @@ -847,6 +847,6 @@ msgid "sex_not_specified" msgstr "" #. Default: "Samples of ${patient_fullname}" -#: senaite/patient/browser/patient/samples.py:18 +#: senaite/patient/browser/patient/samples.py:36 msgid "title_patient_samples_listing" msgstr "" diff --git a/src/senaite/patient/locales/es/LC_MESSAGES/senaite.patient.po b/src/senaite/patient/locales/es/LC_MESSAGES/senaite.patient.po index 1d84721a..e87201d8 100644 --- a/src/senaite/patient/locales/es/LC_MESSAGES/senaite.patient.po +++ b/src/senaite/patient/locales/es/LC_MESSAGES/senaite.patient.po @@ -1,13 +1,13 @@ # # Translators: -# Jordi Puiggené , 2023 +# Jordi Puiggené , 2024 # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2023-12-03 18:40+0000\n" +"POT-Creation-Date: 2024-01-10 20:25+0000\n" "PO-Revision-Date: 2022-10-03 11:08+0000\n" -"Last-Translator: Jordi Puiggené , 2023\n" +"Last-Translator: Jordi Puiggené , 2024\n" "Language-Team: Spanish (https://app.transifex.com/senaite/teams/130029/es/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -37,11 +37,11 @@ msgstr "Activo/a" msgid "Add" msgstr "Nuevo..." -#: senaite/patient/content/patient.py:134 +#: senaite/patient/content/patient.py:135 msgid "Add the patient email as CC recipient to new samples" msgstr "Añadir el correo electrónico del paciente como destinatario en copia al crear nuevas muestras" -#: senaite/patient/content/patient.py:288 +#: senaite/patient/content/patient.py:289 msgid "Address" msgstr "Dirección" @@ -95,142 +95,142 @@ msgstr "No se pueden eliminar razas que están en uso" #: senaite/patient/skins/templates/senaite_patient_widgets/agedobwidget.pt:93 msgid "Date of Birth" -msgstr "" +msgstr "Fecha de nacimiento" #: senaite/patient/content/analysisrequest.py:243 msgid "Date of birth" -msgstr "" +msgstr "Fecha de nacimiento" #: senaite/patient/skins/templates/senaite_patient_widgets/agedobwidget.pt:132 msgid "Days" -msgstr "" +msgstr "Días" #: senaite/patient/profiles/default/workflows/senaite_patient_workflow/definition.xml msgid "Deactivate" -msgstr "" +msgstr "Desactivar" -#: senaite/patient/content/patient.py:119 +#: senaite/patient/content/patient.py:120 msgid "Define one or more identifers for this patient" -msgstr "" +msgstr "Identificadores adicionales" #: senaite/patient/browser/controlpanel.py:228 msgid "Display an alert icon on samples with a temporary MRN" -msgstr "" +msgstr "Mostrar un icono de alerta para muestras cuyo número de expediente médico (MRN) es temporal" #: senaite/patient/config.py:68 msgid "Driver ID" -msgstr "" +msgstr "Carnet de conducir" #: senaite/patient/browser/patientfolder.py:88 msgid "Email" -msgstr "" +msgstr "Email" #: senaite/patient/browser/patientfolder.py:85 msgid "Email Report" -msgstr "" +msgstr "Enviar informe por email" -#: senaite/patient/content/patient.py:376 +#: senaite/patient/content/patient.py:377 msgid "Email address %s is invalid" -msgstr "" +msgstr "La dirección de correo electrónico %s no es válida" #: senaite/patient/skins/templates/senaite_patient_widgets/agedobwidget.pt:164 msgid "Estimated" -msgstr "" +msgstr "Estimada" #: senaite/patient/browser/controlpanel.py:147 msgid "Field Settings" -msgstr "" +msgstr "Configuración de los campos" #: senaite/patient/content/analysisrequest.py:97 msgid "Firstname" -msgstr "" +msgstr "Nombre" #: senaite/patient/browser/patientfolder.py:98 msgid "Folder" -msgstr "" +msgstr "Carpeta" #: senaite/patient/browser/patientfolder.py:82 msgid "Fullname" -msgstr "" +msgstr "Nombre completo" #: senaite/patient/browser/patientfolder.py:93 msgid "Gender" -msgstr "" +msgstr "Género" #: senaite/patient/content/analysisrequest.py:185 msgid "Gender Identity" -msgstr "" +msgstr "Identidad de género" #: senaite/patient/browser/controlpanel.py:247 msgid "Gender identity" -msgstr "" +msgstr "Identidad de género" #: senaite/patient/browser/controlpanel.py:495 msgid "Global settings for patients" -msgstr "" +msgstr "Configuración general de pacientes" #: senaite/patient/browser/controlpanel.py:160 #: senaite/patient/browser/patientfolder.py:80 msgid "Identifiers" -msgstr "" +msgstr "Identificadores" #: senaite/patient/browser/controlpanel.py:260 msgid "If selected, a control for the introduction of either the age or date of birth will be displayed in Sample registration form and view. Otherwise, only the control for the introduction of the date of birth will be displayed" -msgstr "" +msgstr "Seleccione esta casilla si desea que se muestre un campo para la introducción tanto de la edad como de la fecha de nacimiento en las vistas de registro y edición de muestra. Desmarque esta casilla si desea que solo se muestre el campo para la introducción de fecha de nacimiento." #: senaite/patient/browser/controlpanel.py:248 msgid "If selected, a field for the introduction of the patient's gender identity becomes visible in Sample registration form and view. The field for birth sex is always visible regardless of this setting." -msgstr "" +msgstr "Seleccione esta casilla si desea que se muestre un campo para la introducción de la identidad de género del paciente en las vistas de registro y edición de muestra. El campo de sexo siempre es visible independientemente del valor de este parámetro de configuración." #: senaite/patient/browser/controlpanel.py:378 msgid "If selected, patients can be created inside clients." -msgstr "" +msgstr "Marque esta casilla si desea poder crear pacientes dentro de clientes." #: senaite/patient/browser/controlpanel.py:371 msgid "If selected, patients created or referred on sample creation will automatically be shared across users from same client the sample belongs to" -msgstr "" +msgstr "Seleccione esta casilla si desea que al crear o referenciar pacientes en la vista de registro de muestra, el sistema los comparta automáticamente con el resto de usuarios que pertenecen al mismo cliente al que pertenece la muestra." #: senaite/patient/browser/controlpanel.py:220 msgid "If selected, users will be able to publish samples that have a Patient assigned with a temporary Medical Record Number (MRN)." -msgstr "" +msgstr "Seleccione esta casilla si desea permitir la publicación de muestras de pacientes con un número de expediente médico (MRN) temporal." #: senaite/patient/browser/controlpanel.py:211 msgid "If selected, users will be able to verify samples that have a Patient assigned with a temporary Medical Record Number (MRN)." -msgstr "" +msgstr "Seleccione esta casilla si desea que los usuarios puedan verificar muestras de pacientes con un número de expediente médico (MRN) temporal." #: senaite/patient/browser/patientfolder.py:110 #: senaite/patient/profiles/default/workflows/senaite_patient_workflow/definition.xml msgid "Inactive" -msgstr "" +msgstr "Inactivos" #: senaite/patient/browser/controlpanel.py:68 msgid "Key" -msgstr "" +msgstr "Clave" #: senaite/patient/browser/controlpanel.py:420 msgid "Key '%s' is not unique" -msgstr "" +msgstr "La clave '%s' no es única" #: senaite/patient/browser/controlpanel.py:390 msgid "Key contains invalid characters" -msgstr "" +msgstr "La clave contiene caracteres no válidos" #: senaite/patient/browser/controlpanel.py:393 msgid "Key is not unique" -msgstr "" +msgstr "La clave no es única" #: senaite/patient/content/analysisrequest.py:107 msgid "Lastname" -msgstr "" +msgstr "Apellidos" #: senaite/patient/browser/controlpanel.py:305 msgid "List of identifiers that can be selected for a patient." -msgstr "" +msgstr "Lista de identificadores que se pueden seleccionar para pacientes." #: senaite/patient/adapters/listing.py:59 #: senaite/patient/content/analysisrequest.py:92 msgid "MRN" -msgstr "" +msgstr "MRN" #: senaite/patient/browser/controlpanel.py:201 msgid "Make the MRN field mandatory in the sample registration form and when creating or modifying patients." @@ -274,7 +274,7 @@ msgstr "" msgid "Patient ID" msgstr "" -#: senaite/patient/content/patient.py:118 +#: senaite/patient/content/patient.py:119 msgid "Patient Identifiers" msgstr "" @@ -282,7 +282,7 @@ msgstr "" msgid "Patient MRN of sample is not equal to %s" msgstr "" -#: senaite/patient/content/patient.py:109 +#: senaite/patient/content/patient.py:110 msgid "Patient Medical Record Number" msgstr "" @@ -292,15 +292,15 @@ msgstr "" msgid "Patient Settings" msgstr "" -#: senaite/patient/content/patient.py:302 +#: senaite/patient/content/patient.py:303 msgid "Patient birthdate" msgstr "" -#: senaite/patient/content/patient.py:363 +#: senaite/patient/content/patient.py:364 msgid "Patient email is invalid" msgstr "" -#: senaite/patient/content/patient.py:142 +#: senaite/patient/content/patient.py:143 msgid "Patient firstname" msgstr "" @@ -308,19 +308,19 @@ msgstr "" msgid "Patient fullname of sample is not equal to %s" msgstr "" -#: senaite/patient/content/patient.py:168 +#: senaite/patient/content/patient.py:169 msgid "Patient gender identity" msgstr "" -#: senaite/patient/content/patient.py:154 +#: senaite/patient/content/patient.py:155 msgid "Patient lastname" msgstr "" -#: senaite/patient/content/patient.py:176 +#: senaite/patient/content/patient.py:177 msgid "Patient legally defined marital status" msgstr "" -#: senaite/patient/content/patient.py:148 +#: senaite/patient/content/patient.py:149 msgid "Patient middlename" msgstr "" @@ -332,7 +332,7 @@ msgstr "" msgid "Patient name entry mode" msgstr "" -#: senaite/patient/content/patient.py:160 +#: senaite/patient/content/patient.py:161 msgid "Patient sex at birth" msgstr "" @@ -348,7 +348,7 @@ msgstr "" msgid "Place of residence" msgstr "" -#: senaite/patient/content/patient.py:354 +#: senaite/patient/content/patient.py:355 msgid "Please set a valid email address first" msgstr "" @@ -467,64 +467,64 @@ msgid "description_controlpanel_patient_races" msgstr "" #. Default: "Additional email addresses for this patient" -#: senaite/patient/content/patient.py:242 +#: senaite/patient/content/patient.py:243 msgid "description_patient_additional_emails" msgstr "" #. Default: "Email address" -#: senaite/patient/content/schema.py:60 +#: senaite/patient/content/schema.py:78 msgid "description_patient_additional_emails_email" msgstr "" #. Default: "Private, Work, Other etc." -#: senaite/patient/content/schema.py:48 +#: senaite/patient/content/schema.py:66 msgid "description_patient_additional_emails_name" msgstr "" #. Default: "Additional phone numbers for this patient" -#: senaite/patient/content/patient.py:275 +#: senaite/patient/content/patient.py:276 msgid "description_patient_additional_phone_numbers" msgstr "" #. Default: "Private, Work, Other etc." -#: senaite/patient/content/schema.py:75 +#: senaite/patient/content/schema.py:93 msgid "description_patient_additional_phone_numbers_name" msgstr "" #. Default: "Phone Number" -#: senaite/patient/content/schema.py:88 +#: senaite/patient/content/schema.py:106 msgid "description_patient_additional_phone_numbers_phone" msgstr "" #. have more than one" #. Default: "General ethnicity category reported by the patient - subject may have more than one" -#: senaite/patient/content/patient.py:207 +#: senaite/patient/content/patient.py:208 msgid "description_patient_ethnicities" msgstr "" #. Default: "The type of identifier that holds the ID" -#: senaite/patient/content/schema.py:19 +#: senaite/patient/content/schema.py:37 msgid "description_patient_identifiers_key" msgstr "" #. Default: "The identification number of the selected identifier" -#: senaite/patient/content/schema.py:32 +#: senaite/patient/content/schema.py:50 msgid "description_patient_identifiers_value" msgstr "" #. Default: "Primary email address for this patient" -#: senaite/patient/content/patient.py:226 +#: senaite/patient/content/patient.py:227 msgid "description_patient_primary_email" msgstr "" #. Default: "Primary phone number for this patient" -#: senaite/patient/content/patient.py:260 +#: senaite/patient/content/patient.py:261 msgid "description_patient_primary_phone" msgstr "" #. more than one" #. Default: "General race category reported by the patient - subject may have more than one" -#: senaite/patient/content/patient.py:189 +#: senaite/patient/content/patient.py:190 msgid "description_patient_races" msgstr "" @@ -569,12 +569,12 @@ msgid "gender_woman" msgstr "" #. Default: "Patient Medical Record Number is required" -#: senaite/patient/content/patient.py:322 +#: senaite/patient/content/patient.py:323 msgid "invalid_patient_mrn_is_required" msgstr "" #. Default: "Patient Medical Record Number must be unique" -#: senaite/patient/content/patient.py:331 +#: senaite/patient/content/patient.py:332 msgid "invalid_patient_mrn_must_be_unique" msgstr "" @@ -619,122 +619,122 @@ msgid "label_middlename" msgstr "" #. Default: "Additional Email Addresses" -#: senaite/patient/content/patient.py:239 +#: senaite/patient/content/patient.py:240 msgid "label_patient_additional_emails" msgstr "" #. Default: "Email" -#: senaite/patient/content/schema.py:56 +#: senaite/patient/content/schema.py:74 msgid "label_patient_additional_emails_email" msgstr "" #. Default: "Name" -#: senaite/patient/content/schema.py:44 +#: senaite/patient/content/schema.py:62 msgid "label_patient_additional_emails_name" msgstr "" #. Default: "Additional Phone Numbers" -#: senaite/patient/content/patient.py:273 +#: senaite/patient/content/patient.py:274 msgid "label_patient_additional_phone_numbers" msgstr "" #. Default: "Name" -#: senaite/patient/content/schema.py:71 +#: senaite/patient/content/schema.py:89 msgid "label_patient_additional_phone_numbers_name" msgstr "" #. Default: "Phone" -#: senaite/patient/content/schema.py:84 +#: senaite/patient/content/schema.py:102 msgid "label_patient_additional_phone_numbers_phone" msgstr "" #. Default: "Birthdate" -#: senaite/patient/content/patient.py:301 +#: senaite/patient/content/patient.py:302 msgid "label_patient_birthdate" msgstr "" #. Default: "Email results report" -#: senaite/patient/content/patient.py:131 +#: senaite/patient/content/patient.py:132 msgid "label_patient_email_report" msgstr "" #. Default: "Ethnicities" -#: senaite/patient/content/patient.py:206 +#: senaite/patient/content/patient.py:207 msgid "label_patient_ethnicities" msgstr "" #. Default: "Ethnicity" -#: senaite/patient/content/schema.py:113 +#: senaite/patient/content/schema.py:131 msgid "label_patient_ethnicity" msgstr "" #. Default: "Firstname" -#: senaite/patient/content/patient.py:141 +#: senaite/patient/content/patient.py:142 msgid "label_patient_firstname" msgstr "" #. Default: "Gender Identity" -#: senaite/patient/content/patient.py:167 +#: senaite/patient/content/patient.py:168 msgid "label_patient_gender" msgstr "" #. Default: "Type" -#: senaite/patient/content/schema.py:15 +#: senaite/patient/content/schema.py:33 msgid "label_patient_identifiers_key" msgstr "" #. Default: "ID" -#: senaite/patient/content/schema.py:28 +#: senaite/patient/content/schema.py:46 msgid "label_patient_identifiers_value" msgstr "" #. Default: "Lastname" -#: senaite/patient/content/patient.py:153 +#: senaite/patient/content/patient.py:154 msgid "label_patient_lastname" msgstr "" #. Default: "Marital Status" -#: senaite/patient/content/patient.py:175 +#: senaite/patient/content/patient.py:176 msgid "label_patient_marital_status" msgstr "" #. Default: "Middlename" -#: senaite/patient/content/patient.py:147 +#: senaite/patient/content/patient.py:148 msgid "label_patient_middlename" msgstr "" #. Default: "Medical Record #" -#: senaite/patient/content/patient.py:108 +#: senaite/patient/content/patient.py:109 msgid "label_patient_mrn" msgstr "" #. Default: "Primary Phone Number" -#: senaite/patient/content/patient.py:257 +#: senaite/patient/content/patient.py:258 msgid "label_patient_primary_phone" msgstr "" #. Default: "Race" -#: senaite/patient/content/schema.py:100 +#: senaite/patient/content/schema.py:118 msgid "label_patient_race" msgstr "" #. Default: "Races" -#: senaite/patient/content/patient.py:188 +#: senaite/patient/content/patient.py:189 msgid "label_patient_races" msgstr "" #. Default: "Sex" -#: senaite/patient/content/patient.py:159 +#: senaite/patient/content/patient.py:160 msgid "label_patient_sex" msgstr "" #. Default: "Primary Email Address" -#: senaite/patient/content/patient.py:222 +#: senaite/patient/content/patient.py:223 msgid "label_primary_patient_email" msgstr "" #. Default: "Personal" -#: senaite/patient/browser/patient/views.py:33 +#: senaite/patient/browser/patient/views.py:51 msgid "label_schema_personal" msgstr "" @@ -858,6 +858,6 @@ msgid "sex_not_specified" msgstr "" #. Default: "Samples of ${patient_fullname}" -#: senaite/patient/browser/patient/samples.py:18 +#: senaite/patient/browser/patient/samples.py:36 msgid "title_patient_samples_listing" msgstr "" diff --git a/src/senaite/patient/locales/senaite.patient.pot b/src/senaite/patient/locales/senaite.patient.pot index 94c92f79..3e0617d0 100644 --- a/src/senaite/patient/locales/senaite.patient.pot +++ b/src/senaite/patient/locales/senaite.patient.pot @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2023-12-03 18:40+0000\n" +"POT-Creation-Date: 2024-01-10 20:25+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -32,11 +32,11 @@ msgstr "" msgid "Add" msgstr "" -#: senaite/patient/content/patient.py:134 +#: senaite/patient/content/patient.py:135 msgid "Add the patient email as CC recipient to new samples" msgstr "" -#: senaite/patient/content/patient.py:288 +#: senaite/patient/content/patient.py:289 msgid "Address" msgstr "" @@ -104,7 +104,7 @@ msgstr "" msgid "Deactivate" msgstr "" -#: senaite/patient/content/patient.py:119 +#: senaite/patient/content/patient.py:120 msgid "Define one or more identifers for this patient" msgstr "" @@ -124,7 +124,7 @@ msgstr "" msgid "Email Report" msgstr "" -#: senaite/patient/content/patient.py:376 +#: senaite/patient/content/patient.py:377 msgid "Email address %s is invalid" msgstr "" @@ -269,7 +269,7 @@ msgstr "" msgid "Patient ID" msgstr "" -#: senaite/patient/content/patient.py:118 +#: senaite/patient/content/patient.py:119 msgid "Patient Identifiers" msgstr "" @@ -277,7 +277,7 @@ msgstr "" msgid "Patient MRN of sample is not equal to %s" msgstr "" -#: senaite/patient/content/patient.py:109 +#: senaite/patient/content/patient.py:110 msgid "Patient Medical Record Number" msgstr "" @@ -287,15 +287,15 @@ msgstr "" msgid "Patient Settings" msgstr "" -#: senaite/patient/content/patient.py:302 +#: senaite/patient/content/patient.py:303 msgid "Patient birthdate" msgstr "" -#: senaite/patient/content/patient.py:363 +#: senaite/patient/content/patient.py:364 msgid "Patient email is invalid" msgstr "" -#: senaite/patient/content/patient.py:142 +#: senaite/patient/content/patient.py:143 msgid "Patient firstname" msgstr "" @@ -303,19 +303,19 @@ msgstr "" msgid "Patient fullname of sample is not equal to %s" msgstr "" -#: senaite/patient/content/patient.py:168 +#: senaite/patient/content/patient.py:169 msgid "Patient gender identity" msgstr "" -#: senaite/patient/content/patient.py:154 +#: senaite/patient/content/patient.py:155 msgid "Patient lastname" msgstr "" -#: senaite/patient/content/patient.py:176 +#: senaite/patient/content/patient.py:177 msgid "Patient legally defined marital status" msgstr "" -#: senaite/patient/content/patient.py:148 +#: senaite/patient/content/patient.py:149 msgid "Patient middlename" msgstr "" @@ -327,7 +327,7 @@ msgstr "" msgid "Patient name entry mode" msgstr "" -#: senaite/patient/content/patient.py:160 +#: senaite/patient/content/patient.py:161 msgid "Patient sex at birth" msgstr "" @@ -343,7 +343,7 @@ msgstr "" msgid "Place of residence" msgstr "" -#: senaite/patient/content/patient.py:354 +#: senaite/patient/content/patient.py:355 msgid "Please set a valid email address first" msgstr "" @@ -458,62 +458,62 @@ msgid "description_controlpanel_patient_races" msgstr "" #. Default: "Additional email addresses for this patient" -#: senaite/patient/content/patient.py:242 +#: senaite/patient/content/patient.py:243 msgid "description_patient_additional_emails" msgstr "" #. Default: "Email address" -#: senaite/patient/content/schema.py:60 +#: senaite/patient/content/schema.py:78 msgid "description_patient_additional_emails_email" msgstr "" #. Default: "Private, Work, Other etc." -#: senaite/patient/content/schema.py:48 +#: senaite/patient/content/schema.py:66 msgid "description_patient_additional_emails_name" msgstr "" #. Default: "Additional phone numbers for this patient" -#: senaite/patient/content/patient.py:275 +#: senaite/patient/content/patient.py:276 msgid "description_patient_additional_phone_numbers" msgstr "" #. Default: "Private, Work, Other etc." -#: senaite/patient/content/schema.py:75 +#: senaite/patient/content/schema.py:93 msgid "description_patient_additional_phone_numbers_name" msgstr "" #. Default: "Phone Number" -#: senaite/patient/content/schema.py:88 +#: senaite/patient/content/schema.py:106 msgid "description_patient_additional_phone_numbers_phone" msgstr "" #. Default: "General ethnicity category reported by the patient - subject may have more than one" -#: senaite/patient/content/patient.py:207 +#: senaite/patient/content/patient.py:208 msgid "description_patient_ethnicities" msgstr "" #. Default: "The type of identifier that holds the ID" -#: senaite/patient/content/schema.py:19 +#: senaite/patient/content/schema.py:37 msgid "description_patient_identifiers_key" msgstr "" #. Default: "The identification number of the selected identifier" -#: senaite/patient/content/schema.py:32 +#: senaite/patient/content/schema.py:50 msgid "description_patient_identifiers_value" msgstr "" #. Default: "Primary email address for this patient" -#: senaite/patient/content/patient.py:226 +#: senaite/patient/content/patient.py:227 msgid "description_patient_primary_email" msgstr "" #. Default: "Primary phone number for this patient" -#: senaite/patient/content/patient.py:260 +#: senaite/patient/content/patient.py:261 msgid "description_patient_primary_phone" msgstr "" #. Default: "General race category reported by the patient - subject may have more than one" -#: senaite/patient/content/patient.py:189 +#: senaite/patient/content/patient.py:190 msgid "description_patient_races" msgstr "" @@ -558,12 +558,12 @@ msgid "gender_woman" msgstr "" #. Default: "Patient Medical Record Number is required" -#: senaite/patient/content/patient.py:322 +#: senaite/patient/content/patient.py:323 msgid "invalid_patient_mrn_is_required" msgstr "" #. Default: "Patient Medical Record Number must be unique" -#: senaite/patient/content/patient.py:331 +#: senaite/patient/content/patient.py:332 msgid "invalid_patient_mrn_must_be_unique" msgstr "" @@ -608,122 +608,122 @@ msgid "label_middlename" msgstr "" #. Default: "Additional Email Addresses" -#: senaite/patient/content/patient.py:239 +#: senaite/patient/content/patient.py:240 msgid "label_patient_additional_emails" msgstr "" #. Default: "Email" -#: senaite/patient/content/schema.py:56 +#: senaite/patient/content/schema.py:74 msgid "label_patient_additional_emails_email" msgstr "" #. Default: "Name" -#: senaite/patient/content/schema.py:44 +#: senaite/patient/content/schema.py:62 msgid "label_patient_additional_emails_name" msgstr "" #. Default: "Additional Phone Numbers" -#: senaite/patient/content/patient.py:273 +#: senaite/patient/content/patient.py:274 msgid "label_patient_additional_phone_numbers" msgstr "" #. Default: "Name" -#: senaite/patient/content/schema.py:71 +#: senaite/patient/content/schema.py:89 msgid "label_patient_additional_phone_numbers_name" msgstr "" #. Default: "Phone" -#: senaite/patient/content/schema.py:84 +#: senaite/patient/content/schema.py:102 msgid "label_patient_additional_phone_numbers_phone" msgstr "" #. Default: "Birthdate" -#: senaite/patient/content/patient.py:301 +#: senaite/patient/content/patient.py:302 msgid "label_patient_birthdate" msgstr "" #. Default: "Email results report" -#: senaite/patient/content/patient.py:131 +#: senaite/patient/content/patient.py:132 msgid "label_patient_email_report" msgstr "" #. Default: "Ethnicities" -#: senaite/patient/content/patient.py:206 +#: senaite/patient/content/patient.py:207 msgid "label_patient_ethnicities" msgstr "" #. Default: "Ethnicity" -#: senaite/patient/content/schema.py:113 +#: senaite/patient/content/schema.py:131 msgid "label_patient_ethnicity" msgstr "" #. Default: "Firstname" -#: senaite/patient/content/patient.py:141 +#: senaite/patient/content/patient.py:142 msgid "label_patient_firstname" msgstr "" #. Default: "Gender Identity" -#: senaite/patient/content/patient.py:167 +#: senaite/patient/content/patient.py:168 msgid "label_patient_gender" msgstr "" #. Default: "Type" -#: senaite/patient/content/schema.py:15 +#: senaite/patient/content/schema.py:33 msgid "label_patient_identifiers_key" msgstr "" #. Default: "ID" -#: senaite/patient/content/schema.py:28 +#: senaite/patient/content/schema.py:46 msgid "label_patient_identifiers_value" msgstr "" #. Default: "Lastname" -#: senaite/patient/content/patient.py:153 +#: senaite/patient/content/patient.py:154 msgid "label_patient_lastname" msgstr "" #. Default: "Marital Status" -#: senaite/patient/content/patient.py:175 +#: senaite/patient/content/patient.py:176 msgid "label_patient_marital_status" msgstr "" #. Default: "Middlename" -#: senaite/patient/content/patient.py:147 +#: senaite/patient/content/patient.py:148 msgid "label_patient_middlename" msgstr "" #. Default: "Medical Record #" -#: senaite/patient/content/patient.py:108 +#: senaite/patient/content/patient.py:109 msgid "label_patient_mrn" msgstr "" #. Default: "Primary Phone Number" -#: senaite/patient/content/patient.py:257 +#: senaite/patient/content/patient.py:258 msgid "label_patient_primary_phone" msgstr "" #. Default: "Race" -#: senaite/patient/content/schema.py:100 +#: senaite/patient/content/schema.py:118 msgid "label_patient_race" msgstr "" #. Default: "Races" -#: senaite/patient/content/patient.py:188 +#: senaite/patient/content/patient.py:189 msgid "label_patient_races" msgstr "" #. Default: "Sex" -#: senaite/patient/content/patient.py:159 +#: senaite/patient/content/patient.py:160 msgid "label_patient_sex" msgstr "" #. Default: "Primary Email Address" -#: senaite/patient/content/patient.py:222 +#: senaite/patient/content/patient.py:223 msgid "label_primary_patient_email" msgstr "" #. Default: "Personal" -#: senaite/patient/browser/patient/views.py:33 +#: senaite/patient/browser/patient/views.py:51 msgid "label_schema_personal" msgstr "" @@ -847,6 +847,6 @@ msgid "sex_not_specified" msgstr "" #. Default: "Samples of ${patient_fullname}" -#: senaite/patient/browser/patient/samples.py:18 +#: senaite/patient/browser/patient/samples.py:36 msgid "title_patient_samples_listing" msgstr "" diff --git a/src/senaite/patient/locales/zh/LC_MESSAGES/senaite.patient.po b/src/senaite/patient/locales/zh/LC_MESSAGES/senaite.patient.po index f0ab85fe..a5e523b5 100644 --- a/src/senaite/patient/locales/zh/LC_MESSAGES/senaite.patient.po +++ b/src/senaite/patient/locales/zh/LC_MESSAGES/senaite.patient.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2023-12-03 18:40+0000\n" +"POT-Creation-Date: 2024-01-10 20:25+0000\n" "PO-Revision-Date: 2022-10-03 11:08+0000\n" "Last-Translator: erikking, 2023\n" "Language-Team: Chinese (https://app.transifex.com/senaite/teams/130029/zh/)\n" @@ -37,11 +37,11 @@ msgstr "正在进行" msgid "Add" msgstr "添加" -#: senaite/patient/content/patient.py:134 +#: senaite/patient/content/patient.py:135 msgid "Add the patient email as CC recipient to new samples" msgstr "在新样本中添加受检人Email抄送" -#: senaite/patient/content/patient.py:288 +#: senaite/patient/content/patient.py:289 msgid "Address" msgstr "地址" @@ -109,7 +109,7 @@ msgstr "天" msgid "Deactivate" msgstr "停用" -#: senaite/patient/content/patient.py:119 +#: senaite/patient/content/patient.py:120 msgid "Define one or more identifers for this patient" msgstr "定义一个或多个受检人ID" @@ -129,7 +129,7 @@ msgstr "邮箱" msgid "Email Report" msgstr "发送报告" -#: senaite/patient/content/patient.py:376 +#: senaite/patient/content/patient.py:377 msgid "Email address %s is invalid" msgstr "邮箱地址 %s 格式不正确" @@ -274,7 +274,7 @@ msgstr "受检人" msgid "Patient ID" msgstr "客户受检人编号" -#: senaite/patient/content/patient.py:118 +#: senaite/patient/content/patient.py:119 msgid "Patient Identifiers" msgstr "证件号码" @@ -282,7 +282,7 @@ msgstr "证件号码" msgid "Patient MRN of sample is not equal to %s" msgstr "样本对应受检人MRN不等于%s" -#: senaite/patient/content/patient.py:109 +#: senaite/patient/content/patient.py:110 msgid "Patient Medical Record Number" msgstr "受检人编号" @@ -292,15 +292,15 @@ msgstr "受检人编号" msgid "Patient Settings" msgstr "受检人设置" -#: senaite/patient/content/patient.py:302 +#: senaite/patient/content/patient.py:303 msgid "Patient birthdate" msgstr "受检人出生日期" -#: senaite/patient/content/patient.py:363 +#: senaite/patient/content/patient.py:364 msgid "Patient email is invalid" msgstr "受检人邮箱格式错误" -#: senaite/patient/content/patient.py:142 +#: senaite/patient/content/patient.py:143 msgid "Patient firstname" msgstr "受检人名" @@ -308,19 +308,19 @@ msgstr "受检人名" msgid "Patient fullname of sample is not equal to %s" msgstr "样本对应受检人全名不等于%s" -#: senaite/patient/content/patient.py:168 +#: senaite/patient/content/patient.py:169 msgid "Patient gender identity" msgstr "认知性别" -#: senaite/patient/content/patient.py:154 +#: senaite/patient/content/patient.py:155 msgid "Patient lastname" msgstr "受检人姓" -#: senaite/patient/content/patient.py:176 +#: senaite/patient/content/patient.py:177 msgid "Patient legally defined marital status" msgstr "受检人法定婚姻状况" -#: senaite/patient/content/patient.py:148 +#: senaite/patient/content/patient.py:149 msgid "Patient middlename" msgstr "受检人中名" @@ -332,7 +332,7 @@ msgstr "受检人姓名" msgid "Patient name entry mode" msgstr "受检人姓名输入方式" -#: senaite/patient/content/patient.py:160 +#: senaite/patient/content/patient.py:161 msgid "Patient sex at birth" msgstr "受检人性别" @@ -348,7 +348,7 @@ msgstr "受检人" msgid "Place of residence" msgstr "国籍" -#: senaite/patient/content/patient.py:354 +#: senaite/patient/content/patient.py:355 msgid "Please set a valid email address first" msgstr "请先设置一个有效的电子邮件地址" @@ -469,65 +469,65 @@ msgid "description_controlpanel_patient_races" msgstr "人种" #. Default: "Additional email addresses for this patient" -#: senaite/patient/content/patient.py:242 +#: senaite/patient/content/patient.py:243 msgid "description_patient_additional_emails" msgstr "附加电子邮箱" #. Default: "Email address" -#: senaite/patient/content/schema.py:60 +#: senaite/patient/content/schema.py:78 msgid "description_patient_additional_emails_email" msgstr "附加电子邮箱地址" #. Default: "Private, Work, Other etc." -#: senaite/patient/content/schema.py:48 +#: senaite/patient/content/schema.py:66 msgid "description_patient_additional_emails_name" msgstr "附加电子邮箱名称" #. Default: "Additional phone numbers for this patient" -#: senaite/patient/content/patient.py:275 +#: senaite/patient/content/patient.py:276 msgid "description_patient_additional_phone_numbers" msgstr "附加电话" #. Default: "Private, Work, Other etc." -#: senaite/patient/content/schema.py:75 +#: senaite/patient/content/schema.py:93 msgid "description_patient_additional_phone_numbers_name" msgstr "附加电话名称" #. Default: "Phone Number" -#: senaite/patient/content/schema.py:88 +#: senaite/patient/content/schema.py:106 msgid "description_patient_additional_phone_numbers_phone" msgstr "附加电话号码" #. have more than one" #. Default: "General ethnicity category reported by the patient - subject may have more than one" -#: senaite/patient/content/patient.py:207 +#: senaite/patient/content/patient.py:208 #, fuzzy msgid "description_patient_ethnicities" msgstr "民族" #. Default: "The type of identifier that holds the ID" -#: senaite/patient/content/schema.py:19 +#: senaite/patient/content/schema.py:37 msgid "description_patient_identifiers_key" msgstr "标识键" #. Default: "The identification number of the selected identifier" -#: senaite/patient/content/schema.py:32 +#: senaite/patient/content/schema.py:50 msgid "description_patient_identifiers_value" msgstr "标识值" #. Default: "Primary email address for this patient" -#: senaite/patient/content/patient.py:226 +#: senaite/patient/content/patient.py:227 msgid "description_patient_primary_email" msgstr "受检人主邮箱地址" #. Default: "Primary phone number for this patient" -#: senaite/patient/content/patient.py:260 +#: senaite/patient/content/patient.py:261 msgid "description_patient_primary_phone" msgstr "主电话" #. more than one" #. Default: "General race category reported by the patient - subject may have more than one" -#: senaite/patient/content/patient.py:189 +#: senaite/patient/content/patient.py:190 #, fuzzy msgid "description_patient_races" msgstr "人种" @@ -573,12 +573,12 @@ msgid "gender_woman" msgstr "" #. Default: "Patient Medical Record Number is required" -#: senaite/patient/content/patient.py:322 +#: senaite/patient/content/patient.py:323 msgid "invalid_patient_mrn_is_required" msgstr "受检人编号必填" #. Default: "Patient Medical Record Number must be unique" -#: senaite/patient/content/patient.py:331 +#: senaite/patient/content/patient.py:332 msgid "invalid_patient_mrn_must_be_unique" msgstr "受检人编号必须唯一" @@ -623,122 +623,122 @@ msgid "label_middlename" msgstr "中间名" #. Default: "Additional Email Addresses" -#: senaite/patient/content/patient.py:239 +#: senaite/patient/content/patient.py:240 msgid "label_patient_additional_emails" msgstr "附加电子邮箱" #. Default: "Email" -#: senaite/patient/content/schema.py:56 +#: senaite/patient/content/schema.py:74 msgid "label_patient_additional_emails_email" msgstr "附加电子邮箱地址" #. Default: "Name" -#: senaite/patient/content/schema.py:44 +#: senaite/patient/content/schema.py:62 msgid "label_patient_additional_emails_name" msgstr "附加电子邮箱名称" #. Default: "Additional Phone Numbers" -#: senaite/patient/content/patient.py:273 +#: senaite/patient/content/patient.py:274 msgid "label_patient_additional_phone_numbers" msgstr "附加电话号码" #. Default: "Name" -#: senaite/patient/content/schema.py:71 +#: senaite/patient/content/schema.py:89 msgid "label_patient_additional_phone_numbers_name" msgstr "附加电话名字" #. Default: "Phone" -#: senaite/patient/content/schema.py:84 +#: senaite/patient/content/schema.py:102 msgid "label_patient_additional_phone_numbers_phone" msgstr "附加电话号码" #. Default: "Birthdate" -#: senaite/patient/content/patient.py:301 +#: senaite/patient/content/patient.py:302 msgid "label_patient_birthdate" msgstr "出生日期" #. Default: "Email results report" -#: senaite/patient/content/patient.py:131 +#: senaite/patient/content/patient.py:132 msgid "label_patient_email_report" msgstr "发送报告电子邮件" #. Default: "Ethnicities" -#: senaite/patient/content/patient.py:206 +#: senaite/patient/content/patient.py:207 msgid "label_patient_ethnicities" msgstr "名族" #. Default: "Ethnicity" -#: senaite/patient/content/schema.py:113 +#: senaite/patient/content/schema.py:131 msgid "label_patient_ethnicity" msgstr "名族" #. Default: "Firstname" -#: senaite/patient/content/patient.py:141 +#: senaite/patient/content/patient.py:142 msgid "label_patient_firstname" msgstr "名" #. Default: "Gender Identity" -#: senaite/patient/content/patient.py:167 +#: senaite/patient/content/patient.py:168 msgid "label_patient_gender" msgstr "认知性别" #. Default: "Type" -#: senaite/patient/content/schema.py:15 +#: senaite/patient/content/schema.py:33 msgid "label_patient_identifiers_key" msgstr "标识键" #. Default: "ID" -#: senaite/patient/content/schema.py:28 +#: senaite/patient/content/schema.py:46 msgid "label_patient_identifiers_value" msgstr "标识值" #. Default: "Lastname" -#: senaite/patient/content/patient.py:153 +#: senaite/patient/content/patient.py:154 msgid "label_patient_lastname" msgstr "姓" #. Default: "Marital Status" -#: senaite/patient/content/patient.py:175 +#: senaite/patient/content/patient.py:176 msgid "label_patient_marital_status" msgstr "婚姻状态" #. Default: "Middlename" -#: senaite/patient/content/patient.py:147 +#: senaite/patient/content/patient.py:148 msgid "label_patient_middlename" msgstr "中间名" #. Default: "Medical Record #" -#: senaite/patient/content/patient.py:108 +#: senaite/patient/content/patient.py:109 msgid "label_patient_mrn" msgstr "受检人编号" #. Default: "Primary Phone Number" -#: senaite/patient/content/patient.py:257 +#: senaite/patient/content/patient.py:258 msgid "label_patient_primary_phone" msgstr "主电话" #. Default: "Race" -#: senaite/patient/content/schema.py:100 +#: senaite/patient/content/schema.py:118 msgid "label_patient_race" msgstr "人种" #. Default: "Races" -#: senaite/patient/content/patient.py:188 +#: senaite/patient/content/patient.py:189 msgid "label_patient_races" msgstr "人种" #. Default: "Sex" -#: senaite/patient/content/patient.py:159 +#: senaite/patient/content/patient.py:160 msgid "label_patient_sex" msgstr "出生性别" #. Default: "Primary Email Address" -#: senaite/patient/content/patient.py:222 +#: senaite/patient/content/patient.py:223 msgid "label_primary_patient_email" msgstr "主电子邮箱" #. Default: "Personal" -#: senaite/patient/browser/patient/views.py:33 +#: senaite/patient/browser/patient/views.py:51 msgid "label_schema_personal" msgstr "" @@ -862,6 +862,6 @@ msgid "sex_not_specified" msgstr "" #. Default: "Samples of ${patient_fullname}" -#: senaite/patient/browser/patient/samples.py:18 +#: senaite/patient/browser/patient/samples.py:36 msgid "title_patient_samples_listing" msgstr "" diff --git a/src/senaite/patient/locales/zh_CN/LC_MESSAGES/senaite.patient.po b/src/senaite/patient/locales/zh_CN/LC_MESSAGES/senaite.patient.po index 6844770d..7630c095 100644 --- a/src/senaite/patient/locales/zh_CN/LC_MESSAGES/senaite.patient.po +++ b/src/senaite/patient/locales/zh_CN/LC_MESSAGES/senaite.patient.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2023-12-03 18:40+0000\n" +"POT-Creation-Date: 2024-01-10 20:25+0000\n" "PO-Revision-Date: 2022-10-03 11:08+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Chinese (China) (https://app.transifex.com/senaite/teams/130029/zh_CN/)\n" @@ -34,11 +34,11 @@ msgstr "" msgid "Add" msgstr "" -#: senaite/patient/content/patient.py:134 +#: senaite/patient/content/patient.py:135 msgid "Add the patient email as CC recipient to new samples" msgstr "" -#: senaite/patient/content/patient.py:288 +#: senaite/patient/content/patient.py:289 msgid "Address" msgstr "" @@ -106,7 +106,7 @@ msgstr "" msgid "Deactivate" msgstr "" -#: senaite/patient/content/patient.py:119 +#: senaite/patient/content/patient.py:120 msgid "Define one or more identifers for this patient" msgstr "" @@ -126,7 +126,7 @@ msgstr "" msgid "Email Report" msgstr "" -#: senaite/patient/content/patient.py:376 +#: senaite/patient/content/patient.py:377 msgid "Email address %s is invalid" msgstr "" @@ -271,7 +271,7 @@ msgstr "" msgid "Patient ID" msgstr "" -#: senaite/patient/content/patient.py:118 +#: senaite/patient/content/patient.py:119 msgid "Patient Identifiers" msgstr "" @@ -279,7 +279,7 @@ msgstr "" msgid "Patient MRN of sample is not equal to %s" msgstr "" -#: senaite/patient/content/patient.py:109 +#: senaite/patient/content/patient.py:110 msgid "Patient Medical Record Number" msgstr "" @@ -289,15 +289,15 @@ msgstr "" msgid "Patient Settings" msgstr "" -#: senaite/patient/content/patient.py:302 +#: senaite/patient/content/patient.py:303 msgid "Patient birthdate" msgstr "" -#: senaite/patient/content/patient.py:363 +#: senaite/patient/content/patient.py:364 msgid "Patient email is invalid" msgstr "" -#: senaite/patient/content/patient.py:142 +#: senaite/patient/content/patient.py:143 msgid "Patient firstname" msgstr "" @@ -305,19 +305,19 @@ msgstr "" msgid "Patient fullname of sample is not equal to %s" msgstr "" -#: senaite/patient/content/patient.py:168 +#: senaite/patient/content/patient.py:169 msgid "Patient gender identity" msgstr "" -#: senaite/patient/content/patient.py:154 +#: senaite/patient/content/patient.py:155 msgid "Patient lastname" msgstr "" -#: senaite/patient/content/patient.py:176 +#: senaite/patient/content/patient.py:177 msgid "Patient legally defined marital status" msgstr "" -#: senaite/patient/content/patient.py:148 +#: senaite/patient/content/patient.py:149 msgid "Patient middlename" msgstr "" @@ -329,7 +329,7 @@ msgstr "" msgid "Patient name entry mode" msgstr "" -#: senaite/patient/content/patient.py:160 +#: senaite/patient/content/patient.py:161 msgid "Patient sex at birth" msgstr "" @@ -345,7 +345,7 @@ msgstr "" msgid "Place of residence" msgstr "" -#: senaite/patient/content/patient.py:354 +#: senaite/patient/content/patient.py:355 msgid "Please set a valid email address first" msgstr "" @@ -464,64 +464,64 @@ msgid "description_controlpanel_patient_races" msgstr "" #. Default: "Additional email addresses for this patient" -#: senaite/patient/content/patient.py:242 +#: senaite/patient/content/patient.py:243 msgid "description_patient_additional_emails" msgstr "" #. Default: "Email address" -#: senaite/patient/content/schema.py:60 +#: senaite/patient/content/schema.py:78 msgid "description_patient_additional_emails_email" msgstr "" #. Default: "Private, Work, Other etc." -#: senaite/patient/content/schema.py:48 +#: senaite/patient/content/schema.py:66 msgid "description_patient_additional_emails_name" msgstr "" #. Default: "Additional phone numbers for this patient" -#: senaite/patient/content/patient.py:275 +#: senaite/patient/content/patient.py:276 msgid "description_patient_additional_phone_numbers" msgstr "" #. Default: "Private, Work, Other etc." -#: senaite/patient/content/schema.py:75 +#: senaite/patient/content/schema.py:93 msgid "description_patient_additional_phone_numbers_name" msgstr "" #. Default: "Phone Number" -#: senaite/patient/content/schema.py:88 +#: senaite/patient/content/schema.py:106 msgid "description_patient_additional_phone_numbers_phone" msgstr "" #. have more than one" #. Default: "General ethnicity category reported by the patient - subject may have more than one" -#: senaite/patient/content/patient.py:207 +#: senaite/patient/content/patient.py:208 msgid "description_patient_ethnicities" msgstr "" #. Default: "The type of identifier that holds the ID" -#: senaite/patient/content/schema.py:19 +#: senaite/patient/content/schema.py:37 msgid "description_patient_identifiers_key" msgstr "" #. Default: "The identification number of the selected identifier" -#: senaite/patient/content/schema.py:32 +#: senaite/patient/content/schema.py:50 msgid "description_patient_identifiers_value" msgstr "" #. Default: "Primary email address for this patient" -#: senaite/patient/content/patient.py:226 +#: senaite/patient/content/patient.py:227 msgid "description_patient_primary_email" msgstr "" #. Default: "Primary phone number for this patient" -#: senaite/patient/content/patient.py:260 +#: senaite/patient/content/patient.py:261 msgid "description_patient_primary_phone" msgstr "" #. more than one" #. Default: "General race category reported by the patient - subject may have more than one" -#: senaite/patient/content/patient.py:189 +#: senaite/patient/content/patient.py:190 msgid "description_patient_races" msgstr "" @@ -566,12 +566,12 @@ msgid "gender_woman" msgstr "" #. Default: "Patient Medical Record Number is required" -#: senaite/patient/content/patient.py:322 +#: senaite/patient/content/patient.py:323 msgid "invalid_patient_mrn_is_required" msgstr "" #. Default: "Patient Medical Record Number must be unique" -#: senaite/patient/content/patient.py:331 +#: senaite/patient/content/patient.py:332 msgid "invalid_patient_mrn_must_be_unique" msgstr "" @@ -616,122 +616,122 @@ msgid "label_middlename" msgstr "" #. Default: "Additional Email Addresses" -#: senaite/patient/content/patient.py:239 +#: senaite/patient/content/patient.py:240 msgid "label_patient_additional_emails" msgstr "" #. Default: "Email" -#: senaite/patient/content/schema.py:56 +#: senaite/patient/content/schema.py:74 msgid "label_patient_additional_emails_email" msgstr "" #. Default: "Name" -#: senaite/patient/content/schema.py:44 +#: senaite/patient/content/schema.py:62 msgid "label_patient_additional_emails_name" msgstr "" #. Default: "Additional Phone Numbers" -#: senaite/patient/content/patient.py:273 +#: senaite/patient/content/patient.py:274 msgid "label_patient_additional_phone_numbers" msgstr "" #. Default: "Name" -#: senaite/patient/content/schema.py:71 +#: senaite/patient/content/schema.py:89 msgid "label_patient_additional_phone_numbers_name" msgstr "" #. Default: "Phone" -#: senaite/patient/content/schema.py:84 +#: senaite/patient/content/schema.py:102 msgid "label_patient_additional_phone_numbers_phone" msgstr "" #. Default: "Birthdate" -#: senaite/patient/content/patient.py:301 +#: senaite/patient/content/patient.py:302 msgid "label_patient_birthdate" msgstr "" #. Default: "Email results report" -#: senaite/patient/content/patient.py:131 +#: senaite/patient/content/patient.py:132 msgid "label_patient_email_report" msgstr "" #. Default: "Ethnicities" -#: senaite/patient/content/patient.py:206 +#: senaite/patient/content/patient.py:207 msgid "label_patient_ethnicities" msgstr "" #. Default: "Ethnicity" -#: senaite/patient/content/schema.py:113 +#: senaite/patient/content/schema.py:131 msgid "label_patient_ethnicity" msgstr "" #. Default: "Firstname" -#: senaite/patient/content/patient.py:141 +#: senaite/patient/content/patient.py:142 msgid "label_patient_firstname" msgstr "" #. Default: "Gender Identity" -#: senaite/patient/content/patient.py:167 +#: senaite/patient/content/patient.py:168 msgid "label_patient_gender" msgstr "" #. Default: "Type" -#: senaite/patient/content/schema.py:15 +#: senaite/patient/content/schema.py:33 msgid "label_patient_identifiers_key" msgstr "" #. Default: "ID" -#: senaite/patient/content/schema.py:28 +#: senaite/patient/content/schema.py:46 msgid "label_patient_identifiers_value" msgstr "" #. Default: "Lastname" -#: senaite/patient/content/patient.py:153 +#: senaite/patient/content/patient.py:154 msgid "label_patient_lastname" msgstr "" #. Default: "Marital Status" -#: senaite/patient/content/patient.py:175 +#: senaite/patient/content/patient.py:176 msgid "label_patient_marital_status" msgstr "" #. Default: "Middlename" -#: senaite/patient/content/patient.py:147 +#: senaite/patient/content/patient.py:148 msgid "label_patient_middlename" msgstr "" #. Default: "Medical Record #" -#: senaite/patient/content/patient.py:108 +#: senaite/patient/content/patient.py:109 msgid "label_patient_mrn" msgstr "" #. Default: "Primary Phone Number" -#: senaite/patient/content/patient.py:257 +#: senaite/patient/content/patient.py:258 msgid "label_patient_primary_phone" msgstr "" #. Default: "Race" -#: senaite/patient/content/schema.py:100 +#: senaite/patient/content/schema.py:118 msgid "label_patient_race" msgstr "" #. Default: "Races" -#: senaite/patient/content/patient.py:188 +#: senaite/patient/content/patient.py:189 msgid "label_patient_races" msgstr "" #. Default: "Sex" -#: senaite/patient/content/patient.py:159 +#: senaite/patient/content/patient.py:160 msgid "label_patient_sex" msgstr "" #. Default: "Primary Email Address" -#: senaite/patient/content/patient.py:222 +#: senaite/patient/content/patient.py:223 msgid "label_primary_patient_email" msgstr "" #. Default: "Personal" -#: senaite/patient/browser/patient/views.py:33 +#: senaite/patient/browser/patient/views.py:51 msgid "label_schema_personal" msgstr "" @@ -855,6 +855,6 @@ msgid "sex_not_specified" msgstr "" #. Default: "Samples of ${patient_fullname}" -#: senaite/patient/browser/patient/samples.py:18 +#: senaite/patient/browser/patient/samples.py:36 msgid "title_patient_samples_listing" msgstr "" diff --git a/src/senaite/patient/locales/zh_TW/LC_MESSAGES/senaite.patient.po b/src/senaite/patient/locales/zh_TW/LC_MESSAGES/senaite.patient.po index 3fd265ad..b8f7efae 100644 --- a/src/senaite/patient/locales/zh_TW/LC_MESSAGES/senaite.patient.po +++ b/src/senaite/patient/locales/zh_TW/LC_MESSAGES/senaite.patient.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2023-12-03 18:40+0000\n" +"POT-Creation-Date: 2024-01-10 20:25+0000\n" "PO-Revision-Date: 2022-10-03 11:08+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Chinese (Taiwan) (https://app.transifex.com/senaite/teams/130029/zh_TW/)\n" @@ -34,11 +34,11 @@ msgstr "" msgid "Add" msgstr "" -#: senaite/patient/content/patient.py:134 +#: senaite/patient/content/patient.py:135 msgid "Add the patient email as CC recipient to new samples" msgstr "" -#: senaite/patient/content/patient.py:288 +#: senaite/patient/content/patient.py:289 msgid "Address" msgstr "" @@ -106,7 +106,7 @@ msgstr "" msgid "Deactivate" msgstr "" -#: senaite/patient/content/patient.py:119 +#: senaite/patient/content/patient.py:120 msgid "Define one or more identifers for this patient" msgstr "" @@ -126,7 +126,7 @@ msgstr "" msgid "Email Report" msgstr "" -#: senaite/patient/content/patient.py:376 +#: senaite/patient/content/patient.py:377 msgid "Email address %s is invalid" msgstr "" @@ -271,7 +271,7 @@ msgstr "" msgid "Patient ID" msgstr "" -#: senaite/patient/content/patient.py:118 +#: senaite/patient/content/patient.py:119 msgid "Patient Identifiers" msgstr "" @@ -279,7 +279,7 @@ msgstr "" msgid "Patient MRN of sample is not equal to %s" msgstr "" -#: senaite/patient/content/patient.py:109 +#: senaite/patient/content/patient.py:110 msgid "Patient Medical Record Number" msgstr "" @@ -289,15 +289,15 @@ msgstr "" msgid "Patient Settings" msgstr "" -#: senaite/patient/content/patient.py:302 +#: senaite/patient/content/patient.py:303 msgid "Patient birthdate" msgstr "" -#: senaite/patient/content/patient.py:363 +#: senaite/patient/content/patient.py:364 msgid "Patient email is invalid" msgstr "" -#: senaite/patient/content/patient.py:142 +#: senaite/patient/content/patient.py:143 msgid "Patient firstname" msgstr "" @@ -305,19 +305,19 @@ msgstr "" msgid "Patient fullname of sample is not equal to %s" msgstr "" -#: senaite/patient/content/patient.py:168 +#: senaite/patient/content/patient.py:169 msgid "Patient gender identity" msgstr "" -#: senaite/patient/content/patient.py:154 +#: senaite/patient/content/patient.py:155 msgid "Patient lastname" msgstr "" -#: senaite/patient/content/patient.py:176 +#: senaite/patient/content/patient.py:177 msgid "Patient legally defined marital status" msgstr "" -#: senaite/patient/content/patient.py:148 +#: senaite/patient/content/patient.py:149 msgid "Patient middlename" msgstr "" @@ -329,7 +329,7 @@ msgstr "" msgid "Patient name entry mode" msgstr "" -#: senaite/patient/content/patient.py:160 +#: senaite/patient/content/patient.py:161 msgid "Patient sex at birth" msgstr "" @@ -345,7 +345,7 @@ msgstr "" msgid "Place of residence" msgstr "" -#: senaite/patient/content/patient.py:354 +#: senaite/patient/content/patient.py:355 msgid "Please set a valid email address first" msgstr "" @@ -464,64 +464,64 @@ msgid "description_controlpanel_patient_races" msgstr "" #. Default: "Additional email addresses for this patient" -#: senaite/patient/content/patient.py:242 +#: senaite/patient/content/patient.py:243 msgid "description_patient_additional_emails" msgstr "" #. Default: "Email address" -#: senaite/patient/content/schema.py:60 +#: senaite/patient/content/schema.py:78 msgid "description_patient_additional_emails_email" msgstr "" #. Default: "Private, Work, Other etc." -#: senaite/patient/content/schema.py:48 +#: senaite/patient/content/schema.py:66 msgid "description_patient_additional_emails_name" msgstr "" #. Default: "Additional phone numbers for this patient" -#: senaite/patient/content/patient.py:275 +#: senaite/patient/content/patient.py:276 msgid "description_patient_additional_phone_numbers" msgstr "" #. Default: "Private, Work, Other etc." -#: senaite/patient/content/schema.py:75 +#: senaite/patient/content/schema.py:93 msgid "description_patient_additional_phone_numbers_name" msgstr "" #. Default: "Phone Number" -#: senaite/patient/content/schema.py:88 +#: senaite/patient/content/schema.py:106 msgid "description_patient_additional_phone_numbers_phone" msgstr "" #. have more than one" #. Default: "General ethnicity category reported by the patient - subject may have more than one" -#: senaite/patient/content/patient.py:207 +#: senaite/patient/content/patient.py:208 msgid "description_patient_ethnicities" msgstr "" #. Default: "The type of identifier that holds the ID" -#: senaite/patient/content/schema.py:19 +#: senaite/patient/content/schema.py:37 msgid "description_patient_identifiers_key" msgstr "" #. Default: "The identification number of the selected identifier" -#: senaite/patient/content/schema.py:32 +#: senaite/patient/content/schema.py:50 msgid "description_patient_identifiers_value" msgstr "" #. Default: "Primary email address for this patient" -#: senaite/patient/content/patient.py:226 +#: senaite/patient/content/patient.py:227 msgid "description_patient_primary_email" msgstr "" #. Default: "Primary phone number for this patient" -#: senaite/patient/content/patient.py:260 +#: senaite/patient/content/patient.py:261 msgid "description_patient_primary_phone" msgstr "" #. more than one" #. Default: "General race category reported by the patient - subject may have more than one" -#: senaite/patient/content/patient.py:189 +#: senaite/patient/content/patient.py:190 msgid "description_patient_races" msgstr "" @@ -566,12 +566,12 @@ msgid "gender_woman" msgstr "" #. Default: "Patient Medical Record Number is required" -#: senaite/patient/content/patient.py:322 +#: senaite/patient/content/patient.py:323 msgid "invalid_patient_mrn_is_required" msgstr "" #. Default: "Patient Medical Record Number must be unique" -#: senaite/patient/content/patient.py:331 +#: senaite/patient/content/patient.py:332 msgid "invalid_patient_mrn_must_be_unique" msgstr "" @@ -616,122 +616,122 @@ msgid "label_middlename" msgstr "" #. Default: "Additional Email Addresses" -#: senaite/patient/content/patient.py:239 +#: senaite/patient/content/patient.py:240 msgid "label_patient_additional_emails" msgstr "" #. Default: "Email" -#: senaite/patient/content/schema.py:56 +#: senaite/patient/content/schema.py:74 msgid "label_patient_additional_emails_email" msgstr "" #. Default: "Name" -#: senaite/patient/content/schema.py:44 +#: senaite/patient/content/schema.py:62 msgid "label_patient_additional_emails_name" msgstr "" #. Default: "Additional Phone Numbers" -#: senaite/patient/content/patient.py:273 +#: senaite/patient/content/patient.py:274 msgid "label_patient_additional_phone_numbers" msgstr "" #. Default: "Name" -#: senaite/patient/content/schema.py:71 +#: senaite/patient/content/schema.py:89 msgid "label_patient_additional_phone_numbers_name" msgstr "" #. Default: "Phone" -#: senaite/patient/content/schema.py:84 +#: senaite/patient/content/schema.py:102 msgid "label_patient_additional_phone_numbers_phone" msgstr "" #. Default: "Birthdate" -#: senaite/patient/content/patient.py:301 +#: senaite/patient/content/patient.py:302 msgid "label_patient_birthdate" msgstr "" #. Default: "Email results report" -#: senaite/patient/content/patient.py:131 +#: senaite/patient/content/patient.py:132 msgid "label_patient_email_report" msgstr "" #. Default: "Ethnicities" -#: senaite/patient/content/patient.py:206 +#: senaite/patient/content/patient.py:207 msgid "label_patient_ethnicities" msgstr "" #. Default: "Ethnicity" -#: senaite/patient/content/schema.py:113 +#: senaite/patient/content/schema.py:131 msgid "label_patient_ethnicity" msgstr "" #. Default: "Firstname" -#: senaite/patient/content/patient.py:141 +#: senaite/patient/content/patient.py:142 msgid "label_patient_firstname" msgstr "" #. Default: "Gender Identity" -#: senaite/patient/content/patient.py:167 +#: senaite/patient/content/patient.py:168 msgid "label_patient_gender" msgstr "" #. Default: "Type" -#: senaite/patient/content/schema.py:15 +#: senaite/patient/content/schema.py:33 msgid "label_patient_identifiers_key" msgstr "" #. Default: "ID" -#: senaite/patient/content/schema.py:28 +#: senaite/patient/content/schema.py:46 msgid "label_patient_identifiers_value" msgstr "" #. Default: "Lastname" -#: senaite/patient/content/patient.py:153 +#: senaite/patient/content/patient.py:154 msgid "label_patient_lastname" msgstr "" #. Default: "Marital Status" -#: senaite/patient/content/patient.py:175 +#: senaite/patient/content/patient.py:176 msgid "label_patient_marital_status" msgstr "" #. Default: "Middlename" -#: senaite/patient/content/patient.py:147 +#: senaite/patient/content/patient.py:148 msgid "label_patient_middlename" msgstr "" #. Default: "Medical Record #" -#: senaite/patient/content/patient.py:108 +#: senaite/patient/content/patient.py:109 msgid "label_patient_mrn" msgstr "" #. Default: "Primary Phone Number" -#: senaite/patient/content/patient.py:257 +#: senaite/patient/content/patient.py:258 msgid "label_patient_primary_phone" msgstr "" #. Default: "Race" -#: senaite/patient/content/schema.py:100 +#: senaite/patient/content/schema.py:118 msgid "label_patient_race" msgstr "" #. Default: "Races" -#: senaite/patient/content/patient.py:188 +#: senaite/patient/content/patient.py:189 msgid "label_patient_races" msgstr "" #. Default: "Sex" -#: senaite/patient/content/patient.py:159 +#: senaite/patient/content/patient.py:160 msgid "label_patient_sex" msgstr "" #. Default: "Primary Email Address" -#: senaite/patient/content/patient.py:222 +#: senaite/patient/content/patient.py:223 msgid "label_primary_patient_email" msgstr "" #. Default: "Personal" -#: senaite/patient/browser/patient/views.py:33 +#: senaite/patient/browser/patient/views.py:51 msgid "label_schema_personal" msgstr "" @@ -855,6 +855,6 @@ msgid "sex_not_specified" msgstr "" #. Default: "Samples of ${patient_fullname}" -#: senaite/patient/browser/patient/samples.py:18 +#: senaite/patient/browser/patient/samples.py:36 msgid "title_patient_samples_listing" msgstr "" diff --git a/src/senaite/patient/monkeys/__init__.py b/src/senaite/patient/monkeys/__init__.py index 8dd5d135..fd1825ef 100644 --- a/src/senaite/patient/monkeys/__init__.py +++ b/src/senaite/patient/monkeys/__init__.py @@ -15,5 +15,5 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. diff --git a/src/senaite/patient/monkeys/content/__init__.py b/src/senaite/patient/monkeys/content/__init__.py index 8dd5d135..fd1825ef 100644 --- a/src/senaite/patient/monkeys/content/__init__.py +++ b/src/senaite/patient/monkeys/content/__init__.py @@ -15,5 +15,5 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. diff --git a/src/senaite/patient/monkeys/content/analysisrequest.py b/src/senaite/patient/monkeys/content/analysisrequest.py index 6b2a3ecd..f226d8d0 100644 --- a/src/senaite/patient/monkeys/content/analysisrequest.py +++ b/src/senaite/patient/monkeys/content/analysisrequest.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. from senaite.patient import check_installed diff --git a/src/senaite/patient/permissions.py b/src/senaite/patient/permissions.py index 91f3d763..13f0d1aa 100644 --- a/src/senaite/patient/permissions.py +++ b/src/senaite/patient/permissions.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. # Add permission for our custom content types. diff --git a/src/senaite/patient/setuphandlers.py b/src/senaite/patient/setuphandlers.py index 928a73b6..327412ea 100644 --- a/src/senaite/patient/setuphandlers.py +++ b/src/senaite/patient/setuphandlers.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. from bika.lims import api diff --git a/src/senaite/patient/subscribers/__init__.py b/src/senaite/patient/subscribers/__init__.py index 8dd5d135..fd1825ef 100644 --- a/src/senaite/patient/subscribers/__init__.py +++ b/src/senaite/patient/subscribers/__init__.py @@ -15,5 +15,5 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. diff --git a/src/senaite/patient/subscribers/analysisrequest.py b/src/senaite/patient/subscribers/analysisrequest.py index e9982280..a9f1cf96 100644 --- a/src/senaite/patient/subscribers/analysisrequest.py +++ b/src/senaite/patient/subscribers/analysisrequest.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. from bika.lims import api diff --git a/src/senaite/patient/subscribers/controlpanel.py b/src/senaite/patient/subscribers/controlpanel.py index c66854b7..8dd847d3 100644 --- a/src/senaite/patient/subscribers/controlpanel.py +++ b/src/senaite/patient/subscribers/controlpanel.py @@ -1,4 +1,22 @@ # -*- coding: utf-8 -*- +# +# This file is part of SENAITE.PATIENT. +# +# SENAITE.PATIENT is free software: you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the Free +# Software Foundation, version 2. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 51 +# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Copyright 2020-2024 by it's authors. +# Some rights reserved, see README and LICENSE. from senaite.patient.api import allow_patients_in_clients diff --git a/src/senaite/patient/subscribers/upgrade.py b/src/senaite/patient/subscribers/upgrade.py index 51fcdc89..0355a8c8 100644 --- a/src/senaite/patient/subscribers/upgrade.py +++ b/src/senaite/patient/subscribers/upgrade.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. from bika.lims.api import get_portal diff --git a/src/senaite/patient/tests/__init__.py b/src/senaite/patient/tests/__init__.py index 8dd5d135..fd1825ef 100644 --- a/src/senaite/patient/tests/__init__.py +++ b/src/senaite/patient/tests/__init__.py @@ -15,5 +15,5 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. diff --git a/src/senaite/patient/tests/base.py b/src/senaite/patient/tests/base.py index 4e4b5892..c6000ca1 100644 --- a/src/senaite/patient/tests/base.py +++ b/src/senaite/patient/tests/base.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. import transaction diff --git a/src/senaite/patient/tests/test_textual_doctests.py b/src/senaite/patient/tests/test_textual_doctests.py index 2d0520e5..fce5cc93 100644 --- a/src/senaite/patient/tests/test_textual_doctests.py +++ b/src/senaite/patient/tests/test_textual_doctests.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. import doctest diff --git a/src/senaite/patient/upgrade/__init__.py b/src/senaite/patient/upgrade/__init__.py index 8dd5d135..fd1825ef 100644 --- a/src/senaite/patient/upgrade/__init__.py +++ b/src/senaite/patient/upgrade/__init__.py @@ -15,5 +15,5 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. diff --git a/src/senaite/patient/upgrade/v01_00_000.py b/src/senaite/patient/upgrade/v01_00_000.py index de688584..61c58c35 100644 --- a/src/senaite/patient/upgrade/v01_00_000.py +++ b/src/senaite/patient/upgrade/v01_00_000.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. import transaction diff --git a/src/senaite/patient/upgrade/v01_01_000.py b/src/senaite/patient/upgrade/v01_01_000.py index 050f2af7..22afb9a4 100644 --- a/src/senaite/patient/upgrade/v01_01_000.py +++ b/src/senaite/patient/upgrade/v01_01_000.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. from bika.lims import api diff --git a/src/senaite/patient/upgrade/v01_02_000.py b/src/senaite/patient/upgrade/v01_02_000.py index 9deb9c1e..26bf5819 100644 --- a/src/senaite/patient/upgrade/v01_02_000.py +++ b/src/senaite/patient/upgrade/v01_02_000.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. from senaite.core.upgrade import upgradestep diff --git a/src/senaite/patient/upgrade/v01_03_000.py b/src/senaite/patient/upgrade/v01_03_000.py index 3e9f9588..358df34e 100644 --- a/src/senaite/patient/upgrade/v01_03_000.py +++ b/src/senaite/patient/upgrade/v01_03_000.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. from bika.lims import api diff --git a/src/senaite/patient/upgrade/v01_04_000.py b/src/senaite/patient/upgrade/v01_04_000.py index d4583cf2..57e209f7 100644 --- a/src/senaite/patient/upgrade/v01_04_000.py +++ b/src/senaite/patient/upgrade/v01_04_000.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. import transaction diff --git a/src/senaite/patient/validators.py b/src/senaite/patient/validators.py index 32eec751..5f0c1cd0 100644 --- a/src/senaite/patient/validators.py +++ b/src/senaite/patient/validators.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. from bika.lims import api diff --git a/src/senaite/patient/vocabularies.py b/src/senaite/patient/vocabularies.py index b4b93b9e..284b83cd 100644 --- a/src/senaite/patient/vocabularies.py +++ b/src/senaite/patient/vocabularies.py @@ -15,7 +15,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright 2020-2022 by it's authors. +# Copyright 2020-2024 by it's authors. # Some rights reserved, see README and LICENSE. from senaite.core.api.geo import get_countries From e0f7fee9b833cca7cf29a454022a3f0f69ab8bb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jordi=20Puiggen=C3=A9?= Date: Wed, 10 Jan 2024 21:52:09 +0100 Subject: [PATCH 2/2] Version bump v1.5.0 --- docs/changelog.rst | 3 ++ setup.py | 4 +- .../patient/profiles/default/metadata.xml | 2 +- src/senaite/patient/upgrade/configure.zcml | 10 ++-- src/senaite/patient/upgrade/v01_04_000.zcml | 7 +++ src/senaite/patient/upgrade/v01_05_000.py | 48 +++++++++++++++++++ src/senaite/patient/upgrade/v01_05_000.zcml | 12 +++++ 7 files changed, 76 insertions(+), 10 deletions(-) create mode 100644 src/senaite/patient/upgrade/v01_05_000.py create mode 100644 src/senaite/patient/upgrade/v01_05_000.zcml diff --git a/docs/changelog.rst b/docs/changelog.rst index a3cad14f..103d87e1 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,6 +1,9 @@ Changelog ========= +1.5.0 (unreleased) +------------------ + 1.4.0 (2023-01-10) ------------------ diff --git a/setup.py b/setup.py index a476204e..6ddfee3c 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages -version = "1.4.0" +version = "1.5.0" with open("README.rst", "r") as fh: long_description = fh.read() @@ -36,7 +36,7 @@ include_package_data=True, zip_safe=False, install_requires=[ - "senaite.lims>=2.5.0", + "senaite.lims>=2.6.0", ], extras_require={ "test": [ diff --git a/src/senaite/patient/profiles/default/metadata.xml b/src/senaite/patient/profiles/default/metadata.xml index d669797a..c85d7a1a 100644 --- a/src/senaite/patient/profiles/default/metadata.xml +++ b/src/senaite/patient/profiles/default/metadata.xml @@ -1,6 +1,6 @@ - 1416 + 1500 profile-senaite.lims:default diff --git a/src/senaite/patient/upgrade/configure.zcml b/src/senaite/patient/upgrade/configure.zcml index 7c7e3e2c..156c6dab 100644 --- a/src/senaite/patient/upgrade/configure.zcml +++ b/src/senaite/patient/upgrade/configure.zcml @@ -3,14 +3,10 @@ xmlns:genericsetup="http://namespaces.zope.org/genericsetup" i18n_domain="senaite.patient"> - + + - + + + diff --git a/src/senaite/patient/upgrade/v01_05_000.py b/src/senaite/patient/upgrade/v01_05_000.py new file mode 100644 index 00000000..a7196387 --- /dev/null +++ b/src/senaite/patient/upgrade/v01_05_000.py @@ -0,0 +1,48 @@ +# -*- coding: utf-8 -*- +# +# This file is part of SENAITE.PATIENT. +# +# SENAITE.PATIENT is free software: you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the Free +# Software Foundation, version 2. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 51 +# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Copyright 2020-2024 by it's authors. +# Some rights reserved, see README and LICENSE. + +from senaite.core.upgrade import upgradestep +from senaite.core.upgrade.utils import UpgradeUtils +from senaite.patient import logger +from senaite.patient.config import PRODUCT_NAME + +version = "1.5.0" +profile = "profile-{0}:default".format(PRODUCT_NAME) + + +@upgradestep(PRODUCT_NAME, version) +def upgrade(tool): + portal = tool.aq_inner.aq_parent + setup = portal.portal_setup # noqa + ut = UpgradeUtils(portal) + ver_from = ut.getInstalledVersion(PRODUCT_NAME) + + if ut.isOlderVersion(PRODUCT_NAME, version): + logger.info("Skipping upgrade of {0}: {1} > {2}".format( + PRODUCT_NAME, ver_from, version)) + return True + + logger.info("Upgrading {0}: {1} -> {2}".format(PRODUCT_NAME, ver_from, + version)) + + # -------- ADD YOUR STUFF BELOW -------- + + logger.info("{0} upgraded to version {1}".format(PRODUCT_NAME, version)) + return True diff --git a/src/senaite/patient/upgrade/v01_05_000.zcml b/src/senaite/patient/upgrade/v01_05_000.zcml new file mode 100644 index 00000000..e8eae53d --- /dev/null +++ b/src/senaite/patient/upgrade/v01_05_000.zcml @@ -0,0 +1,12 @@ + + + + +