Переглянути джерело

Merge branch 'master' into dev-vj

Vijayakrishnan 3 роки тому
батько
коміт
fe1023321b
42 змінених файлів з 4336 додано та 3 видалено
  1. 71 1
      app/Helpers/helpers.php
  2. 97 0
      app/Http/Controllers/DocumentsController.php
  3. 15 1
      app/Http/Controllers/NoteController.php
  4. 16 0
      app/Http/Controllers/PatientController.php
  5. 10 0
      app/Models/CompanyPro.php
  6. 32 0
      app/Models/CompanyProDocument.php
  7. 7 0
      resources/views/app/patient/client-documents.blade.php
  8. 10 1
      resources/views/app/patient/note/dashboard.blade.php
  9. 382 0
      resources/views/app/patient/partials/company-pro-documents.blade.php
  10. 89 0
      resources/views/app/patient/partials/preview-and-sign-document-modal.blade.php
  11. 47 0
      resources/views/document-templates-generic/default__authorization_letter/content.blade.php
  12. 4 0
      resources/views/document-templates-generic/default__authorization_letter/spec.json
  13. 362 0
      resources/views/document-templates-generic/default__baa/content.blade.php
  14. 1 0
      resources/views/document-templates-generic/default__baa/spec.json
  15. 179 0
      resources/views/document-templates-generic/default__nda/content.blade.php
  16. 1 0
      resources/views/document-templates-generic/default__nda/spec.json
  17. 4 0
      resources/views/document-templates-generic/default__nhcp__appointment_letter/content.blade.php
  18. 1 0
      resources/views/document-templates-generic/default__nhcp__appointment_letter/spec.json
  19. 514 0
      resources/views/document-templates-generic/default__nhcp__engagement_agreement/content.blade.php
  20. 514 0
      resources/views/document-templates-generic/default__nhcp__engagement_agreement/content.blade.php.OLD
  21. 1 0
      resources/views/document-templates-generic/default__nhcp__engagement_agreement/spec.json
  22. 4 0
      resources/views/document-templates-generic/default__np__appointment_letter/content.blade.php
  23. 1 0
      resources/views/document-templates-generic/default__np__appointment_letter/spec.json
  24. 476 0
      resources/views/document-templates-generic/default__np__engagement_agreement/content.blade.php
  25. 1 0
      resources/views/document-templates-generic/default__np__engagement_agreement/spec.json
  26. 4 0
      resources/views/document-templates-generic/default__pa__appointment_letter/content.blade.php
  27. 1 0
      resources/views/document-templates-generic/default__pa__appointment_letter/spec.json
  28. 476 0
      resources/views/document-templates-generic/default__pa__engagement_agreement/content.blade.php
  29. 1 0
      resources/views/document-templates-generic/default__pa__engagement_agreement/spec.json
  30. 4 0
      resources/views/document-templates-generic/default__payroll/content.blade.php
  31. 1 0
      resources/views/document-templates-generic/default__payroll/spec.json
  32. 4 0
      resources/views/document-templates-generic/default__physician__appointment_letter/content.blade.php
  33. 1 0
      resources/views/document-templates-generic/default__physician__appointment_letter/spec.json
  34. 473 0
      resources/views/document-templates-generic/default__physician__engagement_agreement/content.blade.php
  35. 1 0
      resources/views/document-templates-generic/default__physician__engagement_agreement/spec.json
  36. 4 0
      resources/views/document-templates-generic/general__hcp__appointment_letter/content.blade.php
  37. 1 0
      resources/views/document-templates-generic/general__hcp__appointment_letter/spec.json
  38. 476 0
      resources/views/document-templates-generic/general__hcp__engagement_agreement/content.blade.php
  39. 1 0
      resources/views/document-templates-generic/general__hcp__engagement_agreement/spec.json
  40. 38 0
      resources/views/layouts/document-pdf.blade.php
  41. 4 0
      resources/views/layouts/patient.blade.php
  42. 7 0
      routes/web.php

+ 71 - 1
app/Helpers/helpers.php

@@ -775,4 +775,74 @@ if(!function_exists('segment_template_summary_value_display')) {
         if($value && strlen($value)) return '<span class="segment-template-summary-value '.$class.'">' . $value . '</span>';
         return $default;
     }
-}
+}
+
+if(!function_exists('get_doc_templates')){
+    function get_doc_templates(){
+        $basePath = 'views/document-templates-generic';
+        $dir = opendir(resource_path($basePath));
+        $templates = [];
+        if($dir) {
+            while ( $entry = readdir($dir) ) {
+                if($entry !== '.' && $entry !== '..' && is_dir(resource_path($basePath . '/' . $entry))) {
+                    $spec = json_decode(file_get_contents(resource_path($basePath . '/' . $entry) . '/spec.json'));
+                    if(isset($spec->active) && $spec->active) {
+
+                        $html = file_get_contents(resource_path($basePath . '/' . $entry) . '/content.blade.php');
+
+                        // get fields
+                        $proVariables = [];
+                        $htmlDisplay = preg_replace_callback(
+                            '/{([^}]+)}/',
+                            function ($match) use (&$proVariables) {
+                                $token = $match[1];
+                                $replacement = '';
+                                if(strpos($token, '.') === FALSE) {
+                                    $adminField = false;
+                                    if($token[0] === '@') {
+                                        // $token = substr($token, 1);
+                                        $adminField = true;
+                                    }
+                                    switch ($token) {
+                                        case 'TODAY':
+                                            $replacement = date('m/d/Y');
+                                            break;
+                                        default:
+                                            $replacement = '<span class="text-info document-variable" data-variable="' . $token . '">' .
+                                                ($token[0] === '@' ? substr($token, 1) : $token) .
+                                                '</span>';
+                                            if (!isset($proVariables[$token])) {
+                                                $proVariables[$token] = [
+                                                    'token' => $token,
+                                                    'adminField' => $adminField
+                                                ];
+                                            }
+                                            break;
+                                    }
+                                }
+                                return $replacement;
+                            },
+                            $html
+                        );
+
+
+                        $templates[] = [
+                            "name" => $entry,
+                            "title" => $spec->title,
+                            "html" => $html,
+                            "htmlDisplay" => $htmlDisplay,
+                            "proVariables" => $proVariables
+                        ];
+                    }
+                }
+            }
+        }
+        closedir($dir);
+
+        // sort by document name
+        $names = array_column($templates, 'title');
+        array_multisort($names, SORT_ASC, $templates);
+
+        return $templates;
+    }
+}

+ 97 - 0
app/Http/Controllers/DocumentsController.php

@@ -0,0 +1,97 @@
+<?php
+
+namespace App\Http\Controllers;
+
+use App\Models\Company;
+use Illuminate\Http\Request;
+use App\Models\CompanyProDocument;
+use PDF;
+use Illuminate\Support\Carbon;
+
+class DocumentsController extends Controller
+{
+
+
+    public function generateDocumentPDF($uid)
+    {
+        $company_pro_document = CompanyProDocument::where('uid', $uid)->first();
+        if (!$company_pro_document) abort(404);
+
+        $company = Company::where('id', $company_pro_document->company_id)->first();
+        if (!$company) abort(404);
+
+        $pro = $company_pro_document->pro;
+
+        // {token} replacements
+
+        // 1. replace "custom" fields (entered by candidate pro)
+        $html = $company_pro_document->content_html;
+        if($company_pro_document->custom_fields_data) {
+            $customFieldsData = json_decode($company_pro_document->custom_fields_data, true);
+            foreach ($customFieldsData as $k => $v) {
+                $html = str_replace('{' . $k . '}', '<span>' . $v . '</span>', $html);
+            }
+        }
+
+        // replace database driven fields
+        $html = preg_replace_callback(
+            '/{([^}]+)}/',
+            function ($match) use ($company, $company_pro_document, $pro) {
+                $token = $match[1];
+                $replacement = '';
+                if(strpos($token, '.') !== FALSE) {
+                    $token = explode('.', $token);
+
+
+                    // if prefixed with * - means pre-send fill
+                    $waitForCountersignToShow = false;
+                    if($token[0][0] === '*') {
+                        $token[0] = substr($token[0], 1);
+                        $waitForCountersignToShow = true;
+                    }
+
+                    $replacement = @${$token[0]}->{$token[1]};
+
+                    // special cases
+
+                    // if the fields are relating to PRO SIGNATURE, then don't display anything until signing
+                    if($token[0] === 'company_pro_document') {
+                        if (!$company_pro_document->has_pro_signed &&
+                            ($token[1] === 'pro_signatures' || $token[1] === 'pro_signed_at')) {
+                            $replacement = '';
+                        }
+                    }
+
+                    // if you want to $waitForCountersignToShow, then do that
+                    if($waitForCountersignToShow && !$company_pro_document->has_hrm_pro_counter_signed){
+                        $replacement = '';
+                    }
+
+                    if(strpos($token[1], "_at") === strlen($token[1]) - 3) {
+                        if(!!$replacement) {
+                            $replacement = date('m/d/Y', strtotime($replacement));
+                        }
+                    }
+
+                }
+                else {
+                    switch ($token) {
+                        case 'TODAY':
+                            $replacement = date('Y-m-d');
+                            break;
+                        default:
+                            $replacement = '<span style="color:red;">' . $token . '</span>';
+                            break;
+                    }
+                }
+                return $replacement;
+            },
+            $html
+        );
+
+         $pdf = PDF::loadView('layouts.document-pdf', compact('company_pro_document', 'html'));
+         return $pdf->stream($uid.'.pdf');
+
+//        return view('layouts.document-pdf', compact('company_pro_document', 'html'));
+    }
+}

+ 15 - 1
app/Http/Controllers/NoteController.php

@@ -15,10 +15,12 @@ use Illuminate\Support\Facades\Http;
 
 use App\Models\Note;
 use App\Models\Client;
+use App\Models\CompanyPro;
 use App\Models\Section;
 use App\Models\SectionTemplate;
 use App\Models\Segment;
 use App\Models\SegmentTemplate;
+use Illuminate\Support\Facades\DB;
 
 class NoteController extends Controller
 {
@@ -66,10 +68,22 @@ class NoteController extends Controller
             ->where('note_id', '<>', $note->id)
             ->get();
 
+        $templates =  get_doc_templates();
+        
+        $companyProIDs = DB::select('SELECT company_pro_id FROM company_pro_document WHERE related_client_id  = ?', [$patient->id]);
+
+        $companyProIDInts = [];
+        foreach($companyProIDs as $cpId){
+            $companyProIDInts[] = $cpId->company_pro_id; 
+        }
+
+        $companyPros = CompanyPro::whereIn('id', $companyProIDInts)->get();
+
         return view('app.patient.note.dashboard', compact('patient', 'note',
             'allSections',
             'ticketsOnNote', 'otherOpenTickets',
-            'supplyOrdersOnNote', 'otherOpenSupplyOrders'));
+            'companyPros',
+            'supplyOrdersOnNote', 'otherOpenSupplyOrders', 'templates'));
     }
 
     public function signConfirmation(Request $request, Client $patient, Note $note) {

+ 16 - 0
app/Http/Controllers/PatientController.php

@@ -9,6 +9,7 @@ use App\Models\Client;
 use App\Models\ClientBDTDevice;
 use App\Models\ClientInfoLine;
 use App\Models\ClientProAccess;
+use App\Models\CompanyPro;
 use App\Models\Erx;
 use App\Models\Facility;
 use App\Models\Handout;
@@ -637,4 +638,19 @@ class PatientController extends Controller
         $rows = ClientProAccess::where('client_id', $patient->id)->get();
         return view('app.patient.client-pro-access', compact('patient', 'rows'));
     }
+
+    public function clientDocuments(Request $request, Client $patient){
+        $templates =  get_doc_templates();
+        
+        $companyProIDs = DB::select('SELECT company_pro_id FROM company_pro_document WHERE related_client_id  = ?', [$patient->id]);
+
+        $companyProIDInts = [];
+        foreach($companyProIDs as $cpId){
+            $companyProIDInts[] = $cpId->company_pro_id; 
+        }
+        
+        $companyPros = CompanyPro::whereIn('id', $companyProIDInts)->get();
+
+        return view('app.patient.client-documents', compact('templates', 'companyPros', 'patient'));
+    }
 }

+ 10 - 0
app/Models/CompanyPro.php

@@ -24,4 +24,14 @@ class CompanyPro extends Model
         return $this->hasMany(CompanyProPayer::class, 'company_pro_id', 'id');
     }
 
+    public function documents()
+    {
+        return $this->hasMany(CompanyProDocument::class, 'company_pro_id', 'id')->orderBy('id');
+    }
+
+    public function displayName()
+    {
+        return $this->company->name . ' / ' . $this->pro->displayName();
+    }
+
 }

+ 32 - 0
app/Models/CompanyProDocument.php

@@ -0,0 +1,32 @@
+<?php
+
+namespace App\Models;
+
+use Illuminate\Database\Eloquent\Model;
+
+class CompanyProDocument extends Model
+{
+
+    protected $table = 'company_pro_document';
+
+    public function companyPro()
+    {
+        return $this->hasOne(CompanyPro::class, 'id', 'company_pro_id');
+    }
+
+    public function company()
+    {
+        return $this->hasOne(Company::class, 'id', 'company_id');
+    }
+
+    public function pro()
+    {
+        return $this->hasOne(Pro::class, 'id', 'pro_id');
+    }
+
+    public function hrmSignature()
+    {
+        return $this->hasOne(Pro::class, 'id', 'counter_signing_hrm_pro_id');
+    }
+
+}

+ 7 - 0
resources/views/app/patient/client-documents.blade.php

@@ -0,0 +1,7 @@
+
+@extends ('layouts.patient')
+@section('inner-content')
+    <div class="">
+        @include('app/patient/partials/company-pro-documents')
+    </div>
+@endsection

+ 10 - 1
resources/views/app/patient/note/dashboard.blade.php

@@ -2419,6 +2419,14 @@
                     </div>
                 </div>
 
+                @if($pro->pro_type === 'ADMIN' && $note->hcpPro)
+                <div class="screen-only">
+                    <div class="border-top p3">
+                        @include('app/patient/partials/company-pro-documents')
+                    </div>
+                </div>
+                @endif
+
                 </div>
 
                 @if($isVisitTemplateBased && !$note->is_signed_by_hcp)
@@ -2705,7 +2713,8 @@
         </script>
         @endif
     @endif
-@endsection
+
+    @endsection
 @if(!$isVisitTemplateBased)
 @section('left-nav-content')
     @if(!$note->is_signed_by_hcp)

+ 382 - 0
resources/views/app/patient/partials/company-pro-documents.blade.php

@@ -0,0 +1,382 @@
+<div class="card m-0 p-0" id="company-documents">
+    <div class="card-header border-bottom-0 p-2">
+        <div class="d-flex align-items-center ">
+            <div class="d-flex align-items-center">
+                <h6 class="my-0 font-weight-bold">Company Documents</h6>
+            </div>
+
+            <span class="mx-2 text-secondary">|</span>
+            <div moe larger center>
+                <a href="#" start show>Add</a>
+                <form url="/api/companyProDocument/create">
+                    <input type="hidden" name="relatedClientUid" value="{{$patient->uid}}">
+                    @if(isset($note))
+                    <input type="hidden" name="relatedNoteUid" value="{{$note->uid}}">
+                    @endif
+                    
+                    <div class="form-group">
+                        <label>Company Pro</label>
+                        <select class="form-control template-selector" name="companyProUid">
+                            <option value="">(no template selected)</option>
+                            @if(isset($note))
+                                @foreach($note->hcpPro->companyPros as $cp)
+                                    <option value="{{$cp->uid}}">{{$cp->displayName()}}</option>
+                                @endforeach
+                            @else 
+                                @if($patient->mcp)
+                                    @foreach($patient->mcp->companyPros as $cp)
+                                        <option value="{{$cp->uid}}">{{$cp->displayName()}}</option>
+                                    @endforeach
+                                @endif
+                            @endif
+                        </select>
+                    </div>
+
+                    @if(isset($templates) && count($templates))
+                    <div class="form-group">
+                        <label>Template</label>
+                        <select class="form-control template-selector" name="internalName">
+                            <option value="">(no template selected)</option>
+                            @foreach($templates as $template)
+                            @if(strpos($template['name'], "lh-") === FALSE && strpos($template['name'], "smg-") === FALSE && strpos($template['name'], "leadership-") === FALSE)
+                            <option value="{{$template['name']}}">{{$template['title']}}&nbsp;&nbsp;({{$template['name']}})</option>
+                            @endif
+                            @endforeach
+                        </select>
+                    </div>
+                    @endif
+                    <div class="mb-2">
+                        <label for="board" class="mb-1 text-secondary">Title</label>
+                        <input type="hidden" name="title">
+                        <div class="title-display form-control form-control-sm"></div>
+                    </div>
+                    <div class="mb-2">
+                        <label for="board" class="mb-1 text-secondary">Content</label>
+                        <input type="hidden" name="contentHtml">
+                        <div class="contentHtml-display border rounded p-3 bg-light"></div>
+                    </div>
+                    <div class="mb-2 custom-fields-container row pt-2">
+
+                    </div>
+                    <div class="mt-3">
+                        <button type="button" class="btn btn-sm btn-primary mr-2 btn-create-document">Create</button>
+                        <button cancel class="btn btn-default border">Cancel</button>
+                    </div>
+                </form>
+            </div>
+            <span class="mx-2 text-secondary">|</span>
+            <div>
+                <div moe relative large>
+                    <a href="#" start show><i class="fas fa-sync"></i></a>
+                    <form url="/api/session/ping" right>
+                        <div class="mb-2">
+                            <label for="board" class="mb-1 text-secondary">Are you sure?</label>                            
+                        </div>                    
+                        <div class="mt-3">
+                            <button type="button" class="btn btn-sm btn-primary mr-2" submit>Refresh</button>
+                            <button cancel class="btn btn-default border">Cancel</button>
+                        </div>
+                    </form>
+                </div>
+            </div>
+        </div>
+    </div>
+    
+    <div class="card-body p-0 m-0">
+            @foreach ($companyPros as $_companyPro)
+                    
+                <div class="card m-2 p-0" id="company-documents">
+                    <div class="card-header border-bottom-0 p-2">
+                        <div class="d-flex align-items-center justify-content-between">
+                            <div class="d-flex align-items-center">
+                                <h6 class="my-0 font-weight-bold">{{$_companyPro->company->name}}</h6>
+                                <span class="mx-2 text-secondary">|</span>
+                                <div moe relative large>
+                                    <a href="#" start show>Request Client Signature</a>
+                                    <form url="/api/companyProDocument/requestClientSignatureByClient">
+
+                                        <input type="hidden" name="clientUid" value="{{$patient->uid}}">
+                                    
+                                        <div class="mt-3">
+                                            <button type="button" class="btn btn-sm btn-primary mr-2" submit>Request Client Signature</button>
+                                            <button cancel class="btn btn-default border">Cancel</button>
+                                        </div>
+                                    </form>
+                                </div>
+                            </div>
+                        </div>
+                    </div>
+
+                    <div class="card-body p-0 m-0">
+                        @foreach($_companyPro->documents as $document)
+                            @if($document->related_client_id == $patient->id)
+                                <div class="px-2 py-1 border-top {{!$document->is_active ? 'bg-light' : ''}} d-flex align-items-baseline on-hover-aliceblue" title="{{!$document->is_active ? 'Inactive' : ''}}">
+                                    @if(!$document->is_active)
+                                        <div class="text-sm text-secondary mr-1">
+                                            <i class="fa fa-ban"></i>
+                                        </div>
+                                    @endif
+                                    <a href="{{ route('generateDocumentPDF', $document->uid) }}" class="mr-auto max-width-50 flex-grow-1" native target="_blank" title="{{$document->internal_name}} {{!$document->is_active ? '[Inactive]' : ''}}">{{ $document->title }}</a>
+                                    <div class="d-inline-flex flex-nowrap">
+                                        @if(!$document->has_client_signed)
+                                            @if($document->is_client_signature_requested)
+                                            @else
+                                                @if($document->is_active)
+                                                    <div moe larger center>
+                                                        <a start show href="#" class="text-purple" title="Edit"><i class="fa fa-pencil-alt mr-2"></i></a>
+                                                        <form url="/api/companyProDocument/updateBasic" class="mt-2" right>
+                                                            <input type="hidden" name="uid" value="{{ $document->uid }}">
+
+                                                            <div class="mb-2">
+                                                                <label for="board" class="mb-1 text-secondary">Title</label>
+                                                                <input type="text" name="title" class="form-control form-control-sm" value="{{$document->title}}">
+                                                            </div>
+                                                            <div class="mb-2">
+                                                                <label for="board" class="mb-1 text-secondary">Content</label>
+                                                                <input type="hidden" name="contentHtml">
+                                                                <div class="contentHtml-display border rounded p-3 bg-light">
+                                                                    {!! $document->content_html !!}
+                                                                </div>
+                                                            </div>
+                                                            @if($document->custom_fields_data)
+                                                                <?php $parsedCF = json_decode($document->custom_fields_data); ?>
+                                                                <div class="mb-2 custom-fields-container row pt-2">
+                                                                    @foreach($parsedCF as $k => $v)
+                                                                        <div class="col-6 my-2">
+                                                                            <label class="mb-1 {{$k[0] === '@' ? '' : 'text-secondary'}}">{{$k[0] === '@' ? substr($k, 1) : $k}} {{$k[0] === '@' ? '*' : ''}}</label>
+                                                                            <input type="text" class="form-control form-control-sm" {{$k[0] === '@' ? 'required' : ''}} data-variable="{{$k}}" value="{{$v}}">
+                                                                        </div>
+                                                                    @endforeach
+                                                                </div>
+                                                            @endif
+                                                            <div class="mt-3">
+                                                                <button type="button" class="btn btn-sm btn-primary mr-2 btn-update-document">Update</button>
+                                                                <button cancel class="btn btn-default border">Cancel</button>
+                                                            </div>
+                                                        </form>
+                                                    </div>
+                                                @endif
+                                            @endif
+                                        @endif
+                                        @if($document->is_active)
+                                            <div moe large>
+                                                <a start show href="#" class="d-inline text-danger on-hover-opaque"><i class="fas fa-trash-alt"></i></a>
+                                                <form url="/api/companyProDocument/deactivate" class="mt-2" right>
+                                                    <input type="hidden" name="uid" value="{{ $document->uid }}">
+                                                    <div class="mb-2">
+                                                        <p>Are you sure you want to deactivate <b>{{ $document->title }}</b>?</p>
+                                                    </div>
+                                                    <div class="mt-3">
+                                                        <button submit class="btn btn-sm btn-danger mr-2">Deactivate</button>
+                                                        <button cancel class="btn btn-default border">Cancel</button>
+                                                    </div>
+                                                </form>
+                                            </div>
+                                        @else
+                                            <div moe large>
+                                                <a start show href="#" class="d-inline text-info"><i class="fas fa-undo"></i></a>
+                                                <form url="/api/companyProDocument/reactivate" class="mt-2" right>
+                                                    <input type="hidden" name="uid" value="{{ $document->uid }}">
+                                                    <div class="mb-2">
+                                                        <p>Are you sure you want to reactivate <b>{{ $document->title }}</b>?</p>
+                                                    </div>
+
+                                                    <div class="mt-3">
+                                                        <button submit class="btn btn-sm btn-primary mr-2">Reactivate</button>
+                                                        <button cancel class="btn btn-default border">Cancel</button>
+                                                    </div>
+                                                </form>
+                                            </div>
+                                        @endif
+                                        <div class="d-inline-flex align-items-baseline ml-2">
+                                            <span class="pr-1 text-secondary text-nowrap">Client:</span>
+                                            <div class="d-inline-flex align-items-baseline">
+                                                @if($document->has_client_signed)
+                                                    <span class="font-weight-bold" title="{{$document->pro_signed_at ?  friendly_date_time($document->pro_signed_at) : '-'}}">
+                                                        <i class="fas fa-check text-success text-sm"></i>
+                                                    </span>
+                                                @endif
+                                                @if(!$document->has_client_signed)
+                                                    @if($document->is_client_signature_requested)
+                                                        <span class="ml-1 text-secondary "><i class="fa fa-check text-secondary pr-1"></i>Requested</span>
+                                                        <div moe large="" class="ml-1">
+                                                            <a start show href="#" class="text-orange" title="Undo Request">Undo</a>
+                                                            <form url="/api/companyProDocument/undoRequestClientSignature" class="mt-2" right>
+                                                                <input type="hidden" name="uid" value="{{ $document->uid }}">
+                                                                <div class="mb-2">
+                                                                    <p>Undo request for Client signature?</p>
+                                                                </div>
+                                                                <div class="mt-3">
+                                                                    <button submit class="btn btn-sm btn-danger mr-2">Undo Request Signature</button>
+                                                                    <button cancel class="btn btn-default border">Cancel</button>
+                                                                </div>
+                                                            </form>
+                                                        </div>
+                                                    @else
+                                                        <div moe large="" class="ml-0">
+                                                            <a start show href="#" class="text-purple" title="Request Signature">Request</a>
+                                                            <form url="/api/companyProDocument/requestClientSignature" class="mt-2" right>
+                                                                <input type="hidden" name="uid" value="{{ $document->uid }}">
+                                                                <div class="mb-2">
+                                                                    <p>Request for Client signature?</p>
+                                                                </div>
+                                                                <div class="mt-3">
+                                                                    <button submit class="btn btn-sm btn-primary mr-2">Request Signature</button>
+                                                                    <button cancel class="btn btn-default border">Cancel</button>
+                                                                </div>
+                                                            </form>
+                                                        </div>
+                                                    @endif
+                                                @endif
+                                            </div>
+                                           
+                                        </div>
+                                    </div>
+                                </div>
+                            @endif
+                        @endforeach
+                    </div>
+                </div>
+            @endforeach
+    </div>
+</div>
+
+<script>
+    (function() {
+        function init() {
+            let templates = <?= json_encode($templates ?? null) ?>;
+
+            $('.signature-pad').each(function() {
+                    var targetInput = $(this).data('target-input');
+                    let form = $(this).closest('form');
+                    let signaturePad = new SignaturePad(this, {
+                        onEnd: function() {
+                            form.find('[name="'+targetInput+'"]').val(signaturePad.toDataURL());
+                        }
+                    });
+                    form.find('.btn-clear-signature').on('click', function() {
+                        signaturePad.clear();
+                        return false;
+                    });
+                });
+
+            $('.template-selector')
+                .off('change')
+                .on('change', function() {
+                    let form = $(this).closest('form');
+                    let template = templates.filter(_x => _x.name === $(this).val());
+                    if (template && template.length) {
+                        template = template[0];
+                        form.find('[name="title"]').val(template.title);
+                        form.find('.title-display').text(template.title);
+                        form.find('[name="contentHtml"]').val(template.html);
+                        form.find('.contentHtml-display').html(template.htmlDisplay);
+
+                        // show field inputs, require admin inputs
+                        form.find('.custom-fields-container').empty();
+                        if (!!template.proVariables) {
+                            for (let x in template.proVariables) {
+                                if (template.proVariables.hasOwnProperty(x)) {
+                                    let variable = template.proVariables[x];
+                                    let input = $('<input type="text" />')
+                                        .addClass('form-control form-control-sm')
+                                        .attr('data-variable', x);
+                                    if (variable.adminField) input.prop('required', true);
+                                    let label = $('<label class="mb-1">')
+                                        .addClass('mb-1')
+                                        .addClass(variable.adminField ? '' : 'text-secondary')
+                                        .text((x.indexOf('@') === 0 ? x.substr(1) : x) + (variable.adminField ? ' *' : ''));
+                                    $('<div/>').addClass('col-6 my-2').append(label).append(input).appendTo(form.find('.custom-fields-container'));
+                                }
+                            }
+                        }
+                    }
+                });
+
+            $(document)
+                .off('keyup change paste blur', 'input[data-variable]')
+                .on('keyup change paste blur', 'input[data-variable]', function() {
+                    let text = $(this).attr('data-variable');
+                    if (text.indexOf('@') === 0) {
+                        text = text.substr(1);
+                    }
+                    if (this.value && $.trim(this.value)) text = $.trim(this.value);
+                    $(this).closest('form').find('.document-variable[data-variable="' + $(this).attr('data-variable') + '"]').text(text);
+                });
+
+            $(document)
+                .off('click', '.btn-create-document')
+                .on('click', '.btn-create-document', function() {
+
+                    let form = $(this).closest('form');
+                    if (!form[0].checkValidity()) {
+                        form[0].reportValidity();
+                        return false;
+                    }
+
+                    let customFields = {};
+                    if (form.find('input[data-variable]').length) {
+                        form.find('input[data-variable]').each(function() {
+                            customFields[$(this).attr('data-variable')] = this.value;
+                        });
+                    }
+
+                    $.post(form.attr('url'), form.serialize(), _data => {
+
+                        // update custom field user inputs
+                        if (!hasResponseError(_data)) {
+                            $.post('/api/companyProDocument/updateCustomFieldsData', {
+                                uid: _data.data,
+                                fieldDataMap: JSON.stringify(customFields)
+                            }, _data => {
+                                if (!hasResponseError(_data)) {
+                                    fastReload();
+                                }
+                            });
+                        }
+
+                    }, 'json');
+                });
+
+            $(document)
+                .off('click', '.btn-update-document')
+                .on('click', '.btn-update-document', function() {
+
+                    let form = $(this).closest('form');
+                    if (!form[0].checkValidity()) {
+                        form[0].reportValidity();
+                        return false;
+                    }
+
+                    let customFields = {};
+                    if (form.find('input[data-variable]').length) {
+                        form.find('input[data-variable]').each(function() {
+                            customFields[$(this).attr('data-variable')] = this.value;
+                        });
+                    }
+
+                    $.post(form.attr('url'), form.serialize(), _data => {
+
+                        // update custom field user inputs
+                        if (!hasResponseError(_data)) {
+                            $.post('/api/companyProDocument/updateCustomFieldsData', {
+                                uid: form.find('[name="uid"]').val(),
+                                fieldDataMap: JSON.stringify(customFields)
+                            }, _data => {
+                                if (!hasResponseError(_data)) {
+                                    fastReload();
+                                }
+                            });
+                        }
+
+                    }, 'json');
+                });
+
+            $('input[data-variable]').trigger('change');
+            runMCInitializer('previewAndSignDocumentModal');
+        }
+        addMCInitializer('company-documents', init, '#company-documents');
+    }).call(window);
+</script>
+
+@include('app.patient.partials.preview-and-sign-document-modal')

+ 89 - 0
resources/views/app/patient/partials/preview-and-sign-document-modal.blade.php

