Prepare a ppt on dissociative disorder

Reading File
Reading File
Reading File
Reading File
Searching the Web

dissociative disorders DSM-5-TR NIMH clinical overview

Finding Sources
Searching PubMed

"Dissociative Disorders"[MeSH Terms]

Reading File
Reading File
Finding Sources
Browsing Directory

~/

Finding Sources
Reading Web Page

https://www.psychiatry.org/patients-families/dissociative-di…

Searching Images

clinical infographic diagram dissociation depersonalization derealization trauma mental health

Reading File
Reading File
Reading File
Reading File
Running Command

mkdir -p "/tmp/workspace/dissociative-disorders-ppt/src" "/tmp/workspace/dissociative-disorders-ppt/output" && python - <<'PY' from pathlib import Path p=Path('/tmp/workspace/dissociative-disorders-ppt/src/create_deck.py') p.write_text(r''' from pptx import Presentation from pptx.util import Inches, Pt from pptx.enum.shapes import MSO_SHAPE from pptx.enum.text import PP_ALIGN, MSO_ANCHOR from pptx.dml.color import RGBColor from pptx.enum.dml import MSO_THEME_COLOR from pptx.enum.text import MSO_AUTO_SIZE OUT='/tmp/workspace/dissociative-disorders-ppt/output/Dissociative_Disorders.pptx' prs=Presentation(); prs.slide_width=Inches(13.333); prs.slide_height=Inches(7.5) blank=prs.slide_layouts[6] # palette NAVY=RGBColor(21,42,68); TEAL=RGBColor(28,133,139); MINT=RGBColor(220,242,239) SKY=RGBColor(231,242,249); GOLD=RGBColor(238,181,83); CORAL=RGBColor(216,106,92) INK=RGBColor(35,48,62); MUTED=RGBColor(92,108,122); WHITE=RGBColor(255,255,255); PALE=RGBColor(247,250,252); LINE=RGBColor(207,218,227) def rect(s,x,y,w,h,color,rad=False,line=None): sh=s.shapes.add_shape(MSO_SHAPE.ROUNDED_RECTANGLE if rad else MSO_SHAPE.RECTANGLE, Inches(x), Inches(y), Inches(w), Inches(h)) sh.fill.solid(); sh.fill.fore_color.rgb=color sh.line.color.rgb = line or color if rad: sh.adjustments[0]=0.12 return sh def text(s,txt,x,y,w,h,size=20,color=INK,bold=False,align=PP_ALIGN.LEFT,font='Aptos',val=MSO_ANCHOR.TOP): tb=s.shapes.add_textbox(Inches(x),Inches(y),Inches(w),Inches(h)); tf=tb.text_frame tf.clear(); tf.word_wrap=True; tf.margin_left=tf.margin_right=Pt(0); tf.margin_top=tf.margin_bottom=Pt(0); tf.vertical_anchor=val p=tf.paragraphs[0]; p.alignment=align r=p.add_run(); r.text=txt; r.font.name=font; r.font.size=Pt(size); r.font.bold=bold; r.font.color.rgb=color return tb def bullet(s,items,x,y,w,h,size=18,color=INK,accent=TEAL,spacing=8): tb=s.shapes.add_textbox(Inches(x), Inches(y), Inches(w), Inches(h)); tf=tb.text_frame; tf.clear(); tf.word_wrap=True tf.margin_left=Pt(4);tf.margin_right=Pt(2);tf.margin_top=Pt(2);tf.margin_bottom=Pt(2) for i,item in enumerate(items): p=tf.paragraphs[0] if i==0 else tf.add_paragraph(); p.text=item; p.font.name='Aptos'; p.font.size=Pt(size);p.font.color.rgb=color;p.level=0 p.space_after=Pt(spacing); p.bullet=True return tb def header(s,title,kicker,number): rect(s,0,0,13.333,0.21,TEAL) text(s,kicker.upper(),0.65,0.43,8.7,0.28,10,TEAL,True) text(s,title,0.65,0.72,11.6,0.55,27,NAVY,True) text(s,f'{number:02d}',12.05,0.48,0.6,0.35,12,TEAL,True,align=PP_ALIGN.RIGHT) def footer(s,source='Educational summary | Not a substitute for clinical assessment'): rect(s,0.65,7.08,12.03,0.01,LINE) text(s,source,0.65,7.16,10.8,0.18,8,MUTED) def label(s,txt,x,y,w,color=TEAL): rect(s,x,y,w,0.34,color,True) text(s,txt,x,y+0.055,w,0.18,9,WHITE,True,align=PP_ALIGN.CENTER) def arrow(s,x1,y1,x2,y2,color=TEAL): ln=s.shapes.add_connector(1, Inches(x1), Inches(y1), Inches(x2), Inches(y2)); ln.line.color.rgb=color; ln.line.width=Pt(2); ln.line.end_arrowhead=True # 1 cover s=prs.slides.add_slide(blank); rect(s,0,0,13.333,7.5,NAVY); rect(s,8.9,0,4.433,7.5,TEAL) # stylised fragmented portrait for x,y,w,h,c in [(9.55,1.1,2.15,2.15,MINT),(10.05,3.0,2.25,1.25,SKY),(9.35,4.5,1.35,1.35,GOLD),(11.2,4.7,1.1,1.1,CORAL)]: rect(s,x,y,w,h,c,True) text(s,'DISSOCIATIVE\nDISORDERS',0.8,1.45,7.7,1.6,36,WHITE,True) text(s,'Clinical overview: recognition, assessment and care',0.83,3.35,6.4,0.4,18,RGBColor(210,230,239)) rect(s,0.83,4.2,2.55,0.43,TEAL,True); text(s,'PSYCHIATRY',0.83,4.29,2.55,0.18,10,WHITE,True,align=PP_ALIGN.CENTER) text(s,'Prepared for teaching and discussion',0.83,6.75,5.4,0.25,11,RGBColor(190,211,223)) # 2 definition s=prs.slides.add_slide(blank); header(s,'What is dissociation?','Core concept',2) rect(s,0.65,1.55,5.7,4.9,PALE,True,LINE); label(s,'WORKING DEFINITION',0.95,1.85,1.9) text(s,'A disruption in the usual integration of:',0.95,2.45,4.9,0.35,20,NAVY,True) bullet(s,['consciousness and attention','memory and identity','emotion, perception and behaviour','body experience and sense of self'],1.0,3.0,4.85,2.55,19) rect(s,6.75,1.55,5.9,4.9,SKY,True,LINE); text(s,'Clinical spectrum',7.05,1.88,3.2,0.35,21,NAVY,True) for i,(a,b,c) in enumerate([('Everyday','absorption / “zoning out”',MINT),('Symptoms','detachment, unreality, memory gaps',GOLD),('Disorder','distress or impaired functioning',CORAL)]): yy=2.6+i*1.05; rect(s,7.05,yy,1.55,0.64,c,True); text(s,a,7.18,yy+0.17,1.28,0.22,12,INK,True,align=PP_ALIGN.CENTER); text(s,b,8.9,yy+0.14,3.15,0.3,16,INK) footer(s,'American Psychiatric Association, patient overview, reviewed Oct 2024') # 3 classification s=prs.slides.add_slide(blank); header(s,'DSM-5-TR dissociative disorders','Classification',3) text(s,'Three principal diagnoses',0.65,1.45,4.2,0.35,20,MUTED) items=[('Dissociative identity disorder','Identity disruption plus recurrent memory gaps',TEAL),('Dissociative amnesia','Inability to recall important autobiographical information',GOLD),('Depersonalization / derealization disorder','Persistent or recurrent detachment from self and/or surroundings',CORAL)] for i,(t,d,c) in enumerate(items): y=2.0+i*1.34; rect(s,0.72,y,11.95,1.02,WHITE,True,LINE); rect(s,0.72,y,0.16,1.02,c); text(s,t,1.15,y+0.18,5.2,0.25,18,NAVY,True); text(s,d,6.05,y+0.2,5.85,0.42,15,MUTED) text(s,'Other specified and unspecified dissociative disorders may be used when presentations are clinically significant but do not fully meet criteria.',0.85,6.25,11.25,0.38,14,MUTED) footer(s,'DSM-5-TR categories summarized from APA patient information') # 4 types s=prs.slides.add_slide(blank); header(s,'Key clinical presentations','Recognize the pattern',4) cols=[(0.65,'DID',TEAL,['Discontinuity in sense of self or agency','Recurrent gaps in recall of everyday or autobiographical events','Symptoms cause distress or impairment']), (4.55,'AMNESIA',GOLD,['Usually trauma-related autobiographical memory loss','May be localized, selective or generalized','Dissociative fugue can occur as a specifier']), (8.45,'DP/DR',CORAL,['Depersonalization: detached from body or mental processes','Derealization: surroundings feel unreal or dreamlike','Reality testing remains intact'])] for x,t,c,pts in cols: rect(s,x,1.75,3.55,4.75,PALE,True,LINE); rect(s,x,1.75,3.55,0.65,c,True); text(s,t,x+.22,1.96,3.1,.25,18,WHITE,True,align=PP_ALIGN.CENTER); bullet(s,pts,x+.25,2.65,3.02,3.25,16,INK,c,10) footer(s,'Kaplan & Sadock’s Comprehensive Textbook of Psychiatry, Dissociative Disorders chapter') # 5 clinical features s=prs.slides.add_slide(blank); header(s,'Symptoms and clues in practice','Clinical recognition',5) left=['Memory gaps beyond ordinary forgetting','Feeling detached from body, thoughts or emotions','Experiences of unreality in surroundings','Identity confusion or marked shifts in self-experience','Trance-like states or internal voices'] rect(s,.65,1.55,5.8,4.95,PALE,True,LINE); text(s,'Reported experiences',.98,1.9,3.5,.3,21,NAVY,True); bullet(s,left,.96,2.45,5.0,3.5,17) rect(s,6.85,1.55,5.8,4.95,SKY,True,LINE); text(s,'Important clinical notes',7.18,1.9,4.2,.3,21,NAVY,True) bullet(s,['Presentations may be subtle, not dramatic.','Symptoms commonly coexist with trauma-related symptoms, anxiety, depression or substance use.','Ask respectfully, without leading questions.','Assess current safety, self-harm and functional impact.'],7.15,2.45,4.98,3.5,17) footer(s,'Kaplan & Sadock’s Comprehensive Textbook of Psychiatry, pp. 5748-5749') #6 etiology model s=prs.slides.add_slide(blank); header(s,'How might symptoms develop?','Biopsychosocial formulation',6) text(s,'Association does not equal inevitability: use an individualized, culturally informed formulation.',.65,1.4,11.5,.3,15,MUTED,False) parts=[('Predisposing','developmental adversity, temperament, attachment difficulties',MINT),('Precipitating','acute stress, reminders, interpersonal conflict',SKY),('Perpetuating','avoidance, sleep disruption, comorbidity, unsafe environment',RGBColor(255,243,219)),('Protective','safety, supportive relationships, coping skills, treatment access',RGBColor(235,244,230))] for i,(t,d,c) in enumerate(parts): x=.75+i*3.15; rect(s,x,2.2,2.6,2.75,c,True,LINE); text(s,t,x+.2,2.55,2.2,.28,18,NAVY,True,align=PP_ALIGN.CENTER); text(s,d,x+.25,3.15,2.1,1.1,14,INK,align=PP_ALIGN.CENTER) if i<3: arrow(s,x+2.65,3.58,x+3.06,3.58,TEAL) rect(s,2.25,5.5,8.8,.55,NAVY,True); text(s,'Goal: understand symptoms in context, while avoiding assumptions about trauma history.',2.5,5.67,8.3,.2,14,WHITE,False,align=PP_ALIGN.CENTER) footer(s,'APA patient overview; Kaplan & Sadock’s Comprehensive Textbook of Psychiatry') #7 assessment s=prs.slides.add_slide(blank); header(s,'Assessment: a safe, structured approach','Diagnosis',7) steps=[('1','Engage','Validate distress. Establish privacy, consent and immediate safety.'),('2','Clarify','Onset, triggers, memory gaps, self-experience, functioning.'),('3','Screen','Trauma symptoms, mood, anxiety, substance use, sleep and self-harm.'),('4','Rule out','Neurologic conditions, seizures, delirium, substances, psychosis and malingering/factitious presentations.'),('5','Formulate','Use DSM-5-TR criteria, cultural context and longitudinal information.')] for i,(n,t,d) in enumerate(steps): y=1.55+i*0.98; rect(s,.9,y,.55,.55,TEAL,True); text(s,n,.9,y+.13,.55,.2,13,WHITE,True,align=PP_ALIGN.CENTER); text(s,t,1.7,y+.05,1.1,.25,17,NAVY,True); text(s,d,2.85,y+.06,8.95,.36,15,INK) footer(s,'Clinical diagnosis requires a qualified mental-health professional') #8 differentials s=prs.slides.add_slide(blank); header(s,'Differential diagnosis','Do not anchor too early',8) headers=['Condition','Features that help distinguish'] rect(s,.7,1.6,11.95,.58,NAVY,True); text(s,headers[0],.95,1.77,3.2,.2,15,WHITE,True); text(s,headers[1],4.05,1.77,7.8,.2,15,WHITE,True) rows=[('PTSD / acute stress','Intrusions, avoidance and hyperarousal may coexist with dissociation.'),('Psychotic disorders','Evaluate reality testing, thought disorder and external versus internal voice experiences.'),('Neurologic conditions','Consider seizure disorders, head injury, delirium and other causes of altered cognition.'),('Substance-related states','Timing with intoxication, withdrawal or medication effects is informative.'),('Malingering / factitious disorder','Look for inconsistency, context and incentives; avoid accusatory assumptions.')] for i,(a,b) in enumerate(rows): y=2.2+i*.78; rect(s,.7,y,11.95,.75,PALE if i%2==0 else WHITE,False,LINE); text(s,a,.95,y+.19,2.75,.28,15,NAVY,True); text(s,b,4.05,y+.14,7.85,.35,14,INK) footer(s,'Kaplan & Sadock’s Synopsis of Psychiatry, Dissociative Disorders section') #9 management s=prs.slides.add_slide(blank); header(s,'Treatment principles','Phase-oriented, individualized care',9) ph=[('1. Safety & stabilization','Risk management, grounding, emotion regulation, sleep and coping skills',TEAL),('2. Trauma processing','Only when stable and appropriate; paced to prevent overwhelm',GOLD),('3. Integration / rehabilitation','Improve continuity of self, relationships, functioning and quality of life',CORAL)] for i,(t,d,c) in enumerate(ph): x=.75+i*4.15; rect(s,x,1.85,3.58,3.1,WHITE,True,LINE); rect(s,x,1.85,3.58,.16,c); text(s,t,x+.28,2.25,2.95,.58,20,NAVY,True,align=PP_ALIGN.CENTER); text(s,d,x+.35,3.25,2.85,.8,15,INK,align=PP_ALIGN.CENTER) if i<2: arrow(s,x+3.62,3.4,x+4.07,3.4,TEAL) rect(s,1.5,5.55,10.35,.7,SKY,True); text(s,'Psychotherapy is the main treatment. No medicine directly treats dissociation, but medication may treat co-occurring depression, anxiety, sleep problems or other conditions.',1.8,5.75,9.75,.28,15,INK,align=PP_ALIGN.CENTER) footer(s,'APA patient overview, reviewed Oct 2024; Kaplan & Sadock’s Comprehensive Textbook of Psychiatry, p. 5909') #10 nursing s=prs.slides.add_slide(blank); header(s,'Supportive care and communication','Practical response',10) DO=['Use calm, simple language and orient to the present.','Offer grounding: name objects, notice feet on floor, slow breathing.','Ask what helps and respect preferences.','Document observations objectively and protect privacy.','Coordinate safety planning and referral.'] AV=['Do not confront, shame or force memory recovery.','Do not assume symptoms are fabricated or theatrical.','Do not use unmodified intensive trauma exposure when the person is unstable.','Do not overlook medical, substance-related or suicide risk.'] rect(s,.65,1.55,5.85,4.9,RGBColor(235,247,242),True,LINE); label(s,'DO',.95,1.85,.65,TEAL); bullet(s,DO,.95,2.45,4.95,3.5,17) rect(s,6.82,1.55,5.85,4.9,RGBColor(255,241,239),True,LINE); label(s,'AVOID',7.12,1.85,1.05,CORAL); bullet(s,AV,7.12,2.45,4.95,3.5,17,INK,CORAL) footer(s,'Teaching points based on phase-oriented trauma-informed care') #11 case s=prs.slides.add_slide(blank); header(s,'Brief case for discussion','Apply the framework',11) rect(s,.72,1.5,12.0,1.15,SKY,True,LINE); text(s,'A 24-year-old student reports “losing time,” feeling unreal during conflict, poor sleep and panic. Neurologic history is unremarkable, but alcohol use has increased.',1.02,1.82,11.35,.52,18,NAVY,True,align=PP_ALIGN.CENTER) qs=[('What are the immediate priorities?','Safety, intoxication/withdrawal, self-harm risk and basic orientation.'),('What else should be assessed?','Trauma symptoms, mood/anxiety, functional impact, collateral history and medical causes.'),('What is a helpful first response?','Validate distress, use grounding, avoid premature labels, and arrange appropriate evaluation.')] for i,(q,a) in enumerate(qs): y=3.05+i*1.0; rect(s,1.15,y,10.95,.75,PALE,True,LINE); text(s,q,1.45,y+.14,3.15,.22,15,TEAL,True); text(s,a,4.4,y+.14,7.2,.32,14,INK) footer(s,'Case is fictional and intended for education only') #12 recap ref s=prs.slides.add_slide(blank); header(s,'Take-home messages','Summary',12) rect(s,.65,1.45,6.0,4.85,PALE,True,LINE); text(s,'Remember',.98,1.85,2,.3,23,NAVY,True) bullet(s,['Dissociative symptoms affect integration of memory, identity and experience.','Three main DSM-5-TR diagnoses are DID, dissociative amnesia and DP/DR disorder.','Assessment must include safety, trauma-informed enquiry and medical/substance differentials.','Psychotherapy and stabilization are central; treat co-occurring conditions.'],.98,2.4,5.1,3.3,17) rect(s,7.0,1.45,5.65,4.85,SKY,True,LINE); text(s,'Selected sources',7.32,1.85,3,.3,22,NAVY,True) refs=['American Psychiatric Association. What Are Dissociative Disorders? Reviewed October 2024.','Kaplan & Sadock’s Comprehensive Textbook of Psychiatry, 11th ed. Dissociative Disorders chapter.','American Psychiatric Association. DSM-5-TR. 2022.'] bullet(s,refs,7.32,2.4,4.7,2.45,14,INK,TEAL,12) text(s,'Thank you',7.32,5.5,2.3,.35,20,TEAL,True) footer(s,'References are included for teaching use') # slide notes sources are conveyed in footer, no placeholder prs.save(OUT) print(OUT) ''') PY python "/tmp/workspace/dissociative-disorders-ppt/src/create_deck.py" python - <<'PY' from pptx import Presentation p='/tmp/workspace/dissociative-disorders-ppt/output/Dissociative_Disorders.pptx' prs=Presentation(p) print('slides',len(prs.slides),'size',__import__('os').path.getsize(p)) for i,s in enumerate(prs.slides,1): txt=' '.join(sh.text for sh in s.shapes if getattr(sh,'has_text_frame',False)) print(i, len(txt), txt[:70].replace('\n',' / ')) PY

