Skip to content

Instantly share code, notes, and snippets.

@smeech
Created January 31, 2025 16:17
Show Gist options
  • Select an option

  • Save smeech/82b1f09714b644e5743d1bfc7148e582 to your computer and use it in GitHub Desktop.

Select an option

Save smeech/82b1f09714b644e5743d1bfc7148e582 to your computer and use it in GitHub Desktop.
[Psychological assessment] Espanso draft form and output for Bswizzles #espanso
# Espanso draft form and output for Bswizzles
- trigger: /mse
replace: >
Client presented as age {{form1.age}} and was {{form1.alert}}.
Client was {{form1.calm}} and {{form1.attended}} to the interview.
Client was dressed in {{form1.clothing}} clothing appropriate for the
setting with {{form1.hygiene}} as though {{form1.not1}} regularly
attending to ADLs.
Eye contact was {{form1.wnl}}. Speech was {{form1.rtv}}.
Client reported mood as {{form1.mood}}.
Observed affect was {{form1.congruent}}.
Client verbally denied {{form1.risk}} and did {{form1.not2}} appear
to be RTIS.
Insight {{form1.insight}}, impulse control {{form1.impulse}}, and
judgement {{form1.judge}}. TC {{form1.tc}}. TP {{form1.tp}}.
Client reported sleep as {{form1.sleep}}, appetite as {{form1.app}},
and energy as {{form1.energy}}.
No other changes to NVS reported.
vars:
- name: choices # Useful variable of simple choices to save repetition below
type: echo
params:
echo: |
good
moderate
poor
- name: form1
type: form
params:
layout:
"Client presented as age [[age]] and was [[alert]].\n
Client was [[calm]] and [[attended]] to the interview.\n
Client was dressed in [[clothing]] clothing appropriate for the
setting with [[hygiene]]\n
as though [[not1]] regularly attending to ADLs.\n
Eye contact was [[wnl]]. Speech was [[rtv]].\n
Client reported mood as [[mood]]. Observed affect was
[[congruent]].\n
Client verbally denied [[risk]] and did [[not2]] appear to be
RTIS.\n
Insight [[insight]], impulse control [[impulse]], and
judgement [[judge]].\n
TC [[tc]]. TP [[tp]].\n
Client reported sleep as [[sleep]], appetite as [[app]],
and energy as [[energy]].\n
No other changes to NVS reported."
fields:
alert:
type: choice
default: alert
values: |
alert
sleepy
intoxicated
calm:
type: text
default: calm
values: |
agitated
anxious
angry
calm
attended:
type: choice
default: attended
values: |
attended
did not attend
clothing:
multiline: true
default: clean
hygiene:
type: choice
default: good
values: "{{choices}}" # as defined above
not1:
type: list
values: |
not
he was
she was
wnl:
type: text
default: within normal limits
rtv:
type:
mood:
type: choice
default: good
values: "{{choices}}"
congruent:
type:
risk:
not2:
insight:
type: choice
default: good
values: "{{choices}}"
impulse:
type: choice
default: good
values: "{{choices}}"
judge:
type: choice
default: good
values: "{{choices}}"
tc:
tp:
sleep:
type: choice
default: good
values: "{{choices}}"
app:
type: choice
default: good
values: "{{choices}}"
energy:
type: choice
default: good
values: "{{choices}}"
@smeech

smeech commented Jan 31, 2025

Copy link
Copy Markdown
Author

I threw in a list: so you could see how it appears.
Multiline changes the appearances of the other boxes on the line, unfortunately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment