ramprakash110109

Initial debugging

Jul 23rd, 2025
8
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.89 KB | None | 0 0
  1. HIU side
  2.  
  3.  
  4. Step 1: Consent Init Request from HIU to ABDM
  5.  
  6. [ 2025-07-23 13:07:46.405 ] [ INFO] --- [0.1-8443-exec-5] c.z.h.b.a.s.r.WebClientService : request is HIUConsentInitRequest(consent=HIUConsentInitRequest.ConsentRequest(purpose=HIUConsentInitRequest.Purpose(text=Care Management, code=CAREMGT, refUri=www.abdm.gov.in), patient=HIUConsentInitRequest.ConsentPatient(id=ramprakash_95@sbx), hip=HIUConsentInitRequest.ConsentHIP(id=IN3310001271), careContexts=null, hiu=HIUConsentInitRequest.ConsentHIU(id=IN3310001727), requester=HIUConsentInitRequest.ConsentRequester(name=Sanju32, identifier=HIUConsentInitRequest.ConsentRequesterIdentifier(type=REGNO, value=MH100232, system=https://www.mciindia.org)), hiTypes=[Prescription, DiagnosticReport, DischargeSummary, ImmunizationRecord, HealthDocumentRecord, WellnessRecord, OPConsultation, Invoice], permission=HIUConsentInitRequest.Permission(accessMode=VIEW, dateRange=HIUConsentInitRequest.DateRange(from=1925-07-23T06:15:12.328Z, to=2025-07-23T06:15:12.328Z), dataEraseAt=2026-07-21T10:00:00.000Z, frequency=HIUConsentInitRequest.Frequency(unit=DAY, value=1, repeats=5)))) and headers is [Content-Type=[application/json], X-CM-ID=[sbx], REQUEST-ID=[3b297764-b5d1-4486-8683-20044a44b878], TIMESTAMP=[2025-07-23T07:37:46.400Z], Authorization=[Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE3NTMyNTcxOTksImlhdCI6MTc1MzI1NTk5OSwianRpIjoiMDBhODdmYjEtNzNjZS00ZTNjLTg3NGEtNDY4ZTc0MmRjYjJjIiwiaXNzIjoiaHR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-5] o.s.w.r.f.c.ExchangeFunctions : [7661c463] HTTP POST https://dev.abdm.gov.in/api/hiecm/consent/v3/request/init
  10.  
  11. [ 2025-07-23 13:07:46.597 ] [DEBUG] --- [ctor-http-nio-2] r.n.r.DefaultPooledConnectionProvider : [4e0516a4-2, L:/10.94.58.146:63936 - R:dev.abdm.gov.in/121.242.73.78:443] onStateChange(POST{uri=/api/hiecm/consent/v3/request/init, connection=PooledConnection{channel=[id: 0x4e0516a4, L:/10.94.58.146:63936 - R:dev.abdm.gov.in/121.242.73.78:443]}}, [response_received])
  12.  
  13.  
  14. [ 2025-07-23 13:07:46.598 ] [DEBUG] --- [ctor-http-nio-2] o.s.w.r.f.c.ExchangeFunctions : [7661c463] [4e0516a4-2] Response 202 ACCEPTED
  15.  
  16. Step 2: On-Init Callback from ABDM to HIU
  17.  
  18. [ 2025-07-23 13:07:47.473 ] [ INFO] --- [.1-8443-exec-10] c.z.h.b.a.c.HIUConsentController : Received HIUConsentOnInitRequest: request=HIUConsentOnInitRequest(consentRequest=HIUConsentOnInitRequest.ConsentRequest(id=cfce198a-5aa6-4ded-94dd-9e7280c15c44), error=null, response=HIUConsentOnInitRequest.Response(requestId=3b297764-b5d1-4486-8683-20044a44b878)), requestId=a574a815-751a-4b5a-996b-2724a95328ac, hiuId=IN3310001727, cmId=null, timestamp=2025-07-23T07:37:47.969Z
  19.  
  20.  
  21. Step 3: Providing Grant Access from PHR App
  22. Approximately time is 1.16 PM IST
  23.  
  24. Step 4: Notify Callback from ABDM to HIU
  25.  
  26. [ 2025-07-23 13:16:28.054 ] [ INFO] --- [0.1-8443-exec-2] c.z.h.b.a.c.HIUConsentController : Received HIUConsentNotifyRequest: request=HIUConsentNotifyRequest(notification=HIUConsentNotifyRequest.Notification(consentRequestId=cfce198a-5aa6-4ded-94dd-9e7280c15c44, status=GRANTED, reason=null, consentArtefacts=[HIUConsentNotifyRequest.ConsentArtefact(id=99033e0d-3e0a-45d1-be7c-2ed3eab1efdf)])), requestId=0687299e-7cf9-4baa-a3e7-99806975cd36, hiuId=IN3310001727, timestamp=2025-07-23T07:46:28.173Z
  27.  
  28. Step 5: On-Notify callback from HIU to ABDM
  29.  
  30. [ 2025-07-23 13:16:28.088 ] [ INFO] --- [0.1-8443-exec-2] c.z.h.b.a.s.r.WebClientService : request is HIUConsentOnNotifyRequest(acknowledgement=[HIUConsentOnNotifyRequest.Acknowledgement(status=OK, consentId=99033e0d-3e0a-45d1-be7c-2ed3eab1efdf)], error=null, response=HIUConsentOnNotifyRequest.Response(requestId=0687299e-7cf9-4baa-a3e7-99806975cd36)) and headers is [Content-Type=[application/json], X-CM-ID=[sbx], X-HIU-ID=[IN3310001727], REQUEST-ID=[160ee5af-7c33-4959-b4a2-353a23edd375], TIMESTAMP=[2025-07-23T07:46:28.087Z], Authorization=[Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE3NTMyNTcxOTksImlhdCI6MTc1MzI1NTk5OSwianRpIjoiMDBhODdmYjEtNzNjZS00ZTNjLTg3NGEtNDY4ZTc0MmRjYjJjIiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsInN1YiI6IjE2OWI5ZTZiLTg1ZTMtNDIwZS1hOWIzLWIxZjg5ZTE0ZjFmMyIsInR5cCI6IkJlYXJlciIsImF6cCI6IlNCWElEXzAwOTQ5MCIsInNlc3Npb25fc3RhdGUiOiJmMGRmYzBkMy04YjhiLTQzYTctYmY3MS1hNWYyMWEzYTY1ZjEiLCJhY3IiOiIxIiwiYWxsb3dlZC1vcmlnaW5zIjpbImh0dHA6Ly9sb2NhbGhvc3Q6OTAwNyJdLCJyZXNvdXJjZV9hY2Nlc3MiOnsiU0JYSURfMDA5NDkwIjp7InJvbGVzIjpbInVtYV9wcm90ZWN0aW9uIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxMDAuNjUuMTYwLjIxNSIsImNsaWVudElkIjoiU0JYSURfMDA5NDkwIiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc2J4aWRfMDA5NDkwIiwiY2xpZW50QWRkcmVzcyI6IjEwMC42NS4xNjAuMjE1In0.C8ft6aUFduTirCdnx-x-o95aNLfKyyc4G7rkpUW-a88V3A5YYCDhmDWFO5KU9NUvp_J8GcA4rl0CMDTa7T1aYyruZ8CpHuAVxizKXa9yGTDWgsddEaJTmri1PPAaltQWjN7XYoiAFnlMnfY-k6a2X33273G_e24XO-sRLYWKwJbH0tf6uETM7nuJA2YaBRy654TTtvPD7o2_O2p6WfEQBBwdN-uBPRoFR6cC4RgNNiqlMBOzGw0qOWwoQ243dEa9FqzIN5oZqkvEt5-8MCganCWhZu-7G4m4UZWbNPsX9Xto0wvVa8GxGeZzje00DUM5L21BmcE6TLh3iYfjMgT59A]]
  31. [ 2025-07-23 13:16:28.089 ] [DEBUG] --- [0.1-8443-exec-2] o.s.w.r.f.c.ExchangeFunctions : [305a9838] HTTP POST https://dev.abdm.gov.in/api/hiecm/consent/v3/request/hiu/on-notify
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44. HIP Side
  45.  
  46. Step 1:
  47.  
  48. [ 2025-07-23 13:16:28.084 ] [ INFO] --- [onPool-worker-1] c.z.h.b.a.s.i.DataTransferServiceImpl : Received ConsentNotifyRequest: ConsentNotifyRequest(notification=ConsentNotifyRequest.Notification(status=GRANTED, consentId=99033e0d-3e0a-45d1-be7c-2ed3eab1efdf, consentDetail=ConsentNotifyRequest.ConsentDetail(schemaVersion=v3, consentId=99033e0d-3e0a-45d1-be7c-2ed3eab1efdf, createdAt=2025-07-23T07:37:47.928Z, patient=ConsentNotifyRequest.Patient(id=ramprakash_95@sbx), careContexts=[ConsentNotifyRequest.CareContext(patientReference=654881297770_020425_111119123, careContextReference=Zoho_HealthCare_OP-02-04-25_111119123), ConsentNotifyRequest.CareContext(patientReference=654881297770_020425_111119124, careContextReference=Zoho_HealthCare_OP-02-04-25_111119124), ConsentNotifyRequest.CareContext(patientReference=654881297770_020425_111119125, careContextReference=Zoho_HealthCare_OP-02-04-25_111119125), ConsentNotifyRequest.CareContext(patientReference=654881297770_020425_111119126, careContextReference=Zoho_HealthCare_OP-02-04-25_111119126), ConsentNotifyRequest.CareContext(patientReference=654881297770_020425_111119127, careContextReference=Zoho_HealthCare_OP-02-04-25_111119127), ConsentNotifyRequest.CareContext(patientReference=654881297770_020425_111119128, careContextReference=Zoho_HealthCare_OP-02-04-25_111119128), ConsentNotifyRequest.CareContext(patientReference=654881297770_020425_111119129, careContextReference=Zoho_HealthCare_OP-02-04-25_111119129), ConsentNotifyRequest.CareContext(patientReference=654881297770_020425_111119130, careContextReference=Zoho_HealthCare_OP-02-04-25_111119130), ConsentNotifyRequest.CareContext(patientReference=654881297770_020425_111119131, careContextReference=Zoho_HealthCare_OP-02-04-25_111119131), ConsentNotifyRequest.CareContext(patientReference=654881297770_020425_111119132, careContextReference=Zoho_HealthCare_OP-02-04-25_111119132), ConsentNotifyRequest.CareContext(patientReference=654881297770_020425_111119133, careContextReference=Zoho_HealthCare_OP-02-04-25_111119133), ConsentNotifyRequest.CareContext(patientReference=654881297770_020425_111119134, careContextReference=Zoho_HealthCare_OP-02-04-25_111119134), ConsentNotifyRequest.CareContext(patientReference=654881297770_020425_111119135, careContextReference=Zoho_HealthCare_OP-08-07-25_111119135), ConsentNotifyRequest.CareContext(patientReference=654881297770_020425_111119136, careContextReference=Zoho_HealthCare_OP-08-07-25_111119136), ConsentNotifyRequest.CareContext(patientReference=654881297770_020425_111119138, careContextReference=Zoho_HealthCare_OP-08-07-25_111119138), ConsentNotifyRequest.CareContext(patientReference=654881297770_020425_111119139, careContextReference=Zoho_HealthCare_OP-08-07-25_111119139), ConsentNotifyRequest.CareContext(patientReference=654881297770_020425_111119140, careContextReference=Zoho_HealthCare_OP-08-07-25_111119140), ConsentNotifyRequest.CareContext(patientReference=654881297770_020425_111119141, careContextReference=Zoho_HealthCare_OP-08-07-25_111119141), ConsentNotifyRequest.CareContext(patientReference=654881297770_020425_111119142, careContextReference=Zoho_HealthCare_OP-08-07-25_111119142), ConsentNotifyRequest.CareContext(patientReference=654881297770_020425_111119143, careContextReference=Zoho_HealthCare_OP-08-07-25_111119143), ConsentNotifyRequest.CareContext(patientReference=654881297770_020425_111119144, careContextReference=Zoho_HealthCare_OP-08-07-25_111119144), ConsentNotifyRequest.CareContext(patientReference=654881297770_020425_111119145, careContextReference=Zoho_HealthCare_OP-08-07-25_111119145), ConsentNotifyRequest.CareContext(patientReference=654881297770_020425_111119146, careContextReference=Zoho_HealthCare_OP-08-07-25_111119146), ConsentNotifyRequest.CareContext(patientReference=654881297770_020425_111119147, careContextReference=Zoho_HealthCare_OP-08-07-25_111119147), ConsentNotifyRequest.CareContext(patientReference=1cf2fd51-9990-4ac1-a749-3364aa2d357e, careContextReference=bfba1283-f08c-4fc7-b8ec-72488a776e7c), ConsentNotifyRequest.CareContext(patientReference=108316c1-c3da-4fd3-91cf-cf5c09579336, careContextReference=029beccd-c17b-429c-81c0-922132ae55a4), ConsentNotifyRequest.CareContext(patientReference=ef2f54f5-60eb-466b-84e3-14fb387ab4da, careContextReference=fb684f1e-8cde-4631-a85c-12d7d9d44d31), ConsentNotifyRequest.CareContext(patientReference=d01932bf-fe7d-422e-bd69-14a7d005886b, careContextReference=d211377a-4dc5-4db9-99fd-728bd3a0dcc0), ConsentNotifyRequest.CareContext(patientReference=e21849f4-bcd9-47cb-a63c-b7a9ef4f77dd, careContextReference=419d49d0-2e6e-4959-9fa0-55c37d4dc00f), ConsentNotifyRequest.CareContext(patientReference=0af9fcdf-c7db-4600-a251-11524a50b6a0, careContextReference=b2b7ee0b-4dc6-4661-8129-1d2b0bfa5fcd), ConsentNotifyRequest.CareContext(patientReference=57c3d30e-2ad8-4b22-9390-084b100fbe32, careContextReference=5deb97a2-2082-4537-9f1b-58add7ccbe31), ConsentNotifyRequest.CareContext(patientReference=654881297770_020425_111119137, careContextReference=Zoho_HealthCare_OP-08-07-25_111119137)], purpose=ConsentNotifyRequest.Purpose(text=Care Management, code=CAREMGT, refUri=www.abdm.gov.in), hip=ConsentNotifyRequest.Hip(id=IN3310001271, name=RAM HOSPITALS, type=HIP), hiu=null, consentManager=ConsentNotifyRequest.ConsentManager(id=sbx), requester=null, hiTypes=[Prescription, DiagnosticReport, DischargeSummary, ImmunizationRecord, HealthDocumentRecord, WellnessRecord, OPConsultation, Invoice], permission=ConsentNotifyRequest.Permission(accessMode=VIEW, dateRange=ConsentNotifyRequest.DateRange(from=1925-07-23T06:15:12.328Z, to=2025-07-23T06:15:12.328Z), dataEraseAt=2026-07-21T10:00:00.000Z, frequency=ConsentNotifyRequest.Frequency(unit=DAY, value=1, repeats=5))), signature=tStGB2F+q+MoR1n3jL8TAbuSpJfEcYRongaZgKhVaZsa1BsxbjdVGVJdRKTc/bDApd0sIaNcW1h2QUkuoDHOiDd/Zu9fwl2skG/wvhgT3tHegRDkU7/uOgcqiE0S9kgLQ6BQCfwUX3L9Z/KpX9qSfvUbcv7OF2ngMFRR+1JE4jrtU2ogpfEiKNP4czIq5LQv7aD7Hu1f67Gg4jiX7rB5PtODBAcawEnSSry4MqHuJSjqriClV/prEhlA4XdqrOJLVE9u4HlxlVLq+SIIvBVbXWnswknxQehmhbcyG7N2jL2qI+LUhC4X1UFpNMbCcN2DDPCXkOsYT46AtmqwSdOaIA==, grantAcknowledgement=false)), requestId: 2ffc5193-1b72-4b87-9f45-feba3daffc69, timestamp: 2025-07-23T07:46:28.162Z, hipId: IN3310001271
  49.  
  50.  
  51. Step 2:
  52.  
  53. [ 2025-07-23 13:16:29.133 ] [ INFO] --- [pool-4-thread-1] c.z.h.b.a.s.i.DataTransferServiceImpl : Sending OnConsentNotifyRequest to ABDM. request: OnConsentNotifyRequest(acknowledgement=OnConsentNotifyRequest.Acknowledgement(status=OK, consentId=99033e0d-3e0a-45d1-be7c-2ed3eab1efdf), error=null, response=OnConsentNotifyRequest.Response(requestId=2ffc5193-1b72-4b87-9f45-feba3daffc69))
  54.  
  55.  
Advertisement
Add Comment
Please, Sign In to add comment