Not getting Expiry notifications to HIU

Hi,

We sent a consent request to the patient. Following is the request structure:

{“requestId”:“4c5e3483-d240-43d0-bad3-f8feb3f1e73c”,“timestamp”:“2021-03-09T08:03:55.000000”,“consent”:{“purpose”:{“text”:“ToBeExpiredFinal”,“code”:“CAREMGT”},“patient”:{“id”:“dabhibhaskar@sbx”},“hiu”:{“id”:“medixcel-viman-nagar-clinic-hiu”},“requester”:{“name”:“Bhaskar Dabhi”},“hiTypes”:[“Prescription”,“DiagnosticReport”,“OPConsultation”,“DischargeSummary”],“permission”:{“accessMode”:“VIEW”,“dateRange”:{“from”:“2021-03-01T18:30:00.000Z”,“to”:“2021-03-09T08:29:59.000Z”},“dataEraseAt”:“2021-03-09T08:30:59.000Z”,“frequency”:{“unit”:“HOUR”,“value”:“1”,“repeats”:6}}}}

Now consent expired on 09-03-2021 01:59 PM IST but we never received the consent expiry callback to our HIU.

@mdubey is that something HIU needs to take care of automatically or we should reply to the callback from Gateway?

Hi @bhaskar.dabhi,

Are you referring to the consent-request with consent-request-id 73cc4808-cd52-4ab9-b697-60c14549b504. We see this request is in already GRANTED so it will not be marked as EXPIRED.

Please let us know the consent-request-id if you are referring to a different.

Thank you

The same request was granted but HIU should get a notification when the consent expires right? Which it never received

I am confused, if it is granted it is not expired, then why would there be a consent-expiry notification? I am not sure about the scenario you have mentioned.

Please clarify.

Suppose an HIU raised a consent request which says that HIU needs the patient’s date between 1st March to 14th March and the expiry date of the consent is 20th March.

Now patient granted the consent. But on 20th March, HIU get a notification saying that the consent is expired right? so that the HIU system can remove all the data that they have for that specific consent request.

HI @bhaskar.dabhi,

Thanks for the clarification. I misunderstood it with the consent-request expiry, but you are actually talking about the granted consent(consent-artefact) expiry. We will check and let you know.

Thanks

Hello @bhaskar.dabhi,

We see there is a call being made from gateway to the HIU Notify URL. Please check the log and screenshot below:

About to call bridge medixcel-viman-nagar-clinic-hiu for url https://ndhm-api.medixcel.in/gateway/v0.5/consents/hiu/notify

Also we seem to be having received a successful acknowledgement from your side as well(hiu/on-notify). Please check the screen shot below:

Please let us know if there is any confusion.

Thank you

Yes @mdubey, sometimes we get the call and most of the times call is not coming on the correct time. Let me check and get back to you