@@ -0,0 +1,89 @@
+<!-- Modal -->
+<div class="modal fade" id="previewAndSignDocumentModal" tabindex="-1" role="dialog" aria-labelledby="previewAndSignDocumentModalLabel" aria-hidden="true">
+	<div class="modal-dialog modal-lg" role="document">
+		<div class="modal-content">
+			<div class="modal-header">
+				<h5 class="modal-title" id="previewAndSignDocumentModalLabel">@{{ company }} - @{{ title }}</h5>
+				<button type="button" class="close" data-dismiss="modal" aria-label="Close">
+					<i class="fas fa-times text-white"></i>
+				</button>
+			</div>
+			<div class="modal-body">
+				<iframe :src="pdfUrl" width="100%" height="450px" frameborder="0"></iframe>
+				<div class="pt-2 border-top text-right">
+					<button v-if="!processing" type="button" class="btn btn-sm btn-outline-secondary" data-dismiss="modal">Cancel</button>
+					<button v-if="!processing" type="button" class="btn btn-sm btn-info" @click="counterSignDocument"><i class="fas fa-signature"></i> Sign</button>
+					<button v-else type="button" class="btn btn-sm btn-info">Saving...</button>
+				</div>
+			</div>
+		</div>
+	</div>
+</div>
+
+<script>
+	(function() {
+		function init() {
+			window.previewAndSignDocumentModal = new Vue({
+				el: '#previewAndSignDocumentModal',
+				data: {
+					modal: null,
+					company: null,
+					title: null,
+					documentUid: null,
+					signature: null,
+					pdfUrl: null,
+					processing: false
+				},
+				delimiters: ['@{{', '}}'],
+				methods: {
+					initOnClickSign: function() {
+						var self = this;
+						$('[preview-and-sign]').click(function() {
+							self.documentUid = $(this).data('uid');
+							self.company = $(this).data('company');
+							self.title = $(this).data('title');
+							self.signature = $(this).data('signature');
+							self.pdfUrl = $(this).data('pdf');
+							self.modal.modal('show');
+						});
+					},
+					counterSignDocument: function() {
+						var self = this;
+
+						var data = {
+							uid: self.documentUid,
+							hrmProSignature: self.signature
+						};
+						self.processing = true;
+						$.post('/api/companyProDocument/counterSignAsHrmPro', data, function(response) {
+							self.processing = false;
+							if (response.success) {
+								toastr.success('Successfully signed!');
+								self.modal.modal('hide');
+								fastReload();
+							} else {
+								toastr.error(response.message);
+							}
+						}, 'json');
+					},
+					init: function() {
+						var self = this;
+						this.modal = $('#previewAndSignDocumentModal');
+						this.modal.on('hidden.bs.modal', function() {
+							self.company = null;
+							self.title = null;
+							self.documentUid = null;
+							self.signature = null;
+							self.pdfUrl = null;
+						});
+						this.initOnClickSign();
+					}
+				},
+				mounted: function() {
+					this.init();
+				}
+			});
+		}
+		addMCInitializer('previewAndSignDocumentModal', init, '#previewAndSignDocumentModal');
+	})();
+</script>

+ 47 - 0
resources/views/document-templates-generic/default__authorization_letter/content.blade.php

@@ -0,0 +1,47 @@
+<div style="padding:15px 15px;font-family:sans-serif;font-size:15px;text-align:justify;">
+    <h2 style="margin-bottom:2px;">
+        <strong>
+        <center><u>AUTHORIZATION LETTER</u></center>
+        </strong>
+    </h2>
+    <br>
+    <br>
+    <p style="line-height:25px;">To whom it may concern:</p>
+    <br>
+    <p style="line-height:25px;">I, {Your Name}, a healthcare professional with NPI number {@NPI Number}, authorize Shalin Shah of
+        {@Practice Name} and/or his/her successor (“Authorized Person”) to sign and act on my behalf and take
+        all related actions to:</p>
+
+    <ol>
+        <li style="margin-bottom:10px;line-height:25px;">Filing and signing credentialing and enrollment applications with healthcare insurance carriers including Medicare, Medicaid, and commercial payors.</li>
+        <li style="margin-bottom:10px;line-height:25px;">Negotiating and signing contracts with health insurance companies</li>
+        <li style="margin-bottom:10px;line-height:25px;">CAQH maintenance and attestations</li>
+        <li style="margin-bottom:10px;line-height:25px;">Contacting licensing boards on my behalf for licensing matters</li>
+        <li style="margin-bottom:10px;line-height:25px;">NPPES maintenance</li>
+        <li style="margin-bottom:10px;line-height:25px;">Creating and managing health insurance portals for credentialing, enrollments, and billing matters.</li>
+    </ol>
+
+    <p style="line-height:25px;">I hereby authorize Authorized Person to sign on my behalf using digital signature, signature stamp, or similar mechanical/electronic signature for these enumerated purposes.
+        This authorization will remain in effect for the duration of my engagement with {@Practice Name} as a healthcare
+        provider/practitioner. </p>
+
+    <p style="line-height:25px;">In order for {@Practice Name} to access and verify my educational background, professional qualifications and
+        suitability for appointment, I also hereby authorize Authorized Person to make inquiries and consult with all
+        persons, places of employment, education, malpractice carriers, state licensing boards, or other similar
+        government and non-governmental entities who have or may have information bearing on my moral, ethical and
+        professional qualifications and competence to carry out the privileges I have requested.</p>
+
+    <p style="line-height:25px;">In case of any questions related to this Authorization Letter, feel free to contact me at <span style="padding-left:5px;">{Your Phone Number}</span> or
+        email me at {Your Email Address}.</p>
+
+    <br>
+
+    <p>Sincerely,</p>
+    <br>
+    <p style="padding-left: 4px"><img src="{company_pro_document.pro_signatures}" style="max-height: 60px"></p>
+    <p>
+        {Your Name} <br> <br>
+        {Your Mailing Address} <br> <br>
+        Date: {company_pro_document.pro_signed_at}
+    </p>
+</div>

+ 4 - 0
resources/views/document-templates-generic/default__authorization_letter/spec.json

@@ -0,0 +1,4 @@
+{
+  "title": "Authorization Letter",
+  "active": true
+}

+ 362 - 0
resources/views/document-templates-generic/default__baa/content.blade.php

@@ -0,0 +1,362 @@
+<div style="padding:0 15px;font-family:sans-serif;font-size: 15px;text-align:justify;">
+	<h2><strong>
+			<center><u>BUSINESS ASSOCIATE AGREEMENT</u></center>
+		</strong></h2>
+
+	<p style="line-height:30px;"><b>THIS BUSINESS ASSOCIATE AGREEMENT</b> (the <b>"Agreement"</b>) is entered into between {Your Legal Name}
+		(<b>“Covered Entity”</b>), and <b>{company.name}</b> (<b>“Business Associate”</b>), which shall be deemed effective
+		{company_pro_document.created_at}, (the <b>“Effective Date”</b>).</p>
+
+	<p style="line-height:30px;"><b>WHEREAS</b>, the U.S. Department of Health and Human Services issued regulations on “Standards for Privacy of
+		Individually Identifiable Health Information” comprising 45 C.F.R. Parts 160 and 164, Subparts A and E (the
+		<b>“Privacy Standards”</b>), “Security Standards for the Protection of Electronic Protected Health Information”
+		comprising 45 C.F.R. Parts 160 and 164, Subpart C (the <b>“Security Standards”</b>), “Standards for Notification
+		in the Case of Breach of Unsecured Protected Health Information” comprising 45 C.F.R. Parts 160 and 164, Subpart
+		D (the <b>“Breach Notification Standards”</b>), and “Rules for Compliance and Investigations, Impositions of
+		Civil Monetary Penalties, and Procedures for Hearings” comprising 45 C.F.R. Part 160, Subparts C, D, and E (“the
+		<b>“Enforcement Rule”</b>) promulgated pursuant to the Health Insurance Portability and Accountability Act of
+		1996 (<b>“HIPAA”</b>), the Health Information Technology for Economic and Clinical Health Act (<b>“HITECH
+			Act”</b>), and the Genetic Information and Nondiscrimination Act of 2008 (<b>“GINA”</b>) (the Privacy
+		Standards, the Security Standards, the Breach Notification Standards, and the Enforcement Rule are collectively
+		referred to herein as the <b>“HIPAA Standards”</b>).</p>
+	<p style="line-height:30px;"><b>WHEREAS</b>, in conformity with the HIPAA Standards, Business Associate has, and/or will create, receive,
+		maintain, or transmit certain Protected Health Information (<b>“PHI”</b>) pursuant to the HCP Engagement Agreement (the
+		<b>“Services Agreement”</b>).</p>
+	<p style="line-height:30px;"><b>WHEREAS</b>, Covered Entity is required by the HIPAA Standards to obtain satisfactory assurances that Business
+		Associate will appropriately safeguard all PHI created, received, maintained, or transmitted by Business
+		Associate on behalf of Covered Entity.</p>
+	<p style="line-height:30px;"><b>WHEREAS</b>, the parties hereto desire to enter into this Agreement to memorialize their obligations with
+		respect to PHI pursuant to the requirements of the HIPAA Standards.</p>
+	<p style="line-height:30px;"><b>NOW, THEREFORE</b>, Covered Entity and Business Associate agree as follows: </p>
+
+	<p style="line-height:30px;"><u>Section 1. Definitions</u>. Except as otherwise specified herein, capitalized terms used but not defined in
+		this Agreement shall have the same meaning as those terms in 45 C.F.R. Parts 160 and 164.</p>
+	<ol style="list-style:lower-alpha">
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;"><u>Breach</u>, as used in Section 2 of this Agreement, means the unauthorized acquisition, access, use,
+				or disclosure of PHI which compromises the security or privacy of such information.</p>
+		</li>
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;"><u>C.F.R</u>. means the Code of Federal Regulations.</p>
+		</li>
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;"><u>ePHI</u> means any PHI that is received, maintained, transmitted or utilized for any purpose in
+				electronic form by Business Associate on behalf of Covered Entity.</p>
+		</li>
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;"><u>GINA</u> means the Genetic Information and Nondiscrimination Act of 2008 (P.L. 110-233) and the
+				regulations promulgated thereunder. </p>
+		</li>
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;"><u>HIPAA</u> means the Health Insurance Portability and Accountability Act of 1996 (P.L. 104-91) and any
+				successor statutes, rules and regulations.</p>
+		</li>
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;"><u>HITECH Act</u> means the American Recovery and Reinvestment Act of 2009 (P.L. 111-5), Div. A, Title
+				XIII and Div. B, Title IV, the Health Information Technology for Economic and Clinical Health Act and
+				the regulations promulgated thereunder. </p>
+		</li>
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;"><u>Individual</u> has the same meaning as the term “individual” in 45 C.F.R. § 160.103 and shall include
+				a person who qualifies as personal representative in accordance with 45 C.F.R. § 164.502(g). </p>
+		</li>
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;"><u>Protected Health Information</u> (<b>“PHI”</b>) has the same meaning as the term “protected health
+				information” as defined in 45 C.F.R. § 160.103, which generally includes all Individually Identifiable
+				Health Information regardless of form; limited, however, to the information that Business Associate
+				creates, receives, maintains, or transmits on behalf of Covered Entity. PHI excludes Individually
+				Identifiable Health Information regarding a person who has been deceased for more than fifty (50) years.
+			</p>
+		</li>
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;"><u>Required by Law</u> has the same meaning as the term “required by law” in 45 C.F.R. § 164.103.</p>
+		</li>
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;"><u>Secretary</u> means the Secretary of the United States Department of Health and Human Services or
+				his/her designee.</p>
+		</li>
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;"><u>Security Incident</u> means the attempted or successful unauthorized access, use, disclosure,
+				modification, or destruction of information or interference with system operations in an information
+				system.</p>
+		</li>
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;"><u>Standard Transaction</u> means a transaction that complies with an applicable standard adopted under
+				45 C.F.R. Part 162.</p>
+		</li>
+	</ol>
+
+	<p style="line-height:30px;"><u>Section 2. Obligations and Activities of Business Associate.</u></p>
+	<ol style="list-style:lower-alpha">
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;">Business Associate agrees to not use or further disclose PHI other than as permitted or required by this
+				Agreement or as Required by Law. Business Associate shall also comply with any further limitations on
+				uses and disclosures of PHI by Covered Entity in accordance with 45 C.F.R. § 164.522, provided that
+				Covered Entity communicates such limitations to Business Associate. </p>
+		</li>
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;">Business Associate agrees to use appropriate safeguards to prevent use or disclosure of PHI other than as
+				provided for by this Agreement. </p>
+		</li>
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;">Business Associate shall use appropriate safeguards and comply with 45 C.F.R. Part 164, Subpart C with
+				respect to ePHI that it creates, receives, maintains or transmits on behalf of Covered Entity. </p>
+		</li>
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;">Business Associate agrees to report immediately to Covered Entity any use or disclosure of PHI not
+				provided for by this Agreement of which Business Associate becomes aware. Additionally, Business
+				Associate shall report immediately to Covered Entity any Security Incident of which Business Associate
+				becomes aware. At the request of Covered Entity, Business Associate shall identify the date, nature, and
+				scope of the Security Incident, Business Associate’s response to the Security Incident, and the
+				identification of the party responsible for causing the Security Incident, if known.</p>
+		</li>
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;">Business Associate shall notify Covered Entity immediately, upon discovery of any Breach of Unsecured
+				Protected Health Information. Without undue delay and within seven (7) days, Business Associate shall
+				provide such information to Covered Entity as required by the Breach Notification Standards. Business
+				Associate shall cooperate and assist Covered Entity at no cost to Covered Entity in making the
+				notification to third parties Required by Law in the event of a Breach due to Business Associate. In
+				addition, Business Associate shall reimburse Covered Entity for any reasonable expenses Covered Entity
+				incurs in mitigating harm to those Individuals. Business Associate shall also defend, hold harmless and
+				indemnify Covered Entity and its employees, agents, officers, directors, shareholders, members,
+				contractors, parents, and subsidiary and affiliate entities from and against any claims, losses,
+				obligations, including attorney’s fees, which Covered Entity may incur due to a Breach caused by
+				Business Associate or Business Associate’s subcontractors or agents. </p>
+		</li>
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;">Business Associate shall obtain and maintain an agreement with each agent or subcontractor that creates,
+				receives, maintains, or transmits Covered Entity’s PHI on behalf of Business Associate. Under the
+				agreement, such agent or subcontractor shall agree to the same restrictions and conditions that apply to
+				Business Associate pursuant to this Agreement with respect to such PHI. </p>
+		</li>
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;">Business Associate agrees to mitigate, to the extent practicable, any harmful effect that is known to
+				Business Associate of a use or disclosure of PHI by Business Associate in violation of the requirements
+				of this Agreement or the HIPAA Standards. </p>
+		</li>
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;">Upon request of Covered Entity, Business Associate agrees to provide access to PHI in a Designated Record
+				Set, as defined in 45 C.F.R. § 164.501, to an Individual in order for Covered Entity to comply with the
+				requirements under 45 C.F.R. § 164.524. Further, if the PHI that is the subject of a request for access
+				is maintained in one or more Designated Record Sets electronically and if the Individual requests an
+				electronic copy of such information, Business Associate shall provide access to the PHI in the
+				electronic form and format requested, if it is readily producible in such form and format; or, if not,
+				in a readable electronic form and format as agreed to by Covered Entity and the Individual. Business
+				Associate further agrees to make available PHI for amendment and incorporate any amendments to PHI in a
+				Designated Record Set in order for Covered Entity to comply with 45 C.F.R. § 164.526. If Business
+				Associate provides copies or summaries of PHI to an Individual, it may impose a reasonable, cost-based
+				fee in accordance with 45 C.F.R. § 164.524(c)(4), provided that the fee includes only the cost of labor
+				for copying the PHI requested by the Individual, whether in paper or electronic form, and supplies for
+				creating the paper copy or electronic media if the Individual requests that the electronic copy be
+				provided on portable media. </p>
+		</li>
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;">Business Associate agrees to make its internal practices, books, and records, including policies and
+				procedures and PHI relating to the use and disclosure of PHI received from, or created or received by
+				Business Associate on behalf of Covered Entity, available to Covered Entity, or at the request of the
+				Secretary, for purposes of the Secretary determining Covered Entity's compliance with the Privacy
+				Standards. In the event Business Associate receives a request from the Secretary, or any agency on
+				behalf of the Secretary, Business Associate shall immediately notify Covered Entity. </p>
+		</li>
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;">Business Associate agrees to document those disclosures of PHI, and information related to such
+				disclosures, as required to respond to a request by an Individual for an accounting of disclosures of
+				PHI in accordance with 45 C.F.R. § 164.528 and the HITECH Act. Business Associate further agrees to
+				provide Covered Entity such information upon request to permit Covered Entity to respond to a request by
+				an Individual for an accounting of disclosures of PHI, in accordance with 45 C.F.R. § 164.528, or, if
+				required by the HITECH Act, to provide an Individual an accounting of disclosures of PHI upon request
+				made by the Individual directly to Business Associate. </p>
+		</li>
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;">In the event that Covered Entity uses or maintains an electronic health record with respect to PHI,
+				Business Associate shall provide an accounting of disclosures of such PHI to an Individual during the
+				three (3) years prior to the date of the request within sixty (60) days after Business Associate’s
+				receipt of such a request.</p>
+		</li>
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;">Business Associate acknowledges that it shall limit the use, disclosure or request of PHI to perform or
+				fulfill a specific function required or permitted hereunder to the Minimum Necessary, as defined by
+				HIPAA Standards and relevant guidance, to accomplish the intended purpose of such use, disclosure or
+				request.</p>
+		</li>
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;">If Business Associate conducts any Standard Transactions on behalf of Covered Entity, Business Associate
+				shall comply with the applicable requirements of 45 C.F.R. Part 162. </p>
+		</li>
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;">If Business Associate agrees to carry out an obligation of Covered Entity under 45 C.F.R. Part 164,
+				Subpart E, Business Associate shall comply with the requirements of 45 C.F.R. Part 164, Subpart E that
+				apply to Covered Entity in the performance of such obligations. </p>
+		</li>
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;">Except as otherwise permitted by law, Business Associate shall not directly or indirectly receive
+				remuneration in exchange for a disclosure of PHI without the Individual’s authorization.</p>
+		</li>
+	</ol>
+
+	<p style="line-height:30px;"><u>Section 3. Permitted Uses and Disclosures of PHI by Business Associate.</u></p>
+	<ol style="list-style:lower-alpha">
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;"><u>General Use and Disclosure Provisions</u>. Except as otherwise limited in this Agreement, Business
+				Associate may use or disclose PHI to perform functions, activities, or services for, or on behalf of,
+				Covered Entity pursuant to the Services Agreement between the parties, provided that such use or
+				disclosure would not violate the Privacy Standards if done by Covered Entity.</p>
+		</li>
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;"><u>Specific Use and Disclosure Provisions.</u></p>
+			<ol>
+				<li style="margin-bottom:10px;">
+					<p style="line-height:30px;">Except as otherwise limited in this Agreement, Business Associate may use PHI for the proper
+						management and administration of Business Associate, or to carry out the legal responsibilities
+						of Business Associate. Except as otherwise limited in this Agreement, Business Associate may
+						disclose PHI (i) for the proper management and administration of Business Associate, or (ii) to
+						carry out Business Associate’s legal responsibilities if (a) the disclosure is Required by Law,
+						or (b) Business Associate obtains reasonable assurances from the person to whom the information
+						is disclosed that the information will remain confidential and used or further disclosed only as
+						Required by Law or for the purpose for which it was disclosed to the person, and the person
+						notifies Business Associate of any instances of which it is aware in which the confidentiality
+						of the information has been breached. </p>
+				</li>
+				<li style="margin-bottom:10px;">
+					<p style="line-height:30px;">Except as otherwise limited in this Agreement, Business Associate may use PHI to provide Data
+						Aggregation services to Covered Entity as permitted by 45 C.F.R. § 164.504(e)(2)(i)(B).</p>
+				</li>
+			</ol>
+		</li>
+	</ol>
+
+	<p style="line-height:30px;"><u>Section 4. Term and Termination.</u></p>
+	<ol style="list-style:lower-alpha">
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;"><u>Term</u>. The provisions of this Agreement shall commence on the Effective Date and, unless earlier
+				terminated in accordance with the provisions of this Section, shall terminate when all of the PHI
+				provided by Covered Entity to Business Associate, or created or received by Business Associate on behalf
+				of Covered Entity, is destroyed or returned to Covered Entity.</p>
+		</li>
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;"><u>Termination for Cause</u>. Without limiting the termination rights of the parties pursuant to this
+				Agreement and upon Covered Entity’s knowledge of a material breach of this Agreement by Business
+				Associate, Covered Entity shall either:</p>
+			<ol>
+				<li style="margin-bottom:10px;">
+					<p style="line-height:30px;">Provide an opportunity for Business Associate to cure the breach or end the violation and, if
+						Business Associate does not cure the breach or end the violation within the time specified by
+						Covered Entity, terminate this Agreement, if feasible; or</p>
+				</li>
+				<li style="margin-bottom:10px;">
+					<p style="line-height:30px;">Immediately terminate this Agreement if cure is not possible, if feasible.</p></li>
+			</ol>
+		</li>
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;"><u>Effect of Termination.</u></p>
+			<ol>
+				<li style="margin-bottom:10px;">
+					<p style="line-height:30px;">Except as provided in paragraph (2) of this Section 4(c), upon termination of this Agreement for
+						any reason, Business Associate shall promptly return or destroy all PHI received from, or
+						created or received by Business Associate on behalf of, Covered Entity that Business Associate
+						maintains in any form and retain no copies. This provision shall apply to PHI that is in the
+						possession of subcontractors or agents of Business Associate. </p>
+				</li>
+				<li style="margin-bottom:10px;">
+					<p style="line-height:30px;">In the event that Business Associate reasonably believes that returning or destroying the PHI is
+						infeasible, Business Associate shall provide to Covered Entity prompt notification of the
+						conditions that make return or destruction infeasible. Upon mutual agreement of the parties that
+						return or destruction of PHI is infeasible, Business Associate shall extend the protections of
+						this Agreement to such PHI and limit further uses and disclosures of such PHI to those purposes
+						that make the return or destruction infeasible, for so long as Business Associate maintains such
+						PHI.</p>
+				</li>
+			</ol>
+		</li>
+	</ol>
+
+	<p style="line-height:30px;"><u>Section 5. Notices</u>. Any notices or communications to be given pursuant to this Agreement shall be made to
+		the addresses given below:</p>
+	<p style="line-height:30px;">If to Business Associate, to: <br>
+		{company.name}
+		<br>
+		133 Rollins Ave, STE 3, Rockville, MD 20852
+	</p>
+	<p style="line-height:30px;">If to Covered Entity, to: <br>
+		{Your Legal Name}
+		<br>
+		{Your Mailing Address}
+	</p>
+
+	<p style="line-height:30px;"><u>Section 6. Miscellaneous.</u></p>
+	<ol>
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;"><u>Regulatory References.</u> A reference in this Agreement to a section in the HIPAA Standards means the
+				section then in effect.</p>
+		</li>
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;"><u>Amendment.</u> The parties agree to take such action as may be necessary to amend this Agreement from
+				time to time to ensure the parties comply with the requirements of the HIPAA Standards and any other
+				applicable law or regulation. Any amendment to this Agreement proposed by either party shall not be
+				effective unless mutually agreed to in writing by both parties. </p>
+		</li>
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;"><u>Survival.</u> The respective rights and obligations of Business Associate under Section 4(c) of this
+				Agreement shall survive the termination of this Agreement.</p>
+		</li>
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;"><u>Interpretation.</u> Any ambiguity in this Agreement shall be resolved to permit the parties to comply
+				with the HIPAA Standards. In the event of any inconsistency or conflict between this Agreement and the
+				Services Agreement, the terms and conditions of this Agreement shall govern and control.</p>
+		</li>
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;"><u>No Third Party Beneficiary.</u> Nothing express or implied in this Agreement or in the Services
+				Agreement is intended to confer, nor shall anything herein confer, upon any person other than the
+				parties and the respective successors or assigns of the parties, any rights, remedies, obligations, or
+				liabilities whatsoever. </p>
+		</li>
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;"><u>Governing Law.</u> This Agreement shall be governed by and construed in accordance with the internal
+				laws of Maryland, without giving effect to its conflict of laws provisions.</p>
+		</li>
+		<li style="margin-bottom:10px;">
+			<p style="line-height:30px;"><u>Multiple Counterparts.</u> This Agreement may be executed in multiple counterparts all of which shall
+				be considered an original Agreement.</p>
+		</li>
+	</ol>
+	<br>
+	<br>
+	<p style="text-align: center"><b>IN WITNESS WHEREOF</b>, the parties hereto have executed this Agreement as of the
+		Effective Date.</p>
+	<br>
+
+	<table style="page-break-before: always;" border="0" cellpadding="5" width="100%">
+		<tr>
+			<td width="50%"><b>COVERED ENTITY</b></td>
+			<td width="50%"><b>BUSINESS ASSOCIATE</b></td>
+		</tr>
+		<tr>
+			<td colspan="2"></td>
+		</tr>
+		<tr>
+            <td width="50%">
+                <div>
+                    <p style="margin-bottom:4px;">By:</p> <img src="{*company.authorized_signer_signature_base64}" style="max-height: 60px" onerror="this.style.display = 'none'">
+                </div>
+            </td>
+            <td width="50%">
+				<div>
+					<p style="margin-bottom:4px;">By:</p> <img src="{company_pro_document.pro_signatures}" style="max-height: 60px">
+				</div>
+			</td>
+		</tr>
+		<tr>
+            <td width="50%">Name: {*company.authorized_signer_name}</td>
+            <td width="50%">Name: {Your Legal Name}</td>
+		</tr>
+		<tr>
+            <td width="50%">Title: {*company.authorized_signer_title}</td>
+            <td width="50%">Title: {Your Title / Credential}</td>
+		</tr>
+		<tr>
+            <td width="50%">Date: {*company_pro_document.hrm_pro_counter_signed_at}</td>
+            <td width="50%">Date: {company_pro_document.pro_signed_at}</td>
+		</tr>
+	</table>
+
+</div>

+ 1 - 0
resources/views/document-templates-generic/default__baa/spec.json

@@ -0,0 +1 @@
+{"title":"HIPAA Business Associate Agreement", "active": true}

+ 179 - 0
resources/views/document-templates-generic/default__nda/content.blade.php

