{{-- Formula Builder — Clinical Medical Form Edition Variables: $formula (edit), $usedCodes (edit) --}} @php $isEdit = isset($formula); $nameValue = old('name', $isEdit ? $formula->NAME : ''); $equationValue = old('equation', $isEdit ? $formula->DISPLAY_EQUATION : ''); @endphp {{-- ════════════════ HTML ════════════════ --}} @if ($errors->any())
Enter sample lab results and patient data to verify the formula calculates correctly before saving.