Running Command

python - <<'PY' from pptx import Presentation from pathlib import Path p=Path('/tmp/workspace/dissociative-disorders-ppt/output/Dissociative_Disorders.pptx') prs=Presentation(str(p)) assert len(prs.slides)==12 for idx, slide in enumerate(prs.slides, 1): texts=[sh.text.strip() for sh in slide.shapes if getattr(sh,'has_text_frame',False) and sh.text.strip()] assert texts, f'Empty slide {idx}' for sh in slide.shapes: assert sh.left >= 0 and sh.top >= 0, f'Negative placement slide {idx}' assert sh.left+sh.width <= prs.slide_width+1000, f'Overflow width slide {idx}' assert sh.top+sh.height <= prs.slide_height+1000, f'Overflow height slide {idx}' print(f'Validated {len(prs.slides)} slides; {p.stat().st_size:,} bytes') PY ls -lh "/tmp/workspace/dissociative-disorders-ppt/output/Dissociative_Disorders.pptx"

Created a 12-slide teaching presentation covering definition, DSM-5-TR classification, clinical features, assessment, differential diagnosis, treatment principles, supportive communication, a case discussion, and references.

Dissociative Disorders

Presentation · PPTX

Get contebt from kalpan synopsis of psychiatry nd prepare ppt