@@ -0,0 +1,179 @@
+<div style="padding:0 15px;font-family:sans-serif;font-size: 15px;text-align:justify;">
+    <h2><strong>
+            <center><u>{company.name}</u></center>
+        </strong></h2>
+    <h3><strong>
+            <center><u>NON-DISCLOSURE AGREEMENT</u></center>
+        </strong></h3>
+
+    <p style="line-height:30px;">This Non-Disclosure Agreement ("Agreement") is made as of {company_pro_document.created_at} (the "Effective
+        Date") between <b>{company.name}</b>, a {company.state} {company.entity_type} (the "Company"), and {Your Legal Name}
+        ("Recipient") with a mailing address at {Your Mailing Address}.</p>
+
+    <br>
+    <h4><strong>
+            <center>RECITALS</center>
+        </strong></h4>
+
+    <p style="text-indent: 40px;line-height:30px;">The Company is engaged in the business of the management and administration of
+        companies that furnish the Wellness Services. As a part of the business, Company is a provider of the revenue
+        cycle management service, case management, care coordination service, remote monitoring and other wellness
+        related services to their clients. Company design, develop, purchase, use and/or subscribe to the electronic
+        health record system (the "Platform"). Company handles protected health information (PHI) that is legally
+        designated as confidential under the Health Insurance Portability and Accountability Act of 1996 ("HIPAA"). The
+        Company desires to engage in discussions with Recipient for the purpose of exploring a commercial business
+        relationship whereby Recipient would serve as a resource to the Company and, in connection with such discussions
+        and engagement, there must be certain information disclosed by the Company, including without limitation,
+        confidential information, patient data, business practices, and financial data. Recipient recognizes that the
+        information to be disclosed by the Company constitutes highly confidential information of the Company and its
+        clients, and Recipient enters into this Agreement to provide protection for such information so disclosed.</p>
+
+    <br>
+    <h4><strong>
+            <center>AGREEMENT</center>
+        </strong></h4>
+
+    <ol>
+        <li style="line-height:30px;margin-bottom:10px;">
+            <p style="line-height:30px;"><b>"Confidential Information"</b>. shall mean information designated by the Company as confidential or
+                which ought to be considered as confidential from its nature or from the circumstances surrounding its
+                disclosure. Regardless of whether such information is specifically designated as confidential,
+                Confidential Information includes all technical, business, marketing, planning, and other similar
+                information and data, in written, oral, electronic, magnetic, photographic and/or other forms, including
+                without limitation all information related to (i) customers or prospective customers, licensors,
+                providers, suppliers, channel partners, resellers and other business affiliates of the Company; (ii)
+                practices, operating information, and market approaches of the Company; (iii) other information,
+                functionality, techniques, models or approaches used by the Company and not generally known in the
+                industry in which the Company operates; (iv) any and all product or technical data, trade secrets,
+                information, design, process, procedure, prototypes, formula, or improvement that is owned, developed or
+                licensed by the Company, its stockholders or affiliates and not generally known or readily available
+                without cost in the industry, including, but not limited to, any code or design of the Company's
+                products, and the algorithms or logic contained therein.</p>
+        </li>
+        <li style="line-height:30px;margin-bottom:10px;">
+            <p style="line-height:30px;">Recipient agrees that all Confidential Information is and shall remain the exclusive property of the
+                Company, and that Recipient shall not use Confidential Information except for the specific purpose
+                described above in the Recitals.</p>
+        </li>
+        <li style="line-height:30px;margin-bottom:10px;">
+            <p style="line-height:30px;">Recipient agrees to hold the Company's Confidential Information in strict confidence following the date
+                of disclosure, using for such purpose, best efforts to protect the Confidential Information from
+                disclosure, unauthorized use, and loss. Further, Recipient agrees not to disclose such Confidential
+                Information to third parties without the prior written permission of the Company. In the event of
+                disclosure, unauthorized use, or loss of Confidential Information, Recipient shall notify the Company
+                promptly. Recipient shall not be restricted from disclosing Confidential Information pursuant to the
+                requirements of law, or a judicial or governmental order or request, but any such disclosure shall be
+                made only to the extent required by law or so ordered. Recipient shall, at the Company's sole expense,
+                take all reasonable steps to object to the production of the Confidential Information and shall
+                reasonably cooperate with the Company should it seek to intervene.</p>
+        </li>
+
+
+        <li style="line-height:30px;margin-bottom:10px;">
+            <p style="line-height:30px;">Confidential Information shall in no event include information which (a) Recipient can demonstrate was
+                already known to Recipient at the time that it is disclosed to Recipient; (b) is or becomes publicly
+                known through no wrongful act of Recipient; (c) is received by Recipient from a third party without
+                breach by such party of confidentiality or non-disclosure covenants to which it is subject pursuant to
+                any agreement; or (d) is approved for release by written authorization of the Company.</p>
+        </li>
+        <li style="line-height:30px;margin-bottom:10px;">
+            <p style="line-height:30px;">No license is granted by the Company to Recipient under any copyright, patent, mask work or trademark
+                owned by or licensed to the Company except to the extent required by Recipient for the specific purpose
+                intended by this Agreement. Any use by Recipient of any information furnished by the Company, whether or
+                not Confidential Information, will subject Recipient to any rights and remedies available to the Company
+                under the copyright, patent, trade secret and trademark laws in effect at that time.</p>
+        </li>
+        <li style="line-height:30px;margin-bottom:10px;">
+            <p style="line-height:30px;">Recipient shall not decompile or disassemble any software, equipment or other media containing
+                Confidential Information, which have been disclosed or delivered to Recipient and shall not remove,
+                overprint or deface any notice of copyright, trademark, logo, legend, or other notices of ownership from
+                any originals or copies of Confidential Information.</p>
+        </li>
+        <li style="line-height:30px;margin-bottom:10px;">
+            <p style="line-height:30px;">In no event shall Company be liable for the accuracy or completeness of the Confidential Information.
+                None of the Confidential Information disclosed by the Company constitutes any representation, warranty,
+                assurance, guarantee or inducement by the Company to Recipient with respect to the infringement of
+                trademarks, patents, copyrights, any right of privacy, or any rights of third persons.</p>
+        </li>
+        <li style="line-height:30px;margin-bottom:10px;">
+            <p style="line-height:30px;">Upon the written request of the Company, Recipient shall promptly return to the Company all plans,
+                drawings, and other tangible items of Confidential Information furnished by the Company, and all copies
+                thereof.</p>
+        </li>
+        <li style="line-height:30px;margin-bottom:10px;">
+            <p style="line-height:30px;">The terms of this Agreement will remain in effect with respect to any particular Confidential Information
+                until Recipient can document that such Confidential Information falls into one of the exceptions stated
+                in Section 4 above.</p>
+        </li>
+        <li style="line-height:30px;margin-bottom:10px;">
+            <p style="line-height:30px;">This Agreement constitutes the entire agreement between the parties hereto relating to the subject matter
+                hereof. This Agreement supersedes and repeals all previous negotiations, representations or
+                understandings between the parties relating to the subject matter hereof and may not be modified or
+                amended in any respect except in a writing signed by each party.</p>
+        </li>
+        <li style="line-height:30px;margin-bottom:10px;">
+            <p style="line-height:30px;">Any notice or other communication to be given hereunder must be in writing and shall be considered to
+                have been given if delivered by hand, overnight courier or sent by certified United States Mail, return
+                receipt requested, to the other party at the address stated herein or to such other address as may be
+                specified by either party in a notice to the other. Notice is effective upon receipt.</p>
+        </li>
+        <li style="line-height:30px;margin-bottom:10px;">
+            <p style="line-height:30px;">The parties hereto are independent contractors. This Agreement does not obligate the Company to disclose
+                to Recipient any information or negotiate or enter into any agreement or relationship with Recipient or
+                any other entity.</p>
+        </li>
+        <li style="line-height:30px;margin-bottom:10px;">
+            <p style="line-height:30px;">Neither this Agreement nor the obligations created hereunder may be assigned by Recipient. This Agreement
+                and its performance shall be governed by, subject to, and construed in accordance with the laws of the
+                State of {company.state} without respect to conflicts of laws provisions thereof.</p>
+        </li>
+        <li style="line-height:30px;margin-bottom:10px;">
+            <p style="line-height:30px;">In the event of the breach or threatened breach of any provision of this Agreement, the Company shall be
+                entitled to seek all appropriate legal and equitable relief, including without limitation temporary
+                restraining orders, preliminary and permanent injunctions.</p>
+        </li>
+
+    </ol>
+
+    <br>
+    <br>
+
+    <p style="line-height:30px;"><b>IN WITNESS WHEREOF</b>, the parties have caused this Agreement to be executed by
+        their duly authorized officers and to be effective on and as of the Effective Date.</p>
+    <br>
+
+    <table border="0" cellpadding="5" width="100%">
+        <tr>
+            <td width="50%"><b>{company.name}</b></td>
+            <td width="50%"><b>RECIPIENT</b></td>
+        </tr>
+        <tr>
+            <td colspan="2"></td>
+        </tr>
+        <tr>
+          <td width="50%">
+            <div style="display:flex;align-items:start">
+              By: <img src="{*company.authorized_signer_signature_base64}" style="max-height: 60px" onerror="this.style.display = 'none'">
+            </div>
+          </td>
+          <td width="50%">
+            <div style="display:flex;align-items:start">
+              By: <img src="{company_pro_document.pro_signatures}" style="max-height: 60px">
+            </div>
+          </td>
+        </tr>
+        <tr>
+            <td width="50%">Name: {*company.authorized_signer_name}</td>
+            <td width="50%">Name: {Your Legal Name}</td>
+        </tr>
+        <tr>
+            <td width="50%">Title: {company.authorized_signer_title}</td>
+            <td width="50%">Title: {Your Title / Credential}</td>
+        </tr>
+        <tr>
+            <td width="50%">Date: {*company_pro_document.hrm_pro_counter_signed_at}</td>
+            <td width="50%">Date: {company_pro_document.pro_signed_at}</td>
+        </tr>
+    </table>
+
+</div>

+ 1 - 0
resources/views/document-templates-generic/default__nda/spec.json

@@ -0,0 +1 @@
+{"title":"NDA", "active": true}

Різницю між файлами не показано, бо вона завелика
+ 4 - 0
resources/views/document-templates-generic/default__nhcp__appointment_letter/content.blade.php


+ 1 - 0
resources/views/document-templates-generic/default__nhcp__appointment_letter/spec.json

@@ -0,0 +1 @@
+{"title":"Appointment Letter", "active": true}

+ 514 - 0
resources/views/document-templates-generic/default__nhcp__engagement_agreement/content.blade.php

@@ -0,0 +1,514 @@
+<div style="padding:0 15px;font-family:sans-serif;text-align:justify;">
+    <h2><strong>
+            <center>Leadership Health LLC</center>
+        </strong></h2>
+    <h3><strong>
+            <center>Engagement Agreement</center>
+        </strong></h3>
+    <p style="line-height:25px;"><span style="margin-left:80px;"></span> This Engagement Agreement
+        (<b>"Agreement"</b>) is entered into as of {company_pro_document.created_at} <b>("Effective Date");</b> by
+        and between <b>Leadership Health LLC;</b> a Maryland LLC, its subsidiaries, parents,
+        affiliates, successor {company.address} (<b>"Company"</b>) and {Your Legal Name}
+        with a residence and/or place of business at {Your Physical Address} (<b>"Contractor"</b>).</p>
+
+    <ol>
+        <li style="line-height:25px;margin-bottom:12px;"><b>Services.</b>
+            <ol>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">1.1 <b style="margin-left:8px;">Nature
+                            of Services.</b> Contractor will perform the services, as more particularly described
+                    on Exhibit A, as an independent contractor (the <b>“Services”</b>). To the extent the Services
+                    include materials subject to copyright, Contractor agrees that the Services are done as “work made
+                    for hire” as that term is defined under U.S. copyright law, and that as a result, Company will own
+                    all copyrights in the Services. Contractor will perform such services in accordance with the
+                    schedule, if any, set forth in Exhibit A. Except as specified on Exhibit A, Company agrees that
+                    Contractor's services need not be rendered at any specific location and may be rendered at any
+                    location selected by Contractor. </li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">1.2 <b style="margin-left:8px;">Relationship of the Parties.</b> Contractor enters into this
+                    Agreement as, and shall continue to be, an independent contractor. All Services shall be performed
+                    only by Contractor. Under no circumstances shall Contractor look to Company as his/her employer, or
+                    as a partner, agent or principal. Contractor shall not be entitled to any benefits accorded to
+                    Company's employees, including without limitation worker's compensation, disability insurance,
+                    vacation or sick pay.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">1.3 <b style="margin-left:8px;">Compensation and Reimbursement.</b> Contractor shall be
+                    compensated and reimbursed for the Services as set forth on Exhibit B. Completeness of work product
+                    shall be determined by Company in its sole discretion, and Contractor agrees to make all revisions,
+                    additions, deletions or alterations as requested by Company. No other fees and/or expenses will be
+                    paid to Contractor, unless such fees and/or expenses have been approved in advance by the
+                    appropriate Company executive in writing. Contractor shall be solely responsible for any and all
+                    taxes, Social Security contributions or payments, disability insurance, unemployment taxes, and
+                    other payroll type taxes applicable to such compensation. Contractor hereby indemnifies and holds
+                    Company harmless from, any claims, losses, costs, fees, liabilities, damages or injuries suffered by
+                    Company arising out of Contractor's failure with respect to its obligations in this Section 1.3.
+                </li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">1.4 <b style="margin-left:8px;">Notice.</b> Contractor shall promptly notify Company of any
+                    information received by Contractor which Contractor has reason to believe may lead to: (i) a claim
+                    against Contractor’s liability insurance; or (ii) an investigation of Contractor’s qualifications to
+                    provide services to individuals by any third party (government or private). </li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">1.5 <b style="margin-left:8px;">Company’s Compliance Program.</b> Contractor acknowledges that
+                    Company may establish one or more compliance programs that govern how Company complies with
+                    applicable laws, rules, and regulations. Contractor agrees to become familiar with and comply with
+                    all applicable provisions of such compliance programs; so long as Company provides notice of such
+                    compliance programs prior to implementation. Contractor further agrees to immediately notify Company
+                    of any violation of such compliance programs of which Contractor becomes aware.</li>
+            </ol>
+        </li>
+
+        <li style="line-height:25px;margin-bottom:12px;"><b>Protection of Company's Confidential
+                    Information.</b>
+            <ol>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">2.1 <b style="margin-left:8px;">Confidential Information</b>. Company now owns and will
+                    hereafter develop, compile and own certain proprietary techniques, trade secrets, and confidential
+                    information which have great value in its business (collectively, <b>“Company Information”</b>).
+                    Company will be disclosing Company Information to Contractor during Contractor's performance of the
+                    Services. Company Information includes not only information disclosed by Company, but also
+                    information developed or learned by Contractor during Contractor's performance of the Services.
+                    Company Information is to be broadly defined and includes all information which has or could have
+                    commercial value or other utility in the business in which Company is engaged or contemplates
+                    engaging or the unauthorized disclosure of which could be detrimental to the interests of Company,
+                    whether or not such information is identified by Company. By way of example and without limitation,
+                    Company Information includes any and all information concerning discoveries, developments, designs,
+                    improvements, inventions, formulas, software programs, processes, techniques, know-how, data,
+                    research techniques, customer and supplier lists, marketing, sales or other financial or business
+                    information, scripts, and all derivatives, improvements and enhancements to any of the above.
+                    Company Information also includes third-party information which is in Company's possession under an
+                    obligation of confidential treatment. Through their association with Company, Contractor will also
+                    have access to confidential Patient information, both written and oral, in the course of their job
+                    responsibilities. Patient information in any form (paper, electronic, oral, etc.) is protected by
+                    law. Contractor shall require hereunder to sign a copy of the acknowledgement form attached hereto
+                    as Exhibit C.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">2.2 <b style="margin-left:8px;">Protection of Company Information.</b> Contractor agrees that
+                    at all times during or subsequent to the performance of the Services, Contractor will keep company
+                    information confidential and not divulge, communicate, or use Company Information, except for
+                    Contractor's own use during the Term of this Agreement to the extent necessary to perform the
+                    Services. Contractor further agrees not to cause the transmission, removal or transport of tangible
+                    embodiments of, or electronic files containing Company Information from Company's principal place of
+                    business, without prior written approval of Company. It is imperative that this information is not
+                    disclosed to any unauthorized individuals to maintain the integrity of the patient information. An
+                    unauthorized individual would be any person that is not currently an employee and/or contractor of
+                    the Company. Any other disclosures by Contractor and all its personnel such as employees,
+                    sub-contractors, agents, representatives, partner etc., may only occur at the written direction of
+                    the Company’s Privacy Office. </li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">2.3 <b style="margin-left:8px;">Exceptions.</b> Contractor's obligations with respect to any
+                    portion of the Company Information as set forth above shall not apply when Contractor can document
+                    that (i) it was in the public domain at the time it was communicated to Contractor by Company; (ii)
+                    it entered the public domain subsequent to the time it was communicated to Contractor by Company
+                    through no fault of Contractor; (iii) it was in Contractor's possession free of any obligation of
+                    confidence at the time it was communicated to Contractor by Company; or (iv) it was rightfully
+                    communicated to Contractor free of any obligation of confidence subsequent to the time it was
+                    communicated to Contractor by Company. </li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">2.4 <b style="margin-left:8px;">Company Property.</b> All materials, including without
+                    limitation documents, drawings, drafts, notes, designs, computer media, electronic files and lists,
+                    including all additions to, deletions from, alterations of, and revisions in the foregoing (together
+                    the <b>“Materials”</b>), which are furnished to Contractor by Company or which are developed in the
+                    process of performing the Services, or embody or relate to the Services, the Company Information or
+                    the Innovations, are the property of Company, and shall be returned by Contractor to Company
+                    promptly at Company's request together with any copies thereof, and in any event promptly upon
+                    expiration or termination of this Agreement for any reason. Contractor is granted no rights in or to
+                    such Materials, the Company Information or the Innovations, except as necessary to fulfill its
+                    obligations under this Agreement. Contractor shall not use or disclose the Materials, Company
+                    Information or Innovations to any third party.</li>
+            </ol>
+        </li>
+
+        <li style="line-height:25px;margin-bottom:12px;"><b>Termination of Agreement.</b>
+            <ol>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">3.1 <b>Term.</b> This Agreement
+                    shall be effective from the date first listed above for the period set forth on Exhibit A, as
+                    applicable, unless sooner terminated by either party in accordance with the terms and conditions of
+                    this Agreement (<b>“Term”</b>). This Agreement is terminable by either party at any time, with or
+                    without cause, effective upon notice to the other party. If Company exercises its right to terminate
+                    the Agreement, any obligation it may otherwise have under this Agreement shall cease immediately,
+                    except that Company shall be obligated to compensate Contractor for work performed up to the time of
+                    termination. If Contractor exercises its right to terminate the Agreement, any obligation it may
+                    otherwise have under this Agreement shall cease immediately. Additionally, this Agreement shall
+                    automatically terminate upon Contractor’s death. In such event, Company shall be obligated to pay
+                    Contractor’s estate or beneficiaries only the accrued but unpaid compensation and expenses due as of
+                    the date of death.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">3.2 <b>Continuing Obligations of
+                            Contractor.</b> The provisions of Sections 2 (as relates to Protection of Company’s
+                    Confidential Information), 3.2, 4 and 5 shall survive expiration or termination of this Agreement
+                    for any reason.</li>
+            </ol>
+        </li>
+        <li style="line-height:25px;margin-bottom:12px;"><b>Covenants.</b>
+            <ol>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">4.1 <b>Covenant Not to
+                            Compete.</b> As a material term of and in consideration of Company’s engagement of
+                    Contractor, Contractor agrees as follows. During the term of this Agreement and for a period of two
+                    (2) years following termination hereof, Contractor agrees not to directly or indirectly form,
+                    develop, create, become associated with, or otherwise participate in another business venture that
+                    provides services similar to those of the Company.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">4.2 <b>Reasonableness of
+                            Restrictions.</b> Contractor has carefully read and considered the restrictions set
+                    forth in this Section 4 and, having done so, agrees that the restrictions set forth herein are fair
+                    and reasonable and are reasonably required for the protection of the interests of Company.
+                    Notwithstanding the foregoing, in the event any part of the provisions or covenants set forth in
+                    this Section 4 hereof shall be held to be invalid or unenforceable; the remaining parts thereof
+                    shall nevertheless continue to be valid and enforceable as though the invalid and unenforceable part
+                    had not been included therein. In the event that any provision of this Section 4 relating to the
+                    time period of restriction shall be declared by a court of competent jurisdiction to exceed the
+                    maximum time period such court deems reasonable and enforceable, said time period shall be deemed to
+                    become and thereafter be the maximum time period in which the court deems reasonable and
+                    enforceable. It is also understood and agreed between Company and Contractor that this covenant
+                    shall be construed as an agreement independent of any other provision of this Agreement and the
+                    existence of any claim or cause of action whether predicated on this Agreement or otherwise shall
+                    not constitute a defense to the enforcement by one party against the other party of the covenants
+                    contained in this Section 4.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">4.3 <b>Covenants of Company.</b>
+                    Company hereby represents and warrants that Company is duly organized and validly existing limited
+                    liability company under the laws of the State of Maryland, duly registered to do business and in
+                    good standing under the laws of the State of Maryland; and Company hereby represents that it has
+                    full power, capacity and legal authority to enter into this Agreement.</li>
+            </ol>
+        </li>
+        <li style="line-height:25px;margin-bottom:12px;"><b>Additional Provisions.</b>
+            <ol>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">5.1 <b style="margin-left:8px;">Governing Law and Attorney's Fees.</b> This Agreement shall be
+                    governed by and construed in accordance with the laws of the State of Maryland, USA without regard
+                    to its choice of law principles. The parties consent to exclusive jurisdiction and venue in the
+                    federal and state courts sitting in the State of Maryland. In any action or suit to enforce any
+                    right or remedy under this Agreement or to interpret any provision of this Agreement, the prevailing
+                    party shall be entitled to recover its reasonable attorney’s fees, costs and other expenses. </li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">5.2 <b style="margin-left:8px;">Non-Exclusive; Other Contractors/Services.</b> This Agreement
+                    is non-exclusive and Company is free to obtain the same or similar services from other providers.
+                    Contractor is also free to provide services to other, non-Company Contractors; provided that
+                    Contractor does not violate the provisions of Section 4 hereof, and provided that the provision of
+                    such services to others does not create a conflict of interest for Contractor. Company is not
+                    obligated to provide Contractor with any fixed amount of work or guaranteed or minimum number of
+                    Contractor service opportunities.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">5.3 <b style="margin-left:8px;">Binding Effect.</b> This Agreement shall be binding upon, and
+                    inure to the benefit of, the successors, executors, heirs, representatives, administrators and
+                    permitted assigns of the parties hereto. Contractor shall have no right to (a) assign this
+                    Agreement, by operation of law or otherwise; or (b) subcontract or otherwise delegate the
+                    performance of the Services without Company’s prior written consent which may be withheld as Company
+                    determines in its sole discretion. Any such purported assignment shall be void.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">5.4 <b style="margin-left:8px;">Severability.</b> If any provision of this Agreement shall be
+                    found invalid or unenforceable, the remainder of this Agreement shall be interpreted so as best to
+                    reasonably effect the intent of the parties. </li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">5.5 <b style="margin-left:8px;">Entire
+                            Agreement.</b> This Agreement, including the Exhibits, constitutes the entire
+                    understanding and agreement of the parties with respect to its subject matter and supersedes all
+                    prior and contemporaneous agreements or understandings, inducements or conditions, express or
+                    implied, written or oral, between the parties.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">5.6 <b style="margin-left:8px;">Injunctive Relief.</b> Contractor acknowledges and agrees that
+                    in the event of a breach or threatened breach of this Agreement by Contractor, Company will suffer
+                    irreparable harm and will therefore be entitled to injunctive relief to enforce this Agreement.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">5.7 <b style="margin-left:8px;">Contractor's Remedy.</b> Contractor’s remedy, if any, for any
+                    breach of this Agreement shall be solely in damages and Contractor shall look solely to Company for
+                    recover of such damages. Contractor waives and relinquishes any right Contractor may otherwise have
+                    to obtain injunctive or equitable relief against any third party with respect to any dispute arising
+                    under this Agreement. Contractor shall look solely to Company for any compensation which may be due
+                    to Contractor hereunder.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">5.8 <b style="margin-left:8px;">Agency.</b> Contractor is not Company’s agent or
+                    representative and has no authority to bind or commit Company to any agreements or other
+                    obligations.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">5.9 <b style="margin-left:8px;">Amendment and Waivers.</b> Any term or provision of this
+                    Agreement may be amended, and the observance of any term of this Agreement may be waived, only by a
+                    writing signed by the party to be bound. The waiver by a party of any breach or default in
+                    performance shall not be deemed to constitute a waiver of any other or succeeding breach or default.
+                    The failure of any party to enforce any of the provisions hereof shall not be construed to be a
+                    waiver of the right of such party thereafter to enforce such provisions.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">5.10 <b style="margin-left:8px;">Time.</b> Contactor agrees that time is of the essence in this
+                    Agreement.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">5.11 <b style="margin-left:8px;">Notices.</b> Any notice, demand, or request with respect to
+                    this Agreement shall be in writing and shall be effective only if it is delivered by personal
+                    service, by air courier with receipt of delivery, or mailed, certified mail, return receipt
+                    requested, postage prepaid, to the address set forth above. Such communications shall be effective
+                    when they are received by the addressee; but if sent by certified mail in the manner set forth
+                    above, they shall be effective five (5) days after being deposited in the mail. Any party may change
+                    its address for such communications by giving notice to the other party in conformity with this
+                    section.</li>
+            </ol>
+        </li>
+    </ol>
+    <p style="page-break-before: always; line-height:25px;">CONTRACTOR HAS READ THIS AGREEMENT CAREFULLY AND UNDERSTANDS
+        ITS TERMS. CONTRACTOR HAS ACKNOWLEDGED EXHIBIT C TO THIS AGREEMENT.</p>
+
+    <table border="0" cellpadding="5" width="100%">
+        <tr>
+            <td width="50%"><b>CONTRACTOR</b></td>
+            <td width="50%"><b>COMPANY</b></td>
+        </tr>
+        <tr>
+            <td width="50%">
+                <div style="margin-top:20px;">
+                    <img src="{company_pro_document.pro_signatures}" style="min-height: 40px; max-height: 40px" onerror="this.style.opacity = 0">&nbsp;
+                </div>
+                <hr style="margin: 3px 0; border-color: #222; border-top-width: 0; border-bottom-width: 1px">
+                <p style="margin-top:5px;">SIGNATURE OF CONTRACTOR</p>
+            </td>
+            <td width="50%">
+                <div style="margin-top:20px;">
+                    <img src="{*company.authorized_signer_signature_base64}" style="min-height: 40px; max-height: 40px" onerror="this.style.opacity = 0">&nbsp;
+                </div>
+                <hr style="margin: 3px 0; border-color: #222; border-top-width: 0; border-bottom-width: 1px">
+                <p style="margin-top:5px;">SIGNATURE OF COMPANY OFFICIAL</p>
+            </td>
+        </tr>
+        <tr>
+            <td width="50%">
+                <div style="margin-top:20px;">
+                    {Your Legal Name}&nbsp;
+                </div>
+                <hr style="margin: 3px 0; border-color: #222; border-top-width: 0; border-bottom-width: 1px">
+                <p style="margin-top:5px;">CONTRACTOR (Print Name</p>
+            </td>
+            <td width="50%">
+                <div style="margin-top:20px;">
+                    {*company.authorized_signer_name}, &nbsp;{*company.authorized_signer_title}
+                </div>
+                <hr style="margin: 3px 0; border-color: #222; border-top-width: 0; border-bottom-width: 1px">
+                <p style="margin-top:5px;">COMPANY OFFICIAL (Print Name & Title)</p>
+            </td>
+        </tr>
+        <tr>
+            <td width="50%">
+                <div style="margin-top:20px;">
+                    {company_pro_document.pro_signed_at}&nbsp;
+                </div>
+                <hr style="margin: 3px 0; border-color: #222; border-top-width: 0; border-bottom-width: 1px">
+                <p style="margin-top:5px;">DATE</p>
+            </td>
+            <td width="50%">
+                <div style="margin-top:20px;">
+                    {*company_pro_document.hrm_pro_counter_signed_at}&nbsp;
+                </div>
+                <hr style="margin: 3px 0; border-color: #222; border-top-width: 0; border-bottom-width: 1px">
+                <p style="margin-top:5px;">DATE</p>
+            </td>
+        </tr>
+    </table>
+
+    <h4 style="page-break-before: always; text-align: center"><strong>EXHIBIT A</strong></h4>
+    <p style="text-align: center"><strong>Description of Services</strong></p>
+    <p style="line-height:25px;"><span style="margin-left:80px;"></span> This Engagement Agreement
+        ("Agreement") is entered into as of {company_pro_document.created_at}<b>("Effective Date");</b> by and
+        between <b>Leadership Health LLC;</b> a Maryland LLC, its subsidiaries, parents, affiliates,
+        successors and assigns (<b>"Company"</b>) and {Your Legal Name} (<b>"Contractor"</b>).</p>
+    <p style="line-height:25px;"><b>Services to be provided by Contractor</b> may include but are not limited to:</p>
+    <ul>
+        <li>Care coordination and administrative services.</li>
+        <li>Chart review and follow-up assistance.</li>
+        <li>Patient scheduling.</li>
+        <li>Remote monitoring equipment support.</li>
+        <li>Assisting management with other tasks associated with overall business success.</li>
+        <li>Additional tasks will be added with associated budgets for completion and accordingly reimbursed for the
+            Services from time to time by Company.</li>
+    </ul>
+    <p style="line-height:25px;"><b>Term of Agreement:</b> The initial period of your association with the
+        Company shall be 1-year commencing from Effective Date, and shall automatically renew unless notice by one of
+        the parties is given seven (7) days in advance.</p>
+
+    <table border="0" cellpadding="5" width="100%">
+        <tr>
+            <td width="50%"><b>CONTRACTOR</b></td>
+            <td></td>
+        </tr>
+        <tr>
+            <td width="50%">
+                <div style="margin-top:20px;">
+                    <img src="{company_pro_document.pro_signatures}" style="min-height: 40px; max-height: 40px" onerror="this.style.opacity = 0">&nbsp;
+                </div>
+                <hr style="margin: 3px 0; border-color: #222; border-top-width: 0; border-bottom-width: 1px">
+                <p style="margin-top:5px;">SIGNATURE OF CONTRACTOR</p>
+            </td>
+            <td></td>
+        </tr>
+        <tr>
+            <td width="50%">
+                <div style="margin-top:20px;">
+                    {Your Legal Name}&nbsp;
+                </div>
+                <hr style="margin: 3px 0; border-color: #222; border-top-width: 0; border-bottom-width: 1px">
+                <p style="margin-top:5px;">CONTRACTOR (Print Name)</p>
+            </td>
+            <td></td>
+        </tr>
+        <tr>
+            <td width="50%">
+                <div style="margin-top:20px;">
+                    {company_pro_document.pro_signed_at}&nbsp;
+                </div>
+                <hr style="margin: 3px 0; border-color: #222; border-top-width: 0; border-bottom-width: 1px">
+                <p style="margin-top:5px;">DATE</p>
+            </td>
+            <td></td>
+        </tr>
+    </table>
+
+
+    <h4 style="page-break-before: always; text-align: center"><strong>EXHIBIT B</strong></h4>
+    <p style="text-align: center"><strong>Payment</strong></p>
+    <p style="line-height:25px;"><span style="margin-left:80px;"></span> This Engagement Agreement
+        ("Agreement") is entered into as of {company_pro_document.created_at}</u><b>("Effective Date");</b> by and
+        between <b>Leadership Health LLC;</b> a Maryland LLC, its subsidiaries, parents, affiliates,
+        successors and assigns (<b>"Company"</b>) and {Your Legal Name}</u> (<b>"Contractor"</b>).</p>
+
+    <ol>
+        <li style="line-height:25px;margin-bottom:12px;"><b>Compensation:</b>
+            <ol>
+                <li style="display:block;line-height:25px;margin-bottom:8px;"><b>1.1</b> Compensation for services
+                    rendered shall be according to a predetermined and services set forth in Exhibit A. Contractor shall
+                    receive from Company ${@Hourly Rate Number}</u> ({@Hourly Rate Words}</u>) and/or part of thereof for every
+                    hour</u> of work performed, which shall be due and payable to Contractor in
+                    accordance with Company’s standard payroll practices subject to the approval of time-sheets and/or
+                    approval of invoices by the direct supervisor of the Contractor. Company reserves the right to
+                    reject time-sheets, hours submitted and/or invoice submitted that do not conform to Company’s
+                    compliance adherence, applicable laws, rules, regulations and documentation standards. Contractor
+                    acknowledges that such non-compliant services may not be eligible for compensation.
+                </li>
+            </ol>
+        </li>
+        <li style="line-height:25px;margin-bottom:12px;"><b>Expenses:</b>
+            <ol>
+                <li style="display:block;line-height:25px;margin-bottom:8px;"><b>2.1</b> Contractor shall not be
+                    entitled for any expense reimbursement unless pre-authorized by Company officials.</li>
+            </ol>
+        </li>
+    </ol>
+
+    <table border="0" cellpadding="5" width="100%">
+        <tr>
+            <td width="50%"><b>CONTRACTOR</b></td>
+            <td></td>
+        </tr>
+        <tr>
+            <td width="50%">
+                <div style="margin-top:20px;">
+                    <img src="{company_pro_document.pro_signatures}" style="min-height: 40px; max-height: 40px" onerror="this.style.opacity = 0">&nbsp;
+                </div>
+                <hr style="margin: 3px 0; border-color: #222; border-top-width: 0; border-bottom-width: 1px">
+                <p style="margin-top:5px;">SIGNATURE OF CONTRACTOR</p>
+            </td>
+            <td></td>
+        </tr>
+        <tr>
+            <td width="50%">
+                <div style="margin-top:20px;">
+                    {Your Legal Name}&nbsp;
+                </div>
+                <hr style="margin: 3px 0; border-color: #222; border-top-width: 0; border-bottom-width: 1px">
+                <p style="margin-top:5px;">CONTRACTOR (Print Name)</p>
+            </td>
+            <td></td>
+        </tr>
+        <tr>
+            <td width="50%">
+                <div style="margin-top:20px;">
+                    {company_pro_document.pro_signed_at}&nbsp;
+                </div>
+                <hr style="margin: 3px 0; border-color: #222; border-top-width: 0; border-bottom-width: 1px">
+                <p style="margin-top:5px;">DATE</p>
+            </td>
+            <td></td>
+        </tr>
+    </table>
+
+
+    <h4 style="page-break-before: always; text-align: center"><strong>EXHIBIT C</strong></h4>
+    <p style="text-align: center;margin-bottom:1px;"><strong>Confidentiality Acknowledgement</strong></p>
+
+    <ol>
+        <li><b>HIPPA CONFIDENTIALITY:</b>
+            <p style="line-height:25px;margin-top:5px;margin-top:5px;">Through my association/engagement with <b>Leadership Health LLC</b>; including all its
+                subsidiaries, parents, affiliates, successors, assigns & clients; ("Company"), as an independent
+                contractor, I "{Your Legal Name}</u>" understand that patient information in any form (paper,
+                electronic, oral, etc.) is protected by law and that breaches of patient confidentiality can have
+                ramifications up to and including termination of my contract/association/engagement with Company as well
+                as possible civil and criminal penalties as related to HIPPA. (Health Insurance Portability Protection
+                Act). I will only access, use or disclose what is necessary to carry out my assigned duties. I will not
+                improperly divulge any information which comes to me through the carrying out of my assigned duties,
+                program assignment or observation.</p>
+            <p style="line-height:25px;">This includes but not limited to:</p>
+            <ol>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">1.1 I will not discuss information
+                    pertaining to any patient with anyone (even my own family) who is not directly working with said
+                    patient.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">1.2 I will not discuss any patient
+                    information in any place where it can be overheard by anyone who is not authorized to have this
+                    information.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">1.3 I will not mention any patient's name
+                    or disclose directly or indirectly that any person is a patient except to those authorized to have
+                    this information.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">1.4 I will not describe any behavior which
+                    I have observed or learned about through association with Company or its clients, except to those
+                    authorized to have this information.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">1.5 I will not contact any individual or
+                    agency outside Company or its clients to get personal information about an individual patient unless
+                    a release of information has been signed by the patient or by someone who has been legally
+                    authorized by the patient to release information.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">1.6 I will not use confidential Company or
+                    its client's business-related information in any manner not required by my job or disclose it to
+                    anyone not authorized to have or know it.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">1.7 I will not access a co-worker's,
+                    family member's or my own medical record unless I am directly working with the said patient or
+                    instructed by authorized personnel.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">1.8 I will not transfer, copy or scan any
+                    patient health information unless approved by Company Director or authorized personnel.</li>
+            </ol>
+        </li>
+
+        <li><b>COMPUTER SECURITY ACKNOWLEDGEMENT</b>
+            <p style="line-height:25px;margin-top:5px;">I understand my password and user ID create a unique user account and that
+                Company and/or client, reserves the right to monitor my activity within any application. I understand I
+                am accountable for any activity within the application linked to my unique user account and that I may
+                be questioned about my activity. I understand I will be accountable for any document or data creation or
+                modification linked to my unique user account. I understand that sharing my password, using someone
+                else’s password or signing on for others to use the application are all breaches of security, patient
+                confidentiality and my computer security procedures (such as signing off, not sharing passwords, etc.)
+                to protect information maintained electronically from being accessed by an unauthorized user.</p>
+        </li>
+
+        <li><b>INTERNET SECURITY ACKNOWLEDGEMENT</b>
+            <p style="line-height:25px;margin-top:5px;">I am familiar with the Internet and e-mail security policies and I agree to
+                abide by them. I am aware that my unauthorized or inappropriate use of the Internet may result in
+                disciplinary action up to and including termination. I further acknowledge my responsibility to keep my
+                password confidential and in the event of a suspected compromise or a security problem, I will
+                immediately notify the authorized personnel. In addition, when sending files or attachments via email, I
+                will observe all Company's and/or client's security and confidentiality policies. (See HIPPA guidelines
+                above).</p>
+            <p style="line-height:25px;">I understand that the privilege of using the Internet and e-mail may not be
+                granted to me in the future and that if granted is to be used for business reasons only.</p>
+        </li>
+    </ol>
+
+    <p style="line-height:25px;">By affixing my signature below, I acknowledge and accept all policies and procedures
+        related to HIPPA confidentiality, computer security and internet security. Failure to abide by these policies
+        may result in disciplinary action up to and including termination as well as possible civil and criminal
+        penalties.</p>
+
+    <table border="0" cellpadding="5" width="50%">
+        <tr>
+            <td width="50%"><b>CONTRACTOR</b></td>
+        </tr>
+        <tr>
+            <td width="50%">
+                <div style="margin-top:20px;">
+                    <img src="{company_pro_document.pro_signatures}" style="min-height: 40px; max-height: 40px" onerror="this.style.opacity = 0">&nbsp;
+                </div>
+                <hr style="margin: 3px 0; border-color: #222; border-top-width: 0; border-bottom-width: 1px">
+                <p style="margin-top:5px;">SIGNATURE OF CONTRACTOR</p>
+            </td>
+        </tr>
+        <tr>
+            <td width="50%">
+                <div style="margin-top:20px;">
+                    {Your Legal Name}&nbsp;
+                </div>
+                <hr style="margin: 3px 0; border-color: #222; border-top-width: 0; border-bottom-width: 1px">
+                <p style="margin-top:5px;">CONTRACTOR (Print Name)</p>
+            </td>
+        </tr>
+        <tr>
+            <td width="50%">
+                <div style="margin-top:20px;">
+                    {company_pro_document.pro_signed_at}&nbsp;
+                </div>
+                <hr style="margin: 3px 0; border-color: #222; border-top-width: 0; border-bottom-width: 1px">
+                <p style="margin-top:5px;">DATE</p>
+            </td>
+        </tr>
+    </table>
+
+
+</div>

+ 514 - 0
resources/views/document-templates-generic/default__nhcp__engagement_agreement/content.blade.php.OLD

@@ -0,0 +1,514 @@
+<div style="padding:0 15px;font-family:sans-serif;text-align:justify;">
+    <h2><strong>
+            <center>Leadership Health LLC</center>
+        </strong></h2>
+    <h3><strong>
+            <center>Engagement Agreement</center>
+        </strong></h3>
+    <p style="line-height:25px;"><span style="margin-left:80px;"></span> This Engagement Agreement
+        (<b>"Agreement"</b>) is entered into as of {company_pro_document.created_at} <b>("Effective Date");</b> by
+        and between <b>Leadership Health LLC;</b> a Maryland LLC, its subsidiaries, parents,
+        affiliates, successor {company.address} (<b>"Company"</b>) and {Your Legal Name}
+        with a residence and/or place of business at {Your Physical Address} (<b>"Contractor"</b>).</p>
+
+    <ol>
+        <li style="line-height:25px;margin-bottom:12px;"><b>Services.</b>
+            <ol>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">1.1 <b style="margin-left:8px;">Nature
+                            of Services.</b> Contractor will perform the services, as more particularly described
+                    on Exhibit A, as an independent contractor (the <b>“Services”</b>). To the extent the Services
+                    include materials subject to copyright, Contractor agrees that the Services are done as “work made
+                    for hire” as that term is defined under U.S. copyright law, and that as a result, Company will own
+                    all copyrights in the Services. Contractor will perform such services in accordance with the
+                    schedule, if any, set forth in Exhibit A. Except as specified on Exhibit A, Company agrees that
+                    Contractor's services need not be rendered at any specific location and may be rendered at any
+                    location selected by Contractor. </li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">1.2 <b style="margin-left:8px;">Relationship of the Parties.</b> Contractor enters into this
+                    Agreement as, and shall continue to be, an independent contractor. All Services shall be performed
+                    only by Contractor. Under no circumstances shall Contractor look to Company as his/her employer, or
+                    as a partner, agent or principal. Contractor shall not be entitled to any benefits accorded to
+                    Company's employees, including without limitation worker's compensation, disability insurance,
+                    vacation or sick pay.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">1.3 <b style="margin-left:8px;">Compensation and Reimbursement.</b> Contractor shall be
+                    compensated and reimbursed for the Services as set forth on Exhibit B. Completeness of work product
+                    shall be determined by Company in its sole discretion, and Contractor agrees to make all revisions,
+                    additions, deletions or alterations as requested by Company. No other fees and/or expenses will be
+                    paid to Contractor, unless such fees and/or expenses have been approved in advance by the
+                    appropriate Company executive in writing. Contractor shall be solely responsible for any and all
+                    taxes, Social Security contributions or payments, disability insurance, unemployment taxes, and
+                    other payroll type taxes applicable to such compensation. Contractor hereby indemnifies and holds
+                    Company harmless from, any claims, losses, costs, fees, liabilities, damages or injuries suffered by
+                    Company arising out of Contractor's failure with respect to its obligations in this Section 1.3.
+                </li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">1.4 <b style="margin-left:8px;">Notice.</b> Contractor shall promptly notify Company of any
+                    information received by Contractor which Contractor has reason to believe may lead to: (i) a claim
+                    against Contractor’s liability insurance; or (ii) an investigation of Contractor’s qualifications to
+                    provide services to individuals by any third party (government or private). </li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">1.5 <b style="margin-left:8px;">Company’s Compliance Program.</b> Contractor acknowledges that
+                    Company may establish one or more compliance programs that govern how Company complies with
+                    applicable laws, rules, and regulations. Contractor agrees to become familiar with and comply with
+                    all applicable provisions of such compliance programs; so long as Company provides notice of such
+                    compliance programs prior to implementation. Contractor further agrees to immediately notify Company
+                    of any violation of such compliance programs of which Contractor becomes aware.</li>
+            </ol>
+        </li>
+
+        <li style="line-height:25px;margin-bottom:12px;"><b>Protection of Company's Confidential
+                    Information.</b>
+            <ol>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">2.1 <b style="margin-left:8px;">Confidential Information</b>. Company now owns and will
+                    hereafter develop, compile and own certain proprietary techniques, trade secrets, and confidential
+                    information which have great value in its business (collectively, <b>“Company Information”</b>).
+                    Company will be disclosing Company Information to Contractor during Contractor's performance of the
+                    Services. Company Information includes not only information disclosed by Company, but also
+                    information developed or learned by Contractor during Contractor's performance of the Services.
+                    Company Information is to be broadly defined and includes all information which has or could have
+                    commercial value or other utility in the business in which Company is engaged or contemplates
+                    engaging or the unauthorized disclosure of which could be detrimental to the interests of Company,
+                    whether or not such information is identified by Company. By way of example and without limitation,
+                    Company Information includes any and all information concerning discoveries, developments, designs,
+                    improvements, inventions, formulas, software programs, processes, techniques, know-how, data,
+                    research techniques, customer and supplier lists, marketing, sales or other financial or business
+                    information, scripts, and all derivatives, improvements and enhancements to any of the above.
+                    Company Information also includes third-party information which is in Company's possession under an
+                    obligation of confidential treatment. Through their association with Company, Contractor will also
+                    have access to confidential Patient information, both written and oral, in the course of their job
+                    responsibilities. Patient information in any form (paper, electronic, oral, etc.) is protected by
+                    law. Contractor shall require hereunder to sign a copy of the acknowledgement form attached hereto
+                    as Exhibit C.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">2.2 <b style="margin-left:8px;">Protection of Company Information.</b> Contractor agrees that
+                    at all times during or subsequent to the performance of the Services, Contractor will keep company
+                    information confidential and not divulge, communicate, or use Company Information, except for
+                    Contractor's own use during the Term of this Agreement to the extent necessary to perform the
+                    Services. Contractor further agrees not to cause the transmission, removal or transport of tangible
+                    embodiments of, or electronic files containing Company Information from Company's principal place of
+                    business, without prior written approval of Company. It is imperative that this information is not
+                    disclosed to any unauthorized individuals to maintain the integrity of the patient information. An
+                    unauthorized individual would be any person that is not currently an employee and/or contractor of
+                    the Company. Any other disclosures by Contractor and all its personnel such as employees,
+                    sub-contractors, agents, representatives, partner etc., may only occur at the written direction of
+                    the Company’s Privacy Office. </li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">2.3 <b style="margin-left:8px;">Exceptions.</b> Contractor's obligations with respect to any
+                    portion of the Company Information as set forth above shall not apply when Contractor can document
+                    that (i) it was in the public domain at the time it was communicated to Contractor by Company; (ii)
+                    it entered the public domain subsequent to the time it was communicated to Contractor by Company
+                    through no fault of Contractor; (iii) it was in Contractor's possession free of any obligation of
+                    confidence at the time it was communicated to Contractor by Company; or (iv) it was rightfully
+                    communicated to Contractor free of any obligation of confidence subsequent to the time it was
+                    communicated to Contractor by Company. </li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">2.4 <b style="margin-left:8px;">Company Property.</b> All materials, including without
+                    limitation documents, drawings, drafts, notes, designs, computer media, electronic files and lists,
+                    including all additions to, deletions from, alterations of, and revisions in the foregoing (together
+                    the <b>“Materials”</b>), which are furnished to Contractor by Company or which are developed in the
+                    process of performing the Services, or embody or relate to the Services, the Company Information or
+                    the Innovations, are the property of Company, and shall be returned by Contractor to Company
+                    promptly at Company's request together with any copies thereof, and in any event promptly upon
+                    expiration or termination of this Agreement for any reason. Contractor is granted no rights in or to
+                    such Materials, the Company Information or the Innovations, except as necessary to fulfill its
+                    obligations under this Agreement. Contractor shall not use or disclose the Materials, Company
+                    Information or Innovations to any third party.</li>
+            </ol>
+        </li>
+
+        <li style="line-height:25px;margin-bottom:12px;"><b>Termination of Agreement.</b>
+            <ol>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">3.1 <b>Term.</b> This Agreement
+                    shall be effective from the date first listed above for the period set forth on Exhibit A, as
+                    applicable, unless sooner terminated by either party in accordance with the terms and conditions of
+                    this Agreement (<b>“Term”</b>). This Agreement is terminable by either party at any time, with or
+                    without cause, effective upon notice to the other party. If Company exercises its right to terminate
+                    the Agreement, any obligation it may otherwise have under this Agreement shall cease immediately,
+                    except that Company shall be obligated to compensate Contractor for work performed up to the time of
+                    termination. If Contractor exercises its right to terminate the Agreement, any obligation it may
+                    otherwise have under this Agreement shall cease immediately. Additionally, this Agreement shall
+                    automatically terminate upon Contractor’s death. In such event, Company shall be obligated to pay
+                    Contractor’s estate or beneficiaries only the accrued but unpaid compensation and expenses due as of
+                    the date of death.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">3.2 <b>Continuing Obligations of
+                            Contractor.</b> The provisions of Sections 2 (as relates to Protection of Company’s
+                    Confidential Information), 3.2, 4 and 5 shall survive expiration or termination of this Agreement
+                    for any reason.</li>
+            </ol>
+        </li>
+        <li style="line-height:25px;margin-bottom:12px;"><b>Covenants.</b>
+            <ol>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">4.1 <b>Covenant Not to
+                            Compete.</b> As a material term of and in consideration of Company’s engagement of
+                    Contractor, Contractor agrees as follows. During the term of this Agreement and for a period of two
+                    (2) years following termination hereof, Contractor agrees not to directly or indirectly form,
+                    develop, create, become associated with, or otherwise participate in another business venture that
+                    provides services similar to those of the Company.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">4.2 <b>Reasonableness of
+                            Restrictions.</b> Contractor has carefully read and considered the restrictions set
+                    forth in this Section 4 and, having done so, agrees that the restrictions set forth herein are fair
+                    and reasonable and are reasonably required for the protection of the interests of Company.
+                    Notwithstanding the foregoing, in the event any part of the provisions or covenants set forth in
+                    this Section 4 hereof shall be held to be invalid or unenforceable; the remaining parts thereof
+                    shall nevertheless continue to be valid and enforceable as though the invalid and unenforceable part
+                    had not been included therein. In the event that any provision of this Section 4 relating to the
+                    time period of restriction shall be declared by a court of competent jurisdiction to exceed the
+                    maximum time period such court deems reasonable and enforceable, said time period shall be deemed to
+                    become and thereafter be the maximum time period in which the court deems reasonable and
+                    enforceable. It is also understood and agreed between Company and Contractor that this covenant
+                    shall be construed as an agreement independent of any other provision of this Agreement and the
+                    existence of any claim or cause of action whether predicated on this Agreement or otherwise shall
+                    not constitute a defense to the enforcement by one party against the other party of the covenants
+                    contained in this Section 4.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">4.3 <b>Covenants of Company.</b>
+                    Company hereby represents and warrants that Company is duly organized and validly existing limited
+                    liability company under the laws of the State of Maryland, duly registered to do business and in
+                    good standing under the laws of the State of Maryland; and Company hereby represents that it has
+                    full power, capacity and legal authority to enter into this Agreement.</li>
+            </ol>
+        </li>
+        <li style="line-height:25px;margin-bottom:12px;"><b>Additional Provisions.</b>
+            <ol>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">5.1 <b style="margin-left:8px;">Governing Law and Attorney's Fees.</b> This Agreement shall be
+                    governed by and construed in accordance with the laws of the State of Maryland, USA without regard
+                    to its choice of law principles. The parties consent to exclusive jurisdiction and venue in the
+                    federal and state courts sitting in the State of Maryland. In any action or suit to enforce any
+                    right or remedy under this Agreement or to interpret any provision of this Agreement, the prevailing
+                    party shall be entitled to recover its reasonable attorney’s fees, costs and other expenses. </li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">5.2 <b style="margin-left:8px;">Non-Exclusive; Other Contractors/Services.</b> This Agreement
+                    is non-exclusive and Company is free to obtain the same or similar services from other providers.
+                    Contractor is also free to provide services to other, non-Company Contractors; provided that
+                    Contractor does not violate the provisions of Section 4 hereof, and provided that the provision of
+                    such services to others does not create a conflict of interest for Contractor. Company is not
+                    obligated to provide Contractor with any fixed amount of work or guaranteed or minimum number of
+                    Contractor service opportunities.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">5.3 <b style="margin-left:8px;">Binding Effect.</b> This Agreement shall be binding upon, and
+                    inure to the benefit of, the successors, executors, heirs, representatives, administrators and
+                    permitted assigns of the parties hereto. Contractor shall have no right to (a) assign this
+                    Agreement, by operation of law or otherwise; or (b) subcontract or otherwise delegate the
+                    performance of the Services without Company’s prior written consent which may be withheld as Company
+                    determines in its sole discretion. Any such purported assignment shall be void.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">5.4 <b style="margin-left:8px;">Severability.</b> If any provision of this Agreement shall be
+                    found invalid or unenforceable, the remainder of this Agreement shall be interpreted so as best to
+                    reasonably effect the intent of the parties. </li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">5.5 <b style="margin-left:8px;">Entire
+                            Agreement.</b> This Agreement, including the Exhibits, constitutes the entire
+                    understanding and agreement of the parties with respect to its subject matter and supersedes all
+                    prior and contemporaneous agreements or understandings, inducements or conditions, express or
+                    implied, written or oral, between the parties.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">5.6 <b style="margin-left:8px;">Injunctive Relief.</b> Contractor acknowledges and agrees that
+                    in the event of a breach or threatened breach of this Agreement by Contractor, Company will suffer
+                    irreparable harm and will therefore be entitled to injunctive relief to enforce this Agreement.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">5.7 <b style="margin-left:8px;">Contractor's Remedy.</b> Contractor’s remedy, if any, for any
+                    breach of this Agreement shall be solely in damages and Contractor shall look solely to Company for
+                    recover of such damages. Contractor waives and relinquishes any right Contractor may otherwise have
+                    to obtain injunctive or equitable relief against any third party with respect to any dispute arising
+                    under this Agreement. Contractor shall look solely to Company for any compensation which may be due
+                    to Contractor hereunder.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">5.8 <b style="margin-left:8px;">Agency.</b> Contractor is not Company’s agent or
+                    representative and has no authority to bind or commit Company to any agreements or other
+                    obligations.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">5.9 <b style="margin-left:8px;">Amendment and Waivers.</b> Any term or provision of this
+                    Agreement may be amended, and the observance of any term of this Agreement may be waived, only by a
+                    writing signed by the party to be bound. The waiver by a party of any breach or default in
+                    performance shall not be deemed to constitute a waiver of any other or succeeding breach or default.
+                    The failure of any party to enforce any of the provisions hereof shall not be construed to be a
+                    waiver of the right of such party thereafter to enforce such provisions.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">5.10 <b style="margin-left:8px;">Time.</b> Contactor agrees that time is of the essence in this
+                    Agreement.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">5.11 <b style="margin-left:8px;">Notices.</b> Any notice, demand, or request with respect to
+                    this Agreement shall be in writing and shall be effective only if it is delivered by personal
+                    service, by air courier with receipt of delivery, or mailed, certified mail, return receipt
+                    requested, postage prepaid, to the address set forth above. Such communications shall be effective
+                    when they are received by the addressee; but if sent by certified mail in the manner set forth
+                    above, they shall be effective five (5) days after being deposited in the mail. Any party may change
+                    its address for such communications by giving notice to the other party in conformity with this
+                    section.</li>
+            </ol>
+        </li>
+    </ol>
+    <p style="page-break-before: always; line-height:25px;">CONTRACTOR HAS READ THIS AGREEMENT CAREFULLY AND UNDERSTANDS
+        ITS TERMS. CONTRACTOR HAS ACKNOWLEDGED EXHIBIT C TO THIS AGREEMENT.</p>
+
+    <table border="0" cellpadding="5" width="100%">
+        <tr>
+            <td width="50%"><b>CONTRACTOR</b></td>
+            <td width="50%"><b>COMPANY</b></td>
+        </tr>
+        <tr>
+            <td width="50%">
+                <div style="margin-top:20px;">
+                    <img src="{company_pro_document.pro_signatures}" style="min-height: 40px; max-height: 40px" onerror="this.style.opacity = 0">&nbsp;
+                </div>
+                <hr style="margin: 3px 0; border-color: #222; border-top-width: 0; border-bottom-width: 1px">
+                <p style="margin-top:5px;">SIGNATURE OF CONTRACTOR</p>
+            </td>
+            <td width="50%">
+                <div style="margin-top:20px;">
+                    <img src="{*company.authorized_signer_signature_base64}" style="min-height: 40px; max-height: 40px" onerror="this.style.opacity = 0">&nbsp;
+                </div>
+                <hr style="margin: 3px 0; border-color: #222; border-top-width: 0; border-bottom-width: 1px">
+                <p style="margin-top:5px;">SIGNATURE OF COMPANY OFFICIAL</p>
+            </td>
+        </tr>
+        <tr>
+            <td width="50%">
+                <div style="margin-top:20px;">
+                    {Your Legal Name}&nbsp;
+                </div>
+                <hr style="margin: 3px 0; border-color: #222; border-top-width: 0; border-bottom-width: 1px">
+                <p style="margin-top:5px;">CONTRACTOR (Print Name</p>
+            </td>
+            <td width="50%">
+                <div style="margin-top:20px;">
+                    {*company.authorized_signer_name}, &nbsp;{*company.authorized_signer_title}
+                </div>
+                <hr style="margin: 3px 0; border-color: #222; border-top-width: 0; border-bottom-width: 1px">
+                <p style="margin-top:5px;">COMPANY OFFICIAL (Print Name & Title)</p>
+            </td>
+        </tr>
+        <tr>
+            <td width="50%">
+                <div style="margin-top:20px;">
+                    {company_pro_document.pro_signed_at}&nbsp;
+                </div>
+                <hr style="margin: 3px 0; border-color: #222; border-top-width: 0; border-bottom-width: 1px">
+                <p style="margin-top:5px;">DATE</p>
+            </td>
+            <td width="50%">
+                <div style="margin-top:20px;">
+                    {*company_pro_document.hrm_pro_counter_signed_at}&nbsp;
+                </div>
+                <hr style="margin: 3px 0; border-color: #222; border-top-width: 0; border-bottom-width: 1px">
+                <p style="margin-top:5px;">DATE</p>
+            </td>
+        </tr>
+    </table>
+
+    <h4 style="page-break-before: always; text-align: center"><strong>EXHIBIT A</strong></h4>
+    <p style="text-align: center"><strong>Description of Services</strong></p>
+    <p style="line-height:25px;"><span style="margin-left:80px;"></span> This Engagement Agreement
+        ("Agreement") is entered into as of {company_pro_document.created_at}<b>("Effective Date");</b> by and
+        between <b>Leadership Health LLC;</b> a Maryland LLC, its subsidiaries, parents, affiliates,
+        successors and assigns (<b>"Company"</b>) and {Your Legal Name} (<b>"Contractor"</b>).</p>
+    <p style="line-height:25px;"><b>Services to be provided by Contractor</b> may include but are not limited to:</p>
+    <ul>
+        <li>Care coordination and administrative services.</li>
+        <li>Chart review and follow-up assistance.</li>
+        <li>Patient scheduling.</li>
+        <li>Remote monitoring equipment support.</li>
+        <li>Assisting management with other tasks associated with overall business success.</li>
+        <li>Additional tasks will be added with associated budgets for completion and accordingly reimbursed for the
+            Services from time to time by Company.</li>
+    </ul>
+    <p style="line-height:25px;"><b>Term of Agreement:</b> The initial period of your association with the
+        Company shall be 1-year commencing from Effective Date, and shall automatically renew unless notice by one of
+        the parties is given seven (7) days in advance.</p>
+
+    <table border="0" cellpadding="5" width="100%">
+        <tr>
+            <td width="50%"><b>CONTRACTOR</b></td>
+            <td></td>
+        </tr>
+        <tr>
+            <td width="50%">
+                <div style="margin-top:20px;">
+                    <img src="{company_pro_document.pro_signatures}" style="min-height: 40px; max-height: 40px" onerror="this.style.opacity = 0">&nbsp;
+                </div>
+                <hr style="margin: 3px 0; border-color: #222; border-top-width: 0; border-bottom-width: 1px">
+                <p style="margin-top:5px;">SIGNATURE OF CONTRACTOR</p>
+            </td>
+            <td></td>
+        </tr>
+        <tr>
+            <td width="50%">
+                <div style="margin-top:20px;">
+                    {Your Legal Name}&nbsp;
+                </div>
+                <hr style="margin: 3px 0; border-color: #222; border-top-width: 0; border-bottom-width: 1px">
+                <p style="margin-top:5px;">CONTRACTOR (Print Name)</p>
+            </td>
+            <td></td>
+        </tr>
+        <tr>
+            <td width="50%">
+                <div style="margin-top:20px;">
+                    {company_pro_document.pro_signed_at}&nbsp;
+                </div>
+                <hr style="margin: 3px 0; border-color: #222; border-top-width: 0; border-bottom-width: 1px">
+                <p style="margin-top:5px;">DATE</p>
+            </td>
+            <td></td>
+        </tr>
+    </table>
+
+
+    <h4 style="page-break-before: always; text-align: center"><strong>EXHIBIT B</strong></h4>
+    <p style="text-align: center"><strong>Payment</strong></p>
+    <p style="line-height:25px;"><span style="margin-left:80px;"></span> This Engagement Agreement
+        ("Agreement") is entered into as of {company_pro_document.created_at}</u><b>("Effective Date");</b> by and
+        between <b>Leadership Health LLC;</b> a Maryland LLC, its subsidiaries, parents, affiliates,
+        successors and assigns (<b>"Company"</b>) and {Your Legal Name}</u> (<b>"Contractor"</b>).</p>
+
+    <ol>
+        <li style="line-height:25px;margin-bottom:12px;"><b>Compensation:</b>
+            <ol>
+                <li style="display:block;line-height:25px;margin-bottom:8px;"><b>1.1</b> Compensation for services
+                    rendered shall be according to a predetermined and services set forth in Exhibit A. Contractor shall
+                    receive from Company ${@Hourly Rate Number}</u> ({@Hourly Rate Words}</u>) and/or part of thereof for every
+                    hour</u> of work performed, which shall be due and payable to Contractor in
+                    accordance with Company’s standard payroll practices subject to the approval of time-sheets and/or
+                    approval of invoices by the direct supervisor of the Contractor. Company reserves the right to
+                    reject time-sheets, hours submitted and/or invoice submitted that do not conform to Company’s
+                    compliance adherence, applicable laws, rules, regulations and documentation standards. Contractor
+                    acknowledges that such non-compliant services may not be eligible for compensation.
+                </li>
+            </ol>
+        </li>
+        <li style="line-height:25px;margin-bottom:12px;"><b>Expenses:</b>
+            <ol>
+                <li style="display:block;line-height:25px;margin-bottom:8px;"><b>2.1</b> Contractor shall not be
+                    entitled for any expense reimbursement unless pre-authorized by Company officials.</li>
+            </ol>
+        </li>
+    </ol>
+
+    <table border="0" cellpadding="5" width="100%">
+        <tr>
+            <td width="50%"><b>CONTRACTOR</b></td>
+            <td></td>
+        </tr>
+        <tr>
+            <td width="50%">
+                <div style="margin-top:20px;">
+                    <img src="{company_pro_document.pro_signatures}" style="min-height: 40px; max-height: 40px" onerror="this.style.opacity = 0">&nbsp;
+                </div>
+                <hr style="margin: 3px 0; border-color: #222; border-top-width: 0; border-bottom-width: 1px">
+                <p style="margin-top:5px;">SIGNATURE OF CONTRACTOR</p>
+            </td>
+            <td></td>
+        </tr>
+        <tr>
+            <td width="50%">
+                <div style="margin-top:20px;">
+                    {Your Legal Name}&nbsp;
+                </div>
+                <hr style="margin: 3px 0; border-color: #222; border-top-width: 0; border-bottom-width: 1px">
+                <p style="margin-top:5px;">CONTRACTOR (Print Name)</p>
+            </td>
+            <td></td>
+        </tr>
+        <tr>
+            <td width="50%">
+                <div style="margin-top:20px;">
+                    {company_pro_document.pro_signed_at}&nbsp;
+                </div>
+                <hr style="margin: 3px 0; border-color: #222; border-top-width: 0; border-bottom-width: 1px">
+                <p style="margin-top:5px;">DATE</p>
+            </td>
+            <td></td>
+        </tr>
+    </table>
+
+
+    <h4 style="page-break-before: always; text-align: center"><strong>EXHIBIT C</strong></h4>
+    <p style="text-align: center;margin-bottom:1px;"><strong>Confidentiality Acknowledgement</strong></p>
+
+    <ol>
+        <li><b>HIPPA CONFIDENTIALITY:</b>
+            <p style="line-height:25px;margin-top:5px;margin-top:5px;">Through my association/engagement with <b>Leadership Health LLC</b>; including all its
+                subsidiaries, parents, affiliates, successors, assigns & clients; ("Company"), as an independent
+                contractor, I "{Your Legal Name}</u>" understand that patient information in any form (paper,
+                electronic, oral, etc.) is protected by law and that breaches of patient confidentiality can have
+                ramifications up to and including termination of my contract/association/engagement with Company as well
+                as possible civil and criminal penalties as related to HIPPA. (Health Insurance Portability Protection
+                Act). I will only access, use or disclose what is necessary to carry out my assigned duties. I will not
+                improperly divulge any information which comes to me through the carrying out of my assigned duties,
+                program assignment or observation.</p>
+            <p style="line-height:25px;">This includes but not limited to:</p>
+            <ol>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">1.1 I will not discuss information
+                    pertaining to any patient with anyone (even my own family) who is not directly working with said
+                    patient.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">1.2 I will not discuss any patient
+                    information in any place where it can be overheard by anyone who is not authorized to have this
+                    information.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">1.3 I will not mention any patient's name
+                    or disclose directly or indirectly that any person is a patient except to those authorized to have
+                    this information.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">1.4 I will not describe any behavior which
+                    I have observed or learned about through association with Company or its clients, except to those
+                    authorized to have this information.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">1.5 I will not contact any individual or
+                    agency outside Company or its clients to get personal information about an individual patient unless
+                    a release of information has been signed by the patient or by someone who has been legally
+                    authorized by the patient to release information.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">1.6 I will not use confidential Company or
+                    its client's business-related information in any manner not required by my job or disclose it to
+                    anyone not authorized to have or know it.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">1.7 I will not access a co-worker's,
+                    family member's or my own medical record unless I am directly working with the said patient or
+                    instructed by authorized personnel.</li>
+                <li style="display:block;line-height:25px;margin-bottom:8px;">1.8 I will not transfer, copy or scan any
+                    patient health information unless approved by Company Director or authorized personnel.</li>
+            </ol>
+        </li>
+
+        <li><b>COMPUTER SECURITY ACKNOWLEDGEMENT</b>
+            <p style="line-height:25px;margin-top:5px;">I understand my password and user ID create a unique user account and that
+                Company and/or client, reserves the right to monitor my activity within any application. I understand I
+                am accountable for any activity within the application linked to my unique user account and that I may
+                be questioned about my activity. I understand I will be accountable for any document or data creation or
+                modification linked to my unique user account. I understand that sharing my password, using someone
+                else’s password or signing on for others to use the application are all breaches of security, patient
+                confidentiality and my computer security procedures (such as signing off, not sharing passwords, etc.)
+                to protect information maintained electronically from being accessed by an unauthorized user.</p>
+        </li>
+
+        <li><b>INTERNET SECURITY ACKNOWLEDGEMENT</b>
+            <p style="line-height:25px;margin-top:5px;">I am familiar with the Internet and e-mail security policies and I agree to
+                abide by them. I am aware that my unauthorized or inappropriate use of the Internet may result in
+                disciplinary action up to and including termination. I further acknowledge my responsibility to keep my
+                password confidential and in the event of a suspected compromise or a security problem, I will
+                immediately notify the authorized personnel. In addition, when sending files or attachments via email, I
+                will observe all Company's and/or client's security and confidentiality policies. (See HIPPA guidelines
+                above).</p>
+            <p style="line-height:25px;">I understand that the privilege of using the Internet and e-mail may not be
+                granted to me in the future and that if granted is to be used for business reasons only.</p>
+        </li>
+    </ol>
+
+    <p style="line-height:25px;">By affixing my signature below, I acknowledge and accept all policies and procedures
+        related to HIPPA confidentiality, computer security and internet security. Failure to abide by these policies
+        may result in disciplinary action up to and including termination as well as possible civil and criminal
+        penalties.</p>
+
+    <table border="0" cellpadding="5" width="50%">
+        <tr>
+            <td width="50%"><b>CONTRACTOR</b></td>
+        </tr>
+        <tr>
+            <td width="50%">
+                <div style="margin-top:20px;">
+                    <img src="{company_pro_document.pro_signatures}" style="min-height: 40px; max-height: 40px" onerror="this.style.opacity = 0">&nbsp;
+                </div>
+                <hr style="margin: 3px 0; border-color: #222; border-top-width: 0; border-bottom-width: 1px">
+                <p style="margin-top:5px;">SIGNATURE OF CONTRACTOR</p>
+            </td>
+        </tr>
+        <tr>
+            <td width="50%">
+                <div style="margin-top:20px;">
+                    {Your Legal Name}&nbsp;
+                </div>
+                <hr style="margin: 3px 0; border-color: #222; border-top-width: 0; border-bottom-width: 1px">
+                <p style="margin-top:5px;">CONTRACTOR (Print Name)</p>
+            </td>
+        </tr>
+        <tr>
+            <td width="50%">
+                <div style="margin-top:20px;">
+                    {company_pro_document.pro_signed_at}&nbsp;
+                </div>
+                <hr style="margin: 3px 0; border-color: #222; border-top-width: 0; border-bottom-width: 1px">
+                <p style="margin-top:5px;">DATE</p>
+            </td>
+        </tr>
+    </table>
+
+
+</div>

+ 1 - 0
resources/views/document-templates-generic/default__nhcp__engagement_agreement/spec.json

@@ -0,0 +1 @@
+{"title":"Engagement Agreement", "active": true}

Різницю між файлами не показано, бо вона завелика
+ 4 - 0
resources/views/document-templates-generic/default__np__appointment_letter/content.blade.php


+ 1 - 0
resources/views/document-templates-generic/default__np__appointment_letter/spec.json

@@ -0,0 +1 @@
+{"title":"Appointment Letter", "active": true}

+ 476 - 0
resources/views/document-templates-generic/default__np__engagement_agreement/content.blade.php

@@ -0,0 +1,476 @@
+<div style="padding:0 15px;font-family:sans-serif;font-size: 15px;text-align:justify;">
+    <h2><strong>
+            <center><u>HCP ENGAGEMENT AGREEMENT</u></center>
+        </strong></h2>
+
+    <p style="line-height:20px;">THIS HCP ENGAGEMENT AGREEMENT (this <b>“Agreement”</b>) is effective as of
+        <u>{Effective Date}</u> ,2022 (<b>"Effective Date"</b>) between <u>{company.name}</u> (<b>"Practice"</b>); and
+        <u>{Your Legal Name}</u> (<b>"HCP"</b>)</p>
+
+    <p style="line-height:20px;">WHEREAS, Practice performs healthcare/treatment services through licensed practitioners
+        and other clinicians;</p>
+    <p style="line-height:20px;">WHEREAS, Practice may obtain management and other infrastructure services from one or
+        more third party providers (collectively <b>“Manager”</b>);</p>
+    <p style="line-height:20px;">WHEREAS, HCP has experience providing healthcare/treatment services in a healthcare
+        and/or telehealth practice setting;</p>
+    <p style="line-height:20px;">WHEREAS, Practice requires expertise such as that possessed by HCP to operate its
+        business; and</p>
+    <p style="line-height:20px;">WHEREAS, Practice wishes to engage HCP to provide treatment services under this
+        Agreement, and HCP wishes to accept such engagement.</p>
+    <p style="line-height:20px;">NOW, THEREFORE, in consideration of the foregoing representations, and the mutual
+        covenants and agreements contained herein, the receipt and sufficiency of which is hereby acknowledged, it is
+        understood and agreed by and between the parties as follows:</p>
+    <ol>
+        <li style="margin-bottom:10px;">
+            <p style="line-height:20px;"><u>Engagement</u></p>
+            <ol type="a">
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>In General.</u> Practice hereby engages HCP to provide patient
+                        treatment services and HCP hereby accepts such engagement. Treatment services are defined as
+                        those rendered and appropriately documented as per guidelines from the Centers for Medicare and
+                        Medicaid Services (CMS) specified herein (the <b>"Services"</b>). HCP agrees that HCP may be
+                        listed in one or more provider directories maintained by Practice, listing HCP as a provider
+                        engaged to provide Services for Practice.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Independent Contractor.</u> At all times during the performance of
+                        services pursuant to this Agreement, HCP shall be acting as an independent contractor. HCP shall
+                        be responsible for the payment and/or withholding of all federal, state, and local tax, employee
+                        benefits, and all similar taxes and deductions. Except as Practice may specifically authorize in
+                        writing from time to time, HCP shall not have the authority to negotiate, enter into, modify or
+                        terminate any contracts on behalf of Practice.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Billing; Licensing; Credentialing.</u> For professional services
+                        that are treatment services that HCP provides, HCP authorizes Practice to bill such services
+                        using appropriate billing codes to the appropriate payor(s) following all applicable
+                        laws, rules, and regulations (including all applicable private medical insurance payor
+                        requirements). The Medical Advisory Committee of Practice reserves the right to determine and
+                        not submit billing for services that do not conform to applicable laws, rules, regulations and
+                        documentation standards. HCP acknowledges that such non-billable services may not be eligible
+                        for compensation and would not be compensated/paid to HCP by Practice. HCP agrees that Manager
+                        may perform billing and other services on behalf of Practice, and HCP authorizes Manager to bill
+                        and collect for services provided by HCP. HCP further authorizes Practice and/or Manager (acting
+                        for Practice), to pursue state licensing and payor credentialling to enable HCP to practice in
+                        one or more jurisdictions (as mutually agreed between Practice and HCP) and to enable HCP to
+                        bill to payors for which Practice participates as an in-network provider.
+                    </p>
+                </li>
+            </ol>
+        </li>
+        <li style="margin-bottom:10px;">
+            <p style="line-height:20px;"><u>Term</u></p>
+            <ol type="a">
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Effective Date.</u> The initial term of this Agreement shall begin
+                        as of the Effective Date.
+                    </p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Initial Term.</u> The initial term (“Initial Term”) of this
+                        Agreement shall commence upon the Effective Date and, subject to the termination provisions set
+                        forth elsewhere in this Agreement, shall continue for Two (2) years, unless terminated earlier
+                        as set forth elsewhere in this Agreement.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Renewal.</u> After the Initial Term, this Agreement, subject to the
+                        termination provisions set forth elsewhere in this Agreement, shall be renewed automatically for
+                        successive one (1) year terms (each a "Renewal Term"), unless one party gives the other party
+                        written notice prior to such renewal that the Agreement shall expire at the end of the Initial
+                        Term or the then current Renewal Term, as the case may be. Reference to the "Term" of this
+                        Agreement hereafter shall include the Initial Term and any completed, current or ensuing Renewal
+                        Term.</p>
+                </li>
+            </ol>
+        </li>
+        <li style="margin-bottom:10px;">
+            <p style="line-height:20px;"><u>Duties and Obligations of HCP.</u></p>
+            <ol type="a">
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>General Responsibilities.</u> HCP shall perform those Services
+                        identified on Schedule 1 of this Agreement, which Schedule 1 is attached hereto and made a part
+                        hereof (the “Services”).</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Schedule.</u> HCP shall make reasonable efforts to be available to
+                        perform the Services on behalf of Practice on an as-needed basis as-requested by Practice and
+                        mutually convenient between HCP and Practice schedules. The parties will cooperate with respect
+                        to scheduling coverage for the Services during extended periods of HCP unavailability for any
+                        reason. HCP agrees that Manager may coordinate HCP’s schedule on behalf of Practice.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Availability.</u> HCP will perform treatment Services via Telemedicine and/or at Practice
+                        facilities. HCP shall be available for consultation by phone to perform the Services at mutually
+                        convenient times between HCP and Practice schedules.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Standard of Care.</u> In performing the obligations under this
+                        Agreement, HCP shall act in good faith, efficiently, diligently, promptly and in accordance with
+                        prevailing standards of professional ethics, care, performance, competence and practice as may
+                        from time to time be applicable to HCPs and medical directors.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Patient-HCP Relationship.</u> HCP shall establish a valid
+                        patient-HCP relationship with each patient pursuant to all applicable local, state and Federal
+                        laws, regulations and professional standards.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Practicing License & Continuing Medical Education.</u> HCP shall
+                        have and maintain a valid and unrestricted license to practice/provide medical treatment
+                        services in the jurisdiction where Practice is located. HCP shall be obligated to obtain
+                        required Continuing Medical Education (“CME”) in compliance with state license requirements in
+                        all states in which the HCP is licensed to provide professional health care services at the time
+                        of this Agreement and during the term of this agreement. Upon request by Practice (or Manager on
+                        behalf of Practice), HCP shall provide a copy of the CME certificate to Practice or its
+                        designee.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Representations and Warranties.</u> HCP hereby represents and
+                        warrants the following throughout the Term of this Agreement:</p>
+                    <ol type="i">
+                        <li style="margin-bottom:8px;">that HCP has never been the subject of any material disciplinary
+                            investigation or proceeding before any governmental or administrative body, including but
+                            not limited to any investigation by a State Board that resulted in any adverse findings
+                            against HCP.</li>
+                        <li style="margin-bottom:8px;">that HCP has never had a professional license revoked, limited,
+                            suspended, or denied, either voluntarily or involuntarily; and iii. that in the event that
+                            any of the preceding representations or warranties become untrue during a Term, HCP shall
+                            give written notice to Practice within seven (7) business days of HCP’s knowledge of such
+                            event.</li>
+                    </ol>
+                </li>
+            </ol>
+        </li>
+        <li style="margin-bottom:10px;">
+            <p style="line-height:20px;"><u>Compensation</u></p>
+            <ol type="a">
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Rate.</u> During the Term, Practice shall pay HCP at the rates and in the amounts designated in <u>Schedule 2</u> of this Agreement, which <u>Schedule 2</u> is attached hereto and made a part hereof, for treatment services. Rates may be updated from time to time upon mutual agreement in writing between Practice and HCP.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Payment Date.</u> Payments will be payable on the fifteenth day and the last day of each month based on actual services provided by HCP for the preceding bi-monthly period (as reflected in Practice’s records). Practice may update payment schedules from time to time as per the business requirements. Practice will inform HCP 15 (fifteen) days in writing in advance about any such changes in the payment schedule.  HCP may request that Practice make payments hereunder to the legal entity specified in <u>Schedule 2</u> that HCP has formed for purposes of providing health care services.</p>
+                </li>
+            </ol>
+        </li>
+        <li style="margin-bottom:10px;">
+            <p style="line-height:20px;"><u>Termination of Engagement</u></p>
+            <ol type="a">
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Termination by HCP.</u> HCP may terminate this Agreement at any time
+                        during the first six (6) months of the Initial Term, for any reason and without cause, by
+                        providing at least 30 days’ advance written notice to Practice. After completion of the first
+                        six (6) months of the Initial Term, HCP may terminate this Agreement for any reason and without
+                        cause, by providing at least 15 days’ advance written notice to Practice. Upon any termination
+                        by HCP under this Section 5(a), Practice may, by written notice to HCP, elect to shorten such
+                        notice period and terminate this Agreement at an earlier date than the date provided in HCP’s
+                        notice to Practice hereunder.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Termination by Practice.</u> Practice may terminate this Agreement,
+                        for any reason and without cause, at any time by providing at least 15 days’ advance written
+                        notice to HCP. Practice may also terminate this Agreement immediately upon written notice to HCP
+                        in the event of any breach by HCP of the terms of this Agreement.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Malpractice Coverage.</u> During the Term hereof, Practice will
+                        provide HCP malpractice coverage under Practice’s group malpractice policy unless HCP carries
+                        their own malpractice coverage and submits appropriate evidence of coverage to Practice. So long
+                        as HCP is not terminated for a material breach of the terms of this Agreement, Practice will
+                        provide tail coverage for claims made concerning HCP’s services hereunder under terms reasonably
+                        acceptable to Practice.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Post-Termination Payments.</u> Upon any termination of this
+                        Agreement, HCP shall be entitled to the compensation earned prior to the date of termination,
+                        subject to HCP’s compliance with provisions of this Agreement intended to survive any
+                        termination hereof. </p>
+                </li>
+            </ol>
+        </li>
+        <li style="margin-bottom:10px;">
+            <p style="line-height:20px;"><u>Protective Covenants.</u> HCP agrees to the terms of the Protective
+                Covenants in the attached Schedule 4.</p>
+        </li>
+        <li style="margin-bottom:10px;">
+            <p style="line-height:20px;"><u>Miscellaneous</u></p>
+            <ol type="a">
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Governing Law.</u> Any dispute arising out of or in connection with
+                        this Agreement shall be governed by the local law of the State of Maryland, and shall only be
+                        heard in a state or federal court located in the State of Maryland.</p>
+                    <p style="line-height:20px;">
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Interpretation.</u> In the event any federal or state law, rule or
+                        regulation, or any interpretation thereof, at any time during the term of this Agreement, is
+                        modified, implemented, or determined to prohibit, restrict or change a portion of this Agreement
+                        which impacts a party’s ability to operate on terms at least as favorable as those reasonably
+                        attributable as of the Effective Date, the parties shall negotiate in good faith to amend this
+                        Agreement accordingly. References to any statute, rule, or regulation in this Agreement shall be
+                        deemed to refer to such statute, rule, or regulation as amended, elaborated, or authoritatively
+                        interpreted from time to time. </p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Invalidity of Provisions.</u> The invalidity or unenforceability of
+                        any immaterial term or provision or any clause or portion thereof of this Agreement shall in no
+                        way impair or affect the validity or enforceability of any other provisions of this Agreement,
+                        which shall remain in full force and effect.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Modification; Waiver.</u> No term or provision of this Agreement may
+                        be modified, amended, changed or waived, except, in the case of modifications, changes and
+                        amendments, pursuant to the written consent of all of the parties to this Agreement, and, in the
+                        case of waiver, pursuant to a writing by the person so waiving. The waiver by either party of
+                        any provision of this Agreement shall be applicable only to the instance or occurrence for which
+                        that waiver was given and shall not constitute consent or a waiver with respect to any other
+                        act, instance or occurrence.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Binding Nature of Agreement; No Assignments.</u> HCP may not assign
+                        or transfer HCP’s rights or obligations hereunder without the prior written consent of Practice.
+                        This Agreement shall be binding upon and inure to the benefit of the parties hereto and any
+                        permitted assigns.
+                    </p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Entire Understanding.</u> This Agreement (and any separate
+                        non-disclosure agreement) shall constitute the entire understanding between the parties with
+                        respect to the subject matter hereof, superseding all prior agreements, drafts, and
+                        understandings, whether written or oral.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Third Party Beneficiaries.</u> This Agreement is made for the
+                        benefit of the parties only, and, other than to the extent expressly stated herein, no other
+                        party is an intended beneficiary of this Agreement.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Execution in Counterparts; Electronic Delivery.</u> This Agreement
+                        may be executed and delivered in counterparts and/or electronically, including by transmission
+                        of PDF (Portable Document Format) or comparable signature images. An electronically executed
+                        and/or delivered counterpart or copy of this Agreement shall be effective and admissible as an
+                        original for all purposes.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Notices.</u> All notices, requests, demands and other communications
+                        under this Agreement shall be in writing and shall be deemed duly given (i) if delivered by hand
+                        or by nationally recognized overnight courier and receipted for by the party addressed, on the
+                        date of such receipt or (ii) if mailed by certified or registered mail with postage prepaid to
+                        the following address, on the third business day after the mailing date:</p>
+                    <p style="line-height:20px;">If to Practice to:</p>
+                    <p style="line-height:20px;"><b>133 Rollins Ave, Suite 3, Rockville, MD 20852</b></p>
+                    <p style="line-height:20px;">If to HCP, to:</p>
+                    <p style="line-height:20px;"><b><u>{Your Legal Address}</u></b></p>
+                    <p style="line-height:20px;"><b><u>{Your Email Address}</u></b></p>
+                    <p style="line-height:20px;">or to such other addresses as the party shall have notified the other
+                        party in accordance with this Section 7. Notwithstanding the foregoing, Practice and/or Manager
+                        may provide notices to HCP concerning changes in payment schedule and similar administrative
+                        matters via email to HCP’s email address specified above.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Further Assurances.</u> Each party shall promptly execute,
+                        acknowledge and deliver to each of the other parties such instruments and documents reasonably
+                        requested by such other parties to protect and preserve such other parties’ rights and remedies
+                        under this Agreement.</p>
+                </li>
+            </ol>
+        </li>
+    </ol>
+
+    <p style="line-height:20px;margin-top:40px;">IN WITNESS WHEREOF, the parties hereto have entered this Agreement as
+        of the Effective Date:</p>
+
+    <table border="0" cellpadding="5" width="100%">
+        <tr>
+            <td width="50%"><b>Practice:</b></td>
+            <td width="50%"><b>HCP:</b></td>
+        </tr>
+        <tr>
+            <td colspan="2"></td>
+        </tr>
+        <tr>
+            <td width="50%">
+                <div>
+                    <p style="margin-bottom:4px;">By:</p> <img src="{*company.authorized_signer_signature_base64}"
+                        style="max-height: 60px" onerror="this.style.display = 'none'">
+                </div>
+            </td>
+            <td width="50%">
+                <div>
+                    <p style="margin-bottom:4px;">By:</p> <img src="{company_pro_document.pro_signatures}"
+                        style="max-height: 60px" onerror="this.style.display = 'none'">
+                </div>
+            </td>
+        </tr>
+        <tr>
+            <td width="50%">Name/Title: {*company.authorized_signer_name}</td>
+            <td width="50%">Name: {Your Legal Name}</td>
+        </tr>
+    </table>
+
+    <h2 style="page-break-before: always;"><strong>
+            <center><u>SCHEDULE 1</u></center>
+        </strong></h2>
+
+    <p style="line-height:20px;"><b><u>Services; HCP Commitments</u></b></p>
+    <ol>
+        <li style="margin-bottom:10px;line-height:20px;">HCP shall provide treatment services as reasonably requested from time to time by Practice.</li>
+        <li style="margin-bottom:10px;line-height:20px;">HCP shall provide such other professional healthcare services as may be reasonably requested by Practice
+            from time to time.</li>
+        <li style="margin-bottom:10px;line-height:20px;">HCP shall provide treatment services in accordance with the applicable local, state and Federal laws,
+            regulations and professional standards and the section 1.3 of the HCP Engagement Agreement.</li>
+    </ol>
+
+    <h2 style="page-break-before: always;"><strong>
+            <center><u>SCHEDULE 2</u></center>
+        </strong></h2>
+    <p style="line-height:20px;">
+        <center><b><u>Compensation</u></b></center>
+    </p>
+    <p style="line-height:20px;"><b>HCP INITIAL AVAILABILITY:</b></p>
+    <p style="line-height:20px;">HCP shall provide treatment services as needed when it is mutually convenient for HCP, Practice, and patients.</p>
+    <p style="line-height:20px;"><b><u>Compensation:</u></b></p>
+    <ul>
+        <li style="margin-bottom:10px;line-height:25px;">Practice shall pay HCP <b>$<u>{@Compensation}</u></b>/hour for billable treatment services and pre-approved management services.</li>
+        <li style="margin-bottom:10px;line-height:25px;">HCP acknowledges that the Medical Advisory Committee of the Practice has authority to determine medical necessity and appropriateness of documentation, and that services that do not meet these standards may be deemed as not billable. Practice shall not be liable to reimburse for Services that are deemed not billable, are denied claim, or do not follow all applicable laws, rules, and regulations (including all applicable third-party payor requirements).</li>
+    </ul>
+    <p style="line-height:20px;"><b>HCP Legal Entity Name (if any, for payment purpose only):</b> <u>{HCP Legal Entity Name}</u></p>
+
+
+    <h2 style="page-break-before: always;"><strong>
+            <center><u>SCHEDULE 3</u></center>
+        </strong></h2>
+    <p style="line-height:20px;">
+        <center>Confidentiality Acknowledgement</center>
+    </p>
+    <ol>
+        <li style="margin-bottom:10px;">
+            <p style="line-height:20px;"><b>HIPAA CONFIDENTIALITY:</b></p>
+            <p style="line-height:20px;">Through my association/engagement with each health care practice specified in
+                the attached HCP Engagement Agreement (“Practice”) as an HCP, I, the health care practitioner signing
+                the HCP Engagement Agreement, understand that patient information in any form (paper, electronic, oral,
+                etc.) is protected by law and that breaches of patient confidentiality can have ramifications up to and
+                including termination of my contract/association/engagement with Practice as well as possible civil and
+                criminal penalties as related to HIPPA (Health Insurance Portability and Accountability Act of 1996, as
+                amended, including all implementing regulations). I will only access, use or disclose what is necessary
+                to carry out my assigned duties. I will not improperly divulge any information which comes to me through
+                the carrying out of my assigned duties, program assignment or observation.
+            </p>
+            <p style="line-height:20px;">This includes but not limited to:</p>
+            <ol>
+                <li style="margin-bottom:10px; line-height:22px;">I will not discuss information pertaining to any patient with anyone (even my own family) who is not
+                    directly working with said patient.</li>
+                <li style="margin-bottom:10px; line-height:22px;">I will not discuss any patient information in any place where it can be overheard by anyone who is
+                    not authorized to have this information.</li>
+                <li style="margin-bottom:10px; line-height:22px;">I will not mention any patient’s name or disclose directly or indirectly that any person is a
+                    patient except to those authorized to have this information.</li>
+                <li style="margin-bottom:10px; line-height:22px;">I will not describe any behavior which I have observed or learned about through association with
+                    Practice or its business associates, affiliates & subsidiaries, except to those authorized to have
+                    this information.</li>
+                <li style="margin-bottom:10px; line-height:22px;">I will not contact any individual or agency outside Practice or its business associates, affiliates
+                    & subsidiaries to get personal information about an individual patient unless a release of
+                    information has been signed by the patient or by someone who has been legally authorized by the
+                    patient to release information.</li>
+                <li style="margin-bottom:10px; line-height:22px;">I will not use confidential information of Practice or its business associates, affiliates &
+                    subsidiaries’ business-related information in any manner not required by my job or disclose it to
+                    anyone not authorized to have or know it.</li>
+                <li style="margin-bottom:10px; line-height:22px;">I will not access a co-worker’s, family member’s or my own medical record unless I am directly
+                    working with the said patient or instructed by authorized personnel.</li>
+                <li style="margin-bottom:10px; line-height:22px;">I will not transfer, copy or scan any patient health information unless it is duly required as a
+                    part of my duties or approved by Practice or authorized personnel.</li>
+            </ol>
+        </li>
+        <li style="margin-bottom:10px;">
+            <p style="line-height:20px;"><b>COMPUTER SECURITY ACKNOWLEDGEMENT</b></p>
+            <p style="line-height:20px;">I understand my password and user ID create a unique user account and that
+                Practice and/or its business associates, reserves the right to monitor my activity within any
+                application. I understand I am accountable for any activity within the application linked to my unique
+                user account and that I may be questioned about my activity. I understand I will be accountable for any
+                document or data creation or modification linked to my unique user account. I understand that sharing my
+                password, using someone else’s password or signing on for others to use the application are all breaches
+                of security, patient confidentiality and my computer security procedures (such as signing off, not
+                sharing passwords, etc.) to protect information maintained electronically from being accessed by an
+                unauthorized user.</p>
+        </li>
+        <li style="margin-bottom:10px;">
+            <p style="line-height:20px;"><b>INTERNET SECURITY ACKNOWLEDGEMENT</b></p>
+            <p style="line-height:20px;">I am familiar with the Internet and e-mail security policies and I agree to
+                abide by them. I am aware that my unauthorized or inappropriate use of the Internet may result in
+                disciplinary action up to and including termination. I further acknowledge my responsibility to keep my
+                password confidential and in the event of a suspected compromise or a security problem, I will
+                immediately notify the authorized personnel. In addition, when sending files or attachments via email, I
+                will observe all Practice’s and/or its business associate’s security and confidentiality policies. (See
+                HIPPA guidelines above).</p>
+            <p style="line-height:20px;">I understand that the privilege of using the Internet and e-mail may not be
+                granted to me in the future and that if granted is to be used for business reasons only.</p>
+        </li>
+    </ol>
+
+    <h2 style="page-break-before: always;"><strong>
+            <center><u>SCHEDULE 4</u></center>
+        </strong></h2>
+    <p style="line-height:20px;">
+        <center>PROTECTIVE COVENANTS</center>
+    </p>
+    <p style="line-height:20px;">HCP understands and agrees that HCP will be the face of Practice’s brand in the
+        geographic area where HCP provides services for Practice and that Practice will list HCP in Practice
+        directories. HCP will be designated as the Practice’s clinical leader in the geographic area where HCP provides
+        services for Practice. HCP understands and agrees that Practice intends to dedicate resources to building
+        patient volume for HCP and HCP agrees to devote sufficient time and energy to advancing the brand, goodwill, and
+        objectives of Practice. HCP further understands that Practice, Manager, and entities under common control will
+        disclose confidential and proprietary information to HCP as part of HCP’s engagement, and HCP therefore agrees
+        to the terms of these Protective Covenants:</p>
+    <p style="line-height:20px;">1.1. <u style="margin-right:10px;">Non-Competition/Non-Solicitation.</u> To protect the
+        goodwill of Practice, HCP covenants and agrees to the following business protection measures.</p>
+    <p style="line-height:20px;padding-left: 15px;">1.1.1. During the term of the Agreement and for a period of two (2) years after HCP ceases to be engaged by Practice, HCP shall not have any ownership interest (direct or indirect) or any ability to control the operations of any entity that provides services substantially similar to Practice.
+    </p>
+    <p style="line-height:20px;padding-left: 15px;">1.1.2. During the term of the Agreement and for a period of two (2)
+        years after HCP ceases to be engaged by Practice, HCP shall not compete with Practice to provide services
+        substantially similar to or the same as Practice using business methods similar to or the same as those used by
+        Practice or Manager.</p>
+    <p style="line-height:20px;padding-left: 15px;">1.1.3. During the term of the Agreement and for a period of two (2)
+        years after HCP ceases to be engaged by Practice, HCP shall not directly or indirectly solicit any patient of
+        Practice (any individual who obtained treatment or other services from Practice from HCP during the term of the
+        Agreement -- or any parent or guardian thereof) for the provision of health care services, nor take any other
+        action that would encourage any such patient to cease receiving services from Practice.</p>
+    <p style="line-height:20px;padding-left: 15px;">1.1.4. During the term of the Agreement and for a period of two (2)
+        years after HCP ceases to be engaged by Practice, HCP shall not directly or indirectly solicit for engagement or
+        engage any person who is engaged by Practice or who has been engaged by Practice at any time during the six (6)
+        month period prior to the date of the solicitation or new engagement.</p>
+    <p style="line-height:20px;">1.2. <u style="margin-right:10px;">Extension of Covenants.</u> The term of the
+        covenants contained in Section 1.1 shall be extended by the duration of the breach of any such covenant by HCP.
+    </p>
+    <p style="line-height:20px;">1.3. <u style="margin-right:10px;">Practice Business Information.</u> HCP may have
+        access to business information of Practice, Manager, or entities under common control therewith, including
+        information related to the identity of patients, managed care contracts, third party payor arrangements, health
+        care provider agreements, business plans, strategic plans, business forms, marketing strategies, and other
+        information about the present or proposed conduct of Practice, Manager, or entities under common control
+        therewith. All of this information is intended by Practice to be held on a confidential basis by all Practice
+        personnel. HCP agrees that HCP shall not use or disclose to any other person any confidential business
+        information of Practice, Manager, or entities under common control therewith at any time during the term of the
+        Agreement or following the termination of the Agreement, and that during the term of the Agreement, and at all
+        times thereafter, HCP will maintain confidentially with respect to such information, except as required by law
+        or for authorized disclosures in the normal course of HCP’s duties. Upon termination of the Agreement for any
+        reason, HCP shall return to Practice all keys and things of any nature belonging to Practice and all Practice
+        documents of any kind, including copies or computer files, and HCP will not, under any circumstances, maintain a
+        list of Practice referral source or professional contacts, in any form.</p>
+    <p style="line-height:20px;">1.4. <u style="margin-right:10px;">Enforcement and Interpretation.</u> Practice,
+        Manager, and/or any entities under common control therewith shall have the right to enforce the provisions
+        hereunder in any appropriate legal or equitable action. HCP agrees that damages for the violation or threatened
+        violation of these provisions may be difficult to ascertain or compensate monetarily and that Practice, Manager,
+        or entities under common control therewith shall be entitled to obtain an injunction to enforce these provisions
+        and shall not be required to post any bond to do so. HCP shall pay all legal fees and costs, including, but not
+        limited to, attorneys’ fees, incurred by the enforcing parties in regard to the enforcement of these provisions.
+        If any of these provisions are adjudicated to exceed the time, geographic area, scope of business or other
+        limitations permitted by applicable law, then such provisions shall be deemed reformed to the maximum time,
+        geographic or other limitations permitted by law. HCP acknowledges and agrees that any equitable rights
+        described hereunder are in addition to all legal and other rights and remedies available to Practice, Manager,
+        and/or entities under common control therewith.</p>
+    <p style="line-height:20px;">1.5. <u style="margin-right:10px;">Provisions are of the Essence; Survival.</u> HCP
+        understands and agrees that Practice Manager, and/or entities under common control will be providing HCP with
+        valuable professional opportunities and information that HCP would not otherwise have, and that Practice,
+        Manager, and/or entities under common control therewith consider these provisions to be of great importance and
+        value. The parties agree that but for these provisions, Practice would not have entered into the Agreement. The
+        parties further agree that the restrictions herein are reasonable and necessary to protect Practice’s legitimate
+        and valuable business interests and will not prevent or unreasonably impede HCP’s ability to practice HCP’s
+        profession. These provisions will survive any termination of the Agreement.</p>
+</div>

+ 1 - 0
resources/views/document-templates-generic/default__np__engagement_agreement/spec.json

@@ -0,0 +1 @@
+{"title":"HCP Engagement Agreement", "active": true}

Різницю між файлами не показано, бо вона завелика
+ 4 - 0
resources/views/document-templates-generic/default__pa__appointment_letter/content.blade.php


+ 1 - 0
resources/views/document-templates-generic/default__pa__appointment_letter/spec.json

@@ -0,0 +1 @@
+{"title":"Appointment Letter", "active": true}

+ 476 - 0
resources/views/document-templates-generic/default__pa__engagement_agreement/content.blade.php

@@ -0,0 +1,476 @@
+<div style="padding:0 15px;font-family:sans-serif;font-size: 15px;text-align:justify;">
+    <h2><strong>
+            <center><u>HCP ENGAGEMENT AGREEMENT</u></center>
+        </strong></h2>
+
+    <p style="line-height:20px;">THIS HCP ENGAGEMENT AGREEMENT (this <b>“Agreement”</b>) is effective as of
+        <u>{Effective Date}</u> ,2022 (<b>"Effective Date"</b>) between <u>{company.name}</u> (<b>"Practice"</b>); and
+        <u>{Your Legal Name}</u> (<b>"HCP"</b>)</p>
+
+    <p style="line-height:20px;">WHEREAS, Practice performs healthcare/treatment services through licensed practitioners
+        and other clinicians;</p>
+    <p style="line-height:20px;">WHEREAS, Practice may obtain management and other infrastructure services from one or
+        more third party providers (collectively <b>“Manager”</b>);</p>
+    <p style="line-height:20px;">WHEREAS, HCP has experience providing healthcare/treatment services in a healthcare
+        and/or telehealth practice setting;</p>
+    <p style="line-height:20px;">WHEREAS, Practice requires expertise such as that possessed by HCP to operate its
+        business; and</p>
+    <p style="line-height:20px;">WHEREAS, Practice wishes to engage HCP to provide treatment services under this
+        Agreement, and HCP wishes to accept such engagement.</p>
+    <p style="line-height:20px;">NOW, THEREFORE, in consideration of the foregoing representations, and the mutual
+        covenants and agreements contained herein, the receipt and sufficiency of which is hereby acknowledged, it is
+        understood and agreed by and between the parties as follows:</p>
+    <ol>
+        <li style="margin-bottom:10px;">
+            <p style="line-height:20px;"><u>Engagement</u></p>
+            <ol type="a">
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>In General.</u> Practice hereby engages HCP to provide patient
+                        treatment services and HCP hereby accepts such engagement. Treatment services are defined as
+                        those rendered and appropriately documented as per guidelines from the Centers for Medicare and
+                        Medicaid Services (CMS) specified herein (the <b>"Services"</b>). HCP agrees that HCP may be
+                        listed in one or more provider directories maintained by Practice, listing HCP as a provider
+                        engaged to provide Services for Practice.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Independent Contractor.</u> At all times during the performance of
+                        services pursuant to this Agreement, HCP shall be acting as an independent contractor. HCP shall
+                        be responsible for the payment and/or withholding of all federal, state, and local tax, employee
+                        benefits, and all similar taxes and deductions. Except as Practice may specifically authorize in
+                        writing from time to time, HCP shall not have the authority to negotiate, enter into, modify or
+                        terminate any contracts on behalf of Practice.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Billing; Licensing; Credentialing.</u> For professional services
+                        that are treatment services that HCP provides, HCP authorizes Practice to bill such services
+                        using appropriate billing codes to the appropriate payor(s) following all applicable
+                        laws, rules, and regulations (including all applicable private medical insurance payor
+                        requirements). The Medical Advisory Committee of Practice reserves the right to determine and
+                        not submit billing for services that do not conform to applicable laws, rules, regulations and
+                        documentation standards. HCP acknowledges that such non-billable services may not be eligible
+                        for compensation and would not be compensated/paid to HCP by Practice. HCP agrees that Manager
+                        may perform billing and other services on behalf of Practice, and HCP authorizes Manager to bill
+                        and collect for services provided by HCP. HCP further authorizes Practice and/or Manager (acting
+                        for Practice), to pursue state licensing and payor credentialling to enable HCP to practice in
+                        one or more jurisdictions (as mutually agreed between Practice and HCP) and to enable HCP to
+                        bill to payors for which Practice participates as an in-network provider.
+                    </p>
+                </li>
+            </ol>
+        </li>
+        <li style="margin-bottom:10px;">
+            <p style="line-height:20px;"><u>Term</u></p>
+            <ol type="a">
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Effective Date.</u> The initial term of this Agreement shall begin
+                        as of the Effective Date.
+                    </p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Initial Term.</u> The initial term (“Initial Term”) of this
+                        Agreement shall commence upon the Effective Date and, subject to the termination provisions set
+                        forth elsewhere in this Agreement, shall continue for Two (2) years, unless terminated earlier
+                        as set forth elsewhere in this Agreement.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Renewal.</u> After the Initial Term, this Agreement, subject to the
+                        termination provisions set forth elsewhere in this Agreement, shall be renewed automatically for
+                        successive one (1) year terms (each a "Renewal Term"), unless one party gives the other party
+                        written notice prior to such renewal that the Agreement shall expire at the end of the Initial
+                        Term or the then current Renewal Term, as the case may be. Reference to the "Term" of this
+                        Agreement hereafter shall include the Initial Term and any completed, current or ensuing Renewal
+                        Term.</p>
+                </li>
+            </ol>
+        </li>
+        <li style="margin-bottom:10px;">
+            <p style="line-height:20px;"><u>Duties and Obligations of HCP.</u></p>
+            <ol type="a">
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>General Responsibilities.</u> HCP shall perform those Services
+                        identified on Schedule 1 of this Agreement, which Schedule 1 is attached hereto and made a part
+                        hereof (the “Services”).</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Schedule.</u> HCP shall make reasonable efforts to be available to
+                        perform the Services on behalf of Practice on an as-needed basis as-requested by Practice and
+                        mutually convenient between HCP and Practice schedules. The parties will cooperate with respect
+                        to scheduling coverage for the Services during extended periods of HCP unavailability for any
+                        reason. HCP agrees that Manager may coordinate HCP’s schedule on behalf of Practice.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Availability.</u> HCP will perform treatment Services via Telemedicine and/or at Practice
+                        facilities. HCP shall be available for consultation by phone to perform the Services at mutually
+                        convenient times between HCP and Practice schedules.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Standard of Care.</u> In performing the obligations under this
+                        Agreement, HCP shall act in good faith, efficiently, diligently, promptly and in accordance with
+                        prevailing standards of professional ethics, care, performance, competence and practice as may
+                        from time to time be applicable to HCPs and medical directors.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Patient-HCP Relationship.</u> HCP shall establish a valid
+                        patient-HCP relationship with each patient pursuant to all applicable local, state and Federal
+                        laws, regulations and professional standards.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Practicing License & Continuing Medical Education.</u> HCP shall
+                        have and maintain a valid and unrestricted license to practice/provide medical treatment
+                        services in the jurisdiction where Practice is located. HCP shall be obligated to obtain
+                        required Continuing Medical Education (“CME”) in compliance with state license requirements in
+                        all states in which the HCP is licensed to provide professional health care services at the time
+                        of this Agreement and during the term of this agreement. Upon request by Practice (or Manager on
+                        behalf of Practice), HCP shall provide a copy of the CME certificate to Practice or its
+                        designee.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Representations and Warranties.</u> HCP hereby represents and
+                        warrants the following throughout the Term of this Agreement:</p>
+                    <ol type="i">
+                        <li style="margin-bottom:8px;">that HCP has never been the subject of any material disciplinary
+                            investigation or proceeding before any governmental or administrative body, including but
+                            not limited to any investigation by a State Board that resulted in any adverse findings
+                            against HCP.</li>
+                        <li style="margin-bottom:8px;">that HCP has never had a professional license revoked, limited,
+                            suspended, or denied, either voluntarily or involuntarily; and iii. that in the event that
+                            any of the preceding representations or warranties become untrue during a Term, HCP shall
+                            give written notice to Practice within seven (7) business days of HCP’s knowledge of such
+                            event.</li>
+                    </ol>
+                </li>
+            </ol>
+        </li>
+        <li style="margin-bottom:10px;">
+            <p style="line-height:20px;"><u>Compensation</u></p>
+            <ol type="a">
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Rate.</u> During the Term, Practice shall pay HCP at the rates and in the amounts designated in <u>Schedule 2</u> of this Agreement, which <u>Schedule 2</u> is attached hereto and made a part hereof, for treatment services. Rates may be updated from time to time upon mutual agreement in writing between Practice and HCP.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Payment Date.</u> Payments will be payable on the fifteenth day and the last day of each month based on actual services provided by HCP for the preceding bi-monthly period (as reflected in Practice’s records). Practice may update payment schedules from time to time as per the business requirements. Practice will inform HCP 15 (fifteen) days in writing in advance about any such changes in the payment schedule.  HCP may request that Practice make payments hereunder to the legal entity specified in <u>Schedule 2</u> that HCP has formed for purposes of providing health care services.</p>
+                </li>
+            </ol>
+        </li>
+        <li style="margin-bottom:10px;">
+            <p style="line-height:20px;"><u>Termination of Engagement</u></p>
+            <ol type="a">
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Termination by HCP.</u> HCP may terminate this Agreement at any time
+                        during the first six (6) months of the Initial Term, for any reason and without cause, by
+                        providing at least 30 days’ advance written notice to Practice. After completion of the first
+                        six (6) months of the Initial Term, HCP may terminate this Agreement for any reason and without
+                        cause, by providing at least 90 days’ advance written notice to Practice. Upon any termination
+                        by HCP under this Section 5(a), Practice may, by written notice to HCP, elect to shorten such
+                        notice period and terminate this Agreement at an earlier date than the date provided in HCP’s
+                        notice to Practice hereunder.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Termination by Practice.</u> Practice may terminate this Agreement,
+                        for any reason and without cause, at any time by providing at least 15 days’ advance written
+                        notice to HCP. Practice may also terminate this Agreement immediately upon written notice to HCP
+                        in the event of any breach by HCP of the terms of this Agreement.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Malpractice Coverage.</u> During the Term hereof, Practice will
+                        provide HCP malpractice coverage under Practice’s group malpractice policy unless HCP carries
+                        their own malpractice coverage and submits appropriate evidence of coverage to Practice. So long
+                        as HCP is not terminated for a material breach of the terms of this Agreement, Practice will
+                        provide tail coverage for claims made concerning HCP’s services hereunder under terms reasonably
+                        acceptable to Practice.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Post-Termination Payments.</u> Upon any termination of this
+                        Agreement, HCP shall be entitled to the compensation earned prior to the date of termination,
+                        subject to HCP’s compliance with provisions of this Agreement intended to survive any
+                        termination hereof. </p>
+                </li>
+            </ol>
+        </li>
+        <li style="margin-bottom:10px;">
+            <p style="line-height:20px;"><u>Protective Covenants.</u> HCP agrees to the terms of the Protective
+                Covenants in the attached Schedule 4.</p>
+        </li>
+        <li style="margin-bottom:10px;">
+            <p style="line-height:20px;"><u>Miscellaneous</u></p>
+            <ol type="a">
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Governing Law.</u> Any dispute arising out of or in connection with
+                        this Agreement shall be governed by the local law of the State of Maryland, and shall only be
+                        heard in a state or federal court located in the State of Maryland.</p>
+                    <p style="line-height:20px;">
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Interpretation.</u> In the event any federal or state law, rule or
+                        regulation, or any interpretation thereof, at any time during the term of this Agreement, is
+                        modified, implemented, or determined to prohibit, restrict or change a portion of this Agreement
+                        which impacts a party’s ability to operate on terms at least as favorable as those reasonably
+                        attributable as of the Effective Date, the parties shall negotiate in good faith to amend this
+                        Agreement accordingly. References to any statute, rule, or regulation in this Agreement shall be
+                        deemed to refer to such statute, rule, or regulation as amended, elaborated, or authoritatively
+                        interpreted from time to time. </p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Invalidity of Provisions.</u> The invalidity or unenforceability of
+                        any immaterial term or provision or any clause or portion thereof of this Agreement shall in no
+                        way impair or affect the validity or enforceability of any other provisions of this Agreement,
+                        which shall remain in full force and effect.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Modification; Waiver.</u> No term or provision of this Agreement may
+                        be modified, amended, changed or waived, except, in the case of modifications, changes and
+                        amendments, pursuant to the written consent of all of the parties to this Agreement, and, in the
+                        case of waiver, pursuant to a writing by the person so waiving. The waiver by either party of
+                        any provision of this Agreement shall be applicable only to the instance or occurrence for which
+                        that waiver was given and shall not constitute consent or a waiver with respect to any other
+                        act, instance or occurrence.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Binding Nature of Agreement; No Assignments.</u> HCP may not assign
+                        or transfer HCP’s rights or obligations hereunder without the prior written consent of Practice.
+                        This Agreement shall be binding upon and inure to the benefit of the parties hereto and any
+                        permitted assigns.
+                    </p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Entire Understanding.</u> This Agreement (and any separate
+                        non-disclosure agreement) shall constitute the entire understanding between the parties with
+                        respect to the subject matter hereof, superseding all prior agreements, drafts, and
+                        understandings, whether written or oral.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Third Party Beneficiaries.</u> This Agreement is made for the
+                        benefit of the parties only, and, other than to the extent expressly stated herein, no other
+                        party is an intended beneficiary of this Agreement.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Execution in Counterparts; Electronic Delivery.</u> This Agreement
+                        may be executed and delivered in counterparts and/or electronically, including by transmission
+                        of PDF (Portable Document Format) or comparable signature images. An electronically executed
+                        and/or delivered counterpart or copy of this Agreement shall be effective and admissible as an
+                        original for all purposes.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Notices.</u> All notices, requests, demands and other communications
+                        under this Agreement shall be in writing and shall be deemed duly given (i) if delivered by hand
+                        or by nationally recognized overnight courier and receipted for by the party addressed, on the
+                        date of such receipt or (ii) if mailed by certified or registered mail with postage prepaid to
+                        the following address, on the third business day after the mailing date:</p>
+                    <p style="line-height:20px;">If to Practice to:</p>
+                    <p style="line-height:20px;"><b>133 Rollins Ave, Suite 3, Rockville, MD 20852</b></p>
+                    <p style="line-height:20px;">If to HCP, to:</p>
+                    <p style="line-height:20px;"><b><u>{Your Legal Address}</u></b></p>
+                    <p style="line-height:20px;"><b><u>{Your Email Address}</u></b></p>
+                    <p style="line-height:20px;">or to such other addresses as the party shall have notified the other
+                        party in accordance with this Section 7. Notwithstanding the foregoing, Practice and/or Manager
+                        may provide notices to HCP concerning changes in payment schedule and similar administrative
+                        matters via email to HCP’s email address specified above.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Further Assurances.</u> Each party shall promptly execute,
+                        acknowledge and deliver to each of the other parties such instruments and documents reasonably
+                        requested by such other parties to protect and preserve such other parties’ rights and remedies
+                        under this Agreement.</p>
+                </li>
+            </ol>
+        </li>
+    </ol>
+
+    <p style="line-height:20px;margin-top:40px;">IN WITNESS WHEREOF, the parties hereto have entered this Agreement as
+        of the Effective Date:</p>
+
+    <table border="0" cellpadding="5" width="100%">
+        <tr>
+            <td width="50%"><b>Practice:</b></td>
+            <td width="50%"><b>HCP:</b></td>
+        </tr>
+        <tr>
+            <td colspan="2"></td>
+        </tr>
+        <tr>
+            <td width="50%">
+                <div>
+                    <p style="margin-bottom:4px;">By:</p> <img src="{*company.authorized_signer_signature_base64}"
+                        style="max-height: 60px" onerror="this.style.display = 'none'">
+                </div>
+            </td>
+            <td width="50%">
+                <div>
+                    <p style="margin-bottom:4px;">By:</p> <img src="{company_pro_document.pro_signatures}"
+                        style="max-height: 60px" onerror="this.style.display = 'none'">
+                </div>
+            </td>
+        </tr>
+        <tr>
+            <td width="50%">Name/Title: {*company.authorized_signer_name}</td>
+            <td width="50%">Name: {Your Legal Name}</td>
+        </tr>
+    </table>
+
+    <h2 style="page-break-before: always;"><strong>
+            <center><u>SCHEDULE 1</u></center>
+        </strong></h2>
+
+    <p style="line-height:20px;"><b><u>Services; HCP Commitments</u></b></p>
+    <ol>
+        <li style="margin-bottom:10px;line-height:20px;">HCP shall provide treatment services as reasonably requested from time to time by Practice.</li>
+        <li style="margin-bottom:10px;line-height:20px;">HCP shall provide such other professional healthcare services as may be reasonably requested by Practice
+            from time to time.</li>
+        <li style="margin-bottom:10px;line-height:20px;">HCP shall provide treatment services in accordance with the applicable local, state and Federal laws,
+            regulations and professional standards and the section 1.3 of the HCP Engagement Agreement.</li>
+    </ol>
+
+    <h2 style="page-break-before: always;"><strong>
+            <center><u>SCHEDULE 2</u></center>
+        </strong></h2>
+    <p style="line-height:20px;">
+        <center><b><u>Compensation</u></b></center>
+    </p>
+    <p style="line-height:20px;"><b>HCP INITIAL AVAILABILITY:</b></p>
+    <p style="line-height:20px;">HCP shall provide treatment services as needed when it is mutually convenient for HCP, Practice, and patients.</p>
+    <p style="line-height:20px;"><b><u>Compensation:</u></b></p>
+    <ul>
+        <li style="margin-bottom:10px;line-height:25px;">Practice shall pay HCP <b>$<u>{@Compensation}</u></b>/hour for billable treatment services and pre-approved management services.</li>
+        <li style="margin-bottom:10px;line-height:25px;">HCP acknowledges that the Medical Advisory Committee of the Practice has authority to determine medical necessity and appropriateness of documentation, and that services that do not meet these standards may be deemed as not billable. Practice shall not be liable to reimburse for Services that are deemed not billable, are denied claim, or do not follow all applicable laws, rules, and regulations (including all applicable third-party payor requirements).</li>
+    </ul>
+    <p style="line-height:20px;"><b>HCP Legal Entity Name (if any, for payment purpose only):</b> <u>{HCP Legal Entity Name}</u></p>
+
+
+    <h2 style="page-break-before: always;"><strong>
+            <center><u>SCHEDULE 3</u></center>
+        </strong></h2>
+    <p style="line-height:20px;">
+        <center>Confidentiality Acknowledgement</center>
+    </p>
+    <ol>
+        <li style="margin-bottom:10px;">
+            <p style="line-height:20px;"><b>HIPAA CONFIDENTIALITY:</b></p>
+            <p style="line-height:20px;">Through my association/engagement with each health care practice specified in
+                the attached HCP Engagement Agreement (“Practice”) as an HCP, I, the health care practitioner signing
+                the HCP Engagement Agreement, understand that patient information in any form (paper, electronic, oral,
+                etc.) is protected by law and that breaches of patient confidentiality can have ramifications up to and
+                including termination of my contract/association/engagement with Practice as well as possible civil and
+                criminal penalties as related to HIPPA (Health Insurance Portability and Accountability Act of 1996, as
+                amended, including all implementing regulations). I will only access, use or disclose what is necessary
+                to carry out my assigned duties. I will not improperly divulge any information which comes to me through
+                the carrying out of my assigned duties, program assignment or observation.
+            </p>
+            <p style="line-height:20px;">This includes but not limited to:</p>
+            <ol>
+                <li style="margin-bottom:10px; line-height:22px;">I will not discuss information pertaining to any patient with anyone (even my own family) who is not
+                    directly working with said patient.</li>
+                <li style="margin-bottom:10px; line-height:22px;">I will not discuss any patient information in any place where it can be overheard by anyone who is
+                    not authorized to have this information.</li>
+                <li style="margin-bottom:10px; line-height:22px;">I will not mention any patient’s name or disclose directly or indirectly that any person is a
+                    patient except to those authorized to have this information.</li>
+                <li style="margin-bottom:10px; line-height:22px;">I will not describe any behavior which I have observed or learned about through association with
+                    Practice or its business associates, affiliates & subsidiaries, except to those authorized to have
+                    this information.</li>
+                <li style="margin-bottom:10px; line-height:22px;">I will not contact any individual or agency outside Practice or its business associates, affiliates
+                    & subsidiaries to get personal information about an individual patient unless a release of
+                    information has been signed by the patient or by someone who has been legally authorized by the
+                    patient to release information.</li>
+                <li style="margin-bottom:10px; line-height:22px;">I will not use confidential information of Practice or its business associates, affiliates &
+                    subsidiaries’ business-related information in any manner not required by my job or disclose it to
+                    anyone not authorized to have or know it.</li>
+                <li style="margin-bottom:10px; line-height:22px;">I will not access a co-worker’s, family member’s or my own medical record unless I am directly
+                    working with the said patient or instructed by authorized personnel.</li>
+                <li style="margin-bottom:10px; line-height:22px;">I will not transfer, copy or scan any patient health information unless it is duly required as a
+                    part of my duties or approved by Practice or authorized personnel.</li>
+            </ol>
+        </li>
+        <li style="margin-bottom:10px;">
+            <p style="line-height:20px;"><b>COMPUTER SECURITY ACKNOWLEDGEMENT</b></p>
+            <p style="line-height:20px;">I understand my password and user ID create a unique user account and that
+                Practice and/or its business associates, reserves the right to monitor my activity within any
+                application. I understand I am accountable for any activity within the application linked to my unique
+                user account and that I may be questioned about my activity. I understand I will be accountable for any
+                document or data creation or modification linked to my unique user account. I understand that sharing my
+                password, using someone else’s password or signing on for others to use the application are all breaches
+                of security, patient confidentiality and my computer security procedures (such as signing off, not
+                sharing passwords, etc.) to protect information maintained electronically from being accessed by an
+                unauthorized user.</p>
+        </li>
+        <li style="margin-bottom:10px;">
+            <p style="line-height:20px;"><b>INTERNET SECURITY ACKNOWLEDGEMENT</b></p>
+            <p style="line-height:20px;">I am familiar with the Internet and e-mail security policies and I agree to
+                abide by them. I am aware that my unauthorized or inappropriate use of the Internet may result in
+                disciplinary action up to and including termination. I further acknowledge my responsibility to keep my
+                password confidential and in the event of a suspected compromise or a security problem, I will
+                immediately notify the authorized personnel. In addition, when sending files or attachments via email, I
+                will observe all Practice’s and/or its business associate’s security and confidentiality policies. (See
+                HIPPA guidelines above).</p>
+            <p style="line-height:20px;">I understand that the privilege of using the Internet and e-mail may not be
+                granted to me in the future and that if granted is to be used for business reasons only.</p>
+        </li>
+    </ol>
+
+    <h2 style="page-break-before: always;"><strong>
+            <center><u>SCHEDULE 4</u></center>
+        </strong></h2>
+    <p style="line-height:20px;">
+        <center>PROTECTIVE COVENANTS</center>
+    </p>
+    <p style="line-height:20px;">HCP understands and agrees that HCP will be the face of Practice’s brand in the
+        geographic area where HCP provides services for Practice and that Practice will list HCP in Practice
+        directories. HCP will be designated as the Practice’s clinical leader in the geographic area where HCP provides
+        services for Practice. HCP understands and agrees that Practice intends to dedicate resources to building
+        patient volume for HCP and HCP agrees to devote sufficient time and energy to advancing the brand, goodwill, and
+        objectives of Practice. HCP further understands that Practice, Manager, and entities under common control will
+        disclose confidential and proprietary information to HCP as part of HCP’s engagement, and HCP therefore agrees
+        to the terms of these Protective Covenants:</p>
+    <p style="line-height:20px;">1.1. <u style="margin-right:10px;">Non-Competition/Non-Solicitation.</u> To protect the
+        goodwill of Practice, HCP covenants and agrees to the following business protection measures.</p>
+    <p style="line-height:20px;padding-left: 15px;">1.1.1. During the term of the Agreement and for a period of two (2) years after HCP ceases to be engaged by Practice, HCP shall not have any ownership interest (direct or indirect) or any ability to control the operations of any entity that provides services substantially similar to Practice.
+    </p>
+    <p style="line-height:20px;padding-left: 15px;">1.1.2. During the term of the Agreement and for a period of two (2)
+        years after HCP ceases to be engaged by Practice, HCP shall not compete with Practice to provide services
+        substantially similar to or the same as Practice using business methods similar to or the same as those used by
+        Practice or Manager.</p>
+    <p style="line-height:20px;padding-left: 15px;">1.1.3. During the term of the Agreement and for a period of two (2)
+        years after HCP ceases to be engaged by Practice, HCP shall not directly or indirectly solicit any patient of
+        Practice (any individual who obtained treatment or other services from Practice from HCP during the term of the
+        Agreement -- or any parent or guardian thereof) for the provision of health care services, nor take any other
+        action that would encourage any such patient to cease receiving services from Practice.</p>
+    <p style="line-height:20px;padding-left: 15px;">1.1.4. During the term of the Agreement and for a period of two (2)
+        years after HCP ceases to be engaged by Practice, HCP shall not directly or indirectly solicit for engagement or
+        engage any person who is engaged by Practice or who has been engaged by Practice at any time during the six (6)
+        month period prior to the date of the solicitation or new engagement.</p>
+    <p style="line-height:20px;">1.2. <u style="margin-right:10px;">Extension of Covenants.</u> The term of the
+        covenants contained in Section 1.1 shall be extended by the duration of the breach of any such covenant by HCP.
+    </p>
+    <p style="line-height:20px;">1.3. <u style="margin-right:10px;">Practice Business Information.</u> HCP may have
+        access to business information of Practice, Manager, or entities under common control therewith, including
+        information related to the identity of patients, managed care contracts, third party payor arrangements, health
+        care provider agreements, business plans, strategic plans, business forms, marketing strategies, and other
+        information about the present or proposed conduct of Practice, Manager, or entities under common control
+        therewith. All of this information is intended by Practice to be held on a confidential basis by all Practice
+        personnel. HCP agrees that HCP shall not use or disclose to any other person any confidential business
+        information of Practice, Manager, or entities under common control therewith at any time during the term of the
+        Agreement or following the termination of the Agreement, and that during the term of the Agreement, and at all
+        times thereafter, HCP will maintain confidentially with respect to such information, except as required by law
+        or for authorized disclosures in the normal course of HCP’s duties. Upon termination of the Agreement for any
+        reason, HCP shall return to Practice all keys and things of any nature belonging to Practice and all Practice
+        documents of any kind, including copies or computer files, and HCP will not, under any circumstances, maintain a
+        list of Practice referral source or professional contacts, in any form.</p>
+    <p style="line-height:20px;">1.4. <u style="margin-right:10px;">Enforcement and Interpretation.</u> Practice,
+        Manager, and/or any entities under common control therewith shall have the right to enforce the provisions
+        hereunder in any appropriate legal or equitable action. HCP agrees that damages for the violation or threatened
+        violation of these provisions may be difficult to ascertain or compensate monetarily and that Practice, Manager,
+        or entities under common control therewith shall be entitled to obtain an injunction to enforce these provisions
+        and shall not be required to post any bond to do so. HCP shall pay all legal fees and costs, including, but not
+        limited to, attorneys’ fees, incurred by the enforcing parties in regard to the enforcement of these provisions.
+        If any of these provisions are adjudicated to exceed the time, geographic area, scope of business or other
+        limitations permitted by applicable law, then such provisions shall be deemed reformed to the maximum time,
+        geographic or other limitations permitted by law. HCP acknowledges and agrees that any equitable rights
+        described hereunder are in addition to all legal and other rights and remedies available to Practice, Manager,
+        and/or entities under common control therewith.</p>
+    <p style="line-height:20px;">1.5. <u style="margin-right:10px;">Provisions are of the Essence; Survival.</u> HCP
+        understands and agrees that Practice Manager, and/or entities under common control will be providing HCP with
+        valuable professional opportunities and information that HCP would not otherwise have, and that Practice,
+        Manager, and/or entities under common control therewith consider these provisions to be of great importance and
+        value. The parties agree that but for these provisions, Practice would not have entered into the Agreement. The
+        parties further agree that the restrictions herein are reasonable and necessary to protect Practice’s legitimate
+        and valuable business interests and will not prevent or unreasonably impede HCP’s ability to practice HCP’s
+        profession. These provisions will survive any termination of the Agreement.</p>
+</div>

+ 1 - 0
resources/views/document-templates-generic/default__pa__engagement_agreement/spec.json

@@ -0,0 +1 @@
+{"title":"HCP Engagement Agreement", "active": true}

Різницю між файлами не показано, бо вона завелика
+ 4 - 0
resources/views/document-templates-generic/default__payroll/content.blade.php


+ 1 - 0
resources/views/document-templates-generic/default__payroll/spec.json

@@ -0,0 +1 @@
+{"title":"Payroll & Onboarding", "active": true}

Різницю між файлами не показано, бо вона завелика
+ 4 - 0
resources/views/document-templates-generic/default__physician__appointment_letter/content.blade.php


+ 1 - 0
resources/views/document-templates-generic/default__physician__appointment_letter/spec.json

@@ -0,0 +1 @@
+{"title":"Appointment Letter", "active": true}

+ 473 - 0
resources/views/document-templates-generic/default__physician__engagement_agreement/content.blade.php

@@ -0,0 +1,473 @@
+<div style="text-align:justify">
+  <h3><strong>
+          <center><i>{@PRACTICE ENTITY NAME}</i></center>
+      </strong></h3>
+  <h3><strong>
+          <center><i>HCP ENGAGEMENT AGREEMENT</i></center>
+      </strong></h3>
+  <p style="line-height:25px;">
+      THIS HCP ENGAGEMENT AGREEMENT (this “Agreement”) is effective as of <b><u>{Effective Date}</u></b> ("<b>Effective
+          Date</b>") between {@Company Name}, a {@Company Type}, its subsidiaries, parents, affiliates, successors and
+      assigns (“<b>Practice</b>”),
+      and <b><u>{pro.name_first} {pro.name_last}</u></b> ("HCP").
+  </p>
+
+  <p style="line-height:25px;">WHEREAS, Practice performs healthcare/treatment services through licensed HCPs and other
+      clinicians;</p>
+  <p style="line-height:25px;">WHEREAS, HCP has experience providing healthcare/treatment services in a healthcare and/or
+      telehealth practice setting;
+  </p>
+
+  <p style="line-height:25px;">WHEREAS, Practice requires expertise such as that possessed by HCP to operate its business;
+      and</p>
+  <p style="line-height:25px;">WHEREAS, Practice wishes to engage HCP to provide treatment services under this Agreement,
+      and HCP wishes to accept such engagement.</p>
+  <p style="line-height:25px;">NOW, THEREFORE, in consideration of the foregoing representations, and the mutual covenants
+      and agreements contained herein, it is understood and agreed by and between the parties as follows:
+  </p>
+  <ol>
+      <li>
+          <p style="line-height:25px;"><u>Engagement.</u></p>
+          <p style="line-height:25px;"><span style="margin-right:10px;">1.1</span> <u>In General.</u> Practice hereby
+              engages HCP to provide patient treatment services and such other administrative and supervisory services as
+              specified herein and HCP hereby accepts such engagement. Treatment services are defined as those rendered
+              and appropriately documented as per guidelines from the Centers for Medicare and Medicaid Services (CMS)
+              specified herein (the “<b>Services</b>”). Other administrative and supervisory services, if any, are
+              described in more detail in the attached <u>Schedule 1.</u></p>
+
+          <p style="line-height:25px;"><span style="margin-right:10px;">1.2</span> <u> Independent Contractor.</u> At all
+              times during the performance of services pursuant to this Agreement, HCP shall be acting as an independent
+              contractor. HCP shall be responsible for the payment and/or withholding of all federal, state, and local
+              tax, employee benefits, and all similar taxes and deductions. Except as Practice may specifically authorize
+              in writing from time to time, HCP shall not have the authority to negotiate, enter into, modify or terminate
+              any contracts on behalf of Practice.</p>
+
+          <p style="line-height:25px;"><span style="margin-right:10px;">1.3</span> <u> Billing.</u> For professional
+              services that are treatment services that HCP provides, HCP authorizes Practice to bill such services using
+              appropriate billing codes to the to the appropriate payor(s) following all applicable laws, rules, and
+              regulations (including all applicable private medical insurance payor requirements). The Medical Advisory
+              Committee of Practice reserves the right to determine and not submit billing for services that do not
+              conform to applicable laws, rules, regulations and documentation standards. HCP acknowledges that such
+              non-billable services may not be eligible for compensation and would not be compensated/paid to HCP by
+              Practice.</p>
+      </li>
+      <li>
+          <p style="line-height:25px;"><u>Term.</u></p>
+          <p style="line-height:25px;"><span style="margin-right:10px;">2.1</span> <u> Effective Date.</u> The initial
+              term of this Agreement shall begin as of the Effective Date.</p>
+          <p style="line-height:25px;"><span style="margin-right:10px;">2.2</span> <u> Initial Term.</u> The initial term
+              (“<b>Initial Term</b>”) of this Agreement
+              shall commence upon the Effective Date and, subject to the termination provisions set forth elsewhere in
+              this Agreement, shall continue for Two (2) years, unless terminated earlier as set forth elsewhere in this
+              Agreement.
+          </p>
+          <p style="line-height:25px;"><span style="margin-right:10px;">2.3</span> <u> Renewal.</u> After the Initial
+              Term, this Agreement, subject to the termination provisions set forth elsewhere in this Agreement, shall be
+              renewed automatically for successive one (1) year terms (each a “<b>Renewal Term</b>”), unless one party
+              gives the other party written notice prior to such renewal that the Agreement shall expire at the end of the
+              Initial Term or the then current Renewal Term, as the case may be. Reference to the “Term” of this Agreement
+              hereafter shall include the Initial Term and any completed, current or ensuing Renewal Term.
+          </p>
+      </li>
+      <li>
+          <p style="line-height:25px;"><u>Duties and Obligations of HCP.</u></p>
+          <p style="line-height:25px;"><span style="margin-right:10px;">3.1</span> <u> General Responsibilities.</u> HCP
+              shall perform those Services identified on Schedule 1 of this Agreement, which Schedule 1 is attached hereto
+              and made a part hereof (the “<b>Services</b>”).
+          </p>
+          <p style="line-height:25px;"><span style="margin-right:10px;">3.2</span> <u> Schedule.</u> HCP shall make
+              reasonable efforts to be available to perform the Services on behalf of Practice on an as-needed basis
+              as-requested by Practice and mutually convenient between HCP and Practice schedules. The parties will
+              cooperate with respect to scheduling coverage for the Services during extended periods of HCP unavailability
+              for any reason.</p>
+          <p style="line-height:25px;"><span style="margin-right:10px;">3.3</span> <u> Availability.</u> HCP will perform
+              treatment Services at Practice facilities. HCP shall be available for consultation by phone to perform the
+              Services at mutually convenient times between HCP and Practice schedules.</p>
+          <p style="line-height:25px;"><span style="margin-right:10px;">3.4</span> <u> Standard of Care.</u> In performing
+              the obligations under this Agreement, HCP shall act in good faith, efficiently, diligently, promptly and in
+              accordance with prevailing standards of professional ethics, care, performance, competence and practice as
+              may from time to time be applicable to HCPs and medical directors.</p>
+          <p style="line-height:25px;"><span style="margin-right:10px;">3.5</span> <u> Patient-HCP Relationship.</u> HCP
+              shall establish a valid Patient-HCP relationship with each patient pursuant to all applicable local, state
+              and Federal laws, regulations and professional standards.</p>
+          <p style="line-height:25px;"><span style="margin-right:10px;">3.6</span> <u> Practicing License & Continuing
+                  Medical Education.</u> HCP shall have and maintain a valid and unrestricted license to practice/provide
+              medical treatment services in all jurisdictions in which provides services for, and on behalf of, pursuant
+              to the terms of this Agreement and in those states in which HCP becomes licensed to provide medical
+              treatment services during the term of this Agreement. HCP shall be obligated to obtain required Continuing
+              Medical Education (“CME”) in compliance with state license requirements in all states in which the HCP is
+              licensed to provide professional health care services at the time of this Agreement and during the term of
+              this agreement. Upon request by Practice, HCP shall provide a copy of the CME certificate to Practice or its
+              designee.</p>
+          <p style="line-height:25px;"><span style="margin-right:10px;">3.7</span> <u> Representations and Warranties.</u>
+              HCP hereby represents and warrants the following throughout the Term of this Agreement:</p>
+          <ol type="i">
+              <li>
+                  <p style="line-height:25px;">that HCP has never been the subject of any material disciplinary
+                      investigation or proceeding before any governmental or administrative body, including but not
+                      limited to any investigation by a State Board that resulted in any adverse findings against HCP.</p>
+              </li>
+              <li>
+                  <p style="line-height:25px;">that HCP has never had a professional license revoked, limited, suspended,
+                      or denied, either voluntarily or involuntarily; and</p>
+              </li>
+              <li>
+                  <p style="line-height:25px;">that in the event that any of the preceding representations or warranties
+                      become untrue during a Term, HCP shall give written notice to Practice within seven (7) business
+                      days of HCP’s knowledge of such event.</p>
+              </li>
+          </ol>
+
+      </li>
+      <li>
+          <p style="line-height:25px;"><u>Compensation.</u></p>
+          <p style="line-height:25px;"><span style="margin-right:10px;">4.1</span> <u> Rate.</u> During the Term, Practice
+              shall pay HCP at the rates and in the amounts designated in Schedule 2 of this Agreement for treatment
+              services. Rates may be updated from time to time upon mutual agreement in writing from Practice and HCP.</p>
+          <p style="line-height:25px;"><span style="margin-right:10px;">4.2</span> <u> Payment Date.</u> Reimbursement
+              will be payable on the fifteenth day and the last day of each month. Practice may update payment schedules
+              from time to time as per the business requirements. Practice will inform HCP 15 (fifteen) days in advance
+              writing about such changes in the payment schedule. HCP may request that Practice make payments hereunder to
+              HCP’s separate legal entity formed for the purposes of providing health care services.</p>
+      </li>
+      <li>
+          <p style="line-height:25px;"><u>Termination of Engagement.</u></p>
+          <p style="line-height:25px;"><span style="margin-right:10px;">5.1</span> <u> Termination by HCP.</u> HCP may
+              terminate this Agreement at any time, for any reason and without cause, by providing written notice to
+              Practice.</p>
+          <p style="line-height:25px;"><span style="margin-right:10px;">5.2</span> <u> Termination by Practice.</u>
+              Practice may terminate this Agreement, for any reason and without cause, at any time by providing written
+              notice to HCP.</p>
+          <p style="line-height:25px;"><span style="margin-right:10px;">5.3</span> <u> Malpractice Coverage.</u> During the Term hereof, Practice will
+              provide HCP malpractice coverage under Practice’s group malpractice policy unless HCP carries
+              their own malpractice coverage and submits appropriate evidence of coverage to Practice. So long
+              as HCP is not terminated for a material breach of the terms of this Agreement, Practice will
+              provide tail coverage for claims made concerning HCP’s services hereunder under terms reasonably
+              acceptable to Practice.</p>
+          <p style="line-height:25px;"><span style="margin-right:10px;">5.4</span> <u> Post-Termination Payments.</u> Upon
+              any termination of this Agreement, HCP shall be entitled to the compensation earned prior to the date of
+              termination. This Section 5.4 shall survive the expiration or termination of this Agreement.</p>
+      </li>
+      <li>
+          <p style="line-height:25px;"><u>Covenant Not to Solicit/Compete.</u> HCP agrees that during the term of this
+              Agreement and for two (2) years after any termination of this Agreement HCP shall not: (a) directly or
+              indirectly solicit for engagement or engage (as an employee or independent contractor) any employees or
+              independent contractors who were employed/engaged by Practice (or any management company that provides
+              management services for Practice) at any time within six (6) months before the date of the solicitation or
+              new engagement; and/or (b) directly or indirectly solicit, induce, or otherwise encourage any patients of
+              the Practice to cease obtaining services from the Practice or to obtain services from any health care
+              provider that offers services that are substantially similar to or the same as those offered by Practice. In
+              addition, HCP acknowledges that Practice places great importance on Practice’s confidential/proprietary
+              information (including Practice’s business methods/practices) and that such information is of significant
+              commercial value to Practice. Accordingly, HCP covenants and agrees not to disclose any of Practice’s
+              confidential/proprietary information to any other party and agrees not to directly or indirectly use such
+              information to compete with Practice to provide services substantially similar to or the same as Practice.
+              HCP further agrees to not sell/offer any ancillary or other products/services that are outside of those
+              offered by the Practice to any patients of the Practice individually or by or through another outside
+              provider. In the event that a court with jurisdiction over the parties determines that any provision of this
+              Section 6 is overbroad or otherwise unenforceable, the parties agree that this Section 6 will be
+              automatically reformed and adjusted to the extent necessary to make this Section 6 enforceable. This Section
+              6 shall survive the expiration or termination of this Agreement.</p>
+      </li>
+      <li>
+          <p style="line-height:25px;"><u>Miscellaneous.</u></p>
+          <p style="line-height:25px;"><span style="margin-right:10px;">7.1</span> <u> Governing Law.</u> Any dispute
+              arising out of or in connection with this Agreement shall be governed by the local law of the State of
+              Maryland, and shall only be heard in a state or federal court located in the State of Maryland.</p>
+          <p style="line-height:25px;"><span style="margin-right:10px;">7.2</span> <u> Interpretation.</u> In the event
+              any federal or state law, rule or regulation, or any interpretation thereof, at any time during the term of
+              this Agreement, is modified, implemented, or determined to prohibit, restrict or change a portion of this
+              Agreement which impacts a party’s ability to operate on terms at least as favorable as those reasonably
+              attributable as of the Effective Date, the parties shall negotiate in good faith to amend this Agreement
+              accordingly. References to any statute, rule, or regulation in this Agreement shall be deemed to refer to
+              such statute, rule, or regulation as amended, elaborated, or authoritatively interpreted from time to time
+          </p>
+          <p style="line-height:25px;"><span style="margin-right:10px;">7.3</span> <u> Invalidity of Provisions.</u> The
+              invalidity or unenforceability of any immaterial term or provision or any clause or portion thereof of this
+              Agreement shall in no way impair or affect the validity or enforceability of any other provisions of this
+              Agreement, which shall remain in full force and effect.</p>
+          <p style="line-height:25px;"><span style="margin-right:10px;">7.4</span> <u> Modification; Waiver.</u> No term
+              or provision of this Agreement may be modified, amended, changed or waived, except, in the case of
+              modifications, changes and amendments, pursuant to the written consent of all of the parties to this
+              Agreement, and, in the case of waiver, pursuant to a writing by the person so waiving. The waiver by either
+              party of any provision of this Agreement shall be applicable only to the instance or occurrence for which
+              that waiver was given and shall not constitute consent or a waiver with respect to any other act, instance
+              or occurrence.</p>
+          <p style="line-height:25px;"><span style="margin-right:10px;">7.5</span> <u> Binding Nature of Agreement; No
+                  Assignments.</u> No party hereto may assign or transfer such party’s rights or obligations hereunder
+              without the prior written consent of the other party (which consent will not be unreasonably delayed,
+              conditioned, or withheld). This Agreement shall be binding upon and inure to the benefit of the parties
+              hereto and any permitted assigns.</p>
+          <p style="line-height:25px;"><span style="margin-right:10px;">7.6</span> <u> Entire Understanding.</u> This
+              Agreement shall constitute the entire understanding between the parties with respect to the subject matter
+              hereof, superseding all prior agreements, drafts, and understandings, whether written or oral.</p>
+          <p style="line-height:25px;"><span style="margin-right:10px;">7.7</span> <u> Third Party Beneficiaries.</u> This
+              Agreement is made for the benefit of the parties only, and, other than to the extent expressly stated
+              herein, no other party is an intended beneficiary of this Agreement.</p>
+          <p style="line-height:25px;"><span style="margin-right:10px;">7.8</span> <u> Execution in Counterparts;
+                  Electronic Delivery.</u> This Agreement may be executed and delivered in counterparts and
+              electronically, including by transmission of PDF (Portable Document Format) or comparable signature images.
+              An electronically executed and/or delivered counterpart or copy of this Agreement shall be effective and
+              admissible as an original for all purposes.</p>
+          <p style="line-height:25px;"><span style="margin-right:10px;">7.9</span> <u> Notices.</u> All notices, requests,
+              demands and other communications under this Agreement shall be in writing and shall be deemed duly given (i)
+              if delivered by hand or by nationally recognized overnight courier and receipted for by the party addressed,
+              on the date of such receipt or (ii) if mailed by certified or registered mail with postage prepaid to the
+              following address, on the third business day after the mailing date:</p>
+          <table border="0" cellpadding="5" width="100%">
+              <tr>
+                  <td width="50%">
+                      <div>
+                          <p style="line-height:25px;">If to Practice to: </p>
+                          <p style="line-height:25px;"><b><u>133 Rollins Ave</u></b></p>
+                          <p style="line-height:25px;"><b><u>Suite 3</u></b></p>
+                          <p style="line-height:25px;"><b><u>Rockville, MD 20852</u></b></p>
+                      </div>
+                  </td>
+                  <td width="50%">
+                      <div>
+                          <p style="line-height:25px;">If to HCP, to:</p>
+                          <p style="line-height:25px;"><b><u>{Address Line 1}</u></b></p>
+                          <p style="line-height:25px;"><b><u>{Address Line 2}</u></b></p>
+                          <p style="line-height:25px;"><b><u>{City}, {State} {ZIP}</u></b></p>
+                      </div>
+                  </td>
+              </tr>
+          </table>
+          <p style="line-height:25px;">or to such other addresses as the party shall have notified the other party in
+              accordance with this Section 7.9.
+          </p>
+          <p style="line-height:25px;"><span style="margin-right:10px;">7.10</span> <u> Further Assurances.</u> Each party
+              shall promptly execute, acknowledge and deliver to the other party such instruments and documents reasonably
+              requested by such other party to protect and preserve such other party’s rights and remedies under this
+              Agreement.</p>
+      </li>
+  </ol>
+
+  <p style="line-height:25px;">IN WITNESS WHEREOF, the parties hereto have
+      entered this Agreement:</p>
+
+  <table border="0" style="margin-bottom: 10px;" cellpadding="5" width="100%">
+      <tr>
+          <td width="50%"><b>PRACTICE:</b></td>
+          <td width="50%"><b>HCP:</b></td>
+      </tr>
+      <tr>
+          <td colspan="2"></td>
+      </tr>
+      <tr>
+          <td width="50%">By: <img src="{company.authorized_signer_signature_base64}" style="max-height: 60px" onerror="this.style.display = 'none'"></td>
+          <td width="50%">By: <img src="{company_pro_document.pro_signatures}" style="max-height: 60px" onerror="this.style.display = 'none'"></td>
+      </tr>
+      <tr>
+          <td width="50%">Name: <b><u>{company.authorized_signer_name}</u></b></td>
+          <td width="50%">Name: <b><u>{pro.name_first} {pro.name_last}</u></b></td>
+      </tr>
+      <tr>
+          <td width="50%">Date: <b><u>{company_pro_document.hrm_pro_counter_signed_at}</u></b></td>
+          <td width="50%">Date: <b><u>{company_pro_document.pro_signed_at}</u></b></td>
+      </tr>
+  </table>
+
+  <center><h2 style="page-break-before: always;"><strong><u>SCHEDULE 1</u></strong></h2></center>
+  <h4>Services</h4>
+  <ol type="i">
+      <li>
+          <p style="line-height:25px;">HCP shall provide treatment services as reasonably requested from time to time by
+              Practice.</p>
+      </li>
+      <li>
+          <p style="line-height:25px;">HCP shall provide such other professional healthcare services as may be reasonably
+              requested by Practice from time to time.</p>
+      </li>
+      <li>
+          <p style="line-height:25px;">HCP shall provide treatment services in accordance with the applicable local, state
+              and Federal laws, regulations and professional standards and the section 1.3 of the agreement.
+          </p>
+      </li>
+      <li>
+          <p style="line-height:25px;">HCP agrees to devote such time and effort as is generally required in the field and
+              perform the tasks and duties related to consulting and prescribing so required in a manner consistent with
+              the practice of HCP’s profession in medicine. HCP will not provide consultation/treatment for
+              life-threatening and/or emergency conditions or for matters that HCP is not qualified to treat. HCP will
+              refer any such patients to emergency or other appropriate personal care.
+          </p>
+      </li>
+      <li>
+          <p style="line-height:25px;">HCP and Practice may agree, from time to time, in writing, for HCP to assist Practice with certain predefined administrative duties.
+  		These duties may include, but are not limited to, consultation, speaking at physical or virtual events, chart review, and/or supervising or collaborating with other clinicians in Practice. HCP shall provide such administrative services as mutually agreed upon and as mutually convenient with schedules of both HCP and Practice.</p>
+      </li>
+  </ol>
+
+  <table border="0" cellpadding="5" width="100%">
+      <tr>
+          <td width="50%"><b>PRACTICE:</b></td>
+          <td width="50%"><b>HCP:</b></td>
+      </tr>
+      <tr>
+          <td colspan="2"></td>
+      </tr>
+      <tr>
+          <td width="50%">By: <img src="{company.authorized_signer_signature_base64}" style="max-height: 60px" onerror="this.style.display = 'none'"></td>
+          <td width="50%">By: <img src="{company_pro_document.pro_signatures}" style="max-height: 60px" onerror="this.style.display = 'none'"></td>
+      </tr>
+      <tr>
+          <td width="50%">Name: <b><u>{company.authorized_signer_name}</u></b></td>
+          <td width="50%">Name: <b><u>{pro.name_first} {pro.name_last}</u></b></td>
+      </tr>
+      <tr>
+          <td width="50%">Date: <b><u>{company_pro_document.hrm_pro_counter_signed_at}</u></b></td>
+          <td width="50%">Date: <b><u>{company_pro_document.pro_signed_at}</u></b></td>
+      </tr>
+  </table>
+
+  <center><h2 style="page-break-before: always;"><strong><u>SCHEDULE 2</u></strong></h2></center>
+  <h4>Compensation</h4>
+  <p style="line-height:25px;"><b>HCP INITIAL AVAILABILITY:</b></p>
+  <p style="line-height:25px;">HCP shall provide treatment services as needed when it is mutually convenient for HCP,
+      Practice, and patients.</p>
+  <p style="line-height:25px;">COMPENSATION:</p>
+  <ul>
+      <li>
+          <p style="line-height:25px;">HCP will be reimbursed for billable encounters and consults in accordance with the following
+              fee schedule:</p>
+          <ul>
+              <li>
+                  <p style="line-height:25px;">60% of insurance collections</p>
+              </li>
+              <li>
+                  <p style="line-height:25px;">$<b><u>{@Chart Review Compensation}</u></b> per chart review (if HCP and Practice agree mutually that HCP will assist with chart review).</p>
+              </li>
+  	    <li>
+  		<p style="line-height:25px;">$160 per hour for pre-defined administrative services as mutually agreed upon, in writing, between HCP and Practice.</p>
+  	    </li>
+          </ul>
+      </li>
+      <li>
+          <p style="line-height:25px;">From time to time, billable CPT codes and/or CPT reimbursement rates may fluctuate.
+              HCP and Practice may modify this fee schedule if mutually agreed upon in writing.</p>
+      </li>
+  </ul>
+  <p style="line-height:25px;">HCP acknowledges that the Medical Advisory Committee of the Practice has authority to
+      determine medical necessity and appropriateness of documentation, and that services that do not meet these standards
+      may be deemed as not billable. Practice shall not be liable to reimburse for Services that are deemed not billable,
+      are denied claim, or do not follow all applicable laws, rules, and regulations (including all applicable third-party
+      payor requirements).</p>
+
+  <table border="0" cellpadding="5" width="100%">
+      <tr>
+          <td width="50%"><b>PRACTICE:</b></td>
+          <td width="50%"><b>HCP:</b></td>
+      </tr>
+      <tr>
+          <td colspan="2"></td>
+      </tr>
+      <tr>
+          <td width="50%">By: <img src="{company.authorized_signer_signature_base64}" style="max-height: 60px" onerror="this.style.display = 'none'"></td>
+          <td width="50%">By: <img src="{company_pro_document.pro_signatures}" style="max-height: 60px" onerror="this.style.display = 'none'"></td>
+      </tr>
+      <tr>
+          <td width="50%">Name: <b><u>{company.authorized_signer_name}</u></b></td>
+          <td width="50%">Name: <b><u>{pro.name_first} {pro.name_last}</u></b></td>
+      </tr>
+      <tr>
+          <td width="50%">Date: <b><u>{company_pro_document.hrm_pro_counter_signed_at}</u></b></td>
+          <td width="50%">Date: <b><u>{company_pro_document.pro_signed_at}</u></b></td>
+      </tr>
+  </table>
+
+
+  <center><h2 style="page-break-before: always;"><strong><u>SCHEDULE 3</u></strong></h2></center>
+  <h4><b>Confidentiality Acknowledgement</b></h4>
+
+  <ol>
+      <li>
+          <p style="line-height:25px;"><b>HIPPA CONFIDENTIALITY:</b></p>
+          <p style="line-height:25px;">Through my association/engagement with Scholar Medical Group, MD LLC; including its
+              subsidiaries, parents, affiliates, successors and assigns; (“Practice”), as an HCP, I
+              “<b><u>{pro.name_first} {pro.name_last}</u></b>” understand that patient information in any form (paper,
+              electronic, oral, etc.) is protected by law and that breaches of patient confidentiality can have
+              ramifications up to and including termination of my contract/association/engagement with Practice as well as
+              possible civil and criminal penalties as related to HIPPA. (Health Insurance Portability Protection Act). I
+              will only access, use or disclose what is necessary to carry out my assigned duties. I will not improperly
+              divulge any information which comes to me through the carrying out of my assigned duties, program assignment
+              or observation.</p>
+          <p style="line-height:25px;">This includes but not limited to:</p>
+          <p style="line-height:25px;"><span style="margin-right:10px;">1.1</span> I will not discuss information
+              pertaining to any patient with anyone (even my own family) who is not directly working with said patient.
+          </p>
+          <p style="line-height:25px;"><span style="margin-right:10px;">1.2</span> I will not discuss any patient
+              information in any place where it can be overheard by anyone who is not authorized to have this information.
+          </p>
+          <p style="line-height:25px;"><span style="margin-right:10px;">1.3</span> I will not mention any patient’s name
+              or disclose directly or indirectly that any person is a patient except to those authorized to have this
+              information.</p>
+          <p style="line-height:25px;"><span style="margin-right:10px;">1.4</span> I will not describe any behavior which
+              I have observed or learned about through association with Practice or its business associates, affiliates &
+              subsidiaries, except to those authorized to have this information.</p>
+          <p style="line-height:25px;"><span style="margin-right:10px;">1.5</span> I will not contact any individual or
+              agency outside Practice or its business associates, affiliates & subsidiaries to get personal information
+              about an individual patient unless a release of information has been signed by the patient or by someone who
+              has been legally authorized by the patient to release information.</p>
+          <p style="line-height:25px;"><span style="margin-right:10px;">1.6</span> I will not use confidential information
+              of Practice or its business associates, affiliates & subsidiaries’ business-related information in any
+              manner not required by my job or disclose it to anyone not authorized to have or know it.</p>
+          <p style="line-height:25px;"><span style="margin-right:10px;">1.7</span> I will not access a co-worker’s, family
+              member’s or my own medical record unless I am directly working with the said patient or instructed by
+              authorized personnel.</p>
+          <p style="line-height:25px;"><span style="margin-right:10px;">1.8</span> I will not transfer, copy or scan any
+              patient health information unless it is duly required as a part of my duties or approved by Practice or
+              authorized personnel.</p>
+      </li>
+      <li>
+          <p style="line-height:25px;"><b>COMPUTER SECURITY ACKNOWLEDGEMENT:</b></p>
+          <p style="line-height:25px;">I understand my password and user ID create a unique user account and that Practice
+              and/or its business associates, reserves the right to monitor my activity within any application. I
+              understand I am accountable for any activity within the application linked to my unique user account and
+              that I may be questioned about my activity. I understand I will be accountable for any document or data
+              creation or modification linked to my unique user account. I understand that sharing my password, using
+              someone else’s password or signing on for others to use the application are all breaches of security,
+              patient confidentiality and my computer security procedures (such as signing off, not sharing passwords,
+              etc.) to protect information maintained electronically from being accessed by an unauthorized user.</p>
+      </li>
+      <li>
+          <p style="line-height:25px;"><b>INTERNET SECURITY ACKNOWLEDGEMENT:</b></p>
+          <p style="line-height:25px;">I am familiar with the Internet and e-mail security policies and I agree to abide
+              by them. I am aware that my unauthorized or inappropriate use of the Internet may result in disciplinary
+              action up to and including termination. I further acknowledge my responsibility to keep my password
+              confidential and in the event of a suspected compromise or a security problem, I will immediately notify the
+              authorized personnel. In addition, when sending files or attachments via email, I will observe all
+              Practice’s and/or its business associate’s security and confidentiality policies. (See HIPPA guidelines
+              above).</p>
+          <p style="line-height:25px;">I understand that the privilege of using the Internet and e-mail may not be granted
+              to me in the future and that if granted is to be used for business reasons only.</p>
+      </li>
+  </ol>
+  <p style="line-height:25px;"><i>By affixing my signature below, I acknowledge and accept all policies and procedures
+          related to HIPPA confidentiality, computer security and internet security. Failure to abide by these policies
+          may result in disciplinary action up to and including termination as well as possible civil and criminal
+          penalties.</i></p>
+
+
+  <table border="0" cellpadding="5" width="100%">
+      <tr>
+          <td width="50%"><b>HCP:</b></td>
+      </tr>
+      <tr>
+          <td></td>
+      </tr>
+      <tr>
+          <td width="50%">By: <img src="{company_pro_document.pro_signatures}" style="max-height: 60px" onerror="this.style.display = 'none'"></td>
+      </tr>
+      <tr>
+          <td width="50%">Name: <b><u>{pro.name_first} {pro.name_last}</u></b></td>
+      </tr>
+      <tr>
+          <td width="50%">Title: <b><u>{Your Title}</u></b></td>
+      </tr>
+      <tr>
+          <td width="50%">Date: <b><u>{company_pro_document.pro_signed_at}</u></b></td>
+      </tr>
+  </table>
+
+</div>

+ 1 - 0
resources/views/document-templates-generic/default__physician__engagement_agreement/spec.json

@@ -0,0 +1 @@
+{"title":"Engagement Agreement", "active": true}

Різницю між файлами не показано, бо вона завелика
+ 4 - 0
resources/views/document-templates-generic/general__hcp__appointment_letter/content.blade.php


+ 1 - 0
resources/views/document-templates-generic/general__hcp__appointment_letter/spec.json

@@ -0,0 +1 @@
+{"title":"Appointment Letter", "active": true}

+ 476 - 0
resources/views/document-templates-generic/general__hcp__engagement_agreement/content.blade.php

@@ -0,0 +1,476 @@
+<div style="padding:0 15px;font-family:sans-serif;font-size: 15px;text-align:justify;">
+    <h2><strong>
+            <center><u>HCP ENGAGEMENT AGREEMENT</u></center>
+        </strong></h2>
+
+    <p style="line-height:20px;">THIS HCP ENGAGEMENT AGREEMENT (this <b>“Agreement”</b>) is effective as of
+        <u>{Effective Date}</u> ,2022 (<b>"Effective Date"</b>) between <u>{company.name}</u> (<b>"Practice"</b>); and
+        <u>{Your Legal Name}</u> (<b>"HCP"</b>)</p>
+
+    <p style="line-height:20px;">WHEREAS, Practice performs healthcare/treatment services through licensed practitioners
+        and other clinicians;</p>
+    <p style="line-height:20px;">WHEREAS, Practice may obtain management and other infrastructure services from one or
+        more third party providers (collectively <b>“Manager”</b>);</p>
+    <p style="line-height:20px;">WHEREAS, HCP has experience providing healthcare/treatment services in a healthcare
+        and/or telehealth practice setting;</p>
+    <p style="line-height:20px;">WHEREAS, Practice requires expertise such as that possessed by HCP to operate its
+        business; and</p>
+    <p style="line-height:20px;">WHEREAS, Practice wishes to engage HCP to provide treatment services under this
+        Agreement, and HCP wishes to accept such engagement.</p>
+    <p style="line-height:20px;">NOW, THEREFORE, in consideration of the foregoing representations, and the mutual
+        covenants and agreements contained herein, the receipt and sufficiency of which is hereby acknowledged, it is
+        understood and agreed by and between the parties as follows:</p>
+    <ol>
+        <li style="margin-bottom:10px;">
+            <p style="line-height:20px;"><u>Engagement</u></p>
+            <ol type="a">
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>In General.</u> Practice hereby engages HCP to provide patient
+                        treatment services and HCP hereby accepts such engagement. Treatment services are defined as
+                        those rendered and appropriately documented as per guidelines from the Centers for Medicare and
+                        Medicaid Services (CMS) specified herein (the <b>"Services"</b>). HCP agrees that HCP may be
+                        listed in one or more provider directories maintained by Practice, listing HCP as a provider
+                        engaged to provide Services for Practice.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Independent Contractor.</u> At all times during the performance of
+                        services pursuant to this Agreement, HCP shall be acting as an independent contractor. HCP shall
+                        be responsible for the payment and/or withholding of all federal, state, and local tax, employee
+                        benefits, and all similar taxes and deductions. Except as Practice may specifically authorize in
+                        writing from time to time, HCP shall not have the authority to negotiate, enter into, modify or
+                        terminate any contracts on behalf of Practice.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Billing; Licensing; Credentialing.</u> For professional services
+                        that are treatment services that HCP provides, HCP authorizes Practice to bill such services
+                        using appropriate billing codes to the appropriate payor(s) following all applicable
+                        laws, rules, and regulations (including all applicable private medical insurance payor
+                        requirements). The Medical Advisory Committee of Practice reserves the right to determine and
+                        not submit billing for services that do not conform to applicable laws, rules, regulations and
+                        documentation standards. HCP acknowledges that such non-billable services may not be eligible
+                        for compensation and would not be compensated/paid to HCP by Practice. HCP agrees that Manager
+                        may perform billing and other services on behalf of Practice, and HCP authorizes Manager to bill
+                        and collect for services provided by HCP. HCP further authorizes Practice and/or Manager (acting
+                        for Practice), to pursue state licensing and payor credentialling to enable HCP to practice in
+                        one or more jurisdictions (as mutually agreed between Practice and HCP) and to enable HCP to
+                        bill to payors for which Practice participates as an in-network provider.
+                    </p>
+                </li>
+            </ol>
+        </li>
+        <li style="margin-bottom:10px;">
+            <p style="line-height:20px;"><u>Term</u></p>
+            <ol type="a">
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Effective Date.</u> The initial term of this Agreement shall begin
+                        as of the Effective Date.
+                    </p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Initial Term.</u> The initial term (“Initial Term”) of this
+                        Agreement shall commence upon the Effective Date and, subject to the termination provisions set
+                        forth elsewhere in this Agreement, shall continue for Two (2) years, unless terminated earlier
+                        as set forth elsewhere in this Agreement.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Renewal.</u> After the Initial Term, this Agreement, subject to the
+                        termination provisions set forth elsewhere in this Agreement, shall be renewed automatically for
+                        successive one (1) year terms (each a "Renewal Term"), unless one party gives the other party
+                        written notice prior to such renewal that the Agreement shall expire at the end of the Initial
+                        Term or the then current Renewal Term, as the case may be. Reference to the "Term" of this
+                        Agreement hereafter shall include the Initial Term and any completed, current or ensuing Renewal
+                        Term.</p>
+                </li>
+            </ol>
+        </li>
+        <li style="margin-bottom:10px;">
+            <p style="line-height:20px;"><u>Duties and Obligations of HCP.</u></p>
+            <ol type="a">
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>General Responsibilities.</u> HCP shall perform those Services
+                        identified on Schedule 1 of this Agreement, which Schedule 1 is attached hereto and made a part
+                        hereof (the “Services”).</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Schedule.</u> HCP shall make reasonable efforts to be available to
+                        perform the Services on behalf of Practice on an as-needed basis as-requested by Practice and
+                        mutually convenient between HCP and Practice schedules. The parties will cooperate with respect
+                        to scheduling coverage for the Services during extended periods of HCP unavailability for any
+                        reason. HCP agrees that Manager may coordinate HCP’s schedule on behalf of Practice.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Availability.</u> HCP will perform treatment Services via Telemedicine and/or at Practice
+                        facilities. HCP shall be available for consultation by phone to perform the Services at mutually
+                        convenient times between HCP and Practice schedules.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Standard of Care.</u> In performing the obligations under this
+                        Agreement, HCP shall act in good faith, efficiently, diligently, promptly and in accordance with
+                        prevailing standards of professional ethics, care, performance, competence and practice as may
+                        from time to time be applicable to HCPs and medical directors.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Patient-HCP Relationship.</u> HCP shall establish a valid
+                        patient-HCP relationship with each patient pursuant to all applicable local, state and Federal
+                        laws, regulations and professional standards.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Practicing License & Continuing Medical Education.</u> HCP shall
+                        have and maintain a valid and unrestricted license to practice/provide medical treatment
+                        services in the jurisdiction where Practice is located. HCP shall be obligated to obtain
+                        required Continuing Medical Education (“CME”) in compliance with state license requirements in
+                        all states in which the HCP is licensed to provide professional health care services at the time
+                        of this Agreement and during the term of this agreement. Upon request by Practice (or Manager on
+                        behalf of Practice), HCP shall provide a copy of the CME certificate to Practice or its
+                        designee.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Representations and Warranties.</u> HCP hereby represents and
+                        warrants the following throughout the Term of this Agreement:</p>
+                    <ol type="i">
+                        <li style="margin-bottom:8px;">that HCP has never been the subject of any material disciplinary
+                            investigation or proceeding before any governmental or administrative body, including but
+                            not limited to any investigation by a State Board that resulted in any adverse findings
+                            against HCP.</li>
+                        <li style="margin-bottom:8px;">that HCP has never had a professional license revoked, limited,
+                            suspended, or denied, either voluntarily or involuntarily; and iii. that in the event that
+                            any of the preceding representations or warranties become untrue during a Term, HCP shall
+                            give written notice to Practice within seven (7) business days of HCP’s knowledge of such
+                            event.</li>
+                    </ol>
+                </li>
+            </ol>
+        </li>
+        <li style="margin-bottom:10px;">
+            <p style="line-height:20px;"><u>Compensation</u></p>
+            <ol type="a">
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Rate.</u> During the Term, Practice shall pay HCP at the rates and in the amounts designated in <u>Schedule 2</u> of this Agreement, which <u>Schedule 2</u> is attached hereto and made a part hereof, for treatment services. Rates may be updated from time to time upon mutual agreement in writing between Practice and HCP.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Payment Date.</u> Payments will be payable on the fifteenth day and the last day of each month based on actual services provided by HCP for the preceding bi-monthly period (as reflected in Practice’s records). Practice may update payment schedules from time to time as per the business requirements. Practice will inform HCP 15 (fifteen) days in writing in advance about any such changes in the payment schedule.  HCP may request that Practice make payments hereunder to the legal entity specified in <u>Schedule 2</u> that HCP has formed for purposes of providing health care services.</p>
+                </li>
+            </ol>
+        </li>
+        <li style="margin-bottom:10px;">
+            <p style="line-height:20px;"><u>Termination of Engagement</u></p>
+            <ol type="a">
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Termination by HCP.</u> HCP may terminate this Agreement at any time
+                        during the first six (6) months of the Initial Term, for any reason and without cause, by
+                        providing at least 30 days’ advance written notice to Practice. After completion of the first
+                        six (6) months of the Initial Term, HCP may terminate this Agreement for any reason and without
+                        cause, by providing at least 15 days’ advance written notice to Practice. Upon any termination
+                        by HCP under this Section 5(a), Practice may, by written notice to HCP, elect to shorten such
+                        notice period and terminate this Agreement at an earlier date than the date provided in HCP’s
+                        notice to Practice hereunder.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Termination by Practice.</u> Practice may terminate this Agreement,
+                        for any reason and without cause, at any time by providing at least 15 days’ advance written
+                        notice to HCP. Practice may also terminate this Agreement immediately upon written notice to HCP
+                        in the event of any breach by HCP of the terms of this Agreement.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Malpractice Coverage.</u> During the Term hereof, Practice will
+                        provide HCP malpractice coverage under Practice’s group malpractice policy unless HCP carries
+                        their own malpractice coverage and submits appropriate evidence of coverage to Practice. So long
+                        as HCP is not terminated for a material breach of the terms of this Agreement, Practice will
+                        provide tail coverage for claims made concerning HCP’s services hereunder under terms reasonably
+                        acceptable to Practice.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Post-Termination Payments.</u> Upon any termination of this
+                        Agreement, HCP shall be entitled to the compensation earned prior to the date of termination,
+                        subject to HCP’s compliance with provisions of this Agreement intended to survive any
+                        termination hereof. </p>
+                </li>
+            </ol>
+        </li>
+        <li style="margin-bottom:10px;">
+            <p style="line-height:20px;"><u>Protective Covenants.</u> HCP agrees to the terms of the Protective
+                Covenants in the attached Schedule 4.</p>
+        </li>
+        <li style="margin-bottom:10px;">
+            <p style="line-height:20px;"><u>Miscellaneous</u></p>
+            <ol type="a">
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Governing Law.</u> Any dispute arising out of or in connection with
+                        this Agreement shall be governed by the local law of the State of Maryland, and shall only be
+                        heard in a state or federal court located in the State of Maryland.</p>
+                    <p style="line-height:20px;">
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Interpretation.</u> In the event any federal or state law, rule or
+                        regulation, or any interpretation thereof, at any time during the term of this Agreement, is
+                        modified, implemented, or determined to prohibit, restrict or change a portion of this Agreement
+                        which impacts a party’s ability to operate on terms at least as favorable as those reasonably
+                        attributable as of the Effective Date, the parties shall negotiate in good faith to amend this
+                        Agreement accordingly. References to any statute, rule, or regulation in this Agreement shall be
+                        deemed to refer to such statute, rule, or regulation as amended, elaborated, or authoritatively
+                        interpreted from time to time. </p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Invalidity of Provisions.</u> The invalidity or unenforceability of
+                        any immaterial term or provision or any clause or portion thereof of this Agreement shall in no
+                        way impair or affect the validity or enforceability of any other provisions of this Agreement,
+                        which shall remain in full force and effect.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Modification; Waiver.</u> No term or provision of this Agreement may
+                        be modified, amended, changed or waived, except, in the case of modifications, changes and
+                        amendments, pursuant to the written consent of all of the parties to this Agreement, and, in the
+                        case of waiver, pursuant to a writing by the person so waiving. The waiver by either party of
+                        any provision of this Agreement shall be applicable only to the instance or occurrence for which
+                        that waiver was given and shall not constitute consent or a waiver with respect to any other
+                        act, instance or occurrence.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Binding Nature of Agreement; No Assignments.</u> HCP may not assign
+                        or transfer HCP’s rights or obligations hereunder without the prior written consent of Practice.
+                        This Agreement shall be binding upon and inure to the benefit of the parties hereto and any
+                        permitted assigns.
+                    </p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Entire Understanding.</u> This Agreement (and any separate
+                        non-disclosure agreement) shall constitute the entire understanding between the parties with
+                        respect to the subject matter hereof, superseding all prior agreements, drafts, and
+                        understandings, whether written or oral.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Third Party Beneficiaries.</u> This Agreement is made for the
+                        benefit of the parties only, and, other than to the extent expressly stated herein, no other
+                        party is an intended beneficiary of this Agreement.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Execution in Counterparts; Electronic Delivery.</u> This Agreement
+                        may be executed and delivered in counterparts and/or electronically, including by transmission
+                        of PDF (Portable Document Format) or comparable signature images. An electronically executed
+                        and/or delivered counterpart or copy of this Agreement shall be effective and admissible as an
+                        original for all purposes.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Notices.</u> All notices, requests, demands and other communications
+                        under this Agreement shall be in writing and shall be deemed duly given (i) if delivered by hand
+                        or by nationally recognized overnight courier and receipted for by the party addressed, on the
+                        date of such receipt or (ii) if mailed by certified or registered mail with postage prepaid to
+                        the following address, on the third business day after the mailing date:</p>
+                    <p style="line-height:20px;">If to Practice to:</p>
+                    <p style="line-height:20px;"><b>133 Rollins Ave, Suite 3, Rockville, MD 20852</b></p>
+                    <p style="line-height:20px;">If to HCP, to:</p>
+                    <p style="line-height:20px;"><b><u>{Your Legal Address}</u></b></p>
+                    <p style="line-height:20px;"><b><u>{Your Email Address}</u></b></p>
+                    <p style="line-height:20px;">or to such other addresses as the party shall have notified the other
+                        party in accordance with this Section 7. Notwithstanding the foregoing, Practice and/or Manager
+                        may provide notices to HCP concerning changes in payment schedule and similar administrative
+                        matters via email to HCP’s email address specified above.</p>
+                </li>
+                <li style="margin-bottom:10px;">
+                    <p style="line-height:20px;"><u>Further Assurances.</u> Each party shall promptly execute,
+                        acknowledge and deliver to each of the other parties such instruments and documents reasonably
+                        requested by such other parties to protect and preserve such other parties’ rights and remedies
+                        under this Agreement.</p>
+                </li>
+            </ol>
+        </li>
+    </ol>
+
+    <p style="line-height:20px;margin-top:40px;">IN WITNESS WHEREOF, the parties hereto have entered this Agreement as
+        of the Effective Date:</p>
+
+    <table border="0" cellpadding="5" width="100%">
+        <tr>
+            <td width="50%"><b>Practice:</b></td>
+            <td width="50%"><b>HCP:</b></td>
+        </tr>
+        <tr>
+            <td colspan="2"></td>
+        </tr>
+        <tr>
+            <td width="50%">
+                <div>
+                    <p style="margin-bottom:4px;">By:</p> <img src="{*company.authorized_signer_signature_base64}"
+                        style="max-height: 60px" onerror="this.style.display = 'none'">
+                </div>
+            </td>
+            <td width="50%">
+                <div>
+                    <p style="margin-bottom:4px;">By:</p> <img src="{company_pro_document.pro_signatures}"
+                        style="max-height: 60px" onerror="this.style.display = 'none'">
+                </div>
+            </td>
+        </tr>
+        <tr>
+            <td width="50%">Name/Title: {*company.authorized_signer_name}</td>
+            <td width="50%">Name: {Your Legal Name}</td>
+        </tr>
+    </table>
+
+    <h2 style="page-break-before: always;"><strong>
+            <center><u>SCHEDULE 1</u></center>
+        </strong></h2>
+
+    <p style="line-height:20px;"><b><u>Services; HCP Commitments</u></b></p>
+    <ol>
+        <li style="margin-bottom:10px;line-height:20px;">HCP shall provide treatment services as reasonably requested from time to time by Practice.</li>
+        <li style="margin-bottom:10px;line-height:20px;">HCP shall provide such other professional healthcare services as may be reasonably requested by Practice
+            from time to time.</li>
+        <li style="margin-bottom:10px;line-height:20px;">HCP shall provide treatment services in accordance with the applicable local, state and Federal laws,
+            regulations and professional standards and the section 1.3 of the HCP Engagement Agreement.</li>
+    </ol>
+
+    <h2 style="page-break-before: always;"><strong>
+            <center><u>SCHEDULE 2</u></center>
+        </strong></h2>
+    <p style="line-height:20px;">
+        <center><b><u>Compensation</u></b></center>
+    </p>
+    <p style="line-height:20px;"><b>HCP INITIAL AVAILABILITY:</b></p>
+    <p style="line-height:20px;">HCP shall provide treatment services as needed when it is mutually convenient for HCP, Practice, and patients.</p>
+    <p style="line-height:20px;"><b><u>Compensation:</u></b></p>
+    <ul>
+        <li style="margin-bottom:10px;line-height:25px;">In accordance with Practice's standard payroll schedule, for billable treatment services and pre-approved management services, Practice shall reimburse HCP in accordance with the following rate schedule: <b>{@Compensation}</b>.</li>
+        <li style="margin-bottom:10px;line-height:25px;">HCP acknowledges that the Medical Advisory Committee of the Practice has authority to determine medical necessity and appropriateness of documentation, and that services that do not meet these standards may be deemed as not billable. Practice shall not be liable to reimburse for Services that are deemed not billable, are denied claim, or do not follow all applicable laws, rules, and regulations (including all applicable third-party payor requirements).</li>
+    </ul>
+    <p style="line-height:20px;"><b>HCP Legal Entity Name (if any, for payment purpose only):</b> <u>{HCP Legal Entity Name}</u></p>
+
+
+    <h2 style="page-break-before: always;"><strong>
+            <center><u>SCHEDULE 3</u></center>
+        </strong></h2>
+    <p style="line-height:20px;">
+        <center>Confidentiality Acknowledgement</center>
+    </p>
+    <ol>
+        <li style="margin-bottom:10px;">
+            <p style="line-height:20px;"><b>HIPAA CONFIDENTIALITY:</b></p>
+            <p style="line-height:20px;">Through my association/engagement with each health care practice specified in
+                the attached HCP Engagement Agreement (“Practice”) as an HCP, I, the health care practitioner signing
+                the HCP Engagement Agreement, understand that patient information in any form (paper, electronic, oral,
+                etc.) is protected by law and that breaches of patient confidentiality can have ramifications up to and
+                including termination of my contract/association/engagement with Practice as well as possible civil and
+                criminal penalties as related to HIPPA (Health Insurance Portability and Accountability Act of 1996, as
+                amended, including all implementing regulations). I will only access, use or disclose what is necessary
+                to carry out my assigned duties. I will not improperly divulge any information which comes to me through
+                the carrying out of my assigned duties, program assignment or observation.
+            </p>
+            <p style="line-height:20px;">This includes but not limited to:</p>
+            <ol>
+                <li style="margin-bottom:10px; line-height:22px;">I will not discuss information pertaining to any patient with anyone (even my own family) who is not
+                    directly working with said patient.</li>
+                <li style="margin-bottom:10px; line-height:22px;">I will not discuss any patient information in any place where it can be overheard by anyone who is
+                    not authorized to have this information.</li>
+                <li style="margin-bottom:10px; line-height:22px;">I will not mention any patient’s name or disclose directly or indirectly that any person is a
+                    patient except to those authorized to have this information.</li>
+                <li style="margin-bottom:10px; line-height:22px;">I will not describe any behavior which I have observed or learned about through association with
+                    Practice or its business associates, affiliates & subsidiaries, except to those authorized to have
+                    this information.</li>
+                <li style="margin-bottom:10px; line-height:22px;">I will not contact any individual or agency outside Practice or its business associates, affiliates
+                    & subsidiaries to get personal information about an individual patient unless a release of
+                    information has been signed by the patient or by someone who has been legally authorized by the
+                    patient to release information.</li>
+                <li style="margin-bottom:10px; line-height:22px;">I will not use confidential information of Practice or its business associates, affiliates &
+                    subsidiaries’ business-related information in any manner not required by my job or disclose it to
+                    anyone not authorized to have or know it.</li>
+                <li style="margin-bottom:10px; line-height:22px;">I will not access a co-worker’s, family member’s or my own medical record unless I am directly
+                    working with the said patient or instructed by authorized personnel.</li>
+                <li style="margin-bottom:10px; line-height:22px;">I will not transfer, copy or scan any patient health information unless it is duly required as a
+                    part of my duties or approved by Practice or authorized personnel.</li>
+            </ol>
+        </li>
+        <li style="margin-bottom:10px;">
+            <p style="line-height:20px;"><b>COMPUTER SECURITY ACKNOWLEDGEMENT</b></p>
+            <p style="line-height:20px;">I understand my password and user ID create a unique user account and that
+                Practice and/or its business associates, reserves the right to monitor my activity within any
+                application. I understand I am accountable for any activity within the application linked to my unique
+                user account and that I may be questioned about my activity. I understand I will be accountable for any
+                document or data creation or modification linked to my unique user account. I understand that sharing my
+                password, using someone else’s password or signing on for others to use the application are all breaches
+                of security, patient confidentiality and my computer security procedures (such as signing off, not
+                sharing passwords, etc.) to protect information maintained electronically from being accessed by an
+                unauthorized user.</p>
+        </li>
+        <li style="margin-bottom:10px;">
+            <p style="line-height:20px;"><b>INTERNET SECURITY ACKNOWLEDGEMENT</b></p>
+            <p style="line-height:20px;">I am familiar with the Internet and e-mail security policies and I agree to
+                abide by them. I am aware that my unauthorized or inappropriate use of the Internet may result in
+                disciplinary action up to and including termination. I further acknowledge my responsibility to keep my
+                password confidential and in the event of a suspected compromise or a security problem, I will
+                immediately notify the authorized personnel. In addition, when sending files or attachments via email, I
+                will observe all Practice’s and/or its business associate’s security and confidentiality policies. (See
+                HIPPA guidelines above).</p>
+            <p style="line-height:20px;">I understand that the privilege of using the Internet and e-mail may not be
+                granted to me in the future and that if granted is to be used for business reasons only.</p>
+        </li>
+    </ol>
+
+    <h2 style="page-break-before: always;"><strong>
+            <center><u>SCHEDULE 4</u></center>
+        </strong></h2>
+    <p style="line-height:20px;">
+        <center>PROTECTIVE COVENANTS</center>
+    </p>
+    <p style="line-height:20px;">HCP understands and agrees that HCP will be the face of Practice’s brand in the
+        geographic area where HCP provides services for Practice and that Practice will list HCP in Practice
+        directories. HCP will be designated as the Practice’s clinical leader in the geographic area where HCP provides
+        services for Practice. HCP understands and agrees that Practice intends to dedicate resources to building
+        patient volume for HCP and HCP agrees to devote sufficient time and energy to advancing the brand, goodwill, and
+        objectives of Practice. HCP further understands that Practice, Manager, and entities under common control will
+        disclose confidential and proprietary information to HCP as part of HCP’s engagement, and HCP therefore agrees
+        to the terms of these Protective Covenants:</p>
+    <p style="line-height:20px;">1.1. <u style="margin-right:10px;">Non-Competition/Non-Solicitation.</u> To protect the
+        goodwill of Practice, HCP covenants and agrees to the following business protection measures.</p>
+    <p style="line-height:20px;padding-left: 15px;">1.1.1. During the term of the Agreement and for a period of two (2) years after HCP ceases to be engaged by Practice, HCP shall not have any ownership interest (direct or indirect) or any ability to control the operations of any entity that provides services substantially similar to Practice.
+    </p>
+    <p style="line-height:20px;padding-left: 15px;">1.1.2. During the term of the Agreement and for a period of two (2)
+        years after HCP ceases to be engaged by Practice, HCP shall not compete with Practice to provide services
+        substantially similar to or the same as Practice using business methods similar to or the same as those used by
+        Practice or Manager.</p>
+    <p style="line-height:20px;padding-left: 15px;">1.1.3. During the term of the Agreement and for a period of two (2)
+        years after HCP ceases to be engaged by Practice, HCP shall not directly or indirectly solicit any patient of
+        Practice (any individual who obtained treatment or other services from Practice from HCP during the term of the
+        Agreement -- or any parent or guardian thereof) for the provision of health care services, nor take any other
+        action that would encourage any such patient to cease receiving services from Practice.</p>
+    <p style="line-height:20px;padding-left: 15px;">1.1.4. During the term of the Agreement and for a period of two (2)
+        years after HCP ceases to be engaged by Practice, HCP shall not directly or indirectly solicit for engagement or
+        engage any person who is engaged by Practice or who has been engaged by Practice at any time during the six (6)
+        month period prior to the date of the solicitation or new engagement.</p>
+    <p style="line-height:20px;">1.2. <u style="margin-right:10px;">Extension of Covenants.</u> The term of the
+        covenants contained in Section 1.1 shall be extended by the duration of the breach of any such covenant by HCP.
+    </p>
+    <p style="line-height:20px;">1.3. <u style="margin-right:10px;">Practice Business Information.</u> HCP may have
+        access to business information of Practice, Manager, or entities under common control therewith, including
+        information related to the identity of patients, managed care contracts, third party payor arrangements, health
+        care provider agreements, business plans, strategic plans, business forms, marketing strategies, and other
+        information about the present or proposed conduct of Practice, Manager, or entities under common control
+        therewith. All of this information is intended by Practice to be held on a confidential basis by all Practice
+        personnel. HCP agrees that HCP shall not use or disclose to any other person any confidential business
+        information of Practice, Manager, or entities under common control therewith at any time during the term of the
+        Agreement or following the termination of the Agreement, and that during the term of the Agreement, and at all
+        times thereafter, HCP will maintain confidentially with respect to such information, except as required by law
+        or for authorized disclosures in the normal course of HCP’s duties. Upon termination of the Agreement for any
+        reason, HCP shall return to Practice all keys and things of any nature belonging to Practice and all Practice
+        documents of any kind, including copies or computer files, and HCP will not, under any circumstances, maintain a
+        list of Practice referral source or professional contacts, in any form.</p>
+    <p style="line-height:20px;">1.4. <u style="margin-right:10px;">Enforcement and Interpretation.</u> Practice,
+        Manager, and/or any entities under common control therewith shall have the right to enforce the provisions
+        hereunder in any appropriate legal or equitable action. HCP agrees that damages for the violation or threatened
+        violation of these provisions may be difficult to ascertain or compensate monetarily and that Practice, Manager,
+        or entities under common control therewith shall be entitled to obtain an injunction to enforce these provisions
+        and shall not be required to post any bond to do so. HCP shall pay all legal fees and costs, including, but not
+        limited to, attorneys’ fees, incurred by the enforcing parties in regard to the enforcement of these provisions.
+        If any of these provisions are adjudicated to exceed the time, geographic area, scope of business or other
+        limitations permitted by applicable law, then such provisions shall be deemed reformed to the maximum time,
+        geographic or other limitations permitted by law. HCP acknowledges and agrees that any equitable rights
+        described hereunder are in addition to all legal and other rights and remedies available to Practice, Manager,
+        and/or entities under common control therewith.</p>
+    <p style="line-height:20px;">1.5. <u style="margin-right:10px;">Provisions are of the Essence; Survival.</u> HCP
+        understands and agrees that Practice Manager, and/or entities under common control will be providing HCP with
+        valuable professional opportunities and information that HCP would not otherwise have, and that Practice,
+        Manager, and/or entities under common control therewith consider these provisions to be of great importance and
+        value. The parties agree that but for these provisions, Practice would not have entered into the Agreement. The
+        parties further agree that the restrictions herein are reasonable and necessary to protect Practice’s legitimate
+        and valuable business interests and will not prevent or unreasonably impede HCP’s ability to practice HCP’s
+        profession. These provisions will survive any termination of the Agreement.</p>
+</div>

+ 1 - 0
resources/views/document-templates-generic/general__hcp__engagement_agreement/spec.json

@@ -0,0 +1 @@
+{"title":"HCP Engagement Agreement", "active": true}

+ 38 - 0
resources/views/layouts/document-pdf.blade.php

@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+    <style>
+    html, body {
+        margin: 0;
+        padding: 0rem 2rem;
+    }
+    table {
+      width:100%;
+      border-collapse:collapse;
+    }
+    td {
+      border-collapse: 0;
+      vertical-align:top;
+    }
+    p {
+      margin-top: 0;
+      margin-bottom: 12px !important;
+    }
+    li ol, li ul {
+      margin-top: 12px !important;
+    }
+    li ol ol {
+      margin-top: 12px !important;
+    }
+    </style>
+</head>
+
+<body class="">
+  <div><?= trim($html) ?></div>
+</body>
+
+</html>

+ 4 - 0
resources/views/layouts/patient.blade.php

@@ -260,6 +260,10 @@ $isOldClient = (date_diff(date_create(config('app.point_impl_date')), date_creat
 							<a class="nav-link {{ strpos($routeName, 'patients.view.client-pro-access') === 0 ? 'active' : '' }}"
 							   href="{{ route('patients.view.client-pro-access', ['patient' => $patient]) }}">Client Pro Access</a>
 						</li>
+						<li class="nav-item">
+							<a class="nav-link {{ strpos($routeName, 'patients.view.client-documents') === 0 ? 'active' : '' }}"
+							   href="{{ route('patients.view.client-documents', ['patient' => $patient]) }}">Client Documents</a>
+						</li>
 						@endif
 						<li class="nav-item">
 							<a class="nav-link" href="/patients/view/{{ $patient->uid }}/intake">Intake</a>

+ 7 - 0
routes/web.php

@@ -320,6 +320,8 @@ Route::middleware('pro.auth')->group(function () {
             Route::get('handouts', 'PracticeManagementController@handouts')->name('handouts');
             Route::get('generic-bills', 'PracticeManagementController@genericBills')->name('generic-bills');
             Route::get('mc-code-checks', 'PracticeManagementController@mcCodeChecks')->name('mc-code-checks');
+
+
         });
 
         Route::get('supply-orders/cancelled-but-unacknowledged', 'PracticeManagementController@supplyOrdersCancelledButUnacknowledged')->name('supply-orders-cancelled-but-unacknowledged');
@@ -437,6 +439,8 @@ Route::middleware('pro.auth')->group(function () {
         Route::get('patients/view/primary-coverage/{patient}', 'PatientController@primaryCoverage')->name('patients.view.primary-coverage');
         Route::get('patients/view/client-pro-access/{patient}', 'PatientController@clientProAccess')->name('patients.view.client-pro-access');
 
+        Route::get('patients/view/client-documents/{patient}', 'PatientController@clientDocuments')->name('patients.view.client-documents');
+
         Route::get('patients/view/primary-coverage-form/{patient}', 'PatientController@primaryCoverageForm')->name('patients.view.primary-coverage-form');
         Route::get('patients/view/primary-coverage-manual-determination-modal/{patient}', 'PatientController@primaryCoverageManualDeterminationModal')->name('patients.view.primary-coverage-manual-determination-modal');
     // });
@@ -697,3 +701,6 @@ Route::get("/get-default-section-data/{patientID}/{sectionTemplateID}", 'NoteCon
 Route::get("/get-segment-html/{segmentUid}/{sessionKey}", 'NoteController@getHtmlForSegment')->name('get_segment_html');
 Route::get("/ougoing-email-templates", 'HomeController@outgoingEmailTemplates')->name('outgoingEmailTemplates');
 Route::any("/nop", 'HomeController@nop')->name('nop');
+
+Route::get('/document-pdf/{uid}', 'DocumentsController@generateDocumentPDF')->name('generateDocumentPDF');
+

Деякі файли не було показано, через те що забагато файлів було змінено