Transferring Health Data
Firewall Rules
DataPush URL - can be any URL specified by the HIU. The HRP system must ensure that its firewall rules are setup in such a way that the outbound HTTPs requests can be to any URL
Security is ensured by making sure that the encrypted data can only be decrypted by requesting HIU
Posting the Data
The encrypted data must be pushed to the HIU by the HRP within a short time frame. Current timeout is set to 20 minutes.
If the data is very large, for example: running into 100s of MBs for CT scans, MRIs etc, the data can be pushed in parts.
It is also encouraged for large files to use a streaming approach instead of pushing data to HIU.
Once the data push is complete, the HRP must notify the HIE-CM that it has transferred the data (health-information/notify).
Testing & Verifying Data Transfer
Testing with PHR Application
- On the PHR app, log in with an SBX ABHA address
- Register a patient with the same SBX ABHA address in your HIP/HRP
- Create a new health record for this patient
- Link a care context for this health record using HIP initiated linking
- PHR App should automatically make a request for the health record along with apt consents
- Prepare the health record, encrypt & transfer to the data push URL provided by the PHR app
- Your record should be successfully displayed in the ABHA PHR app
Test Cases
Function | Functionality | Steps To Be Executed |
---|---|---|
Data Transfer & Share | Mandatory HIP must share health records associated with care context on request (HIP_INIT_SHARE_CARECONTEXT) | 1. Initiate a “Get data” for a linked care context in the PHR app. 2. HIP will receive a request to share information along with the consent id & end-point URL where the data must be pushed. 3. HIP must verify that there is a valid consent for sharing this data with the specific HIU making the request. 4. Health records must be shared only for allowed HIP types withing the date ranges granted in the consent. 5. HIP should encrypt the health records to be shared with the HIU public key. 6. HIP should push the encrypted data to the end-point URL. 7. On successful transfer, HIP must notify HIE-CM of successful transfer by calling health information notify API. 8. Transfer must be completed within 2 hours of receiving the request. |