
    yi7	                         d dl mZmZmZ d dlmZmZ ed   Z G d de      Z G d de      Z	 G d d	e      Z
 G d
 de      Zed   Z G d de      Z G d de      Z G d de      Zy)    )ListLiteralOptional)	BaseModelField)SymptomszOphthalmic FindingszDiagnostic ToolszSystemic Risk FactorszTreatment OptionszDemographics/Historyc                   P    e Zd ZU  edd      Zeed<    edd      Zee   ed<   y)Evidence.z!Short exact quote from transcript)descriptionquoteNz'Speaker label if available (S1/S2 etc.)speaker)	__name__
__module____qualname__r   r   str__annotations__r   r        ,/home/sandhiya/dr-transcripts/src/schemas.pyr
   r
      s*    s(KLE3L"45^_GXc]_r   r
   c                   :    e Zd ZU eed<    ee      Zee	   ed<   y)
EntityItemnamedefault_factoryevidenceN)
r   r   r   r   r   r   listr   r   r
   r   r   r   r   r      s    
I$T:Hd8n:r   r   c                   :    e Zd ZU eed<    ee      Zee	   ed<   y)EntitiesByCategorycategoryr   itemsN)
r   r   r   Categoryr   r   r   r    r   r   r   r   r   r   r      s    #D9E4
9r   r   c                   &   e Zd ZU  eed      Zee   ed<    eed      Z	ee   ed<    eed      Z
ee   ed<    eed      Zee   ed	<    ee
      Zee   ed<    ee
      Zee   ed<    ee
      Zee   ed<    ee
      Zee   ed<   y)PatientPerspectivezOnset/timing/frequency/triggersr   r   
occurrencezSeverity + impact on lifeseverityzFears/worries/cost/limitationsconcernszWhat patient hopes to achievegoalsr   occurrence_evidenceseverity_evidenceconcerns_evidencegoals_evidenceN)r   r   r   r   r   r%   r   r   r   r&   r'   r(   r)   r
   r*   r+   r,   r   r   r   r#   r#      s    !$DefJS	fB]^Hd3i^BbcHd3icT?^_E49_*/*EhE(-d(CtH~C(-d(CtH~C%*4%@NDN@r   r#   )positiveneutralnegativemixedunknownc                   \    e Zd ZU eed<   eed<   eed<   dZeed<    e	e
      Zee   ed<   y)	EntityPresenceSentimentr   entitypresentr1   	sentimentr   r   N)r   r   r   r!   r   r   boolr6   	Sentimentr   r   r   r   r
   r   r   r   r3   r3   &   s/    KM$Iy$$T:Hd8n:r   r3   c                       e Zd ZU eed<   ee   ed<    eed      Zee   ed<    ee      Z	ee
   ed<   eed<    ee      Zee   ed	<   y
)ConversationReportconversation_idsource_filesz0Distinct question templates asked by interviewerr$   questions_askedr   entitiespatient_perspectiveentity_presence_sentimentN)r   r   r   r   r   r   r   r   r=   r>   r   r#   r@   r3   r   r   r   r:   r:   .   sd    s) "'tI{!|OT#Y| */t)DHd%&D ,+ @EUY?Zt$;<Zr   r:   c                   8    e Zd ZU eed<   ee   ed<   ee   ed<   y)BatchSummarytotal_unique_conversationsconversation_idsglobal_distinct_questionsN)r   r   r   intr   r   r   r   r   r   rB   rB   ?   s     ##3i#Cy(r   rB   N)typingr   r   r   pydanticr   r   r!   r
   r   r   r#   r8   r3   r:   rB   r   r   r   <module>rI      s    * * %`y `; ;: :	A 	A IJ	;i ;[ [")9 )r   