HAPI FHIR java @create交互不会返回任何响应

时间:2016-08-05 15:24:30

标签: hl7-fhir hapi dstu2-fhir hapi-fhir hapi-fhir-android-library

我已实施预约预约,其中@Create互动用于创建预约。现在我想将预约的MethodOutcome作为@create方法的响应返回。

MethodOutcome oMethodOutcome = new MethodOutcome();
oMethodOutcome.setId(new IdDt("Appointment", "3746", "1"));

然而,hapi框架没有返回任何响应。 理想的响应应该如何?为什么HAPI不返回它?我现在只得到空响应,如果是HTTP 201则是状态码。

HAPI创建示例:http://hapifhir.io/doc_rest_operations.html

FHIR标准:https://www.hl7.org/fhir/overview-dev.html#1.8.1.6

顺便说一下,我正在使用postmant客户端来测试这个webservice

0 个答案:

没有答案