@extends('layouts.yellow') @section('content')
@if(isset($exist) && ($exist === "1"))
{{__("detail-patient.patientRegistered")}}
@endif

{{$model->firstname." ".$model->lastname}}

@php $accessMode = \App\Models\Settings::getAccessMode(); @endphp
@include('patient-custom-fields.fields-form', ['model' => $model])
@if((int)$model->age < 18)
@php $relationships = $model->relationships()->get(); @endphp @include('patient.representatives', ['model' => $model, 'relationships' => $relationships])
@endif
@endsection