Subscription FHIR R4

322 views
Skip to first unread message

Vincenzo Falanga

unread,
Apr 10, 2019, 10:10:39 AM4/10/19
to HAPI FHIR
Hello James

I need to create one Subscription on my fhir server.

When I create a subscription resource, this resource is correctly saved on server, but its status is not changed from "requested" to "active".
I configured my instance of fhir server like the jpa-started project and the other action are correctly up and worked fine.
I already activate the resthook subscription option on the hapi.properties file with this line: "subscription.resthook.enabled=true" and this action is correctly reported on the startup log.

I Use the 3.8.0-SNAPSHOOT version but i tried on 3.7.0 and i have the same result.

Do you have any idea about this behaviour?

Thanks.

P.S: I tried to force the active status over the subscription resource with no success, and i tried to manually triggered the created subscription but seems to be not worked.

k...@simpatico.ai

unread,
Apr 10, 2019, 11:04:21 AM4/10/19
to HAPI FHIR
Vincenzo,

Can you share your subscription?

Also can you print out log lines that include "SubscriptionInterceptorLoader" in them?

Thanks!
Ken

Vincenzo Falanga

unread,
Apr 10, 2019, 11:19:28 AM4/10/19
to HAPI FHIR
This is my Subscription resource:

{
  "resourceType": "Subscription",  
  "status": "requested",
  "reason": "IoT subscription for device",
  "criteria": "Device?identifier=http://eng.amico.it|amico_device_identifier",
  "channel": {
    "type": "rest-hook",
    "endpoint": "https://fhirtest.uhn.ca/create"   
  }
}

I tried with fhir 3.6.0 and seems work fine... Now I try to port my project on this version.

Vincenzo Falanga

unread,
Apr 10, 2019, 11:38:10 AM4/10/19
to HAPI FHIR
The 3.6.0 release is not useful for me because the Device resource present in the package not have the DeviceDefinition Component

Vincenzo Falanga

unread,
Apr 11, 2019, 6:10:28 AM4/11/19
to HAPI FHIR
The SubscriptionInterceptorLoader class is not called during Subscription submition.


Il giorno mercoledì 10 aprile 2019 17:04:21 UTC+2, k...@simpatico.ai ha scritto:
Reply all
Reply to author
Forward
0 new messages