@extends('layouts.horizontal', ['title' => 'Historial Clínico']) @section('content') @push('css') @endpush @include('layouts.partials.page-title', [ 'subtitle' => 'Pacientes > ' . $paciente->nombre . ' ' . $paciente->apPaterno . '', 'title' => 'Historial Clínico' ]) @php function hc($historial, $seccion, $campo, $tipo = 'valor') { return $historial['secciones'][$seccion][$campo][$tipo] ?? null; } @endphp