職業治療師追蹤器,用於病人記錄、活動得分和會議筆記
病人活動、設備歷史和會議筆記
一個生產就緒的職業治療師追蹤器後端在Back4app上,包含病人、活動得分、設備記錄、會議筆記和狀態歷史。包括ER圖、數據字典、JSON架構、API遊樂場,以及一個AI代理快速啟動提示。
您將獲得的內容
此範本為您提供一個職業治療師追蹤器後端,包括 Patient、MobilityScore、EquipmentLog、SessionNote 和 StatusHistory,以便操作負責人可以檢查流動性變化,貢獻者可以乾淨地更新護理詳細資訊。
- 患者圖表追蹤 — 模型患者,包含 patientId、displayName、dateOfBirth、primaryTherapist 和 mobilityStatus。
- 流動性評估歷史 — 保持 MobilityScore 條目與患者相關聯,包含 scoreDate、scoreType、scoreValue、notes 和 recordedBy。
- 設備責任 — 儲存 EquipmentLog,包含 equipmentName、serialNumber、status、checkedOutAt、returnedAt 和 loggedBy。
- 會議記錄歷史 — 儲存 SessionNote 並包括 sessionDate、sessionType、noteText、followUpNeeded 和作者。
- 審計追踪範圍 — 使用 StatusHistory 記錄病人 statusType 變更,包括 fromValue、toValue、changedBy 和 changeReason。
職業治療師追踪器後端概覽
健康的職業治療師追踪器流程有明確的階段、擁有者和退出標準 — 否則「進行中」會變成一個黑洞。小延遲會迅速累積。Back4app 作為職業治療師追踪實踐的核心實體,將截止日期、文件和通信整合於一個有權限的工作區。該架構涵蓋 <strong>User</strong>(用戶名、電子郵件、密碼、角色)、<strong>Patient</strong>(病人 ID、顯示名稱、出生日期、主治治療師、流動狀態)、<strong>MobilityScore</strong>(病人、分數日期、分數類型、分數值、備註、記錄者)、<strong>EquipmentLog</strong>(病人、設備名稱、序列號、狀態、借出時間、歸還時間、記錄者)、<strong>SessionNote</strong>(病人、會議日期、會議類型、備註文本、是否需要後續跟進、作者),以及 <strong>StatusHistory</strong>(病人、狀態類型、fromValue、toValue、changedBy 和 changeReason),並具有身份驗證、審計準備歷史和隱私意識的訪問。連接您喜歡的前端,並更快地開始跟踪治療數據。
最佳用於:
職業治療師追蹤模板概述
職業治療師追蹤不僅僅是關於速度;當有人問“請給我看你怎麼知道這是真的”時,這也是關於防禦性。
使用此概述來查看病人檔案管理、移動分數追蹤、設備登記歷史如何結合在一起,然後再將工程時間投入到特定的客戶框架中。
職業治療師追蹤器功能
這個中心中的每個技術卡片都使用相同的職業治療師追蹤後端架構,包括Patient、MobilityScore、EquipmentLog、SessionNote和StatusHistory。
病歷管理
病人存儲 patientId、displayName、dateOfBirth、primaryTherapist 和 mobilityStatus。
移動性評分追蹤
MobilityScore 連結病人、scoreDate、scoreType、scoreValue、notes 和 recordedBy。
設備日誌歷史
EquipmentLog 捕捉病人、設備名稱、序列號、狀態、借出時間、歸還時間及登錄者。
會話記錄
SessionNote 保存病人、會話日期、會話類型、備註文本、是否需要跟進及作者。
狀態歷史痕跡
StatusHistory 記錄病人、狀態類型、從值、到值、變更者及變更原因。
為什麼在 Back4app 上構建您的職業治療師追蹤後端?
Back4app 為您提供 Patient、MobilityScore、EquipmentLog、SessionNote 和 StatusHistory 原始類型,以便您的團隊能專注於護理工作流程,而不是數據庫的管理。
- •一個模型中的患者和行動歷史: Patient 和 MobilityScore 類別保持 patientId、displayName、scoreDate、scoreType、scoreValue 和 recordedBy 在每次評審中均一致。
- •設備可追溯性: EquipmentLog 記錄包含 equipmentName、serialNumber、status、checkedOutAt 和 returnedAt,幫助追蹤設備的交接和歸還。
- •帶有評審上下文的會議記錄: 使用 SessionNote noteText、sessionDate、followUpNeeded 和 author,以便貢獻者可以看到每次治療訪問中發生的事件。
通過跨所有平台的一個後端合約快速構建和更新職業治療工作流程。
護理工作流程優勢
一個保持治療數據可讀、可追溯並準備審查的臨床操作後端。
更快的圖表設置
從Patient、MobilityScore、EquipmentLog、SessionNote和StatusHistory類別開始,而不是從零設計一個治療數據庫。
更清晰的設備責任
使用EquipmentLog的serialNumber、checkedOutAt、returnedAt和status字段來查看哪個設備被分配、歸還或正在維修。
可見的評估記錄
MobilityScore的scoreDate、scoreType、scoreValue和notes使治療進展在多次訪問中易於審核。
與會議相關的備註
SessionNote noteText、sessionDate、followUpNeeded 和 author 保持跟進上下文與正確的病人記錄相關。
更安全的訪問控制
應用 ACL/CLP 規則,以便只有獲批的使用者可以創建或編輯病人、MobilityScore、EquipmentLog、SessionNote 和 StatusHistory 記錄。
AI 助手啟動
使用一個結構化提示快速生成後端搭建和集成指導。
準備啟動你的職業治療師追蹤應用程式了嗎?
讓 Back4app AI 代理為你的職業治療師追蹤後端搭建骨架,並從一個提示中生成病人、MobilityScore、EquipmentLog、SessionNote 和 StatusHistory 流程。
免費開始 — 每月 50 個 AI 代理提示,不需要信用卡
追蹤器的技術棧
此職業治療師追蹤器後端範本中包含所有內容。
病人關係圖
職業治療師追蹤後端架構的實體關係模型。
涵蓋用戶、病人、行動評分、設備日誌、會議備忘錄和狀態歷史的架構。
查看圖表來源
erDiagram
User ||--o{ Patient : "primaryTherapist"
User ||--o{ MobilityScore : "recordedBy"
User ||--o{ EquipmentLog : "loggedBy"
User ||--o{ SessionNote : "author"
User ||--o{ StatusHistory : "changedBy"
Patient ||--o{ MobilityScore : "patient"
Patient ||--o{ EquipmentLog : "patient"
Patient ||--o{ SessionNote : "patient"
Patient ||--o{ StatusHistory : "patient"
User {
String objectId PK
String username
String email
String password
String role
Date createdAt
Date updatedAt
}
Patient {
String objectId PK
String patientId
String displayName
Date dateOfBirth
String primaryTherapistId FK
String mobilityStatus
Date createdAt
Date updatedAt
}
MobilityScore {
String objectId PK
String patientId FK
Date scoreDate
String scoreType
Number scoreValue
String notes
String recordedById FK
Date createdAt
Date updatedAt
}
EquipmentLog {
String objectId PK
String patientId FK
String equipmentName
String serialNumber
String status
Date checkedOutAt
Date returnedAt
String loggedById FK
Date createdAt
Date updatedAt
}
SessionNote {
String objectId PK
String patientId FK
Date sessionDate
String sessionType
String noteText
Boolean followUpNeeded
String authorId FK
Date createdAt
Date updatedAt
}
StatusHistory {
String objectId PK
String patientId FK
String statusType
String fromValue
String toValue
String changedById FK
String changeReason
Date createdAt
Date updatedAt
}
追蹤請求流程
登入、病人檢閱、行動評分輸入、設備記錄和會議備忘錄更新的典型運行流程。
查看圖表來源
sequenceDiagram
participant User
participant OT as Occupational Therapist Tracker App
participant Back4app as Back4app Cloud
User->>OT: Sign in with therapist account
OT->>Back4app: POST /login
Back4app-->>OT: Session token
User->>OT: Load patient caseload
OT->>Back4app: GET /classes/Patient?include=primaryTherapist
Back4app-->>OT: Patient list with mobility status
User->>OT: Add a mobility score
OT->>Back4app: POST /classes/MobilityScore
Back4app-->>OT: MobilityScore objectId
User->>OT: Log equipment checkout or return
OT->>Back4app: POST /classes/EquipmentLog
Back4app-->>OT: EquipmentLog objectId
User->>OT: Save session notes and status history
OT->>Back4app: POST /classes/SessionNote
OT->>Back4app: POST /classes/StatusHistory
Back4app-->>OT: Audit trail saved實地指南
職業治療師追蹤架構中每個類別的完整字段級參考。
| 字段 | 類型 | 描述 | 必需 |
|---|---|---|---|
| objectId | String | Auto-generated unique identifier | 自動 |
| username | String | User login name | |
| String | User email address | ||
| password | String | Hashed password (write-only) | |
| role | String | User role (e.g. lead, therapist, contributor) | |
| createdAt | Date | Auto-generated creation timestamp | 自動 |
| updatedAt | Date | Auto-generated last-update timestamp | 自動 |
7 欄位在 User 中
訪問規則和權限
如何通過ACL和CLP策略保護用戶、病人、活動分數、設備記錄、會話備忘錄和狀態歷史。
病患圖表控制
只有獲授權的貢獻者可以創建或更新病患記錄及相關臨床對象。
設備處理責任
只有經批准的用戶可以創建或編輯設備日誌條目,以保持序列號、借用時間、歸還時間和狀態變更的可審計性。
範圍臨床可見性
限制讀取權限,以便用戶僅查看他們被允許審查的病患圖表、活動分數條目、會話記錄和狀態歷史行。
JSON Schema
原始JSON架構定義,準備好可以複製到Back4app或用作實施參考。
{
"classes": [
{
"className": "User",
"fields": {
"objectId": {
"type": "String",
"required": false
},
"username": {
"type": "String",
"required": true
},
"email": {
"type": "String",
"required": true
},
"password": {
"type": "String",
"required": true
},
"role": {
"type": "String",
"required": true
},
"createdAt": {
"type": "Date",
"required": false
},
"updatedAt": {
"type": "Date",
"required": false
}
}
},
{
"className": "Patient",
"fields": {
"objectId": {
"type": "String",
"required": false
},
"patientId": {
"type": "String",
"required": true
},
"displayName": {
"type": "String",
"required": true
},
"dateOfBirth": {
"type": "Date",
"required": false
},
"primaryTherapist": {
"type": "Pointer",
"required": true,
"targetClass": "User"
},
"mobilityStatus": {
"type": "String",
"required": true
},
"createdAt": {
"type": "Date",
"required": false
},
"updatedAt": {
"type": "Date",
"required": false
}
}
},
{
"className": "MobilityScore",
"fields": {
"objectId": {
"type": "String",
"required": false
},
"patient": {
"type": "Pointer",
"required": true,
"targetClass": "Patient"
},
"scoreDate": {
"type": "Date",
"required": true
},
"scoreType": {
"type": "String",
"required": true
},
"scoreValue": {
"type": "Number",
"required": true
},
"notes": {
"type": "String",
"required": false
},
"recordedBy": {
"type": "Pointer",
"required": true,
"targetClass": "User"
},
"createdAt": {
"type": "Date",
"required": false
},
"updatedAt": {
"type": "Date",
"required": false
}
}
},
{
"className": "EquipmentLog",
"fields": {
"objectId": {
"type": "String",
"required": false
},
"patient": {
"type": "Pointer",
"required": true,
"targetClass": "Patient"
},
"equipmentName": {
"type": "String",
"required": true
},
"serialNumber": {
"type": "String",
"required": false
},
"status": {
"type": "String",
"required": true
},
"checkedOutAt": {
"type": "Date",
"required": false
},
"returnedAt": {
"type": "Date",
"required": false
},
"loggedBy": {
"type": "Pointer",
"required": true,
"targetClass": "User"
},
"createdAt": {
"type": "Date",
"required": false
},
"updatedAt": {
"type": "Date",
"required": false
}
}
},
{
"className": "SessionNote",
"fields": {
"objectId": {
"type": "String",
"required": false
},
"patient": {
"type": "Pointer",
"required": true,
"targetClass": "Patient"
},
"sessionDate": {
"type": "Date",
"required": true
},
"sessionType": {
"type": "String",
"required": true
},
"noteText": {
"type": "String",
"required": true
},
"followUpNeeded": {
"type": "Boolean",
"required": true
},
"author": {
"type": "Pointer",
"required": true,
"targetClass": "User"
},
"createdAt": {
"type": "Date",
"required": false
},
"updatedAt": {
"type": "Date",
"required": false
}
}
},
{
"className": "StatusHistory",
"fields": {
"objectId": {
"type": "String",
"required": false
},
"patient": {
"type": "Pointer",
"required": true,
"targetClass": "Patient"
},
"statusType": {
"type": "String",
"required": true
},
"fromValue": {
"type": "String",
"required": false
},
"toValue": {
"type": "String",
"required": true
},
"changedBy": {
"type": "Pointer",
"required": true,
"targetClass": "User"
},
"changeReason": {
"type": "String",
"required": false
},
"createdAt": {
"type": "Date",
"required": false
},
"updatedAt": {
"type": "Date",
"required": false
}
}
}
]
}與AI代理一起構建
使用 Back4app AI 代理從此模板生成一個真正的職業治療師追蹤應用程序,包括前端、後端、身份驗證,以及患者、MobilityScore、EquipmentLog、SessionNote 和 StatusHistory 流程。
在 Back4app 上使用這個確切的架構和行為創建一個職業治療師追蹤應用程序後端。 架構: 1. 用戶(使用 Back4app 內建):用戶名、電子郵件、密碼、角色;objectId,createdAt,updatedAt(系統)。 2. 患者:patientId(字符串,必填),displayName(字符串,必填),dateOfBirth(日期,可選),primaryTherapist(指向用戶的指標,必填),mobilityStatus(字符串,必填);objectId,createdAt,updatedAt(系統)。 3. MobilityScore:患者(指向患者的指標,必填),scoreDate(日期,必填),scoreType(字符串,必填),scoreValue(數字,必填),notes(字符串,可選),recordedBy(指向用戶的指標,必填);objectId,createdAt,updatedAt(系統)。 4. EquipmentLog:患者(指向患者的指標,必填),equipmentName(字符串,必填),serialNumber(字符串,可選),status(字符串,必填),checkedOutAt(日期,可選),returnedAt(日期,可選),loggedBy(指向用戶的指標,必填);objectId,createdAt,updatedAt(系統)。 5. SessionNote:患者(指向患者的指標,必填),sessionDate(日期,必填),sessionType(字符串,必填),noteText(字符串,必填),followUpNeeded(布林值,必填),author(指向用戶的指標,必填);objectId,createdAt,updatedAt(系統)。 6. StatusHistory:患者(指向患者的指標,必填),statusType(字符串,必填),fromValue(字符串,可選),toValue(字符串,必填),changedBy(指向用戶的指標,必填),changeReason(字符串,可選);objectId,createdAt,updatedAt(系統)。 安全性: - 只有指定的治療師和主要用戶可以查看患者詳細信息。 - 只有擁有患者的治療師或主要用戶可以更新患者、MobilityScore、EquipmentLog、SessionNote 和 StatusHistory。 - 每次更改 mobilityStatus 都應創建一條 StatusHistory 記錄。 - 保持會議記錄和患者識別信息私密。 身份驗證: - 註冊、登錄、登出。 行為: - 加載案件工作量,記錄移動分數,記錄設備借出或歸還,保存會議記錄,並保持可審計的狀態歷史。 交付: - Back4app 應用程序,包含架構、ACL、CLP;用於患者管理、評分、設備跟蹤、筆記和審計歷史的前端。
按下下面的按鈕以使用此模板提示預填內容打開代理。
這是沒有技術後綴的基本提示。您可以在後面調整生成的前端堆棧。
API 沙盒
對職業治療師追踪器架構測試 REST 和 GraphQL 端點。響應使用模擬數據,且不需要 Back4app 帳戶。
使用與此模板相同的架構。
選擇你的技術堆疊
展開每張卡片以查看如何將病人、ID和名稱與您選擇的技術棧整合。
Flutter 職業治療師追蹤後端
React 職業治療師追蹤後端
React 原生 職業治療師追蹤後端
Next.js 職業治療師追蹤後端
JavaScript 職業治療師追蹤後端
Android 職業治療師追蹤後端
iOS 職業治療師追蹤後端
Vue 職業治療師追蹤後端
Angular 職業治療師追蹤後端
GraphQL 職業治療師追蹤後端
REST API 職業治療師追蹤後端
PHP 職業治療師追蹤後端
.NET 職業治療師追蹤後端
使用每項技術獲得的內容
每個技術棧使用相同的職業治療師追踪後端架構和API合約。
統一的療法數據結構
管理患者圖表、MobilityScore條目、EquipmentLog事件、SessionNote記錄和StatusHistory行,使用一個模式。
為護理團隊提供Mobility score工作流程
跟踪每次患者評估的scoreDate、scoreType、scoreValue和recordedBy。
設備保管登錄
捕獲equipmentName、serialNumber、status、checkedOutAt和returnedAt,以保持交接的可審計性。
貢獻者的會話記錄歷史
存儲sessionType、sessionDate、noteText、followUpNeeded和author以便於圖表審核和交接工作。
編輯的狀態歷史
當患者狀態變更時,記錄statusType、fromValue、toValue、changedBy和changeReason。
職業治療師追蹤堆疊比較
比較所有支持技術的設置速度、SDK 類型和 AI 支持。
| 框架 | 設置時間 | 職業治療師跟踪器好處 | SDK 類型 | AI 支持 |
|---|---|---|---|---|
| 大約 5 分鐘 | 單一代碼庫用於患者病歷和活動得分的移動端及網頁審查。 | 類型化 SDK | 完整 | |
| 少於 5 分鐘 | 快速的網頁儀表板,用於會議記錄和設備日誌。 | 類型化 SDK | 完整 | |
| 約 3–7 分鐘 | 跨平台移動應用程式,用於治療回診和記錄捕捉。 | 類型化 SDK | 完整 | |
| 快速(5 分鐘)設置 | 伺服器渲染的審查介面,用於患者和活動歷史。 | 類型化 SDK | 完整 | |
| 約 3–5 分鐘 | 輕量級的網頁整合,用於會議記錄和設備追蹤。 | Typed SDK | 完整 | |
| 約 5 分鐘 | 原生 Android 應用程式,用於在照護點錄入流動性評分。 | Typed SDK | 完整 | |
| 少於 5 分鐘 | 原生 iOS 應用程式,用於圖表審閱和會議記錄。 | Typed SDK | 完整 | |
| 約 3–7 分鐘 | React 病人時間線和設備日誌的網頁 UI。 | 輸入式 SDK | 完整 | |
| 快速 (5 分鐘) 設定 | 針對操作主管和貢獻者的企業網頁應用程序。 | 輸入式 SDK | 完整 | |
| 少於 2 分鐘 | 靈活的 GraphQL API 用於病人圖表和流動性評分。 | GraphQL API | 完整 | |
| 快速 (2 分鐘) 設定 | REST API 整合設備日誌和會議紀錄。 | REST API | 完整 | |
| 約 3 分鐘 | 伺服器端 PHP 後端用於臨床操作工具。 | REST API | 完整 | |
| 約 3–7 分鐘 | .NET 後端用於治療追蹤和審計歷史。 | 輸入型 SDK | 完整 |
設置時間反映從項目啟動到使用此模板模式首次患者或流動性評分查詢的預期時間。
問題與答案
有關使用此模板構建職業治療師追蹤後端的常見問題。