Back to home
Tasks · T1.1-E
Load IPS and create VHL
View flowUse the mobile app to find and retrieve the patient's IPS, select resources, and generate a QR/VHL.
Requirements
T1.1-C
Links
Expected response
The app stores the IPS and generates an HC1 QR/VHL with the resources selected by the patient.
Evidence
App screenshot with IPS and valid VHL QR.
Observations
Involved endpoint: <national-node>:8182/v2/vshcIssuance. Test cases: TK1.1_TC05, TK1.1_TC06, TK1.1_TC15.
Requests to run
Collection
National Node - LACPass IPS
ITI-67 Find Document Reference
curl -X GET "${BROADCAST_SERVER}/fhir/DocumentReference/?patient.identifier=${PATIENT_IDENTIFIER}&_format=json&status=current" \
-H "Accept: application/fhir+json"Expected response
HTTP 200 with DocumentReference entries for the patient.
Collection
National Node - LACPass IPS
ITI-68 Retrieve Document
curl -X GET "${FHIR_SERVER}/fhir/Bundle/${IPS_ID}" \
-H "Accept: application/fhir+json"Expected response
HTTP 200 with the selected IPS Bundle.
Collection
VHL and ICVP validators - GDHCN Validator
Create QR Code
curl -X POST "${VHL_SERVER}/v2/vshcIssuance" \
-H "Content-Type: application/json" \
-d '{"expiresOn":"2026-12-31T23:59:59.000Z","jsonContent":"${SELECTED_IPS_JSON}","passcode":"${PASSCODE}"}'Expected response
HTTP 200 with the generated HC1 QR/VHL payload.
