Skip to content

Commit a897c59

Browse files
committed
Release 1.0.0 (240111)
1 parent a7f71f5 commit a897c59

31 files changed

+32
-35
lines changed

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This extension adds Diseases, Signs and Symptoms handling to `SENAITE LIMS`_.
2424
License
2525
-------
2626

27-
**SENAITE.DIAGNOSIS** Copyright (C) 2022-2023 RIDING BYTES & NARALABS
27+
**SENAITE.DIAGNOSIS** Copyright (C) 2022-2024 RIDING BYTES & NARALABS
2828

2929
This program is free software; you can redistribute it and/or modify it under
3030
the terms of the `GNU General Public License version 2`_ as published

docs/changelog.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Changelog
22
=========
33

4-
1.0.0 (Unreleased)
4+
1.0.0 (2024-01-11)
55
------------------
66

77
- First version

setup.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@
3636
include_package_data=True,
3737
zip_safe=False,
3838
install_requires=[
39-
"senaite.lims>=2.3.0",
40-
"senaite.patient",
39+
"senaite.patient>=1.4.0",
4140
],
4241
extras_require={
4342
"test": [

src/senaite/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# this program; if not, write to the Free Software Foundation, Inc., 51
1616
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1717
#
18-
# Copyright 2022 by it's authors.
18+
# Copyright 2022-2024 by it's authors.
1919
# Some rights reserved, see README and LICENSE.
2020

2121
try:

src/senaite/diagnosis/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# this program; if not, write to the Free Software Foundation, Inc., 51
1616
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1717
#
18-
# Copyright 2022 by it's authors.
18+
# Copyright 2022-2024 by it's authors.
1919
# Some rights reserved, see README and LICENSE.
2020

2121
import logging

src/senaite/diagnosis/browser/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
# this program; if not, write to the Free Software Foundation, Inc., 51
1616
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1717
#
18-
# Copyright 2022 by it's authors.
18+
# Copyright 2022-2024 by it's authors.
1919
# Some rights reserved, see README and LICENSE.

src/senaite/diagnosis/browser/content/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
# this program; if not, write to the Free Software Foundation, Inc., 51
1616
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1717
#
18-
# Copyright 2022 by it's authors.
18+
# Copyright 2022-2024 by it's authors.
1919
# Some rights reserved, see README and LICENSE.

src/senaite/diagnosis/browser/content/diseases.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# this program; if not, write to the Free Software Foundation, Inc., 51
1616
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1717
#
18-
# Copyright 2022 by it's authors.
18+
# Copyright 2022-2024 by it's authors.
1919
# Some rights reserved, see README and LICENSE.
2020

2121
import collections

src/senaite/diagnosis/browser/content/etiologicagents.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# this program; if not, write to the Free Software Foundation, Inc., 51
1616
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1717
#
18-
# Copyright 2022 by it's authors.
18+
# Copyright 2022-2024 by it's authors.
1919
# Some rights reserved, see README and LICENSE.
2020

2121
import collections

src/senaite/diagnosis/browser/content/symptoms.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# this program; if not, write to the Free Software Foundation, Inc., 51
1616
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1717
#
18-
# Copyright 2022 by it's authors.
18+
# Copyright 2022-2024 by it's authors.
1919
# Some rights reserved, see README and LICENSE.
2020

2121
import collections

src/senaite/diagnosis/browser/theme/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
# this program; if not, write to the Free Software Foundation, Inc., 51
1616
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1717
#
18-
# Copyright 2022 by it's authors.
18+
# Copyright 2022-2024 by it's authors.
1919
# Some rights reserved, see README and LICENSE.

src/senaite/diagnosis/browser/theme/icons.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# this program; if not, write to the Free Software Foundation, Inc., 51
1616
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1717
#
18-
# Copyright 2022 by it's authors.
18+
# Copyright 2022-2024 by it's authors.
1919
# Some rights reserved, see README and LICENSE.
2020

2121
import os

src/senaite/diagnosis/config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# this program; if not, write to the Free Software Foundation, Inc., 51
1616
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1717
#
18-
# Copyright 2022 by it's authors.
18+
# Copyright 2022-2024 by it's authors.
1919
# Some rights reserved, see README and LICENSE.
2020

2121
PRODUCT_NAME = "senaite.diagnosis"

src/senaite/diagnosis/content/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
# this program; if not, write to the Free Software Foundation, Inc., 51
1616
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1717
#
18-
# Copyright 2022 by it's authors.
18+
# Copyright 2022-2024 by it's authors.
1919
# Some rights reserved, see README and LICENSE.

src/senaite/diagnosis/content/analysisrequest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# this program; if not, write to the Free Software Foundation, Inc., 51
1616
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1717
#
18-
# Copyright 2022 by it's authors.
18+
# Copyright 2022-2024 by it's authors.
1919
# Some rights reserved, see README and LICENSE.
2020

2121
from archetypes.schemaextender.interfaces import IBrowserLayerAwareExtender

src/senaite/diagnosis/content/disease.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# this program; if not, write to the Free Software Foundation, Inc., 51
1616
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1717
#
18-
# Copyright 2022 by it's authors.
18+
# Copyright 2022-2024 by it's authors.
1919
# Some rights reserved, see README and LICENSE.
2020

2121
from AccessControl import ClassSecurityInfo

src/senaite/diagnosis/content/diseases.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# this program; if not, write to the Free Software Foundation, Inc., 51
1616
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1717
#
18-
# Copyright 2022 by it's authors.
18+
# Copyright 2022-2024 by it's authors.
1919
# Some rights reserved, see README and LICENSE.
2020

2121
from plone.dexterity.content import Container

src/senaite/diagnosis/content/etiologicagent.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# this program; if not, write to the Free Software Foundation, Inc., 51
1616
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1717
#
18-
# Copyright 2022 by it's authors.
18+
# Copyright 2022-2024 by it's authors.
1919
# Some rights reserved, see README and LICENSE.
2020

2121
from AccessControl import ClassSecurityInfo

src/senaite/diagnosis/content/etiologicagents.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# this program; if not, write to the Free Software Foundation, Inc., 51
1616
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1717
#
18-
# Copyright 2022 by it's authors.
18+
# Copyright 2022-2024 by it's authors.
1919
# Some rights reserved, see README and LICENSE.
2020

2121
from plone.dexterity.content import Container

src/senaite/diagnosis/content/fields.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# this program; if not, write to the Free Software Foundation, Inc., 51
1616
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1717
#
18-
# Copyright 2022 by it's authors.
18+
# Copyright 2022-2024 by it's authors.
1919
# Some rights reserved, see README and LICENSE.
2020

2121
from archetypes.schemaextender.field import ExtensionField

src/senaite/diagnosis/content/symptom.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# this program; if not, write to the Free Software Foundation, Inc., 51
1616
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1717
#
18-
# Copyright 2022 by it's authors.
18+
# Copyright 2022-2024 by it's authors.
1919
# Some rights reserved, see README and LICENSE.
2020

2121
from AccessControl import ClassSecurityInfo

src/senaite/diagnosis/content/symptoms.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# this program; if not, write to the Free Software Foundation, Inc., 51
1616
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1717
#
18-
# Copyright 2022 by it's authors.
18+
# Copyright 2022-2024 by it's authors.
1919
# Some rights reserved, see README and LICENSE.
2020

2121
from plone.dexterity.content import Container

src/senaite/diagnosis/interfaces.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# this program; if not, write to the Free Software Foundation, Inc., 51
1616
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1717
#
18-
# Copyright 2022 by it's authors.
18+
# Copyright 2022-2024 by it's authors.
1919
# Some rights reserved, see README and LICENSE.
2020

2121
from bika.lims.interfaces import IDoNotSupportSnapshots

src/senaite/diagnosis/patches/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
# this program; if not, write to the Free Software Foundation, Inc., 51
1616
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1717
#
18-
# Copyright 2022 by it's authors.
18+
# Copyright 2022-2024 by it's authors.
1919
# Some rights reserved, see README and LICENSE.

src/senaite/diagnosis/patches/content/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
# this program; if not, write to the Free Software Foundation, Inc., 51
1616
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1717
#
18-
# Copyright 2022 by it's authors.
18+
# Copyright 2022-2024 by it's authors.
1919
# Some rights reserved, see README and LICENSE.

src/senaite/diagnosis/patches/content/analysisrequest.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@
1515
# this program; if not, write to the Free Software Foundation, Inc., 51
1616
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1717
#
18-
# Copyright 2022 by it's authors.
18+
# Copyright 2022-2024 by it's authors.
1919
# Some rights reserved, see README and LICENSE.
2020

21-
2221
def getRawSymptoms(self): # noqa camelcase
2322
"""Returns the UIDs of the Symptom objects assigned to the Sample
2423
"""
@@ -94,4 +93,4 @@ def getEtiologicAgents(self): # noqa camelcase
9493
def setEtiologicAgents(self, value): # noqa camelcase
9594
"""Sets the etiologic agents to the sample
9695
"""
97-
self.getField("EtiologicAgents").set(self, value)
96+
self.getField("EtiologicAgents").set(self, value)

src/senaite/diagnosis/permissions.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@
1515
# this program; if not, write to the Free Software Foundation, Inc., 51
1616
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1717
#
18-
# Copyright 2022 by it's authors.
18+
# Copyright 2022-2024 by it's authors.
1919
# Some rights reserved, see README and LICENSE.
2020

2121
# Field permissions for Samples (aka AnalysisRequest)
22-
2322
FieldEditDateOfDiagnosis = "senaite.diagnosis: Field: Edit Date of Diagnosis"
2423
FieldEditDateOfOnset = "senaite.diagnosis: Field: Edit Date of Onset"
2524
FieldEditEtiologicAgents = "senaite.diagnosis: Field: Edit Etiologic Agents"

src/senaite/diagnosis/setuphandlers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# this program; if not, write to the Free Software Foundation, Inc., 51
1616
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1717
#
18-
# Copyright 2022 by it's authors.
18+
# Copyright 2022-2024 by it's authors.
1919
# Some rights reserved, see README and LICENSE.
2020

2121
from bika.lims import api

src/senaite/diagnosis/subscribers/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
# this program; if not, write to the Free Software Foundation, Inc., 51
1616
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1717
#
18-
# Copyright 2022 by it's authors.
18+
# Copyright 2022-2024 by it's authors.
1919
# Some rights reserved, see README and LICENSE.

src/senaite/diagnosis/subscribers/upgrade.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# this program; if not, write to the Free Software Foundation, Inc., 51
1616
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1717
#
18-
# Copyright 2022 by it's authors.
18+
# Copyright 2022-2024 by it's authors.
1919
# Some rights reserved, see README and LICENSE.
2020

2121
from bika.lims.api import get_portal

src/senaite/diagnosis/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# this program; if not, write to the Free Software Foundation, Inc., 51
1616
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1717
#
18-
# Copyright 2022 by it's authors.
18+
# Copyright 2022-2024 by it's authors.
1919
# Some rights reserved, see README and LICENSE.
2020

2121
import re

0 commit comments

Comments
 (0)