@extends('layouts.app') @section('title', __('prescriptions::messages.protocols.title')) @section('content')

{{ __('prescriptions::messages.protocols.title') }}

{{ __('prescriptions::messages.protocols.subtitle') }}

@if ($protocols->isEmpty())

{{ __('prescriptions::messages.protocols.empty_title') }}

{{ __('prescriptions::messages.protocols.empty_text') }}

@else
@foreach ($protocols as $protocol) @endforeach
{{ __('prescriptions::messages.protocols.name') }} {{ __('prescriptions::messages.protocols.category') }} {{ __('common.status') }} {{ __('common.actions') }}
{{ $protocol->title }} @if ($protocol->summary) {{ $protocol->summary }} @endif @if ($protocol->category) {{ $protocol->category }} @else — @endif {{ $protocol->is_active ? __('common.active') : __('common.inactive') }}
{{-- Escaped and rendered as lines. The body is plain text by design; this is the page that gets printed and handed to a patient, and it is no place for markup. --}}
    @foreach (preg_split('/\r\n|\r|\n/', $protocol->body) ?: [] as $line) @if (trim($line) !== '')
  • {{ trim($line) }}
  • @endif @endforeach
@if ($protocols->hasPages())
{{ $protocols->links() }}
@endif @endif
@can('formulary.manage') @endcan
@endsection