Nueva publicación

Rechercher

Artículo
· 22 hr atrás Lectura de 3 min

使用 Postman 测试 InterSystems FHIR 存储库的 OAuth2.0 (第二部分)

大家好,现在我想继续我们之前讨论过的话题

使用 Postman 测试 InterSystems FHIR 存储库的 OAuth2.0 - 第一部分


问题1:我的client_id和client_secret是从哪里来的?

简短回答:身份验证服务器(Authentication Server)。

如果没有身份验证服务器,可按以下方法设置一个

提供主机名(主机必须支持 Https)、至少 1 种大类型(这里我们选择客户端凭证)和 SSL/TSL 配置

输入作用域(这里我们输入user/*.readuser/ *. write,这是基于 FHIR 服务器(资源服务器)支持的作用域)。万一我们遗漏了某些作用域,请检查 "允许不支持的作用域(Allow unsupported scope)"。

JWT 设置选择 RS256(这只是一个示例,您可以选择适合您架构的设置)

生成令牌类(Generate token class)更改为%OAuth2.Server.JWT。如果需要,还可以更新命名空间。

保存(Save)设置


问题 2:如何查看身份验证服务器的 client_id 和 client_secret?

简短回答: 设置 OAuth2.0 客户端(如果没有)并创建一个客户端

以下是设置 OAuth2.0 客户端的步骤。

点击创建服务器描述(Create Server Description)

在此输入发行端点(Issuer end point)SSL/TLS 配置( SSL/TLS configuration)

然后点击发现并保存(Discover and Save)

您可以在 OAuth2.0 服务器配置页面找到相关信息

完成 "发现和保存 "(Discover and Save)后,您可能会看到类似下面的内容。我们可能需要看看令牌端点(token endpoint),因为我们需要它来签出令牌

完成上述配置后,现在我们就可以创建一个名为 postman 的客户端😁。

点击OAuth 2.0 客户端(OAuth 2.0 Client)按钮

点击客户端配置(Client Configurations)

单击创建客户端配置(Create Client Configuration)

输入 应用程序名称(Application name) 客户端名称(Client name),选择客户端类型(Client type)为“保密(Confidential)”,输入客户端重定向 URL(Hostname for the Client redirect URL的主机名,选择所需的授予类型(Required grant type)为“客户端凭证(Client credentials)”

单击动态注册并保存( Dynamic Registration and Save)

您可能会看到类似下面的内容。

现在,是时候查看我们的client_idclient_secret😁😁 了

单击 "客户证书(Client Credential)"选项卡

您可以在此复制您的client_idclient_secret 😉


问题 3:如何将我的 FHIR 服务器添加为资源服务器并与身份验证服务器相关联?

简要回答: 设置 OAuth2.0 客户端(如果没有)并创建资源服务器。然后将资源服务器应用于 FHIR 服务器设置

创建资源服务器

单击客户端配置(Client Configurations)

单击创建客户端配置(Create Client Configuration)

输入应用程序名称(Application name)客户端名称(Client name),选择客户端类型(Client Type)资源服务器

单击动态注册并保存(Dynamic Registration and Save)

资源服务器设置完成后,我们应将其应用于 FHIR 服务器

转到Health

然后,FHIR 服务器管理(FHIR Server Management)

然后选择要编辑的 FHIR 服务器

在 "FHIR 服务器授权设置(FHIR Server Authorization Setting)"选项卡中,从列表中选择OAuth 客户端名称(OAuth Client Name) ,然后保存(Save)

好了我想这就是我们为 InterSystems FHIR 服务器设置 OAuth 功能所需的一切😁。


关于使用 Postman 进行测试,您可以参考之前的文章

使用 Postman 测试 InterSystems FHIR 存储库的 OAuth2.0 - 第一部分

非常感谢您的阅读!😆😀

Comentarios (0)1
Inicie sesión o regístrese para continuar
Pregunta
· 27 ene, 2026

Epic FHIR API create and $match

Currently in the health connect code, we are using Epic FHIR API Patient.Create, code return 200 or 201 status values, we process the message based on this return values.

Now I need to use Epic FHIR Patient.$match API, need to check FHIR Error code 4101 for this API. I looked for FHIR statndard return code, but this this seems not standard code, please advice how can I check 4101 value?

1 nuevo comentario
Comentarios (1)1
Inicie sesión o regístrese para continuar
Job
· 27 ene, 2026

InterSystems Developer / Specialist

Job Title: InterSystems Developer / Specialist (IRIS / HealthShare)
Location: New York City, NY (Hybrid / Remote)
Duration: Contract (2+ years)
Experience: Min. 8 Years 


Job Summary

We are looking for an experienced InterSystems Developer / Specialist with expertise in InterSystems IRIS / HealthShare to support healthcare integration and interoperability initiatives. The ideal candidate should have hands-on experience in ObjectScript development, healthcare data standards, and integration protocols supporting EHR/HIE environments.


Key Skills Required

  • InterSystems IRIS / HealthShare
  • ObjectScript development
  • Healthcare standards: HL7, FHIR, CCDA
  • Data mapping/transformation: DTL, XSLT
  • API integration: REST / SOAP
  • Protocols: MLLP, SFTP
  • Experience with EHR/HIE integrations
  • EDI and HIPAA compliance understanding

If Interested, Please Share

  1. Updated resume
  2. Current location & work authorization
  3. Availability to start
Comentarios (0)1
Inicie sesión o regístrese para continuar
Artículo
· 27 ene, 2026 Lectura de 2 min

Reseñas en Open Exchange - #62

Si uno de vuestros paquetes en OEX recibe una reseña, OEX os notificará únicamente sobre vuestro propio paquete. La valoración refleja la experiencia del revisor con el estado del paquete en el momento de la reseña.
Es como una “fotografía” del estado en ese momento y podría haber cambiado desde entonces. Las reseñas realizadas por otros miembros de la comunidad se marcan con un * en la última columna.

Además, el revisor puede enviar Pull Requests en GitHub cuando encuentra un problema que se puede solucionar. Algunas puden ser aceptadas y fusionadas, y otras simplemente ignoradas.
Así que, si habéis realizado un cambio importante y esperáis que la reseña cambie, simplemente avisad al revisor.

# Package Review Stars IPM Docker *
1 JSON2Persistent Now also available in IPM 6.0 y y  
2 one-to-many-case The first of 2026 5.0 y y  
3 IRIS_dockerization promising composition 4.4   y  
4 GlobalsDB-NodeJS-Admin Historic artefact 3.8      
5 iris-jsonschema just partial working 3.8      
6 GlobalsDB-Admin-NodeJS Historic artefact #2 3.5      
7 Pivot partner posting        
8 DbVisualizer partner posting        
9 PIQXL Gateway partner posting        
10 Symedical partner posting        
11 Fhirgure partner posting        
12 iknowAV Another artefact        
13 OMNI-Lab partner posting        

NOTA:
Si alguna reseña no os resulta legible, puede que todavía esté esperando la aprobación de los administradores de OEX.

1 nuevo comentario
Comentarios (1)2
Inicie sesión o regístrese para continuar
Pregunta
· 27 ene, 2026

HS.FHIRServer.Interop.Service returning error status code and OperationOutcome

I'm using this service to create a FHIR facade. 

I want to return OperationOutcome to the calling application when I detect an error. 

My code at present is :

set quickStreamOut=##class(HS.SDA3.QuickStream).%New()

set operationOutcome = ##class(HS.FHIR.DTL.vR4.Model.Resource.OperationOutcome).%New()

s issue = ##class(HS.FHIR.DTL.vR4.Model.Element.OperationOutcome.issue).%New()

s issue.severity = "error"

s issue.code = "exception"

s issue.details = ##class(HS.FHIR.DTL.vR4.Model.Datatype.CodeableConcept).%New()

try {

s issue.details.text = exception.DisplayString()

} catch ex {

s issue.details.text = "Unknown exception"

}

d operationOutcome.issue.Insert(issue)

$$$ThrowOnError(quickStreamOut.CopyFrom(operationOutcome.ToJSON()))

set response = ##class(HS.FHIRServer.Interop.Response).%New()

set response.Response.ResponseFormatCode="JSON"

set response.Response.Status=200

set response.ContentType="application/fhir+json"

set response.CharSet = "utf8"

set response.QuickStreamId = quickStreamOut.%Id()

If I change the response code to 422, the calling app doesn't get the OperationOutcome. Instead I get 


The custom error module does not recognize this error.
 

Do I need to implement a custom error? 

Comentarios (0)1
Inicie sesión o regístrese para continuar