Back to home
Tasks · T1.1-H
Merge IPS and create VHL
View flowMerge IPS documents generated in multiple countries and create a new VHL with the consolidated information.
Requirements
T1.1-E and T1.1-G
Links
Expected response
A QR/VHL is generated from IPS information consolidated from two or more countries.
Evidence
App screenshot distinguishing data from two IPS documents and the generated QR/VHL with passcode.
Observations
The operation is performed in the mobile app after the patient has received care in two or more countries.
Requests to run
Collection
App Backend - Lacpass App API
Merge two IPS bundles into a unified IPS
curl -X POST "${APP_BACKEND_URL}/ips/merge" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${ACCESS_TOKEN}" \
-d '{"firstBundle":${IPS_A_JSON},"secondBundle":${IPS_B_JSON}}'Expected response
HTTP 200 with the unified IPS Bundle.
Collection
App Backend - Lacpass App API
Create QR data
curl -X POST "${APP_BACKEND_URL}/qr" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${ACCESS_TOKEN}" \
-d '{"content":"${MERGED_IPS_JSON}","expires_on":"2026-12-31T23:59:59","pass_code":"${PASSCODE}"}'Expected response
HTTP 200 with the QR/VHL payload for the merged IPS.
