这是添加调用FHIR apis代码的github存储库URL。 https://github.com/cerner/smart-on-fhir-tutorial
我已按照本教程中的步骤创建了应用程序。现在我需要插入一些代码来调用这个端点:fhir.cerner.com/dstu2/medication-statement/
是否可以在Sandbox中调用'POST'api?如果是的话,该怎么办?这就是我想知道的。希望向您了解这一点。谢谢
查询失败的原因是您调用的URL无效。 Cerner为DSTU2(和R4)开放的沙箱环境记录了here和here。要调用MedicationStatement资源,您需要使用此基本URL:
https://fhir-open.sandboxcerner.com/dstu2/0b8a0111-e8e6-4c26-a91c-5069cbc6b1ca/MedicationStatement
上述URL是不需要身份验证的开放端点。经过身份验证的端点(用于执行创建和更新操作)是:
https://fhir-ehr.sandboxcerner.com/dstu2/0b8a0111-e8e6-4c26-a91c-5069cbc6b1ca/MedicationStatement
可以使用元数据端点发现FHIR服务器的所有功能。 Cerner's是:
https://fhir-ehr.sandboxcerner.com/dstu2/0b8a0111-e8e6-4c26-a91c-5069cbc6b1ca/metadata
Cerner确实支持多种POST操作(包括MedicationStatement)