Some consent requests are expiring earlier

Hi,

We noticed that sometimes consents are expiring at wrong time. It was suppose to expire on 8th May (IST) but it expired today.

Following are consent request ID:

  1. ee5d1f3e-4843-4160-ada4-cc5148362c34 -> Expiry: 2021-05-07T18:46:59.000Z
    Request: {“requestId”:“bd54ef11-0b41-44b2-949c-c1ccfa8902fc”,“timestamp”:“2021-05-06T10:59:22.000000”,“consent”:{“purpose”:{“text”:“pre”,“code”:“CAREMGT”},“patient”:{“id”:“kunal172@sbx”},“hiu”:{“id”:“medixcel-general-health-care-centre-hiu”},“requester”:{“name”:“Test GHCC doctor”},“hiTypes”:[“Prescription”,“DiagnosticReport”],“permission”:{“accessMode”:“VIEW”,“dateRange”:{“from”:“2021-04-30T18:30:00.000Z”,“to”:“2021-05-06T18:29:59.000Z”},“dataEraseAt”:“2021-05-07T18:46:59.000Z”,“frequency”:{“unit”:“HOUR”,“value”:“1”,“repeats”:6}}}}",
    “on_init_request”: "{“requestId”:“9c9bd15e-6481-42f1-8efe-bdbfd9115f53”,“timestamp”:“2021-05-06T10:59:23.425147”,“consentRequest”:{“id”:“128a4faf-cb39-4f38-a980-a0ed16b6a2c9”},“error”:null,“resp”:{“requestId”:“bd54ef11-0b41-44b2-949c-c1ccfa8902fc”}}

  2. 128a4faf-cb39-4f38-a980-a0ed16b6a2c9 -> Expiry: 2021-05-07T18:46:59.000Z
    Request: {“requestId”:“2695d910-9cc8-4b75-8f97-293b5a3c3a07”,“timestamp”:“2021-05-06T11:00:08.000000”,“consent”:{“purpose”:{“text”:“Discharge Summary & Immunization History”,“code”:“CAREMGT”},“patient”:{“id”:“kunal172@sbx”},“hiu”:{“id”:“medixcel-general-health-care-centre-hiu”},“requester”:{“name”:“Test GHCC doctor”},“hiTypes”:[“DischargeSummary”,“ImmunizationRecord”],“permission”:{“accessMode”:“VIEW”,“dateRange”:{“from”:“2021-04-30T18:30:00.000Z”,“to”:“2021-05-06T18:29:59.000Z”},“dataEraseAt”:“2021-05-07T18:46:59.000Z”,“frequency”:{“unit”:“HOUR”,“value”:“1”,“repeats”:6}}}}",
    “on_init_request”: "{“requestId”:“e2f41c86-8c42-4efd-9ce8-5d2c59f1c1c9”,“timestamp”:“2021-05-06T11:00:08.865061”,“consentRequest”:{“id”:“ee5d1f3e-4843-4160-ada4-cc5148362c34”},“error”:null,“resp”:{“requestId”:“2695d910-9cc8-4b75-8f97-293b5a3c3a07”}}

We did bit of debugging and found that if patient doesn’t accept the consent request for long then it expires automatically. @mdubey Just want to know if that is something part of the workflow right?

Hi @bhaskar.dabhi,

The consent request is configured to expire after one hour if not approved by that time.

1 Like

This doesn’t seem to be the case now. Has this been changed? What’s the current expiry time if a patient hasn’t approved a consent request?