- array_push($revisions, $temp_date);
- $supported_file = 1;
- } elseif (preg_match("/SnomedCT_Release-es_INT_([0-9]{8}).zip/", $file, $matches)) {
- // Hard code this SNOMED version feed to be International:Spanish
- //
- $version = "International:Spanish";
- $date_release = substr($matches[1], 0, 4) . "-" . substr($matches[1], 4, -2) . "-" . substr($matches[1], 6);
- $temp_date = array('date' => $date_release, 'version' => $version, 'path' => $mainPATH . "/" . $matches[0]);
- array_push($revisions, $temp_date);
- $supported_file = 1;
- } elseif (preg_match("/SnomedCT_InternationalRF2_PRODUCTION_([0-9]{8})[0-9a-zA-Z]{8}.zip/", $file, $matches)) {
- // Hard code the version SNOMED feed to be International:English
- //
- $version = "International:English";
- $rf2 = true;
- $date_release = substr($matches[1], 0, 4) . "-" . substr($matches[1], 4, -2) . "-" . substr($matches[1], 6);
- $temp_date = array('date' => $date_release, 'version' => $version, 'path' => $mainPATH . "/" . $matches[0]);
- array_push($revisions, $temp_date);
- $supported_file = 1;
- } elseif (preg_match("/SnomedCT_ManagedServiceIE_PRODUCTION_IE1000220_([0-9]{8})[0-9a-zA-Z]{8}.zip/", $file, $matches)) {
- // Hard code the version SNOMED feed to be International:English Irish version