@php $bn = $locale === 'bn'; $tz = config('shastho.display_timezone'); $t = fn (string $bnText, string $enText) => $bn ? $bnText : $enText; $types = [ 'symptom' => $t('লক্ষণ', 'Symptom'), 'note' => $t('নোট', 'Note'), 'doctor_visit' => $t('ডাক্তার দেখানো', 'Doctor visit'), 'vitals' => $t('শারীরিক মাপ', 'Vitals'), ]; @endphp
| {{ $t('ওষুধ', 'Medicine') }} | {{ $t('মাত্রা (ব্যবস্থাপত্র অনুযায়ী)', 'Dose (as prescribed)') }} | {{ $t('সময়', 'Times') }} | {{ $t('শুরু', 'Since') }} |
|---|---|---|---|
| {{ $medicine->medicine_name }} | {{ $medicine->dosage_text }} {{ $medicine->instructions }} | {{ implode(', ', $medicine->times ?? []) }} | {{ $medicine->start_date?->format('d M Y') }} |
| {{ $t('তারিখ', 'Date') }} | {{ $t('ধরন', 'Type') }} | {{ $t('বিবরণ', 'Details') }} |
|---|---|---|
| {{ $entry->occurred_at->timezone($tz)->format('d M Y H:i') }} | {{ $types[$entry->type] ?? $entry->type }} |
@if ($entry->title){{ $entry->title }} @endif @if ($entry->doctor_name || $entry->hospital_name) {{ trim(($entry->doctor_name ?? '').' '.($entry->hospital_name ? '('.$entry->hospital_name.')' : '')) }} @endif @if (! empty($entry->data['symptoms'])) {{ $t('লক্ষণ', 'Symptoms') }}: {{ implode(', ', $entry->data['symptoms']) }} @if (isset($entry->data['severity'])) · {{ $t('তীব্রতা', 'Severity') }} {{ $entry->data['severity'] }}/5 @endif @endif @if (! empty($entry->data['vitals'])) @foreach ($entry->data['vitals'] as $key => $value) {{ $key }}: {{ $value }} @endforeach @endif {{ $entry->body }} |
{{ $t( 'এই সারসংক্ষেপ ব্যবহারকারী নিজে লিখেছেন (স্বাস্থ্য সাথী অ্যাপ)। এটি মেডিকেল রেকর্ড বা রোগনির্ণয় নয়।', 'This summary was written by the user in the Shastho Sathi app. It is not a medical record or diagnosis.' ) }}