@extends('themes.frontend.layouts.app') @section('body_class', 'bg-background font-body text-on-surface antialiased overflow-x-hidden') @section('validate') @stop @push('head_scripts') @endpush @push('styles') @endpush @section('content') {{ $clinicModel->title }} {!! nl2br($clinicModel->address) !!} {{ $clinicModel->email }} {{ $clinicModel->phone }} {{ csrf_field() }} @php $patientLabelClass = 'block text-sm font-semibold font-label uppercase tracking-widest text-secondary mb-2'; $patientInputClass = 'w-full h-12 px-4'; $fieldsById = $form->fields->keyBy('id'); $requestFieldName = fn($field) => \App\Utilities\EnquiryUtility::getFieldRequestKey($form, $field); $patientTextFields = [ ['key' => 'date_of_birth', 'col' => 'md:col-span-4', 'type' => 'date'], ['key' => 'street_address', 'col' => 'md:col-span-8', 'type' => 'text'], ['key' => 'city', 'col' => 'md:col-span-4', 'type' => 'text'], ['key' => 'province', 'col' => 'md:col-span-4', 'type' => 'text'], ['key' => 'postal_code', 'col' => 'md:col-span-4', 'type' => 'text'], ['key' => 'email_address', 'col' => 'md:col-span-4', 'type' => 'email'], ['key' => 'home_phone', 'col' => 'md:col-span-6', 'type' => 'tel'], ['key' => 'cell_phone', 'col' => 'md:col-span-6', 'type' => 'tel'], ['key' => 'cccupation', 'col' => 'md:col-span-6', 'type' => 'text'], ['key' => 'employed_by', 'col' => 'md:col-span-6', 'type' => 'text'], ]; $insuranceFields = [ ['key' => 'insurance_company', 'col' => 'md:col-span-4', 'type' => 'text'], ['key' => 'policy_no', 'col' => 'md:col-span-4', 'type' => 'text'], ['key' => 'certificate_no', 'col' => 'md:col-span-4', 'type' => 'text'], ['key' => 'family_physician', 'col' => 'md:col-span-6', 'type' => 'text'], ['key' => 'physician_phone', 'col' => 'md:col-span-6', 'type' => 'tel'], ['key' => 'previous_dentist', 'col' => 'md:col-span-6', 'type' => 'text'], ['key' => 'previous_dentist_phone', 'col' => 'md:col-span-6', 'type' => 'tel'], ['key' => 'referral_credit', 'col' => 'md:col-span-12', 'type' => 'text'], ]; $emergencyFields = ['en_contact_name', 'en_relationship', 'en_address', 'en_phone_number']; $medicalRows = [ ['id' => 53, 'type' => 'date'], ['id' => 54, 'extra' => 'cup_care_specify'], ['id' => 56], ['id' => 57], ['id' => 58, 'extra' => 'drink_alcohol_specify'], ['id' => 60], ['id' => 61, 'extra' => 'herbal_substances_specify'], ['id' => 63, 'extra' => 'any_medications_specify'], ['id' => 65, 'extra' => 'prolonged_medication_specify'], ['id' => 67], ['id' => 68, 'extra' => 'any_surgery_specify'], ['id' => 70], ['id' => 71], ['id' => 72, 'extra' => 'pregnant_weeks'], ]; $medicalDrugReactionRows = [['id' => 76, 'extra' => 'adverse_reactions_specify']]; $medicalPostConditionRows = [ ['id' => 79], ['id' => 80, 'extra' => 'anything_else_know_specify'], ['id' => 82], ['id' => 83, 'extra' => 'anything_about_health_specify'], ['id' => 85], ]; $dentalRows = [ ['id' => 86, 'type' => 'date'], ['id' => 87, 'type' => 'date'], ['id' => 88, 'type' => 'date'], ['id' => 89], ['id' => 90, 'type' => 'text'], ['id' => 91, 'type' => 'text'], ['id' => 92], ['id' => 93], ['id' => 94], ['id' => 95], ['id' => 96], ['id' => 97, 'type' => 'text'], ['id' => 98, 'type' => 'text'], ['id' => 99, 'type' => 'text'], ['id' => 100, 'extra' => 'any_discomfort_specify'], ]; $dentalFollowUpRows = [ ['id' => 103], ['id' => 104], ['id' => 105], ['id' => 106], ['id' => 107], ['id' => 108], ['id' => 109], ['id' => 110], ['id' => 111], ['id' => 112], ]; $medicalReactionCheckboxGroups = [ ['field' => $fieldsById->get(74), 'cols' => 'grid-cols-2 md:grid-cols-4'], ['field' => $fieldsById->get(75), 'cols' => 'grid-cols-2 md:grid-cols-3'], ]; $medicalConditionCheckboxGroups = [ ['field' => $fieldsById->get(78), 'cols' => 'grid-cols-1 md:grid-cols-3'], ]; $dentalCheckboxGroups = [['field' => $fieldsById->get(102), 'cols' => 'grid-cols-1 md:grid-cols-3']]; @endphp CHAGGER DENTAL PATIENT INFORMATION {{ $fields['title']->field_label }} @foreach ($arrayValues['title'] as $value => $label) field_name) == $value ? 'checked' : '' }} type="radio" /> {{ $label }} @endforeach {{ $fields['full_name']->field_label }} {{ $fields['age']->field_label }} @foreach (['sex', 'marital_status'] as $fieldKey) {{ $fields[$fieldKey]->field_label }} @foreach ($arrayValues[$fieldKey] as $value => $label) field_name) == $value ? 'checked' : '' }} type="radio" /> {{ $label }} @endforeach @endforeach @foreach ($patientTextFields as $fieldConfig) @php($field = $fields[$fieldConfig['key']]) {{ $field->field_label }} @endforeach {{ $fields['dental_insurance']->field_label }} @foreach ($arrayValues['dental_insurance'] as $value => $label) field_name) == $value ? 'checked' : '' }} type="radio" /> {{ $label }} @endforeach @foreach ($insuranceFields as $fieldConfig) @php($field = $fields[$fieldConfig['key']]) {{ $field->field_label }} @endforeach emergency In case of Emergency Notify. @foreach ($emergencyFields as $fieldKey) @php($field = $fields[$fieldKey]) @endforeach OFFICE POLICY We require at least **48 hours notice** for any appointment cancellations or rescheduling. This allows us to offer the time to other patients who may need urgent care. A fee may be charged for missed appointments without sufficient notice. Payment is required at the time of service. We accept major credit cards, debit, and cash. We will gladly help you process your insurance claims. CONFIDENTIAL MEDICAL HISTORY @foreach ($medicalRows as $fieldConfig) @php($field = $fieldsById->get($fieldConfig['id'])) @php($fieldRequestName = $requestFieldName($field)) @php($fieldOptions = \App\Lib\Core\Core::parseJson($field->options) ?? []) {!! $field->field_label !!} @if ($field->type === 'radio') @foreach ($fieldOptions as $value => $label) {{ $label }} @endforeach @else @endif @isset($fieldConfig['extra']) @php($extraField = $fields[$fieldConfig['extra']]) @php($extraFieldRequestName = $requestFieldName($extraField)) @endisset @endforeach @foreach ($medicalReactionCheckboxGroups as $group) @php($field = $group['field']) @if ($field) @php($fieldRequestName = $requestFieldName($field)) @php($options = \App\Lib\Core\Core::parseJson($field->options) ?? []) {!! $field->field_label !!} @foreach ($options as $value => $label) {{ $label }} @endforeach @endif @endforeach @foreach ($medicalDrugReactionRows as $fieldConfig) @php($field = $fieldsById->get($fieldConfig['id'])) @php($fieldRequestName = $requestFieldName($field)) @php($fieldOptions = \App\Lib\Core\Core::parseJson($field->options) ?? []) {!! $field->field_label !!} @foreach ($fieldOptions as $value => $label) {{ $label }} @endforeach @isset($fieldConfig['extra']) @php($extraField = $fields[$fieldConfig['extra']]) @php($extraFieldRequestName = $requestFieldName($extraField)) @endisset @endforeach @foreach ($medicalConditionCheckboxGroups as $group) @php($field = $group['field']) @if ($field) @php($fieldRequestName = $requestFieldName($field)) @php($options = \App\Lib\Core\Core::parseJson($field->options) ?? []) {!! $field->field_label !!} @foreach ($options as $value => $label) {{ $label }} @endforeach @endif @endforeach @foreach ($medicalPostConditionRows as $fieldConfig) @php($field = $fieldsById->get($fieldConfig['id'])) @php($fieldRequestName = $requestFieldName($field)) @php($fieldOptions = \App\Lib\Core\Core::parseJson($field->options) ?? []) {!! $field->field_label !!} @foreach ($fieldOptions as $value => $label) {{ $label }} @endforeach @isset($fieldConfig['extra']) @php($extraField = $fields[$fieldConfig['extra']]) @php($extraFieldRequestName = $requestFieldName($extraField)) @endisset @endforeach CONFIDENTIAL DENTAL HISTORY @foreach ($dentalRows as $fieldConfig) @php($field = $fieldsById->get($fieldConfig['id'])) @php($fieldRequestName = $requestFieldName($field)) @php($fieldOptions = \App\Lib\Core\Core::parseJson($field->options) ?? []) {!! $field->field_label !!} @if ($field->type === 'radio') @foreach ($fieldOptions as $value => $label) {{ $label }} @endforeach @else @endif @isset($fieldConfig['extra']) @php($extraField = $fields[$fieldConfig['extra']]) @php($extraFieldRequestName = $requestFieldName($extraField)) @endisset @endforeach @foreach ($dentalCheckboxGroups as $group) @php($field = $group['field']) @if ($field) @php($fieldRequestName = $requestFieldName($field)) @php($options = \App\Lib\Core\Core::parseJson($field->options) ?? []) {!! $field->field_label !!} @foreach ($options as $value => $label) {{ $label }} @endforeach @endif @endforeach @foreach ($dentalFollowUpRows as $fieldConfig) @php($field = $fieldsById->get($fieldConfig['id'])) @php($fieldRequestName = $requestFieldName($field)) @php($fieldOptions = \App\Lib\Core\Core::parseJson($field->options) ?? []) {!! $field->field_label !!} @if ($field->type === 'radio') @foreach ($fieldOptions as $value => $label) {{ $label }} @endforeach @else @endif @isset($fieldConfig['extra']) @php($extraField = $fields[$fieldConfig['extra']]) @php($extraFieldRequestName = $requestFieldName($extraField)) @endisset @endforeach {{ $fields['describe']->field_label }} {{ old($fields['describe']->field_name) }} PATIENT CONSENT This is to certify that I, the undersigned, consent to the performing of the dental procedures agreed to be necessary or advisable including the use of local anesthetic as indicated and I will assume responsibility for fees associated with those procedures. Attached to this consent form, we have outlined what our office is doing to ensure that: check_circle Only necessary information is collected about you check_circle We only share your information with your consent check_circle Storage, retention and destruction of your personal information complies with existing legislation and privacy protection protocols check_circle Our privacy protocols comply with privacy legislation, standards of our regulatory body, the Royal College of Dental Surgeons of Ontario, and the law. In this office, DR. B. CHAGGER acts as the Privacy Information Officer. Attached to this consent form, we have outlined what our office is doing to ensure that: I have reviewed the above information that explains how your office will use my personal information, and the steps your office is taking to protect my information. I know that your office has a Privacy Code, and I can ask to see the code at any time. I agreed that CHAGGER DENTISTRY PROFESSIONAL CORPORATION or CHAGGER AFFILIATES can collect, use and disclose personal information about as set out above in the information about the office’s privacy policies. I agree to receive CHAGGER DENTAL EMAILS, TEXTS, UPDATES AND PROMOTION REGARDING CHAGGER DENTAL’S SERVICES. I confirm that I can withdraw my consent at any time. {{ $fields['signature']->field_label }} Sign inside the box above. Clear {{ $fields['print_name']->field_label }} Submit Registration By clicking submit, your information will be securely transmitted to our clinical records department. @endsection @push('last_scripts') @endpush
{!! nl2br($clinicModel->address) !!}
{{ $clinicModel->email }}
{{ $clinicModel->phone }}
We require at least **48 hours notice** for any appointment cancellations or rescheduling. This allows us to offer the time to other patients who may need urgent care. A fee may be charged for missed appointments without sufficient notice.
Payment is required at the time of service. We accept major credit cards, debit, and cash. We will gladly help you process your insurance claims.
{!! $field->field_label !!}
This is to certify that I, the undersigned, consent to the performing of the dental procedures agreed to be necessary or advisable including the use of local anesthetic as indicated and I will assume responsibility for fees associated with those procedures. Attached to this consent form, we have outlined what our office is doing to ensure that:
In this office, DR. B. CHAGGER acts as the Privacy Information Officer. Attached to this consent form, we have outlined what our office is doing to ensure that:
I have reviewed the above information that explains how your office will use my personal information, and the steps your office is taking to protect my information.
I know that your office has a Privacy Code, and I can ask to see the code at any time.
By clicking submit, your information will be securely transmitted to our clinical records department.