devsofttech_hms_ci4/scratch/find_imm_files.php

9 lines
223 B
PHP

<?php
$files = glob(__DIR__ . '/../ABDM_FHIR/examples.json/*.json');
foreach ($files as $f) {
$c = file_get_contents($f);
if (stripos($c, 'ImmunizationRecord') !== false) {
echo basename($f) . "\n";
}
}