healthdatalayer 1.5.0__tar.gz → 1.5.1__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.
Potentially problematic release.
This version of healthdatalayer might be problematic. Click here for more details.
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/PKG-INFO +1 -1
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/dtos/collaborator/schedule_collaborator.py +2 -2
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/collaborator_repositories/collaborator_repository.py +4 -4
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer.egg-info/PKG-INFO +1 -1
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/setup.py +1 -1
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/README.md +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/__init__.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/config/__init__.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/config/config.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/config/db.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/config/vault.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/dtos/__init__.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/dtos/collaborator/__init__.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/__init__.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/bridge_area_floor_branch/__init__.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/bridge_area_floor_branch/area.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/bridge_area_floor_branch/branch.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/bridge_area_floor_branch/bridge_area_floor_branch.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/bridge_area_floor_branch/floor.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/bridge_area_floor_branch/room.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/bridge_area_floor_branch/system.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/client/__init__.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/client/address.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/client/city.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/client/client.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/client/client_type.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/client/education.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/client/emergency_contact.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/client/gender.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/client/marriage_status.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/client/nationality.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/client/pathological_history.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/client/pet.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/client/profession.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/client/px.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/client/state.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/collaborator/__init__.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/collaborator/collaborator.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/collaborator/collaborator_speciality.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/collaborator/collaborator_type.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/collaborator/speciality.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/lab/__init__.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/lab/client_lab.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/lab/measure_lab.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/lab/medical_lab.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/medical_visit/__init__.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/medical_visit/medical_diagnosis.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/medical_visit/medical_diagnosis_visit.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/medical_visit/medical_drug.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/medical_visit/medical_drug_recipe.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/medical_visit/medical_recipe_visit.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/medical_visit/medical_visit.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/medical_visit/organ_system_review.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/medical_visit/physical_exam.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/medical_visit/status_visit_enum.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/medical_visit/visit_triage.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/user/__init__.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/user/permission.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/user/permission_user.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/user/role.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/user/role_permission.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/user/role_user.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/user/user.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/__init__.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/client_repositories/__init__.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/client_repositories/address_repository.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/client_repositories/client_type_repository.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/client_repositories/education_repository.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/client_repositories/emergency_contact_repository.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/client_repositories/gender_repository.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/client_repositories/marriage_status_repository.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/client_repositories/nationality_repository.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/client_repositories/pathological_history_repository.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/client_repositories/pet_repository.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/client_repositories/profession_repository.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/client_repositories/px_repository.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/collaborator_repositories/__init__.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/collaborator_repositories/collaborator_type_repository.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/collaborator_repositories/speciality_repository.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/infraestructure_repositories/__init__.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/infraestructure_repositories/area_repository.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/infraestructure_repositories/branch_repository.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/infraestructure_repositories/bridge_repository.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/infraestructure_repositories/floor_repository.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/infraestructure_repositories/room_repository.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/infraestructure_repositories/system_repository.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/lab_repositories/__init__.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/lab_repositories/measure_lab_repository.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/lab_repositories/medical_lab_repository.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/medical_visit_repositories/__init__.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/medical_visit_repositories/medical_diagnosis_repository.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/medical_visit_repositories/medical_diagnosis_visit_repository.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/medical_visit_repositories/medical_drug_recipe_repository.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/medical_visit_repositories/medical_drug_repository.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/medical_visit_repositories/medical_recipe_visit_repository.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/medical_visit_repositories/medical_visit_repository.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/medical_visit_repositories/organ_system_review_repository.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/medical_visit_repositories/physical_exam_repository.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/medical_visit_repositories/visit_triage_repository.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/user_repositories/__init__.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/user_repositories/permission_repository.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/user_repositories/role_repository.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/repositories/user_repositories/user_repository.py +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer.egg-info/SOURCES.txt +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer.egg-info/dependency_links.txt +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer.egg-info/requires.txt +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer.egg-info/top_level.txt +0 -0
- {healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/setup.cfg +0 -0
|
@@ -4,8 +4,8 @@ from datetime import time
|
|
|
4
4
|
|
|
5
5
|
class ScheduleCollaboratorDTO(BaseModel):
|
|
6
6
|
|
|
7
|
-
available_schedules: List[
|
|
8
|
-
busy_schedules: List[
|
|
7
|
+
available_schedules: List[time] = Field(default_factory=list)
|
|
8
|
+
busy_schedules: List[time] = Field(default_factory=list)
|
|
9
9
|
|
|
10
10
|
class Config:
|
|
11
11
|
json_encoders = {
|
|
@@ -159,8 +159,8 @@ class CollaboratorRepository:
|
|
|
159
159
|
WITH horarios_generados AS (
|
|
160
160
|
SELECT horario::TIME as hora
|
|
161
161
|
FROM generate_series(
|
|
162
|
-
:fecha
|
|
163
|
-
:fecha
|
|
162
|
+
CAST(:fecha AS DATE)+ TIME '08:00:00',
|
|
163
|
+
CAST(:fecha AS DATE) + TIME '17:00:00',
|
|
164
164
|
INTERVAL '30 minutes'
|
|
165
165
|
) AS horario
|
|
166
166
|
),
|
|
@@ -178,12 +178,12 @@ class CollaboratorRepository:
|
|
|
178
178
|
ORDER BY hg.hora
|
|
179
179
|
""")
|
|
180
180
|
|
|
181
|
-
result = session.exec(query, {"fecha": visit_date, "colab_id": collaborator_id})
|
|
181
|
+
result = session.exec(query, params={"fecha": visit_date, "colab_id": collaborator_id})
|
|
182
182
|
|
|
183
183
|
availables = []
|
|
184
184
|
busy = []
|
|
185
185
|
|
|
186
|
-
for row in result:
|
|
186
|
+
for row in result.fetchall():
|
|
187
187
|
hour, is_busy = row[0], row[1]
|
|
188
188
|
if is_busy:
|
|
189
189
|
busy.append(hour)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/dtos/collaborator/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/client/client_type.py
RENAMED
|
File without changes
|
|
File without changes
|
{healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/client/emergency_contact.py
RENAMED
|
File without changes
|
|
File without changes
|
{healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/client/marriage_status.py
RENAMED
|
File without changes
|
{healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/client/nationality.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/collaborator/__init__.py
RENAMED
|
File without changes
|
{healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/collaborator/collaborator.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/collaborator/speciality.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/medical_visit/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/medical_visit/medical_drug.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/medical_visit/visit_triage.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/user/permission_user.py
RENAMED
|
File without changes
|
|
File without changes
|
{healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer/models/user/role_permission.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{healthdatalayer-1.5.0 → healthdatalayer-1.5.1}/healthdatalayer.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|