# Therapy Practice

For physiotherapy and therapy practices: treatment plans from prescriptions with sessions left, appointments per therapist and room, and a service list with prices\. Administrative data only: no diagnoses are stored\.

Source: https://erpoida.com/templates/use-case/therapy-practice/
Languages: de, en

## يعتمد على

عند إضافة القالب تُفعَّل هذه التطبيقات إن كانت متوقفة: إدارة العملاء, الفواتير, الموظفون\.

## كيف ترتبط الكائنات

- Treatment plan يرتبط بـ Contact عبر الحقل «Patient»\.
- Appointment يرتبط بـ Treatment plan عبر الحقل «Treatment plan»\.
- Appointment يرتبط بـ Contact عبر الحقل «Patient»\.
- Appointment يرتبط بـ Employee عبر الحقل «Therapist»\.

## Treatment plans

| الحقل | النوع | التفاصيل |
|---|---|---|
| Plan | نص | إلزامي |
| Patient | ارتباط | إلزامي · يرتبط بـ Contact |
| Treatment | اختيار | الخيارات: Physiotherapy, Manual therapy, Lymph drainage, Massage, Exercise therapy, Occupational therapy, Other · القيمة الافتراضية: Physiotherapy |
| Paid by | اختيار | الخيارات: Statutory insurance, Private insurance, Self pay, Employer accident insurance · القيمة الافتراضية: Statutory insurance |
| Status | اختيار | الخيارات: Planned, Active, Completed, Cancelled · القيمة الافتراضية: Planned |
| Prescribed by | نص | — |
| Prescription date | تاريخ | — |
| Start by | تاريخ | — |
| Sessions prescribed | رقم | — |
| Sessions done | رقم | القيمة الافتراضية: 0 |
| Sessions left | معادلة | محسوب: \[Sessions prescribed\] \- \[Sessions done\] |
| Co\-payment \(%\) | رقم | القيمة الافتراضية: 10 |
| Home visits | نعم / لا | القيمة الافتراضية: لا |

### طرق العرض
- **table**: جدول بالأعمدة: Plan, Patient, Treatment, Paid by, Status, Sessions prescribed, Sessions done, Sessions left\.
- **board**: لوحة بعمود لكل قيمة من Status؛ اسحب البطاقة لتغييرها\.
- **running**: جدول بالأعمدة: Plan, Patient, Sessions left, Start by\. تعرض فقط السجلات التي فيها Status = active\.
- **by\_payer**: رسم بياني: عدد السجلات حسب Paid by\.

## Appointments

| الحقل | النوع | التفاصيل |
|---|---|---|
| Appointment | نص | إلزامي |
| Treatment plan | ارتباط | يرتبط بـ Treatment plan |
| Patient | ارتباط | إلزامي · يرتبط بـ Contact |
| Therapist | ارتباط | يرتبط بـ Employee |
| Date | تاريخ | إلزامي |
| Start time | نص | — |
| Duration \(min\) | رقم | القيمة الافتراضية: 30 |
| Room | اختيار | الخيارات: Room 1, Room 2, Room 3, Gym, Home visit · القيمة الافتراضية: Room 1 |
| Status | اختيار | الخيارات: Booked, Confirmed, Done, No show, Cancelled · القيمة الافتراضية: Booked |
| Cancelled late | نعم / لا | القيمة الافتراضية: لا |

### طرق العرض
- **table**: جدول بالأعمدة: Appointment, Patient, Therapist, Date, Start time, Room, Status\.
- **calendar**: تقويم حسب Date\.
- **board**: لوحة بعمود لكل قيمة من Status؛ اسحب البطاقة لتغييرها\.
- **load\_by\_therapist**: جدول محوري: المجموع لـ Duration \(min\) حسب Therapist\.

## Services

| الحقل | النوع | التفاصيل |
|---|---|---|
| Service | نص | إلزامي |
| Code | نص | — |
| Minutes | رقم | — |
| Price | مبلغ | المبالغ بعملة EUR |
| Self\-pay only | نعم / لا | القيمة الافتراضية: لا |
| Active | نعم / لا | القيمة الافتراضية: نعم |

### طرق العرض
- **table**: جدول بالأعمدة: Service, Code, Minutes, Price, Self\-pay only, Active\.

## حقول تُضاف إلى كائنات موجودة لديك

- Contacts: Date of birth \(تاريخ\)
- Contacts: Insurance \(اختيار\)

## الأتمتة

تُضاف كمسودات\. راجع كل واحدة وفعّلها عندما تناسب طريقة عملك\.

### No\-show: note it and call the patient

تبدأ عندما: عند تحديث سجل

1. إنشاء تذكير — On a: practice\.appointment · Which record: Trigger record · Record ID

### All sessions done: ask for a follow\-up prescription

تبدأ عندما: عند تحديث سجل

1. فقط إذا تحقق الشرط — Check \{trigger\.sessionsDone\} \>= \{trigger\.sessionsPrescribed\}
   1. إنشاء تذكير — On a: practice\.treatment\_plan · Which record: Trigger record · Record ID

### Prescription must start soon

تبدأ عندما: حسب جدول زمني

1. البحث عن سجلات — Find Treatment plans where \{"status":"planned"\}
2. لكل عنصر — Repeat for each item in Find Treatment plans · Matching records
   1. فقط إذا تحقق الشرط — Check AND\(NOT\(ISBLANK\(\{item\.values\.startBy\}\)\), DATEDIF\(TODAY\(\), \{item\.values\.startBy\}, "D"\) \<= 5\)
      1. إشعار مستخدم — Title: Prescription expires soon: \{\{item\.values\.name\}\} · Message: Book the first appointment\.


[Get template](https://app.erpoida.com/get-template?template=use-case%2Ftherapy-practice)
