Hi
@Prajwal @Ramandeep1 @Govind_Deshmukh
I am testing the HIP flow where I requested consent on HIU dev interface for a patient and after approval, I sent the encrypted FHIR lab report to the data push url received in the API. I am using this tool for key generation and data encryption: https://github.com/sukreet/fidelius
The API shows status 202 accepted. However, when I try to access these records on the HIU dev interface, it shows
Error in the data received from 1 Health Information Providers!
Please see if my request has any issues.
This is my request:
url: “https://dev.abdm.gov.in/api-hiu/data/notification”
headers:
{“Content-Type”=>“application/json”,
“Authorization”=>
“Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2NTgxMjQ1NDgsImlhdCI6MTY1ODEyMzk0OCwianRpIjoiMWEyYzJjOTYtZjA5MS00MzY3LTk4ZWUtMDgwY2IzYWE0Zjk0IiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiJjMWE3ZWIyZi0xMzZmLTQ0Y2ItOTZjZC1jOTBmOTAxZmM2NWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJTQlhfMDAxNzUxIiwic2Vzc2lvbl9zdGF0ZSI6IjJkYTcyMjQxLTUzNDAtNGUxMi05ZjQ0LTg3M2Y3MTcxMmYzZSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2xvY2FsaG9zdDo5MDA3Il0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsImhlYWx0aElkIiwiT0lEQyIsImhpcCJdfSwicmVzb3VyY2VfYWNjZXNzIjp7IlNCWF8wMDE3NTEiOnsicm9sZXMiOlsidW1hX3Byb3RlY3Rpb24iXX0sImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoib3BlbmlkIGVtYWlsIHByb2ZpbGUiLCJjbGllbnRIb3N0IjoiMTAuMjMzLjY3LjI0MSIsImNsaWVudElkIjoiU0JYXzAwMTc1MSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoic2VydmljZS1hY2NvdW50LXNieF8wMDE3NTEiLCJjbGllbnRBZGRyZXNzIjoiMTAuMjMzLjY3LjI0MSJ9.NnkAutexhcxWsXbN30_TTKsoI-OHvP5O0pXNMGz0xX24ncIxUS7ZsNpj4Q2OZ8c62vY7CGZBy64LKot7Dvz9u9Ef3cuEtArsEEop_Ohvc6sgl50k-EN5TGQe2ubwqPjjON8HeoBzDSijHsvLa0fZBUhjukHl2bDsbH67vzSsd36iG1dfkweXCI7A8Nx5sE3fRHngM3Z_zybvuCb_8navYJ5f3-NDv3UTCIeIInqKGFg6mlX4-xk81UPAs_9BK7H1fOsiO0dd5f8rIJ85JO-HTKn5ViCDJMfjw2WyxzBmBlez35Gyhz0RVUaFQOjcv1LaSeLOBDMKHS6-QLx82BeQ9w”}
body:
{:pageNumber=>0,
:pageCount=>0,
:transactionId=>“bae368c6-289e-430c-abe0-d5c49f5468d0”,
:entries=>
[{:content=>
“/SspdX4qRmAjqcv6r5JnJc0VzGiNsqpuYQEe6mTjJw291IbwuYUrq+8yTjVlcd8E/d5fqgEDGiJlLJTXndbU0mext/ofanBhM7JSjCepBo4lPiKLThzllTA5iju6OM/zMB521w/IisN7wQs43+bZzSKtlA+VHyXnvPSTXD0vYHWJkDvy2+StipkfA2na35y5SfJrKJjLfGDj0Do02tXftS2xj1TYEZs1JgcjLZMYbrr92RsmrMK16PoJcfDqraHZ69bRIXFExpKzL6MWi2drszpFSVKZV0dy71+fwuyDgIDdg7IY3+6cbn9AQkNzgG9jG42Tbv/fPrVMIu/Yw4V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EzADQKn/wUhpwGUSSTskO6pUoA==”,
:media=>“application/fhir+json”,
:checksum=>“1229e19de3caa28ecae62cae770585ae”,
:careContextReference=>“LABREPORT001”}],
:keyMaterial=>
{:cryptoAlg=>“ECDH”,
:curve=>“Curve25519”,
:dhPublicKey=>
{:expiry=>“2022-07-23T10:53:48.73829”,
:parameters=>“Curve25519/32byte random key”,
:keyValue=>“BESNZQcKTqwNsf4dvy0Auyl231Q7ARmRL/YqFR6JnTzXJ80DLDlbeag6U5ucwNCUgc6ImSmVWjXUzNOy5T9Qpuo=”},
:nonce=>“s81X1PJSDCZ/4+ifUEwCeMrMAxHC/OM57BoWS1o20M0=”}}