Reading File
Reading File
Finding Sources
Finding Sources
Searching the Web

dissociative disorders clinical overview DSM 5 APA

Searching PubMed

"Dissociative Disorders"[MeSH Terms]

Browsing Directory

~/

Finding Sources
Reading File
Reading File
Reading File
Reading File
Reading File
Finding Sources
Reading File
Reading File
Reading File
Reading File
Browsing Directory

~/dissociative-disorders-ppt/

Reading File
Running Command

python - <<'PY' from pathlib import Path p=Path('/tmp/workspace/dissociative-disorders-ppt/src/create_kaplan_synopsis_deck.py') p.write_text('''from pptx import Presentation\nfrom pptx.util import Inches, Pt\nfrom pptx.enum.shapes import MSO_SHAPE\nfrom pptx.enum.text import PP_ALIGN, MSO_ANCHOR\nfrom pptx.dml.color import RGBColor\n\nOUT="/tmp/workspace/dissociative-disorders-ppt/output/Dissociative_Disorders_Kaplan_Synopsis.pptx"\nprs=Presentation(); prs.slide_width=Inches(13.333); prs.slide_height=Inches(7.5); blank=prs.slide_layouts[6]\nNAVY=RGBColor(20,41,66); TEAL=RGBColor(19,128,135); GOLD=RGBColor(221,166,63); CORAL=RGBColor(201,89,78); SKY=RGBColor(232,243,247); PALE=RGBColor(247,249,251); INK=RGBColor(38,51,64); MUTED=RGBColor(90,105,119); WHITE=RGBColor(255,255,255); LINE=RGBColor(210,220,226)\ndef box(s,x,y,w,h,c,round=False,line=None):\n sh=s.shapes.add_shape(MSO_SHAPE.ROUNDED_RECTANGLE if round else MSO_SHAPE.RECTANGLE, Inches(x),Inches(y),Inches(w),Inches(h)); sh.fill.solid(); sh.fill.fore_color.rgb=c; sh.line.color.rgb=line or c; return sh\ndef tx(s,v,x,y,w,h,sz=18,c=INK,b=False,a=PP_ALIGN.LEFT):\n tb=s.shapes.add_textbox(Inches(x),Inches(y),Inches(w),Inches(h)); f=tb.text_frame; f.clear(); f.word_wrap=True; f.margin_left=f.margin_right=f.margin_top=f.margin_bottom=Pt(0); f.vertical_anchor=MSO_ANCHOR.TOP; p=f.paragraphs[0]; p.alignment=a; r=p.add_run();r.text=v;r.font.name='Aptos';r.font.size=Pt(sz);r.font.bold=b;r.font.color.rgb=c;return tb\ndef bullets(s,arr,x,y,w,h,sz=16):\n tb=s.shapes.add_textbox(Inches(x),Inches(y),Inches(w),Inches(h)); f=tb.text_frame;f.clear();f.word_wrap=True;f.margin_left=Pt(5);f.margin_right=Pt(2);f.margin_top=Pt(2)\n for i,v in enumerate(arr):\n p=f.paragraphs[0] if i==0 else f.add_paragraph();p.text=v;p.bullet=True;p.font.name='Aptos';p.font.size=Pt(sz);p.font.color.rgb=INK;p.space_after=Pt(9)\n return tb\ndef header(s,title,tag,n):\n box(s,0,0,13.333,.18,TEAL);tx(s,tag.upper(),.65,.4,8,.22,10,TEAL,True);tx(s,title,.65,.68,11.4,.48,27,NAVY,True);tx(s,f"{n:02}",12.05,.45,.6,.26,11,TEAL,True,PP_ALIGN.RIGHT)\ndef foot(s,pages):\n box(s,.65,7.05,12.05,.01,LINE);tx(s,f"Source: Kaplan & Sadock’s Synopsis of Psychiatry, 12th ed., Chapter 11, pp. {pages}",.65,7.15,11.8,.16,8,MUTED)\ndef label(s,t,x,y,w,c=TEAL): box(s,x,y,w,.33,c,True);tx(s,t,x,y+.07,w,.14,9,WHITE,True,PP_ALIGN.CENTER)\n#1\ns=prs.slides.add_slide(blank);box(s,0,0,13.333,7.5,NAVY);box(s,9,0,4.333,7.5,TEAL)\nfor x,y,w,h,c in [(9.7,1.1,2.1,1.8,SKY),(10.4,3.2,1.9,1.25,GOLD),(9.4,4.85,1.35,1.1,CORAL)]:box(s,x,y,w,h,c,True)\ntx(s,"DISSOCIATIVE\\nDISORDERS",.85,1.5,7.3,1.3,35,WHITE,True);tx(s,"A Kaplan & Sadock’s Synopsis of Psychiatry-based presentation",.88,3.25,6.7,.35,17,RGBColor(205,227,235));label(s,"CHAPTER 11",.88,4.05,1.7);tx(s,"Core clinical features, assessment and management",.88,6.65,6,.25,11,RGBColor(190,211,222))\n#2\ns=prs.slides.add_slide(blank);header(s,"Definition and clinical frame","Overview",2);box(s,.65,1.5,5.7,4.9,PALE,True,LINE);label(s,"KAPLAN SYNOPSIS",.95,1.82,1.8);tx(s,"Dissociation",.95,2.45,2.5,.3,23,NAVY,True);tx(s,"An unconscious defense mechanism involving segregation of a group of mental or behavioral processes from the rest of psychic activity.",.95,3.0,4.75,1.15,19,INK);box(s,6.75,1.5,5.9,4.9,SKY,True,LINE);tx(s,"Disruption may involve",7.08,1.87,3.7,.3,21,NAVY,True);bullets(s,["Memory","Identity","Perception","Consciousness","Motor behavior"],7.12,2.5,4.2,3.05,18);tx(s,"Course may be sudden or gradual, transient or chronic. Psychological trauma is often implicated.",7.12,5.65,4.85,.48,14,MUTED);foot(s,"1354")\n#3\ns=prs.slides.add_slide(blank);header(s,"Diagnostic categories","Classification",3);tx(s,"The central DSM-5 diagnostic group",.65,1.4,4.5,.25,17,MUTED)\nitems=[("Dissociative amnesia","Autobiographical memory loss",TEAL),("Depersonalization/derealization disorder","Detachment from self or surroundings",GOLD),("Dissociative identity disorder","Two or more distinct personality states",CORAL),("Other specified / unspecified","Clinically significant mixed or atypical presentations",RGBColor(105,132,164))]\nfor i,(a,b,c) in enumerate(items):\n y=1.9+i*1.08;box(s,.75,y,11.85,.84,WHITE,True,LINE);box(s,.75,y,.17,.84,c);tx(s,a,1.18,y+.16,4.65,.24,17,NAVY,True);tx(s,b,6.0,y+.18,5.5,.28,15,INK)\nfoot(s,"1354, 1371")\n#4\ns=prs.slides.add_slide(blank);header(s,"Dissociative amnesia","Clinical features",4);box(s,.65,1.5,5.85,4.95,PALE,True,LINE);tx(s,"Defining feature",.98,1.86,2.8,.28,21,NAVY,True);tx(s,"Inability to recall important personal information, usually related to a significant trauma or stressor, beyond ordinary forgetfulness.",.98,2.4,4.9,1.0,18,INK);bullets(s,["Not attributable to substance effects","Not attributable to neurologic or other medical conditions","May present with depersonalization, derealization, trance states or altered consciousness","Assess depression and suicidal ideation"],.98,3.75,4.95,2.15,15);box(s,6.85,1.5,5.8,4.95,SKY,True,LINE);tx(s,"Forms of amnesia",7.18,1.86,3,.28,21,NAVY,True);bullets(s,["Localized: circumscribed period","Selective: some events within a period","Generalized: entire life","Continuous: successive events","Systematized: category of information"],7.18,2.42,4.8,3.4,17);foot(s,"1355-1357")\n#5\ns=prs.slides.add_slide(blank);header(s,"Dissociative amnesia: assessment","Interview prompts",5);box(s,.65,1.5,12,4.95,PALE,True,LINE);tx(s,"Kaplan & Sadock’s mental-status questions help identify clinically significant discontinuities in recall.",.95,1.86,10.8,.3,17,MUTED);qs=["Blackouts, blank spells, or memory lapses?","Loss of time or gaps in experience of time?","Travel without recall of how or where?","Reports of actions or statements not remembered?","Unexplained possessions or unfamiliar skills/tastes?","Gaps in autobiographical memory?"]\nfor i,q in enumerate(qs):\n x=.98+(i%2)*5.85;y=2.5+(i//2)*1.05;box(s,x,y,.45,.45,TEAL,True);tx(s,str(i+1),x,y+.11,.45,.15,11,WHITE,True,PP_ALIGN.CENTER);tx(s,q,x+.65,y+.03,4.65,.36,15,INK)\ntx(s,"Clarify timing and ensure that symptoms do not occur during intoxication.",.98,5.95,10.5,.23,14,CORAL,True);foot(s,"1357-1358")\n#6\ns=prs.slides.add_slide(blank);header(s,"Depersonalization/derealization disorder","Clinical features",6);box(s,.65,1.55,5.8,4.85,PALE,True,LINE);label(s,"DEPERSONALIZATION",.95,1.86,2.15,TEAL);tx(s,"Persistent or recurrent detachment or estrangement from oneself.",.95,2.48,4.7,.55,18,NAVY,True);bullets(s,["Feeling like an automaton","Feeling as if observing oneself in a movie","Altered time, body or perception experiences"],.95,3.35,4.7,2.0,16);box(s,6.85,1.55,5.8,4.85,SKY,True,LINE);label(s,"DEREALIZATION",7.15,1.86,1.72,GOLD);tx(s,"Feelings of unreality or detachment from the environment.",7.15,2.48,4.7,.55,18,NAVY,True);bullets(s,["World may feel dreamlike, remote or emotionally colourless","Reality testing is intact","Requires distress or impairment and exclusion of substances, medical causes and other mental disorders"],7.15,3.35,4.7,2.0,16);foot(s,"1361-1362")\n#7\ns=prs.slides.add_slide(blank);header(s,"Dissociative identity disorder","Core diagnostic features",7);box(s,.65,1.5,5.85,4.95,PALE,True,LINE);tx(s,"Identity disruption",.97,1.88,3,.28,21,NAVY,True);tx(s,"Presence of two or more distinct identities or personality states. Each has its own pattern of perceiving, relating to and thinking about self and environment.",.97,2.4,4.92,1.3,18,INK);box(s,6.85,1.5,5.8,4.95,SKY,True,LINE);tx(s,"Memory discontinuity",7.17,1.88,3.2,.28,21,NAVY,True);bullets(s,["Reports of ‘losing time’ beyond ordinary forgetting","Blackout spells and sharply demarcated gaps in recall","Often significant autobiographical memory gaps, especially childhood events","Other dissociative symptoms may coexist"],7.17,2.48,4.8,2.7,16);foot(s,"1363-1364")\n#8\ns=prs.slides.add_slide(blank);header(s,"DID: associated features and comorbidity","Clinical complexity",8);box(s,.65,1.55,5.85,4.85,PALE,True,LINE);tx(s,"Associated symptoms",.98,1.9,3.2,.3,21,NAVY,True);bullets(s,["PTSD symptoms: intrusion, hyperarousal, avoidance and numbing","Somatic, conversion or seizure-like symptoms","Pain complaints and psychophysiologic symptoms","Rapid mood shifts can be posttraumatic/dissociative rather than cyclic mood disorder"],.98,2.45,4.88,3.2,16);box(s,6.85,1.55,5.8,4.85,SKY,True,LINE);tx(s,"Common comorbidity",7.18,1.9,3.2,.3,21,NAVY,True);bullets(s,["Depressive and anxiety disorders","Trauma- and stressor-related disorders","Eating disorders and OCD","Somatic symptom and conversion disorders","Personality disorders"],7.18,2.45,4.8,3.2,16);foot(s,"1364, 1372")\n#9\ns=prs.slides.add_slide(blank);header(s,"Differential diagnosis","Assessment safeguards",9);tx(s,"A detailed mental-status examination and medical/neurologic assessment are essential.",.65,1.38,10.5,.25,16,MUTED)\nrows=[("Psychotic disorders","Avoid confusing dissociative experiences with psychosis."),("Mood, anxiety, PTSD, personality disorders","May be comorbid or alternative explanations."),("Neurocognitive, neurologic and seizure disorders","Assess organic conditions and head injury."),("Substance-related conditions","Clarify intoxication, withdrawal and medication timing."),("Factitious disorder and malingering","No single test always distinguishes genuine from falsified symptoms.")]\nfor i,(a,b) in enumerate(rows):\n y=1.95+i*.82;box(s,.75,y,11.85,.73,WHITE if i%2 else PALE,False,LINE);tx(s,a,1.02,y+.17,3.5,.22,15,NAVY,True);tx(s,b,4.55,y+.16,7.25,.3,14,INK)\nfoot(s,"1360, 1369-1370")\n#10\ns=prs.slides.add_slide(blank);header(s,"Course and prognosis","What to expect",10);cols=[("Dissociative amnesia","Acute episodes often resolve after removal to safety. Some chronic generalized, continuous or severe localized forms cause marked disability.",TEAL),("DP/DR disorder","May remit after trauma or intoxication resolves; course can be episodic, relapsing-remitting or chronic. Typical onset: late adolescence/early adulthood.",GOLD),("DID","Natural history without treatment is uncertain. Prognosis worsens with comorbid medical/psychotic illness, refractory substance use, ongoing victimization or repeated trauma.",CORAL)]\nfor i,(t,d,c) in enumerate(cols):\n x=.7+i*4.18;box(s,x,1.85,3.55,4.35,PALE,True,LINE);box(s,x,1.85,3.55,.16,c);tx(s,t,x+.25,2.2,2.95,.55,20,NAVY,True,PP_ALIGN.CENTER);tx(s,d,x+.35,3.15,2.85,2.25,15,INK,False,PP_ALIGN.CENTER)\nfoot(s,"1372-1374")\n#11\ns=prs.slides.add_slide(blank);header(s,"Treatment principles","Management",11);tx(s,"Psychotherapy is the primary treatment approach. Care is individualized and trauma-informed.",.65,1.38,10.8,.28,17,MUTED)\nsteps=[("Safety and stabilization","Ensure safety, reduce acute symptoms, establish therapeutic alliance.",TEAL),("Careful trauma work","Use paced, patient-specific psychotherapy. Avoid destabilizing interventions when not well stabilized.",GOLD),("Integration and rehabilitation","Strengthen continuity, coping, functioning and relationships.",CORAL)]\nfor i,(t,d,c) in enumerate(steps):\n x=.75+i*4.15;box(s,x,2.05,3.52,2.85,WHITE,True,LINE);box(s,x,2.05,3.52,.15,c);tx(s,t,x+.25,2.42,2.9,.52,19,NAVY,True,PP_ALIGN.CENTER);tx(s,d,x+.35,3.35,2.8,.8,15,INK,False,PP_ALIGN.CENTER)\nbox(s,1.55,5.48,10.18,.6,SKY,True);tx(s,"Medication may target comorbid depression, anxiety, sleep disturbance or other conditions, rather than dissociation itself.",1.8,5.67,9.7,.22,14,INK,False,PP_ALIGN.CENTER);foot(s,"1374-1377")\n#12\ns=prs.slides.add_slide(blank);header(s,"Key messages","Summary",12);box(s,.65,1.45,6.15,4.95,PALE,True,LINE);tx(s,"Take-home points",.98,1.86,3.2,.3,22,NAVY,True);bullets(s,["Dissociative disorders disrupt integration of memory, identity, perception and consciousness.","Dissociative amnesia, DP/DR disorder and DID have distinct clinical patterns.","Ask directly about time loss and memory discontinuity, while assessing safety and exclusions.","Differential diagnosis must include psychiatric, neurologic, medical, substance-related and feigned presentations.","Psychotherapy, stabilization and treatment of comorbidity guide care."],.98,2.4,5.18,3.5,16);box(s,7.15,1.45,5.5,4.95,SKY,True,LINE);tx(s,"Primary source",7.48,1.86,2.6,.3,22,NAVY,True);tx(s,"Kaplan & Sadock’s Synopsis of Psychiatry",7.48,2.45,4.35,.36,18,TEAL,True);tx(s,"12th edition\\nChapter 11: Dissociative Disorders\\npp. 1354-1377",7.48,3.15,3.8,.95,17,INK);tx(s,"Prepared as an educational summary. It does not replace a clinical assessment or local guideline.",7.48,5.25,4.25,.55,13,MUTED);foot(s,"1354-1377")\nprs.save(OUT); print(OUT)\n''') PY python "/tmp/workspace/dissociative-disorders-ppt/src/create_kaplan_synopsis_deck.py" python - <<'PY' from pptx import Presentation from pathlib import Path p=Path('/tmp/workspace/dissociative-disorders-ppt/output/Dissociative_Disorders_Kaplan_Synopsis.pptx'); prs=Presentation(str(p)) assert len(prs.slides)==12 for i,s in enumerate(prs.slides,1): txt=' '.join(sh.text for sh in s.shapes if getattr(sh,'has_text_frame',False)) assert len(txt)>40, i for sh in s.shapes: assert sh.left>=0 and sh.top>=0 and sh.left+sh.width<=prs.slide_width+1000 and sh.top+sh.height<=prs.slide_height+1000,(i,sh.left,sh.top) print('Verified',len(prs.slides),'slides,',p.stat().st_size,'bytes') PY

Prepared a 12-slide PowerPoint using content from Kaplan & Sadock’s Synopsis of Psychiatry, 12th edition, Chapter 11: Dissociative Disorders.

Dissociative Disorders Kaplan Synopsis

Presentation · PPTX

This is a shared conversation. Sign in to Orris to start your own chat.