Mapping Radiologi
@php $number = 0; @endphp @if (!empty($mst_param_rad))
nama pemeriksaan
Loinc
Bodysite
@foreach ($mst_param_rad as $value) @php $bodysite_name = null; $bodysite_id = null; $loinc_name = null; $loinc_code = null; $map = $ss_map_radiologi->where('tera_rad_param_id', $value->rsid); if ($map->isNotEmpty()) { $map = $map->values()[0]; $loinc_code = $map->loinc_code; $bodysite_id = $map->bodysite_snomed_id; $loinc = $mst_loinc->where('loinc_code', $map->loinc_code); $bodysite = $mst_bodysite->where('snomed_id', $map->bodysite_snomed_id); $loinc_name = $loinc->isEmpty() ? null : $loinc->values()[0]->loinc_name; $bodysite_name = $bodysite->isEmpty() ? null : $bodysite->values()[0]->snomed_nama; } @endphp
{{ $value->rsid }} - {{ $value->jenis_periksa }}
({{ $loinc_code ?? '-' }}) {{ $loinc_name ?? '-' }}
({{ $bodysite_id ?? '-' }}){{ $bodysite_name ?? '-' }}
Map
@endforeach
@endif
×
@csrf
Loinc Code
@foreach ($mst_loinc as $loinc_item)
{{ $loinc_item->loinc_name }}
@endforeach
Loinc Code (jika kosong)
Bodysite
@foreach ($mst_bodysite as $bodysite_item)
{{ $bodysite_item->snomed_nama }}
@endforeach
Simpan