@php $pickerId = $pickerId ?? 'clinical-code-picker-' . \Illuminate\Support\Str::uuid(); $fieldName = $fieldName ?? 'diagnosis_code_ids'; $system = $system ?? 'icd-10'; $systemLabel = $system === 'icd-10' ? 'ICD-10' : 'ICD-9-CM'; $itemLabel = $system === 'icd-10' ? 'diagnosis' : 'tindakan'; $selectedCodes = collect($selectedCodes ?? []); $primaryCodeId = $primaryCodeId ?? null; $isRequired = $isRequired ?? false; $containerSpacingClass = $containerSpacingClass ?? 'mb-3'; @endphp
Katalog {{ $systemLabel }} versi 2010. Pilih hasil yang sesuai dengan penilaian klinis.
@if (!empty($primaryFieldName))
Gunakan pilihan radio di samping kode untuk menetapkan satu diagnosis utama.
@endif
@foreach ($selectedCodes as $code)
@if (!empty($primaryFieldName))
id) >
@else
{{ $code->code }} — {{ $code->display }}
@endif
@endforeach
@if ($errors->has($fieldName)) @elseif ($errors->has($fieldName . '.0')) @endif @if (!empty($primaryFieldName)) {{--
Jika terdapat lebih dari satu diagnosis, pastikan penanda diagnosis utama sesuai.
--}} @error ($primaryFieldName) @enderror @endif
@once @push('scripts') @endpush @endonce