過敏測試
與 AI Agent 一起建構
過敏測試後端

過敏測試應用程式後端範本
安全記錄皮膚刺測試結果並管理免疫療法時間表

一個生產就緒的 過敏測試後端 在 Back4app 上,安全記錄皮膚刺測試結果並管理免疫療法時間表。包括 ER 圖、數據字典、JSON 架構、API 操場,以及一個 AI 代理 提示,用於快速啟動。

主要收穫

發佈一個安全的後端,具備記錄、計劃管理和集中審計日誌,讓您的產品團隊專注於用戶體驗和合規性。

  1. 以病人為中心的數據模型將病人資料鏈接到皮膚刺入測試結果和免疫療法計劃,以便進行全面的跟踪和文檔記錄。
  2. 安全記錄測試結果在記錄皮膚刺入測試結果時,確保病人隱私和數據保護,並附有詳細的元數據。
  3. 免疫療法管理跟踪免疫療法計劃,包括劑量和頻率,並支持版本更新。
  4. 符合合規要求的日誌記錄集中式的 AuditLog 類別記錄敏感事件以供審查、跟蹤和合規。
  5. 內建 API使用 REST 和 GraphQL API 與前端應用程式無縫整合。

什麼是過敏測試應用後端範本?

Back4app 是一個後端即服務 (BaaS),可快速交付。過敏測試應用後端範本是一個預建的架構,用於過敏測試結果和免疫治療計劃。連接您偏好的前端(React、Flutter、Next.js 等)並加速交付。

最佳適用於:

過敏測試應用程式病人記錄管理測試結果的安全登錄免疫療法計劃跟蹤遠程健康整合團隊建立符合HIPAA的解決方案

概覽

過敏測試應用程序需要安全數據管理、可審核的變更以及測試結果和治療計劃的可靠交付。

此模板定義了SkinPrickTestResult、ImmunotherapySchedule、PatientProfile和AuditLog,並擁有所有權和基於角色的規則以便快速和安全的開發。

核心過敏測試功能

這個中心的每一個技術卡片都使用相同的過敏測試後端架構,包括 SkinPrickTestResult、ImmunotherapySchedule、PatientProfile 和 AuditLog。

皮膚刺測試結果日誌

記錄皮膚刺測試的結果,包括病人詳細信息和結果元數據。

免疫療法日程管理

管理免疫療法治療的詳細日程,鏈接到病人。

病人檔案管理

安全存儲病人的身份、人口統計和聯繫信息。

集中化的審計日誌

AuditLog 會捕獲並維護對記錄所採取的關鍵行動的記錄。

為什麼使用 Back4app 建立您的過敏測試應用程式後端?

Back4app 管理後端基本功能——安全性、持久性、API 和即時——讓您能專注於病人護理、隱私工作流程和整合。

  • 安全記錄臨床數據: 內建的身份驗證和 ACL/CLP 模式有助於管理對測試結果和療法資訊的訪問。
  • 審計和來源: AuditLog 追蹤誰查看、發佈或修改關鍵記錄,以支持合規性。
  • 消息和通知: 線程消息和可選的即時更新增強了醫生與病患之間的溝通。

快速部署一個安全的後端以支持您的過敏測試應用程式,並專注於改善臨床工作流程。

核心優勢

一個強調隱私、數據完整性和快速交付的過敏測試後端。

加速的病人體驗

通過利用經過驗證的後端模板迅速實施測試結果記錄和免疫療法日程管理。

強大的數據來源

維持測試結果和療程日程的版本跟踪,以便進行全面的審核。

細粒度的權限

用 ACL/CLP 訪問控制來保護敏感的醫療記錄,以確保只有授權用戶可以查看。

整合的消息傳遞功能

利用安全消息傳遞促進病人與醫療 Provider 之間的通信。

合規準備的日誌記錄

利用集中式 AuditLog 監控用戶行為並確保遵守法規。

AI輔助快速開發

使用AI代理提示啟動您的實施,它可以支持架構、ACL和代碼整合。

準備開發安全的過敏測試應用程式嗎?

讓Back4app AI代理構建您的過敏測試應用程式後端,創建皮膚刺痛測試結果日誌和免疫療法管理設置。

免費開始 — 每月50個AI代理提示,無需信用卡

技術棧

此過敏測試後端模板中包含所有內容。

前端
13+ 技術
後端
Back4app
數據庫
MongoDB
認證
內建認證 + 會話
API
REST 和 GraphQL
實時
Live Queries

