fix issues with phase-32
This commit is contained in:
Regular → Executable
-4
@@ -5,7 +5,3 @@ ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
|
||||
echo "Re-save all patients through EF to apply encryption converters..."
|
||||
dotnet run --project "${ROOT_DIR}/VigilCareClinicalAPI" --no-build -- encrypt-phi
|
||||
```
|
||||
|
||||
```bash
|
||||
chmod +x scripts/encrypt-existing-patient-phi.sh
|
||||
Regular → Executable
+1
-1
@@ -27,7 +27,7 @@ curl -sf "${BASE_URL}/api/v1/phi-access-logs?patientId=${PATIENT_ID}" \
|
||||
-H "Authorization: Bearer ${TOKEN}" | jq -e '.data.totalCount >= 1'
|
||||
|
||||
echo "Verify raw DB encryption (requires psql)"
|
||||
docker compose exec -T postgres psql -U vigilcare -d vigilcare -c \
|
||||
docker compose exec -T postgres psql -U postgres -d vigilcare -c \
|
||||
"SELECT id, left(first_name, 20) AS encrypted_prefix FROM patients WHERE id = '${PATIENT_ID}';"
|
||||
|
||||
echo "Phase 32 verification complete."
|
||||
Reference in New Issue
Block a user