{{-- patient --}}
{!! __('lang.patient.title') !!}
{!! html() ->select('booking[mtb_medical_subject_id]', $data['medical_subject_list'], isset($data['booking']) ? $data['booking']['mtb_medical_subject_id'] : '') ->class('form-select rounded-0 mb-2') !!}
{!! html() ->select('patient[yy]', $data['yy_list'], isset($data['booking']) ? \Carbon\Carbon::parse($data['booking']['birthday'])->format('Y') : '1970') ->class('form-select rounded-0 mb-2') !!} {!! html() ->select('patient[mm]', $data['mm_list'], isset($data['booking']) ? \Carbon\Carbon::parse($data['booking']['birthday'])->format('n') : '') ->class('form-select rounded-0 mb-2') !!} {!! html() ->select('patient[dd]', $data['dd_list'], isset($data['booking']) ? \Carbon\Carbon::parse($data['booking']['birthday'])->format('j') : '') ->class('form-select rounded-0') !!}
.
{!! html() ->select('booking[mtb_tested_id]', $data['tested_list'], isset($data['booking']) ? $data['booking']['mtb_tested_id'] : '') ->class('form-select rounded-0 mb-2') !!}
@for ($i = 0; $i <= 1; $i++) @endfor
@for ($i = 0; $i <= 1; $i++) @endfor
{{-- /.patient --}} {{-- fever_outpatient --}}
{{-- transport --}}
来院方法
{!! html() ->select('booking[mtb_transport_id]', $data['transport_list'], isset($data['booking']) ? $data['booking']['mtb_transport_id'] : '') ->class('form-select rounded-0 mb-2') !!}
{!! html() ->select('booking[mtb_body_color_id]', $data['body_color_list'], isset($data['booking']) ? $data['booking']['mtb_body_color_id'] : '') ->class('form-select rounded-0 mb-2') !!}
{{-- /.transport --}} {{-- medical_subject --}} @if (!is_null($data['dtb_booking_code']))
他科診療
@foreach ($data['other_medical_subject_list'] as $key => $value) @endforeach
@endif {{-- /.medical_subject --}}
{{-- /.fever_outpatient --}} {{-- 3rd --}} @if (!is_null($data['dtb_booking_code']))
{{-- question --}}
問診票
    @foreach ($data['question_list'] as $key => $value)
  • Q{!! $value['seq'] !!}. {!! $value['question_name'] !!}
    @if ($value['is_option']) {{-- is_checkbox --}} @if ($value['is_checkbox']) @foreach ($value['option_list'] as $i => $option)
    @if ($option['is_remark'])
    @endif
    @endforeach @endif {{-- /.is_checkbox --}} {{-- is_radio --}} @if ($value['is_radio']) @foreach ($value['option_list'] as $i => $option)
    @if ($option['is_remark'])
    @endif
    @endforeach @endif {{-- /.is_radio --}} {{-- is_select --}} @if ($value['is_select'])
    {!! html() ->select("question[{$value['mtb_question_id']}]", $value['option_list'], isset($data['response_list'][$key]['response']) ? $data['response_list'][$key]['response'] : '') ->class('form-select rounded-0') !!}
    @endif {{-- /.is_select --}} @else @endif
  • @endforeach
{{-- /.question --}}
@endif {{-- /.3rd --}}