Tasks · T3.3
Load Medication Overview and create QR
View flowUse the mobile app to find and retrieve the patient's Medication Overview, select the medications to carry, and generate a protected HC1 QR.
Requirements
T3.2
Links
Expected response
The app stores the selected Medication Overview and displays a signed, passcode-protected HC1 QR containing only the medications selected by the patient.
Evidence
Mobile app screenshot showing the generated QR and evidence that the QR is valid.
Observations
The PDF identifies the national-node operation as <national-node>:3000/fhir/Bundle/{ID}/$meow. Test cases: TC03, TC04, and TC05.
Requests to run
Collection
National Node - Medication Overview
ITI-67 Find Medication Overview references
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's Medication Overview documents.
Collection
National Node - Medication Overview
ITI-68 Retrieve Medication Overview
curl -X GET "${FHIR_SERVER}/fhir/Bundle/${MEOW_ID}" \
-H "Accept: application/fhir+json"Expected response
HTTP 200 with the selected Medication Overview document Bundle.
Collection
National Node - Medication Overview
Create selected Medication Overview
curl -X GET "${IPS_MEDIATOR}/fhir/Bundle/${MEOW_ID}/\$meow" \
-H "Accept: application/fhir+json"Expected response
HTTP 200 with the Medication Overview content used for QR issuance.
Collection
VHL and HCERT services
Issue Medication Overview QR
curl -X POST "${VHL_SERVER}/v2/vshcIssuance" \
-H "Content-Type: application/json" \
-d '{"expiresOn":"2026-12-31T23:59:59.000Z","jsonContent":"${SELECTED_MEOW_JSON}","passcode":"${PASSCODE}"}'Expected response
HTTP 200 with the generated HC1 QR payload.
