@if(!$patient->sections || !count($patient->sections))
    <div class="text-secondary p-3">No sections yet for this patient.</div>
@else
    <?php $canvasData = json_decode($patient->canvas_data, true); ?>
    @foreach($patient->sections as $section)
        @include('app.patient.note.section')
    @endforeach
    @include('app.patient.note.section_script')
@endif

