|
1
|
|
|
# -*- coding: utf-8 -*- |
|
2
|
|
|
# |
|
3
|
|
|
# This file is part of SENAITE.HEALTH. |
|
4
|
|
|
# |
|
5
|
|
|
# SENAITE.HEALTH is free software: you can redistribute it and/or modify it |
|
6
|
|
|
# under the terms of the GNU General Public License as published by the Free |
|
7
|
|
|
# Software Foundation, version 2. |
|
8
|
|
|
# |
|
9
|
|
|
# This program is distributed in the hope that it will be useful, but WITHOUT |
|
10
|
|
|
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
|
11
|
|
|
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more |
|
12
|
|
|
# details. |
|
13
|
|
|
# |
|
14
|
|
|
# You should have received a copy of the GNU General Public License along with |
|
15
|
|
|
# this program; if not, write to the Free Software Foundation, Inc., 51 |
|
16
|
|
|
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
|
17
|
|
|
# |
|
18
|
|
|
# Copyright 2018-2019 by it's authors. |
|
19
|
|
|
# Some rights reserved, see README and LICENSE. |
|
20
|
|
|
|
|
21
|
|
|
from bika.lims.interfaces import IBikaLIMS |
|
22
|
|
|
from senaite.impress.interfaces import ISenaiteImpressLayer |
|
23
|
|
|
from senaite.lims.interfaces import ISenaiteLIMS |
|
24
|
|
|
from zope.interface import Interface |
|
25
|
|
|
|
|
26
|
|
|
|
|
27
|
|
|
class IBikaHealth(IBikaLIMS, ISenaiteLIMS, ISenaiteImpressLayer): |
|
28
|
|
|
"""Marker interface that defines a Zope 3 browser layer. |
|
29
|
|
|
A layer specific for this add-on product. |
|
30
|
|
|
This interface is referred in browserlayer.xml. |
|
31
|
|
|
All views and viewlets register against this layer will appear on |
|
32
|
|
|
your Plone site only when the add-on installer has been run. |
|
33
|
|
|
""" |
|
34
|
|
|
|
|
35
|
|
|
class IBikaHealthCatalogPatientListing(Interface): |
|
36
|
|
|
""" |
|
37
|
|
|
""" |
|
38
|
|
|
|
|
39
|
|
|
class IPatient(Interface): |
|
40
|
|
|
"""Patient""" |
|
41
|
|
|
|
|
42
|
|
|
class IPatients(Interface): |
|
43
|
|
|
"""Patient folder""" |
|
44
|
|
|
|
|
45
|
|
|
class IDoctor(Interface): |
|
46
|
|
|
"""Doctor""" |
|
47
|
|
|
|
|
48
|
|
|
class IDoctors(Interface): |
|
49
|
|
|
"""Doctor folder""" |
|
50
|
|
|
|
|
51
|
|
|
class IDrugs(Interface): |
|
52
|
|
|
"" |
|
53
|
|
|
|
|
54
|
|
|
class IDrugProhibitions(Interface): |
|
55
|
|
|
"" |
|
56
|
|
|
|
|
57
|
|
|
class IImmunizations(Interface): |
|
58
|
|
|
"" |
|
59
|
|
|
|
|
60
|
|
|
class ISymptoms(Interface): |
|
61
|
|
|
"" |
|
62
|
|
|
|
|
63
|
|
|
class IDiseases(Interface): |
|
64
|
|
|
"" |
|
65
|
|
|
|
|
66
|
|
|
class IAetiologicAgents(Interface): |
|
67
|
|
|
"" |
|
68
|
|
|
|
|
69
|
|
|
class ITreatments(Interface): |
|
70
|
|
|
"" |
|
71
|
|
|
|
|
72
|
|
|
class IVaccinationCenter(Interface): |
|
73
|
|
|
"" |
|
74
|
|
|
|
|
75
|
|
|
class IVaccinationCenters(Interface): |
|
76
|
|
|
"" |
|
77
|
|
|
|
|
78
|
|
|
class ICaseStatuses(Interface): |
|
79
|
|
|
"" |
|
80
|
|
|
|
|
81
|
|
|
class ICaseOutcomes(Interface): |
|
82
|
|
|
"" |
|
83
|
|
|
|
|
84
|
|
|
class ICaseSyndromicClassifications(Interface): |
|
85
|
|
|
"" |
|
86
|
|
|
|
|
87
|
|
|
class IIdentifierTypes(Interface): |
|
88
|
|
|
"" |
|
89
|
|
|
|
|
90
|
|
|
class IInsuranceCompany(Interface): |
|
91
|
|
|
"" |
|
92
|
|
|
|
|
93
|
|
|
class IInsuranceCompanies(Interface): |
|
94
|
|
|
"" |
|
95
|
|
|
|
|
96
|
|
|
class IEthnicity(Interface): |
|
97
|
|
|
""" |
|
98
|
|
|
Ethnicity content type marker |
|
99
|
|
|
""" |
|
100
|
|
|
|
|
101
|
|
|
|
|
102
|
|
|
class IEthnicities(Interface): |
|
103
|
|
|
""" |
|
104
|
|
|
Ethnicities content folder marker |
|
105
|
|
|
""" |
|
106
|
|
|
|