@extends('layouts.main') @push('styles') @endpush @section('content')
| {{ __('prescriptions.date') }} | {{ __('prescriptions.clinic') }} | {{ __('prescriptions.primary_diagnosis') }} | {{ __('prescriptions.other_diagnoses') }} | {{ __('prescriptions.prescribed_by') }} | |
|---|---|---|---|---|---|
|
{{ streamline_date_time($past_treatment->created_at) }}
@if(check_if_episode_is_a_followup($past_treatment->episode_id)) ({{ __('patient_episode.review_from') }} {{ streamline_date(get_name(get_name($past_treatment->episode_id, 'id', 'parent_episode_id', 'patient_episodes'), 'id', 'created_at', 'patient_episodes')) }}) @endif |
{{ get_name(get_name($past_treatment->episode_id, 'id', 'clinic_id', 'patient_episodes'), "id", "name", "clinics") }} | {{ get_name(get_name($past_treatment->episode_id, 'episode_id', 'primary_diagnosis', 'consultations'), 'id', 'name', 'diagnoses') }} | {{ get_full_name($past_treatment->created_by, "id", "first_name", "last_name", "users") }} | {{ __('prescriptions.view_details') }} |
| Patient's Chronic Drugs | |
|---|---|
| {{ $drugs[$chronic_drug->drug_id] }} | |
|
{{ __('prescriptions.drug') }}
{{ __('prescriptions.dosage') }}
{{ __('prescriptions.prompt') }}
{{ __('prescriptions.duration') }}
{{ __('prescriptions.dispense') }}
{{ __('prescriptions.instructions') }}
|
|---|
|
{{ Form::select('drug_id[]', $drugs, $drugs_array[$x], ['class' => 'form-control compulsory drugs_id_class', 'id' => 'drugs_id_' . $counter]) }}
@php $pharm_comment = trim($treament_drug->pharmacy_comment); @endphp
@if(!is_incoming_prescriptions_feature_enabled())
@for ($j = 0; $j < count($reference_array); $j++)
@if(isset($reference_array[$j]) && isset($reference_name[$j]))
{{ $reference_name[$j] }}
@endif @endfor @if (!is_chi_enabled() && !is_drug_covered_by_pay_later_category(get_name($patient_id, 'id', 'category_id', 'patients'), $treament_drug->id)) Not covered by {{ get_name(get_name($patient_id, 'id', 'category_id', 'patients'), 'id', 'name', 'patient_categories') }} @endif
@if (is_chi_enabled())
@if (is_patient_item_covered($patient_id, $drugs_array[$x], 4))
Covered by CHI @else Not covered by CHI @endif @endif Tick if drug will be purchased elsewhere @endif
{{ get_name($treament_drug->unit_id, 'id', 'name', 'drug_units') }}
{{ Form::select('frequency[]', $dosage_frequencies, $frequencies_array[$x], ['class' => 'form-control frequency_class', 'id' => 'frequency' . $counter]) }}
{!! read_more($treament_drug->prompt, 'prompt_short' . $treament_drug->id, 'prompt_long' . $treament_drug->id) !!}
Days
@if($counter == 0)
@else
@endif
|
|
Tick if drug will be purchased elsewhere @endif
Days
|
|
|
{{ __('pharmacy.wrong_dosage') }} |
|
|---|---|
|
{{ __('pharmacy.wrong_frequency') }}
|
|
|
{{ __('pharmacy.inadequate_funds') }}
|
|
|
{{ __('pharmacy.other') }}
|
{{ __('pharmacy.mild') }} |
|
|---|---|
|
{{ __('pharmacy.moderate') }}
|
|
|
{{ __('pharmacy.severe') }}
|
| {{ __('prescriptions.date') }} | {{ __('prescriptions.drug') }} | {{ __('prescriptions.dosage') }} | {{ __('prescriptions.duration') }} | {{ __('prescriptions.quantity') }} | {{ __('prescriptions.status') }} | {{ __('prescriptions.instructions') }} | ||
|---|---|---|---|---|---|---|---|---|
| {{ streamline_date_time($treatment->updated_at) }} | {{ get_name($drugs_array[$x], 'id', "name", 'drugs') }} | {{ $dosage_array[$x] }} {!! $drug_unit !!} {{ $dose2 }} {{ $frequency_name }} | {{ $duration_array[$x] }} | {{ $quantity_dispensed_array[$x] }} | @if(isset($purchased_elsewhere_array[$x]) && $purchased_elsewhere_array[$x] == 1)Purchased From Elsewhere | @else{{ $status_text }} | @endif{{ isset($instructions_array[$x]) ? trim($instructions_array[$x]) : 'N/A' }} | @if(array_key_exists($drugs_array[$x], $drugs)) @endif |
{{ __('prescriptions.no_treatment_history') }} |
||||||||