Registering a SMART App with an EHR
Before a SMART app can run against an EHR, the app must be registered with that EHR's authorization service. SMART does not specify a standards-based registration process, but we encourage EHR implementers to consider the OAuth 2.0 Dynamic Client Registration Protocol for an out-of-the-box solution.
No matter how an app registers with an EHR's authorization service, at registration time every SMART app must:
- Register one or more fixed, fully-specified launch URL with the EHR's authorization server
- Register one or more, fixed, fully-specified
redirect_uris with the EHR's authorization server
在 SMART app針對EHR執行之前,這個app必須被註冊於EHR的授權伺服器。雖然SMART不指定標準的註冊程序,但我們鼓勵 EHR 的實作者,使用非傳統的解決方案,考慮「OAuth 2.0 動態客戶端註冊協定」。
無論如何,一個有EHR授權服務的 app 註冊器,在註冊期間, SMART app每次必須:
- app的註冊器,指定一個固定 EHR的授權伺服器URL。
- app的註冊器,指定一個固定 EHR的授權伺服器redirect_uris。(重定址URI,通常為 app 被登入後的首頁)