Skip to content

Commit

Permalink
feat: Update AdministedMedicines model to use datetime for prescripti…
Browse files Browse the repository at this point in the history
…on_date
  • Loading branch information
TanookiVerde committed Jan 9, 2025
1 parent 53dd52c commit 59b628e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/types/frontend.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
from typing import Optional, List
from pydantic import BaseModel

from datetime import datetime

# Clinic Family model
class FamilyClinic(BaseModel):
Expand Down Expand Up @@ -47,7 +47,7 @@ class Procedure(BaseModel):

class AdministedMedicines(BaseModel):
name: Optional[str]
prescription_date: Optional[str]
prescription_date: Optional[datetime]

# Medical Visit model
class Encounter(BaseModel):
Expand Down

0 comments on commit 59b628e

Please sign in to comment.