Tasks · T1.1-G
Read QR and view IPS
View flowScan a VHL QR from the mobile app or HIS, validate it, retrieve the manifest, then retrieve and display the IPS.
Requirements
T1.1-E
Links
Expected response
The QR validation succeeds, the manifest is retrieved, and the IPS document Bundle is shown in the app or HIS.
Evidence
Mobile app screenshot with the IPS.
Observations
Test cases: TK1.1_TC07, TK1.1_TC09, TK1.1_TC10, TK1.1_TC19, TK1.1_TC20.
Requests to run
Collection
VHL and ICVP validators - GDHCN Validator
Validate QR Code
curl -X POST "${VHL_SERVER}/v2/vshcValidation" \
-H "Content-Type: application/json" \
-d '{"qrCodeContent":"${QR_CONTENT}"}'Expected response
HTTP 200 with validationStatus and shLinkContent containing the manifest URL.
Collection
VHL and ICVP validators - GDHCN Validator
Retrieve Manifest
curl -X POST "${VHL_SERVER}/v2/manifests/${MANIFEST_ID}" \
-H "Content-Type: application/json" \
-d '{"passCode":"${PASSCODE}","recipient":"${RECIPIENT}"}'Expected response
HTTP 200 with a files array containing the IPS JSON location.
Collection
VHL and ICVP validators - GDHCN Validator
Retrieve IPS Content
curl -X GET "${VHL_SERVER}/v2/ips-json/${MANIFEST_ID}?key=${DOCUMENT_KEY}" \
-H "Accept: application/fhir+json"Expected response
HTTP 200 with the IPS document Bundle.
