healthdatalayer 1.6.1__tar.gz → 1.6.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/PKG-INFO +1 -1
  2. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/client_repositories/px_repository.py +23 -1
  3. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer.egg-info/PKG-INFO +1 -1
  4. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/setup.py +1 -1
  5. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/README.md +0 -0
  6. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/__init__.py +0 -0
  7. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/config/__init__.py +0 -0
  8. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/config/config.py +0 -0
  9. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/config/db.py +0 -0
  10. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/config/vault.py +0 -0
  11. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/dtos/__init__.py +0 -0
  12. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/dtos/collaborator/__init__.py +0 -0
  13. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/dtos/collaborator/schedule_collaborator.py +0 -0
  14. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/dtos/medical_visit/__init__.py +0 -0
  15. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/dtos/medical_visit/medical_certificate.py +0 -0
  16. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/__init__.py +0 -0
  17. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/bridge_area_floor_branch/__init__.py +0 -0
  18. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/bridge_area_floor_branch/area.py +0 -0
  19. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/bridge_area_floor_branch/branch.py +0 -0
  20. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/bridge_area_floor_branch/bridge_area_floor_branch.py +0 -0
  21. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/bridge_area_floor_branch/floor.py +0 -0
  22. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/bridge_area_floor_branch/room.py +0 -0
  23. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/bridge_area_floor_branch/system.py +0 -0
  24. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/client/__init__.py +0 -0
  25. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/client/address.py +0 -0
  26. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/client/city.py +0 -0
  27. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/client/client.py +0 -0
  28. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/client/client_type.py +0 -0
  29. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/client/education.py +0 -0
  30. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/client/emergency_contact.py +0 -0
  31. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/client/gender.py +0 -0
  32. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/client/marriage_status.py +0 -0
  33. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/client/nationality.py +0 -0
  34. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/client/pathological_history.py +0 -0
  35. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/client/pet.py +0 -0
  36. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/client/profession.py +0 -0
  37. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/client/px.py +0 -0
  38. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/client/state.py +0 -0
  39. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/collaborator/__init__.py +0 -0
  40. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/collaborator/collaborator.py +0 -0
  41. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/collaborator/collaborator_speciality.py +0 -0
  42. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/collaborator/collaborator_type.py +0 -0
  43. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/collaborator/speciality.py +0 -0
  44. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/lab/__init__.py +0 -0
  45. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/lab/client_lab.py +0 -0
  46. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/lab/measure_lab.py +0 -0
  47. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/lab/medical_lab.py +0 -0
  48. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/medical_visit/__init__.py +0 -0
  49. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/medical_visit/medical_diagnosis.py +0 -0
  50. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/medical_visit/medical_diagnosis_visit.py +0 -0
  51. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/medical_visit/medical_drug.py +0 -0
  52. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/medical_visit/medical_drug_recipe.py +0 -0
  53. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/medical_visit/medical_recipe_visit.py +0 -0
  54. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/medical_visit/medical_visit.py +0 -0
  55. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/medical_visit/organ_system_review.py +0 -0
  56. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/medical_visit/physical_exam.py +0 -0
  57. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/medical_visit/status_visit_enum.py +0 -0
  58. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/medical_visit/visit_triage.py +0 -0
  59. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/user/__init__.py +0 -0
  60. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/user/permission.py +0 -0
  61. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/user/permission_user.py +0 -0
  62. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/user/role.py +0 -0
  63. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/user/role_permission.py +0 -0
  64. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/user/role_user.py +0 -0
  65. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/models/user/user.py +0 -0
  66. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/__init__.py +0 -0
  67. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/client_repositories/__init__.py +0 -0
  68. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/client_repositories/address_repository.py +0 -0
  69. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/client_repositories/client_type_repository.py +0 -0
  70. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/client_repositories/education_repository.py +0 -0
  71. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/client_repositories/emergency_contact_repository.py +0 -0
  72. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/client_repositories/gender_repository.py +0 -0
  73. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/client_repositories/marriage_status_repository.py +0 -0
  74. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/client_repositories/nationality_repository.py +0 -0
  75. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/client_repositories/pathological_history_repository.py +0 -0
  76. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/client_repositories/pet_repository.py +0 -0
  77. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/client_repositories/profession_repository.py +0 -0
  78. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/collaborator_repositories/__init__.py +0 -0
  79. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/collaborator_repositories/collaborator_repository.py +0 -0
  80. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/collaborator_repositories/collaborator_type_repository.py +0 -0
  81. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/collaborator_repositories/speciality_repository.py +0 -0
  82. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/infraestructure_repositories/__init__.py +0 -0
  83. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/infraestructure_repositories/area_repository.py +0 -0
  84. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/infraestructure_repositories/branch_repository.py +0 -0
  85. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/infraestructure_repositories/bridge_repository.py +0 -0
  86. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/infraestructure_repositories/floor_repository.py +0 -0
  87. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/infraestructure_repositories/room_repository.py +0 -0
  88. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/infraestructure_repositories/system_repository.py +0 -0
  89. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/lab_repositories/__init__.py +0 -0
  90. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/lab_repositories/measure_lab_repository.py +0 -0
  91. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/lab_repositories/medical_lab_repository.py +0 -0
  92. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/medical_visit_repositories/__init__.py +0 -0
  93. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/medical_visit_repositories/medical_diagnosis_repository.py +0 -0
  94. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/medical_visit_repositories/medical_diagnosis_visit_repository.py +0 -0
  95. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/medical_visit_repositories/medical_drug_recipe_repository.py +0 -0
  96. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/medical_visit_repositories/medical_drug_repository.py +0 -0
  97. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/medical_visit_repositories/medical_recipe_visit_repository.py +0 -0
  98. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/medical_visit_repositories/medical_visit_repository.py +0 -0
  99. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/medical_visit_repositories/organ_system_review_repository.py +0 -0
  100. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/medical_visit_repositories/physical_exam_repository.py +0 -0
  101. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/medical_visit_repositories/visit_triage_repository.py +0 -0
  102. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/user_repositories/__init__.py +0 -0
  103. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/user_repositories/permission_repository.py +0 -0
  104. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/user_repositories/role_repository.py +0 -0
  105. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer/repositories/user_repositories/user_repository.py +0 -0
  106. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer.egg-info/SOURCES.txt +0 -0
  107. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer.egg-info/dependency_links.txt +0 -0
  108. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer.egg-info/requires.txt +0 -0
  109. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/healthdatalayer.egg-info/top_level.txt +0 -0
  110. {healthdatalayer-1.6.1 → healthdatalayer-1.6.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: healthdatalayer
3
- Version: 1.6.1
3
+ Version: 1.6.2
4
4
  Summary: Health Datalayer to access data from different sources
5
5
  Author: Jesus Martinez
6
6
  Author-email: jesusmartinez@noosds.com
@@ -52,6 +52,11 @@ class PxRepository:
52
52
  from healthdatalayer.models.user.user import User
53
53
  user_obj = session.get(User, px.user_id)
54
54
  object.__setattr__(px, 'user', user_obj)
55
+
56
+ if px.nationality_id:
57
+ from healthdatalayer.models.client.nationality import Nationality
58
+ user_obj = session.get(Nationality, px.nationality_id)
59
+ object.__setattr__(px, 'nationality', user_obj)
55
60
 
56
61
  return px
57
62
 
@@ -90,6 +95,12 @@ class PxRepository:
90
95
  from healthdatalayer.models.user.user import User
91
96
  user_obj = session.get(User, px.user_id)
92
97
  object.__setattr__(px, 'user', user_obj)
98
+
99
+ if px.nationality_id:
100
+ from healthdatalayer.models.client.nationality import Nationality
101
+ user_obj = session.get(Nationality, px.nationality_id)
102
+ object.__setattr__(px, 'nationality', user_obj)
103
+
93
104
 
94
105
  return px
95
106
 
@@ -134,7 +145,12 @@ class PxRepository:
134
145
  from healthdatalayer.models.user.user import User
135
146
  user_obj = session.get(User, px.user_id)
136
147
  object.__setattr__(px, 'user', user_obj)
137
-
148
+ if px.nationality_id:
149
+ from healthdatalayer.models.client.nationality import Nationality
150
+ user_obj = session.get(Nationality, px.nationality_id)
151
+ object.__setattr__(px, 'nationality', user_obj)
152
+
153
+
138
154
  return results
139
155
 
140
156
  def list_all_command(self, active_only: bool = True, load_relations: bool = False) -> List[Px]:
@@ -177,6 +193,12 @@ class PxRepository:
177
193
  from healthdatalayer.models.user.user import User
178
194
  user_obj = session.get(User, px.user_id)
179
195
  object.__setattr__(px, 'user', user_obj)
196
+
197
+ if px.nationality_id:
198
+ from healthdatalayer.models.client.nationality import Nationality
199
+ user_obj = session.get(Nationality, px.nationality_id)
200
+ object.__setattr__(px, 'nationality', user_obj)
201
+
180
202
 
181
203
  return results
182
204
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: healthdatalayer
3
- Version: 1.6.1
3
+ Version: 1.6.2
4
4
  Summary: Health Datalayer to access data from different sources
5
5
  Author: Jesus Martinez
6
6
  Author-email: jesusmartinez@noosds.com
@@ -5,7 +5,7 @@ with open('requirements.txt') as f:
5
5
 
6
6
  setup(
7
7
  name="healthdatalayer",
8
- version="1.6.1",
8
+ version="1.6.2",
9
9
  include_package_data=True,
10
10
  python_requires='>=3.10',
11
11
  packages=find_packages(),