ER 圖

過敏測試後端架構的實體關係模型。

查看圖表來源
Mermaid
erDiagram
    PatientProfile ||--o{ TestResult : "has"
    PatientProfile ||--o{ ImmunotherapySchedule : "receives"
    PatientProfile ||--o{ Message : "context for"
    PatientProfile ||--o{ Appointment : "scheduled in"
    _User ||--o{ Message : "sends/receives"
    _User ||--o{ Appointment : "provides"

    PatientProfile {
        String objectId PK
        Pointer user FK
        String displayName
        Date dateOfBirth
        Array allergies
        Date createdAt
        Date updatedAt
    }

    TestResult {
        String objectId PK
        Pointer patient FK
        String testCode
        String testName
        String resultValue
        String status
        Date publishedAt
        Date createdAt
        Date updatedAt
    }

    ImmunotherapySchedule {
        String objectId PK
        Pointer patient FK
        Array injections
        Date lastInjection
        Date createdAt
        Date updatedAt
    }

    Message {
        String objectId PK
        String conversationId
        Pointer from FK
        Pointer to FK
        Pointer patient FK
        String body
        Boolean isRead
        Date sentAt
        Date createdAt
        Date updatedAt
    }

    Appointment {
        String objectId PK
        Pointer patient FK
        Pointer provider FK
        Date startAt
        Date endAt
        String location
        String status
        String reason
        Date createdAt
        Date updatedAt
    }

    AuditLog {
        String objectId PK
        Pointer actor FK
        String entityType
        String entityId
        String action
        String summary
        Date createdAt
        Date updatedAt
    }

整合流程

典型運行流程包括身份驗證、記錄測試結果、更新免疫療法排程和消息傳遞。

查看圖表來源
Mermaid
sequenceDiagram
  participant Patient
  participant App as Allergy Testing App
  participant Clinician
  participant Back4app as Back4app Cloud

  Patient->>App: Sign in with email or SSO
  App->>Back4app: POST /login (credentials/SSO token)
  Back4app-->>App: Return Session Token + Patient context

  Patient->>App: View Allergy Test Results
  App->>Back4app: GET /classes/TestResult?where={"patient":Pointer("PatientProfile","p123")}
  Back4app-->>App: List of TestResult objects

  Patient->>App: Schedule Immunotherapy Appointment
  App->>Back4app: POST /classes/ImmunotherapySchedule (injections)
  Back4app-->>App: ImmunotherapySchedule object created

  Patient->>App: Send secure message to clinician
  App->>Back4app: POST /classes/Message (conversationId, body, to: Pointer(_User, clinicianId))
  Back4app-->>App: Message objectId

  Back4app-->>App: LiveQuery -> new Message or TestResult update
  App-->>Patient: Real-time notification (new message/request)

數據字典

過敏測試架構中每個類別的完整字段級參考。

字段類型描述必填
objectIdStringAuto-generated unique identifier自動
userPointer<_User>Linked Back4app user account
displayNameStringPatient full name shown in UI
dateOfBirthDatePatient date of birth
allergiesArray<String>List of allergies
createdAtDateAuto-generated creation timestamp自動
updatedAtDateAuto-generated last-update timestamp自動

7 欄位在 PatientProfile

安全性與權限

如何使用 ACL、CLP 以及加密策略保護皮膚刺測試結果、免疫治療計畫和審核日誌。

基於角色的訪問與擁有權

實施 ACL,以便患者只能查看自己的測試結果和計畫;CLP 限制未經授權的類別操作。

加密的有效載荷和附件

安全地存儲敏感附件,並利用加密保護靜態數據。

僅附加的審計追蹤

使用伺服器端 Cloud Code 寫入 AuditLog 條目,以確保歷史合規記錄保持防篡改。

架構 (JSON)

原始 JSON 架構定義,可準備複製到 Back4app 或用作實施參考。

JSON
{
  "classes": [
    {
      "className": "PatientProfile",
      "fields": {
        "objectId": {
          "type": "String",
          "required": false
        },
        "user": {
          "type": "Pointer",
          "required": true,
          "targetClass": "_User"
        },
        "displayName": {
          "type": "String",
          "required": true
        },
        "dateOfBirth": {
          "type": "Date",
          "required": false
        },
        "allergies": {
          "type": "Array",
          "required": true
        },
        "createdAt": {
          "type": "Date",
          "required": false
        },
        "updatedAt": {
          "type": "Date",
          "required": false
        }
      }
    },
    {
      "className": "TestResult",
      "fields": {
        "objectId": {
          "type": "String",
          "required": false
        },
        "patient": {
          "type": "Pointer",
          "required": true,
          "targetClass": "PatientProfile"
        },
        "testCode": {
          "type": "String",
          "required": false
        },
        "testName": {
          "type": "String",
          "required": true
        },
        "resultValue": {
          "type": "String",
          "required": false
        },
        "status": {
          "type": "String",
          "required": true
        },
        "publishedAt": {
          "type": "Date",
          "required": false
        },
        "createdAt": {
          "type": "Date",
          "required": false
        },
        "updatedAt": {
          "type": "Date",
          "required": false
        }
      }
    },
    {
      "className": "ImmunotherapySchedule",
      "fields": {
        "objectId": {
          "type": "String",
          "required": false
        },
        "patient": {
          "type": "Pointer",
          "required": true,
          "targetClass": "PatientProfile"
        },
        "injections": {
          "type": "Array",
          "required": true
        },
        "lastInjection": {
          "type": "Date",
          "required": false
        },
        "createdAt": {
          "type": "Date",
          "required": false
        },
        "updatedAt": {
          "type": "Date",
          "required": false
        }
      }
    },
    {
      "className": "Message",
      "fields": {
        "objectId": {
          "type": "String",
          "required": false
        },
        "conversationId": {
          "type": "String",
          "required": true
        },
        "from": {
          "type": "Pointer",
          "required": true,
          "targetClass": "_User"
        },
        "to": {
          "type": "Pointer",
          "required": true,
          "targetClass": "_User"
        },
        "patient": {
          "type": "Pointer",
          "required": true,
          "targetClass": "PatientProfile"
        },
        "body": {
          "type": "String",
          "required": true
        },
        "isRead": {
          "type": "Boolean",
          "required": true
        },
        "sentAt": {
          "type": "Date",
          "required": false
        },
        "createdAt": {
          "type": "Date",
          "required": false
        },
        "updatedAt": {
          "type": "Date",
          "required": false
        }
      }
    },
    {
      "className": "Appointment",
      "fields": {
        "objectId": {
          "type": "String",
          "required": false
        },
        "patient": {
          "type": "Pointer",
          "required": true,
          "targetClass": "PatientProfile"
        },
        "provider": {
          "type": "Pointer",
          "required": true,
          "targetClass": "_User"
        },
        "startAt": {
          "type": "Date",
          "required": true
        },
        "endAt": {
          "type": "Date",
          "required": true
        },
        "location": {
          "type": "String",
          "required": false
        },
        "status": {
          "type": "String",
          "required": true
        },
        "reason": {
          "type": "String",
          "required": false
        },
        "createdAt": {
          "type": "Date",
          "required": false
        },
        "updatedAt": {
          "type": "Date",
          "required": false
        }
      }
    },
    {
      "className": "AuditLog",
      "fields": {
        "objectId": {
          "type": "String",
          "required": false
        },
        "actor": {
          "type": "Pointer",
          "required": true,
          "targetClass": "_User"
        },
        "entityType": {
          "type": "String",
          "required": true
        },
        "entityId": {
          "type": "String",
          "required": true
        },
        "action": {
          "type": "String",
          "required": true
        },
        "summary": {
          "type": "String",
          "required": true
        },
        "createdAt": {
          "type": "Date",
          "required": false
        },
        "updatedAt": {
          "type": "Date",
          "required": false
        }
      }
    }
  ]
}

與 AI 助理一起構建

使用 Back4app AI 助理從此模板生成過敏測試應用,包括後端架構、ACL 和啟動的前端整合。

Back4app AI 助理
準備構建
在 Back4app 上創建一個過敏測試後端,使用這個確切的架構和行為。

架構:
1. SkinPrickTestResult:病人(指向病人),測試日期(必需的日期),結果(對象),objectId,createdAt,updatedAt。
2. ImmunotherapySchedule:病人(指向病人),劑量(字符串),開始日期(日期),結束日期(日期),objectId,createdAt,updatedAt。
3. PatientProfile:用戶(指向用戶,必需),人口統計(對象),聯絡(對象);objectId,createdAt,updatedAt。
4. AuditLog:行為者(指向用戶,必需),動作(字符串),實體類型(字符串),實體ID(字符串),有效負載(對象,選填),createdAt(日期);objectId,createdAt,updatedAt。

安全性:
- 實施ACL以限制病人和 Provider 角色對測試結果和時間表的訪問。使用雲代碼進行安全交易並記錄行為。

身份驗證:
- 支持病人和 Provider 的用戶註冊;管理角色和安全會話處理。

行為:
- 病人登入,提交皮膚刺測試結果,管理免疫治療時間表,並發送消息以進行互動; Provider 發佈測試結果和治療時間表,根據需要。

交付:
- Back4app 應用程序,具有架構、ACL、雲代碼鉤子,用於發佈行為和審計日誌,以及用於患者和 Provider 視圖的啟動前端集成。

按下下面的按鈕以打開預先填充此模板提示的 Agent。

這是沒有技術後綴的基本提示。您可以在後面調整生成的前端堆棧。

幾分鐘內部署每月 50 次免費提示無需信用卡

API 游樂場

在過敏測試架構中嘗試 REST 和 GraphQL 端點。響應使用模擬數據,且不需要 Back4app 帳戶。

common.loadingPlayground

使用與此模板相同的架構。

選擇您的技術

展開每個卡片以獲取整合步驟、狀態模式、數據模型範例和離線註釋。

Flutter過敏測試後端

React過敏測試後端

React 原生過敏測試後端

Next.js過敏測試後端

JavaScript過敏測試後端

Android過敏測試後端

iOS過敏測試後端

Vue過敏測試後端

Angular過敏測試後端

GraphQL過敏測試後端

REST API過敏測試後端

PHP過敏測試後端

.NET過敏測試後端

您獲得的每一項技術

每個技術棧都使用相同的過敏測試後端架構和API合約。

統一的過敏測試數據結構

標準化的模式以高效管理 過敏測試 結果。

安全分享 過敏測試 結果

輕鬆安全地與患者和醫療 Provider 分享測試結果。

REST/GraphQL API 用於 過敏測試

靈活的 API 將 過敏測試 數據與任何前端技術集成。

免疫療法計劃管理

自動化並追蹤 過敏測試 患者的免疫療法計劃。

敏感數據的訪問控制

細分權限以確保 過敏測試 信息的隱私。

即時通知 過敏測試

及時更新患者的測試結果,以保持信息的通暢。

過敏測試框架比較

評估各種技術的設置時間、SDK 類型和 AI 支持。

框架設置時間過敏測試的好處SDK 類型AI 支援
快速 (5 分鐘) 設置用於移動和網絡的單一代碼庫進行過敏測試。Typed SDK完整
~5 分鐘過敏測試的快速網頁儀表板。Typed SDK完整
大約 5 分鐘用於過敏測試的跨平台移動應用。Typed SDK完整
少於 5 分鐘用於過敏測試的伺服器渲染網頁應用。Typed SDK完整
~3–5 分鐘用於過敏測試的輕量級網絡集成。Typed SDK完整
快速 (5 分鐘) 設置用於過敏測試的原生 Android 應用。Typed SDK完整
~5 分鐘用於過敏測試的原生 iOS 應用。Typed SDK完整
大約 5 分鐘React 的網頁用戶界面用於過敏測試。Typed SDK完整
少於 5 分鐘企業級過敏測試網頁應用。Typed SDK完整
少於 2 分鐘靈活的 GraphQL API 用於過敏測試。GraphQL API完整
快速 (2 分鐘) 設置REST API 集成用於過敏測試。REST API完整
~3 分鐘用於過敏測試的伺服器端 PHP 後端。REST API完整
大約 5 分鐘.NET 後端用於過敏測試。Typed SDK完整

設置時間反映從專案啟動到第一次成功測試登錄及使用此模板的免疫治療記錄管理的預期持續時間。

常見問題

有關使用此模板構建過敏測試後端的常見問題。

什麼是過敏測試後端的定義?
過敏測試模板提供了哪些特性?
為什麼我應選擇 Back4app 進行過敏測試?
如何在一次請求中獲取患者詳細信息及其測試結果?
我如何將過敏或測試標記為已解決?
React Native 可以離線管理免疫療法時間表嗎?
我可以採取哪些措施來保護敏感文件?
我該如何跟蹤對測試結果執行的操作?
管理測試結果通知的有效方法是什麼?
我該如何確保過敏測試處理的合規性?

受到全球開發者的信賴

加入快速構建安全過敏測試應用的團隊,使用 Back4app 模板。

G2 Users Love Us Badge

準備好構建您的過敏測試應用了嗎?

在幾分鐘內開始您的過敏測試項目。無需信用卡。

選擇技術